199 lines
3 KiB
Smali
199 lines
3 KiB
Smali
.class public final Ly/s;
|
|
.super Ljava/lang/Object;
|
|
.source "SegmentPool.kt"
|
|
|
|
|
|
# static fields
|
|
.field public static a:Ly/r;
|
|
|
|
.field public static b:J
|
|
|
|
.field public static final c:Ly/s;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
new-instance v0, Ly/s;
|
|
|
|
invoke-direct {v0}, Ly/s;-><init>()V
|
|
|
|
sput-object v0, Ly/s;->c:Ly/s;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final a()Ly/r;
|
|
.locals 6
|
|
|
|
sget-object v0, Ly/s;->c:Ly/s;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
sget-object v1, Ly/s;->a:Ly/r;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
iget-object v2, v1, Ly/r;->f:Ly/r;
|
|
|
|
sput-object v2, Ly/s;->a:Ly/r;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
iput-object v2, v1, Ly/r;->f:Ly/r;
|
|
|
|
sget-wide v2, Ly/s;->b:J
|
|
|
|
const/16 v4, 0x2000
|
|
|
|
int-to-long v4, v4
|
|
|
|
sub-long/2addr v2, v4
|
|
|
|
sput-wide v2, Ly/s;->b:J
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
monitor-exit v0
|
|
|
|
return-object v1
|
|
|
|
:cond_0
|
|
monitor-exit v0
|
|
|
|
new-instance v0, Ly/r;
|
|
|
|
invoke-direct {v0}, Ly/r;-><init>()V
|
|
|
|
return-object v0
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
monitor-exit v0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public static final a(Ly/r;)V
|
|
.locals 9
|
|
|
|
if-eqz p0, :cond_4
|
|
|
|
iget-object v0, p0, Ly/r;->f:Ly/r;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Ly/r;->g:Ly/r;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
if-eqz v0, :cond_3
|
|
|
|
iget-boolean v0, p0, Ly/r;->d:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
sget-object v0, Ly/s;->c:Ly/s;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
sget-wide v2, Ly/s;->b:J
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
const/16 v4, 0x2000
|
|
|
|
int-to-long v4, v4
|
|
|
|
add-long/2addr v2, v4
|
|
|
|
const-wide/32 v6, 0x10000
|
|
|
|
cmp-long v8, v2, v6
|
|
|
|
if-lez v8, :cond_2
|
|
|
|
monitor-exit v0
|
|
|
|
return-void
|
|
|
|
:cond_2
|
|
:try_start_1
|
|
sget-wide v2, Ly/s;->b:J
|
|
|
|
add-long/2addr v2, v4
|
|
|
|
sput-wide v2, Ly/s;->b:J
|
|
|
|
sget-object v2, Ly/s;->a:Ly/r;
|
|
|
|
iput-object v2, p0, Ly/r;->f:Ly/r;
|
|
|
|
iput v1, p0, Ly/r;->c:I
|
|
|
|
iget v1, p0, Ly/r;->c:I
|
|
|
|
iput v1, p0, Ly/r;->b:I
|
|
|
|
sput-object p0, Ly/s;->a:Ly/r;
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
monitor-exit v0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p0
|
|
|
|
monitor-exit v0
|
|
|
|
throw p0
|
|
|
|
:cond_3
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v0, "Failed requirement."
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
:cond_4
|
|
const-string p0, "segment"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|