894 lines
20 KiB
Smali
894 lines
20 KiB
Smali
.class public final Lk0/a/h0;
|
|
.super Ljava/lang/Object;
|
|
.source "Dispatched.kt"
|
|
|
|
|
|
# static fields
|
|
.field public static final a:Lk0/a/r1/v;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
new-instance v0, Lk0/a/r1/v;
|
|
|
|
const-string v1, "UNDEFINED"
|
|
|
|
invoke-direct {v0, v1}, Lk0/a/r1/v;-><init>(Ljava/lang/String;)V
|
|
|
|
sput-object v0, Lk0/a/h0;->a:Lk0/a/r1/v;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final a(Lk0/a/i0;I)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lk0/a/i0<",
|
|
"-TT;>;I)V"
|
|
}
|
|
.end annotation
|
|
|
|
move-object v0, p0
|
|
|
|
check-cast v0, Lk0/a/g;
|
|
|
|
iget-object v0, v0, Lk0/a/g;->h:Lkotlin/coroutines/Continuation;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
if-ne p1, v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v2, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 v2, 0x1
|
|
|
|
:goto_1
|
|
if-eqz v2, :cond_5
|
|
|
|
instance-of v2, v0, Lk0/a/f0;
|
|
|
|
if-eqz v2, :cond_5
|
|
|
|
invoke-static {p1}, Lf/n/a/k/a;->I(I)Z
|
|
|
|
move-result v2
|
|
|
|
iget v3, p0, Lk0/a/i0;->f:I
|
|
|
|
invoke-static {v3}, Lf/n/a/k/a;->I(I)Z
|
|
|
|
move-result v3
|
|
|
|
if-ne v2, v3, :cond_5
|
|
|
|
move-object p1, v0
|
|
|
|
check-cast p1, Lk0/a/f0;
|
|
|
|
iget-object p1, p1, Lk0/a/f0;->j:Lk0/a/v;
|
|
|
|
invoke-interface {v0}, Lkotlin/coroutines/Continuation;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1, v0}, Lk0/a/v;->isDispatchNeeded(Lkotlin/coroutines/CoroutineContext;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
invoke-virtual {p1, v0, p0}, Lk0/a/v;->dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
|
|
|
goto :goto_3
|
|
|
|
:cond_2
|
|
sget-object p1, Lk0/a/n1;->b:Lk0/a/n1;
|
|
|
|
invoke-static {}, Lk0/a/n1;->a()Lk0/a/n0;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Lk0/a/n0;->A()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
invoke-virtual {p1, p0}, Lk0/a/n0;->x(Lk0/a/i0;)V
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
invoke-virtual {p1, v1}, Lk0/a/n0;->z(Z)V
|
|
|
|
:try_start_0
|
|
move-object v0, p0
|
|
|
|
check-cast v0, Lk0/a/g;
|
|
|
|
iget-object v0, v0, Lk0/a/g;->h:Lkotlin/coroutines/Continuation;
|
|
|
|
const/4 v2, 0x3
|
|
|
|
invoke-static {p0, v0, v2}, Lk0/a/h0;->b(Lk0/a/i0;Lkotlin/coroutines/Continuation;I)V
|
|
|
|
:cond_4
|
|
invoke-virtual {p1}, Lk0/a/n0;->C()Z
|
|
|
|
move-result v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
if-nez v0, :cond_4
|
|
|
|
goto :goto_2
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:try_start_1
|
|
invoke-virtual {p0, v0, v2}, Lk0/a/i0;->h(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
|
|
|
:goto_2
|
|
invoke-virtual {p1, v1}, Lk0/a/n0;->v(Z)V
|
|
|
|
goto :goto_3
|
|
|
|
:catchall_1
|
|
move-exception p0
|
|
|
|
invoke-virtual {p1, v1}, Lk0/a/n0;->v(Z)V
|
|
|
|
throw p0
|
|
|
|
:cond_5
|
|
invoke-static {p0, v0, p1}, Lk0/a/h0;->b(Lk0/a/i0;Lkotlin/coroutines/Continuation;I)V
|
|
|
|
:goto_3
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final b(Lk0/a/i0;Lkotlin/coroutines/Continuation;I)V
|
|
.locals 7
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lk0/a/i0<",
|
|
"-TT;>;",
|
|
"Lkotlin/coroutines/Continuation<",
|
|
"-TT;>;I)V"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_e
|
|
|
|
invoke-virtual {p0}, Lk0/a/i0;->i()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
instance-of v2, v1, Lk0/a/p;
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
move-object v2, v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object v2, v1
|
|
|
|
:goto_0
|
|
check-cast v2, Lk0/a/p;
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
iget-object v0, v2, Lk0/a/p;->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_8
|
|
|
|
instance-of p0, p1, Lk0/a/i0;
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
invoke-static {v0, p1}, Lk0/a/r1/u;->b(Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Throwable;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_1
|
|
if-eqz p2, :cond_7
|
|
|
|
if-eq p2, v6, :cond_6
|
|
|
|
if-eq p2, v5, :cond_5
|
|
|
|
if-eq p2, v4, :cond_4
|
|
|
|
if-ne p2, v3, :cond_3
|
|
|
|
goto/16 :goto_2
|
|
|
|
:cond_3
|
|
invoke-static {v2, p2}, Lf/e/b/a/a;->h(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_4
|
|
check-cast p1, Lk0/a/f0;
|
|
|
|
invoke-virtual {p1}, Lk0/a/f0;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object p0
|
|
|
|
iget-object p2, p1, Lk0/a/f0;->i:Ljava/lang/Object;
|
|
|
|
invoke-static {p0, p2}, Lk0/a/r1/x;->c(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
:try_start_0
|
|
iget-object p1, p1, Lk0/a/f0;->k:Lkotlin/coroutines/Continuation;
|
|
|
|
invoke-static {v0, p1}, Lk0/a/r1/u;->b(Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Throwable;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lf/n/a/k/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}, Lk0/a/r1/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
goto :goto_2
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
invoke-static {p0, p2}, Lk0/a/r1/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
throw p1
|
|
|
|
:cond_5
|
|
invoke-static {p1, v0}, Lk0/a/h0;->f(Lkotlin/coroutines/Continuation;Ljava/lang/Throwable;)V
|
|
|
|
goto :goto_2
|
|
|
|
:cond_6
|
|
invoke-static {p1, v0}, Lk0/a/h0;->d(Lkotlin/coroutines/Continuation;Ljava/lang/Throwable;)V
|
|
|
|
goto :goto_2
|
|
|
|
:cond_7
|
|
invoke-static {v0}, Lf/n/a/k/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_2
|
|
|
|
:cond_8
|
|
invoke-virtual {p0, v1}, Lk0/a/i0;->f(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
if-eqz p2, :cond_d
|
|
|
|
if-eq p2, v6, :cond_c
|
|
|
|
if-eq p2, v5, :cond_b
|
|
|
|
if-eq p2, v4, :cond_a
|
|
|
|
if-ne p2, v3, :cond_9
|
|
|
|
goto :goto_2
|
|
|
|
:cond_9
|
|
invoke-static {v2, p2}, Lf/e/b/a/a;->h(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_a
|
|
check-cast p1, Lk0/a/f0;
|
|
|
|
invoke-virtual {p1}, Lk0/a/f0;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object p2
|
|
|
|
iget-object v0, p1, Lk0/a/f0;->i:Ljava/lang/Object;
|
|
|
|
invoke-static {p2, v0}, Lk0/a/r1/x;->c(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
:try_start_1
|
|
iget-object p1, p1, Lk0/a/f0;->k:Lkotlin/coroutines/Continuation;
|
|
|
|
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}, Lk0/a/r1/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
goto :goto_2
|
|
|
|
:catchall_1
|
|
move-exception p0
|
|
|
|
invoke-static {p2, v0}, Lk0/a/r1/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
throw p0
|
|
|
|
:cond_b
|
|
invoke-static {p1, p0}, Lk0/a/h0;->e(Lkotlin/coroutines/Continuation;Ljava/lang/Object;)V
|
|
|
|
goto :goto_2
|
|
|
|
:cond_c
|
|
invoke-static {p1, p0}, Lk0/a/h0;->c(Lkotlin/coroutines/Continuation;Ljava/lang/Object;)V
|
|
|
|
goto :goto_2
|
|
|
|
:cond_d
|
|
invoke-interface {p1, p0}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
:goto_2
|
|
return-void
|
|
|
|
:cond_e
|
|
const-string p0, "delegate"
|
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final c(Lkotlin/coroutines/Continuation;Ljava/lang/Object;)V
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lkotlin/coroutines/Continuation<",
|
|
"-TT;>;TT;)V"
|
|
}
|
|
.end annotation
|
|
|
|
instance-of v0, p0, Lk0/a/f0;
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
check-cast p0, Lk0/a/f0;
|
|
|
|
iget-object v0, p0, Lk0/a/f0;->j:Lk0/a/v;
|
|
|
|
invoke-virtual {p0}, Lk0/a/f0;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Lk0/a/v;->isDispatchNeeded(Lkotlin/coroutines/CoroutineContext;)Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iput-object p1, p0, Lk0/a/f0;->g:Ljava/lang/Object;
|
|
|
|
iput v1, p0, Lk0/a/i0;->f:I
|
|
|
|
iget-object p1, p0, Lk0/a/f0;->j:Lk0/a/v;
|
|
|
|
invoke-virtual {p0}, Lk0/a/f0;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1, v0, p0}, Lk0/a/v;->dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
|
|
|
goto :goto_3
|
|
|
|
:cond_0
|
|
sget-object v0, Lk0/a/n1;->b:Lk0/a/n1;
|
|
|
|
invoke-static {}, Lk0/a/n1;->a()Lk0/a/n0;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lk0/a/n0;->A()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
iput-object p1, p0, Lk0/a/f0;->g:Ljava/lang/Object;
|
|
|
|
iput v1, p0, Lk0/a/i0;->f:I
|
|
|
|
invoke-virtual {v0, p0}, Lk0/a/n0;->x(Lk0/a/i0;)V
|
|
|
|
goto :goto_3
|
|
|
|
:cond_1
|
|
invoke-virtual {v0, v1}, Lk0/a/n0;->z(Z)V
|
|
|
|
:try_start_0
|
|
invoke-virtual {p0}, Lk0/a/f0;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v2
|
|
|
|
sget-object v3, Lkotlinx/coroutines/Job;->c:Lkotlinx/coroutines/Job$a;
|
|
|
|
invoke-interface {v2, v3}, 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 v3
|
|
|
|
if-nez v3, :cond_2
|
|
|
|
invoke-interface {v2}, Lkotlinx/coroutines/Job;->e()Ljava/util/concurrent/CancellationException;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v2}, Lf/n/a/k/a;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {p0, v2}, Lk0/a/f0;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
const/4 v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-nez v2, :cond_3
|
|
|
|
invoke-virtual {p0}, Lk0/a/f0;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v2
|
|
|
|
iget-object v3, p0, Lk0/a/f0;->i:Ljava/lang/Object;
|
|
|
|
invoke-static {v2, v3}, Lk0/a/r1/x;->c(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, Lk0/a/f0;->k:Lkotlin/coroutines/Continuation;
|
|
|
|
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}, Lk0/a/r1/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
goto :goto_1
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
invoke-static {v2, v3}, Lk0/a/r1/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
throw p1
|
|
|
|
:cond_3
|
|
:goto_1
|
|
invoke-virtual {v0}, Lk0/a/n0;->C()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
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:try_start_3
|
|
invoke-virtual {p0, p1, v2}, Lk0/a/i0;->h(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
|
|
:try_end_3
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_2
|
|
|
|
:goto_2
|
|
invoke-virtual {v0, v1}, Lk0/a/n0;->v(Z)V
|
|
|
|
goto :goto_3
|
|
|
|
:catchall_2
|
|
move-exception p0
|
|
|
|
invoke-virtual {v0, v1}, Lk0/a/n0;->v(Z)V
|
|
|
|
throw p0
|
|
|
|
:cond_4
|
|
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
:goto_3
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final d(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 p1, :cond_5
|
|
|
|
instance-of v1, p0, Lk0/a/f0;
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
check-cast p0, Lk0/a/f0;
|
|
|
|
iget-object v1, p0, Lk0/a/f0;->k:Lkotlin/coroutines/Continuation;
|
|
|
|
invoke-interface {v1}, Lkotlin/coroutines/Continuation;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v1
|
|
|
|
new-instance v2, Lk0/a/p;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x2
|
|
|
|
invoke-direct {v2, p1, v3, v4}, Lk0/a/p;-><init>(Ljava/lang/Throwable;ZI)V
|
|
|
|
iget-object v5, p0, Lk0/a/f0;->j:Lk0/a/v;
|
|
|
|
invoke-virtual {v5, v1}, Lk0/a/v;->isDispatchNeeded(Lkotlin/coroutines/CoroutineContext;)Z
|
|
|
|
move-result v5
|
|
|
|
const/4 v6, 0x1
|
|
|
|
if-eqz v5, :cond_0
|
|
|
|
new-instance v0, Lk0/a/p;
|
|
|
|
invoke-direct {v0, p1, v3, v4}, Lk0/a/p;-><init>(Ljava/lang/Throwable;ZI)V
|
|
|
|
iput-object v0, p0, Lk0/a/f0;->g:Ljava/lang/Object;
|
|
|
|
iput v6, p0, Lk0/a/i0;->f:I
|
|
|
|
iget-object p1, p0, Lk0/a/f0;->j:Lk0/a/v;
|
|
|
|
invoke-virtual {p1, v1, p0}, Lk0/a/v;->dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
|
|
|
goto/16 :goto_2
|
|
|
|
:cond_0
|
|
sget-object v1, Lk0/a/n1;->b:Lk0/a/n1;
|
|
|
|
invoke-static {}, Lk0/a/n1;->a()Lk0/a/n0;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Lk0/a/n0;->A()Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_1
|
|
|
|
iput-object v2, p0, Lk0/a/f0;->g:Ljava/lang/Object;
|
|
|
|
iput v6, p0, Lk0/a/i0;->f:I
|
|
|
|
invoke-virtual {v1, p0}, Lk0/a/n0;->x(Lk0/a/i0;)V
|
|
|
|
goto :goto_2
|
|
|
|
:cond_1
|
|
invoke-virtual {v1, v6}, Lk0/a/n0;->z(Z)V
|
|
|
|
:try_start_0
|
|
invoke-virtual {p0}, Lk0/a/f0;->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;->e()Ljava/util/concurrent/CancellationException;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v2}, Lf/n/a/k/a;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {p0, v2}, Lk0/a/f0;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
const/4 v3, 0x1
|
|
|
|
:cond_2
|
|
if-nez v3, :cond_3
|
|
|
|
invoke-virtual {p0}, Lk0/a/f0;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v2
|
|
|
|
iget-object v3, p0, Lk0/a/f0;->i:Ljava/lang/Object;
|
|
|
|
invoke-static {v2, v3}, Lk0/a/r1/x;->c(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, Lk0/a/f0;->k:Lkotlin/coroutines/Continuation;
|
|
|
|
invoke-static {p1, v4}, Lk0/a/r1/u;->b(Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lf/n/a/k/a;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
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}, Lk0/a/r1/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
invoke-static {v2, v3}, Lk0/a/r1/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
throw p1
|
|
|
|
:cond_3
|
|
:goto_0
|
|
invoke-virtual {v1}, Lk0/a/n0;->C()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}, Lk0/a/i0;->h(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
|
|
:try_end_3
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_2
|
|
|
|
:goto_1
|
|
invoke-virtual {v1, v6}, Lk0/a/n0;->v(Z)V
|
|
|
|
goto :goto_2
|
|
|
|
:catchall_2
|
|
move-exception p0
|
|
|
|
invoke-virtual {v1, v6}, Lk0/a/n0;->v(Z)V
|
|
|
|
throw p0
|
|
|
|
:cond_4
|
|
invoke-static {p1, p0}, Lk0/a/r1/u;->b(Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lf/n/a/k/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}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final e(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
|
|
|
|
instance-of v0, p0, Lk0/a/f0;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p0, Lk0/a/f0;
|
|
|
|
iget-object p0, p0, Lk0/a/f0;->k:Lkotlin/coroutines/Continuation;
|
|
|
|
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final f(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
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
instance-of v0, p0, Lk0/a/f0;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p0, Lk0/a/f0;
|
|
|
|
iget-object p0, p0, Lk0/a/f0;->k:Lkotlin/coroutines/Continuation;
|
|
|
|
invoke-static {p1, p0}, Lk0/a/r1/u;->b(Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lf/n/a/k/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
|
|
invoke-static {p1, p0}, Lk0/a/r1/u;->b(Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lf/n/a/k/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}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|