apkfuckery/com.discord/smali_classes2/l0/a/g0.smali

125 lines
2.5 KiB
Smali
Raw Normal View History

2020-09-02 04:07:20 +00:00
.class public final Ll0/a/g0;
.super Ll0/a/r1/t;
2020-07-20 19:00:44 +00:00
.source "Builders.common.kt"
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
2020-09-02 04:07:20 +00:00
"Ll0/a/r1/t<",
2020-07-20 19:00:44 +00:00
"TT;>;"
}
.end annotation
# static fields
.field public static final h:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
# instance fields
.field public volatile _decision:I
# direct methods
.method public static constructor <clinit>()V
.locals 2
2020-09-02 04:07:20 +00:00
const-class v0, Ll0/a/g0;
2020-07-20 19:00:44 +00:00
const-string v1, "_decision"
invoke-static {v0, v1}, Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;->newUpdater(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
move-result-object v0
2020-09-02 04:07:20 +00:00
sput-object v0, Ll0/a/g0;->h:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2020-07-20 19:00:44 +00:00
return-void
.end method
.method public constructor <init>(Lkotlin/coroutines/CoroutineContext;Lkotlin/coroutines/Continuation;)V
2020-09-08 08:16:32 +00:00
.locals 0
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;",
"Lkotlin/coroutines/Continuation<",
"-TT;>;)V"
2020-05-17 12:40:10 +00:00
}
.end annotation
2020-07-20 19:00:44 +00:00
2020-09-02 04:07:20 +00:00
invoke-direct {p0, p1, p2}, Ll0/a/r1/t;-><init>(Lkotlin/coroutines/CoroutineContext;Lkotlin/coroutines/Continuation;)V
2020-07-20 19:00:44 +00:00
const/4 p1, 0x0
2020-09-02 04:07:20 +00:00
iput p1, p0, Ll0/a/g0;->_decision:I
2020-07-20 19:00:44 +00:00
return-void
.end method
# virtual methods
.method public P()I
.locals 1
const/4 v0, 0x1
return v0
.end method
2020-07-25 00:57:58 +00:00
.method public j(Ljava/lang/Object;I)V
2020-07-20 19:00:44 +00:00
.locals 4
:cond_0
2020-09-02 04:07:20 +00:00
iget v0, p0, Ll0/a/g0;->_decision:I
2020-07-20 19:00:44 +00:00
const/4 v1, 0x0
const/4 v2, 0x1
if-eqz v0, :cond_2
if-ne v0, v2, :cond_1
goto :goto_0
: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
throw p1
:cond_2
2020-09-02 04:07:20 +00:00
sget-object v0, Ll0/a/g0;->h:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2020-07-20 19:00:44 +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
2020-09-02 04:07:20 +00:00
invoke-super {p0, p1, p2}, Ll0/a/r1/t;->j(Ljava/lang/Object;I)V
2020-07-20 19:00:44 +00:00
return-void
2020-05-17 12:40:10 +00:00
.end method