2019-07-24 11:27:29 +00:00
|
|
|
.class public Lokio/a;
|
|
|
|
.super Lokio/s;
|
|
|
|
.source "AsyncTimeout.java"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lokio/a$a;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2019-11-15 02:21:15 +00:00
|
|
|
.field private static final byD:J
|
2019-10-25 01:57:51 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
.field private static final byE:J
|
2019-10-31 00:47:18 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
.field static byF:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-11-15 02:21:15 +00:00
|
|
|
.field private byG:Z
|
2019-10-31 00:47:18 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
.field private byH:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
.field private byI:J
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method static constructor <clinit>()V
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
sget-object v0, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
|
|
|
|
|
|
|
|
const-wide/16 v1, 0x3c
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J
|
|
|
|
|
|
|
|
move-result-wide v0
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
sput-wide v0, Lokio/a;->byD:J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
sget-object v0, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
sget-wide v1, Lokio/a;->byD:J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toNanos(J)J
|
|
|
|
|
|
|
|
move-result-wide v0
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
sput-wide v0, Lokio/a;->byE:J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lokio/s;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
.method static Hh()Lokio/a;
|
2019-08-30 20:04:20 +00:00
|
|
|
.locals 9
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/lang/InterruptedException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-class v0, Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
sget-object v1, Lokio/a;->byF:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object v1, v1, Lokio/a;->byH:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/4 v2, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
if-nez v1, :cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-wide v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
sget-wide v5, Lokio/a;->byD:J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
invoke-virtual {v0, v5, v6}, Ljava/lang/Object;->wait(J)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
sget-object v0, Lokio/a;->byF:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object v0, v0, Lokio/a;->byH:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-wide v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
sub-long/2addr v0, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
sget-wide v3, Lokio/a;->byE:J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
cmp-long v5, v0, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
if-ltz v5, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
sget-object v0, Lokio/a;->byF:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
2019-08-30 20:04:20 +00:00
|
|
|
return-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-wide v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-wide v5, v1, Lokio/a;->byI:J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
sub-long/2addr v5, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-wide/16 v3, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
cmp-long v7, v5, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
if-lez v7, :cond_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-wide/32 v3, 0xf4240
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
div-long v7, v5, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
mul-long v3, v3, v7
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
sub-long/2addr v5, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
long-to-int v1, v5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
invoke-virtual {v0, v7, v8, v1}, Ljava/lang/Object;->wait(JI)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
return-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_2
|
2019-11-15 02:21:15 +00:00
|
|
|
sget-object v0, Lokio/a;->byF:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object v3, v1, Lokio/a;->byH:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iput-object v3, v0, Lokio/a;->byH:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iput-object v2, v1, Lokio/a;->byH:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
return-object v1
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private static declared-synchronized a(Lokio/a;JZ)V
|
|
|
|
.locals 6
|
|
|
|
|
|
|
|
const-class v0, Lokio/a;
|
|
|
|
|
|
|
|
monitor-enter v0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-11-15 02:21:15 +00:00
|
|
|
sget-object v1, Lokio/a;->byF:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
|
|
|
|
new-instance v1, Lokio/a;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Lokio/a;-><init>()V
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
sput-object v1, Lokio/a;->byF:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance v1, Lokio/a$a;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Lokio/a$a;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Lokio/a$a;->start()V
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
|
|
|
|
|
|
|
move-result-wide v1
|
|
|
|
|
|
|
|
const-wide/16 v3, 0x0
|
|
|
|
|
|
|
|
cmp-long v5, p1, v3
|
|
|
|
|
|
|
|
if-eqz v5, :cond_1
|
|
|
|
|
|
|
|
if-eqz p3, :cond_1
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-virtual {p0}, Lokio/a;->HH()J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-wide v3
|
|
|
|
|
|
|
|
sub-long/2addr v3, v1
|
|
|
|
|
|
|
|
invoke-static {p1, p2, v3, v4}, Ljava/lang/Math;->min(JJ)J
|
|
|
|
|
|
|
|
move-result-wide p1
|
|
|
|
|
|
|
|
add-long/2addr p1, v1
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iput-wide p1, p0, Lokio/a;->byI:J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
cmp-long v5, p1, v3
|
|
|
|
|
|
|
|
if-eqz v5, :cond_2
|
|
|
|
|
|
|
|
add-long/2addr p1, v1
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iput-wide p1, p0, Lokio/a;->byI:J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
if-eqz p3, :cond_6
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-virtual {p0}, Lokio/a;->HH()J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-wide p1
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iput-wide p1, p0, Lokio/a;->byI:J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:goto_0
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-wide p1, p0, Lokio/a;->byI:J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
sub-long/2addr p1, v1
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
sget-object p3, Lokio/a;->byF:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:goto_1
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object v3, p3, Lokio/a;->byH:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v3, :cond_4
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object v3, p3, Lokio/a;->byH:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-wide v3, v3, Lokio/a;->byI:J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
sub-long/2addr v3, v1
|
|
|
|
|
|
|
|
cmp-long v5, p1, v3
|
|
|
|
|
|
|
|
if-gez v5, :cond_3
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_3
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object p3, p3, Lokio/a;->byH:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
:goto_2
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object p1, p3, Lokio/a;->byH:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iput-object p1, p0, Lokio/a;->byH:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iput-object p0, p3, Lokio/a;->byH:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
sget-object p0, Lokio/a;->byF:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-ne p3, p0, :cond_5
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->notify()V
|
2019-07-24 11:27:29 +00:00
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
:try_start_1
|
|
|
|
new-instance p0, Ljava/lang/AssertionError;
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/AssertionError;-><init>()V
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p0
|
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
throw p0
|
|
|
|
|
|
|
|
:goto_4
|
|
|
|
goto :goto_3
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private static declared-synchronized a(Lokio/a;)Z
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
const-class v0, Lokio/a;
|
|
|
|
|
|
|
|
monitor-enter v0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-11-15 02:21:15 +00:00
|
|
|
sget-object v1, Lokio/a;->byF:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object v2, v1, Lokio/a;->byH:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-ne v2, p0, :cond_0
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object v2, p0, Lokio/a;->byH:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iput-object v2, v1, Lokio/a;->byH:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iput-object v1, p0, Lokio/a;->byH:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:try_start_1
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object v1, v1, Lokio/a;->byH:Lokio/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 p0, 0x1
|
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p0
|
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
throw p0
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
goto :goto_1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-11-15 02:21:15 +00:00
|
|
|
.method protected FK()V
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
.method public final Hg()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 2
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-boolean v0, p0, Lokio/a;->byG:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_0
|
2019-11-15 02:21:15 +00:00
|
|
|
iput-boolean v1, p0, Lokio/a;->byG:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p0}, Lokio/a;->a(Lokio/a;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
.method final X(Z)V
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-virtual {p0}, Lokio/a;->Hg()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lokio/a;->e(Ljava/io/IOException;)Ljava/io/IOException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method protected e(Ljava/io/IOException;)Ljava/io/IOException;
|
|
|
|
.locals 2
|
|
|
|
.param p1 # Ljava/io/IOException;
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
new-instance v0, Ljava/io/InterruptedIOException;
|
|
|
|
|
|
|
|
const-string v1, "timeout"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/io/InterruptedIOException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Ljava/io/InterruptedIOException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final enter()V
|
|
|
|
.locals 6
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-boolean v0, p0, Lokio/a;->byG:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-virtual {p0}, Lokio/a;->HF()J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-wide v0
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-virtual {p0}, Lokio/a;->HG()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
const-wide/16 v3, 0x0
|
|
|
|
|
|
|
|
cmp-long v5, v0, v3
|
|
|
|
|
|
|
|
if-nez v5, :cond_0
|
|
|
|
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iput-boolean v3, p0, Lokio/a;->byG:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p0, v0, v1, v2}, Lokio/a;->a(Lokio/a;JZ)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const-string v1, "Unbalanced enter/exit"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method final f(Ljava/io/IOException;)Ljava/io/IOException;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-virtual {p0}, Lokio/a;->Hg()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p0, p1}, Lokio/a;->e(Ljava/io/IOException;)Ljava/io/IOException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|