q.smali

.class public final Lsh/q;
.super Ljava/lang/Object;
.source "TcpDisconnectFlow.kt"

# interfaces
.implements Lsh/j;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lsh/q$a;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lsh/j<",
        "Lkotlin/Unit;",
        ">;"
    }
.end annotation

.annotation runtime Lkotlin/Metadata;
    bv = {
        0x1,
        0x0,
        0x3
    }
    d1 = {
        "\u0000\u001e\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0008\u0018\u0000 \u000e2\u0008\u0012\u0004\u0012\u00020\u00020\u0001:\u0001\u000eB\u0005\u00a2\u0006\u0002\u0010\u0003J\u001c\u0010\u0004\u001a\u00020\u00052\u0012\u0010\u0006\u001a\u000e\u0012\n\u0008\u0001\u0012\u0006\u0012\u0002\u0008\u00030\u00010\u0007H\u0016J\u0017\u0010\u0008\u001a\u0008\u0012\u0004\u0012\u00020\u00020\u0001H\u0097@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\tJ\u0008\u0010\n\u001a\u00020\u0002H\u0003J\u0008\u0010\u000b\u001a\u00020\u0002H\u0016J\u0008\u0010\u000c\u001a\u00020\u0005H\u0016J\u0008\u0010\r\u001a\u00020\u0005H\u0016\u0082\u0002\u0004\n\u0002\u0008\u0019\u00a8\u0006\u000f"
    }
    d2 = {
        "Lcom/shopee/foody/driver/login/flow/TcpDisconnectFlow;",
        "Lcom/shopee/foody/driver/login/flow/IFlow;",
        "",
        "()V",
        "conflict",
        "",
        "clz",
        "Ljava/lang/Class;",
        "fire",
        "(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;",
        "fireImpl",
        "getValue",
        "isSuccess",
        "isTimeout",
        "Companion",
        "driver_indonesiaRelease"
    }
    k = 0x1
    mv = {
        0x1,
        0x1,
        0x10
    }
.end annotation


# direct methods
.method public static constructor <clinit>()V
    .registers 2

    new-instance v0, Lsh/q$a;

    const/4 v1, 0x0

    invoke-direct {v0, v1}, Lsh/q$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V

    return-void
.end method

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

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

    return-void
.end method

.method public static final synthetic a(Lsh/q;)V
    .registers 1

    invoke-virtual {p0}, Lsh/q;->a()V

    return-void
.end method


# virtual methods
.method public a(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
    .registers 7
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "WrongThread"
        }
    .end annotation

    .annotation build Landroidx/annotation/AnyThread;
    .end annotation

    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lkotlin/coroutines/Continuation<",
            "-",
            "Lsh/j<",
            "Lkotlin/Unit;",
            ">;>;)",
            "Ljava/lang/Object;"
        }
    .end annotation

    instance-of v0, p1, Lsh/q$b;

    if-eqz v0, :cond_13

    move-object v0, p1

    check-cast v0, Lsh/q$b;

    iget v1, v0, Lsh/q$b;->b:I

    const/high16 v2, -0x80000000

    and-int v3, v1, v2

    if-eqz v3, :cond_13

    sub-int/2addr v1, v2

    iput v1, v0, Lsh/q$b;->b:I

    goto :goto_18

    :cond_13
    new-instance v0, Lsh/q$b;

    invoke-direct {v0, p0, p1}, Lsh/q$b;-><init>(Lsh/q;Lkotlin/coroutines/Continuation;)V

    :goto_18
    iget-object p1, v0, Lsh/q$b;->a:Ljava/lang/Object;

    invoke-static {}, Lkotlin/coroutines/intrinsics/IntrinsicsKt__IntrinsicsKt;->getCOROUTINE_SUSPENDED()Ljava/lang/Object;

    move-result-object v1

    iget v2, v0, Lsh/q$b;->b:I

    const/4 v3, 0x1

    if-eqz v2, :cond_3d

    if-ne v2, v3, :cond_35

    iget-object v1, v0, Lsh/q$b;->f:Ljava/lang/Object;

    check-cast v1, Lsh/q;

    iget-object v1, v0, Lsh/q$b;->e:Ljava/lang/Object;

    check-cast v1, Lsh/q;

    iget-object v0, v0, Lsh/q$b;->d:Ljava/lang/Object;

    check-cast v0, Lsh/q;

    invoke-static {p1}, Lkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V

    goto :goto_6b

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

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

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

    throw p1

    :cond_3d
    invoke-static {p1}, Lkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V

    invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;

    move-result-object p1

    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object v2

    invoke-static {p1, v2}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_67

    invoke-static {}, Lmd/e;->a()Lmd/d;

    move-result-object p1

    new-instance v2, Lsh/q$c;

    const/4 v4, 0x0

    invoke-direct {v2, p0, v4}, Lsh/q$c;-><init>(Lsh/q;Lkotlin/coroutines/Continuation;)V

    iput-object p0, v0, Lsh/q$b;->d:Ljava/lang/Object;

    iput-object p0, v0, Lsh/q$b;->e:Ljava/lang/Object;

    iput-object p0, v0, Lsh/q$b;->f:Ljava/lang/Object;

    iput v3, v0, Lsh/q$b;->b:I

    invoke-static {p1, v2, v0}, Lkotlinx/coroutines/BuildersKt;->withContext(Lkotlin/coroutines/CoroutineContext;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;

    move-result-object p1

    if-ne p1, v1, :cond_6a

    return-object v1

    :cond_67
    invoke-virtual {p0}, Lsh/q;->a()V

    :cond_6a
    move-object v1, p0

    :goto_6b
    return-object v1
.end method

.method public final a()V
    .registers 4
    .annotation build Landroidx/annotation/WorkerThread;
    .end annotation

    sget-object v0, Lqa/d;->e:Lqa/d$a;

    sget-object v1, Lsh/q$d;->a:Lsh/q$d;

    const-string v2, "TcpDisconnectFlow"

    invoke-virtual {v0, v2, v1}, Lqa/d$a;->a(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V

    sget-object v0, Lfc/a;->o:Lfc/a;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lfc/a;->b(Z)V

    sget-object v0, Lqa/d;->e:Lqa/d$a;

    sget-object v1, Lsh/q$e;->a:Lsh/q$e;

    invoke-virtual {v0, v2, v1}, Lqa/d$a;->a(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V

    return-void
.end method

.method public a(Ljava/lang/Class;)Z
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/Class<",
            "+",
            "Lsh/j<",
            "*>;>;)Z"
        }
    .end annotation

    const-class v0, Lsh/q;

    invoke-static {v0}, Lkotlin/jvm/internal/Reflection;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/KClass;

    move-result-object v0

    invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v0

    const/4 v1, 0x1

    if-eqz v0, :cond_e

    goto :goto_1c

    :cond_e
    const-class v0, Lsh/o;

    invoke-static {v0}, Lkotlin/jvm/internal/Reflection;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/KClass;

    move-result-object v0

    invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_1b

    goto :goto_1c

    :cond_1b
    const/4 v1, 0x0

    :goto_1c
    return v1
.end method

.method public bridge synthetic getValue()Ljava/lang/Object;
    .registers 2

    invoke-virtual {p0}, Lsh/q;->getValue()V

    sget-object v0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;

    return-object v0
.end method

.method public getValue()V
    .registers 1

    return-void
.end method

.method public i()Z
    .registers 2

    const/4 v0, 0x0

    return v0
.end method

.method public j()Z
    .registers 2

    const/4 v0, 0x1

    return v0
.end method