2020-09-02 04:07:20 +00:00
|
|
|
.class public Ll0/a/a1;
|
2020-09-16 23:45:23 +00:00
|
|
|
.super Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
.source "JobSupport.kt"
|
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
# interfaces
|
2020-09-16 23:45:23 +00:00
|
|
|
.implements Lkotlinx/coroutines/Job;
|
|
|
|
.implements Ll0/a/l;
|
|
|
|
.implements Ll0/a/h1;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Ll0/a/a1$b;,
|
|
|
|
Ll0/a/a1$a;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
|
|
|
.field public static final d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
|
2020-09-16 21:45:36 +00:00
|
|
|
# instance fields
|
2020-09-16 23:45:23 +00:00
|
|
|
.field public volatile _parentHandle:Ljava/lang/Object;
|
|
|
|
|
|
|
|
.field public volatile _state:Ljava/lang/Object;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static constructor <clinit>()V
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
const-class v0, Ll0/a/a1;
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
sput-object v0, Ll0/a/a1;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
sget-object p1, Ll0/a/b1;->g:Ll0/a/j0;
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
sget-object p1, Ll0/a/b1;->f:Ll0/a/j0;
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
iput-object p1, p0, Ll0/a/a1;->_state:Ljava/lang/Object;
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
iput-object p1, p0, Ll0/a/a1;->_parentHandle:Ljava/lang/Object;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final A()Ljava/lang/Object;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
iget-object v0, p0, Ll0/a/a1;->_state:Ljava/lang/Object;
|
|
|
|
|
|
|
|
instance-of v1, v0, Ll0/a/r1/k;
|
|
|
|
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
check-cast v0, Ll0/a/r1/k;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0}, Ll0/a/r1/k;->a(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public B(Ljava/lang/Throwable;)Z
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
return p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public C(Ljava/lang/Throwable;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final D(Lkotlinx/coroutines/Job;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
|
|
|
|
sget-object p1, Ll0/a/f1;->d:Ll0/a/f1;
|
|
|
|
|
|
|
|
iput-object p1, p0, Ll0/a/a1;->_parentHandle:Ljava/lang/Object;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-interface {p1}, Lkotlinx/coroutines/Job;->start()Z
|
|
|
|
|
|
|
|
invoke-interface {p1, p0}, Lkotlinx/coroutines/Job;->q(Ll0/a/l;)Ll0/a/j;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
iput-object p1, p0, Ll0/a/a1;->_parentHandle:Ljava/lang/Object;
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ll0/a/a1;->A()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
instance-of v0, v0, Ll0/a/s0;
|
|
|
|
|
|
|
|
xor-int/lit8 v0, v0, 0x1
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ll0/a/h0;->dispose()V
|
|
|
|
|
|
|
|
sget-object p1, Ll0/a/f1;->d:Ll0/a/f1;
|
|
|
|
|
|
|
|
iput-object p1, p0, Ll0/a/a1;->_parentHandle:Ljava/lang/Object;
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public E()Z
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final F(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.locals 4
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-virtual {p0}, Ll0/a/a1;->A()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0, p1}, Ll0/a/a1;->P(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
sget-object v1, Ll0/a/b1;->a:Ll0/a/r1/n;
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_2
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string v2, "Job "
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v2, " is already complete or completing, "
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v2, "but is being completed with "
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
instance-of v2, p1, Ll0/a/p;
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
|
|
|
|
move-object p1, v3
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
check-cast p1, Ll0/a/p;
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
iget-object v3, p1, Ll0/a/p;->a:Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-direct {v0, v1, v3}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
sget-object v1, Ll0/a/b1;->c:Ll0/a/r1/n;
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_3
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final G(Lkotlin/jvm/functions/Function1;Z)Ll0/a/z0;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
|
|
"-",
|
|
|
|
"Ljava/lang/Throwable;",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;Z)",
|
|
|
|
"Ll0/a/z0<",
|
|
|
|
"*>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
|
|
|
|
instance-of p2, p1, Ll0/a/x0;
|
|
|
|
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
move-object v0, p1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
check-cast v0, Ll0/a/x0;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance v0, Ll0/a/v0;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0, p1}, Ll0/a/v0;-><init>(Lkotlinx/coroutines/Job;Lkotlin/jvm/functions/Function1;)V
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
instance-of p2, p1, Ll0/a/z0;
|
|
|
|
|
|
|
|
if-nez p2, :cond_3
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
move-object v0, p1
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
check-cast v0, Ll0/a/z0;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
new-instance v0, Ll0/a/w0;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0, p1}, Ll0/a/w0;-><init>(Lkotlinx/coroutines/Job;Lkotlin/jvm/functions/Function1;)V
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public H()Ljava/lang/String;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final I(Ll0/a/r1/g;)Ll0/a/k;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-virtual {p1}, Ll0/a/r1/g;->g()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ll0/a/r1/g;->f()Ll0/a/r1/g;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:goto_1
|
|
|
|
invoke-virtual {p1}, Ll0/a/r1/g;->e()Ll0/a/r1/g;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ll0/a/r1/g;->g()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
instance-of v0, p1, Ll0/a/k;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
|
|
|
|
check-cast p1, Ll0/a/k;
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
instance-of v0, p1, Ll0/a/e1;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final J(Ll0/a/e1;Ljava/lang/Throwable;)V
|
|
|
|
.locals 6
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ll0/a/r1/g;->d()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
|
|
|
|
check-cast v1, Ll0/a/r1/g;
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-static {v1, p1}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
xor-int/lit8 v2, v2, 0x1
|
|
|
|
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
|
|
|
|
instance-of v2, v1, Ll0/a/x0;
|
|
|
|
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
|
|
|
|
move-object v2, v1
|
|
|
|
|
|
|
|
check-cast v2, Ll0/a/z0;
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
invoke-virtual {v2, p2}, Ll0/a/s;->i(Ljava/lang/Throwable;)V
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v3
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
invoke-static {v0, v3}, Lf/h/a/f/e/n/f;->addSuppressed(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance v0, Lkotlinx/coroutines/CompletionHandlerException;
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
invoke-direct {v0, v2, v3}, Lkotlinx/coroutines/CompletionHandlerException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_1
|
|
|
|
invoke-virtual {v1}, Ll0/a/r1/g;->e()Ll0/a/r1/g;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ll0/a/a1;->C(Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
invoke-virtual {p0, p2}, Ll0/a/a1;->n(Ljava/lang/Throwable;)Z
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
new-instance p1, Lkotlin/TypeCastException;
|
|
|
|
|
|
|
|
const-string p2, "null cannot be cast to non-null type kotlinx.coroutines.internal.Node /* = kotlinx.coroutines.internal.LockFreeLinkedListNode */"
|
|
|
|
|
|
|
|
invoke-direct {p1, p2}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public K(Ljava/lang/Object;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public L()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final M(Ll0/a/z0;)V
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ll0/a/z0<",
|
|
|
|
"*>;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
new-instance v0, Ll0/a/e1;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ll0/a/e1;-><init>()V
|
|
|
|
|
|
|
|
sget-object v1, Ll0/a/r1/g;->e:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
|
|
|
|
invoke-virtual {v1, v0, p1}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->lazySet(Ljava/lang/Object;Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
sget-object v1, Ll0/a/r1/g;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
|
|
|
|
invoke-virtual {v1, v0, p1}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->lazySet(Ljava/lang/Object;Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p1}, Ll0/a/r1/g;->d()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
if-eq v1, p1, :cond_1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
sget-object v1, Ll0/a/r1/g;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
|
|
|
|
invoke-virtual {v1, p1, p1, v0}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Ll0/a/r1/g;->c(Ll0/a/r1/g;)V
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-virtual {p1}, Ll0/a/r1/g;->e()Ll0/a/r1/g;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
sget-object v1, Ll0/a/a1;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
|
|
|
|
invoke-virtual {v1, p0, p1, v0}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final N(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
instance-of v0, p1, Ll0/a/a1$b;
|
|
|
|
|
|
|
|
const-string v1, "Active"
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
check-cast p1, Ll0/a/a1$b;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ll0/a/a1$b;->d()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const-string v1, "Cancelling"
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iget p1, p1, Ll0/a/a1$b;->_isCompleting:I
|
|
|
|
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
|
|
|
|
const-string v1, "Completing"
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
instance-of v0, p1, Ll0/a/s0;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
|
|
|
|
check-cast p1, Ll0/a/s0;
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ll0/a/s0;->a()Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string v1, "New"
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
instance-of p1, p1, Ll0/a/p;
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
.method public final O(Ljava/lang/Throwable;Ljava/lang/String;)Ljava/util/concurrent/CancellationException;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
instance-of v0, p1, Ljava/util/concurrent/CancellationException;
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
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
|
|
|
|
new-instance v0, Lkotlinx/coroutines/JobCancellationException;
|
|
|
|
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
invoke-virtual {p0}, Ll0/a/a1;->r()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
invoke-direct {v0, p2, p1, p0}, Lkotlinx/coroutines/JobCancellationException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;Lkotlinx/coroutines/Job;)V
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final P(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.locals 6
|
|
|
|
|
|
|
|
instance-of v0, p1, Ll0/a/s0;
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
sget-object p1, Ll0/a/b1;->a:Ll0/a/r1/n;
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
instance-of v0, p1, Ll0/a/j0;
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
instance-of v0, p1, Ll0/a/z0;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
instance-of v0, p1, Ll0/a/k;
|
|
|
|
|
|
|
|
if-nez v0, :cond_5
|
|
|
|
|
|
|
|
instance-of v0, p2, Ll0/a/p;
|
|
|
|
|
|
|
|
if-nez v0, :cond_5
|
|
|
|
|
|
|
|
check-cast p1, Ll0/a/s0;
|
|
|
|
|
|
|
|
sget-object v0, Ll0/a/a1;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
|
|
|
|
instance-of v3, p2, Ll0/a/s0;
|
|
|
|
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
|
|
|
|
new-instance v3, Ll0/a/t0;
|
|
|
|
|
|
|
|
move-object v4, p2
|
|
|
|
|
|
|
|
check-cast v4, Ll0/a/s0;
|
|
|
|
|
|
|
|
invoke-direct {v3, v4}, Ll0/a/t0;-><init>(Ll0/a/s0;)V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
move-object v3, p2
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-virtual {v0, p0, p1, v3}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
invoke-virtual {p0, p2}, Ll0/a/a1;->K(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2}, Ll0/a/a1;->t(Ll0/a/s0;Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
|
|
|
|
return-object p2
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
sget-object p1, Ll0/a/b1;->c:Ll0/a/r1/n;
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
check-cast p1, Ll0/a/s0;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Ll0/a/a1;->z(Ll0/a/s0;)Ll0/a/e1;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_12
|
|
|
|
|
|
|
|
instance-of v3, p1, Ll0/a/a1$b;
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
if-nez v3, :cond_6
|
|
|
|
|
|
|
|
move-object v3, v4
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
move-object v3, p1
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
check-cast v3, Ll0/a/a1$b;
|
|
|
|
|
|
|
|
if-eqz v3, :cond_7
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
new-instance v3, Ll0/a/a1$b;
|
|
|
|
|
|
|
|
invoke-direct {v3, v0, v2, v4}, Ll0/a/a1$b;-><init>(Ll0/a/e1;ZLjava/lang/Throwable;)V
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
monitor-enter v3
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
iget v2, v3, Ll0/a/a1$b;->_isCompleting:I
|
|
|
|
|
|
|
|
if-eqz v2, :cond_8
|
|
|
|
|
|
|
|
sget-object p1, Ll0/a/b1;->a:Ll0/a/r1/n;
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
monitor-exit v3
|
|
|
|
|
|
|
|
goto/16 :goto_8
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
:try_start_1
|
|
|
|
iput v1, v3, Ll0/a/a1$b;->_isCompleting:I
|
|
|
|
|
|
|
|
if-eq v3, p1, :cond_9
|
|
|
|
|
|
|
|
sget-object v2, Ll0/a/a1;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
|
|
|
|
invoke-virtual {v2, p0, p1, v3}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-nez v2, :cond_9
|
|
|
|
|
|
|
|
sget-object p1, Ll0/a/b1;->c:Ll0/a/r1/n;
|
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
monitor-exit v3
|
|
|
|
|
|
|
|
goto :goto_8
|
|
|
|
|
|
|
|
:cond_9
|
|
|
|
:try_start_2
|
|
|
|
invoke-virtual {v3}, Ll0/a/a1$b;->d()Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
instance-of v5, p2, Ll0/a/p;
|
|
|
|
|
|
|
|
if-nez v5, :cond_a
|
|
|
|
|
|
|
|
move-object v5, v4
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_a
|
|
|
|
move-object v5, p2
|
|
|
|
|
|
|
|
:goto_4
|
|
|
|
check-cast v5, Ll0/a/p;
|
|
|
|
|
|
|
|
if-eqz v5, :cond_b
|
|
|
|
|
|
|
|
iget-object v5, v5, Ll0/a/p;->a:Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
invoke-virtual {v3, v5}, Ll0/a/a1$b;->b(Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
:cond_b
|
|
|
|
iget-object v5, v3, Ll0/a/a1$b;->_rootCause:Ljava/lang/Object;
|
|
|
|
|
|
|
|
check-cast v5, Ljava/lang/Throwable;
|
|
|
|
:try_end_2
|
|
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
|
|
|
|
xor-int/2addr v1, v2
|
|
|
|
|
|
|
|
if-eqz v1, :cond_c
|
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_c
|
|
|
|
move-object v5, v4
|
|
|
|
|
|
|
|
:goto_5
|
|
|
|
monitor-exit v3
|
|
|
|
|
|
|
|
if-eqz v5, :cond_d
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0, v5}, Ll0/a/a1;->J(Ll0/a/e1;Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
:cond_d
|
|
|
|
instance-of v0, p1, Ll0/a/k;
|
|
|
|
|
|
|
|
if-nez v0, :cond_e
|
|
|
|
|
|
|
|
move-object v0, v4
|
|
|
|
|
|
|
|
goto :goto_6
|
|
|
|
|
|
|
|
:cond_e
|
|
|
|
move-object v0, p1
|
|
|
|
|
|
|
|
:goto_6
|
|
|
|
check-cast v0, Ll0/a/k;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_f
|
|
|
|
|
|
|
|
move-object v4, v0
|
|
|
|
|
|
|
|
goto :goto_7
|
|
|
|
|
|
|
|
:cond_f
|
|
|
|
invoke-interface {p1}, Ll0/a/s0;->getList()Ll0/a/e1;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_10
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Ll0/a/a1;->I(Ll0/a/r1/g;)Ll0/a/k;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
:cond_10
|
|
|
|
:goto_7
|
|
|
|
if-eqz v4, :cond_11
|
|
|
|
|
|
|
|
invoke-virtual {p0, v3, v4, p2}, Ll0/a/a1;->Q(Ll0/a/a1$b;Ll0/a/k;Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_11
|
|
|
|
|
|
|
|
sget-object p1, Ll0/a/b1;->b:Ll0/a/r1/n;
|
|
|
|
|
|
|
|
goto :goto_8
|
|
|
|
|
|
|
|
:cond_11
|
|
|
|
invoke-virtual {p0, v3, p2}, Ll0/a/a1;->v(Ll0/a/a1$b;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
goto :goto_8
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
monitor-exit v3
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_12
|
|
|
|
sget-object p1, Ll0/a/b1;->c:Ll0/a/r1/n;
|
|
|
|
|
|
|
|
:goto_8
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final Q(Ll0/a/a1$b;Ll0/a/k;Ljava/lang/Object;)Z
|
|
|
|
.locals 6
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
iget-object v0, p2, Ll0/a/k;->h:Ll0/a/l;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
new-instance v3, Ll0/a/a1$a;
|
|
|
|
|
|
|
|
invoke-direct {v3, p0, p1, p2, p3}, Ll0/a/a1$a;-><init>(Ll0/a/a1;Ll0/a/a1$b;Ll0/a/k;Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
invoke-static/range {v0 .. v5}, Lk0/j/a;->w(Lkotlinx/coroutines/Job;ZZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ll0/a/h0;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
sget-object v1, Ll0/a/f1;->d:Ll0/a/f1;
|
|
|
|
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
return p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p0, p2}, Ll0/a/a1;->I(Ll0/a/r1/g;)Ll0/a/k;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
return p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public a()Z
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ll0/a/a1;->A()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
instance-of v1, v0, Ll0/a/s0;
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
check-cast v0, Ll0/a/s0;
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ll0/a/s0;->a()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final d(ZZLkotlin/jvm/functions/Function1;)Ll0/a/h0;
|
|
|
|
.locals 7
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(ZZ",
|
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
|
|
"-",
|
|
|
|
"Ljava/lang/Throwable;",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;)",
|
|
|
|
"Ll0/a/h0;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
move-object v1, v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:goto_0
|
|
|
|
invoke-virtual {p0}, Ll0/a/a1;->A()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
instance-of v3, v2, Ll0/a/j0;
|
|
|
|
|
|
|
|
if-eqz v3, :cond_4
|
|
|
|
|
|
|
|
move-object v3, v2
|
|
|
|
|
|
|
|
check-cast v3, Ll0/a/j0;
|
|
|
|
|
|
|
|
iget-boolean v4, v3, Ll0/a/j0;->d:Z
|
|
|
|
|
|
|
|
if-eqz v4, :cond_2
|
|
|
|
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-virtual {p0, p3, p1}, Ll0/a/a1;->G(Lkotlin/jvm/functions/Function1;Z)Ll0/a/z0;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
sget-object v3, Ll0/a/a1;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
|
|
|
|
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
|
|
|
|
new-instance v2, Ll0/a/e1;
|
|
|
|
|
|
|
|
invoke-direct {v2}, Ll0/a/e1;-><init>()V
|
|
|
|
|
|
|
|
iget-boolean v4, v3, Ll0/a/j0;->d:Z
|
|
|
|
|
|
|
|
if-eqz v4, :cond_3
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
new-instance v4, Ll0/a/r0;
|
|
|
|
|
|
|
|
invoke-direct {v4, v2}, Ll0/a/r0;-><init>(Ll0/a/e1;)V
|
|
|
|
|
|
|
|
move-object v2, v4
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
sget-object v4, Ll0/a/a1;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
|
|
|
|
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
|
|
|
|
instance-of v3, v2, Ll0/a/s0;
|
|
|
|
|
|
|
|
if-eqz v3, :cond_10
|
|
|
|
|
|
|
|
move-object v3, v2
|
|
|
|
|
|
|
|
check-cast v3, Ll0/a/s0;
|
|
|
|
|
|
|
|
invoke-interface {v3}, Ll0/a/s0;->getList()Ll0/a/e1;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
if-nez v3, :cond_6
|
|
|
|
|
|
|
|
if-eqz v2, :cond_5
|
|
|
|
|
|
|
|
check-cast v2, Ll0/a/z0;
|
|
|
|
|
|
|
|
invoke-virtual {p0, v2}, Ll0/a/a1;->M(Ll0/a/z0;)V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
new-instance p1, Lkotlin/TypeCastException;
|
|
|
|
|
|
|
|
const-string p2, "null cannot be cast to non-null type kotlinx.coroutines.JobNode<*>"
|
|
|
|
|
|
|
|
invoke-direct {p1, p2}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
sget-object v4, Ll0/a/f1;->d:Ll0/a/f1;
|
|
|
|
|
|
|
|
if-eqz p1, :cond_c
|
|
|
|
|
|
|
|
instance-of v5, v2, Ll0/a/a1$b;
|
|
|
|
|
|
|
|
if-eqz v5, :cond_c
|
|
|
|
|
|
|
|
monitor-enter v2
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
move-object v5, v2
|
|
|
|
|
|
|
|
check-cast v5, Ll0/a/a1$b;
|
|
|
|
|
|
|
|
iget-object v5, v5, Ll0/a/a1$b;->_rootCause:Ljava/lang/Object;
|
|
|
|
|
|
|
|
check-cast v5, Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
if-eqz v5, :cond_7
|
|
|
|
|
|
|
|
instance-of v6, p3, Ll0/a/k;
|
|
|
|
|
|
|
|
if-eqz v6, :cond_b
|
|
|
|
|
|
|
|
move-object v6, v2
|
|
|
|
|
|
|
|
check-cast v6, Ll0/a/a1$b;
|
|
|
|
|
|
|
|
iget v6, v6, Ll0/a/a1$b;->_isCompleting:I
|
|
|
|
|
|
|
|
if-nez v6, :cond_b
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
if-eqz v1, :cond_8
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
invoke-virtual {p0, p3, p1}, Ll0/a/a1;->G(Lkotlin/jvm/functions/Function1;Z)Ll0/a/z0;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
invoke-virtual {p0, v2, v3, v1}, Ll0/a/a1;->i(Ljava/lang/Object;Ll0/a/e1;Ll0/a/z0;)Z
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
if-nez v4, :cond_9
|
|
|
|
|
|
|
|
monitor-exit v2
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
: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
|
|
|
|
invoke-virtual {p0, p3, p1}, Ll0/a/a1;->G(Lkotlin/jvm/functions/Function1;Z)Ll0/a/z0;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
:goto_5
|
|
|
|
invoke-virtual {p0, v2, v3, v1}, Ll0/a/a1;->i(Ljava/lang/Object;Ll0/a/e1;Ll0/a/z0;)Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
|
|
|
|
return-object v1
|
|
|
|
|
|
|
|
:cond_10
|
|
|
|
if-eqz p2, :cond_13
|
|
|
|
|
|
|
|
instance-of p1, v2, Ll0/a/p;
|
|
|
|
|
|
|
|
if-nez p1, :cond_11
|
|
|
|
|
|
|
|
move-object v2, v0
|
|
|
|
|
|
|
|
:cond_11
|
|
|
|
check-cast v2, Ll0/a/p;
|
|
|
|
|
|
|
|
if-eqz v2, :cond_12
|
|
|
|
|
|
|
|
iget-object v0, v2, Ll0/a/p;->a:Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
:cond_12
|
|
|
|
invoke-interface {p3, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
:cond_13
|
|
|
|
sget-object p1, Ll0/a/f1;->d:Ll0/a/f1;
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final e()Ljava/util/concurrent/CancellationException;
|
|
|
|
.locals 4
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ll0/a/a1;->A()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
instance-of v1, v0, Ll0/a/a1$b;
|
|
|
|
|
|
|
|
const-string v2, "Job is still new or active: "
|
|
|
|
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
|
|
|
check-cast v0, Ll0/a/a1$b;
|
|
|
|
|
|
|
|
iget-object v0, v0, Ll0/a/a1$b;->_rootCause:Ljava/lang/Object;
|
|
|
|
|
|
|
|
check-cast v0, Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v2, " is cancelling"
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0, v1}, Ll0/a/a1;->O(Ljava/lang/Throwable;Ljava/lang/String;)Ljava/util/concurrent/CancellationException;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
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
|
|
|
|
instance-of v1, v0, Ll0/a/s0;
|
|
|
|
|
|
|
|
if-nez v1, :cond_3
|
|
|
|
|
|
|
|
instance-of v1, v0, Ll0/a/p;
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
|
|
|
|
check-cast v0, Ll0/a/p;
|
|
|
|
|
|
|
|
iget-object v0, v0, Ll0/a/p;->a:Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0, v2}, Ll0/a/a1;->O(Ljava/lang/Throwable;Ljava/lang/String;)Ljava/util/concurrent/CancellationException;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
new-instance v0, Lkotlinx/coroutines/JobCancellationException;
|
|
|
|
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, v2, p0}, Lkotlinx/coroutines/JobCancellationException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;Lkotlinx/coroutines/Job;)V
|
|
|
|
|
|
|
|
: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 f(Ll0/a/h1;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Ll0/a/a1;->m(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.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
|
|
|
|
|
|
|
|
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
|
|
|
|
.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
|
|
|
|
|
|
|
|
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
|
|
|
|
.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(Lkotlin/jvm/functions/Function1;)Ll0/a/h0;
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
|
|
"-",
|
|
|
|
"Ljava/lang/Throwable;",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;)",
|
|
|
|
"Ll0/a/h0;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0, v1, p1}, Ll0/a/a1;->d(ZZLkotlin/jvm/functions/Function1;)Ll0/a/h0;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final i(Ljava/lang/Object;Ll0/a/e1;Ll0/a/z0;)Z
|
|
|
|
.locals 5
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"Ll0/a/e1;",
|
|
|
|
"Ll0/a/z0<",
|
|
|
|
"*>;)Z"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
new-instance v0, Ll0/a/a1$c;
|
|
|
|
|
|
|
|
invoke-direct {v0, p3, p3, p0, p1}, Ll0/a/a1$c;-><init>(Ll0/a/r1/g;Ll0/a/r1/g;Ll0/a/a1;Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-virtual {p2}, Ll0/a/r1/g;->f()Ll0/a/r1/g;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
sget-object v1, Ll0/a/r1/g;->e:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
|
|
|
|
invoke-virtual {v1, p3, p1}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->lazySet(Ljava/lang/Object;Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
sget-object v1, Ll0/a/r1/g;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
|
|
|
|
invoke-virtual {v1, p3, p2}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->lazySet(Ljava/lang/Object;Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
iput-object p2, v0, Ll0/a/r1/g$a;->b:Ll0/a/r1/g;
|
|
|
|
|
|
|
|
sget-object v1, Ll0/a/r1/g;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
|
|
|
|
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, 0x0
|
|
|
|
|
|
|
|
const/4 v3, 0x2
|
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {v0, p1}, Ll0/a/r1/c;->a(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 p1, 0x2
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
if-eq p1, v4, :cond_2
|
|
|
|
|
|
|
|
if-eq p1, v3, :cond_3
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
return v2
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public k(Ljava/lang/Object;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public l()Ljava/util/concurrent/CancellationException;
|
|
|
|
.locals 4
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ll0/a/a1;->A()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
instance-of v1, v0, Ll0/a/a1$b;
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
move-object v1, v0
|
|
|
|
|
|
|
|
check-cast v1, Ll0/a/a1$b;
|
|
|
|
|
|
|
|
iget-object v1, v1, Ll0/a/a1$b;->_rootCause:Ljava/lang/Object;
|
|
|
|
|
|
|
|
check-cast v1, Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
instance-of v1, v0, Ll0/a/p;
|
|
|
|
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
|
|
|
move-object v1, v0
|
|
|
|
|
|
|
|
check-cast v1, Ll0/a/p;
|
|
|
|
|
|
|
|
iget-object v1, v1, Ll0/a/p;->a:Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
instance-of v1, v0, Ll0/a/s0;
|
|
|
|
|
|
|
|
if-nez v1, :cond_4
|
|
|
|
|
|
|
|
move-object v1, v2
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
instance-of v3, v1, Ljava/util/concurrent/CancellationException;
|
|
|
|
|
|
|
|
if-nez v3, :cond_2
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
move-object v2, v1
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
check-cast v2, Ljava/util/concurrent/CancellationException;
|
|
|
|
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
new-instance v2, Lkotlinx/coroutines/JobCancellationException;
|
|
|
|
|
|
|
|
const-string v3, "Parent job is "
|
|
|
|
|
|
|
|
invoke-static {v3}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ll0/a/a1;->N(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
invoke-direct {v2, v0, v1, p0}, Lkotlinx/coroutines/JobCancellationException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;Lkotlinx/coroutines/Job;)V
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
return-object v2
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string v2, "Cannot be cancelling child in this state: "
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, 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 m(Ljava/lang/Object;)Z
|
|
|
|
.locals 9
|
|
|
|
|
|
|
|
sget-object v0, Ll0/a/b1;->a:Ll0/a/r1/n;
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ll0/a/a1;->y()Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
const/4 v2, 0x2
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p0}, Ll0/a/a1;->A()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
instance-of v1, v0, Ll0/a/s0;
|
|
|
|
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
|
|
|
|
instance-of v1, v0, Ll0/a/a1$b;
|
|
|
|
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
|
|
|
move-object v1, v0
|
|
|
|
|
|
|
|
check-cast v1, Ll0/a/a1$b;
|
|
|
|
|
|
|
|
iget v1, v1, Ll0/a/a1$b;->_isCompleting:I
|
|
|
|
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance v1, Ll0/a/p;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Ll0/a/a1;->u(Ljava/lang/Object;)Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
invoke-direct {v1, v5, v3, v2}, Ll0/a/p;-><init>(Ljava/lang/Throwable;ZI)V
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0, v1}, Ll0/a/a1;->P(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
sget-object v1, Ll0/a/b1;->c:Ll0/a/r1/n;
|
|
|
|
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
:goto_0
|
|
|
|
sget-object v0, Ll0/a/b1;->a:Ll0/a/r1/n;
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
sget-object v1, Ll0/a/b1;->b:Ll0/a/r1/n;
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_3
|
|
|
|
|
|
|
|
return v4
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
sget-object v1, Ll0/a/b1;->a:Ll0/a/r1/n;
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_13
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
move-object v1, v0
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
:goto_2
|
|
|
|
invoke-virtual {p0}, Ll0/a/a1;->A()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
instance-of v6, v5, Ll0/a/a1$b;
|
|
|
|
|
|
|
|
if-eqz v6, :cond_b
|
|
|
|
|
|
|
|
monitor-enter v5
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
move-object v2, v5
|
|
|
|
|
|
|
|
check-cast v2, Ll0/a/a1$b;
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ll0/a/a1$b;->e()Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-eqz v2, :cond_5
|
|
|
|
|
|
|
|
sget-object p1, Ll0/a/b1;->d:Ll0/a/r1/n;
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
monitor-exit v5
|
|
|
|
|
|
|
|
goto/16 :goto_7
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
:try_start_1
|
|
|
|
move-object v2, v5
|
|
|
|
|
|
|
|
check-cast v2, Ll0/a/a1$b;
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ll0/a/a1$b;->d()Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-nez p1, :cond_6
|
|
|
|
|
|
|
|
if-nez v2, :cond_8
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
if-eqz v1, :cond_7
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
invoke-virtual {p0, p1}, Ll0/a/a1;->u(Ljava/lang/Object;)Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
move-object p1, v5
|
|
|
|
|
|
|
|
check-cast p1, Ll0/a/a1$b;
|
|
|
|
|
|
|
|
invoke-virtual {p1, v1}, Ll0/a/a1$b;->b(Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
move-object p1, v5
|
|
|
|
|
|
|
|
check-cast p1, Ll0/a/a1$b;
|
|
|
|
|
|
|
|
iget-object p1, p1, Ll0/a/a1$b;->_rootCause:Ljava/lang/Object;
|
|
|
|
|
|
|
|
check-cast p1, Ljava/lang/Throwable;
|
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
xor-int/lit8 v1, v2, 0x1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_9
|
|
|
|
|
|
|
|
move-object v0, p1
|
|
|
|
|
|
|
|
:cond_9
|
|
|
|
monitor-exit v5
|
|
|
|
|
|
|
|
if-eqz v0, :cond_a
|
|
|
|
|
|
|
|
check-cast v5, Ll0/a/a1$b;
|
|
|
|
|
|
|
|
iget-object p1, v5, Ll0/a/a1$b;->d:Ll0/a/e1;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, v0}, Ll0/a/a1;->J(Ll0/a/e1;Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
:cond_a
|
|
|
|
sget-object p1, Ll0/a/b1;->a:Ll0/a/r1/n;
|
|
|
|
|
|
|
|
goto/16 :goto_7
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
monitor-exit v5
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_b
|
|
|
|
instance-of v6, v5, Ll0/a/s0;
|
|
|
|
|
|
|
|
if-eqz v6, :cond_12
|
|
|
|
|
|
|
|
if-eqz v1, :cond_c
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_c
|
|
|
|
invoke-virtual {p0, p1}, Ll0/a/a1;->u(Ljava/lang/Object;)Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
:goto_4
|
|
|
|
move-object v6, v5
|
|
|
|
|
|
|
|
check-cast v6, Ll0/a/s0;
|
|
|
|
|
|
|
|
invoke-interface {v6}, Ll0/a/s0;->a()Z
|
|
|
|
|
|
|
|
move-result v7
|
|
|
|
|
|
|
|
if-eqz v7, :cond_f
|
|
|
|
|
|
|
|
invoke-virtual {p0, v6}, Ll0/a/a1;->z(Ll0/a/s0;)Ll0/a/e1;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
if-eqz v5, :cond_e
|
|
|
|
|
|
|
|
new-instance v7, Ll0/a/a1$b;
|
|
|
|
|
|
|
|
invoke-direct {v7, v5, v3, v1}, Ll0/a/a1$b;-><init>(Ll0/a/e1;ZLjava/lang/Throwable;)V
|
|
|
|
|
|
|
|
sget-object v8, Ll0/a/a1;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
|
|
|
|
invoke-virtual {v8, p0, v6, v7}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v6
|
|
|
|
|
|
|
|
if-nez v6, :cond_d
|
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_d
|
|
|
|
invoke-virtual {p0, v5, v1}, Ll0/a/a1;->J(Ll0/a/e1;Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
const/4 v5, 0x1
|
|
|
|
|
|
|
|
goto :goto_6
|
|
|
|
|
|
|
|
:cond_e
|
|
|
|
:goto_5
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
:goto_6
|
|
|
|
if-eqz v5, :cond_4
|
|
|
|
|
|
|
|
sget-object p1, Ll0/a/b1;->a:Ll0/a/r1/n;
|
|
|
|
|
|
|
|
goto :goto_7
|
|
|
|
|
|
|
|
:cond_f
|
|
|
|
new-instance v6, Ll0/a/p;
|
|
|
|
|
|
|
|
invoke-direct {v6, v1, v3, v2}, Ll0/a/p;-><init>(Ljava/lang/Throwable;ZI)V
|
|
|
|
|
|
|
|
invoke-virtual {p0, v5, v6}, Ll0/a/a1;->P(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
sget-object v7, Ll0/a/b1;->a:Ll0/a/r1/n;
|
|
|
|
|
|
|
|
if-eq v6, v7, :cond_11
|
|
|
|
|
|
|
|
sget-object v5, Ll0/a/b1;->c:Ll0/a/r1/n;
|
|
|
|
|
|
|
|
if-ne v6, v5, :cond_10
|
|
|
|
|
|
|
|
goto/16 :goto_2
|
|
|
|
|
|
|
|
:cond_10
|
|
|
|
move-object v0, v6
|
|
|
|
|
|
|
|
goto :goto_8
|
|
|
|
|
|
|
|
:cond_11
|
|
|
|
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, v5}, 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_12
|
|
|
|
sget-object p1, Ll0/a/b1;->d:Ll0/a/r1/n;
|
|
|
|
|
|
|
|
:goto_7
|
|
|
|
move-object v0, p1
|
|
|
|
|
|
|
|
:cond_13
|
|
|
|
:goto_8
|
|
|
|
sget-object p1, Ll0/a/b1;->a:Ll0/a/r1/n;
|
|
|
|
|
|
|
|
if-ne v0, p1, :cond_14
|
|
|
|
|
|
|
|
:goto_9
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
goto :goto_a
|
|
|
|
|
|
|
|
:cond_14
|
|
|
|
sget-object p1, Ll0/a/b1;->b:Ll0/a/r1/n;
|
|
|
|
|
|
|
|
if-ne v0, p1, :cond_15
|
|
|
|
|
|
|
|
goto :goto_9
|
|
|
|
|
|
|
|
:cond_15
|
|
|
|
sget-object p1, Ll0/a/b1;->d:Ll0/a/r1/n;
|
|
|
|
|
|
|
|
if-ne v0, p1, :cond_16
|
|
|
|
|
|
|
|
goto :goto_a
|
|
|
|
|
|
|
|
:cond_16
|
|
|
|
invoke-virtual {p0, v0}, Ll0/a/a1;->k(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
goto :goto_9
|
|
|
|
|
|
|
|
:goto_a
|
|
|
|
return v3
|
|
|
|
.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
|
|
|
|
|
|
|
|
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
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final n(Ljava/lang/Throwable;)Z
|
|
|
|
.locals 4
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ll0/a/a1;->E()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
instance-of v0, p1, Ljava/util/concurrent/CancellationException;
|
|
|
|
|
|
|
|
iget-object v2, p0, Ll0/a/a1;->_parentHandle:Ljava/lang/Object;
|
|
|
|
|
|
|
|
check-cast v2, Ll0/a/j;
|
|
|
|
|
|
|
|
if-eqz v2, :cond_4
|
|
|
|
|
|
|
|
sget-object v3, Ll0/a/f1;->d:Ll0/a/f1;
|
|
|
|
|
|
|
|
if-ne v2, v3, :cond_1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-interface {v2, p1}, Ll0/a/j;->h(Ljava/lang/Throwable;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-nez p1, :cond_3
|
|
|
|
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
:goto_0
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
:goto_1
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public o(Ljava/util/concurrent/CancellationException;)V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
new-instance v0, Lkotlinx/coroutines/JobCancellationException;
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ll0/a/a1;->r()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, p1, p0}, Lkotlinx/coroutines/JobCancellationException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;Lkotlinx/coroutines/Job;)V
|
|
|
|
|
|
|
|
move-object p1, v0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-virtual {p0, p1}, Ll0/a/a1;->m(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public plus(Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext;
|
|
|
|
.locals 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
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final q(Ll0/a/l;)Ll0/a/j;
|
|
|
|
.locals 6
|
|
|
|
|
|
|
|
new-instance v3, Ll0/a/k;
|
|
|
|
|
|
|
|
invoke-direct {v3, p0, p1}, Ll0/a/k;-><init>(Ll0/a/a1;Ll0/a/l;)V
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
const/4 v4, 0x2
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
move-object v0, p0
|
|
|
|
|
|
|
|
invoke-static/range {v0 .. v5}, Lk0/j/a;->w(Lkotlinx/coroutines/Job;ZZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ll0/a/h0;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
check-cast p1, Ll0/a/j;
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance p1, Lkotlin/TypeCastException;
|
|
|
|
|
|
|
|
const-string v0, "null cannot be cast to non-null type kotlinx.coroutines.ChildHandle"
|
|
|
|
|
|
|
|
invoke-direct {p1, v0}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public r()Ljava/lang/String;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "Job was cancelled"
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public s(Ljava/lang/Throwable;)Z
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
instance-of v0, p1, Ljava/util/concurrent/CancellationException;
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p0, p1}, Ll0/a/a1;->m(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ll0/a/a1;->x()Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return v1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final start()Z
|
|
|
|
.locals 6
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-virtual {p0}, Ll0/a/a1;->A()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
instance-of v1, v0, Ll0/a/j0;
|
|
|
|
|
|
|
|
const/4 v2, -0x1
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
|
|
|
|
move-object v1, v0
|
|
|
|
|
|
|
|
check-cast v1, Ll0/a/j0;
|
|
|
|
|
|
|
|
iget-boolean v1, v1, Ll0/a/j0;->d:Z
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
sget-object v1, Ll0/a/a1;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
|
|
|
|
sget-object v5, Ll0/a/b1;->g:Ll0/a/j0;
|
|
|
|
|
|
|
|
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
|
|
|
|
invoke-virtual {p0}, Ll0/a/a1;->L()V
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
instance-of v1, v0, Ll0/a/r0;
|
|
|
|
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
|
|
|
|
sget-object v1, Ll0/a/a1;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
|
|
|
|
move-object v5, v0
|
|
|
|
|
|
|
|
check-cast v5, Ll0/a/r0;
|
|
|
|
|
|
|
|
iget-object v5, v5, Ll0/a/r0;->d:Ll0/a/e1;
|
|
|
|
|
|
|
|
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
|
|
|
|
invoke-virtual {p0}, Ll0/a/a1;->L()V
|
|
|
|
|
|
|
|
: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 final t(Ll0/a/s0;Ljava/lang/Object;)V
|
|
|
|
.locals 7
|
|
|
|
|
|
|
|
iget-object v0, p0, Ll0/a/a1;->_parentHandle:Ljava/lang/Object;
|
|
|
|
|
|
|
|
check-cast v0, Ll0/a/j;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ll0/a/h0;->dispose()V
|
|
|
|
|
|
|
|
sget-object v0, Ll0/a/f1;->d:Ll0/a/f1;
|
|
|
|
|
|
|
|
iput-object v0, p0, Ll0/a/a1;->_parentHandle:Ljava/lang/Object;
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
instance-of v0, p2, Ll0/a/p;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
move-object p2, v1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
check-cast p2, Ll0/a/p;
|
|
|
|
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
|
|
|
|
iget-object p2, p2, Ll0/a/p;->a:Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
move-object p2, v1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
instance-of v0, p1, Ll0/a/z0;
|
|
|
|
|
|
|
|
const-string v2, " for "
|
|
|
|
|
|
|
|
const-string v3, "Exception in completion handler "
|
|
|
|
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
move-object v0, p1
|
|
|
|
|
|
|
|
check-cast v0, Ll0/a/z0;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p2}, Ll0/a/s;->i(Ljava/lang/Throwable;)V
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
goto/16 :goto_3
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p2
|
|
|
|
|
|
|
|
new-instance v0, Lkotlinx/coroutines/CompletionHandlerException;
|
|
|
|
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-direct {v0, p1, p2}, Lkotlinx/coroutines/CompletionHandlerException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ll0/a/a1;->C(Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
invoke-interface {p1}, Ll0/a/s0;->getList()Ll0/a/e1;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_8
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ll0/a/r1/g;->d()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
|
|
|
|
check-cast v0, Ll0/a/r1/g;
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
invoke-static {v0, p1}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
xor-int/lit8 v4, v4, 0x1
|
|
|
|
|
|
|
|
if-eqz v4, :cond_6
|
|
|
|
|
|
|
|
instance-of v4, v0, Ll0/a/z0;
|
|
|
|
|
|
|
|
if-eqz v4, :cond_5
|
|
|
|
|
|
|
|
move-object v4, v0
|
|
|
|
|
|
|
|
check-cast v4, Ll0/a/z0;
|
|
|
|
|
|
|
|
:try_start_1
|
|
|
|
invoke-virtual {v4, p2}, Ll0/a/s;->i(Ljava/lang/Throwable;)V
|
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:catchall_1
|
|
|
|
move-exception v5
|
|
|
|
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
|
|
|
|
invoke-static {v1, v5}, Lf/h/a/f/e/n/f;->addSuppressed(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
new-instance v1, Lkotlinx/coroutines/CompletionHandlerException;
|
|
|
|
|
|
|
|
new-instance v6, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v6, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v6, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v6, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v6, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-direct {v1, v4, v5}, Lkotlinx/coroutines/CompletionHandlerException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
:goto_2
|
|
|
|
invoke-virtual {v0}, Ll0/a/r1/g;->e()Ll0/a/r1/g;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
if-eqz v1, :cond_8
|
|
|
|
|
|
|
|
invoke-virtual {p0, v1}, Ll0/a/a1;->C(Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
new-instance p1, Lkotlin/TypeCastException;
|
|
|
|
|
|
|
|
const-string p2, "null cannot be cast to non-null type kotlinx.coroutines.internal.Node /* = kotlinx.coroutines.internal.LockFreeLinkedListNode */"
|
|
|
|
|
|
|
|
invoke-direct {p1, p2}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
throw p1
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_8
|
|
|
|
:goto_3
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public toString()Ljava/lang/String;
|
2020-07-20 19:00:44 +00:00
|
|
|
.locals 3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p0}, Ll0/a/a1;->H()Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const/16 v2, 0x7b
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p0}, Ll0/a/a1;->A()Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v2
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p0, v2}, Ll0/a/a1;->N(Ljava/lang/Object;)Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +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;
|
|
|
|
|
|
|
|
invoke-static {p0}, Lk0/j/a;->t(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
.method public final u(Ljava/lang/Object;)Ljava/lang/Throwable;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
instance-of v0, p1, Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x1
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
:goto_0
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v0, :cond_2
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz p1, :cond_1
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
check-cast p1, Ljava/lang/Throwable;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 21:45:36 +00:00
|
|
|
goto :goto_1
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
:cond_1
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 p1, 0x0
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance v0, Lkotlinx/coroutines/JobCancellationException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p0}, Ll0/a/a1;->r()Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v1
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {v0, v1, p1, p0}, Lkotlinx/coroutines/JobCancellationException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;Lkotlinx/coroutines/Job;)V
|
|
|
|
|
|
|
|
move-object p1, v0
|
|
|
|
|
|
|
|
goto :goto_1
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_2
|
2020-09-16 21:45:36 +00:00
|
|
|
if-eqz p1, :cond_3
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
check-cast p1, Ll0/a/h1;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-interface {p1}, Ll0/a/h1;->l()Ljava/util/concurrent/CancellationException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
new-instance p1, Lkotlin/TypeCastException;
|
|
|
|
|
|
|
|
const-string v0, "null cannot be cast to non-null type kotlinx.coroutines.ParentJob"
|
|
|
|
|
|
|
|
invoke-direct {p1, v0}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final v(Ll0/a/a1$b;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.locals 7
|
|
|
|
|
|
|
|
instance-of v0, p2, Ll0/a/p;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
move-object v0, v1
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_0
|
|
|
|
move-object v0, p2
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
check-cast v0, Ll0/a/p;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
iget-object v1, v0, Ll0/a/p;->a:Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
monitor-enter p1
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
invoke-virtual {p1}, Ll0/a/a1$b;->d()Z
|
|
|
|
|
|
|
|
invoke-virtual {p1, v1}, Ll0/a/a1$b;->f(Ljava/lang/Throwable;)Ljava/util/List;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, v0}, Ll0/a/a1;->w(Ll0/a/a1$b;Ljava/util/List;)Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
if-eqz v2, :cond_4
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
if-gt v4, v3, :cond_2
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
new-instance v5, Ljava/util/IdentityHashMap;
|
|
|
|
|
|
|
|
invoke-direct {v5, v4}, Ljava/util/IdentityHashMap;-><init>(I)V
|
|
|
|
|
|
|
|
invoke-static {v5}, Ljava/util/Collections;->newSetFromMap(Ljava/util/Map;)Ljava/util/Set;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
:cond_3
|
2020-09-16 23:45:23 +00:00
|
|
|
:goto_1
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
if-eqz v5, :cond_4
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
check-cast v5, Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
if-eq v5, v2, :cond_3
|
|
|
|
|
|
|
|
if-eq v5, v2, :cond_3
|
|
|
|
|
|
|
|
instance-of v6, v5, Ljava/util/concurrent/CancellationException;
|
|
|
|
|
|
|
|
if-nez v6, :cond_3
|
|
|
|
|
|
|
|
invoke-interface {v4, v5}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v6
|
|
|
|
|
|
|
|
if-eqz v6, :cond_3
|
|
|
|
|
|
|
|
invoke-static {v2, v5}, Lf/h/a/f/e/n/f;->addSuppressed(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
:goto_2
|
|
|
|
monitor-exit p1
|
|
|
|
|
2020-09-16 21:45:36 +00:00
|
|
|
const/4 v0, 0x0
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-nez v2, :cond_5
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
if-ne v2, v1, :cond_6
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
new-instance p2, Ll0/a/p;
|
|
|
|
|
|
|
|
const/4 v1, 0x2
|
|
|
|
|
|
|
|
invoke-direct {p2, v2, v0, v1}, Ll0/a/p;-><init>(Ljava/lang/Throwable;ZI)V
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
if-eqz v2, :cond_a
|
|
|
|
|
|
|
|
invoke-virtual {p0, v2}, Ll0/a/a1;->n(Ljava/lang/Throwable;)Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-nez v1, :cond_8
|
|
|
|
|
|
|
|
invoke-virtual {p0, v2}, Ll0/a/a1;->B(Ljava/lang/Throwable;)Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_7
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
:goto_4
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
:goto_5
|
|
|
|
if-eqz v1, :cond_a
|
|
|
|
|
|
|
|
if-eqz p2, :cond_9
|
|
|
|
|
|
|
|
move-object v1, p2
|
|
|
|
|
|
|
|
check-cast v1, Ll0/a/p;
|
|
|
|
|
|
|
|
sget-object v2, Ll0/a/p;->b:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
|
|
|
|
|
|
|
|
invoke-virtual {v2, v1, v0, v3}, Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;->compareAndSet(Ljava/lang/Object;II)Z
|
|
|
|
|
|
|
|
goto :goto_6
|
|
|
|
|
|
|
|
:cond_9
|
|
|
|
new-instance p1, Lkotlin/TypeCastException;
|
|
|
|
|
|
|
|
const-string p2, "null cannot be cast to non-null type kotlinx.coroutines.CompletedExceptionally"
|
|
|
|
|
|
|
|
invoke-direct {p1, p2}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_a
|
|
|
|
:goto_6
|
|
|
|
invoke-virtual {p0, p2}, Ll0/a/a1;->K(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
sget-object v0, Ll0/a/a1;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
|
|
|
|
instance-of v1, p2, Ll0/a/s0;
|
|
|
|
|
|
|
|
if-eqz v1, :cond_b
|
|
|
|
|
|
|
|
new-instance v1, Ll0/a/t0;
|
|
|
|
|
|
|
|
move-object v2, p2
|
|
|
|
|
|
|
|
check-cast v2, Ll0/a/s0;
|
|
|
|
|
|
|
|
invoke-direct {v1, v2}, Ll0/a/t0;-><init>(Ll0/a/s0;)V
|
|
|
|
|
|
|
|
goto :goto_7
|
|
|
|
|
|
|
|
:cond_b
|
|
|
|
move-object v1, p2
|
|
|
|
|
|
|
|
:goto_7
|
|
|
|
invoke-virtual {v0, p0, p1, v1}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2}, Ll0/a/a1;->t(Ll0/a/s0;Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
return-object p2
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p2
|
|
|
|
|
|
|
|
monitor-exit p1
|
|
|
|
|
|
|
|
throw p2
|
2020-09-09 19:21:20 +00:00
|
|
|
.end method
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public final w(Ll0/a/a1$b;Ljava/util/List;)Ljava/lang/Throwable;
|
|
|
|
.locals 5
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ll0/a/a1$b;",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"+",
|
|
|
|
"Ljava/lang/Throwable;",
|
|
|
|
">;)",
|
|
|
|
"Ljava/lang/Throwable;"
|
|
|
|
}
|
|
|
|
.end annotation
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-interface {p2}, Ljava/util/List;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ll0/a/a1$b;->d()Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
new-instance p1, Lkotlinx/coroutines/JobCancellationException;
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ll0/a/a1;->r()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-direct {p1, p2, v1, p0}, Lkotlinx/coroutines/JobCancellationException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;Lkotlinx/coroutines/Job;)V
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-object v1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-interface {p2}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
move-object v3, v0
|
|
|
|
|
|
|
|
check-cast v3, Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
instance-of v3, v3, Ljava/util/concurrent/CancellationException;
|
|
|
|
|
|
|
|
xor-int/2addr v3, v2
|
|
|
|
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
move-object v0, v1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
check-cast v0, Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
invoke-interface {p2, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
instance-of v3, v0, Lkotlinx/coroutines/TimeoutCancellationException;
|
|
|
|
|
|
|
|
if-eqz v3, :cond_8
|
|
|
|
|
|
|
|
invoke-interface {p2}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_7
|
|
|
|
|
|
|
|
invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
move-object v4, v3
|
|
|
|
|
|
|
|
check-cast v4, Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
if-eq v4, v0, :cond_6
|
|
|
|
|
|
|
|
instance-of v4, v4, Lkotlinx/coroutines/TimeoutCancellationException;
|
|
|
|
|
|
|
|
if-eqz v4, :cond_6
|
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
if-eqz v4, :cond_5
|
|
|
|
|
|
|
|
move-object v1, v3
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
check-cast v1, Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
if-eqz v1, :cond_8
|
|
|
|
|
|
|
|
return-object v1
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public x()Z
|
2020-07-20 19:00:44 +00:00
|
|
|
.locals 1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 v0, 0x1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
return v0
|
|
|
|
.end method
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public y()Z
|
2020-07-20 19:00:44 +00:00
|
|
|
.locals 1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 v0, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
return v0
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
.method public final z(Ll0/a/s0;)Ll0/a/e1;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ll0/a/s0;->getList()Ll0/a/e1;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
instance-of v0, p1, Ll0/a/j0;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
new-instance v0, Ll0/a/e1;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ll0/a/e1;-><init>()V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
instance-of v0, p1, Ll0/a/z0;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
|
|
|
|
check-cast p1, Ll0/a/z0;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Ll0/a/a1;->M(Ll0/a/z0;)V
|
|
|
|
|
|
|
|
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
|