2020-07-23 01:06:17 +00:00
|
|
|
.class public abstract Lk0/a/v;
|
2020-07-25 00:57:58 +00:00
|
|
|
.super Lj0/k/a;
|
2020-07-20 19:00:44 +00:00
|
|
|
.source "CoroutineDispatcher.kt"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
# interfaces
|
2020-07-25 00:57:58 +00:00
|
|
|
.implements Lj0/k/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 1
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
sget-object v0, Lj0/k/d;->a:Lj0/k/d$a;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-direct {p0, v0}, Lj0/k/a;-><init>(Lkotlin/coroutines/CoroutineContext$b;)V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-07-20 19:00:44 +00:00
|
|
|
.method public abstract dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public dispatchYield(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
invoke-virtual {p0, p1, p2}, Lk0/a/v;->dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "block"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p1, "context"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
|
|
|
|
.locals 3
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<E::",
|
|
|
|
"Lkotlin/coroutines/CoroutineContext$a;",
|
|
|
|
">(",
|
|
|
|
"Lkotlin/coroutines/CoroutineContext$b<",
|
|
|
|
"TE;>;)TE;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "key"
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
instance-of v2, p1, Lj0/k/b;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
check-cast p1, Lj0/k/b;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
invoke-interface {p0}, Lkotlin/coroutines/CoroutineContext$a;->getKey()Lkotlin/coroutines/CoroutineContext$b;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
|
|
|
|
if-eq v2, p1, :cond_0
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:cond_2
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {v0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:cond_3
|
2020-07-25 00:57:58 +00:00
|
|
|
sget-object v0, Lj0/k/d;->a:Lj0/k/d$a;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
if-ne v0, p1, :cond_4
|
|
|
|
|
|
|
|
move-object v1, p0
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
:goto_1
|
|
|
|
return-object v1
|
|
|
|
|
|
|
|
:cond_5
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {v0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
throw v1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final interceptContinuation(Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Lkotlin/coroutines/Continuation<",
|
|
|
|
"-TT;>;)",
|
|
|
|
"Lkotlin/coroutines/Continuation<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
new-instance v0, Lk0/a/f0;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
invoke-direct {v0, p0, p1}, Lk0/a/f0;-><init>(Lk0/a/v;Lkotlin/coroutines/Continuation;)V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "continuation"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public isDispatchNeeded(Lkotlin/coroutines/CoroutineContext;)Z
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
return p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "context"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public minusKey(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext;
|
|
|
|
.locals 3
|
2020-05-17 12:40:10 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-07-20 19:00:44 +00:00
|
|
|
"(",
|
|
|
|
"Lkotlin/coroutines/CoroutineContext$b<",
|
|
|
|
"*>;)",
|
|
|
|
"Lkotlin/coroutines/CoroutineContext;"
|
2020-05-17 12:40:10 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
const-string v0, "key"
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
instance-of v2, p1, Lj0/k/b;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
check-cast p1, Lj0/k/b;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
invoke-interface {p0}, Lkotlin/coroutines/CoroutineContext$a;->getKey()Lkotlin/coroutines/CoroutineContext$b;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
|
|
|
|
if-eq v2, p1, :cond_0
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:cond_2
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {v0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:cond_3
|
2020-07-25 00:57:58 +00:00
|
|
|
sget-object v0, Lj0/k/d;->a:Lj0/k/d$a;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
if-ne v0, p1, :cond_4
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
sget-object p1, Lj0/k/f;->d:Lj0/k/f;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
:goto_1
|
|
|
|
move-object p1, p0
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_5
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {v0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
throw v1
|
|
|
|
.end method
|
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
.method public final plus(Lk0/a/v;)Lk0/a/v;
|
2020-07-20 19:00:44 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "other"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public releaseInterceptedContinuation(Lkotlin/coroutines/Continuation;)V
|
|
|
|
.locals 0
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lkotlin/coroutines/Continuation<",
|
|
|
|
"*>;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "continuation"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
2020-07-25 02:57:47 +00:00
|
|
|
invoke-static {p0}, Lf/n/a/k/a;->y(Ljava/lang/Object;)Ljava/lang/String;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const/16 v1, 0x40
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
2020-07-25 02:57:47 +00:00
|
|
|
invoke-static {p0}, Lf/n/a/k/a;->B(Ljava/lang/Object;)Ljava/lang/String;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|