m.smali
.class public final Lsh/m;
.super Ljava/lang/Object;
.source "LogoutFlow.kt"
# interfaces
.implements Lsh/j;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lsh/m$b;,
Lsh/m$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$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\t\u0018\u0000 \u00102\u0008\u0012\u0004\u0012\u00020\u00020\u0001:\u0002\u0010\u0011B\r\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u00a2\u0006\u0002\u0010\u0005J\u001c\u0010\u0006\u001a\u00020\u00072\u0012\u0010\u0008\u001a\u000e\u0012\n\u0008\u0001\u0012\u0006\u0012\u0002\u0008\u00030\u00010\tH\u0016J\u0017\u0010\n\u001a\u0008\u0012\u0004\u0012\u00020\u00020\u0001H\u0097@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u000bJ\u0008\u0010\u000c\u001a\u00020\u0002H\u0016J\u0008\u0010\r\u001a\u00020\u0007H\u0016J\u0008\u0010\u000e\u001a\u00020\u0007H\u0016J\u0008\u0010\u000f\u001a\u00020\u0002H\u0003R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u0082\u0002\u0004\n\u0002\u0008\u0019\u00a8\u0006\u0012"
}
d2 = {
"Lcom/shopee/foody/driver/login/flow/LogoutFlow;",
"Lcom/shopee/foody/driver/login/flow/IFlow;",
"",
"params",
"Lcom/shopee/foody/driver/login/flow/LogoutFlow$LogoutParams;",
"(Lcom/shopee/foody/driver/login/flow/LogoutFlow$LogoutParams;)V",
"conflict",
"",
"clz",
"Ljava/lang/Class;",
"fire",
"(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;",
"getValue",
"isSuccess",
"isTimeout",
"portalMainTab",
"Companion",
"LogoutParams",
"driver_indonesiaRelease"
}
k = 0x1
mv = {
0x1,
0x1,
0x10
}
.end annotation
# instance fields
.field public final a:Lsh/m$b;
# direct methods
.method public static constructor <clinit>()V
.registers 2
new-instance v0, Lsh/m$a;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lsh/m$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
return-void
.end method
.method public constructor <init>(Lsh/m$b;)V
.registers 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lsh/m;->a:Lsh/m$b;
return-void
.end method
.method public static final synthetic a(Lsh/m;)V
.registers 1
invoke-virtual {p0}, Lsh/m;->a()V
return-void
.end method
# virtual methods
.method public a(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
.registers 7
.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/m$c;
if-eqz v0, :cond_13
move-object v0, p1
check-cast v0, Lsh/m$c;
iget v1, v0, Lsh/m$c;->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/m$c;->b:I
goto :goto_18
:cond_13
new-instance v0, Lsh/m$c;
invoke-direct {v0, p0, p1}, Lsh/m$c;-><init>(Lsh/m;Lkotlin/coroutines/Continuation;)V
:goto_18
iget-object p1, v0, Lsh/m$c;->a:Ljava/lang/Object;
invoke-static {}, Lkotlin/coroutines/intrinsics/IntrinsicsKt__IntrinsicsKt;->getCOROUTINE_SUSPENDED()Ljava/lang/Object;
move-result-object v1
iget v2, v0, Lsh/m$c;->b:I
const/4 v3, 0x1
if-eqz v2, :cond_3d
if-ne v2, v3, :cond_35
iget-object v1, v0, Lsh/m$c;->f:Ljava/lang/Object;
check-cast v1, Lsh/m;
iget-object v1, v0, Lsh/m$c;->e:Ljava/lang/Object;
check-cast v1, Lsh/m;
iget-object v0, v0, Lsh/m$c;->d:Ljava/lang/Object;
check-cast v0, Lsh/m;
invoke-static {p1}, Lkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V
goto :goto_8a
: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
sget-object p1, Lqh/h;->f:Lqh/h;
const/4 v2, 0x0
invoke-virtual {p1, v2}, Lqh/h;->a(Z)Lkotlinx/coroutines/Job;
sget-object p1, Lqh/g;->b:Lqh/g;
invoke-virtual {p1}, Lqh/g;->close()V
sget-object p1, Lqa/d;->e:Lqa/d$a;
sget-object v2, Lsh/m$d;->a:Lsh/m$d;
const-string v4, "LogoutFlow"
invoke-virtual {p1, v4, v2}, Lqa/d$a;->c(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V
iget-object p1, p0, Lsh/m;->a:Lsh/m$b;
invoke-virtual {p1}, Lsh/m$b;->a()Z
move-result p1
if-eqz p1, :cond_68
sget-object p1, Lqh/f;->f:Lqh/f;
invoke-virtual {p1}, Lqh/f;->b()Lkotlinx/coroutines/Job;
sget-object p1, Lqa/d;->e:Lqa/d$a;
sget-object v2, Lsh/m$e;->a:Lsh/m$e;
invoke-virtual {p1, v4, v2}, Lqa/d$a;->c(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V
:cond_68
iget-object p1, p0, Lsh/m;->a:Lsh/m$b;
invoke-virtual {p1}, Lsh/m$b;->b()Z
move-result p1
if-eqz p1, :cond_89
invoke-static {}, Lmd/e;->c()Lkotlinx/coroutines/android/HandlerDispatcher;
move-result-object p1
new-instance v2, Lsh/m$f;
const/4 v4, 0x0
invoke-direct {v2, p0, v4}, Lsh/m$f;-><init>(Lsh/m;Lkotlin/coroutines/Continuation;)V
iput-object p0, v0, Lsh/m$c;->d:Ljava/lang/Object;
iput-object p0, v0, Lsh/m$c;->e:Ljava/lang/Object;
iput-object p0, v0, Lsh/m$c;->f:Ljava/lang/Object;
iput v3, v0, Lsh/m$c;->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_89
return-object v1
:cond_89
move-object v1, p0
:goto_8a
return-object v1
.end method
.method public final a()V
.registers 5
.annotation build Landroidx/annotation/MainThread;
.end annotation
sget-object v0, Ljd/b;->c:Ljd/b$a;
invoke-virtual {v0}, Ljd/b$a;->a()Landroid/content/Context;
move-result-object v0
new-instance v1, Landroid/content/Intent;
sget-object v2, Ljd/b;->c:Ljd/b$a;
invoke-virtual {v2}, Ljd/b$a;->a()Landroid/content/Context;
move-result-object v2
const-class v3, Lcom/shopee/foody/driver/MainActivity;
invoke-direct {v1, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
const/high16 v2, 0x4000000
invoke-virtual {v1, v2}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;
const/high16 v2, 0x10000000
invoke-virtual {v1, v2}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;
invoke-virtual {v0, v1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
return-void
.end method
.method public a(Ljava/lang/Class;)Z
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Class<",
"+",
"Lsh/j<",
"*>;>;)Z"
}
.end annotation
const-class v0, Lsh/m;
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
return p1
.end method
.method public bridge synthetic getValue()Ljava/lang/Object;
.registers 2
invoke-virtual {p0}, Lsh/m;->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