2020-04-27 20:53:11 +00:00
|
|
|
.class public abstract Ly/a/m0;
|
|
|
|
.super Ly/a/b2/i;
|
2019-12-06 03:29:40 +00:00
|
|
|
.source "Dispatched.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
2020-04-27 20:53:11 +00:00
|
|
|
"Ly/a/b2/i;"
|
2019-12-06 03:29:40 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public f:I
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(I)V
|
|
|
|
.locals 3
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v0, Ly/a/b2/h;->e:Ly/a/b2/h;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const-wide/16 v1, 0x0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {p0, v1, v2, v0}, Ly/a/b2/i;-><init>(JLy/a/b2/j;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput p1, p0, Ly/a/m0;->f:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public a(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.locals 0
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
")TT;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public a(Ljava/lang/Object;Ljava/lang/Throwable;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "cause"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {p1}, Lx/u/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 a(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {p1, p2}, Le/n/a/j/a;->addSuppressed(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_1
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
move-object p1, p2
|
|
|
|
|
|
|
|
:goto_0
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance p2, Ly/a/d0;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string v1, "Fatal exception in coroutines machinery for "
|
|
|
|
|
|
|
|
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, ". "
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, "Please read KDoc to \'handleFatalException\' method and report this incident to maintainers"
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2020-03-14 02:12:46 +00:00
|
|
|
if-eqz p1, :cond_3
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {p2, v0, p1}, Ly/a/d0;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {p0}, Ly/a/m0;->b()Lkotlin/coroutines/Continuation;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-interface {p1}, Lkotlin/coroutines/Continuation;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {p1, p2}, Le/n/a/j/a;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
2020-03-14 02:12:46 +00:00
|
|
|
|
|
|
|
:cond_3
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {}, Lx/u/b/j;->throwNpe()V
|
2020-03-14 02:12:46 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
2019-12-06 03:29:40 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public abstract b()Lkotlin/coroutines/Continuation;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()",
|
|
|
|
"Lkotlin/coroutines/Continuation<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public abstract c()Ljava/lang/Object;
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final run()V
|
|
|
|
.locals 8
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v0, p0, Ly/a/b2/i;->e:Ly/a/b2/j;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:try_start_0
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {p0}, Ly/a/m0;->b()Lkotlin/coroutines/Continuation;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_5
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
check-cast v1, Ly/a/j0;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v2, v1, Ly/a/j0;->k:Lkotlin/coroutines/Continuation;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-interface {v2}, Lkotlin/coroutines/Continuation;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget v4, p0, Ly/a/m0;->f:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v4}, Le/n/a/j/a;->a(I)Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
|
|
|
|
sget-object v4, Lkotlinx/coroutines/Job;->c:Lkotlinx/coroutines/Job$a;
|
|
|
|
|
|
|
|
invoke-interface {v3, v4}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
check-cast v4, Lkotlinx/coroutines/Job;
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
move-object v4, v5
|
|
|
|
|
|
|
|
:goto_0
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {p0}, Ly/a/m0;->c()Ljava/lang/Object;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v1, v1, Ly/a/j0;->i:Ljava/lang/Object;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v3, v1}, Ly/a/a2/y;->b(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_2
|
|
|
|
|
|
|
|
if-eqz v4, :cond_1
|
|
|
|
|
|
|
|
:try_start_1
|
|
|
|
invoke-interface {v4}, Lkotlinx/coroutines/Job;->a()Z
|
|
|
|
|
|
|
|
move-result v7
|
|
|
|
|
|
|
|
if-nez v7, :cond_1
|
|
|
|
|
|
|
|
invoke-interface {v4}, Lkotlinx/coroutines/Job;->b()Ljava/util/concurrent/CancellationException;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {p0, v6, v4}, Ly/a/m0;->a(Ljava/lang/Object;Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v6, Lx/i;->d:Lx/i$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v4, v2}, Le/n/a/j/a;->a(Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Throwable;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v4}, Le/n/a/j/a;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v4}, Lx/i;->constructor-impl(Ljava/lang/Object;)Ljava/lang/Object;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-interface {v2, v4}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_1
|
2020-04-27 20:53:11 +00:00
|
|
|
instance-of v4, v6, Ly/a/q;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-nez v4, :cond_2
|
|
|
|
|
|
|
|
move-object v4, v5
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
move-object v4, v6
|
|
|
|
|
|
|
|
:goto_1
|
2020-04-27 20:53:11 +00:00
|
|
|
check-cast v4, Ly/a/q;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-eqz v4, :cond_3
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v4, v4, Ly/a/q;->a:Ljava/lang/Throwable;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v2
|
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
move-object v4, v5
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
if-eqz v4, :cond_4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v6, Lx/i;->d:Lx/i$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v4, v2}, Le/n/a/j/a;->a(Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Throwable;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v4}, Le/n/a/j/a;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v4}, Lx/i;->constructor-impl(Ljava/lang/Object;)Ljava/lang/Object;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-interface {v2, v4}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_4
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {p0, v6}, Ly/a/m0;->a(Ljava/lang/Object;)Ljava/lang/Object;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v6, Lx/i;->d:Lx/i$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v4}, Lx/i;->constructor-impl(Ljava/lang/Object;)Ljava/lang/Object;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-interface {v2, v4}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
:try_start_2
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v3, v1}, Ly/a/a2/y;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
:try_end_2
|
|
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_2
|
|
|
|
|
|
|
|
:try_start_3
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v1, Lx/i;->d:Lx/i$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v0}, Ly/a/b2/j;->c()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
:try_end_3
|
|
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_1
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:catchall_1
|
|
|
|
move-exception v0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v1, Lx/i;->d:Lx/i$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v0}, Le/n/a/j/a;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
:goto_4
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v0}, Lx/i;->exceptionOrNull-impl(Ljava/lang/Object;)Ljava/lang/Throwable;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {p0, v5, v0}, Ly/a/m0;->a(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
goto :goto_7
|
|
|
|
|
|
|
|
:goto_5
|
|
|
|
:try_start_4
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v3, v1}, Ly/a/a2/y;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v2
|
|
|
|
|
|
|
|
:cond_5
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v1, Lx/l;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const-string v2, "null cannot be cast to non-null type kotlinx.coroutines.DispatchedContinuation<T>"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v1, v2}, Lx/l;-><init>(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v1
|
|
|
|
:try_end_4
|
|
|
|
.catchall {:try_start_4 .. :try_end_4} :catchall_2
|
|
|
|
|
|
|
|
:catchall_2
|
|
|
|
move-exception v1
|
|
|
|
|
|
|
|
:try_start_5
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v2, Lx/i;->d:Lx/i$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v0}, Ly/a/b2/j;->c()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v0}, Lx/i;->constructor-impl(Ljava/lang/Object;)Ljava/lang/Object;
|
2019-12-06 03:29:40 +00:00
|
|
|
:try_end_5
|
|
|
|
.catchall {:try_start_5 .. :try_end_5} :catchall_3
|
|
|
|
|
|
|
|
goto :goto_6
|
|
|
|
|
|
|
|
:catchall_3
|
|
|
|
move-exception v0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v2, Lx/i;->d:Lx/i$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v0}, Le/n/a/j/a;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
:goto_6
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v0}, Lx/i;->exceptionOrNull-impl(Ljava/lang/Object;)Ljava/lang/Throwable;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {p0, v1, v0}, Ly/a/m0;->a(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:goto_7
|
|
|
|
return-void
|
|
|
|
.end method
|