apkfuckery/com.discord/smali_classes2/okhttp3/j$1.smali
2019-02-04 21:32:01 +01:00

111 lines
1.9 KiB
Smali

.class final Lokhttp3/j$1;
.super Ljava/lang/Object;
.source "ConnectionPool.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/j;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic bka:Lokhttp3/j;
# direct methods
.method constructor <init>(Lokhttp3/j;)V
.locals 0
iput-object p1, p0, Lokhttp3/j$1;->bka:Lokhttp3/j;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.locals 6
:cond_0
:goto_0
iget-object v0, p0, Lokhttp3/j$1;->bka:Lokhttp3/j;
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v1
invoke-virtual {v0, v1, v2}, Lokhttp3/j;->aj(J)J
move-result-wide v0
const-wide/16 v2, -0x1
cmp-long v4, v0, v2
if-nez v4, :cond_1
return-void
:cond_1
const-wide/16 v2, 0x0
cmp-long v4, v0, v2
if-lez v4, :cond_0
const-wide/32 v2, 0xf4240
div-long v4, v0, v2
mul-long v2, v2, v4
sub-long/2addr v0, v2
iget-object v2, p0, Lokhttp3/j$1;->bka:Lokhttp3/j;
monitor-enter v2
:try_start_0
iget-object v3, p0, Lokhttp3/j$1;->bka:Lokhttp3/j;
long-to-int v0, v0
invoke-virtual {v3, v4, v5, v0}, Ljava/lang/Object;->wait(JI)V
:try_end_0
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_1
:catchall_0
move-exception v0
goto :goto_2
:catch_0
:goto_1
:try_start_1
monitor-exit v2
goto :goto_0
:goto_2
monitor-exit v2
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw v0
return-void
.end method