278 lines
6.9 KiB
Smali
278 lines
6.9 KiB
Smali
.class public final Lkotlinx/coroutines/bq;
|
|
.super Ljava/lang/Object;
|
|
.source "ResumeMode.kt"
|
|
|
|
|
|
# direct methods
|
|
.method public static final a(Lkotlin/coroutines/Continuation;Ljava/lang/Object;I)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lkotlin/coroutines/Continuation<",
|
|
"-TT;>;TT;I)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$resumeMode"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-eq p2, v0, :cond_3
|
|
|
|
const/4 v0, 0x2
|
|
|
|
if-eq p2, v0, :cond_2
|
|
|
|
const/4 v0, 0x3
|
|
|
|
if-eq p2, v0, :cond_1
|
|
|
|
const/4 p0, 0x4
|
|
|
|
if-ne p2, p0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
invoke-static {p2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "Invalid mode "
|
|
|
|
invoke-virtual {p1, p0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
check-cast p1, Ljava/lang/Throwable;
|
|
|
|
throw p1
|
|
|
|
:cond_1
|
|
check-cast p0, Lkotlinx/coroutines/al;
|
|
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/al;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object p2
|
|
|
|
iget-object v0, p0, Lkotlinx/coroutines/al;->blb:Ljava/lang/Object;
|
|
|
|
invoke-static {p2, v0}, Lkotlinx/coroutines/internal/y;->b(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Lkotlinx/coroutines/al;->bld:Lkotlin/coroutines/Continuation;
|
|
|
|
sget-object v1, Lkotlin/m;->bhR:Lkotlin/m$a;
|
|
|
|
invoke-static {p1}, Lkotlin/m;->aZ(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
sget-object p0, Lkotlin/Unit;->bhU:Lkotlin/Unit;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
invoke-static {p2, v0}, Lkotlinx/coroutines/internal/y;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p0
|
|
|
|
invoke-static {p2, v0}, Lkotlinx/coroutines/internal/y;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
throw p0
|
|
|
|
:cond_2
|
|
invoke-static {p0, p1}, Lkotlinx/coroutines/am;->b(Lkotlin/coroutines/Continuation;Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
|
|
:cond_3
|
|
invoke-static {p0, p1}, Lkotlinx/coroutines/am;->a(Lkotlin/coroutines/Continuation;Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
|
|
:cond_4
|
|
sget-object p2, Lkotlin/m;->bhR:Lkotlin/m$a;
|
|
|
|
invoke-static {p1}, Lkotlin/m;->aZ(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final a(Lkotlin/coroutines/Continuation;Ljava/lang/Throwable;I)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lkotlin/coroutines/Continuation<",
|
|
"-TT;>;",
|
|
"Ljava/lang/Throwable;",
|
|
"I)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$resumeWithExceptionMode"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "exception"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-eq p2, v0, :cond_3
|
|
|
|
const/4 v0, 0x2
|
|
|
|
if-eq p2, v0, :cond_2
|
|
|
|
const/4 v0, 0x3
|
|
|
|
if-eq p2, v0, :cond_1
|
|
|
|
const/4 p0, 0x4
|
|
|
|
if-ne p2, p0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
invoke-static {p2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "Invalid mode "
|
|
|
|
invoke-virtual {p1, p0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
check-cast p1, Ljava/lang/Throwable;
|
|
|
|
throw p1
|
|
|
|
:cond_1
|
|
check-cast p0, Lkotlinx/coroutines/al;
|
|
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/al;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object p2
|
|
|
|
iget-object v0, p0, Lkotlinx/coroutines/al;->blb:Ljava/lang/Object;
|
|
|
|
invoke-static {p2, v0}, Lkotlinx/coroutines/internal/y;->b(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Lkotlinx/coroutines/al;->bld:Lkotlin/coroutines/Continuation;
|
|
|
|
sget-object v1, Lkotlin/m;->bhR:Lkotlin/m$a;
|
|
|
|
invoke-static {p1, p0}, Lkotlinx/coroutines/internal/t;->a(Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p1
|
|
|
|
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 {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
sget-object p0, Lkotlin/Unit;->bhU:Lkotlin/Unit;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
invoke-static {p2, v0}, Lkotlinx/coroutines/internal/y;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p0
|
|
|
|
invoke-static {p2, v0}, Lkotlinx/coroutines/internal/y;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
throw p0
|
|
|
|
:cond_2
|
|
invoke-static {p0, p1}, Lkotlinx/coroutines/am;->b(Lkotlin/coroutines/Continuation;Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
|
|
:cond_3
|
|
invoke-static {p0, p1}, Lkotlinx/coroutines/am;->a(Lkotlin/coroutines/Continuation;Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
|
|
:cond_4
|
|
sget-object p2, Lkotlin/m;->bhR:Lkotlin/m$a;
|
|
|
|
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 {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final ds(I)Z
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-ne p0, v0, :cond_0
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|