apkfuckery/com.discord/smali_classes2/k0/a/h0.smali

895 lines
20 KiB
Smali
Raw Normal View History

2020-07-23 01:06:17 +00:00
.class public final Lk0/a/h0;
2020-07-20 19:00:44 +00:00
.super Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
.source "Dispatched.kt"
2020-07-20 19:00:44 +00:00
# static fields
2020-07-23 01:06:17 +00:00
.field public static final a:Lk0/a/r1/v;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
# direct methods
.method public static constructor <clinit>()V
.locals 2
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
new-instance v0, Lk0/a/r1/v;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
const-string v1, "UNDEFINED"
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-direct {v0, v1}, Lk0/a/r1/v;-><init>(Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
sput-object v0, Lk0/a/h0;->a:Lk0/a/r1/v;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
return-void
.end method
2020-07-23 01:06:17 +00:00
.method public static final a(Lk0/a/i0;I)V
2020-07-20 19:00:44 +00:00
.locals 4
2020-05-17 12:40:10 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-07-20 19:00:44 +00:00
"<T:",
"Ljava/lang/Object;",
">(",
2020-07-23 01:06:17 +00:00
"Lk0/a/i0<",
2020-07-20 19:00:44 +00:00
"-TT;>;I)V"
2020-05-17 12:40:10 +00:00
}
.end annotation
2020-07-20 19:00:44 +00:00
move-object v0, p0
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
check-cast v0, Lk0/a/g;
2020-07-20 19:00:44 +00:00
2020-07-23 01:06:17 +00:00
iget-object v0, v0, Lk0/a/g;->h:Lkotlin/coroutines/Continuation;
2020-07-20 19:00:44 +00:00
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
2020-07-23 01:06:17 +00:00
instance-of v2, v0, Lk0/a/f0;
2020-07-20 19:00:44 +00:00
if-eqz v2, :cond_5
2020-08-10 21:02:22 +00:00
invoke-static {p1}, Lf/n/a/k/a;->J(I)Z
2020-07-20 19:00:44 +00:00
move-result v2
2020-07-23 01:06:17 +00:00
iget v3, p0, Lk0/a/i0;->f:I
2020-07-20 19:00:44 +00:00
2020-08-10 21:02:22 +00:00
invoke-static {v3}, Lf/n/a/k/a;->J(I)Z
2020-07-20 19:00:44 +00:00
move-result v3
if-ne v2, v3, :cond_5
move-object p1, v0
2020-07-23 01:06:17 +00:00
check-cast p1, Lk0/a/f0;
2020-07-20 19:00:44 +00:00
2020-07-23 01:06:17 +00:00
iget-object p1, p1, Lk0/a/f0;->j:Lk0/a/v;
2020-07-20 19:00:44 +00:00
invoke-interface {v0}, Lkotlin/coroutines/Continuation;->getContext()Lkotlin/coroutines/CoroutineContext;
move-result-object v0
2020-07-23 01:06:17 +00:00
invoke-virtual {p1, v0}, Lk0/a/v;->isDispatchNeeded(Lkotlin/coroutines/CoroutineContext;)Z
2020-07-20 19:00:44 +00:00
move-result v2
if-eqz v2, :cond_2
2020-07-23 01:06:17 +00:00
invoke-virtual {p1, v0, p0}, Lk0/a/v;->dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
2020-07-20 19:00:44 +00:00
goto :goto_3
:cond_2
2020-07-23 01:06:17 +00:00
sget-object p1, Lk0/a/n1;->b:Lk0/a/n1;
2020-07-20 19:00:44 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {}, Lk0/a/n1;->a()Lk0/a/n0;
2020-07-20 19:00:44 +00:00
move-result-object p1
2020-07-23 01:06:17 +00:00
invoke-virtual {p1}, Lk0/a/n0;->A()Z
2020-07-20 19:00:44 +00:00
move-result v0
if-eqz v0, :cond_3
2020-07-23 01:06:17 +00:00
invoke-virtual {p1, p0}, Lk0/a/n0;->x(Lk0/a/i0;)V
2020-07-20 19:00:44 +00:00
goto :goto_3
:cond_3
2020-07-23 01:06:17 +00:00
invoke-virtual {p1, v1}, Lk0/a/n0;->z(Z)V
2020-07-20 19:00:44 +00:00
:try_start_0
move-object v0, p0
2020-07-23 01:06:17 +00:00
check-cast v0, Lk0/a/g;
2020-07-20 19:00:44 +00:00
2020-07-23 01:06:17 +00:00
iget-object v0, v0, Lk0/a/g;->h:Lkotlin/coroutines/Continuation;
2020-07-20 19:00:44 +00:00
const/4 v2, 0x3
2020-07-23 01:06:17 +00:00
invoke-static {p0, v0, v2}, Lk0/a/h0;->b(Lk0/a/i0;Lkotlin/coroutines/Continuation;I)V
2020-07-20 19:00:44 +00:00
:cond_4
2020-07-23 01:06:17 +00:00
invoke-virtual {p1}, Lk0/a/n0;->C()Z
2020-07-20 19:00:44 +00:00
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
2020-07-23 01:06:17 +00:00
invoke-virtual {p0, v0, v2}, Lk0/a/i0;->h(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
2020-07-20 19:00:44 +00:00
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_1
:goto_2
2020-07-25 00:57:58 +00:00
invoke-virtual {p1, v1}, Lk0/a/n0;->v(Z)V
2020-07-20 19:00:44 +00:00
goto :goto_3
:catchall_1
move-exception p0
2020-07-25 00:57:58 +00:00
invoke-virtual {p1, v1}, Lk0/a/n0;->v(Z)V
2020-07-20 19:00:44 +00:00
throw p0
:cond_5
2020-07-23 01:06:17 +00:00
invoke-static {p0, v0, p1}, Lk0/a/h0;->b(Lk0/a/i0;Lkotlin/coroutines/Continuation;I)V
2020-07-20 19:00:44 +00:00
:goto_3
return-void
.end method
2020-07-23 01:06:17 +00:00
.method public static final b(Lk0/a/i0;Lkotlin/coroutines/Continuation;I)V
2020-07-20 19:00:44 +00:00
.locals 7
2020-05-17 12:40:10 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-07-20 19:00:44 +00:00
"<T:",
"Ljava/lang/Object;",
">(",
2020-07-23 01:06:17 +00:00
"Lk0/a/i0<",
2020-07-20 19:00:44 +00:00
"-TT;>;",
2020-05-17 12:40:10 +00:00
"Lkotlin/coroutines/Continuation<",
2020-07-20 19:00:44 +00:00
"-TT;>;I)V"
2020-05-17 12:40:10 +00:00
}
.end annotation
const/4 v0, 0x0
2020-07-20 19:00:44 +00:00
if-eqz p1, :cond_e
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual {p0}, Lk0/a/i0;->i()Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
move-result-object v1
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
instance-of v2, v1, Lk0/a/p;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
if-nez v2, :cond_0
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
move-object v2, v0
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
goto :goto_0
2020-05-17 12:40:10 +00:00
:cond_0
2020-07-20 19:00:44 +00:00
move-object v2, v1
:goto_0
2020-07-23 01:06:17 +00:00
check-cast v2, Lk0/a/p;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
if-eqz v2, :cond_1
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iget-object v0, v2, Lk0/a/p;->a:Ljava/lang/Throwable;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
:cond_1
const-string v2, "Invalid mode "
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
const/4 v3, 0x4
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
const/4 v4, 0x3
const/4 v5, 0x2
const/4 v6, 0x1
if-eqz v0, :cond_8
2020-07-23 01:06:17 +00:00
instance-of p0, p1, Lk0/a/i0;
2020-07-20 19:00:44 +00:00
if-eqz p0, :cond_2
goto :goto_1
:cond_2
2020-07-23 01:06:17 +00:00
invoke-static {v0, p1}, Lk0/a/r1/u;->b(Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Throwable;
2020-07-20 19:00:44 +00:00
move-result-object v0
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
: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
2020-07-23 01:06:17 +00:00
check-cast p1, Lk0/a/f0;
2020-07-20 19:00:44 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual {p1}, Lk0/a/f0;->getContext()Lkotlin/coroutines/CoroutineContext;
2020-07-20 19:00:44 +00:00
move-result-object p0
2020-07-23 01:06:17 +00:00
iget-object p2, p1, Lk0/a/f0;->i:Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {p0, p2}, Lk0/a/r1/x;->c(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
move-result-object p2
:try_start_0
2020-07-23 01:06:17 +00:00
iget-object p1, p1, Lk0/a/f0;->k:Lkotlin/coroutines/Continuation;
2020-07-20 19:00:44 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {v0, p1}, Lk0/a/r1/u;->b(Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Throwable;
2020-07-20 19:00:44 +00:00
move-result-object v0
2020-07-25 02:57:47 +00:00
invoke-static {v0}, Lf/n/a/k/a;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
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
2020-07-23 01:06:17 +00:00
invoke-static {p0, p2}, Lk0/a/r1/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
2020-07-20 19:00:44 +00:00
goto :goto_2
:catchall_0
move-exception p1
2020-07-23 01:06:17 +00:00
invoke-static {p0, p2}, Lk0/a/r1/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
2020-07-20 19:00:44 +00:00
throw p1
:cond_5
2020-07-23 01:06:17 +00:00
invoke-static {p1, v0}, Lk0/a/h0;->f(Lkotlin/coroutines/Continuation;Ljava/lang/Throwable;)V
2020-07-20 19:00:44 +00:00
goto :goto_2
:cond_6
2020-07-23 01:06:17 +00:00
invoke-static {p1, v0}, Lk0/a/h0;->d(Lkotlin/coroutines/Continuation;Ljava/lang/Throwable;)V
2020-07-20 19:00:44 +00:00
goto :goto_2
:cond_7
2020-07-25 02:57:47 +00:00
invoke-static {v0}, Lf/n/a/k/a;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
move-result-object p0
invoke-interface {p1, p0}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
goto :goto_2
:cond_8
2020-07-23 01:06:17 +00:00
invoke-virtual {p0, v1}, Lk0/a/i0;->f(Ljava/lang/Object;)Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
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
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
: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
2020-07-23 01:06:17 +00:00
check-cast p1, Lk0/a/f0;
2020-07-20 19:00:44 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual {p1}, Lk0/a/f0;->getContext()Lkotlin/coroutines/CoroutineContext;
2020-07-20 19:00:44 +00:00
move-result-object p2
2020-07-23 01:06:17 +00:00
iget-object v0, p1, Lk0/a/f0;->i:Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {p2, v0}, Lk0/a/r1/x;->c(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
move-result-object v0
:try_start_1
2020-07-23 01:06:17 +00:00
iget-object p1, p1, Lk0/a/f0;->k:Lkotlin/coroutines/Continuation;
2020-07-20 19:00:44 +00:00
invoke-interface {p1, p0}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_1
2020-07-23 01:06:17 +00:00
invoke-static {p2, v0}, Lk0/a/r1/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
2020-07-20 19:00:44 +00:00
goto :goto_2
:catchall_1
move-exception p0
2020-07-23 01:06:17 +00:00
invoke-static {p2, v0}, Lk0/a/r1/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
2020-07-20 19:00:44 +00:00
throw p0
:cond_b
2020-07-23 01:06:17 +00:00
invoke-static {p1, p0}, Lk0/a/h0;->e(Lkotlin/coroutines/Continuation;Ljava/lang/Object;)V
2020-07-20 19:00:44 +00:00
goto :goto_2
:cond_c
2020-07-23 01:06:17 +00:00
invoke-static {p1, p0}, Lk0/a/h0;->c(Lkotlin/coroutines/Continuation;Ljava/lang/Object;)V
2020-07-20 19:00:44 +00:00
goto :goto_2
:cond_d
invoke-interface {p1, p0}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
:goto_2
2020-05-17 12:40:10 +00:00
return-void
2020-07-20 19:00:44 +00:00
:cond_e
const-string p0, "delegate"
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-07-20 19:00:44 +00:00
throw v0
.end method
.method public static final c(Lkotlin/coroutines/Continuation;Ljava/lang/Object;)V
.locals 5
2020-05-17 12:40:10 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-07-20 19:00:44 +00:00
"<T:",
"Ljava/lang/Object;",
">(",
2020-05-17 12:40:10 +00:00
"Lkotlin/coroutines/Continuation<",
2020-07-20 19:00:44 +00:00
"-TT;>;TT;)V"
2020-05-17 12:40:10 +00:00
}
.end annotation
2020-07-23 01:06:17 +00:00
instance-of v0, p0, Lk0/a/f0;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
if-eqz v0, :cond_4
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
check-cast p0, Lk0/a/f0;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lk0/a/f0;->j:Lk0/a/v;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual {p0}, Lk0/a/f0;->getContext()Lkotlin/coroutines/CoroutineContext;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
move-result-object v1
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual {v0, v1}, Lk0/a/v;->isDispatchNeeded(Lkotlin/coroutines/CoroutineContext;)Z
2020-07-20 19:00:44 +00:00
move-result v0
const/4 v1, 0x1
if-eqz v0, :cond_0
2020-07-23 01:06:17 +00:00
iput-object p1, p0, Lk0/a/f0;->g:Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
2020-07-23 01:06:17 +00:00
iput v1, p0, Lk0/a/i0;->f:I
2020-07-20 19:00:44 +00:00
2020-07-23 01:06:17 +00:00
iget-object p1, p0, Lk0/a/f0;->j:Lk0/a/v;
2020-07-20 19:00:44 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual {p0}, Lk0/a/f0;->getContext()Lkotlin/coroutines/CoroutineContext;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v0
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual {p1, v0, p0}, Lk0/a/v;->dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
goto :goto_3
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
:cond_0
2020-07-23 01:06:17 +00:00
sget-object v0, Lk0/a/n1;->b:Lk0/a/n1;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {}, Lk0/a/n1;->a()Lk0/a/n0;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
move-result-object v0
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual {v0}, Lk0/a/n0;->A()Z
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
move-result v2
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
if-eqz v2, :cond_1
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iput-object p1, p0, Lk0/a/f0;->g:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iput v1, p0, Lk0/a/i0;->f:I
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual {v0, p0}, Lk0/a/n0;->x(Lk0/a/i0;)V
2020-07-20 19:00:44 +00:00
goto :goto_3
:cond_1
2020-07-23 01:06:17 +00:00
invoke-virtual {v0, v1}, Lk0/a/n0;->z(Z)V
2020-07-20 19:00:44 +00:00
:try_start_0
2020-07-23 01:06:17 +00:00
invoke-virtual {p0}, Lk0/a/f0;->getContext()Lkotlin/coroutines/CoroutineContext;
2020-07-20 19:00:44 +00:00
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
2020-07-25 02:57:47 +00:00
invoke-static {v2}, Lf/n/a/k/a;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
move-result-object v2
2020-07-23 01:06:17 +00:00
invoke-virtual {p0, v2}, Lk0/a/f0;->resumeWith(Ljava/lang/Object;)V
2020-07-20 19:00:44 +00:00
const/4 v2, 0x1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
goto :goto_0
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
:cond_2
const/4 v2, 0x0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:goto_0
2020-07-20 19:00:44 +00:00
if-nez v2, :cond_3
2020-07-23 01:06:17 +00:00
invoke-virtual {p0}, Lk0/a/f0;->getContext()Lkotlin/coroutines/CoroutineContext;
2020-07-20 19:00:44 +00:00
move-result-object v2
2020-07-23 01:06:17 +00:00
iget-object v3, p0, Lk0/a/f0;->i:Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {v2, v3}, Lk0/a/r1/x;->c(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
move-result-object v3
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
:try_start_1
2020-07-23 01:06:17 +00:00
iget-object v4, p0, Lk0/a/f0;->k:Lkotlin/coroutines/Continuation;
2020-07-20 19:00:44 +00:00
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
2020-07-23 01:06:17 +00:00
invoke-static {v2, v3}, Lk0/a/r1/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
goto :goto_1
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
:catchall_0
move-exception p1
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {v2, v3}, Lk0/a/r1/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
throw p1
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
:cond_3
2020-07-08 16:44:49 +00:00
:goto_1
2020-07-23 01:06:17 +00:00
invoke-virtual {v0}, Lk0/a/n0;->C()Z
2020-07-20 19:00:44 +00:00
move-result p1
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
if-nez p1, :cond_3
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
goto :goto_2
:catchall_1
move-exception p1
const/4 v2, 0x0
:try_start_3
2020-07-23 01:06:17 +00:00
invoke-virtual {p0, p1, v2}, Lk0/a/i0;->h(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
2020-07-20 19:00:44 +00:00
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_2
:goto_2
2020-07-25 00:57:58 +00:00
invoke-virtual {v0, v1}, Lk0/a/n0;->v(Z)V
2020-07-20 19:00:44 +00:00
goto :goto_3
:catchall_2
move-exception p0
2020-07-25 00:57:58 +00:00
invoke-virtual {v0, v1}, Lk0/a/n0;->v(Z)V
2020-07-20 19:00:44 +00:00
throw p0
:cond_4
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
:goto_3
return-void
2020-05-17 12:40:10 +00:00
.end method
2020-07-20 19:00:44 +00:00
.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
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
const/4 v0, 0x0
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
if-eqz p1, :cond_5
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
instance-of v1, p0, Lk0/a/f0;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
if-eqz v1, :cond_4
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
check-cast p0, Lk0/a/f0;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iget-object v1, p0, Lk0/a/f0;->k:Lkotlin/coroutines/Continuation;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
invoke-interface {v1}, Lkotlin/coroutines/Continuation;->getContext()Lkotlin/coroutines/CoroutineContext;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
move-result-object v1
2020-07-23 01:06:17 +00:00
new-instance v2, Lk0/a/p;
2020-05-17 12:40:10 +00:00
const/4 v3, 0x0
2020-07-20 19:00:44 +00:00
const/4 v4, 0x2
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-direct {v2, p1, v3, v4}, Lk0/a/p;-><init>(Ljava/lang/Throwable;ZI)V
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iget-object v5, p0, Lk0/a/f0;->j:Lk0/a/v;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual {v5, v1}, Lk0/a/v;->isDispatchNeeded(Lkotlin/coroutines/CoroutineContext;)Z
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
move-result v5
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
const/4 v6, 0x1
if-eqz v5, :cond_0
2020-07-23 01:06:17 +00:00
new-instance v0, Lk0/a/p;
2020-07-20 19:00:44 +00:00
2020-07-23 01:06:17 +00:00
invoke-direct {v0, p1, v3, v4}, Lk0/a/p;-><init>(Ljava/lang/Throwable;ZI)V
2020-07-20 19:00:44 +00:00
2020-07-23 01:06:17 +00:00
iput-object v0, p0, Lk0/a/f0;->g:Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
2020-07-23 01:06:17 +00:00
iput v6, p0, Lk0/a/i0;->f:I
2020-07-20 19:00:44 +00:00
2020-07-23 01:06:17 +00:00
iget-object p1, p0, Lk0/a/f0;->j:Lk0/a/v;
2020-07-20 19:00:44 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual {p1, v1, p0}, Lk0/a/v;->dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
2020-07-20 19:00:44 +00:00
goto/16 :goto_2
2020-05-17 12:40:10 +00:00
:cond_0
2020-07-23 01:06:17 +00:00
sget-object v1, Lk0/a/n1;->b:Lk0/a/n1;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {}, Lk0/a/n1;->a()Lk0/a/n0;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
move-result-object v1
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual {v1}, Lk0/a/n0;->A()Z
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
move-result v4
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
if-eqz v4, :cond_1
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iput-object v2, p0, Lk0/a/f0;->g:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iput v6, p0, Lk0/a/i0;->f:I
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual {v1, p0}, Lk0/a/n0;->x(Lk0/a/i0;)V
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
goto :goto_2
2020-05-17 12:40:10 +00:00
:cond_1
2020-07-23 01:06:17 +00:00
invoke-virtual {v1, v6}, Lk0/a/n0;->z(Z)V
2020-05-17 12:40:10 +00:00
:try_start_0
2020-07-23 01:06:17 +00:00
invoke-virtual {p0}, Lk0/a/f0;->getContext()Lkotlin/coroutines/CoroutineContext;
2020-07-20 19:00:44 +00:00
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;
2020-05-17 12:40:10 +00:00
move-result-object v2
2020-07-25 02:57:47 +00:00
invoke-static {v2}, Lf/n/a/k/a;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
move-result-object v2
2020-07-23 01:06:17 +00:00
invoke-virtual {p0, v2}, Lk0/a/f0;->resumeWith(Ljava/lang/Object;)V
2020-07-20 19:00:44 +00:00
const/4 v3, 0x1
:cond_2
if-nez v3, :cond_3
2020-07-23 01:06:17 +00:00
invoke-virtual {p0}, Lk0/a/f0;->getContext()Lkotlin/coroutines/CoroutineContext;
2020-07-20 19:00:44 +00:00
move-result-object v2
2020-07-23 01:06:17 +00:00
iget-object v3, p0, Lk0/a/f0;->i:Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {v2, v3}, Lk0/a/r1/x;->c(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
move-result-object v3
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
:try_start_1
2020-07-23 01:06:17 +00:00
iget-object v4, p0, Lk0/a/f0;->k:Lkotlin/coroutines/Continuation;
2020-07-20 19:00:44 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {p1, v4}, Lk0/a/r1/u;->b(Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Throwable;
2020-07-20 19:00:44 +00:00
move-result-object p1
2020-07-25 02:57:47 +00:00
invoke-static {p1}, Lf/n/a/k/a;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
move-result-object p1
2020-05-17 12:40:10 +00:00
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
2020-07-23 01:06:17 +00:00
invoke-static {v2, v3}, Lk0/a/r1/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
goto :goto_0
:catchall_0
move-exception p1
2020-07-23 01:06:17 +00:00
invoke-static {v2, v3}, Lk0/a/r1/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
throw p1
2020-07-20 19:00:44 +00:00
:cond_3
:goto_0
2020-07-23 01:06:17 +00:00
invoke-virtual {v1}, Lk0/a/n0;->C()Z
2020-07-20 19:00:44 +00:00
move-result p1
2020-05-17 12:40:10 +00:00
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
2020-07-20 19:00:44 +00:00
if-nez p1, :cond_3
goto :goto_1
2020-05-17 12:40:10 +00:00
:catchall_1
move-exception p1
:try_start_3
2020-07-23 01:06:17 +00:00
invoke-virtual {p0, p1, v0}, Lk0/a/i0;->h(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
2020-05-17 12:40:10 +00:00
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_2
:goto_1
2020-07-25 00:57:58 +00:00
invoke-virtual {v1, v6}, Lk0/a/n0;->v(Z)V
2020-07-20 19:00:44 +00:00
goto :goto_2
2020-05-17 12:40:10 +00:00
:catchall_2
2020-07-20 19:00:44 +00:00
move-exception p0
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-virtual {v1, v6}, Lk0/a/n0;->v(Z)V
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
throw p0
:cond_4
2020-07-23 01:06:17 +00:00
invoke-static {p1, p0}, Lk0/a/r1/u;->b(Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Throwable;
2020-07-20 19:00:44 +00:00
move-result-object p1
2020-07-25 02:57:47 +00:00
invoke-static {p1}, Lf/n/a/k/a;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
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"
2020-07-25 00:57:58 +00:00
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-07-20 19:00:44 +00:00
throw v0
2020-05-17 12:40:10 +00:00
.end method
2020-07-20 19:00:44 +00:00
.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
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
instance-of v0, p0, Lk0/a/f0;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
if-eqz v0, :cond_0
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
check-cast p0, Lk0/a/f0;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iget-object p0, p0, Lk0/a/f0;->k:Lkotlin/coroutines/Continuation;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
goto :goto_0
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
:cond_0
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
:goto_0
return-void
.end method
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
.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
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
if-eqz p1, :cond_1
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
instance-of v0, p0, Lk0/a/f0;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
if-eqz v0, :cond_0
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
check-cast p0, Lk0/a/f0;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iget-object p0, p0, Lk0/a/f0;->k:Lkotlin/coroutines/Continuation;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {p1, p0}, Lk0/a/r1/u;->b(Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Throwable;
2020-07-20 19:00:44 +00:00
move-result-object p1
2020-07-25 02:57:47 +00:00
invoke-static {p1}, Lf/n/a/k/a;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
move-result-object p1
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
goto :goto_0
:cond_0
2020-07-23 01:06:17 +00:00
invoke-static {p1, p0}, Lk0/a/r1/u;->b(Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Throwable;
2020-07-20 19:00:44 +00:00
move-result-object p1
2020-07-25 02:57:47 +00:00
invoke-static {p1}, Lf/n/a/k/a;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
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"
2020-07-25 00:57:58 +00:00
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-07-20 19:00:44 +00:00
const/4 p0, 0x0
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
throw p0
2020-05-17 12:40:10 +00:00
.end method