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

157 lines
4.1 KiB
Smali
Raw Normal View History

2019-02-04 20:32:01 +00:00
.class final Lkotlinx/coroutines/aq;
.super Lkotlinx/coroutines/au;
2019-02-04 20:29:01 +00:00
.source "JobSupport.kt"
2019-02-04 20:08:30 +00:00
# annotations
2019-02-04 20:32:01 +00:00
.annotation system Ldalvik/annotation/Signature;
2019-02-04 20:08:30 +00:00
value = {
2019-02-04 20:32:01 +00:00
"Lkotlinx/coroutines/au<",
"Lkotlinx/coroutines/as;",
">;"
2019-02-04 20:08:30 +00:00
}
.end annotation
2019-02-04 20:29:01 +00:00
# static fields
2019-02-21 02:16:48 +00:00
.field private static final bge:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2019-02-04 20:29:01 +00:00
2019-02-04 20:08:30 +00:00
# instance fields
2019-02-04 20:32:01 +00:00
.field private volatile _invoked:I
2019-02-04 20:29:01 +00:00
2019-02-21 02:16:48 +00:00
.field private final bgf:Lkotlin/jvm/functions/Function1;
2019-02-04 20:29:01 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-02-04 20:32:01 +00:00
"Lkotlin/jvm/functions/Function1<",
2019-02-04 20:29:01 +00:00
"Ljava/lang/Throwable;",
2019-02-04 20:32:01 +00:00
"Lkotlin/Unit;",
">;"
2019-02-04 20:29:01 +00:00
}
.end annotation
2019-02-04 20:32:01 +00:00
.end field
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
# direct methods
.method static constructor <clinit>()V
.locals 2
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
const-class v0, Lkotlinx/coroutines/aq;
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
const-string v1, "_invoked"
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
invoke-static {v0, v1}, Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;->newUpdater(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2019-02-04 20:29:01 +00:00
move-result-object v0
2019-02-21 02:16:48 +00:00
sput-object v0, Lkotlinx/coroutines/aq;->bge:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
return-void
2019-02-04 20:29:01 +00:00
.end method
2019-02-04 20:32:01 +00:00
.method public constructor <init>(Lkotlinx/coroutines/as;Lkotlin/jvm/functions/Function1;)V
.locals 1
2019-02-04 20:29:01 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2019-02-04 20:32:01 +00:00
"Lkotlinx/coroutines/as;",
2019-02-04 20:29:01 +00:00
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Throwable;",
"Lkotlin/Unit;",
2019-02-04 20:32:01 +00:00
">;)V"
2019-02-04 20:29:01 +00:00
}
.end annotation
2019-02-04 20:32:01 +00:00
const-string v0, "job"
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
const-string v0, "handler"
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
invoke-static {p2, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
invoke-direct {p0, p1}, Lkotlinx/coroutines/au;-><init>(Lkotlinx/coroutines/as;)V
2019-02-04 20:29:01 +00:00
2019-02-21 02:16:48 +00:00
iput-object p2, p0, Lkotlinx/coroutines/aq;->bgf:Lkotlin/jvm/functions/Function1;
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
const/4 p1, 0x0
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
iput p1, p0, Lkotlinx/coroutines/aq;->_invoked:I
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
return-void
2019-02-04 20:29:01 +00:00
.end method
2019-02-04 20:32:01 +00:00
# virtual methods
.method public final bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
check-cast p1, Ljava/lang/Throwable;
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
invoke-virtual {p0, p1}, Lkotlinx/coroutines/aq;->invoke(Ljava/lang/Throwable;)V
2019-02-04 20:29:01 +00:00
2019-02-21 02:16:48 +00:00
sget-object p1, Lkotlin/Unit;->bcQ:Lkotlin/Unit;
2019-02-04 20:29:01 +00:00
return-object p1
.end method
2019-02-04 20:32:01 +00:00
.method public final invoke(Ljava/lang/Throwable;)V
.locals 3
2019-02-04 20:29:01 +00:00
2019-02-21 02:16:48 +00:00
sget-object v0, Lkotlinx/coroutines/aq;->bge:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
const/4 v1, 0x0
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
const/4 v2, 0x1
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
invoke-virtual {v0, p0, v1, v2}, Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;->compareAndSet(Ljava/lang/Object;II)Z
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
move-result v0
2019-02-04 20:29:01 +00:00
if-eqz v0, :cond_0
2019-02-21 02:16:48 +00:00
iget-object v0, p0, Lkotlinx/coroutines/aq;->bgf:Lkotlin/jvm/functions/Function1;
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
invoke-interface {v0, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
:cond_0
2019-02-04 20:32:01 +00:00
return-void
.end method
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
.method public final toString()Ljava/lang/String;
.locals 2
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
new-instance v0, Ljava/lang/StringBuilder;
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
const-string v1, "InvokeOnCancelling["
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
invoke-static {p0}, Lkotlinx/coroutines/aa;->bh(Ljava/lang/Object;)Ljava/lang/String;
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
move-result-object v1
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
const/16 v1, 0x40
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
invoke-static {p0}, Lkotlinx/coroutines/aa;->bg(Ljava/lang/Object;)Ljava/lang/String;
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
move-result-object v1
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-02-04 20:29:01 +00:00
2019-02-04 20:32:01 +00:00
const/16 v1, 0x5d
2019-02-04 20:29:01 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
2019-02-04 20:08:30 +00:00
.end method