a.smali

.class public abstract Ldb/a;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ldb/b;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/lang/Object;",
        "Ldb/b<",
        "TT;>;"
    }
.end annotation

.annotation runtime Lkotlin/Metadata;
.end annotation


# direct methods
.method public constructor <init>()V
    .registers 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final a(Ldb/c;Lkotlin/coroutines/d;)Ljava/lang/Object;
    .registers 8
    .param p1    # Ldb/c;
        .annotation build Lorg/jetbrains/annotations/NotNull;
        .end annotation
    .end param
    .param p2    # Lkotlin/coroutines/d;
        .annotation build Lorg/jetbrains/annotations/NotNull;
        .end annotation
    .end param
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ldb/c<",
            "-TT;>;",
            "Lkotlin/coroutines/d<",
            "-",
            "Lkotlin/Unit;",
            ">;)",
            "Ljava/lang/Object;"
        }
    .end annotation

    instance-of v0, p2, Ldb/a$a;

    if-eqz v0, :cond_13

    move-object v0, p2

    check-cast v0, Ldb/a$a;

    iget v1, v0, Ldb/a$a;->g:I

    const/high16 v2, -0x80000000

    and-int v3, v1, v2

    if-eqz v3, :cond_13

    sub-int/2addr v1, v2

    iput v1, v0, Ldb/a$a;->g:I

    goto :goto_18

    :cond_13
    new-instance v0, Ldb/a$a;

    invoke-direct {v0, p0, p2}, Ldb/a$a;-><init>(Ldb/a;Lkotlin/coroutines/d;)V

    :goto_18
    iget-object p2, v0, Ldb/a$a;->e:Ljava/lang/Object;

    invoke-static {}, Lma/b;->c()Ljava/lang/Object;

    move-result-object v1

    iget v2, v0, Ldb/a$a;->g:I

    const/4 v3, 0x1

    if-eqz v2, :cond_37

    if-ne v2, v3, :cond_2f

    iget-object p1, v0, Ldb/a$a;->d:Ljava/lang/Object;

    check-cast p1, Leb/i;

    :try_start_29
    invoke-static {p2}, Lka/o;->b(Ljava/lang/Object;)V
    :try_end_2c
    .catchall {:try_start_29 .. :try_end_2c} :catchall_2d

    goto :goto_4f

    :catchall_2d
    move-exception p2

    goto :goto_59

    :cond_2f
    new-instance p1, Ljava/lang/IllegalStateException;

    const-string p2, "call to \'resume\' before \'invoke\' with coroutine"

    invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw p1

    :cond_37
    invoke-static {p2}, Lka/o;->b(Ljava/lang/Object;)V

    new-instance p2, Leb/i;

    invoke-interface {v0}, Lkotlin/coroutines/d;->a()Lkotlin/coroutines/CoroutineContext;

    move-result-object v2

    invoke-direct {p2, p1, v2}, Leb/i;-><init>(Ldb/c;Lkotlin/coroutines/CoroutineContext;)V

    :try_start_43
    iput-object p2, v0, Ldb/a$a;->d:Ljava/lang/Object;

    iput v3, v0, Ldb/a$a;->g:I

    invoke-virtual {p0, p2, v0}, Ldb/a;->b(Ldb/c;Lkotlin/coroutines/d;)Ljava/lang/Object;

    move-result-object p1
    :try_end_4b
    .catchall {:try_start_43 .. :try_end_4b} :catchall_55

    if-ne p1, v1, :cond_4e

    return-object v1

    :cond_4e
    move-object p1, p2

    :goto_4f
    invoke-virtual {p1}, Leb/i;->m()V

    sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;

    return-object p1

    :catchall_55
    move-exception p1

    move-object v4, p2

    move-object p2, p1

    move-object p1, v4

    :goto_59
    invoke-virtual {p1}, Leb/i;->m()V

    throw p2
.end method

.method public abstract b(Ldb/c;Lkotlin/coroutines/d;)Ljava/lang/Object;
    .param p1    # Ldb/c;
        .annotation build Lorg/jetbrains/annotations/NotNull;
        .end annotation
    .end param
    .param p2    # Lkotlin/coroutines/d;
        .annotation build Lorg/jetbrains/annotations/NotNull;
        .end annotation
    .end param
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ldb/c<",
            "-TT;>;",
            "Lkotlin/coroutines/d<",
            "-",
            "Lkotlin/Unit;",
            ">;)",
            "Ljava/lang/Object;"
        }
    .end annotation
.end method