apkfuckery/com.discord/smali_classes2/y/a/k0.smali

145 lines
2.8 KiB
Smali
Raw Normal View History

2020-04-27 20:53:11 +00:00
.class public final Ly/a/k0;
.super Ly/a/a2/u;
2019-10-03 02:31:26 +00:00
.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;",
">",
2020-04-27 20:53:11 +00:00
"Ly/a/a2/u<",
2019-10-03 02:31:26 +00:00
"TT;>;"
}
.end annotation
2019-08-22 06:13:42 +00:00
2019-10-03 02:31:26 +00:00
# static fields
2019-12-06 03:29:40 +00:00
.field public static final h: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
2019-12-06 03:29:40 +00:00
.field public volatile _decision:I
2019-08-17 08:22:04 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public static constructor <clinit>()V
2019-10-03 02:31:26 +00:00
.locals 2
2019-08-17 08:22:04 +00:00
2020-04-27 20:53:11 +00:00
const-class v0, Ly/a/k0;
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
2020-04-27 20:53:11 +00:00
sput-object v0, Ly/a/k0;->h: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-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-08-17 08:22:04 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_1
2019-08-17 08:22:04 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p2, :cond_0
2019-08-17 08:22:04 +00:00
2020-04-27 20:53:11 +00:00
invoke-direct {p0, p1, p2}, Ly/a/a2/u;-><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
2020-04-27 20:53:11 +00:00
iput p1, p0, Ly/a/k0;->_decision:I
2019-08-17 08:22:04 +00:00
return-void
2019-12-06 03:29:40 +00:00
:cond_0
const-string p1, "uCont"
2019-10-03 02:31:26 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
2019-08-17 08:22:04 +00:00
2019-12-06 03:29:40 +00:00
throw v0
2019-08-17 08:22:04 +00:00
2019-12-06 03:29:40 +00:00
:cond_1
const-string p1, "context"
2020-04-27 20:53:11 +00:00
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
2019-08-17 08:22:04 +00:00
.end method
2019-12-06 03:29:40 +00:00
# virtual methods
.method public a(Ljava/lang/Object;I)V
2019-10-03 02:31:26 +00:00
.locals 4
2019-08-17 08:22:04 +00:00
2019-10-03 02:31:26 +00:00
:cond_0
2020-04-27 20:53:11 +00:00
iget v0, p0, Ly/a/k0;->_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
throw p1
:cond_2
2020-04-27 20:53:11 +00:00
sget-object v0, Ly/a/k0;->h: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
2020-04-27 20:53:11 +00:00
invoke-super {p0, p1, p2}, Ly/a/a2/u;->a(Ljava/lang/Object;I)V
2019-10-03 02:31:26 +00:00
return-void
2019-07-24 11:27:29 +00:00
.end method
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
.method public k()I
2019-12-06 03:29:40 +00:00
.locals 1
const/4 v0, 0x0
return v0
.end method