apkfuckery/com.discord/smali/okio/o.smali

158 lines
2.5 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class final Lokio/o;
.super Ljava/lang/Object;
.source "SegmentPool.java"
# static fields
2019-08-01 23:08:43 +00:00
.field static bBB:Lokio/n;
2019-07-24 11:27:29 +00:00
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
2019-08-01 23:08:43 +00:00
.field static bBD:J
2019-07-24 11:27:29 +00:00
# direct methods
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
2019-08-01 02:26:13 +00:00
.method static IO()Lokio/n;
2019-07-24 11:27:29 +00:00
.locals 6
const-class v0, Lokio/o;
monitor-enter v0
:try_start_0
2019-08-01 23:08:43 +00:00
sget-object v1, Lokio/o;->bBB:Lokio/n;
2019-07-24 11:27:29 +00:00
if-eqz v1, :cond_0
2019-08-01 23:08:43 +00:00
sget-object v1, Lokio/o;->bBB:Lokio/n;
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iget-object v2, v1, Lokio/n;->bBB:Lokio/n;
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
sput-object v2, Lokio/o;->bBB:Lokio/n;
2019-07-24 11:27:29 +00:00
const/4 v2, 0x0
2019-08-01 23:08:43 +00:00
iput-object v2, v1, Lokio/n;->bBB:Lokio/n;
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
sget-wide v2, Lokio/o;->bBD:J
2019-07-24 11:27:29 +00:00
const-wide/16 v4, 0x2000
sub-long/2addr v2, v4
2019-08-01 23:08:43 +00:00
sput-wide v2, Lokio/o;->bBD:J
2019-07-24 11:27:29 +00:00
monitor-exit v0
return-object v1
:cond_0
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
new-instance v0, Lokio/n;
invoke-direct {v0}, Lokio/n;-><init>()V
return-object v0
:catchall_0
move-exception v1
:try_start_1
monitor-exit v0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw v1
.end method
.method static b(Lokio/n;)V
.locals 8
2019-08-01 23:08:43 +00:00
iget-object v0, p0, Lokio/n;->bBB:Lokio/n;
2019-07-24 11:27:29 +00:00
if-nez v0, :cond_2
2019-08-01 23:08:43 +00:00
iget-object v0, p0, Lokio/n;->bBC:Lokio/n;
2019-07-24 11:27:29 +00:00
if-nez v0, :cond_2
2019-08-01 23:08:43 +00:00
iget-boolean v0, p0, Lokio/n;->bmS:Z
2019-07-24 11:27:29 +00:00
if-eqz v0, :cond_0
return-void
:cond_0
const-class v0, Lokio/o;
monitor-enter v0
:try_start_0
2019-08-01 23:08:43 +00:00
sget-wide v1, Lokio/o;->bBD:J
2019-07-24 11:27:29 +00:00
const-wide/16 v3, 0x2000
add-long/2addr v1, v3
const-wide/32 v5, 0x10000
cmp-long v7, v1, v5
if-lez v7, :cond_1
monitor-exit v0
return-void
:cond_1
2019-08-01 23:08:43 +00:00
sget-wide v1, Lokio/o;->bBD:J
2019-07-24 11:27:29 +00:00
add-long/2addr v1, v3
2019-08-01 23:08:43 +00:00
sput-wide v1, Lokio/o;->bBD:J
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
sget-object v1, Lokio/o;->bBB:Lokio/n;
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iput-object v1, p0, Lokio/n;->bBB:Lokio/n;
2019-07-24 11:27:29 +00:00
const/4 v1, 0x0
iput v1, p0, Lokio/n;->limit:I
iput v1, p0, Lokio/n;->pos:I
2019-08-01 23:08:43 +00:00
sput-object p0, Lokio/o;->bBB:Lokio/n;
2019-07-24 11:27:29 +00:00
monitor-exit v0
return-void
:catchall_0
move-exception p0
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p0
:cond_2
new-instance p0, Ljava/lang/IllegalArgumentException;
invoke-direct {p0}, Ljava/lang/IllegalArgumentException;-><init>()V
throw p0
.end method