2019-12-20 07:00:35 +00:00
|
|
|
.class public abstract Ln/a/a;
|
|
|
|
.super Ln/a/h1;
|
2019-12-06 03:29:40 +00:00
|
|
|
.source "AbstractCoroutine.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lkotlinx/coroutines/Job;
|
|
|
|
.implements Lkotlin/coroutines/Continuation;
|
|
|
|
.implements Lkotlinx/coroutines/CoroutineScope;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
2019-12-20 07:00:35 +00:00
|
|
|
"Ln/a/h1;",
|
2019-12-06 03:29:40 +00:00
|
|
|
"Lkotlinx/coroutines/Job;",
|
|
|
|
"Lkotlin/coroutines/Continuation<",
|
|
|
|
"TT;>;",
|
|
|
|
"Lkotlinx/coroutines/CoroutineScope;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final e:Lkotlin/coroutines/CoroutineContext;
|
|
|
|
|
|
|
|
.field public final f:Lkotlin/coroutines/CoroutineContext;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lkotlin/coroutines/CoroutineContext;Z)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-direct {p0, p2}, Ln/a/h1;-><init>(Z)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
iput-object p1, p0, Ln/a/a;->f:Lkotlin/coroutines/CoroutineContext;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
iget-object p1, p0, Ln/a/a;->f:Lkotlin/coroutines/CoroutineContext;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-interface {p1, p0}, Lkotlin/coroutines/CoroutineContext;->plus(Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
iput-object p1, p0, Ln/a/a;->e:Lkotlin/coroutines/CoroutineContext;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "parentContext"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-12-20 07:00:35 +00:00
|
|
|
.method public final a(Ln/a/c0;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 3
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<R:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
2019-12-20 07:00:35 +00:00
|
|
|
"Ln/a/c0;",
|
2019-12-06 03:29:40 +00:00
|
|
|
"TR;",
|
|
|
|
"Lkotlin/jvm/functions/Function2<",
|
|
|
|
"-TR;-",
|
|
|
|
"Lkotlin/coroutines/Continuation<",
|
|
|
|
"-TT;>;+",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_6
|
|
|
|
|
|
|
|
if-eqz p3, :cond_5
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-virtual {p0}, Ln/a/a;->l()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
sget-object v1, Ln/a/b0;->b:[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
aget p1, v1, p1
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
if-eq p1, v1, :cond_3
|
|
|
|
|
|
|
|
const/4 v1, 0x2
|
|
|
|
|
|
|
|
if-eq p1, v1, :cond_2
|
|
|
|
|
|
|
|
const/4 v2, 0x3
|
|
|
|
|
|
|
|
if-eq p1, v2, :cond_1
|
|
|
|
|
|
|
|
const/4 p2, 0x4
|
|
|
|
|
|
|
|
if-ne p1, p2, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2019-12-20 07:00:35 +00:00
|
|
|
new-instance p1, Lm/g;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-direct {p1}, Lm/g;-><init>()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-static {p0}, Le/k/a/b/e/p/g;->probeCoroutineCreated(Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
invoke-interface {p0}, Lkotlin/coroutines/Continuation;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p1, v0}, Ln/a/a2/x;->b(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
|
|
|
|
|
|
|
:try_start_1
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p3, v1}, Lm/u/b/y;->beforeCheckcastToFunctionOfArity(Ljava/lang/Object;I)Ljava/lang/Object;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-interface {p3, p2, p0}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
:try_start_2
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p1, v0}, Ln/a/a2/x;->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_1
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
sget-object p1, Lm/s/g/a;->d:Lm/s/g/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-eq p2, p1, :cond_4
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
sget-object p1, Lm/i;->d:Lm/i$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-interface {p0, p2}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p2
|
|
|
|
|
|
|
|
:try_start_3
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p1, v0}, Ln/a/a2/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw p2
|
|
|
|
:try_end_3
|
|
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_1
|
|
|
|
|
|
|
|
:catchall_1
|
|
|
|
move-exception p1
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
sget-object p2, Lm/i;->d:Lm/i$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-static {p1}, Le/k/a/b/e/p/g;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
invoke-static {p3, p2, p0}, Le/k/a/b/e/p/g;->createCoroutineUnintercepted(Lkotlin/jvm/functions/Function2;Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-static {p1}, Le/k/a/b/e/p/g;->intercepted(Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
sget-object p2, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
sget-object p3, Lm/i;->d:Lm/i$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-interface {p1, p2}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
invoke-static {p3, p2, p0}, Le/k/a/b/e/p/g;->a(Lkotlin/jvm/functions/Function2;Ljava/lang/Object;Lkotlin/coroutines/Continuation;)V
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
:goto_0
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
const-string p1, "block"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
const-string p1, "start"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public a()Z
|
|
|
|
.locals 1
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-super {p0}, Ln/a/h1;->a()Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public c()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
.locals 1
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
iget-object v0, p0, Ln/a/a;->e:Lkotlin/coroutines/CoroutineContext;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final c(Ljava/lang/Throwable;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
iget-object v0, p0, Ln/a/a;->e:Lkotlin/coroutines/CoroutineContext;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-static {v0, p1}, Le/k/a/b/e/p/g;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "exception"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p1}, Lm/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 d(Ljava/lang/Object;)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
instance-of v0, p1, Ln/a/q;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
check-cast p1, Ln/a/q;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
iget-object v0, p1, Ln/a/q;->a:Ljava/lang/Throwable;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
iget p1, p1, Ln/a/q;->_handled:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "cause"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
.locals 1
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
iget-object v0, p0, Ln/a/a;->e:Lkotlin/coroutines/CoroutineContext;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public i()Ljava/lang/String;
|
|
|
|
.locals 3
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
iget-object v0, p0, Ln/a/a;->e:Lkotlin/coroutines/CoroutineContext;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {v0}, Ln/a/w;->a(Lkotlin/coroutines/CoroutineContext;)Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const/16 v2, 0x22
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v0, "\":"
|
|
|
|
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Ln/a/e0;->a(Ljava/lang/Object;)Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Ln/a/e0;->a(Ljava/lang/Object;)Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final j()V
|
|
|
|
.locals 0
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-virtual {p0}, Ln/a/a;->m()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public k()I
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final l()V
|
|
|
|
.locals 2
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
iget-object v0, p0, Ln/a/a;->f:Lkotlin/coroutines/CoroutineContext;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
sget-object v1, Lkotlinx/coroutines/Job;->c:Lkotlinx/coroutines/Job$a;
|
|
|
|
|
|
|
|
invoke-interface {v0, v1}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Lkotlinx/coroutines/Job;
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-virtual {p0, v0}, Ln/a/h1;->a(Lkotlinx/coroutines/Job;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public m()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final resumeWith(Ljava/lang/Object;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-static {p1}, Le/k/a/b/e/p/g;->d(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-virtual {p0}, Ln/a/a;->k()I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-virtual {p0, p1, v0}, Ln/a/h1;->b(Ljava/lang/Object;I)Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|