336 lines
7.4 KiB
Smali
336 lines
7.4 KiB
Smali
.class public abstract Lz/a/v;
|
|
.super Ly/j/a;
|
|
.source "CoroutineDispatcher.kt"
|
|
|
|
# interfaces
|
|
.implements Ly/j/d;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lz/a/v$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final Key:Lz/a/v$a;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
new-instance v0, Lz/a/v$a;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Lz/a/v$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
sput-object v0, Lz/a/v;->Key:Lz/a/v$a;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
sget-object v0, Ly/j/d$a;->a:Ly/j/d$a;
|
|
|
|
invoke-direct {p0, v0}, Ly/j/a;-><init>(Lkotlin/coroutines/CoroutineContext$b;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public abstract dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
|
.end method
|
|
|
|
.method public dispatchYield(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p1, p2}, Lz/a/v;->dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
|
|
|
return-void
|
|
.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"
|
|
|
|
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
instance-of v1, p1, Ly/j/b;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
check-cast p1, Ly/j/b;
|
|
|
|
invoke-interface {p0}, Lkotlin/coroutines/CoroutineContext$a;->getKey()Lkotlin/coroutines/CoroutineContext$b;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
if-eq v1, p1, :cond_1
|
|
|
|
iget-object v0, p1, Ly/j/b;->a:Lkotlin/coroutines/CoroutineContext$b;
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 v0, 0x1
|
|
|
|
:goto_1
|
|
if-eqz v0, :cond_4
|
|
|
|
const-string v0, "element"
|
|
|
|
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object p1, p1, Ly/j/b;->b:Lkotlin/jvm/functions/Function1;
|
|
|
|
invoke-interface {p1, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Lkotlin/coroutines/CoroutineContext$a;
|
|
|
|
instance-of v0, p1, Lkotlin/coroutines/CoroutineContext$a;
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
move-object v2, p1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
sget-object v0, Ly/j/d$a;->a:Ly/j/d$a;
|
|
|
|
if-ne v0, p1, :cond_4
|
|
|
|
move-object v2, p0
|
|
|
|
:cond_4
|
|
:goto_2
|
|
return-object v2
|
|
.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
|
|
|
|
new-instance v0, Lz/a/c0;
|
|
|
|
invoke-direct {v0, p0, p1}, Lz/a/c0;-><init>(Lz/a/v;Lkotlin/coroutines/Continuation;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public isDispatchNeeded(Lkotlin/coroutines/CoroutineContext;)Z
|
|
.locals 0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public minusKey(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlin/coroutines/CoroutineContext$b<",
|
|
"*>;)",
|
|
"Lkotlin/coroutines/CoroutineContext;"
|
|
}
|
|
.end annotation
|
|
|
|
sget-object v0, Ly/j/f;->d:Ly/j/f;
|
|
|
|
const-string v1, "key"
|
|
|
|
invoke-static {p1, v1}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
instance-of v2, p1, Ly/j/b;
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
check-cast p1, Ly/j/b;
|
|
|
|
invoke-interface {p0}, Lkotlin/coroutines/CoroutineContext$a;->getKey()Lkotlin/coroutines/CoroutineContext$b;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v2, v1}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
if-eq v2, p1, :cond_1
|
|
|
|
iget-object v1, p1, Ly/j/b;->a:Lkotlin/coroutines/CoroutineContext$b;
|
|
|
|
if-ne v1, v2, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 v1, 0x1
|
|
|
|
:goto_1
|
|
if-eqz v1, :cond_2
|
|
|
|
const-string v1, "element"
|
|
|
|
invoke-static {p0, v1}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object p1, p1, Ly/j/b;->b:Lkotlin/jvm/functions/Function1;
|
|
|
|
invoke-interface {p1, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Lkotlin/coroutines/CoroutineContext$a;
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
move-object v0, p0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
sget-object v1, Ly/j/d$a;->a:Ly/j/d$a;
|
|
|
|
if-ne v1, p1, :cond_2
|
|
|
|
:goto_2
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final plus(Lz/a/v;)Lz/a/v;
|
|
.locals 0
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public releaseInterceptedContinuation(Lkotlin/coroutines/Continuation;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlin/coroutines/Continuation<",
|
|
"*>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
check-cast p1, Lz/a/c0;
|
|
|
|
invoke-virtual {p1}, Lz/a/c0;->i()Lz/a/g;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
iget-object v0, p1, Lz/a/g;->_parentHandle:Ljava/lang/Object;
|
|
|
|
check-cast v0, Lz/a/i0;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-interface {v0}, Lz/a/i0;->dispose()V
|
|
|
|
:cond_0
|
|
sget-object v0, Lz/a/g1;->d:Lz/a/g1;
|
|
|
|
iput-object v0, p1, Lz/a/g;->_parentHandle:Ljava/lang/Object;
|
|
|
|
:cond_1
|
|
return-void
|
|
|
|
:cond_2
|
|
new-instance p1, Lkotlin/TypeCastException;
|
|
|
|
const-string v0, "null cannot be cast to non-null type kotlinx.coroutines.DispatchedContinuation<*>"
|
|
|
|
invoke-direct {p1, v0}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
|
|
|
|
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
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()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}, Lf/h/a/f/f/n/f;->C(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
|