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

98 lines
2.6 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public final Lkotlinx/coroutines/m;
2019-10-03 02:31:26 +00:00
.super Lkotlinx/coroutines/t;
.source "CompletedExceptionally.kt"
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
# static fields
.field private static final boZ:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2019-07-24 11:27:29 +00:00
# instance fields
2019-10-03 02:31:26 +00:00
.field private volatile _resumed:I
2019-07-24 11:27:29 +00:00
# direct methods
2019-10-03 02:31:26 +00:00
.method static constructor <clinit>()V
.locals 2
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
const-class v0, Lkotlinx/coroutines/m;
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
const-string v1, "_resumed"
2019-07-24 11:27:29 +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-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
sput-object v0, Lkotlinx/coroutines/m;->boZ:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-10-03 02:31:26 +00:00
.method public constructor <init>(Lkotlin/coroutines/Continuation;Ljava/lang/Throwable;Z)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/coroutines/Continuation<",
"*>;",
"Ljava/lang/Throwable;",
"Z)V"
}
.end annotation
const-string v0, "continuation"
2019-07-24 11:27:29 +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-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
if-nez p2, :cond_0
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
new-instance p2, Ljava/util/concurrent/CancellationException;
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
new-instance v0, Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
const-string v1, "Continuation "
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
const-string p1, " was cancelled normally"
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
move-result-object p1
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
invoke-direct {p2, p1}, Ljava/util/concurrent/CancellationException;-><init>(Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
check-cast p2, Ljava/lang/Throwable;
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
:cond_0
invoke-direct {p0, p2, p3}, Lkotlinx/coroutines/t;-><init>(Ljava/lang/Throwable;Z)V
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
const/4 p1, 0x0
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
iput p1, p0, Lkotlinx/coroutines/m;->_resumed:I
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
return-void
2019-07-24 11:27:29 +00:00
.end method
2019-10-03 02:31:26 +00:00
# virtual methods
.method public final ES()Z
.locals 3
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
sget-object v0, Lkotlinx/coroutines/m;->boZ:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
const/4 v1, 0x0
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
const/4 v2, 0x1
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
invoke-virtual {v0, p0, v1, v2}, Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;->compareAndSet(Ljava/lang/Object;II)Z
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
move-result v0
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
return v0
2019-07-24 11:27:29 +00:00
.end method