apkfuckery/com.discord/smali_classes2/z/a/h1.smali

3302 lines
65 KiB
Smali
Raw Normal View History

2020-05-07 23:11:04 +00:00
.class public Lz/a/h1;
2019-12-06 03:29:40 +00:00
.super Ljava/lang/Object;
.source "JobSupport.kt"
# interfaces
.implements Lkotlinx/coroutines/Job;
2020-05-07 23:11:04 +00:00
.implements Lz/a/n;
.implements Lz/a/o1;
.implements Lz/a/c2/a;
2019-12-06 03:29:40 +00:00
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2020-05-07 23:11:04 +00:00
Lz/a/h1$b;,
Lz/a/h1$a;
2019-12-06 03:29:40 +00:00
}
.end annotation
# static fields
.field public static final d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
# instance fields
.field public volatile _state:Ljava/lang/Object;
2020-05-07 23:11:04 +00:00
.field public volatile parentHandle:Lz/a/l;
2019-12-06 03:29:40 +00:00
# direct methods
.method public static constructor <clinit>()V
.locals 3
2020-05-07 23:11:04 +00:00
const-class v0, Lz/a/h1;
2019-12-06 03:29:40 +00:00
const-class v1, Ljava/lang/Object;
const-string v2, "_state"
invoke-static {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->newUpdater(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
move-result-object v0
2020-05-07 23:11:04 +00:00
sput-object v0, Lz/a/h1;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2019-12-06 03:29:40 +00:00
return-void
.end method
.method public constructor <init>(Z)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
if-eqz p1, :cond_0
2020-05-07 23:11:04 +00:00
sget-object p1, Lz/a/i1;->c:Lz/a/q0;
2019-12-06 03:29:40 +00:00
goto :goto_0
:cond_0
2020-05-07 23:11:04 +00:00
sget-object p1, Lz/a/i1;->b:Lz/a/q0;
2019-12-06 03:29:40 +00:00
:goto_0
2020-05-07 23:11:04 +00:00
iput-object p1, p0, Lz/a/h1;->_state:Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
return-void
.end method
2020-05-07 23:11:04 +00:00
.method public static final synthetic a(Lz/a/h1;Lz/a/h1$b;Lz/a/m;Ljava/lang/Object;)V
2019-12-06 03:29:40 +00:00
.locals 2
2020-05-07 23:11:04 +00:00
invoke-virtual {p0}, Lz/a/h1;->g()Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object v0
const/4 v1, 0x0
if-ne v0, p1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_2
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, p2}, Lz/a/h1;->a(Lz/a/a2/n;)Lz/a/m;
2019-12-06 03:29:40 +00:00
move-result-object p2
if-eqz p2, :cond_1
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, p1, p2, p3}, Lz/a/h1;->a(Lz/a/h1$b;Lz/a/m;Ljava/lang/Object;)Z
2019-12-06 03:29:40 +00:00
move-result p2
if-eqz p2, :cond_1
goto :goto_1
:cond_1
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, p1, p3, v1}, Lz/a/h1;->a(Lz/a/h1$b;Ljava/lang/Object;I)Z
2019-12-06 03:29:40 +00:00
:goto_1
return-void
:cond_2
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string p1, "Failed requirement."
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method
# virtual methods
.method public final a(Ljava/lang/Object;Ljava/lang/Object;I)I
.locals 8
2020-05-07 23:11:04 +00:00
instance-of v0, p1, Lz/a/y0;
2019-12-06 03:29:40 +00:00
const/4 v1, 0x0
if-nez v0, :cond_0
return v1
:cond_0
2020-05-07 23:11:04 +00:00
instance-of v0, p1, Lz/a/q0;
2019-12-06 03:29:40 +00:00
const/4 v2, 0x3
const/4 v3, 0x1
if-nez v0, :cond_1
2020-05-07 23:11:04 +00:00
instance-of v0, p1, Lz/a/g1;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_8
:cond_1
2020-05-07 23:11:04 +00:00
instance-of v0, p1, Lz/a/m;
2019-12-06 03:29:40 +00:00
if-nez v0, :cond_8
2020-05-07 23:11:04 +00:00
instance-of v0, p2, Lz/a/q;
2019-12-06 03:29:40 +00:00
if-nez v0, :cond_8
2020-05-07 23:11:04 +00:00
check-cast p1, Lz/a/y0;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
instance-of v4, p1, Lz/a/q0;
2019-12-06 03:29:40 +00:00
if-nez v4, :cond_3
2020-05-07 23:11:04 +00:00
instance-of v4, p1, Lz/a/g1;
2019-12-06 03:29:40 +00:00
if-eqz v4, :cond_2
goto :goto_0
:cond_2
const/4 v4, 0x0
goto :goto_1
:cond_3
:goto_0
const/4 v4, 0x1
:goto_1
const-string v5, "Check failed."
if-eqz v4, :cond_7
xor-int/2addr v0, v3
if-eqz v0, :cond_6
2020-05-07 23:11:04 +00:00
sget-object v0, Lz/a/h1;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-static {p2}, Lz/a/i1;->a(Ljava/lang/Object;)Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object v4
invoke-virtual {v0, p0, p1, v4}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_4
goto :goto_2
:cond_4
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, p2}, Lz/a/h1;->d(Ljava/lang/Object;)V
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, p1, p2, p3}, Lz/a/h1;->a(Lz/a/y0;Ljava/lang/Object;I)V
2019-12-06 03:29:40 +00:00
const/4 v1, 0x1
:goto_2
if-nez v1, :cond_5
return v2
:cond_5
return v3
:cond_6
new-instance p1, Ljava/lang/IllegalStateException;
invoke-virtual {v5}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:cond_7
new-instance p1, Ljava/lang/IllegalStateException;
invoke-virtual {v5}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:cond_8
move-object v0, p1
2020-05-07 23:11:04 +00:00
check-cast v0, Lz/a/y0;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, v0}, Lz/a/h1;->a(Lz/a/y0;)Lz/a/l1;
2019-12-06 03:29:40 +00:00
move-result-object v4
if-eqz v4, :cond_16
2020-05-07 23:11:04 +00:00
instance-of v5, p1, Lz/a/h1$b;
2019-12-06 03:29:40 +00:00
const/4 v6, 0x0
if-nez v5, :cond_9
move-object v5, v6
goto :goto_3
:cond_9
move-object v5, p1
:goto_3
2020-05-07 23:11:04 +00:00
check-cast v5, Lz/a/h1$b;
2019-12-06 03:29:40 +00:00
if-eqz v5, :cond_a
goto :goto_4
:cond_a
2020-05-07 23:11:04 +00:00
new-instance v5, Lz/a/h1$b;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-direct {v5, v4, v1, v6}, Lz/a/h1$b;-><init>(Lz/a/l1;ZLjava/lang/Throwable;)V
2019-12-06 03:29:40 +00:00
:goto_4
monitor-enter v5
:try_start_0
2020-05-07 23:11:04 +00:00
iget-boolean v7, v5, Lz/a/h1$b;->isCompleting:Z
2019-12-06 03:29:40 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-eqz v7, :cond_b
monitor-exit v5
return v1
:cond_b
:try_start_1
2020-05-07 23:11:04 +00:00
iput-boolean v3, v5, Lz/a/h1$b;->isCompleting:Z
2019-12-06 03:29:40 +00:00
if-eq v5, p1, :cond_c
2020-05-07 23:11:04 +00:00
sget-object v1, Lz/a/h1;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2019-12-06 03:29:40 +00:00
invoke-virtual {v1, p0, p1, v5}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
if-nez p1, :cond_c
monitor-exit v5
return v2
:cond_c
:try_start_2
2020-05-07 23:11:04 +00:00
invoke-virtual {v5}, Lz/a/h1$b;->d()Z
2019-12-06 03:29:40 +00:00
move-result p1
xor-int/2addr p1, v3
if-eqz p1, :cond_15
2020-05-07 23:11:04 +00:00
invoke-virtual {v5}, Lz/a/h1$b;->c()Z
2019-12-06 03:29:40 +00:00
move-result p1
2020-05-07 23:11:04 +00:00
instance-of v1, p2, Lz/a/q;
2019-12-06 03:29:40 +00:00
if-nez v1, :cond_d
move-object v1, v6
goto :goto_5
:cond_d
move-object v1, p2
:goto_5
2020-05-07 23:11:04 +00:00
check-cast v1, Lz/a/q;
2019-12-06 03:29:40 +00:00
if-eqz v1, :cond_e
2020-05-07 23:11:04 +00:00
iget-object v1, v1, Lz/a/q;->a:Ljava/lang/Throwable;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {v5, v1}, Lz/a/h1$b;->a(Ljava/lang/Throwable;)V
2019-12-06 03:29:40 +00:00
:cond_e
2020-05-07 23:11:04 +00:00
iget-object v1, v5, Lz/a/h1$b;->rootCause:Ljava/lang/Throwable;
2019-12-06 03:29:40 +00:00
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
xor-int/2addr p1, v3
if-eqz p1, :cond_f
goto :goto_6
:cond_f
move-object v1, v6
:goto_6
monitor-exit v5
if-eqz v1, :cond_10
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, v4, v1}, Lz/a/h1;->a(Lz/a/l1;Ljava/lang/Throwable;)V
2019-12-06 03:29:40 +00:00
:cond_10
2020-05-07 23:11:04 +00:00
instance-of p1, v0, Lz/a/m;
2019-12-06 03:29:40 +00:00
if-nez p1, :cond_11
move-object p1, v6
goto :goto_7
:cond_11
move-object p1, v0
:goto_7
2020-05-07 23:11:04 +00:00
check-cast p1, Lz/a/m;
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_12
move-object v6, p1
goto :goto_8
:cond_12
2020-05-07 23:11:04 +00:00
invoke-interface {v0}, Lz/a/y0;->getList()Lz/a/l1;
2019-12-06 03:29:40 +00:00
move-result-object p1
if-eqz p1, :cond_13
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, p1}, Lz/a/h1;->a(Lz/a/a2/n;)Lz/a/m;
2019-12-06 03:29:40 +00:00
move-result-object v6
:cond_13
:goto_8
if-eqz v6, :cond_14
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, v5, v6, p2}, Lz/a/h1;->a(Lz/a/h1$b;Lz/a/m;Ljava/lang/Object;)Z
2019-12-06 03:29:40 +00:00
move-result p1
if-eqz p1, :cond_14
const/4 p1, 0x2
return p1
:cond_14
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, v5, p2, p3}, Lz/a/h1;->a(Lz/a/h1$b;Ljava/lang/Object;I)Z
2019-12-06 03:29:40 +00:00
return v3
:cond_15
:try_start_3
const-string p1, "Failed requirement."
new-instance p2, Ljava/lang/IllegalArgumentException;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p2
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_0
:catchall_0
move-exception p1
monitor-exit v5
throw p1
:cond_16
return v2
.end method
2020-04-17 19:35:49 +00:00
.method public final a(Ljava/lang/Throwable;Ljava/lang/String;)Ljava/util/concurrent/CancellationException;
.locals 2
const/4 v0, 0x0
if-eqz p1, :cond_3
instance-of v1, p1, Ljava/util/concurrent/CancellationException;
if-nez v1, :cond_0
goto :goto_0
:cond_0
move-object v0, p1
:goto_0
check-cast v0, Ljava/util/concurrent/CancellationException;
if-eqz v0, :cond_1
goto :goto_2
:cond_1
2020-05-07 23:11:04 +00:00
new-instance v0, Lz/a/d1;
2020-04-17 19:35:49 +00:00
if-eqz p2, :cond_2
goto :goto_1
:cond_2
new-instance p2, Ljava/lang/StringBuilder;
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
2020-05-07 23:11:04 +00:00
invoke-static {p1}, Lz/a/e0;->a(Ljava/lang/Object;)Ljava/lang/String;
2020-04-17 19:35:49 +00:00
move-result-object v1
invoke-virtual {p2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, " was cancelled"
invoke-virtual {p2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p2
:goto_1
2020-05-07 23:11:04 +00:00
invoke-direct {v0, p2, p1, p0}, Lz/a/d1;-><init>(Ljava/lang/String;Ljava/lang/Throwable;Lkotlinx/coroutines/Job;)V
2020-04-17 19:35:49 +00:00
:goto_2
return-object v0
:cond_3
const-string p1, "$this$toCancellationException"
2020-05-07 23:11:04 +00:00
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
2020-04-17 19:35:49 +00:00
throw v0
.end method
2020-05-07 23:11:04 +00:00
.method public final a(Lkotlin/jvm/functions/Function1;Z)Lz/a/g1;
2019-12-06 03:29:40 +00:00
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Throwable;",
"Lkotlin/Unit;",
">;Z)",
2020-05-07 23:11:04 +00:00
"Lz/a/g1<",
2019-12-06 03:29:40 +00:00
"*>;"
}
.end annotation
const-string v0, "Failed requirement."
const/4 v1, 0x1
const/4 v2, 0x0
const/4 v3, 0x0
if-eqz p2, :cond_4
2020-05-07 23:11:04 +00:00
instance-of p2, p1, Lz/a/e1;
2019-12-06 03:29:40 +00:00
if-nez p2, :cond_0
goto :goto_0
:cond_0
move-object v3, p1
:goto_0
2020-05-07 23:11:04 +00:00
check-cast v3, Lz/a/e1;
2019-12-06 03:29:40 +00:00
if-eqz v3, :cond_3
2020-05-07 23:11:04 +00:00
iget-object p1, v3, Lz/a/g1;->g:Lkotlinx/coroutines/Job;
2019-12-06 03:29:40 +00:00
if-ne p1, p0, :cond_1
goto :goto_1
:cond_1
const/4 v1, 0x0
:goto_1
if-eqz v1, :cond_2
goto :goto_4
:cond_2
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
:cond_3
2020-05-07 23:11:04 +00:00
new-instance v3, Lz/a/b1;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-direct {v3, p0, p1}, Lz/a/b1;-><init>(Lkotlinx/coroutines/Job;Lkotlin/jvm/functions/Function1;)V
2019-12-06 03:29:40 +00:00
goto :goto_4
:cond_4
2020-05-07 23:11:04 +00:00
instance-of p2, p1, Lz/a/g1;
2019-12-06 03:29:40 +00:00
if-nez p2, :cond_5
goto :goto_2
:cond_5
move-object v3, p1
:goto_2
2020-05-07 23:11:04 +00:00
check-cast v3, Lz/a/g1;
2019-12-06 03:29:40 +00:00
if-eqz v3, :cond_8
2020-05-07 23:11:04 +00:00
iget-object p1, v3, Lz/a/g1;->g:Lkotlinx/coroutines/Job;
2019-12-06 03:29:40 +00:00
if-ne p1, p0, :cond_6
2020-05-07 23:11:04 +00:00
instance-of p1, v3, Lz/a/e1;
2019-12-06 03:29:40 +00:00
if-nez p1, :cond_6
goto :goto_3
:cond_6
const/4 v1, 0x0
:goto_3
if-eqz v1, :cond_7
goto :goto_4
:cond_7
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
:cond_8
2020-05-07 23:11:04 +00:00
new-instance v3, Lz/a/c1;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-direct {v3, p0, p1}, Lz/a/c1;-><init>(Lkotlinx/coroutines/Job;Lkotlin/jvm/functions/Function1;)V
2019-12-06 03:29:40 +00:00
:goto_4
return-object v3
.end method
2020-05-07 23:11:04 +00:00
.method public final a(Lz/a/y0;)Lz/a/l1;
2019-12-06 03:29:40 +00:00
.locals 2
2020-05-07 23:11:04 +00:00
invoke-interface {p1}, Lz/a/y0;->getList()Lz/a/l1;
2019-12-06 03:29:40 +00:00
move-result-object v0
if-eqz v0, :cond_0
goto :goto_0
:cond_0
2020-05-07 23:11:04 +00:00
instance-of v0, p1, Lz/a/q0;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_1
2020-05-07 23:11:04 +00:00
new-instance v0, Lz/a/l1;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-direct {v0}, Lz/a/l1;-><init>()V
2019-12-06 03:29:40 +00:00
goto :goto_0
:cond_1
2020-05-07 23:11:04 +00:00
instance-of v0, p1, Lz/a/g1;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_2
2020-05-07 23:11:04 +00:00
check-cast p1, Lz/a/g1;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
new-instance v0, Lz/a/l1;
2020-03-14 04:13:36 +00:00
2020-05-07 23:11:04 +00:00
invoke-direct {v0}, Lz/a/l1;-><init>()V
2020-03-14 04:13:36 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p1, v0}, Lz/a/a2/n;->a(Lz/a/a2/n;)Z
2020-03-14 04:13:36 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p1}, Lz/a/a2/n;->c()Lz/a/a2/n;
2020-03-14 04:13:36 +00:00
move-result-object v0
2020-05-07 23:11:04 +00:00
sget-object v1, Lz/a/h1;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2020-03-14 04:13:36 +00:00
invoke-virtual {v1, p0, p1, v0}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
:goto_0
return-object v0
:cond_2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "State should have list: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
new-instance v0, Ljava/lang/IllegalStateException;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
2020-05-07 23:11:04 +00:00
.method public final a(Lz/a/n;)Lz/a/l;
2019-12-06 03:29:40 +00:00
.locals 6
if-eqz p1, :cond_1
const/4 v1, 0x1
const/4 v2, 0x0
2020-05-07 23:11:04 +00:00
new-instance v3, Lz/a/m;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-direct {v3, p0, p1}, Lz/a/m;-><init>(Lz/a/h1;Lz/a/n;)V
2019-12-06 03:29:40 +00:00
const/4 v4, 0x2
const/4 v5, 0x0
move-object v0, p0
2020-05-07 23:11:04 +00:00
invoke-static/range {v0 .. v5}, Lf/o/a/j/a;->a(Lkotlinx/coroutines/Job;ZZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lz/a/o0;
2019-12-06 03:29:40 +00:00
move-result-object p1
if-eqz p1, :cond_0
2020-05-07 23:11:04 +00:00
check-cast p1, Lz/a/l;
2019-12-06 03:29:40 +00:00
return-object p1
:cond_0
2020-05-07 23:11:04 +00:00
new-instance p1, Ly/l;
2019-12-06 03:29:40 +00:00
const-string v0, "null cannot be cast to non-null type kotlinx.coroutines.ChildHandle"
2020-05-07 23:11:04 +00:00
invoke-direct {p1, v0}, Ly/l;-><init>(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw p1
:cond_1
const-string p1, "child"
2020-05-07 23:11:04 +00:00
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
.end method
2020-05-07 23:11:04 +00:00
.method public final a(Lz/a/a2/n;)Lz/a/m;
2019-12-06 03:29:40 +00:00
.locals 1
:goto_0
2020-05-07 23:11:04 +00:00
invoke-virtual {p1}, Lz/a/a2/n;->b()Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object v0
2020-05-07 23:11:04 +00:00
instance-of v0, v0, Lz/a/a2/t;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_0
2020-05-07 23:11:04 +00:00
invoke-virtual {p1}, Lz/a/a2/n;->d()Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object p1
2020-05-07 23:11:04 +00:00
invoke-static {p1}, Lz/a/a2/m;->a(Ljava/lang/Object;)Lz/a/a2/n;
2019-12-06 03:29:40 +00:00
move-result-object p1
goto :goto_0
:cond_0
:goto_1
2020-05-07 23:11:04 +00:00
invoke-virtual {p1}, Lz/a/a2/n;->c()Lz/a/a2/n;
2019-12-06 03:29:40 +00:00
move-result-object p1
2020-05-07 23:11:04 +00:00
invoke-virtual {p1}, Lz/a/a2/n;->b()Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object v0
2020-05-07 23:11:04 +00:00
instance-of v0, v0, Lz/a/a2/t;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_1
goto :goto_1
:cond_1
2020-05-07 23:11:04 +00:00
instance-of v0, p1, Lz/a/m;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_2
2020-05-07 23:11:04 +00:00
check-cast p1, Lz/a/m;
2019-12-06 03:29:40 +00:00
return-object p1
:cond_2
2020-05-07 23:11:04 +00:00
instance-of v0, p1, Lz/a/l1;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_0
const/4 p1, 0x0
return-object p1
.end method
2020-05-07 23:11:04 +00:00
.method public final a(Lkotlin/jvm/functions/Function1;)Lz/a/o0;
2019-12-06 03:29:40 +00:00
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Throwable;",
"Lkotlin/Unit;",
">;)",
2020-05-07 23:11:04 +00:00
"Lz/a/o0;"
2019-12-06 03:29:40 +00:00
}
.end annotation
if-eqz p1, :cond_0
const/4 v0, 0x0
const/4 v1, 0x1
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, v0, v1, p1}, Lz/a/h1;->a(ZZLkotlin/jvm/functions/Function1;)Lz/a/o0;
2019-12-06 03:29:40 +00:00
move-result-object p1
return-object p1
:cond_0
const-string p1, "handler"
2020-05-07 23:11:04 +00:00
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
.end method
2020-05-07 23:11:04 +00:00
.method public final a(ZZLkotlin/jvm/functions/Function1;)Lz/a/o0;
2019-12-06 03:29:40 +00:00
.locals 7
.annotation system Ldalvik/annotation/Signature;
value = {
"(ZZ",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Throwable;",
"Lkotlin/Unit;",
">;)",
2020-05-07 23:11:04 +00:00
"Lz/a/o0;"
2019-12-06 03:29:40 +00:00
}
.end annotation
const/4 v0, 0x0
if-eqz p3, :cond_14
move-object v1, v0
:cond_0
:goto_0
2020-05-07 23:11:04 +00:00
invoke-virtual {p0}, Lz/a/h1;->g()Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object v2
2020-05-07 23:11:04 +00:00
instance-of v3, v2, Lz/a/q0;
2019-12-06 03:29:40 +00:00
if-eqz v3, :cond_4
move-object v3, v2
2020-05-07 23:11:04 +00:00
check-cast v3, Lz/a/q0;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
iget-boolean v4, v3, Lz/a/q0;->d:Z
2019-12-06 03:29:40 +00:00
if-eqz v4, :cond_2
if-eqz v1, :cond_1
goto :goto_1
:cond_1
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, p3, p1}, Lz/a/h1;->a(Lkotlin/jvm/functions/Function1;Z)Lz/a/g1;
2019-12-06 03:29:40 +00:00
move-result-object v1
:goto_1
2020-05-07 23:11:04 +00:00
sget-object v3, Lz/a/h1;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2019-12-06 03:29:40 +00:00
invoke-virtual {v3, p0, v2, v1}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_0
return-object v1
:cond_2
2020-05-07 23:11:04 +00:00
new-instance v2, Lz/a/l1;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-direct {v2}, Lz/a/l1;-><init>()V
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
iget-boolean v4, v3, Lz/a/q0;->d:Z
2019-12-06 03:29:40 +00:00
if-eqz v4, :cond_3
goto :goto_2
:cond_3
2020-05-07 23:11:04 +00:00
new-instance v4, Lz/a/x0;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-direct {v4, v2}, Lz/a/x0;-><init>(Lz/a/l1;)V
2019-12-06 03:29:40 +00:00
move-object v2, v4
:goto_2
2020-05-07 23:11:04 +00:00
sget-object v4, Lz/a/h1;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2019-12-06 03:29:40 +00:00
invoke-virtual {v4, p0, v3, v2}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
goto :goto_0
:cond_4
2020-05-07 23:11:04 +00:00
instance-of v3, v2, Lz/a/y0;
2019-12-06 03:29:40 +00:00
if-eqz v3, :cond_10
move-object v3, v2
2020-05-07 23:11:04 +00:00
check-cast v3, Lz/a/y0;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-interface {v3}, Lz/a/y0;->getList()Lz/a/l1;
2019-12-06 03:29:40 +00:00
move-result-object v3
if-nez v3, :cond_6
if-eqz v2, :cond_5
2020-05-07 23:11:04 +00:00
check-cast v2, Lz/a/g1;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
new-instance v3, Lz/a/l1;
2020-03-14 04:13:36 +00:00
2020-05-07 23:11:04 +00:00
invoke-direct {v3}, Lz/a/l1;-><init>()V
2020-03-14 04:13:36 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {v2, v3}, Lz/a/a2/n;->a(Lz/a/a2/n;)Z
2020-03-14 04:13:36 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {v2}, Lz/a/a2/n;->c()Lz/a/a2/n;
2020-03-14 04:13:36 +00:00
move-result-object v3
2020-05-07 23:11:04 +00:00
sget-object v4, Lz/a/h1;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2020-03-14 04:13:36 +00:00
invoke-virtual {v4, p0, v2, v3}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
2019-12-06 03:29:40 +00:00
goto :goto_0
:cond_5
2020-05-07 23:11:04 +00:00
new-instance p1, Ly/l;
2019-12-06 03:29:40 +00:00
const-string p2, "null cannot be cast to non-null type kotlinx.coroutines.JobNode<*>"
2020-05-07 23:11:04 +00:00
invoke-direct {p1, p2}, Ly/l;-><init>(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw p1
:cond_6
2020-05-07 23:11:04 +00:00
sget-object v4, Lz/a/m1;->d:Lz/a/m1;
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_c
2020-05-07 23:11:04 +00:00
instance-of v5, v2, Lz/a/h1$b;
2019-12-06 03:29:40 +00:00
if-eqz v5, :cond_c
monitor-enter v2
:try_start_0
move-object v5, v2
2020-05-07 23:11:04 +00:00
check-cast v5, Lz/a/h1$b;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
iget-object v5, v5, Lz/a/h1$b;->rootCause:Ljava/lang/Throwable;
2019-12-06 03:29:40 +00:00
if-eqz v5, :cond_7
2020-05-07 23:11:04 +00:00
instance-of v6, p3, Lz/a/m;
2019-12-06 03:29:40 +00:00
if-eqz v6, :cond_b
move-object v6, v2
2020-05-07 23:11:04 +00:00
check-cast v6, Lz/a/h1$b;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
iget-boolean v6, v6, Lz/a/h1$b;->isCompleting:Z
2019-12-06 03:29:40 +00:00
if-nez v6, :cond_b
:cond_7
if-eqz v1, :cond_8
goto :goto_3
:cond_8
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, p3, p1}, Lz/a/h1;->a(Lkotlin/jvm/functions/Function1;Z)Lz/a/g1;
2019-12-06 03:29:40 +00:00
move-result-object v1
:goto_3
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, v2, v3, v1}, Lz/a/h1;->a(Ljava/lang/Object;Lz/a/l1;Lz/a/g1;)Z
2019-12-06 03:29:40 +00:00
move-result v4
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-nez v4, :cond_9
monitor-exit v2
2020-03-14 04:13:36 +00:00
goto/16 :goto_0
2019-12-06 03:29:40 +00:00
:cond_9
if-nez v5, :cond_a
monitor-exit v2
return-object v1
:cond_a
move-object v4, v1
:cond_b
monitor-exit v2
goto :goto_4
:catchall_0
move-exception p1
monitor-exit v2
throw p1
:cond_c
move-object v5, v0
:goto_4
if-eqz v5, :cond_e
if-eqz p2, :cond_d
invoke-interface {p3, v5}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:cond_d
return-object v4
:cond_e
if-eqz v1, :cond_f
goto :goto_5
:cond_f
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, p3, p1}, Lz/a/h1;->a(Lkotlin/jvm/functions/Function1;Z)Lz/a/g1;
2019-12-06 03:29:40 +00:00
move-result-object v1
:goto_5
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, v2, v3, v1}, Lz/a/h1;->a(Ljava/lang/Object;Lz/a/l1;Lz/a/g1;)Z
2019-12-06 03:29:40 +00:00
move-result v2
if-eqz v2, :cond_0
return-object v1
:cond_10
if-eqz p2, :cond_13
2020-05-07 23:11:04 +00:00
instance-of p1, v2, Lz/a/q;
2019-12-06 03:29:40 +00:00
if-nez p1, :cond_11
move-object v2, v0
:cond_11
2020-05-07 23:11:04 +00:00
check-cast v2, Lz/a/q;
2019-12-06 03:29:40 +00:00
if-eqz v2, :cond_12
2020-05-07 23:11:04 +00:00
iget-object v0, v2, Lz/a/q;->a:Ljava/lang/Throwable;
2019-12-06 03:29:40 +00:00
:cond_12
invoke-interface {p3, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:cond_13
2020-05-07 23:11:04 +00:00
sget-object p1, Lz/a/m1;->d:Lz/a/m1;
2019-12-06 03:29:40 +00:00
return-object p1
:cond_14
const-string p1, "handler"
2020-05-07 23:11:04 +00:00
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
.end method
2020-04-17 19:35:49 +00:00
.method public a(Ljava/lang/Object;I)V
.locals 0
return-void
.end method
.method public a(Ljava/util/concurrent/CancellationException;)V
.locals 0
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, p1}, Lz/a/h1;->a(Ljava/lang/Object;)Z
2020-04-17 19:35:49 +00:00
move-result p1
if-eqz p1, :cond_0
2020-05-07 23:11:04 +00:00
invoke-virtual {p0}, Lz/a/h1;->e()Z
2020-04-17 19:35:49 +00:00
move-result p1
:cond_0
return-void
.end method
.method public final a(Lkotlinx/coroutines/Job;)V
2019-12-06 03:29:40 +00:00
.locals 2
2020-05-07 23:11:04 +00:00
iget-object v0, p0, Lz/a/h1;->parentHandle:Lz/a/l;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
const/4 v1, 0x1
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
if-nez v0, :cond_0
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
const/4 v0, 0x1
2019-12-06 03:29:40 +00:00
goto :goto_0
:cond_0
2020-04-17 19:35:49 +00:00
const/4 v0, 0x0
2019-12-06 03:29:40 +00:00
:goto_0
2020-04-17 19:35:49 +00:00
if-eqz v0, :cond_3
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
if-nez p1, :cond_1
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
sget-object p1, Lz/a/m1;->d:Lz/a/m1;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
iput-object p1, p0, Lz/a/h1;->parentHandle:Lz/a/l;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
return-void
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
:cond_1
invoke-interface {p1}, Lkotlinx/coroutines/Job;->start()Z
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-interface {p1, p0}, Lkotlinx/coroutines/Job;->a(Lz/a/n;)Lz/a/l;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
move-result-object p1
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
iput-object p1, p0, Lz/a/h1;->parentHandle:Lz/a/l;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p0}, Lz/a/h1;->g()Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
move-result-object v0
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
instance-of v0, v0, Lz/a/y0;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
xor-int/2addr v0, v1
2020-04-17 16:36:30 +00:00
2020-04-17 19:35:49 +00:00
if-eqz v0, :cond_2
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-interface {p1}, Lz/a/o0;->dispose()V
2020-04-17 16:36:30 +00:00
2020-05-07 23:11:04 +00:00
sget-object p1, Lz/a/m1;->d:Lz/a/m1;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
iput-object p1, p0, Lz/a/h1;->parentHandle:Lz/a/l;
2020-04-17 19:35:49 +00:00
:cond_2
return-void
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
:cond_3
2020-04-17 19:35:49 +00:00
new-instance p1, Ljava/lang/IllegalStateException;
const-string v0, "Check failed."
2020-04-17 16:36:30 +00:00
2020-04-17 19:35:49 +00:00
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
2020-04-17 16:36:30 +00:00
2020-04-17 19:35:49 +00:00
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
2019-12-06 03:29:40 +00:00
.end method
2020-05-07 23:11:04 +00:00
.method public final a(Lz/a/l1;Ljava/lang/Throwable;)V
2019-12-06 03:29:40 +00:00
.locals 6
2020-03-14 04:13:36 +00:00
const/4 v0, 0x0
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p1}, Lz/a/a2/n;->b()Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
move-result-object v1
2020-03-14 02:12:46 +00:00
2020-03-14 04:13:36 +00:00
if-eqz v1, :cond_4
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
check-cast v1, Lz/a/a2/n;
2019-12-06 03:29:40 +00:00
:goto_0
2020-05-07 23:11:04 +00:00
invoke-static {v1, p1}, Ly/v/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-12-06 03:29:40 +00:00
move-result v2
xor-int/lit8 v2, v2, 0x1
if-eqz v2, :cond_2
2020-05-07 23:11:04 +00:00
instance-of v2, v1, Lz/a/e1;
2019-12-06 03:29:40 +00:00
if-eqz v2, :cond_1
2020-03-14 04:13:36 +00:00
move-object v2, v1
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
check-cast v2, Lz/a/g1;
2019-12-06 03:29:40 +00:00
:try_start_0
2020-05-07 23:11:04 +00:00
invoke-virtual {v2, p2}, Lz/a/t;->b(Ljava/lang/Throwable;)V
2019-12-06 03:29:40 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_1
:catchall_0
move-exception v3
2020-03-14 04:13:36 +00:00
if-eqz v0, :cond_0
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-static {v0, v3}, Lf/o/a/j/a;->addSuppressed(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
2019-12-06 03:29:40 +00:00
goto :goto_1
:cond_0
2020-05-07 23:11:04 +00:00
new-instance v0, Lz/a/u;
2019-12-06 03:29:40 +00:00
new-instance v4, Ljava/lang/StringBuilder;
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
const-string v5, "Exception in completion handler "
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v4, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v2, " for "
invoke-virtual {v4, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v4, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
2020-05-07 23:11:04 +00:00
invoke-direct {v0, v2, v3}, Lz/a/u;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
2019-12-06 03:29:40 +00:00
:cond_1
:goto_1
2020-05-07 23:11:04 +00:00
invoke-virtual {v1}, Lz/a/a2/n;->c()Lz/a/a2/n;
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
move-result-object v1
2019-12-06 03:29:40 +00:00
goto :goto_0
:cond_2
2020-03-14 04:13:36 +00:00
if-eqz v0, :cond_3
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, v0}, Lz/a/h1;->c(Ljava/lang/Throwable;)V
2019-12-06 03:29:40 +00:00
:cond_3
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, p2}, Lz/a/h1;->a(Ljava/lang/Throwable;)Z
2019-12-06 03:29:40 +00:00
return-void
:cond_4
2020-05-07 23:11:04 +00:00
new-instance p1, Ly/l;
2019-12-06 03:29:40 +00:00
const-string p2, "null cannot be cast to non-null type kotlinx.coroutines.internal.Node /* = kotlinx.coroutines.internal.LockFreeLinkedListNode */"
2020-05-07 23:11:04 +00:00
invoke-direct {p1, p2}, Ly/l;-><init>(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw p1
.end method
2020-05-07 23:11:04 +00:00
.method public final a(Lz/a/y0;Ljava/lang/Object;I)V
2019-12-06 03:29:40 +00:00
.locals 8
2020-05-07 23:11:04 +00:00
iget-object v0, p0, Lz/a/h1;->parentHandle:Lz/a/l;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_0
2020-05-07 23:11:04 +00:00
invoke-interface {v0}, Lz/a/o0;->dispose()V
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
sget-object v0, Lz/a/m1;->d:Lz/a/m1;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
iput-object v0, p0, Lz/a/h1;->parentHandle:Lz/a/l;
2019-12-06 03:29:40 +00:00
:cond_0
2020-05-07 23:11:04 +00:00
instance-of v0, p2, Lz/a/q;
2019-12-06 03:29:40 +00:00
const/4 v1, 0x0
if-nez v0, :cond_1
move-object v0, v1
goto :goto_0
:cond_1
move-object v0, p2
:goto_0
2020-05-07 23:11:04 +00:00
check-cast v0, Lz/a/q;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_2
2020-05-07 23:11:04 +00:00
iget-object v0, v0, Lz/a/q;->a:Ljava/lang/Throwable;
2019-12-06 03:29:40 +00:00
goto :goto_1
:cond_2
move-object v0, v1
:goto_1
2020-05-07 23:11:04 +00:00
instance-of v2, p1, Lz/a/g1;
2019-12-06 03:29:40 +00:00
const-string v3, " for "
const-string v4, "Exception in completion handler "
if-eqz v2, :cond_3
:try_start_0
move-object v1, p1
2020-05-07 23:11:04 +00:00
check-cast v1, Lz/a/g1;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {v1, v0}, Lz/a/t;->b(Ljava/lang/Throwable;)V
2019-12-06 03:29:40 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto/16 :goto_4
:catchall_0
move-exception v0
2020-05-07 23:11:04 +00:00
new-instance v1, Lz/a/u;
2019-12-06 03:29:40 +00:00
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
2020-05-07 23:11:04 +00:00
invoke-direct {v1, p1, v0}, Lz/a/u;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, v1}, Lz/a/h1;->c(Ljava/lang/Throwable;)V
2019-12-06 03:29:40 +00:00
goto :goto_4
:cond_3
2020-05-07 23:11:04 +00:00
invoke-interface {p1}, Lz/a/y0;->getList()Lz/a/l1;
2019-12-06 03:29:40 +00:00
move-result-object p1
if-eqz p1, :cond_8
2020-05-07 23:11:04 +00:00
invoke-virtual {p1}, Lz/a/a2/n;->b()Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object v2
if-eqz v2, :cond_7
2020-05-07 23:11:04 +00:00
check-cast v2, Lz/a/a2/n;
2019-12-06 03:29:40 +00:00
:goto_2
2020-05-07 23:11:04 +00:00
invoke-static {v2, p1}, Ly/v/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-12-06 03:29:40 +00:00
move-result v5
xor-int/lit8 v5, v5, 0x1
if-eqz v5, :cond_6
2020-05-07 23:11:04 +00:00
instance-of v5, v2, Lz/a/g1;
2019-12-06 03:29:40 +00:00
if-eqz v5, :cond_5
move-object v5, v2
2020-05-07 23:11:04 +00:00
check-cast v5, Lz/a/g1;
2019-12-06 03:29:40 +00:00
:try_start_1
2020-05-07 23:11:04 +00:00
invoke-virtual {v5, v0}, Lz/a/t;->b(Ljava/lang/Throwable;)V
2019-12-06 03:29:40 +00:00
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_1
goto :goto_3
:catchall_1
move-exception v6
if-eqz v1, :cond_4
2020-05-07 23:11:04 +00:00
invoke-static {v1, v6}, Lf/o/a/j/a;->addSuppressed(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
2019-12-06 03:29:40 +00:00
goto :goto_3
:cond_4
2020-05-07 23:11:04 +00:00
new-instance v1, Lz/a/u;
2019-12-06 03:29:40 +00:00
new-instance v7, Ljava/lang/StringBuilder;
invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v7, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v7, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v7, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v7, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v5
2020-05-07 23:11:04 +00:00
invoke-direct {v1, v5, v6}, Lz/a/u;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
2019-12-06 03:29:40 +00:00
:cond_5
:goto_3
2020-05-07 23:11:04 +00:00
invoke-virtual {v2}, Lz/a/a2/n;->c()Lz/a/a2/n;
2019-12-06 03:29:40 +00:00
move-result-object v2
goto :goto_2
:cond_6
if-eqz v1, :cond_8
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, v1}, Lz/a/h1;->c(Ljava/lang/Throwable;)V
2019-12-06 03:29:40 +00:00
goto :goto_4
:cond_7
2020-05-07 23:11:04 +00:00
new-instance p1, Ly/l;
2019-12-06 03:29:40 +00:00
const-string p2, "null cannot be cast to non-null type kotlinx.coroutines.internal.Node /* = kotlinx.coroutines.internal.LockFreeLinkedListNode */"
2020-05-07 23:11:04 +00:00
invoke-direct {p1, p2}, Ly/l;-><init>(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw p1
:cond_8
:goto_4
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, p2, p3}, Lz/a/h1;->a(Ljava/lang/Object;I)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
return-void
.end method
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
.method public a()Z
.locals 2
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p0}, Lz/a/h1;->g()Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
move-result-object v0
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
instance-of v1, v0, Lz/a/y0;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
if-eqz v1, :cond_0
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
check-cast v0, Lz/a/y0;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-interface {v0}, Lz/a/y0;->a()Z
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
move-result v0
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
if-eqz v0, :cond_0
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
const/4 v0, 0x1
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
goto :goto_0
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
:cond_0
const/4 v0, 0x0
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
:goto_0
2020-04-17 19:35:49 +00:00
return v0
.end method
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
.method public final a(Ljava/lang/Object;)Z
.locals 6
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p0}, Lz/a/h1;->f()Z
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
move-result v0
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
if-eqz v0, :cond_4
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
:goto_0
2020-05-07 23:11:04 +00:00
invoke-virtual {p0}, Lz/a/h1;->g()Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
move-result-object v0
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
instance-of v1, v0, Lz/a/y0;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
const/4 v2, 0x0
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
const/4 v3, 0x1
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
if-eqz v1, :cond_3
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
instance-of v1, v0, Lz/a/h1$b;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
if-eqz v1, :cond_0
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
move-object v1, v0
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
check-cast v1, Lz/a/h1$b;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
iget-boolean v1, v1, Lz/a/h1$b;->isCompleting:Z
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
if-eqz v1, :cond_0
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
goto :goto_1
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
:cond_0
2020-05-07 23:11:04 +00:00
new-instance v1, Lz/a/q;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, p1}, Lz/a/h1;->b(Ljava/lang/Object;)Ljava/lang/Throwable;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
move-result-object v4
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
const/4 v5, 0x2
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-direct {v1, v4, v2, v5}, Lz/a/q;-><init>(Ljava/lang/Throwable;ZI)V
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, v0, v1, v2}, Lz/a/h1;->a(Ljava/lang/Object;Ljava/lang/Object;I)I
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
move-result v0
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
if-eqz v0, :cond_3
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
if-eq v0, v3, :cond_2
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
if-eq v0, v5, :cond_2
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
const/4 v1, 0x3
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
if-ne v0, v1, :cond_1
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
goto :goto_0
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
:cond_1
new-instance p1, Ljava/lang/IllegalStateException;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
const-string v0, "unexpected result"
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
2020-04-17 16:36:30 +00:00
2020-04-17 19:35:49 +00:00
move-result-object v0
2020-04-17 16:36:30 +00:00
2020-04-17 19:35:49 +00:00
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
2020-04-17 16:36:30 +00:00
2020-04-17 19:35:49 +00:00
throw p1
2020-04-17 16:36:30 +00:00
2020-04-17 19:35:49 +00:00
:cond_2
const/4 v2, 0x1
2020-04-17 16:36:30 +00:00
2020-04-17 19:35:49 +00:00
:cond_3
:goto_1
if-eqz v2, :cond_4
2020-04-17 16:36:30 +00:00
2020-04-17 19:35:49 +00:00
return v3
2020-04-17 16:36:30 +00:00
2020-04-17 19:35:49 +00:00
:cond_4
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, p1}, Lz/a/h1;->c(Ljava/lang/Object;)Z
2020-04-17 16:36:30 +00:00
2020-04-17 19:35:49 +00:00
move-result p1
2020-04-17 16:36:30 +00:00
2020-04-17 19:35:49 +00:00
return p1
.end method
2020-04-17 16:36:30 +00:00
2020-05-07 23:11:04 +00:00
.method public final a(Ljava/lang/Object;Lz/a/l1;Lz/a/g1;)Z
2020-04-17 19:35:49 +00:00
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
2020-05-07 23:11:04 +00:00
"Lz/a/l1;",
"Lz/a/g1<",
2020-04-17 19:35:49 +00:00
"*>;)Z"
}
.end annotation
2020-04-17 16:36:30 +00:00
2020-05-07 23:11:04 +00:00
new-instance v0, Lz/a/h1$c;
2020-04-17 16:36:30 +00:00
2020-05-07 23:11:04 +00:00
invoke-direct {v0, p3, p3, p0, p1}, Lz/a/h1$c;-><init>(Lz/a/a2/n;Lz/a/a2/n;Lz/a/h1;Ljava/lang/Object;)V
2020-04-17 16:36:30 +00:00
2020-04-17 19:35:49 +00:00
:goto_0
2020-05-07 23:11:04 +00:00
invoke-virtual {p2}, Lz/a/a2/n;->d()Ljava/lang/Object;
2020-04-17 16:36:30 +00:00
2020-04-17 19:35:49 +00:00
move-result-object p1
2020-04-17 16:36:30 +00:00
2020-04-17 19:35:49 +00:00
if-eqz p1, :cond_5
2020-04-17 16:36:30 +00:00
2020-05-07 23:11:04 +00:00
check-cast p1, Lz/a/a2/n;
2020-04-17 16:36:30 +00:00
2020-04-17 19:35:49 +00:00
if-eqz p3, :cond_4
2020-05-07 23:11:04 +00:00
sget-object v1, Lz/a/a2/n;->e:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2020-04-17 19:35:49 +00:00
invoke-virtual {v1, p3, p1}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->lazySet(Ljava/lang/Object;Ljava/lang/Object;)V
2020-05-07 23:11:04 +00:00
sget-object v1, Lz/a/a2/n;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2020-04-17 19:35:49 +00:00
invoke-virtual {v1, p3, p2}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->lazySet(Ljava/lang/Object;Ljava/lang/Object;)V
2020-05-07 23:11:04 +00:00
iput-object p2, v0, Lz/a/a2/n$a;->b:Lz/a/a2/n;
2020-04-17 19:35:49 +00:00
2020-05-07 23:11:04 +00:00
sget-object v1, Lz/a/a2/n;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2020-04-17 19:35:49 +00:00
invoke-virtual {v1, p1, p2, v0}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
const/4 v2, 0x2
const/4 v3, 0x0
const/4 v4, 0x1
if-nez v1, :cond_0
const/4 p1, 0x0
goto :goto_1
:cond_0
2020-05-07 23:11:04 +00:00
invoke-virtual {v0, p1}, Lz/a/a2/c;->a(Ljava/lang/Object;)Ljava/lang/Object;
2020-04-17 19:35:49 +00:00
move-result-object p1
if-nez p1, :cond_1
const/4 p1, 0x1
goto :goto_1
2020-04-17 16:36:30 +00:00
2020-04-17 17:35:24 +00:00
:cond_1
2020-04-17 19:35:49 +00:00
const/4 p1, 0x2
:goto_1
if-eq p1, v4, :cond_2
if-eq p1, v2, :cond_3
goto :goto_0
:cond_2
const/4 v3, 0x1
:cond_3
return v3
:cond_4
const-string p1, "node"
2020-05-07 23:11:04 +00:00
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
2020-04-17 19:35:49 +00:00
2020-04-17 17:35:24 +00:00
const/4 p1, 0x0
2020-04-17 16:36:30 +00:00
2020-04-17 19:35:49 +00:00
throw p1
:cond_5
2020-05-07 23:11:04 +00:00
new-instance p1, Ly/l;
2020-04-17 19:35:49 +00:00
const-string p2, "null cannot be cast to non-null type kotlinx.coroutines.internal.Node /* = kotlinx.coroutines.internal.LockFreeLinkedListNode */"
2020-05-07 23:11:04 +00:00
invoke-direct {p1, p2}, Ly/l;-><init>(Ljava/lang/String;)V
2020-04-17 19:35:49 +00:00
throw p1
2020-04-17 16:36:30 +00:00
.end method
2020-04-17 19:35:49 +00:00
.method public final a(Ljava/lang/Throwable;)Z
.locals 3
instance-of v0, p1, Ljava/util/concurrent/CancellationException;
const/4 v1, 0x1
if-eqz v0, :cond_0
return v1
:cond_0
2020-05-07 23:11:04 +00:00
invoke-virtual {p0}, Lz/a/h1;->d()Z
2020-04-17 19:35:49 +00:00
move-result v0
const/4 v2, 0x0
if-nez v0, :cond_1
return v2
:cond_1
2020-05-07 23:11:04 +00:00
iget-object v0, p0, Lz/a/h1;->parentHandle:Lz/a/l;
2020-04-17 19:35:49 +00:00
if-eqz v0, :cond_2
2020-05-07 23:11:04 +00:00
invoke-interface {v0, p1}, Lz/a/l;->a(Ljava/lang/Throwable;)Z
2020-04-17 19:35:49 +00:00
move-result p1
if-ne p1, v1, :cond_2
goto :goto_0
:cond_2
const/4 v1, 0x0
:goto_0
return v1
.end method
2020-05-07 23:11:04 +00:00
.method public final a(Lz/a/h1$b;Ljava/lang/Object;I)Z
2020-03-14 04:13:36 +00:00
.locals 9
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p0}, Lz/a/h1;->g()Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object v0
const/4 v1, 0x0
const/4 v2, 0x1
if-ne v0, p1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
2020-03-14 04:13:36 +00:00
if-eqz v0, :cond_14
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p1}, Lz/a/h1$b;->d()Z
2019-12-06 03:29:40 +00:00
move-result v0
xor-int/2addr v0, v2
2020-03-14 04:13:36 +00:00
if-eqz v0, :cond_13
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
iget-boolean v0, p1, Lz/a/h1$b;->isCompleting:Z
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
if-eqz v0, :cond_12
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
instance-of v0, p2, Lz/a/q;
2019-12-06 03:29:40 +00:00
const/4 v3, 0x0
if-nez v0, :cond_1
move-object v0, v3
goto :goto_1
:cond_1
move-object v0, p2
:goto_1
2020-05-07 23:11:04 +00:00
check-cast v0, Lz/a/q;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_2
2020-05-07 23:11:04 +00:00
iget-object v0, v0, Lz/a/q;->a:Ljava/lang/Throwable;
2020-03-14 04:13:36 +00:00
goto :goto_2
2019-12-06 03:29:40 +00:00
:cond_2
2020-03-14 04:13:36 +00:00
move-object v0, v3
:goto_2
2019-12-06 03:29:40 +00:00
monitor-enter p1
:try_start_0
2020-05-07 23:11:04 +00:00
invoke-virtual {p1}, Lz/a/h1$b;->c()Z
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p1, v0}, Lz/a/h1$b;->b(Ljava/lang/Throwable;)Ljava/util/List;
2020-03-10 23:21:53 +00:00
move-result-object v4
2020-03-14 04:13:36 +00:00
invoke-interface {v4}, Ljava/util/List;->isEmpty()Z
2020-03-10 23:21:53 +00:00
2020-03-14 04:13:36 +00:00
move-result v5
2020-03-10 23:21:53 +00:00
2020-03-14 02:12:46 +00:00
if-eqz v5, :cond_3
2020-03-10 23:21:53 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p1}, Lz/a/h1$b;->c()Z
2020-03-14 04:13:36 +00:00
move-result v5
if-eqz v5, :cond_7
2020-05-07 23:11:04 +00:00
new-instance v5, Lz/a/d1;
2020-03-14 04:13:36 +00:00
const-string v6, "Job was cancelled"
2020-05-07 23:11:04 +00:00
invoke-direct {v5, v6, v3, p0}, Lz/a/d1;-><init>(Ljava/lang/String;Ljava/lang/Throwable;Lkotlinx/coroutines/Job;)V
2020-03-14 04:13:36 +00:00
move-object v3, v5
goto :goto_3
:cond_3
invoke-interface {v4}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object v5
:cond_4
invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z
move-result v6
if-eqz v6, :cond_5
invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v6
move-object v7, v6
check-cast v7, Ljava/lang/Throwable;
instance-of v7, v7, Ljava/util/concurrent/CancellationException;
xor-int/2addr v7, v2
if-eqz v7, :cond_4
move-object v3, v6
:cond_5
check-cast v3, Ljava/lang/Throwable;
if-eqz v3, :cond_6
goto :goto_3
:cond_6
invoke-interface {v4, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Ljava/lang/Throwable;
:cond_7
:goto_3
if-eqz v3, :cond_a
invoke-interface {v4}, Ljava/util/List;->size()I
move-result v5
if-gt v5, v2, :cond_8
goto :goto_5
:cond_8
invoke-interface {v4}, Ljava/util/List;->size()I
move-result v5
2020-05-07 23:11:04 +00:00
invoke-static {v5}, Lz/a/a2/d;->a(I)Ljava/util/Set;
2020-03-14 04:13:36 +00:00
move-result-object v5
2020-05-07 23:11:04 +00:00
invoke-static {v3}, Lf/o/a/j/a;->c(Ljava/lang/Throwable;)Ljava/lang/Throwable;
2020-03-14 04:13:36 +00:00
move-result-object v6
invoke-interface {v4}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v4
:cond_9
:goto_4
invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z
move-result v7
if-eqz v7, :cond_a
invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v7
check-cast v7, Ljava/lang/Throwable;
2020-05-07 23:11:04 +00:00
invoke-static {v7}, Lf/o/a/j/a;->c(Ljava/lang/Throwable;)Ljava/lang/Throwable;
2020-03-14 04:13:36 +00:00
move-result-object v7
if-eq v7, v3, :cond_9
if-eq v7, v6, :cond_9
instance-of v8, v7, Ljava/util/concurrent/CancellationException;
if-nez v8, :cond_9
invoke-interface {v5, v7}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
move-result v8
if-eqz v8, :cond_9
2020-05-07 23:11:04 +00:00
invoke-static {v3, v7}, Lf/o/a/j/a;->addSuppressed(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
2019-12-06 03:29:40 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2020-03-14 04:13:36 +00:00
goto :goto_4
:cond_a
:goto_5
2019-12-06 03:29:40 +00:00
monitor-exit p1
2020-03-14 04:13:36 +00:00
if-nez v3, :cond_b
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
goto :goto_6
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
:cond_b
if-ne v3, v0, :cond_c
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
goto :goto_6
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
:cond_c
2020-05-07 23:11:04 +00:00
new-instance p2, Lz/a/q;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-direct {p2, v3, v1}, Lz/a/q;-><init>(Ljava/lang/Throwable;Z)V
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
:goto_6
if-eqz v3, :cond_10
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, v3}, Lz/a/h1;->a(Ljava/lang/Throwable;)Z
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
move-result v0
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
if-nez v0, :cond_e
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, v3}, Lz/a/h1;->b(Ljava/lang/Throwable;)Z
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
move-result v0
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
if-eqz v0, :cond_d
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
goto :goto_7
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
:cond_d
const/4 v0, 0x0
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
goto :goto_8
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
:cond_e
:goto_7
const/4 v0, 0x1
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
:goto_8
if-eqz v0, :cond_10
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
if-eqz p2, :cond_f
2020-03-10 23:21:53 +00:00
2020-03-14 04:13:36 +00:00
move-object v0, p2
2020-03-10 23:21:53 +00:00
2020-05-07 23:11:04 +00:00
check-cast v0, Lz/a/q;
2020-03-10 23:21:53 +00:00
2020-05-07 23:11:04 +00:00
sget-object v3, Lz/a/q;->b:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2020-03-14 04:13:36 +00:00
invoke-virtual {v3, v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;->compareAndSet(Ljava/lang/Object;II)Z
goto :goto_9
:cond_f
2020-05-07 23:11:04 +00:00
new-instance p1, Ly/l;
2019-12-06 03:29:40 +00:00
const-string p2, "null cannot be cast to non-null type kotlinx.coroutines.CompletedExceptionally"
2020-05-07 23:11:04 +00:00
invoke-direct {p1, p2}, Ly/l;-><init>(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw p1
2020-03-14 04:13:36 +00:00
:cond_10
:goto_9
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, p2}, Lz/a/h1;->d(Ljava/lang/Object;)V
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
sget-object v0, Lz/a/h1;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-static {p2}, Lz/a/i1;->a(Ljava/lang/Object;)Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object v1
invoke-virtual {v0, p0, p1, v1}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
2020-03-14 04:13:36 +00:00
if-eqz v0, :cond_11
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, p1, p2, p3}, Lz/a/h1;->a(Lz/a/y0;Ljava/lang/Object;I)V
2019-12-06 03:29:40 +00:00
return v2
2020-03-14 04:13:36 +00:00
:cond_11
2019-12-06 03:29:40 +00:00
const-string p3, "Unexpected state: "
2020-05-07 23:11:04 +00:00
invoke-static {p3}, Lf/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-12-06 03:29:40 +00:00
move-result-object p3
2020-05-07 23:11:04 +00:00
iget-object v0, p0, Lz/a/h1;->_state:Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v0, ", expected: "
invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string p1, ", update: "
invoke-virtual {p3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {p3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
new-instance p2, Ljava/lang/IllegalArgumentException;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p2
:catchall_0
move-exception p2
monitor-exit p1
throw p2
2020-03-14 04:13:36 +00:00
:cond_12
2019-12-06 03:29:40 +00:00
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string p2, "Failed requirement."
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
2020-03-14 04:13:36 +00:00
:cond_13
2019-12-06 03:29:40 +00:00
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string p2, "Failed requirement."
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
2020-03-14 04:13:36 +00:00
:cond_14
2019-12-06 03:29:40 +00:00
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string p2, "Failed requirement."
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
.end method
2020-05-07 23:11:04 +00:00
.method public final a(Lz/a/h1$b;Lz/a/m;Ljava/lang/Object;)Z
2019-12-06 03:29:40 +00:00
.locals 6
:goto_0
2020-05-07 23:11:04 +00:00
iget-object v0, p2, Lz/a/m;->h:Lz/a/n;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
const/4 v1, 0x0
2019-12-06 03:29:40 +00:00
const/4 v2, 0x0
2020-05-07 23:11:04 +00:00
new-instance v3, Lz/a/h1$a;
2020-04-17 17:35:24 +00:00
2020-05-07 23:11:04 +00:00
invoke-direct {v3, p0, p1, p2, p3}, Lz/a/h1$a;-><init>(Lz/a/h1;Lz/a/h1$b;Lz/a/m;Ljava/lang/Object;)V
2020-04-17 17:35:24 +00:00
2020-04-17 19:35:49 +00:00
const/4 v4, 0x1
2020-04-17 17:35:24 +00:00
2020-04-17 19:35:49 +00:00
const/4 v5, 0x0
2020-04-17 17:35:24 +00:00
2020-05-07 23:11:04 +00:00
invoke-static/range {v0 .. v5}, Lf/o/a/j/a;->a(Lkotlinx/coroutines/Job;ZZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lz/a/o0;
2019-12-06 03:29:40 +00:00
move-result-object v0
2020-05-07 23:11:04 +00:00
sget-object v1, Lz/a/m1;->d:Lz/a/m1;
2020-04-17 17:35:24 +00:00
2020-04-17 19:35:49 +00:00
if-eq v0, v1, :cond_0
2020-04-17 17:35:24 +00:00
2020-04-17 19:35:49 +00:00
const/4 p1, 0x1
2019-12-06 03:29:40 +00:00
return p1
:cond_0
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, p2}, Lz/a/h1;->a(Lz/a/a2/n;)Lz/a/m;
2020-04-11 15:34:05 +00:00
2020-04-17 19:35:49 +00:00
move-result-object p2
2020-04-17 17:35:24 +00:00
2020-04-17 19:35:49 +00:00
if-eqz p2, :cond_1
2020-04-17 17:35:24 +00:00
goto :goto_0
:cond_1
2020-04-17 19:35:49 +00:00
const/4 p1, 0x0
2020-04-17 17:35:24 +00:00
2020-04-17 19:35:49 +00:00
return p1
2019-12-06 03:29:40 +00:00
.end method
.method public final b(Ljava/lang/Object;)Ljava/lang/Throwable;
.locals 4
if-eqz p1, :cond_0
instance-of v0, p1, Ljava/lang/Throwable;
goto :goto_0
:cond_0
const/4 v0, 0x1
:goto_0
const/4 v1, 0x0
if-eqz v0, :cond_2
if-eqz p1, :cond_1
check-cast p1, Ljava/lang/Throwable;
goto :goto_3
:cond_1
2020-05-07 23:11:04 +00:00
new-instance p1, Lz/a/d1;
2019-12-06 03:29:40 +00:00
const-string v0, "Job was cancelled"
2020-05-07 23:11:04 +00:00
invoke-direct {p1, v0, v1, p0}, Lz/a/d1;-><init>(Ljava/lang/String;Ljava/lang/Throwable;Lkotlinx/coroutines/Job;)V
2019-12-06 03:29:40 +00:00
goto :goto_3
:cond_2
if-eqz p1, :cond_8
2020-05-07 23:11:04 +00:00
check-cast p1, Lz/a/h1;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p1}, Lz/a/h1;->g()Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object v0
2020-05-07 23:11:04 +00:00
instance-of v2, v0, Lz/a/h1$b;
2019-12-06 03:29:40 +00:00
if-eqz v2, :cond_3
move-object v1, v0
2020-05-07 23:11:04 +00:00
check-cast v1, Lz/a/h1$b;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
iget-object v1, v1, Lz/a/h1$b;->rootCause:Ljava/lang/Throwable;
2019-12-06 03:29:40 +00:00
goto :goto_1
:cond_3
2020-05-07 23:11:04 +00:00
instance-of v2, v0, Lz/a/y0;
2019-12-06 03:29:40 +00:00
if-nez v2, :cond_7
2020-05-07 23:11:04 +00:00
instance-of v2, v0, Lz/a/q;
2019-12-06 03:29:40 +00:00
if-eqz v2, :cond_4
move-object v1, v0
2020-05-07 23:11:04 +00:00
check-cast v1, Lz/a/q;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
iget-object v1, v1, Lz/a/q;->a:Ljava/lang/Throwable;
2019-12-06 03:29:40 +00:00
:cond_4
:goto_1
if-eqz v1, :cond_6
2020-05-07 23:11:04 +00:00
invoke-virtual {p1}, Lz/a/h1;->e()Z
2019-12-06 03:29:40 +00:00
move-result v2
if-eqz v2, :cond_5
instance-of v2, v1, Ljava/util/concurrent/CancellationException;
if-nez v2, :cond_5
goto :goto_2
:cond_5
move-object p1, v1
goto :goto_3
:cond_6
:goto_2
2020-05-07 23:11:04 +00:00
new-instance v2, Lz/a/d1;
2019-12-06 03:29:40 +00:00
const-string v3, "Parent job is "
2020-05-07 23:11:04 +00:00
invoke-static {v3}, Lf/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-12-06 03:29:40 +00:00
move-result-object v3
2020-05-07 23:11:04 +00:00
invoke-virtual {p1, v0}, Lz/a/h1;->e(Ljava/lang/Object;)Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object v0
invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
2020-05-07 23:11:04 +00:00
invoke-direct {v2, v0, v1, p1}, Lz/a/d1;-><init>(Ljava/lang/String;Ljava/lang/Throwable;Lkotlinx/coroutines/Job;)V
2019-12-06 03:29:40 +00:00
move-object p1, v2
:goto_3
return-object p1
:cond_7
new-instance p1, Ljava/lang/StringBuilder;
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "Cannot be cancelling child in this state: "
invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
new-instance v0, Ljava/lang/IllegalStateException;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
:cond_8
2020-05-07 23:11:04 +00:00
new-instance p1, Ly/l;
2019-12-06 03:29:40 +00:00
const-string v0, "null cannot be cast to non-null type kotlinx.coroutines.ParentJob"
2020-05-07 23:11:04 +00:00
invoke-direct {p1, v0}, Ly/l;-><init>(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw p1
.end method
.method public final b()Ljava/util/concurrent/CancellationException;
.locals 4
2020-05-07 23:11:04 +00:00
invoke-virtual {p0}, Lz/a/h1;->g()Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object v0
2020-05-07 23:11:04 +00:00
instance-of v1, v0, Lz/a/h1$b;
2019-12-06 03:29:40 +00:00
const-string v2, "Job is still new or active: "
if-eqz v1, :cond_1
2020-05-07 23:11:04 +00:00
check-cast v0, Lz/a/h1$b;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
iget-object v0, v0, Lz/a/h1$b;->rootCause:Ljava/lang/Throwable;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_0
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
2020-05-07 23:11:04 +00:00
invoke-static {p0}, Lz/a/e0;->a(Ljava/lang/Object;)Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object v3
invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v3, " is cancelling"
invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, v0, v1}, Lz/a/h1;->a(Ljava/lang/Throwable;Ljava/lang/String;)Ljava/util/concurrent/CancellationException;
2019-12-06 03:29:40 +00:00
move-result-object v0
if-eqz v0, :cond_0
goto :goto_0
:cond_0
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
new-instance v1, Ljava/lang/IllegalStateException;
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v1
:cond_1
2020-05-07 23:11:04 +00:00
instance-of v1, v0, Lz/a/y0;
2019-12-06 03:29:40 +00:00
if-nez v1, :cond_3
2020-05-07 23:11:04 +00:00
instance-of v1, v0, Lz/a/q;
2019-12-06 03:29:40 +00:00
const/4 v2, 0x0
if-eqz v1, :cond_2
2020-05-07 23:11:04 +00:00
check-cast v0, Lz/a/q;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
iget-object v0, v0, Lz/a/q;->a:Ljava/lang/Throwable;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, v0, v2}, Lz/a/h1;->a(Ljava/lang/Throwable;Ljava/lang/String;)Ljava/util/concurrent/CancellationException;
2019-12-06 03:29:40 +00:00
move-result-object v0
goto :goto_0
:cond_2
2020-05-07 23:11:04 +00:00
new-instance v0, Lz/a/d1;
2019-12-06 03:29:40 +00:00
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
2020-05-07 23:11:04 +00:00
invoke-static {p0}, Lz/a/e0;->a(Ljava/lang/Object;)Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object v3
invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v3, " has completed normally"
invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
2020-05-07 23:11:04 +00:00
invoke-direct {v0, v1, v2, p0}, Lz/a/d1;-><init>(Ljava/lang/String;Ljava/lang/Throwable;Lkotlinx/coroutines/Job;)V
2019-12-06 03:29:40 +00:00
:goto_0
return-object v0
:cond_3
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
new-instance v1, Ljava/lang/IllegalStateException;
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v1
.end method
.method public final b(Ljava/lang/Object;I)Z
2020-03-14 02:12:46 +00:00
.locals 3
2019-12-06 03:29:40 +00:00
:goto_0
2020-05-07 23:11:04 +00:00
invoke-virtual {p0}, Lz/a/h1;->g()Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object v0
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, v0, p1, p2}, Lz/a/h1;->a(Ljava/lang/Object;Ljava/lang/Object;I)I
2019-12-06 03:29:40 +00:00
move-result v0
if-eqz v0, :cond_3
const/4 v1, 0x1
if-eq v0, v1, :cond_2
const/4 v1, 0x2
if-eq v0, v1, :cond_1
const/4 v1, 0x3
if-ne v0, v1, :cond_0
goto :goto_0
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
const-string p2, "unexpected result"
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:cond_1
const/4 p1, 0x0
return p1
:cond_2
return v1
:cond_3
new-instance p2, Ljava/lang/IllegalStateException;
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "Job "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, " is already complete or completing, "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, "but is being completed with "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
2020-05-07 23:11:04 +00:00
instance-of v1, p1, Lz/a/q;
2019-12-06 03:29:40 +00:00
2020-03-14 02:12:46 +00:00
const/4 v2, 0x0
2020-03-10 23:21:53 +00:00
2020-03-14 02:12:46 +00:00
if-nez v1, :cond_4
2020-03-10 23:21:53 +00:00
2020-03-14 02:12:46 +00:00
move-object p1, v2
2020-03-10 23:21:53 +00:00
2020-03-14 02:12:46 +00:00
:cond_4
2020-05-07 23:11:04 +00:00
check-cast p1, Lz/a/q;
2020-03-10 23:21:53 +00:00
2020-03-14 02:12:46 +00:00
if-eqz p1, :cond_5
2020-03-10 23:21:53 +00:00
2020-05-07 23:11:04 +00:00
iget-object v2, p1, Lz/a/q;->a:Ljava/lang/Throwable;
2020-03-10 23:21:53 +00:00
2020-03-14 02:12:46 +00:00
:cond_5
invoke-direct {p2, v0, v2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw p2
2020-03-10 23:21:53 +00:00
.end method
2020-03-14 02:12:46 +00:00
.method public b(Ljava/lang/Throwable;)Z
2019-12-06 03:29:40 +00:00
.locals 0
if-eqz p1, :cond_0
const/4 p1, 0x0
return p1
:cond_0
const-string p1, "exception"
2020-05-07 23:11:04 +00:00
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
.end method
2020-03-14 02:12:46 +00:00
.method public c(Ljava/lang/Throwable;)V
2019-12-06 03:29:40 +00:00
.locals 0
if-eqz p1, :cond_0
throw p1
:cond_0
const-string p1, "exception"
2020-05-07 23:11:04 +00:00
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
.end method
2020-03-14 02:12:46 +00:00
.method public final c(Ljava/lang/Object;)Z
2019-12-06 03:29:40 +00:00
.locals 8
const/4 v0, 0x0
move-object v1, v0
:cond_0
:goto_0
2020-05-07 23:11:04 +00:00
invoke-virtual {p0}, Lz/a/h1;->g()Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object v2
2020-05-07 23:11:04 +00:00
instance-of v3, v2, Lz/a/h1$b;
2019-12-06 03:29:40 +00:00
const/4 v4, 0x0
const/4 v5, 0x1
if-eqz v3, :cond_7
monitor-enter v2
:try_start_0
move-object v3, v2
2020-05-07 23:11:04 +00:00
check-cast v3, Lz/a/h1$b;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {v3}, Lz/a/h1$b;->d()Z
2019-12-06 03:29:40 +00:00
move-result v3
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-eqz v3, :cond_1
monitor-exit v2
return v4
:cond_1
:try_start_1
move-object v3, v2
2020-05-07 23:11:04 +00:00
check-cast v3, Lz/a/h1$b;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {v3}, Lz/a/h1$b;->c()Z
2019-12-06 03:29:40 +00:00
move-result v3
if-nez p1, :cond_2
if-nez v3, :cond_4
:cond_2
if-eqz v1, :cond_3
goto :goto_1
:cond_3
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, p1}, Lz/a/h1;->b(Ljava/lang/Object;)Ljava/lang/Throwable;
2019-12-06 03:29:40 +00:00
move-result-object v1
:goto_1
move-object p1, v2
2020-05-07 23:11:04 +00:00
check-cast p1, Lz/a/h1$b;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p1, v1}, Lz/a/h1$b;->a(Ljava/lang/Throwable;)V
2019-12-06 03:29:40 +00:00
:cond_4
move-object p1, v2
2020-05-07 23:11:04 +00:00
check-cast p1, Lz/a/h1$b;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
iget-object p1, p1, Lz/a/h1$b;->rootCause:Ljava/lang/Throwable;
2019-12-06 03:29:40 +00:00
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
xor-int/lit8 v1, v3, 0x1
if-eqz v1, :cond_5
goto :goto_2
:cond_5
move-object p1, v0
:goto_2
monitor-exit v2
if-eqz p1, :cond_6
2020-05-07 23:11:04 +00:00
check-cast v2, Lz/a/h1$b;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
iget-object v0, v2, Lz/a/h1$b;->d:Lz/a/l1;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, v0, p1}, Lz/a/h1;->a(Lz/a/l1;Ljava/lang/Throwable;)V
2019-12-06 03:29:40 +00:00
:cond_6
return v5
:catchall_0
move-exception p1
monitor-exit v2
throw p1
:cond_7
2020-05-07 23:11:04 +00:00
instance-of v3, v2, Lz/a/y0;
2019-12-06 03:29:40 +00:00
if-eqz v3, :cond_11
if-eqz v1, :cond_8
goto :goto_3
:cond_8
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, p1}, Lz/a/h1;->b(Ljava/lang/Object;)Ljava/lang/Throwable;
2019-12-06 03:29:40 +00:00
move-result-object v1
:goto_3
move-object v3, v2
2020-05-07 23:11:04 +00:00
check-cast v3, Lz/a/y0;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-interface {v3}, Lz/a/y0;->a()Z
2019-12-06 03:29:40 +00:00
move-result v6
if-eqz v6, :cond_d
2020-05-07 23:11:04 +00:00
instance-of v2, v3, Lz/a/h1$b;
2019-12-06 03:29:40 +00:00
xor-int/2addr v2, v5
const-string v6, "Check failed."
if-eqz v2, :cond_c
2020-05-07 23:11:04 +00:00
invoke-interface {v3}, Lz/a/y0;->a()Z
2019-12-06 03:29:40 +00:00
move-result v2
if-eqz v2, :cond_b
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, v3}, Lz/a/h1;->a(Lz/a/y0;)Lz/a/l1;
2019-12-06 03:29:40 +00:00
move-result-object v2
if-eqz v2, :cond_a
2020-05-07 23:11:04 +00:00
new-instance v6, Lz/a/h1$b;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-direct {v6, v2, v4, v1}, Lz/a/h1$b;-><init>(Lz/a/l1;ZLjava/lang/Throwable;)V
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
sget-object v7, Lz/a/h1;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2019-12-06 03:29:40 +00:00
invoke-virtual {v7, p0, v3, v6}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v3
if-nez v3, :cond_9
goto :goto_4
:cond_9
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, v2, v1}, Lz/a/h1;->a(Lz/a/l1;Ljava/lang/Throwable;)V
2019-12-06 03:29:40 +00:00
const/4 v4, 0x1
:cond_a
:goto_4
if-eqz v4, :cond_0
return v5
:cond_b
new-instance p1, Ljava/lang/IllegalStateException;
invoke-virtual {v6}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:cond_c
new-instance p1, Ljava/lang/IllegalStateException;
invoke-virtual {v6}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:cond_d
2020-05-07 23:11:04 +00:00
new-instance v3, Lz/a/q;
2019-12-06 03:29:40 +00:00
const/4 v6, 0x2
2020-05-07 23:11:04 +00:00
invoke-direct {v3, v1, v4, v6}, Lz/a/q;-><init>(Ljava/lang/Throwable;ZI)V
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, v2, v3, v4}, Lz/a/h1;->a(Ljava/lang/Object;Ljava/lang/Object;I)I
2019-12-06 03:29:40 +00:00
move-result v3
if-eqz v3, :cond_10
if-eq v3, v5, :cond_f
if-eq v3, v6, :cond_f
const/4 v2, 0x3
if-ne v3, v2, :cond_e
goto/16 :goto_0
:cond_e
new-instance p1, Ljava/lang/IllegalStateException;
const-string v0, "unexpected result"
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
throw p1
:cond_f
return v5
:cond_10
new-instance p1, Ljava/lang/StringBuilder;
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
const-string v0, "Cannot happen in "
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
new-instance v0, Ljava/lang/IllegalStateException;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
:cond_11
return v4
.end method
2020-03-14 02:12:46 +00:00
.method public synthetic cancel()V
.locals 1
const/4 v0, 0x0
invoke-interface {p0, v0}, Lkotlinx/coroutines/Job;->a(Ljava/util/concurrent/CancellationException;)V
return-void
.end method
.method public d(Ljava/lang/Object;)V
2019-12-06 03:29:40 +00:00
.locals 0
return-void
.end method
2020-03-14 02:12:46 +00:00
.method public d()Z
2019-12-06 03:29:40 +00:00
.locals 1
const/4 v0, 0x1
return v0
.end method
2020-03-14 02:12:46 +00:00
.method public final e(Ljava/lang/Object;)Ljava/lang/String;
2019-12-06 03:29:40 +00:00
.locals 2
2020-05-07 23:11:04 +00:00
instance-of v0, p1, Lz/a/h1$b;
2019-12-06 03:29:40 +00:00
const-string v1, "Active"
if-eqz v0, :cond_1
2020-05-07 23:11:04 +00:00
check-cast p1, Lz/a/h1$b;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p1}, Lz/a/h1$b;->c()Z
2019-12-06 03:29:40 +00:00
move-result v0
if-eqz v0, :cond_0
const-string v1, "Cancelling"
goto :goto_0
:cond_0
2020-05-07 23:11:04 +00:00
iget-boolean p1, p1, Lz/a/h1$b;->isCompleting:Z
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_5
const-string v1, "Completing"
goto :goto_0
:cond_1
2020-05-07 23:11:04 +00:00
instance-of v0, p1, Lz/a/y0;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_3
2020-05-07 23:11:04 +00:00
check-cast p1, Lz/a/y0;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-interface {p1}, Lz/a/y0;->a()Z
2019-12-06 03:29:40 +00:00
move-result p1
if-eqz p1, :cond_2
goto :goto_0
:cond_2
const-string v1, "New"
goto :goto_0
:cond_3
2020-05-07 23:11:04 +00:00
instance-of p1, p1, Lz/a/q;
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_4
const-string v1, "Cancelled"
goto :goto_0
:cond_4
const-string v1, "Completed"
:cond_5
:goto_0
return-object v1
.end method
2020-03-14 02:12:46 +00:00
.method public e()Z
.locals 1
const/4 v0, 0x1
return v0
.end method
2019-12-06 03:29:40 +00:00
.method public f()Z
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public fold(Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(TR;",
"Lkotlin/jvm/functions/Function2<",
"-TR;-",
"Lkotlin/coroutines/CoroutineContext$a;",
"+TR;>;)TR;"
}
.end annotation
if-eqz p2, :cond_0
invoke-static {p0, p1, p2}, Lkotlin/coroutines/CoroutineContext$a$a;->fold(Lkotlin/coroutines/CoroutineContext$a;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;
move-result-object p1
return-object p1
:cond_0
const-string p1, "operation"
2020-05-07 23:11:04 +00:00
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
.end method
.method public final g()Ljava/lang/Object;
.locals 2
:goto_0
2020-05-07 23:11:04 +00:00
iget-object v0, p0, Lz/a/h1;->_state:Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
instance-of v1, v0, Lz/a/a2/s;
2019-12-06 03:29:40 +00:00
if-nez v1, :cond_0
return-object v0
:cond_0
2020-05-07 23:11:04 +00:00
check-cast v0, Lz/a/a2/s;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {v0, p0}, Lz/a/a2/s;->a(Ljava/lang/Object;)Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
goto :goto_0
.end method
.method public get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<E::",
"Lkotlin/coroutines/CoroutineContext$a;",
">(",
"Lkotlin/coroutines/CoroutineContext$b<",
"TE;>;)TE;"
}
.end annotation
if-eqz p1, :cond_0
invoke-static {p0, p1}, Lkotlin/coroutines/CoroutineContext$a$a;->get(Lkotlin/coroutines/CoroutineContext$a;Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
move-result-object p1
return-object p1
:cond_0
const-string p1, "key"
2020-05-07 23:11:04 +00:00
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
.end method
.method public final getKey()Lkotlin/coroutines/CoroutineContext$b;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lkotlin/coroutines/CoroutineContext$b<",
"*>;"
}
.end annotation
sget-object v0, Lkotlinx/coroutines/Job;->c:Lkotlinx/coroutines/Job$a;
return-object v0
.end method
.method public final h()Z
.locals 1
2020-05-07 23:11:04 +00:00
invoke-virtual {p0}, Lz/a/h1;->g()Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object v0
2020-05-07 23:11:04 +00:00
instance-of v0, v0, Lz/a/y0;
2019-12-06 03:29:40 +00:00
xor-int/lit8 v0, v0, 0x1
return v0
.end method
.method public i()Ljava/lang/String;
.locals 1
2020-05-07 23:11:04 +00:00
invoke-static {p0}, Lz/a/e0;->a(Ljava/lang/Object;)Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object v0
return-object v0
.end method
.method public j()V
.locals 0
return-void
.end method
.method public minusKey(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/coroutines/CoroutineContext$b<",
"*>;)",
"Lkotlin/coroutines/CoroutineContext;"
}
.end annotation
if-eqz p1, :cond_0
invoke-static {p0, p1}, Lkotlin/coroutines/CoroutineContext$a$a;->minusKey(Lkotlin/coroutines/CoroutineContext$a;Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext;
move-result-object p1
return-object p1
:cond_0
const-string p1, "key"
2020-05-07 23:11:04 +00:00
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
.end method
.method public plus(Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext;
.locals 0
if-eqz p1, :cond_0
invoke-static {p0, p1}, Lkotlin/coroutines/CoroutineContext$a$a;->plus(Lkotlin/coroutines/CoroutineContext$a;Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext;
move-result-object p1
return-object p1
:cond_0
const-string p1, "context"
2020-05-07 23:11:04 +00:00
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
.end method
.method public final start()Z
.locals 6
:goto_0
2020-05-07 23:11:04 +00:00
invoke-virtual {p0}, Lz/a/h1;->g()Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object v0
2020-05-07 23:11:04 +00:00
instance-of v1, v0, Lz/a/q0;
2019-12-06 03:29:40 +00:00
const/4 v2, -0x1
const/4 v3, 0x0
const/4 v4, 0x1
if-eqz v1, :cond_2
move-object v1, v0
2020-05-07 23:11:04 +00:00
check-cast v1, Lz/a/q0;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
iget-boolean v1, v1, Lz/a/q0;->d:Z
2019-12-06 03:29:40 +00:00
if-eqz v1, :cond_0
goto :goto_2
:cond_0
2020-05-07 23:11:04 +00:00
sget-object v1, Lz/a/h1;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
sget-object v5, Lz/a/i1;->c:Lz/a/q0;
2019-12-06 03:29:40 +00:00
invoke-virtual {v1, p0, v0, v5}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_1
goto :goto_3
:cond_1
2020-05-07 23:11:04 +00:00
invoke-virtual {p0}, Lz/a/h1;->j()V
2019-12-06 03:29:40 +00:00
goto :goto_1
:cond_2
2020-05-07 23:11:04 +00:00
instance-of v1, v0, Lz/a/x0;
2019-12-06 03:29:40 +00:00
if-eqz v1, :cond_4
2020-05-07 23:11:04 +00:00
sget-object v1, Lz/a/h1;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2019-12-06 03:29:40 +00:00
move-object v5, v0
2020-05-07 23:11:04 +00:00
check-cast v5, Lz/a/x0;
2019-12-06 03:29:40 +00:00
2020-05-07 23:11:04 +00:00
iget-object v5, v5, Lz/a/x0;->d:Lz/a/l1;
2019-12-06 03:29:40 +00:00
invoke-virtual {v1, p0, v0, v5}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_3
goto :goto_3
:cond_3
2020-05-07 23:11:04 +00:00
invoke-virtual {p0}, Lz/a/h1;->j()V
2019-12-06 03:29:40 +00:00
:goto_1
const/4 v2, 0x1
goto :goto_3
:cond_4
:goto_2
const/4 v2, 0x0
:goto_3
if-eqz v2, :cond_6
if-eq v2, v4, :cond_5
goto :goto_0
:cond_5
return v4
:cond_6
return v3
.end method
.method public toString()Ljava/lang/String;
.locals 3
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
2020-05-07 23:11:04 +00:00
invoke-virtual {p0}, Lz/a/h1;->i()Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object v2
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 v2, 0x7b
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2020-05-07 23:11:04 +00:00
invoke-virtual {p0}, Lz/a/h1;->g()Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object v2
2020-05-07 23:11:04 +00:00
invoke-virtual {p0, v2}, Lz/a/h1;->e(Ljava/lang/Object;)Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object v2
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 v2, 0x7d
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 v1, 0x40
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2020-05-07 23:11:04 +00:00
invoke-static {p0}, Lz/a/e0;->b(Ljava/lang/Object;)Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method