966 lines
21 KiB
Smali
966 lines
21 KiB
Smali
.class public final Lz/a/l0;
|
|
.super Ljava/lang/Object;
|
|
.source "Dispatched.kt"
|
|
|
|
|
|
# static fields
|
|
.field public static final a:Lz/a/a2/v;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
new-instance v0, Lz/a/a2/v;
|
|
|
|
const-string v1, "UNDEFINED"
|
|
|
|
invoke-direct {v0, v1}, Lz/a/a2/v;-><init>(Ljava/lang/String;)V
|
|
|
|
sput-object v0, Lz/a/l0;->a:Lz/a/a2/v;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final a(Lkotlin/coroutines/Continuation;Ljava/lang/Object;)V
|
|
.locals 7
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lkotlin/coroutines/Continuation<",
|
|
"-TT;>;TT;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_5
|
|
|
|
instance-of v1, p0, Lz/a/j0;
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
check-cast p0, Lz/a/j0;
|
|
|
|
iget-object v1, p0, Lz/a/j0;->j:Lz/a/x;
|
|
|
|
invoke-virtual {p0}, Lz/a/j0;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Lz/a/x;->a(Lkotlin/coroutines/CoroutineContext;)Z
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
iput-object p1, p0, Lz/a/j0;->g:Ljava/lang/Object;
|
|
|
|
iput v2, p0, Lz/a/m0;->f:I
|
|
|
|
iget-object p1, p0, Lz/a/j0;->j:Lz/a/x;
|
|
|
|
invoke-virtual {p0}, Lz/a/j0;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1, v0, p0}, Lz/a/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
|
|
|
goto/16 :goto_3
|
|
|
|
:cond_0
|
|
sget-object v1, Lz/a/t1;->b:Lz/a/t1;
|
|
|
|
invoke-virtual {v1}, Lz/a/t1;->b()Lz/a/r0;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Lz/a/r0;->f()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
iput-object p1, p0, Lz/a/j0;->g:Ljava/lang/Object;
|
|
|
|
iput v2, p0, Lz/a/m0;->f:I
|
|
|
|
invoke-virtual {v1, p0}, Lz/a/r0;->a(Lz/a/m0;)V
|
|
|
|
goto :goto_3
|
|
|
|
:cond_1
|
|
invoke-virtual {v1, v2}, Lz/a/r0;->c(Z)V
|
|
|
|
:try_start_0
|
|
invoke-virtual {p0}, Lz/a/j0;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v3
|
|
|
|
sget-object v4, Lkotlinx/coroutines/Job;->c:Lkotlinx/coroutines/Job$a;
|
|
|
|
invoke-interface {v3, v4}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Lkotlinx/coroutines/Job;
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
invoke-interface {v3}, Lkotlinx/coroutines/Job;->a()Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_2
|
|
|
|
invoke-interface {v3}, Lkotlinx/coroutines/Job;->b()Ljava/util/concurrent/CancellationException;
|
|
|
|
move-result-object v3
|
|
|
|
sget-object v4, Ly/i;->d:Ly/i$a;
|
|
|
|
invoke-static {v3}, Lf/n/a/j/a;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-interface {p0, v3}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
const/4 v3, 0x0
|
|
|
|
:goto_0
|
|
if-nez v3, :cond_3
|
|
|
|
invoke-virtual {p0}, Lz/a/j0;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v3
|
|
|
|
iget-object v4, p0, Lz/a/j0;->i:Ljava/lang/Object;
|
|
|
|
invoke-static {v3, v4}, Lz/a/a2/y;->b(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
|
|
|
:try_start_1
|
|
iget-object v5, p0, Lz/a/j0;->k:Lkotlin/coroutines/Continuation;
|
|
|
|
sget-object v6, Ly/i;->d:Ly/i$a;
|
|
|
|
invoke-static {p1}, Ly/i;->constructor-impl(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
invoke-interface {v5, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
:try_start_2
|
|
invoke-static {v3, v4}, Lz/a/a2/y;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
goto :goto_1
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
invoke-static {v3, v4}, Lz/a/a2/y;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
throw p1
|
|
|
|
:cond_3
|
|
:goto_1
|
|
invoke-virtual {v1}, Lz/a/r0;->h()Z
|
|
|
|
move-result p1
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_1
|
|
|
|
if-nez p1, :cond_3
|
|
|
|
goto :goto_2
|
|
|
|
:catchall_1
|
|
move-exception p1
|
|
|
|
:try_start_3
|
|
invoke-virtual {p0, p1, v0}, Lz/a/m0;->a(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
|
|
:try_end_3
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_2
|
|
|
|
:goto_2
|
|
invoke-virtual {v1, v2}, Lz/a/r0;->a(Z)V
|
|
|
|
goto :goto_3
|
|
|
|
:catchall_2
|
|
move-exception p0
|
|
|
|
invoke-virtual {v1, v2}, Lz/a/r0;->a(Z)V
|
|
|
|
throw p0
|
|
|
|
:cond_4
|
|
sget-object v0, Ly/i;->d:Ly/i$a;
|
|
|
|
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
:goto_3
|
|
return-void
|
|
|
|
:cond_5
|
|
const-string p0, "$this$resumeCancellable"
|
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final a(Lkotlin/coroutines/Continuation;Ljava/lang/Throwable;)V
|
|
.locals 7
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lkotlin/coroutines/Continuation<",
|
|
"-TT;>;",
|
|
"Ljava/lang/Throwable;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_6
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
instance-of v1, p0, Lz/a/j0;
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
check-cast p0, Lz/a/j0;
|
|
|
|
iget-object v1, p0, Lz/a/j0;->k:Lkotlin/coroutines/Continuation;
|
|
|
|
invoke-interface {v1}, Lkotlin/coroutines/Continuation;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v1
|
|
|
|
new-instance v2, Lz/a/q;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-direct {v2, p1, v3}, Lz/a/q;-><init>(Ljava/lang/Throwable;Z)V
|
|
|
|
iget-object v4, p0, Lz/a/j0;->j:Lz/a/x;
|
|
|
|
invoke-virtual {v4, v1}, Lz/a/x;->a(Lkotlin/coroutines/CoroutineContext;)Z
|
|
|
|
move-result v4
|
|
|
|
const/4 v5, 0x1
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
new-instance v0, Lz/a/q;
|
|
|
|
invoke-direct {v0, p1, v3}, Lz/a/q;-><init>(Ljava/lang/Throwable;Z)V
|
|
|
|
iput-object v0, p0, Lz/a/j0;->g:Ljava/lang/Object;
|
|
|
|
iput v5, p0, Lz/a/m0;->f:I
|
|
|
|
iget-object p1, p0, Lz/a/j0;->j:Lz/a/x;
|
|
|
|
invoke-virtual {p1, v1, p0}, Lz/a/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
|
|
|
goto/16 :goto_2
|
|
|
|
:cond_0
|
|
sget-object v1, Lz/a/t1;->b:Lz/a/t1;
|
|
|
|
invoke-virtual {v1}, Lz/a/t1;->b()Lz/a/r0;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Lz/a/r0;->f()Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_1
|
|
|
|
iput-object v2, p0, Lz/a/j0;->g:Ljava/lang/Object;
|
|
|
|
iput v5, p0, Lz/a/m0;->f:I
|
|
|
|
invoke-virtual {v1, p0}, Lz/a/r0;->a(Lz/a/m0;)V
|
|
|
|
goto :goto_2
|
|
|
|
:cond_1
|
|
invoke-virtual {v1, v5}, Lz/a/r0;->c(Z)V
|
|
|
|
:try_start_0
|
|
invoke-virtual {p0}, Lz/a/j0;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v2
|
|
|
|
sget-object v4, Lkotlinx/coroutines/Job;->c:Lkotlinx/coroutines/Job$a;
|
|
|
|
invoke-interface {v2, v4}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Lkotlinx/coroutines/Job;
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
invoke-interface {v2}, Lkotlinx/coroutines/Job;->a()Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_2
|
|
|
|
invoke-interface {v2}, Lkotlinx/coroutines/Job;->b()Ljava/util/concurrent/CancellationException;
|
|
|
|
move-result-object v2
|
|
|
|
sget-object v3, Ly/i;->d:Ly/i$a;
|
|
|
|
invoke-static {v2}, Lf/n/a/j/a;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-interface {p0, v2}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
const/4 v3, 0x1
|
|
|
|
:cond_2
|
|
if-nez v3, :cond_3
|
|
|
|
invoke-virtual {p0}, Lz/a/j0;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v2
|
|
|
|
iget-object v3, p0, Lz/a/j0;->i:Ljava/lang/Object;
|
|
|
|
invoke-static {v2, v3}, Lz/a/a2/y;->b(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
|
|
|
:try_start_1
|
|
iget-object v4, p0, Lz/a/j0;->k:Lkotlin/coroutines/Continuation;
|
|
|
|
sget-object v6, Ly/i;->d:Ly/i$a;
|
|
|
|
invoke-static {p1, v4}, Lf/n/a/j/a;->a(Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lf/n/a/j/a;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Ly/i;->constructor-impl(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
invoke-interface {v4, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
:try_start_2
|
|
invoke-static {v2, v3}, Lz/a/a2/y;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
invoke-static {v2, v3}, Lz/a/a2/y;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
throw p1
|
|
|
|
:cond_3
|
|
:goto_0
|
|
invoke-virtual {v1}, Lz/a/r0;->h()Z
|
|
|
|
move-result p1
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_1
|
|
|
|
if-nez p1, :cond_3
|
|
|
|
goto :goto_1
|
|
|
|
:catchall_1
|
|
move-exception p1
|
|
|
|
:try_start_3
|
|
invoke-virtual {p0, p1, v0}, Lz/a/m0;->a(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
|
|
:try_end_3
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_2
|
|
|
|
:goto_1
|
|
invoke-virtual {v1, v5}, Lz/a/r0;->a(Z)V
|
|
|
|
goto :goto_2
|
|
|
|
:catchall_2
|
|
move-exception p0
|
|
|
|
invoke-virtual {v1, v5}, Lz/a/r0;->a(Z)V
|
|
|
|
throw p0
|
|
|
|
:cond_4
|
|
sget-object v0, Ly/i;->d:Ly/i$a;
|
|
|
|
invoke-static {p1, p0}, Lf/n/a/j/a;->a(Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lf/n/a/j/a;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
:goto_2
|
|
return-void
|
|
|
|
:cond_5
|
|
const-string p0, "exception"
|
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_6
|
|
const-string p0, "$this$resumeCancellableWithException"
|
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final a(Lz/a/m0;I)V
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lz/a/m0<",
|
|
"-TT;>;I)V"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_6
|
|
|
|
invoke-virtual {p0}, Lz/a/m0;->b()Lkotlin/coroutines/Continuation;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
if-ne p1, v2, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v3, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 v3, 0x1
|
|
|
|
:goto_1
|
|
if-eqz v3, :cond_5
|
|
|
|
instance-of v3, v1, Lz/a/j0;
|
|
|
|
if-eqz v3, :cond_5
|
|
|
|
invoke-static {p1}, Lf/n/a/j/a;->a(I)Z
|
|
|
|
move-result v3
|
|
|
|
iget v4, p0, Lz/a/m0;->f:I
|
|
|
|
invoke-static {v4}, Lf/n/a/j/a;->a(I)Z
|
|
|
|
move-result v4
|
|
|
|
if-ne v3, v4, :cond_5
|
|
|
|
move-object p1, v1
|
|
|
|
check-cast p1, Lz/a/j0;
|
|
|
|
iget-object p1, p1, Lz/a/j0;->j:Lz/a/x;
|
|
|
|
invoke-interface {v1}, Lkotlin/coroutines/Continuation;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p1, v1}, Lz/a/x;->a(Lkotlin/coroutines/CoroutineContext;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
invoke-virtual {p1, v1, p0}, Lz/a/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
|
|
|
goto :goto_3
|
|
|
|
:cond_2
|
|
sget-object p1, Lz/a/t1;->b:Lz/a/t1;
|
|
|
|
invoke-virtual {p1}, Lz/a/t1;->b()Lz/a/r0;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Lz/a/r0;->f()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
invoke-virtual {p1, p0}, Lz/a/r0;->a(Lz/a/m0;)V
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
invoke-virtual {p1, v2}, Lz/a/r0;->c(Z)V
|
|
|
|
:try_start_0
|
|
invoke-virtual {p0}, Lz/a/m0;->b()Lkotlin/coroutines/Continuation;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v3, 0x3
|
|
|
|
invoke-static {p0, v1, v3}, Lz/a/l0;->a(Lz/a/m0;Lkotlin/coroutines/Continuation;I)V
|
|
|
|
:cond_4
|
|
invoke-virtual {p1}, Lz/a/r0;->h()Z
|
|
|
|
move-result v1
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
if-nez v1, :cond_4
|
|
|
|
goto :goto_2
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
:try_start_1
|
|
invoke-virtual {p0, v1, v0}, Lz/a/m0;->a(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
|
|
|
:goto_2
|
|
invoke-virtual {p1, v2}, Lz/a/r0;->a(Z)V
|
|
|
|
goto :goto_3
|
|
|
|
:catchall_1
|
|
move-exception p0
|
|
|
|
invoke-virtual {p1, v2}, Lz/a/r0;->a(Z)V
|
|
|
|
throw p0
|
|
|
|
:cond_5
|
|
invoke-static {p0, v1, p1}, Lz/a/l0;->a(Lz/a/m0;Lkotlin/coroutines/Continuation;I)V
|
|
|
|
:goto_3
|
|
return-void
|
|
|
|
:cond_6
|
|
const-string p0, "$this$dispatch"
|
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final a(Lz/a/m0;Lkotlin/coroutines/Continuation;I)V
|
|
.locals 7
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lz/a/m0<",
|
|
"-TT;>;",
|
|
"Lkotlin/coroutines/Continuation<",
|
|
"-TT;>;I)V"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_e
|
|
|
|
if-eqz p1, :cond_d
|
|
|
|
invoke-virtual {p0}, Lz/a/m0;->c()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
instance-of v2, v1, Lz/a/q;
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
move-object v2, v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object v2, v1
|
|
|
|
:goto_0
|
|
check-cast v2, Lz/a/q;
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
iget-object v0, v2, Lz/a/q;->a:Ljava/lang/Throwable;
|
|
|
|
:cond_1
|
|
const-string v2, "Invalid mode "
|
|
|
|
const/4 v3, 0x4
|
|
|
|
const/4 v4, 0x3
|
|
|
|
const/4 v5, 0x2
|
|
|
|
const/4 v6, 0x1
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
if-eqz p2, :cond_6
|
|
|
|
if-eq p2, v6, :cond_5
|
|
|
|
if-eq p2, v5, :cond_4
|
|
|
|
if-eq p2, v4, :cond_3
|
|
|
|
if-ne p2, v3, :cond_2
|
|
|
|
goto/16 :goto_1
|
|
|
|
:cond_2
|
|
invoke-static {v2, p2}, Lf/e/b/a/a;->a(Ljava/lang/String;I)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_3
|
|
check-cast p1, Lz/a/j0;
|
|
|
|
invoke-virtual {p1}, Lz/a/j0;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object p0
|
|
|
|
iget-object p2, p1, Lz/a/j0;->i:Ljava/lang/Object;
|
|
|
|
invoke-static {p0, p2}, Lz/a/a2/y;->b(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
:try_start_0
|
|
iget-object p1, p1, Lz/a/j0;->k:Lkotlin/coroutines/Continuation;
|
|
|
|
sget-object v1, Ly/i;->d:Ly/i$a;
|
|
|
|
invoke-static {v0, p1}, Lf/n/a/j/a;->a(Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Throwable;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lf/n/a/j/a;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {p1, v0}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
invoke-static {p0, p2}, Lz/a/a2/y;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
goto :goto_1
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
invoke-static {p0, p2}, Lz/a/a2/y;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
throw p1
|
|
|
|
:cond_4
|
|
invoke-static {p1, v0}, Lz/a/l0;->b(Lkotlin/coroutines/Continuation;Ljava/lang/Throwable;)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_5
|
|
invoke-static {p1, v0}, Lz/a/l0;->a(Lkotlin/coroutines/Continuation;Ljava/lang/Throwable;)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_6
|
|
sget-object p0, Ly/i;->d:Ly/i$a;
|
|
|
|
invoke-static {v0}, Lf/n/a/j/a;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-interface {p1, p0}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_7
|
|
invoke-virtual {p0, v1}, Lz/a/m0;->a(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
if-eqz p2, :cond_c
|
|
|
|
if-eq p2, v6, :cond_b
|
|
|
|
if-eq p2, v5, :cond_a
|
|
|
|
if-eq p2, v4, :cond_9
|
|
|
|
if-ne p2, v3, :cond_8
|
|
|
|
goto :goto_1
|
|
|
|
:cond_8
|
|
invoke-static {v2, p2}, Lf/e/b/a/a;->a(Ljava/lang/String;I)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_9
|
|
check-cast p1, Lz/a/j0;
|
|
|
|
invoke-virtual {p1}, Lz/a/j0;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object p2
|
|
|
|
iget-object v0, p1, Lz/a/j0;->i:Ljava/lang/Object;
|
|
|
|
invoke-static {p2, v0}, Lz/a/a2/y;->b(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
:try_start_1
|
|
iget-object p1, p1, Lz/a/j0;->k:Lkotlin/coroutines/Continuation;
|
|
|
|
sget-object v1, Ly/i;->d:Ly/i$a;
|
|
|
|
invoke-static {p0}, Ly/i;->constructor-impl(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
invoke-interface {p1, p0}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
|
|
|
invoke-static {p2, v0}, Lz/a/a2/y;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
goto :goto_1
|
|
|
|
:catchall_1
|
|
move-exception p0
|
|
|
|
invoke-static {p2, v0}, Lz/a/a2/y;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
throw p0
|
|
|
|
:cond_a
|
|
invoke-static {p1, p0}, Lz/a/l0;->b(Lkotlin/coroutines/Continuation;Ljava/lang/Object;)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_b
|
|
invoke-static {p1, p0}, Lz/a/l0;->a(Lkotlin/coroutines/Continuation;Ljava/lang/Object;)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_c
|
|
sget-object p2, Ly/i;->d:Ly/i$a;
|
|
|
|
invoke-interface {p1, p0}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
:goto_1
|
|
return-void
|
|
|
|
:cond_d
|
|
const-string p0, "delegate"
|
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_e
|
|
const-string p0, "$this$resume"
|
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final b(Lkotlin/coroutines/Continuation;Ljava/lang/Object;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lkotlin/coroutines/Continuation<",
|
|
"-TT;>;TT;)V"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
instance-of v0, p0, Lz/a/j0;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p0, Lz/a/j0;
|
|
|
|
iget-object p0, p0, Lz/a/j0;->k:Lkotlin/coroutines/Continuation;
|
|
|
|
sget-object v0, Ly/i;->d:Ly/i$a;
|
|
|
|
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
sget-object v0, Ly/i;->d:Ly/i$a;
|
|
|
|
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
|
|
:cond_1
|
|
const-string p0, "$this$resumeDirect"
|
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final b(Lkotlin/coroutines/Continuation;Ljava/lang/Throwable;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lkotlin/coroutines/Continuation<",
|
|
"-TT;>;",
|
|
"Ljava/lang/Throwable;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
instance-of v0, p0, Lz/a/j0;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p0, Lz/a/j0;
|
|
|
|
iget-object p0, p0, Lz/a/j0;->k:Lkotlin/coroutines/Continuation;
|
|
|
|
sget-object v0, Ly/i;->d:Ly/i$a;
|
|
|
|
invoke-static {p1, p0}, Lf/n/a/j/a;->a(Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lf/n/a/j/a;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
sget-object v0, Ly/i;->d:Ly/i$a;
|
|
|
|
invoke-static {p1, p0}, Lf/n/a/j/a;->a(Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lf/n/a/j/a;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
|
|
:cond_1
|
|
const-string p0, "exception"
|
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_2
|
|
const-string p0, "$this$resumeDirectWithException"
|
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|