apkfuckery/com.discord/smali_classes2/kotlinx/coroutines/ap.smali

135 lines
3 KiB
Smali
Raw Normal View History

2019-10-03 02:31:26 +00:00
.class final Lkotlinx/coroutines/ap;
.super Lkotlinx/coroutines/internal/t;
.source "Builders.common.kt"
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lkotlinx/coroutines/internal/t<",
"TT;>;"
}
.end annotation
2019-08-22 06:13:42 +00:00
2019-10-03 02:31:26 +00:00
# static fields
2019-10-07 23:23:22 +00:00
.field static final bij:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2019-08-17 08:22:04 +00:00
2019-08-30 20:04:20 +00:00
2019-10-03 02:31:26 +00:00
# instance fields
.field volatile _decision:I
2019-08-17 08:22:04 +00:00
# direct methods
.method static constructor <clinit>()V
2019-10-03 02:31:26 +00:00
.locals 2
2019-08-17 08:22:04 +00:00
2019-10-03 02:31:26 +00:00
const-class v0, Lkotlinx/coroutines/ap;
2019-08-17 08:22:04 +00:00
2019-10-03 02:31:26 +00:00
const-string v1, "_decision"
2019-08-17 08:22:04 +00:00
2019-10-03 02:31:26 +00:00
invoke-static {v0, v1}, Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;->newUpdater(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2019-08-17 08:22:04 +00:00
move-result-object v0
2019-10-07 23:23:22 +00:00
sput-object v0, Lkotlinx/coroutines/ap;->bij:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2019-08-17 08:22:04 +00:00
2019-10-03 02:31:26 +00:00
return-void
.end method
2019-08-17 08:22:04 +00:00
2019-10-03 02:31:26 +00:00
.method public constructor <init>(Lkotlin/coroutines/CoroutineContext;Lkotlin/coroutines/Continuation;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/coroutines/CoroutineContext;",
"Lkotlin/coroutines/Continuation<",
"-TT;>;)V"
}
.end annotation
2019-08-17 08:22:04 +00:00
2019-10-03 02:31:26 +00:00
const-string v0, "context"
2019-08-17 08:22:04 +00:00
2019-10-03 02:31:26 +00:00
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-08-17 08:22:04 +00:00
2019-10-03 02:31:26 +00:00
const-string v0, "uCont"
2019-08-17 08:22:04 +00:00
2019-10-03 02:31:26 +00:00
invoke-static {p2, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-08-17 08:22:04 +00:00
2019-10-03 02:31:26 +00:00
invoke-direct {p0, p1, p2}, Lkotlinx/coroutines/internal/t;-><init>(Lkotlin/coroutines/CoroutineContext;Lkotlin/coroutines/Continuation;)V
2019-08-17 08:22:04 +00:00
2019-10-03 02:31:26 +00:00
const/4 p1, 0x0
2019-08-17 08:22:04 +00:00
2019-10-03 02:31:26 +00:00
iput p1, p0, Lkotlinx/coroutines/ap;->_decision:I
2019-08-17 08:22:04 +00:00
return-void
.end method
2019-10-03 02:31:26 +00:00
# virtual methods
2019-10-07 23:23:22 +00:00
.method public final Ck()I
2019-08-17 08:22:04 +00:00
.locals 1
2019-10-03 02:31:26 +00:00
const/4 v0, 0x0
2019-08-17 08:22:04 +00:00
2019-10-03 02:31:26 +00:00
return v0
2019-08-17 08:22:04 +00:00
.end method
2019-10-03 02:31:26 +00:00
.method public final i(Ljava/lang/Object;I)V
.locals 4
2019-08-17 08:22:04 +00:00
2019-10-03 02:31:26 +00:00
:cond_0
iget v0, p0, Lkotlinx/coroutines/ap;->_decision:I
2019-08-17 08:22:04 +00:00
2019-10-03 02:31:26 +00:00
const/4 v1, 0x0
2019-08-17 08:22:04 +00:00
2019-10-03 02:31:26 +00:00
const/4 v2, 0x1
if-eqz v0, :cond_2
if-ne v0, v2, :cond_1
2019-08-17 08:22:04 +00:00
2019-10-03 02:31:26 +00:00
goto :goto_0
2019-08-17 08:22:04 +00:00
2019-10-03 02:31:26 +00:00
:cond_1
new-instance p1, Ljava/lang/IllegalStateException;
const-string p2, "Already resumed"
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
check-cast p1, Ljava/lang/Throwable;
throw p1
:cond_2
2019-10-07 23:23:22 +00:00
sget-object v0, Lkotlinx/coroutines/ap;->bij:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2019-10-03 02:31:26 +00:00
const/4 v3, 0x2
invoke-virtual {v0, p0, v1, v3}, Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;->compareAndSet(Ljava/lang/Object;II)Z
move-result v0
if-eqz v0, :cond_0
const/4 v1, 0x1
:goto_0
if-eqz v1, :cond_3
return-void
:cond_3
invoke-super {p0, p1, p2}, Lkotlinx/coroutines/internal/t;->i(Ljava/lang/Object;I)V
return-void
2019-07-24 11:27:29 +00:00
.end method