179 lines
4.2 KiB
Smali
179 lines
4.2 KiB
Smali
.class public abstract Lk0/k/h/a/c;
|
|
.super Lk0/k/h/a/a;
|
|
.source "ContinuationImpl.kt"
|
|
|
|
|
|
# instance fields
|
|
.field public final _context:Lkotlin/coroutines/CoroutineContext;
|
|
|
|
.field public transient intercepted:Lkotlin/coroutines/Continuation;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkotlin/coroutines/Continuation<",
|
|
"Ljava/lang/Object;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lkotlin/coroutines/Continuation;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlin/coroutines/Continuation<",
|
|
"Ljava/lang/Object;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-interface {p1}, Lkotlin/coroutines/Continuation;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
invoke-direct {p0, p1, v0}, Lk0/k/h/a/c;-><init>(Lkotlin/coroutines/Continuation;Lkotlin/coroutines/CoroutineContext;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lkotlin/coroutines/Continuation;Lkotlin/coroutines/CoroutineContext;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlin/coroutines/Continuation<",
|
|
"Ljava/lang/Object;",
|
|
">;",
|
|
"Lkotlin/coroutines/CoroutineContext;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0, p1}, Lk0/k/h/a/a;-><init>(Lkotlin/coroutines/Continuation;)V
|
|
|
|
iput-object p2, p0, Lk0/k/h/a/c;->_context:Lkotlin/coroutines/CoroutineContext;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getContext()Lkotlin/coroutines/CoroutineContext;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lk0/k/h/a/c;->_context:Lkotlin/coroutines/CoroutineContext;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
invoke-static {}, Lk0/n/c/h;->throwNpe()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final intercepted()Lkotlin/coroutines/Continuation;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Lkotlin/coroutines/Continuation<",
|
|
"Ljava/lang/Object;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lk0/k/h/a/c;->intercepted:Lkotlin/coroutines/Continuation;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Lk0/k/h/a/c;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Lk0/k/d;->a:Lk0/k/d$a;
|
|
|
|
invoke-interface {v0, v1}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lk0/k/d;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-interface {v0, p0}, Lk0/k/d;->interceptContinuation(Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
move-object v0, p0
|
|
|
|
:goto_0
|
|
iput-object v0, p0, Lk0/k/h/a/c;->intercepted:Lkotlin/coroutines/Continuation;
|
|
|
|
:goto_1
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public releaseIntercepted()V
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lk0/k/h/a/c;->intercepted:Lkotlin/coroutines/Continuation;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
if-eq v0, p0, :cond_1
|
|
|
|
invoke-virtual {p0}, Lk0/k/h/a/c;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v1
|
|
|
|
sget-object v2, Lk0/k/d;->a:Lk0/k/d$a;
|
|
|
|
invoke-interface {v1, v2}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
check-cast v1, Lk0/k/d;
|
|
|
|
invoke-interface {v1, v0}, Lk0/k/d;->releaseInterceptedContinuation(Lkotlin/coroutines/Continuation;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
invoke-static {}, Lk0/n/c/h;->throwNpe()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
:goto_0
|
|
sget-object v0, Lk0/k/h/a/b;->d:Lk0/k/h/a/b;
|
|
|
|
iput-object v0, p0, Lk0/k/h/a/c;->intercepted:Lkotlin/coroutines/Continuation;
|
|
|
|
return-void
|
|
.end method
|