2020-11-13 01:15:36 +00:00
|
|
|
.class public final Lz/a/d0;
|
2020-11-12 02:11:44 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "DispatchedContinuation.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2020-11-13 01:15:36 +00:00
|
|
|
.field public static final a:Lz/a/r1/n;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
.field public static final b:Lz/a/r1/n;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static constructor <clinit>()V
|
|
|
|
.locals 2
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
new-instance v0, Lz/a/r1/n;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
const-string v1, "UNDEFINED"
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-direct {v0, v1}, Lz/a/r1/n;-><init>(Ljava/lang/String;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
sput-object v0, Lz/a/d0;->a:Lz/a/r1/n;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
new-instance v0, Lz/a/r1/n;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
const-string v1, "REUSABLE_CLAIMED"
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-direct {v0, v1}, Lz/a/r1/n;-><init>(Ljava/lang/String;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
sput-object v0, Lz/a/d0;->b:Lz/a/r1/n;
|
2020-11-12 02:11:44 +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-11-13 01:15:36 +00:00
|
|
|
instance-of v0, p0, Lz/a/c0;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
check-cast p0, Lz/a/c0;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-static {p1}, Ly/i/s;->c0(Ljava/lang/Object;)Ljava/lang/Object;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iget-object v1, p0, Lz/a/c0;->j:Lz/a/v;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-virtual {p0}, Lz/a/c0;->getContext()Lkotlin/coroutines/CoroutineContext;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-virtual {v1, v2}, Lz/a/v;->isDispatchNeeded(Lkotlin/coroutines/CoroutineContext;)Z
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iput-object v0, p0, Lz/a/c0;->g:Ljava/lang/Object;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iput v2, p0, Lz/a/f0;->f:I
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iget-object p1, p0, Lz/a/c0;->j:Lz/a/v;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-virtual {p0}, Lz/a/c0;->getContext()Lkotlin/coroutines/CoroutineContext;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-virtual {p1, v0, p0}, Lz/a/v;->dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_0
|
2020-11-13 01:15:36 +00:00
|
|
|
sget-object v1, Lz/a/l1;->b:Lz/a/l1;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-static {}, Lz/a/l1;->a()Lz/a/k0;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-virtual {v1}, Lz/a/k0;->A()Z
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iput-object v0, p0, Lz/a/c0;->g:Ljava/lang/Object;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iput v2, p0, Lz/a/f0;->f:I
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-virtual {v1, p0}, Lz/a/k0;->x(Lz/a/f0;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_1
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-virtual {v1, v2}, Lz/a/k0;->y(Z)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
:try_start_0
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-virtual {p0}, Lz/a/c0;->getContext()Lkotlin/coroutines/CoroutineContext;
|
2020-11-12 02:11:44 +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
|
|
|
|
|
|
|
|
invoke-static {v0}, Lf/h/a/f/f/n/f;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-virtual {p0, v0}, Lz/a/c0;->resumeWith(Ljava/lang/Object;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-virtual {p0}, Lz/a/c0;->getContext()Lkotlin/coroutines/CoroutineContext;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iget-object v3, p0, Lz/a/c0;->i:Ljava/lang/Object;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-static {v0, v3}, Lz/a/r1/p;->c(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
|
|
|
|
|
|
|
:try_start_1
|
2020-11-13 01:15:36 +00:00
|
|
|
iget-object v4, p0, Lz/a/c0;->k:Lkotlin/coroutines/Continuation;
|
2020-11-12 02:11: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-11-13 01:15:36 +00:00
|
|
|
invoke-static {v0, v3}, Lz/a/r1/p;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-static {v0, v3}, Lz/a/r1/p;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
:goto_1
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-virtual {v1}, Lz/a/k0;->B()Z
|
2020-11-12 02:11:44 +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-11-13 01:15:36 +00:00
|
|
|
invoke-virtual {p0, p1, v0}, Lz/a/f0;->f(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
:try_end_3
|
|
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_2
|
|
|
|
|
|
|
|
:goto_2
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-virtual {v1, v2}, Lz/a/k0;->s(Z)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:catchall_2
|
|
|
|
move-exception p0
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-virtual {v1, v2}, Lz/a/k0;->s(Z)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
throw p0
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
return-void
|
|
|
|
.end method
|