l.smali
.class public final Lfb/l;
.super Lbb/y0;
.source "SourceFile"
# interfaces
.implements Lkotlin/coroutines/d;
.implements Lna/e;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lbb/y0<",
"TT;>;",
"Lna/e;",
"Lkotlin/coroutines/d<",
"TT;>;"
}
.end annotation
.annotation runtime Lkotlin/Metadata;
.end annotation
# static fields
.field private static final h:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
# instance fields
.field private volatile _reusableCancellableContinuation:Ljava/lang/Object;
.field public final d:Lbb/h0;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field public final e:Lkotlin/coroutines/d;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/coroutines/d<",
"TT;>;"
}
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field public f:Ljava/lang/Object;
.field public final g:Ljava/lang/Object;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.registers 3
const-class v0, Ljava/lang/Object;
const-string v1, "_reusableCancellableContinuation"
const-class v2, Lfb/l;
invoke-static {v2, v0, v1}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->newUpdater(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
move-result-object v0
sput-object v0, Lfb/l;->h:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
return-void
.end method
.method public constructor <init>(Lbb/h0;Lkotlin/coroutines/d;)V
.registers 4
.param p1 # Lbb/h0;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p2 # Lkotlin/coroutines/d;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lbb/h0;",
"Lkotlin/coroutines/d<",
"-TT;>;)V"
}
.end annotation
const/4 v0, -0x1
invoke-direct {p0, v0}, Lbb/y0;-><init>(I)V
iput-object p1, p0, Lfb/l;->d:Lbb/h0;
iput-object p2, p0, Lfb/l;->e:Lkotlin/coroutines/d;
invoke-static {}, Lfb/m;->a()Lfb/k0;
move-result-object p1
iput-object p1, p0, Lfb/l;->f:Ljava/lang/Object;
invoke-virtual {p0}, Lfb/l;->a()Lkotlin/coroutines/CoroutineContext;
move-result-object p1
invoke-static {p1}, Lfb/o0;->b(Lkotlin/coroutines/CoroutineContext;)Ljava/lang/Object;
move-result-object p1
iput-object p1, p0, Lfb/l;->g:Ljava/lang/Object;
return-void
.end method
.method private final n()Lbb/m;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lbb/m<",
"*>;"
}
.end annotation
sget-object v0, Lfb/l;->h:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-virtual {v0, p0}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
instance-of v1, v0, Lbb/m;
if-eqz v1, :cond_d
check-cast v0, Lbb/m;
goto :goto_e
:cond_d
const/4 v0, 0x0
:goto_e
return-object v0
.end method
# virtual methods
.method public a()Lkotlin/coroutines/CoroutineContext;
.registers 2
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
iget-object v0, p0, Lfb/l;->e:Lkotlin/coroutines/d;
invoke-interface {v0}, Lkotlin/coroutines/d;->a()Lkotlin/coroutines/CoroutineContext;
move-result-object v0
return-object v0
.end method
.method public b(Ljava/lang/Object;Ljava/lang/Throwable;)V
.registers 4
.param p2 # Ljava/lang/Throwable;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
instance-of v0, p1, Lbb/a0;
if-eqz v0, :cond_b
check-cast p1, Lbb/a0;
iget-object p1, p1, Lbb/a0;->b:Lkotlin/jvm/functions/Function1;
invoke-interface {p1, p2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:cond_b
return-void
.end method
.method public d()Lkotlin/coroutines/d;
.registers 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lkotlin/coroutines/d<",
"TT;>;"
}
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
return-object p0
.end method
.method public e()Lna/e;
.registers 3
iget-object v0, p0, Lfb/l;->e:Lkotlin/coroutines/d;
instance-of v1, v0, Lna/e;
if-eqz v1, :cond_9
check-cast v0, Lna/e;
goto :goto_a
:cond_9
const/4 v0, 0x0
:goto_a
return-object v0
.end method
.method public i()Ljava/lang/Object;
.registers 3
iget-object v0, p0, Lfb/l;->f:Ljava/lang/Object;
invoke-static {}, Lbb/q0;->a()Z
move-result v1
if-eqz v1, :cond_1a
invoke-static {}, Lfb/m;->a()Lfb/k0;
move-result-object v1
if-eq v0, v1, :cond_10
const/4 v1, 0x1
goto :goto_11
:cond_10
const/4 v1, 0x0
:goto_11
if-eqz v1, :cond_14
goto :goto_1a
:cond_14
new-instance v0, Ljava/lang/AssertionError;
invoke-direct {v0}, Ljava/lang/AssertionError;-><init>()V
throw v0
:cond_1a
:goto_1a
invoke-static {}, Lfb/m;->a()Lfb/k0;
move-result-object v1
iput-object v1, p0, Lfb/l;->f:Ljava/lang/Object;
return-object v0
.end method
.method public j(Ljava/lang/Object;)V
.registers 8
.param p1 # Ljava/lang/Object;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
iget-object v0, p0, Lfb/l;->e:Lkotlin/coroutines/d;
invoke-interface {v0}, Lkotlin/coroutines/d;->a()Lkotlin/coroutines/CoroutineContext;
move-result-object v0
const/4 v1, 0x0
const/4 v2, 0x1
invoke-static {p1, v1, v2, v1}, Lbb/d0;->d(Ljava/lang/Object;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ljava/lang/Object;
move-result-object v3
iget-object v4, p0, Lfb/l;->d:Lbb/h0;
invoke-virtual {v4, v0}, Lbb/h0;->j(Lkotlin/coroutines/CoroutineContext;)Z
move-result v4
const/4 v5, 0x0
if-eqz v4, :cond_1f
iput-object v3, p0, Lfb/l;->f:Ljava/lang/Object;
iput v5, p0, Lbb/y0;->c:I
iget-object p1, p0, Lfb/l;->d:Lbb/h0;
invoke-virtual {p1, v0, p0}, Lbb/h0;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
goto :goto_61
:cond_1f
invoke-static {}, Lbb/q0;->a()Z
move-result v0
sget-object v0, Lbb/q2;->a:Lbb/q2;
invoke-virtual {v0}, Lbb/q2;->b()Lbb/f1;
move-result-object v0
invoke-virtual {v0}, Lbb/f1;->W()Z
move-result v4
if-eqz v4, :cond_37
iput-object v3, p0, Lfb/l;->f:Ljava/lang/Object;
iput v5, p0, Lbb/y0;->c:I
invoke-virtual {v0, p0}, Lbb/f1;->P(Lbb/y0;)V
goto :goto_61
:cond_37
invoke-virtual {v0, v2}, Lbb/f1;->S(Z)V
:try_start_3a
invoke-virtual {p0}, Lfb/l;->a()Lkotlin/coroutines/CoroutineContext;
move-result-object v3
iget-object v4, p0, Lfb/l;->g:Ljava/lang/Object;
invoke-static {v3, v4}, Lfb/o0;->c(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v4
:try_end_44
.catchall {:try_start_3a .. :try_end_44} :catchall_5a
:try_start_44
iget-object v5, p0, Lfb/l;->e:Lkotlin/coroutines/d;
invoke-interface {v5, p1}, Lkotlin/coroutines/d;->j(Ljava/lang/Object;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
:try_end_4b
.catchall {:try_start_44 .. :try_end_4b} :catchall_55
:try_start_4b
invoke-static {v3, v4}, Lfb/o0;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
:cond_4e
invoke-virtual {v0}, Lbb/f1;->b0()Z
move-result p1
if-nez p1, :cond_4e
goto :goto_5e
:catchall_55
move-exception p1
invoke-static {v3, v4}, Lfb/o0;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
throw p1
:try_end_5a
.catchall {:try_start_4b .. :try_end_5a} :catchall_5a
:catchall_5a
move-exception p1
:try_start_5b
invoke-virtual {p0, p1, v1}, Lbb/y0;->h(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
:try_end_5e
.catchall {:try_start_5b .. :try_end_5e} :catchall_62
:goto_5e
invoke-virtual {v0, v2}, Lbb/f1;->L(Z)V
:goto_61
return-void
:catchall_62
move-exception p1
invoke-virtual {v0, v2}, Lbb/f1;->L(Z)V
goto :goto_68
:goto_67
throw p1
:goto_68
goto :goto_67
.end method
.method public final l()V
.registers 4
sget-object v0, Lfb/l;->h:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
:cond_2
invoke-virtual {v0, p0}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
sget-object v2, Lfb/m;->b:Lfb/k0;
if-eq v1, v2, :cond_2
return-void
.end method
.method public final m()Lbb/m;
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lbb/m<",
"TT;>;"
}
.end annotation
sget-object v0, Lfb/l;->h:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
:cond_2
:goto_2
invoke-virtual {v0, p0}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
if-nez v1, :cond_11
sget-object v0, Lfb/l;->h:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
sget-object v1, Lfb/m;->b:Lfb/k0;
invoke-virtual {v0, p0, v1}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->set(Ljava/lang/Object;Ljava/lang/Object;)V
const/4 v0, 0x0
return-object v0
:cond_11
instance-of v2, v1, Lbb/m;
if-eqz v2, :cond_22
sget-object v2, Lfb/l;->h:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
sget-object v3, Lfb/m;->b:Lfb/k0;
invoke-static {v2, p0, v1, v3}, Landroidx/concurrent/futures/b;->a(Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_2
check-cast v1, Lbb/m;
return-object v1
:cond_22
sget-object v2, Lfb/m;->b:Lfb/k0;
if-eq v1, v2, :cond_2
instance-of v2, v1, Ljava/lang/Throwable;
if-eqz v2, :cond_2b
goto :goto_2
:cond_2b
new-instance v0, Ljava/lang/IllegalStateException;
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "Inconsistent state "
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
goto :goto_47
:goto_46
throw v0
:goto_47
goto :goto_46
.end method
.method public final o()Z
.registers 2
sget-object v0, Lfb/l;->h:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-virtual {v0, p0}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
if-eqz v0, :cond_a
const/4 v0, 0x1
goto :goto_b
:cond_a
const/4 v0, 0x0
:goto_b
return v0
.end method
.method public final p(Ljava/lang/Throwable;)Z
.registers 7
.param p1 # Ljava/lang/Throwable;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
sget-object v0, Lfb/l;->h:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
:cond_2
invoke-virtual {v0, p0}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
sget-object v2, Lfb/m;->b:Lfb/k0;
invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v3
const/4 v4, 0x1
if-eqz v3, :cond_18
sget-object v1, Lfb/l;->h:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-static {v1, p0, v2, p1}, Landroidx/concurrent/futures/b;->a(Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_2
return v4
:cond_18
instance-of v2, v1, Ljava/lang/Throwable;
if-eqz v2, :cond_1d
return v4
:cond_1d
sget-object v2, Lfb/l;->h:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
const/4 v3, 0x0
invoke-static {v2, p0, v1, v3}, Landroidx/concurrent/futures/b;->a(Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_2
const/4 p1, 0x0
return p1
.end method
.method public q()Ljava/lang/StackTraceElement;
.registers 2
const/4 v0, 0x0
return-object v0
.end method
.method public final s()V
.registers 2
invoke-virtual {p0}, Lfb/l;->l()V
invoke-direct {p0}, Lfb/l;->n()Lbb/m;
move-result-object v0
if-eqz v0, :cond_c
invoke-virtual {v0}, Lbb/m;->s()V
:cond_c
return-void
.end method
.method public final t(Lbb/l;)Ljava/lang/Throwable;
.registers 6
.param p1 # Lbb/l;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lbb/l<",
"*>;)",
"Ljava/lang/Throwable;"
}
.end annotation
sget-object v0, Lfb/l;->h:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
:cond_2
invoke-virtual {v0, p0}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
sget-object v2, Lfb/m;->b:Lfb/k0;
const/4 v3, 0x0
if-ne v1, v2, :cond_14
sget-object v1, Lfb/l;->h:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-static {v1, p0, v2, p1}, Landroidx/concurrent/futures/b;->a(Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_2
return-object v3
:cond_14
instance-of p1, v1, Ljava/lang/Throwable;
if-eqz p1, :cond_2f
sget-object p1, Lfb/l;->h:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-static {p1, p0, v1, v3}, Landroidx/concurrent/futures/b;->a(Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_23
check-cast v1, Ljava/lang/Throwable;
return-object v1
:cond_23
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string v0, "Failed requirement."
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
:cond_2f
new-instance p1, Ljava/lang/IllegalStateException;
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "Inconsistent state "
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
goto :goto_4b
:goto_4a
throw p1
:goto_4b
goto :goto_4a
.end method
.method public toString()Ljava/lang/String;
.registers 3
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "DispatchedContinuation["
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lfb/l;->d:Lbb/h0;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lfb/l;->e:Lkotlin/coroutines/d;
invoke-static {v1}, Lbb/r0;->c(Lkotlin/coroutines/d;)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 v1, 0x5d
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method