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

298 lines
5.2 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public abstract Lkotlinx/coroutines/at;
2019-08-17 08:22:04 +00:00
.super Lkotlinx/coroutines/y;
.source "EventLoop.common.kt"
2019-08-14 23:59:34 +00:00
2019-07-24 11:27:29 +00:00
# instance fields
2019-08-30 20:04:20 +00:00
.field private bmX:J
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
.field private bmY:Z
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
.field private bmZ:Lkotlinx/coroutines/internal/b;
2019-08-17 08:22:04 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlinx/coroutines/internal/b<",
"Lkotlinx/coroutines/ao<",
"*>;>;"
}
.end annotation
.end field
2019-07-24 11:27:29 +00:00
# direct methods
.method public constructor <init>()V
2019-08-17 08:22:04 +00:00
.locals 0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
invoke-direct {p0}, Lkotlinx/coroutines/y;-><init>()V
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-08-17 08:22:04 +00:00
.method private static aa(Z)J
2019-07-24 11:27:29 +00:00
.locals 2
2019-08-17 08:22:04 +00:00
if-eqz p0, :cond_0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
const-wide v0, 0x100000000L
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return-wide v0
2019-07-24 11:27:29 +00:00
:cond_0
2019-08-17 08:22:04 +00:00
const-wide/16 v0, 0x1
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return-wide v0
2019-07-24 11:27:29 +00:00
.end method
2019-08-17 08:22:04 +00:00
# virtual methods
2019-08-22 18:54:10 +00:00
.method public Fa()J
2019-08-17 08:22:04 +00:00
.locals 2
2019-07-24 11:27:29 +00:00
2019-08-22 18:54:10 +00:00
invoke-virtual {p0}, Lkotlinx/coroutines/at;->Fc()Z
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
move-result v0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
if-nez v0, :cond_0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
const-wide v0, 0x7fffffffffffffffL
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return-wide v0
2019-07-24 11:27:29 +00:00
:cond_0
2019-08-22 18:54:10 +00:00
invoke-virtual {p0}, Lkotlinx/coroutines/at;->Fb()J
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
move-result-wide v0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return-wide v0
2019-07-24 11:27:29 +00:00
.end method
2019-08-22 18:54:10 +00:00
.method protected Fb()J
2019-08-17 08:22:04 +00:00
.locals 3
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
iget-object v0, p0, Lkotlinx/coroutines/at;->bmZ:Lkotlinx/coroutines/internal/b;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
const-wide v1, 0x7fffffffffffffffL
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
if-nez v0, :cond_0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return-wide v1
2019-07-24 11:27:29 +00:00
:cond_0
2019-08-17 08:22:04 +00:00
invoke-virtual {v0}, Lkotlinx/coroutines/internal/b;->isEmpty()Z
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
move-result v0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
if-eqz v0, :cond_1
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return-wide v1
2019-07-24 11:27:29 +00:00
:cond_1
2019-08-17 08:22:04 +00:00
const-wide/16 v0, 0x0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return-wide v0
2019-07-24 11:27:29 +00:00
.end method
2019-08-22 18:54:10 +00:00
.method public final Fc()Z
2019-08-17 08:22:04 +00:00
.locals 2
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
iget-object v0, p0, Lkotlinx/coroutines/at;->bmZ:Lkotlinx/coroutines/internal/b;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
const/4 v1, 0x0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
if-nez v0, :cond_0
2019-07-24 11:27:29 +00:00
return v1
2019-08-17 08:22:04 +00:00
:cond_0
2019-08-22 18:54:10 +00:00
invoke-virtual {v0}, Lkotlinx/coroutines/internal/b;->FA()Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
check-cast v0, Lkotlinx/coroutines/ao;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
if-nez v0, :cond_1
2019-07-24 11:27:29 +00:00
return v1
2019-08-17 08:22:04 +00:00
:cond_1
invoke-virtual {v0}, Lkotlinx/coroutines/ao;->run()V
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
const/4 v0, 0x1
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return v0
2019-07-24 11:27:29 +00:00
.end method
2019-08-22 18:54:10 +00:00
.method public final Fd()Z
2019-08-17 08:22:04 +00:00
.locals 6
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
iget-wide v0, p0, Lkotlinx/coroutines/at;->bmX:J
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
const/4 v2, 0x1
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
invoke-static {v2}, Lkotlinx/coroutines/at;->aa(Z)J
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
move-result-wide v3
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
cmp-long v5, v0, v3
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
if-ltz v5, :cond_0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return v2
2019-07-24 11:27:29 +00:00
:cond_0
2019-08-17 08:22:04 +00:00
const/4 v0, 0x0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return v0
.end method
2019-07-24 11:27:29 +00:00
2019-08-22 18:54:10 +00:00
.method public final Fe()Z
2019-08-17 08:22:04 +00:00
.locals 1
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
iget-object v0, p0, Lkotlinx/coroutines/at;->bmZ:Lkotlinx/coroutines/internal/b;
2019-07-24 11:27:29 +00:00
if-eqz v0, :cond_0
2019-08-17 08:22:04 +00:00
invoke-virtual {v0}, Lkotlinx/coroutines/internal/b;->isEmpty()Z
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
move-result v0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return v0
2019-07-24 11:27:29 +00:00
:cond_0
2019-08-17 08:22:04 +00:00
const/4 v0, 0x1
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return v0
.end method
2019-07-24 11:27:29 +00:00
2019-08-22 18:54:10 +00:00
.method public final Ff()V
2019-08-17 08:22:04 +00:00
.locals 6
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
iget-wide v0, p0, Lkotlinx/coroutines/at;->bmX:J
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
const/4 v2, 0x1
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
invoke-static {v2}, Lkotlinx/coroutines/at;->aa(Z)J
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
move-result-wide v3
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
sub-long/2addr v0, v3
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
iput-wide v0, p0, Lkotlinx/coroutines/at;->bmX:J
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
iget-wide v0, p0, Lkotlinx/coroutines/at;->bmX:J
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
const-wide/16 v3, 0x0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
cmp-long v5, v0, v3
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
if-lez v5, :cond_0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return-void
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
:cond_0
cmp-long v5, v0, v3
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
if-nez v5, :cond_1
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_1
2019-08-17 08:22:04 +00:00
const/4 v2, 0x0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
:goto_0
if-eqz v2, :cond_3
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
iget-boolean v0, p0, Lkotlinx/coroutines/at;->bmY:Z
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
if-eqz v0, :cond_2
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
invoke-virtual {p0}, Lkotlinx/coroutines/at;->shutdown()V
2019-07-24 11:27:29 +00:00
:cond_2
2019-08-17 08:22:04 +00:00
return-void
2019-07-24 11:27:29 +00:00
:cond_3
2019-08-17 08:22:04 +00:00
new-instance v0, Ljava/lang/IllegalStateException;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
const-string v1, "Extra decrementUseCount"
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
move-result-object v1
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
check-cast v0, Ljava/lang/Throwable;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
throw v0
.end method
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
.method public final a(Lkotlinx/coroutines/ao;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlinx/coroutines/ao<",
"*>;)V"
}
.end annotation
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
const-string v0, "task"
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +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-08-30 20:04:20 +00:00
iget-object v0, p0, Lkotlinx/coroutines/at;->bmZ:Lkotlinx/coroutines/internal/b;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
if-nez v0, :cond_0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
new-instance v0, Lkotlinx/coroutines/internal/b;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
invoke-direct {v0}, Lkotlinx/coroutines/internal/b;-><init>()V
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
iput-object v0, p0, Lkotlinx/coroutines/at;->bmZ:Lkotlinx/coroutines/internal/b;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
:cond_0
invoke-virtual {v0, p1}, Lkotlinx/coroutines/internal/b;->addLast(Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return-void
.end method
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
.method public final ab(Z)V
.locals 4
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
iget-wide v0, p0, Lkotlinx/coroutines/at;->bmX:J
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
invoke-static {p1}, Lkotlinx/coroutines/at;->aa(Z)J
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
move-result-wide v2
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
add-long/2addr v0, v2
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
iput-wide v0, p0, Lkotlinx/coroutines/at;->bmX:J
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
if-nez p1, :cond_0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
const/4 p1, 0x1
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
iput-boolean p1, p0, Lkotlinx/coroutines/at;->bmY:Z
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
:cond_0
return-void
.end method
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
.method protected isEmpty()Z
.locals 1
2019-07-24 11:27:29 +00:00
2019-08-22 18:54:10 +00:00
invoke-virtual {p0}, Lkotlinx/coroutines/at;->Fe()Z
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
move-result v0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return v0
.end method
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
.method protected shutdown()V
.locals 0
2019-07-24 11:27:29 +00:00
return-void
.end method