apkfuckery/com.discord/smali_classes2/y/b$a.smali

355 lines
5.5 KiB
Smali
Raw Normal View History

2019-12-21 01:41:59 +00:00
.class public final Ly/b$a;
2019-12-06 03:29:40 +00:00
.super Ljava/lang/Object;
.source "AsyncTimeout.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2019-12-21 01:41:59 +00:00
value = Ly/b;
2019-12-06 03:29:40 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# direct methods
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
2019-12-21 01:41:59 +00:00
.method public final a()Ly/b;
2019-12-06 03:29:40 +00:00
.locals 9
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;
}
.end annotation
2019-12-21 01:41:59 +00:00
const-class v0, Ly/b;
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
sget-object v1, Ly/b;->j:Ly/b;
2019-12-06 03:29:40 +00:00
const/4 v2, 0x0
if-eqz v1, :cond_5
2019-12-21 01:41:59 +00:00
iget-object v1, v1, Ly/b;->f:Ly/b;
2019-12-06 03:29:40 +00:00
if-nez v1, :cond_2
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v3
2019-12-21 01:41:59 +00:00
sget-wide v5, Ly/b;->h:J
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v5, v6}, Ljava/lang/Object;->wait(J)V
2019-12-21 01:41:59 +00:00
sget-object v0, Ly/b;->j:Ly/b;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_1
2019-12-21 01:41:59 +00:00
iget-object v0, v0, Ly/b;->f:Ly/b;
2019-12-06 03:29:40 +00:00
if-nez v0, :cond_0
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v0
sub-long/2addr v0, v3
2019-12-21 01:41:59 +00:00
sget-wide v3, Ly/b;->i:J
2019-12-06 03:29:40 +00:00
cmp-long v5, v0, v3
if-ltz v5, :cond_0
2019-12-21 01:41:59 +00:00
sget-object v2, Ly/b;->j:Ly/b;
2019-12-06 03:29:40 +00:00
:cond_0
return-object v2
:cond_1
2019-12-21 01:41:59 +00:00
invoke-static {}, Lt/u/b/j;->throwNpe()V
2019-12-06 03:29:40 +00:00
throw v2
:cond_2
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v3
2019-12-21 01:41:59 +00:00
iget-wide v5, v1, Ly/b;->g:J
2019-12-06 03:29:40 +00:00
sub-long/2addr v5, v3
const-wide/16 v3, 0x0
cmp-long v7, v5, v3
if-lez v7, :cond_3
const-wide/32 v3, 0xf4240
div-long v7, v5, v3
mul-long v3, v3, v7
sub-long/2addr v5, v3
long-to-int v1, v5
invoke-virtual {v0, v7, v8, v1}, Ljava/lang/Object;->wait(JI)V
return-object v2
:cond_3
2019-12-21 01:41:59 +00:00
sget-object v0, Ly/b;->j:Ly/b;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_4
2019-12-21 01:41:59 +00:00
iget-object v3, v1, Ly/b;->f:Ly/b;
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
iput-object v3, v0, Ly/b;->f:Ly/b;
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
iput-object v2, v1, Ly/b;->f:Ly/b;
2019-12-06 03:29:40 +00:00
return-object v1
:cond_4
2019-12-21 01:41:59 +00:00
invoke-static {}, Lt/u/b/j;->throwNpe()V
2019-12-06 03:29:40 +00:00
throw v2
:cond_5
2019-12-21 01:41:59 +00:00
invoke-static {}, Lt/u/b/j;->throwNpe()V
2019-12-06 03:29:40 +00:00
throw v2
.end method
2019-12-21 01:41:59 +00:00
.method public final a(Ly/b;JZ)V
2019-12-06 03:29:40 +00:00
.locals 8
2019-12-21 01:41:59 +00:00
const-class v0, Ly/b;
2019-12-06 03:29:40 +00:00
monitor-enter v0
:try_start_0
2019-12-21 01:41:59 +00:00
sget-object v1, Ly/b;->j:Ly/b;
2019-12-06 03:29:40 +00:00
if-nez v1, :cond_0
2019-12-21 01:41:59 +00:00
new-instance v1, Ly/b;
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
invoke-direct {v1}, Ly/b;-><init>()V
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
sput-object v1, Ly/b;->j:Ly/b;
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
new-instance v1, Ly/b$b;
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
invoke-direct {v1}, Ly/b$b;-><init>()V
2019-12-06 03:29:40 +00:00
invoke-virtual {v1}, Ljava/lang/Thread;->start()V
:cond_0
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v1
const-wide/16 v3, 0x0
cmp-long v5, p2, v3
if-eqz v5, :cond_1
if-eqz p4, :cond_1
2019-12-21 01:41:59 +00:00
invoke-virtual {p1}, Ly/x;->c()J
2019-12-06 03:29:40 +00:00
move-result-wide v3
sub-long/2addr v3, v1
invoke-static {p2, p3, v3, v4}, Ljava/lang/Math;->min(JJ)J
move-result-wide p2
add-long/2addr p2, v1
2019-12-21 01:41:59 +00:00
iput-wide p2, p1, Ly/b;->g:J
2019-12-06 03:29:40 +00:00
goto :goto_0
:cond_1
if-eqz v5, :cond_2
add-long/2addr p2, v1
2019-12-21 01:41:59 +00:00
iput-wide p2, p1, Ly/b;->g:J
2019-12-06 03:29:40 +00:00
goto :goto_0
:cond_2
if-eqz p4, :cond_8
2019-12-21 01:41:59 +00:00
invoke-virtual {p1}, Ly/x;->c()J
2019-12-06 03:29:40 +00:00
move-result-wide p2
2019-12-21 01:41:59 +00:00
iput-wide p2, p1, Ly/b;->g:J
2019-12-06 03:29:40 +00:00
:goto_0
2019-12-21 01:41:59 +00:00
iget-wide p2, p1, Ly/b;->g:J
2019-12-06 03:29:40 +00:00
sub-long/2addr p2, v1
2019-12-21 01:41:59 +00:00
sget-object p4, Ly/b;->j:Ly/b;
2019-12-06 03:29:40 +00:00
const/4 v3, 0x0
if-eqz p4, :cond_7
:goto_1
2019-12-21 01:41:59 +00:00
iget-object v4, p4, Ly/b;->f:Ly/b;
2019-12-06 03:29:40 +00:00
if-eqz v4, :cond_5
2019-12-21 01:41:59 +00:00
iget-object v4, p4, Ly/b;->f:Ly/b;
2019-12-06 03:29:40 +00:00
if-eqz v4, :cond_4
2019-12-21 01:41:59 +00:00
iget-wide v5, v4, Ly/b;->g:J
2019-12-06 03:29:40 +00:00
sub-long/2addr v5, v1
cmp-long v7, p2, v5
if-gez v7, :cond_3
goto :goto_2
:cond_3
move-object p4, v4
goto :goto_1
:cond_4
2019-12-21 01:41:59 +00:00
invoke-static {}, Lt/u/b/j;->throwNpe()V
2019-12-06 03:29:40 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v3
:cond_5
:goto_2
:try_start_1
2019-12-21 01:41:59 +00:00
iget-object p2, p4, Ly/b;->f:Ly/b;
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
iput-object p2, p1, Ly/b;->f:Ly/b;
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
iput-object p1, p4, Ly/b;->f:Ly/b;
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
sget-object p1, Ly/b;->j:Ly/b;
2019-12-06 03:29:40 +00:00
if-ne p4, p1, :cond_6
invoke-virtual {v0}, Ljava/lang/Object;->notify()V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:cond_6
monitor-exit v0
return-void
:cond_7
:try_start_2
2019-12-21 01:41:59 +00:00
invoke-static {}, Lt/u/b/j;->throwNpe()V
2019-12-06 03:29:40 +00:00
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
throw v3
:cond_8
:try_start_3
new-instance p1, Ljava/lang/AssertionError;
invoke-direct {p1}, Ljava/lang/AssertionError;-><init>()V
throw p1
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_0
:catchall_0
move-exception p1
monitor-exit v0
throw p1
.end method
2019-12-21 01:41:59 +00:00
.method public final a(Ly/b;)Z
2019-12-06 03:29:40 +00:00
.locals 3
2019-12-21 01:41:59 +00:00
const-class v0, Ly/b;
2019-12-06 03:29:40 +00:00
monitor-enter v0
:try_start_0
2019-12-21 01:41:59 +00:00
sget-object v1, Ly/b;->j:Ly/b;
2019-12-06 03:29:40 +00:00
:goto_0
if-eqz v1, :cond_1
2019-12-21 01:41:59 +00:00
iget-object v2, v1, Ly/b;->f:Ly/b;
2019-12-06 03:29:40 +00:00
if-ne v2, p1, :cond_0
2019-12-21 01:41:59 +00:00
iget-object v2, p1, Ly/b;->f:Ly/b;
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
iput-object v2, v1, Ly/b;->f:Ly/b;
2019-12-06 03:29:40 +00:00
const/4 v1, 0x0
2019-12-21 01:41:59 +00:00
iput-object v1, p1, Ly/b;->f:Ly/b;
2019-12-06 03:29:40 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
const/4 p1, 0x0
monitor-exit v0
return p1
:catchall_0
move-exception p1
goto :goto_1
:cond_0
move-object v1, v2
goto :goto_0
:cond_1
const/4 p1, 0x1
monitor-exit v0
return p1
:goto_1
monitor-exit v0
throw p1
.end method