2020-10-05 23:18:16 +00:00
|
|
|
.class public final Ld0/a/d0;
|
2020-07-08 16:44:49 +00:00
|
|
|
.super Ljava/lang/Object;
|
2020-09-16 23:45:23 +00:00
|
|
|
.source "DispatchedContinuation.kt"
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2020-10-05 23:18:16 +00:00
|
|
|
.field public static final a:Ld0/a/r1/n;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
.field public static final b:Ld0/a/r1/n;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static constructor <clinit>()V
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 2
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
new-instance v0, Ld0/a/r1/n;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const-string v1, "UNDEFINED"
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-direct {v0, v1}, Ld0/a/r1/n;-><init>(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
sput-object v0, Ld0/a/d0;->a:Ld0/a/r1/n;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
new-instance v0, Ld0/a/r1/n;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const-string v1, "REUSABLE_CLAIMED"
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-direct {v0, v1}, Ld0/a/r1/n;-><init>(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
sput-object v0, Ld0/a/d0;->b:Ld0/a/r1/n;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.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;>;",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
")V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
instance-of v0, p0, Ld0/a/c0;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
check-cast p0, Ld0/a/c0;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {p1}, Lc0/j/a;->c0(Ljava/lang/Object;)Ljava/lang/Object;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v1, p0, Ld0/a/c0;->j:Ld0/a/v;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {p0}, Ld0/a/c0;->getContext()Lkotlin/coroutines/CoroutineContext;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v1, v2}, Ld0/a/v;->isDispatchNeeded(Lkotlin/coroutines/CoroutineContext;)Z
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iput-object v0, p0, Ld0/a/c0;->g:Ljava/lang/Object;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iput v2, p0, Ld0/a/f0;->f:I
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object p1, p0, Ld0/a/c0;->j:Ld0/a/v;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {p0}, Ld0/a/c0;->getContext()Lkotlin/coroutines/CoroutineContext;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {p1, v0, p0}, Ld0/a/v;->dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_0
|
2020-10-05 23:18:16 +00:00
|
|
|
sget-object v1, Ld0/a/l1;->b:Ld0/a/l1;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {}, Ld0/a/l1;->a()Ld0/a/k0;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v1}, Ld0/a/k0;->z()Z
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iput-object v0, p0, Ld0/a/c0;->g:Ljava/lang/Object;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iput v2, p0, Ld0/a/f0;->f:I
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v1, p0}, Ld0/a/k0;->x(Ld0/a/f0;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_1
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v1, v2}, Ld0/a/k0;->y(Z)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
:try_start_0
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {p0}, Ld0/a/c0;->getContext()Lkotlin/coroutines/CoroutineContext;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
sget-object v3, Lkotlinx/coroutines/Job;->c:Lkotlinx/coroutines/Job$a;
|
|
|
|
|
|
|
|
invoke-interface {v0, v3}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Lkotlinx/coroutines/Job;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
|
|
|
|
invoke-interface {v0}, Lkotlinx/coroutines/Job;->a()Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-nez v3, :cond_2
|
|
|
|
|
|
|
|
invoke-interface {v0}, Lkotlinx/coroutines/Job;->e()Ljava/util/concurrent/CancellationException;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-10-03 03:03:24 +00:00
|
|
|
invoke-static {v0}, Lf/h/a/f/f/n/f;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {p0, v0}, Ld0/a/c0;->resumeWith(Ljava/lang/Object;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {p0}, Ld0/a/c0;->getContext()Lkotlin/coroutines/CoroutineContext;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v3, p0, Ld0/a/c0;->i:Ljava/lang/Object;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {v0, v3}, Ld0/a/r1/p;->c(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
|
|
|
|
|
|
|
:try_start_1
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v4, p0, Ld0/a/c0;->k:Lkotlin/coroutines/Continuation;
|
2020-09-16 23:45:23 +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-10-05 23:18:16 +00:00
|
|
|
invoke-static {v0, v3}, Ld0/a/r1/p;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {v0, v3}, Ld0/a/r1/p;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
:goto_1
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v1}, Ld0/a/k0;->B()Z
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
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 v0, 0x0
|
|
|
|
|
|
|
|
:try_start_3
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {p0, p1, v0}, Ld0/a/f0;->f(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
:try_end_3
|
|
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_2
|
|
|
|
|
|
|
|
:goto_2
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v1, v2}, Ld0/a/k0;->t(Z)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:catchall_2
|
|
|
|
move-exception p0
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v1, v2}, Ld0/a/k0;->t(Z)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
throw p0
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_4
|
|
|
|
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:goto_3
|
2020-07-08 16:44:49 +00:00
|
|
|
return-void
|
|
|
|
.end method
|