800 lines
20 KiB
Smali
800 lines
20 KiB
Smali
.class public final Lkotlinx/coroutines/an;
|
|
.super Ljava/lang/Object;
|
|
.source "Dispatched.kt"
|
|
|
|
|
|
# static fields
|
|
.field private static final bnj:Lkotlinx/coroutines/internal/v;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
new-instance v0, Lkotlinx/coroutines/internal/v;
|
|
|
|
const-string v1, "UNDEFINED"
|
|
|
|
invoke-direct {v0, v1}, Lkotlinx/coroutines/internal/v;-><init>(Ljava/lang/String;)V
|
|
|
|
sput-object v0, Lkotlinx/coroutines/an;->bnj:Lkotlinx/coroutines/internal/v;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic EK()Lkotlinx/coroutines/internal/v;
|
|
.locals 1
|
|
|
|
sget-object v0, Lkotlinx/coroutines/an;->bnj:Lkotlinx/coroutines/internal/v;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final a(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
|
|
|
|
const-string v0, "$this$resumeCancellable"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
instance-of v0, p0, Lkotlinx/coroutines/al;
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
check-cast p0, Lkotlinx/coroutines/al;
|
|
|
|
iget-object v0, p0, Lkotlinx/coroutines/al;->bnh:Lkotlinx/coroutines/y;
|
|
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/al;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Lkotlinx/coroutines/y;->b(Lkotlin/coroutines/CoroutineContext;)Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iput-object p1, p0, Lkotlinx/coroutines/al;->_state:Ljava/lang/Object;
|
|
|
|
iput v1, p0, Lkotlinx/coroutines/al;->bnk:I
|
|
|
|
iget-object p1, p0, Lkotlinx/coroutines/al;->bnh:Lkotlinx/coroutines/y;
|
|
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/al;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast p0, Ljava/lang/Runnable;
|
|
|
|
invoke-virtual {p1, v0, p0}, Lkotlinx/coroutines/y;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
sget-object v0, Lkotlinx/coroutines/bu;->bnV:Lkotlinx/coroutines/bu;
|
|
|
|
invoke-static {}, Lkotlinx/coroutines/bu;->Fm()Lkotlinx/coroutines/at;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lkotlinx/coroutines/at;->ES()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
iput-object p1, p0, Lkotlinx/coroutines/al;->_state:Ljava/lang/Object;
|
|
|
|
iput v1, p0, Lkotlinx/coroutines/al;->bnk:I
|
|
|
|
check-cast p0, Lkotlinx/coroutines/ao;
|
|
|
|
invoke-virtual {v0, p0}, Lkotlinx/coroutines/at;->a(Lkotlinx/coroutines/ao;)V
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
move-object v2, p0
|
|
|
|
check-cast v2, Lkotlinx/coroutines/ao;
|
|
|
|
invoke-virtual {v0, v1}, Lkotlinx/coroutines/at;->Y(Z)V
|
|
|
|
:try_start_0
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/al;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v3
|
|
|
|
sget-object v4, Lkotlinx/coroutines/Job;->bnG:Lkotlinx/coroutines/Job$b;
|
|
|
|
check-cast v4, Lkotlin/coroutines/CoroutineContext$c;
|
|
|
|
invoke-interface {v3, v4}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$c;)Lkotlin/coroutines/CoroutineContext$b;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Lkotlinx/coroutines/Job;
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
invoke-interface {v3}, Lkotlinx/coroutines/Job;->isActive()Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_2
|
|
|
|
invoke-interface {v3}, Lkotlinx/coroutines/Job;->Fa()Ljava/util/concurrent/CancellationException;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Ljava/lang/Throwable;
|
|
|
|
sget-object v4, Lkotlin/m;->bjW:Lkotlin/m$a;
|
|
|
|
invoke-static {v3}, Lkotlin/n;->o(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v3}, Lkotlin/m;->aZ(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-interface {p0, v3}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-nez v1, :cond_3
|
|
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/al;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v1
|
|
|
|
iget-object v3, p0, Lkotlinx/coroutines/al;->bng:Ljava/lang/Object;
|
|
|
|
invoke-static {v1, v3}, Lkotlinx/coroutines/internal/z;->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 p0, p0, Lkotlinx/coroutines/al;->bni:Lkotlin/coroutines/Continuation;
|
|
|
|
sget-object v4, Lkotlin/m;->bjW:Lkotlin/m$a;
|
|
|
|
invoke-static {p1}, Lkotlin/m;->aZ(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
sget-object p0, Lkotlin/Unit;->bjZ:Lkotlin/Unit;
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
:try_start_2
|
|
invoke-static {v1, v3}, Lkotlinx/coroutines/internal/z;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
goto :goto_1
|
|
|
|
:catchall_0
|
|
move-exception p0
|
|
|
|
invoke-static {v1, v3}, Lkotlinx/coroutines/internal/z;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
throw p0
|
|
|
|
:cond_3
|
|
:goto_1
|
|
invoke-virtual {v0}, Lkotlinx/coroutines/at;->ER()Z
|
|
|
|
move-result p0
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_1
|
|
|
|
if-nez p0, :cond_3
|
|
|
|
invoke-virtual {v0}, Lkotlinx/coroutines/at;->EU()V
|
|
|
|
return-void
|
|
|
|
:catchall_1
|
|
move-exception p0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
:try_start_3
|
|
invoke-virtual {v2, p0, p1}, Lkotlinx/coroutines/ao;->d(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
|
|
:try_end_3
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_2
|
|
|
|
invoke-virtual {v0}, Lkotlinx/coroutines/at;->EU()V
|
|
|
|
return-void
|
|
|
|
:catchall_2
|
|
move-exception p0
|
|
|
|
invoke-virtual {v0}, Lkotlinx/coroutines/at;->EU()V
|
|
|
|
throw p0
|
|
|
|
:cond_4
|
|
sget-object v0, Lkotlin/m;->bjW:Lkotlin/m$a;
|
|
|
|
invoke-static {p1}, Lkotlin/m;->aZ(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final a(Lkotlin/coroutines/Continuation;Ljava/lang/Throwable;)V
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lkotlin/coroutines/Continuation<",
|
|
"-TT;>;",
|
|
"Ljava/lang/Throwable;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$resumeCancellableWithException"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "exception"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
instance-of v0, p0, Lkotlinx/coroutines/al;
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
check-cast p0, Lkotlinx/coroutines/al;
|
|
|
|
iget-object v0, p0, Lkotlinx/coroutines/al;->bni:Lkotlin/coroutines/Continuation;
|
|
|
|
invoke-interface {v0}, Lkotlin/coroutines/Continuation;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Lkotlinx/coroutines/q;
|
|
|
|
invoke-direct {v1, p1}, Lkotlinx/coroutines/q;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
iget-object v2, p0, Lkotlinx/coroutines/al;->bnh:Lkotlinx/coroutines/y;
|
|
|
|
invoke-virtual {v2, v0}, Lkotlinx/coroutines/y;->b(Lkotlin/coroutines/CoroutineContext;)Z
|
|
|
|
move-result v2
|
|
|
|
const/4 v3, 0x1
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
new-instance v1, Lkotlinx/coroutines/q;
|
|
|
|
invoke-direct {v1, p1}, Lkotlinx/coroutines/q;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
iput-object v1, p0, Lkotlinx/coroutines/al;->_state:Ljava/lang/Object;
|
|
|
|
iput v3, p0, Lkotlinx/coroutines/al;->bnk:I
|
|
|
|
iget-object p1, p0, Lkotlinx/coroutines/al;->bnh:Lkotlinx/coroutines/y;
|
|
|
|
check-cast p0, Ljava/lang/Runnable;
|
|
|
|
invoke-virtual {p1, v0, p0}, Lkotlinx/coroutines/y;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
sget-object v0, Lkotlinx/coroutines/bu;->bnV:Lkotlinx/coroutines/bu;
|
|
|
|
invoke-static {}, Lkotlinx/coroutines/bu;->Fm()Lkotlinx/coroutines/at;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lkotlinx/coroutines/at;->ES()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
iput-object v1, p0, Lkotlinx/coroutines/al;->_state:Ljava/lang/Object;
|
|
|
|
iput v3, p0, Lkotlinx/coroutines/al;->bnk:I
|
|
|
|
check-cast p0, Lkotlinx/coroutines/ao;
|
|
|
|
invoke-virtual {v0, p0}, Lkotlinx/coroutines/at;->a(Lkotlinx/coroutines/ao;)V
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
move-object v1, p0
|
|
|
|
check-cast v1, Lkotlinx/coroutines/ao;
|
|
|
|
invoke-virtual {v0, v3}, Lkotlinx/coroutines/at;->Y(Z)V
|
|
|
|
:try_start_0
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/al;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v2
|
|
|
|
sget-object v4, Lkotlinx/coroutines/Job;->bnG:Lkotlinx/coroutines/Job$b;
|
|
|
|
check-cast v4, Lkotlin/coroutines/CoroutineContext$c;
|
|
|
|
invoke-interface {v2, v4}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$c;)Lkotlin/coroutines/CoroutineContext$b;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Lkotlinx/coroutines/Job;
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
invoke-interface {v2}, Lkotlinx/coroutines/Job;->isActive()Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_2
|
|
|
|
invoke-interface {v2}, Lkotlinx/coroutines/Job;->Fa()Ljava/util/concurrent/CancellationException;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Ljava/lang/Throwable;
|
|
|
|
sget-object v4, Lkotlin/m;->bjW:Lkotlin/m$a;
|
|
|
|
invoke-static {v2}, Lkotlin/n;->o(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v2}, Lkotlin/m;->aZ(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-interface {p0, v2}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
const/4 v3, 0x0
|
|
|
|
:goto_0
|
|
if-nez v3, :cond_3
|
|
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/al;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v2
|
|
|
|
iget-object v3, p0, Lkotlinx/coroutines/al;->bng:Ljava/lang/Object;
|
|
|
|
invoke-static {v2, v3}, Lkotlinx/coroutines/internal/z;->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 p0, p0, Lkotlinx/coroutines/al;->bni:Lkotlin/coroutines/Continuation;
|
|
|
|
sget-object v4, Lkotlin/m;->bjW:Lkotlin/m$a;
|
|
|
|
invoke-static {p1, p0}, Lkotlinx/coroutines/internal/u;->a(Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lkotlin/n;->o(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lkotlin/m;->aZ(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
sget-object p0, Lkotlin/Unit;->bjZ:Lkotlin/Unit;
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
:try_start_2
|
|
invoke-static {v2, v3}, Lkotlinx/coroutines/internal/z;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
goto :goto_1
|
|
|
|
:catchall_0
|
|
move-exception p0
|
|
|
|
invoke-static {v2, v3}, Lkotlinx/coroutines/internal/z;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
throw p0
|
|
|
|
:cond_3
|
|
:goto_1
|
|
invoke-virtual {v0}, Lkotlinx/coroutines/at;->ER()Z
|
|
|
|
move-result p0
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_1
|
|
|
|
if-nez p0, :cond_3
|
|
|
|
invoke-virtual {v0}, Lkotlinx/coroutines/at;->EU()V
|
|
|
|
return-void
|
|
|
|
:catchall_1
|
|
move-exception p0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
:try_start_3
|
|
invoke-virtual {v1, p0, p1}, Lkotlinx/coroutines/ao;->d(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
|
|
:try_end_3
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_2
|
|
|
|
invoke-virtual {v0}, Lkotlinx/coroutines/at;->EU()V
|
|
|
|
return-void
|
|
|
|
:catchall_2
|
|
move-exception p0
|
|
|
|
invoke-virtual {v0}, Lkotlinx/coroutines/at;->EU()V
|
|
|
|
throw p0
|
|
|
|
:cond_4
|
|
sget-object v0, Lkotlin/m;->bjW:Lkotlin/m$a;
|
|
|
|
invoke-static {p1, p0}, Lkotlinx/coroutines/internal/u;->a(Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lkotlin/n;->o(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lkotlin/m;->aZ(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final a(Lkotlinx/coroutines/ao;I)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lkotlinx/coroutines/ao<",
|
|
"-TT;>;I)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$dispatch"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/ao;->Ex()Lkotlin/coroutines/Continuation;
|
|
|
|
move-result-object v0
|
|
|
|
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, Lkotlinx/coroutines/al;
|
|
|
|
if-eqz v2, :cond_5
|
|
|
|
invoke-static {p1}, Lkotlinx/coroutines/br;->dp(I)Z
|
|
|
|
move-result v2
|
|
|
|
iget v3, p0, Lkotlinx/coroutines/ao;->bnk:I
|
|
|
|
invoke-static {v3}, Lkotlinx/coroutines/br;->dp(I)Z
|
|
|
|
move-result v3
|
|
|
|
if-ne v2, v3, :cond_5
|
|
|
|
move-object p1, v0
|
|
|
|
check-cast p1, Lkotlinx/coroutines/al;
|
|
|
|
iget-object p1, p1, Lkotlinx/coroutines/al;->bnh:Lkotlinx/coroutines/y;
|
|
|
|
invoke-interface {v0}, Lkotlin/coroutines/Continuation;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1, v0}, Lkotlinx/coroutines/y;->b(Lkotlin/coroutines/CoroutineContext;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
check-cast p0, Ljava/lang/Runnable;
|
|
|
|
invoke-virtual {p1, v0, p0}, Lkotlinx/coroutines/y;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
|
|
|
return-void
|
|
|
|
:cond_2
|
|
sget-object p1, Lkotlinx/coroutines/bu;->bnV:Lkotlinx/coroutines/bu;
|
|
|
|
invoke-static {}, Lkotlinx/coroutines/bu;->Fm()Lkotlinx/coroutines/at;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Lkotlinx/coroutines/at;->ES()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
invoke-virtual {p1, p0}, Lkotlinx/coroutines/at;->a(Lkotlinx/coroutines/ao;)V
|
|
|
|
return-void
|
|
|
|
:cond_3
|
|
invoke-virtual {p1, v1}, Lkotlinx/coroutines/at;->Y(Z)V
|
|
|
|
:try_start_0
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/ao;->Ex()Lkotlin/coroutines/Continuation;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x3
|
|
|
|
invoke-static {p0, v0, v1}, Lkotlinx/coroutines/an;->a(Lkotlinx/coroutines/ao;Lkotlin/coroutines/Continuation;I)V
|
|
|
|
:cond_4
|
|
invoke-virtual {p1}, Lkotlinx/coroutines/at;->ER()Z
|
|
|
|
move-result v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
if-nez v0, :cond_4
|
|
|
|
invoke-virtual {p1}, Lkotlinx/coroutines/at;->EU()V
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:try_start_1
|
|
invoke-virtual {p0, v0, v1}, Lkotlinx/coroutines/ao;->d(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
|
|
|
invoke-virtual {p1}, Lkotlinx/coroutines/at;->EU()V
|
|
|
|
return-void
|
|
|
|
:catchall_1
|
|
move-exception p0
|
|
|
|
invoke-virtual {p1}, Lkotlinx/coroutines/at;->EU()V
|
|
|
|
throw p0
|
|
|
|
:cond_5
|
|
invoke-static {p0, v0, p1}, Lkotlinx/coroutines/an;->a(Lkotlinx/coroutines/ao;Lkotlin/coroutines/Continuation;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private static a(Lkotlinx/coroutines/ao;Lkotlin/coroutines/Continuation;I)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lkotlinx/coroutines/ao<",
|
|
"-TT;>;",
|
|
"Lkotlin/coroutines/Continuation<",
|
|
"-TT;>;I)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$resume"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "delegate"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/ao;->Et()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lkotlinx/coroutines/ao;->bp(Ljava/lang/Object;)Ljava/lang/Throwable;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
invoke-static {p1, v1, p2}, Lkotlinx/coroutines/br;->a(Lkotlin/coroutines/Continuation;Ljava/lang/Throwable;I)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
invoke-virtual {p0, v0}, Lkotlinx/coroutines/ao;->bl(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p1, p0, p2}, Lkotlinx/coroutines/br;->a(Lkotlin/coroutines/Continuation;Ljava/lang/Object;I)V
|
|
|
|
return-void
|
|
.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
|
|
|
|
const-string v0, "$this$resumeDirect"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
instance-of v0, p0, Lkotlinx/coroutines/al;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p0, Lkotlinx/coroutines/al;
|
|
|
|
iget-object p0, p0, Lkotlinx/coroutines/al;->bni:Lkotlin/coroutines/Continuation;
|
|
|
|
sget-object v0, Lkotlin/m;->bjW:Lkotlin/m$a;
|
|
|
|
invoke-static {p1}, Lkotlin/m;->aZ(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
sget-object v0, Lkotlin/m;->bjW:Lkotlin/m$a;
|
|
|
|
invoke-static {p1}, Lkotlin/m;->aZ(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.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-string v0, "$this$resumeDirectWithException"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "exception"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
instance-of v0, p0, Lkotlinx/coroutines/al;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p0, Lkotlinx/coroutines/al;
|
|
|
|
iget-object p0, p0, Lkotlinx/coroutines/al;->bni:Lkotlin/coroutines/Continuation;
|
|
|
|
sget-object v0, Lkotlin/m;->bjW:Lkotlin/m$a;
|
|
|
|
invoke-static {p1, p0}, Lkotlinx/coroutines/internal/u;->a(Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lkotlin/n;->o(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lkotlin/m;->aZ(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
sget-object v0, Lkotlin/m;->bjW:Lkotlin/m$a;
|
|
|
|
invoke-static {p1, p0}, Lkotlinx/coroutines/internal/u;->a(Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lkotlin/n;->o(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lkotlin/m;->aZ(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|