2019-07-24 11:27:29 +00:00
|
|
|
.class public abstract Lkotlinx/coroutines/a;
|
2019-08-17 08:22:04 +00:00
|
|
|
.super Lkotlinx/coroutines/bj;
|
2019-07-24 11:27:29 +00:00
|
|
|
.source "AbstractCoroutine.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lkotlin/coroutines/Continuation;
|
|
|
|
.implements Lkotlinx/coroutines/CoroutineScope;
|
|
|
|
.implements Lkotlinx/coroutines/Job;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
2019-08-17 08:22:04 +00:00
|
|
|
"Lkotlinx/coroutines/bj;",
|
2019-07-24 11:27:29 +00:00
|
|
|
"Lkotlin/coroutines/Continuation<",
|
|
|
|
"TT;>;",
|
|
|
|
"Lkotlinx/coroutines/CoroutineScope;",
|
|
|
|
"Lkotlinx/coroutines/Job;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-10-01 14:15:45 +00:00
|
|
|
.field private final bmy:Lkotlin/coroutines/CoroutineContext;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
.field protected final bmz:Lkotlin/coroutines/CoroutineContext;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lkotlin/coroutines/CoroutineContext;Z)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "parentContext"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
2019-08-17 08:22:04 +00:00
|
|
|
invoke-direct {p0, p2}, Lkotlinx/coroutines/bj;-><init>(Z)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object p1, p0, Lkotlinx/coroutines/a;->bmz:Lkotlin/coroutines/CoroutineContext;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object p1, p0, Lkotlinx/coroutines/a;->bmz:Lkotlin/coroutines/CoroutineContext;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-object p2, p0
|
|
|
|
|
|
|
|
check-cast p2, Lkotlin/coroutines/CoroutineContext;
|
|
|
|
|
|
|
|
invoke-interface {p1, p2}, Lkotlin/coroutines/CoroutineContext;->plus(Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object p1, p0, Lkotlinx/coroutines/a;->bmy:Lkotlin/coroutines/CoroutineContext;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-10-01 14:15:45 +00:00
|
|
|
.method public final En()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lkotlinx/coroutines/a;->bmy:Lkotlin/coroutines/CoroutineContext;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final Eo()V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-object v0, p0, Lkotlinx/coroutines/a;->bmz:Lkotlin/coroutines/CoroutineContext;
|
|
|
|
|
|
|
|
sget-object v1, Lkotlinx/coroutines/Job;->bnG:Lkotlinx/coroutines/Job$b;
|
|
|
|
|
|
|
|
check-cast v1, Lkotlin/coroutines/CoroutineContext$c;
|
|
|
|
|
|
|
|
invoke-interface {v0, v1}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$c;)Lkotlin/coroutines/CoroutineContext$b;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Lkotlinx/coroutines/Job;
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Lkotlinx/coroutines/a;->c(Lkotlinx/coroutines/Job;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final Ep()V
|
2019-08-17 08:22:04 +00:00
|
|
|
.locals 0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-17 08:22:04 +00:00
|
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/a;->onStart()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-17 08:22:04 +00:00
|
|
|
return-void
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
.method public Eq()I
|
2019-08-17 08:22:04 +00:00
|
|
|
.locals 1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-17 08:22:04 +00:00
|
|
|
const/4 v0, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-17 08:22:04 +00:00
|
|
|
return v0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
.method public final Er()Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lkotlinx/coroutines/a;->bmy:Lkotlin/coroutines/CoroutineContext;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {v0}, Lkotlinx/coroutines/x;->a(Lkotlin/coroutines/CoroutineContext;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-super {p0}, Lkotlinx/coroutines/bj;->Er()Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v2, "\""
|
|
|
|
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
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-10-01 14:15:45 +00:00
|
|
|
invoke-super {p0}, Lkotlinx/coroutines/bj;->Er()Ljava/lang/String;
|
2019-07-24 11:27:29 +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
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Lkotlinx/coroutines/ad;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)V
|
|
|
|
.locals 3
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<R:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Lkotlinx/coroutines/ad;",
|
|
|
|
"TR;",
|
|
|
|
"Lkotlin/jvm/functions/Function2<",
|
|
|
|
"-TR;-",
|
|
|
|
"Lkotlin/coroutines/Continuation<",
|
|
|
|
"-TT;>;+",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "start"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const-string v0, "block"
|
|
|
|
|
|
|
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/a;->Eo()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-object v1, p0
|
|
|
|
|
|
|
|
check-cast v1, Lkotlin/coroutines/Continuation;
|
|
|
|
|
|
|
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const-string v0, "completion"
|
|
|
|
|
|
|
|
invoke-static {v1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
sget-object v2, Lkotlinx/coroutines/ae;->$EnumSwitchMapping$1:[I
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lkotlinx/coroutines/ad;->ordinal()I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
aget p1, v2, p1
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
if-eq p1, v2, :cond_4
|
|
|
|
|
|
|
|
const/4 v2, 0x2
|
|
|
|
|
|
|
|
if-eq p1, v2, :cond_3
|
|
|
|
|
|
|
|
const/4 v2, 0x3
|
|
|
|
|
|
|
|
if-eq p1, v2, :cond_1
|
|
|
|
|
|
|
|
const/4 p2, 0x4
|
|
|
|
|
|
|
|
if-ne p1, p2, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance p1, Lkotlin/k;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Lkotlin/k;-><init>()V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p1, "$this$startCoroutineUndispatched"
|
|
|
|
|
|
|
|
invoke-static {p3, p1}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-static {v1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-static {v1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
invoke-interface {v1}, Lkotlin/coroutines/Continuation;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2019-08-17 08:22:04 +00:00
|
|
|
invoke-static {p1, v0}, Lkotlinx/coroutines/internal/z;->b(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
:try_end_0
|
2019-08-30 20:04:20 +00:00
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:try_start_1
|
2019-08-20 03:53:10 +00:00
|
|
|
invoke-static {p3}, Lkotlin/jvm/internal/aa;->bi(Ljava/lang/Object;)Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p3
|
|
|
|
|
|
|
|
check-cast p3, Lkotlin/jvm/functions/Function2;
|
|
|
|
|
|
|
|
invoke-interface {p3, p2, v1}, 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-08-17 08:22:04 +00:00
|
|
|
invoke-static {p1, v0}, Lkotlinx/coroutines/internal/z;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
:try_end_2
|
2019-08-30 20:04:20 +00:00
|
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object p1, Lkotlin/coroutines/a/a;->bkF:Lkotlin/coroutines/a/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eq p2, p1, :cond_2
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object p1, Lkotlin/m;->bjW:Lkotlin/m$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p2}, Lkotlin/m;->aZ(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-interface {v1, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p2
|
|
|
|
|
|
|
|
:try_start_3
|
2019-08-17 08:22:04 +00:00
|
|
|
invoke-static {p1, v0}, Lkotlinx/coroutines/internal/z;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
throw p2
|
|
|
|
:try_end_3
|
2019-08-30 20:04:20 +00:00
|
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
:catchall_1
|
2019-07-24 11:27:29 +00:00
|
|
|
move-exception p1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object p2, Lkotlin/m;->bjW:Lkotlin/m$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p1}, Lkotlin/n;->o(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-static {p1}, Lkotlin/m;->aZ(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-interface {v1, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const-string p1, "$this$startCoroutine"
|
|
|
|
|
|
|
|
invoke-static {p3, p1}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-static {v1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-static {p3, p2, v1}, Lkotlin/coroutines/a/b;->a(Lkotlin/jvm/functions/Function2;Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-static {p1}, Lkotlin/coroutines/a/b;->c(Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object p2, Lkotlin/Unit;->bjZ:Lkotlin/Unit;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object p3, Lkotlin/m;->bjW:Lkotlin/m$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p2}, Lkotlin/m;->aZ(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-interface {p1, p2}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
invoke-static {p3, p2, v1}, Lkotlinx/coroutines/a/a;->b(Lkotlin/jvm/functions/Function2;Ljava/lang/Object;Lkotlin/coroutines/Continuation;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-08-20 03:53:10 +00:00
|
|
|
.method protected final bj(Ljava/lang/Object;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 1
|
|
|
|
|
|
|
|
instance-of v0, p1, Lkotlinx/coroutines/q;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
check-cast p1, Lkotlinx/coroutines/q;
|
|
|
|
|
|
|
|
iget-object p1, p1, Lkotlinx/coroutines/q;->cause:Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
const-string v0, "cause"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lkotlinx/coroutines/a;->bmy:Lkotlin/coroutines/CoroutineContext;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final isActive()Z
|
|
|
|
.locals 1
|
|
|
|
|
2019-08-17 08:22:04 +00:00
|
|
|
invoke-super {p0}, Lkotlinx/coroutines/bj;->isActive()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method protected onStart()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final q(Ljava/lang/Throwable;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "exception"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lkotlinx/coroutines/a;->bmy:Lkotlin/coroutines/CoroutineContext;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {v0, p1}, Lkotlinx/coroutines/aa;->b(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final resumeWith(Ljava/lang/Object;)V
|
2019-08-17 08:22:04 +00:00
|
|
|
.locals 1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-20 03:53:10 +00:00
|
|
|
invoke-static {p1}, Lkotlinx/coroutines/r;->bm(Ljava/lang/Object;)Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/a;->Eq()I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2019-08-17 08:22:04 +00:00
|
|
|
invoke-virtual {p0, p1, v0}, Lkotlinx/coroutines/a;->k(Ljava/lang/Object;I)Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|