y.smali
.class final Lf/b/b/b/k1/g0/y;
.super Ljava/lang/Object;
.source ""
# instance fields
.field private final a:Lf/b/b/b/s1/j0;
.field private final b:Lf/b/b/b/s1/y;
.field private c:Z
.field private d:Z
.field private e:Z
.field private f:J
.field private g:J
.field private h:J
# direct methods
.method constructor <init>()V
.registers 4
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Lf/b/b/b/s1/j0;
const-wide/16 v1, 0x0
invoke-direct {v0, v1, v2}, Lf/b/b/b/s1/j0;-><init>(J)V
iput-object v0, p0, Lf/b/b/b/k1/g0/y;->a:Lf/b/b/b/s1/j0;
const-wide v0, -0x7fffffffffffffffL # -4.9E-324
iput-wide v0, p0, Lf/b/b/b/k1/g0/y;->f:J
iput-wide v0, p0, Lf/b/b/b/k1/g0/y;->g:J
iput-wide v0, p0, Lf/b/b/b/k1/g0/y;->h:J
new-instance v0, Lf/b/b/b/s1/y;
invoke-direct {v0}, Lf/b/b/b/s1/y;-><init>()V
iput-object v0, p0, Lf/b/b/b/k1/g0/y;->b:Lf/b/b/b/s1/y;
return-void
.end method
.method private static a([B)Z
.registers 4
const/4 v0, 0x0
aget-byte v1, p0, v0
and-int/lit16 v1, v1, 0xc4
const/16 v2, 0x44
if-eq v1, v2, :cond_a
return v0
:cond_a
const/4 v1, 0x2
aget-byte v1, p0, v1
const/4 v2, 0x4
and-int/2addr v1, v2
if-eq v1, v2, :cond_12
return v0
:cond_12
aget-byte v1, p0, v2
and-int/2addr v1, v2
if-eq v1, v2, :cond_18
return v0
:cond_18
const/4 v1, 0x5
aget-byte v1, p0, v1
const/4 v2, 0x1
and-int/2addr v1, v2
if-eq v1, v2, :cond_20
return v0
:cond_20
const/16 v1, 0x8
aget-byte p0, p0, v1
const/4 v1, 0x3
and-int/2addr p0, v1
if-ne p0, v1, :cond_29
const/4 v0, 0x1
:cond_29
return v0
.end method
.method private b(Lf/b/b/b/k1/i;)I
.registers 4
iget-object v0, p0, Lf/b/b/b/k1/g0/y;->b:Lf/b/b/b/s1/y;
sget-object v1, Lf/b/b/b/s1/m0;->f:[B
invoke-virtual {v0, v1}, Lf/b/b/b/s1/y;->K([B)V
const/4 v0, 0x1
iput-boolean v0, p0, Lf/b/b/b/k1/g0/y;->c:Z
invoke-interface {p1}, Lf/b/b/b/k1/i;->g()V
const/4 p1, 0x0
return p1
.end method
.method private f([BI)I
.registers 5
aget-byte v0, p1, p2
and-int/lit16 v0, v0, 0xff
shl-int/lit8 v0, v0, 0x18
add-int/lit8 v1, p2, 0x1
aget-byte v1, p1, v1
and-int/lit16 v1, v1, 0xff
shl-int/lit8 v1, v1, 0x10
or-int/2addr v0, v1
add-int/lit8 v1, p2, 0x2
aget-byte v1, p1, v1
and-int/lit16 v1, v1, 0xff
shl-int/lit8 v1, v1, 0x8
or-int/2addr v0, v1
add-int/lit8 p2, p2, 0x3
aget-byte p1, p1, p2
and-int/lit16 p1, p1, 0xff
or-int/2addr p1, v0
return p1
.end method
.method private h(Lf/b/b/b/k1/i;Lf/b/b/b/k1/s;)I
.registers 11
invoke-interface {p1}, Lf/b/b/b/k1/i;->getLength()J
move-result-wide v0
const-wide/16 v2, 0x4e20
invoke-static {v2, v3, v0, v1}, Ljava/lang/Math;->min(JJ)J
move-result-wide v0
long-to-int v1, v0
invoke-interface {p1}, Lf/b/b/b/k1/i;->getPosition()J
move-result-wide v2
const/4 v0, 0x0
int-to-long v4, v0
const/4 v6, 0x1
cmp-long v7, v2, v4
if-eqz v7, :cond_19
iput-wide v4, p2, Lf/b/b/b/k1/s;->a:J
return v6
:cond_19
iget-object p2, p0, Lf/b/b/b/k1/g0/y;->b:Lf/b/b/b/s1/y;
invoke-virtual {p2, v1}, Lf/b/b/b/s1/y;->J(I)V
invoke-interface {p1}, Lf/b/b/b/k1/i;->g()V
iget-object p2, p0, Lf/b/b/b/k1/g0/y;->b:Lf/b/b/b/s1/y;
iget-object p2, p2, Lf/b/b/b/s1/y;->a:[B
invoke-interface {p1, p2, v0, v1}, Lf/b/b/b/k1/i;->j([BII)V
iget-object p1, p0, Lf/b/b/b/k1/g0/y;->b:Lf/b/b/b/s1/y;
invoke-direct {p0, p1}, Lf/b/b/b/k1/g0/y;->i(Lf/b/b/b/s1/y;)J
move-result-wide p1
iput-wide p1, p0, Lf/b/b/b/k1/g0/y;->f:J
iput-boolean v6, p0, Lf/b/b/b/k1/g0/y;->d:Z
return v0
.end method
.method private i(Lf/b/b/b/s1/y;)J
.registers 9
invoke-virtual {p1}, Lf/b/b/b/s1/y;->c()I
move-result v0
invoke-virtual {p1}, Lf/b/b/b/s1/y;->d()I
move-result v1
:goto_8
add-int/lit8 v2, v1, -0x3
const-wide v3, -0x7fffffffffffffffL # -4.9E-324
if-ge v0, v2, :cond_2c
iget-object v2, p1, Lf/b/b/b/s1/y;->a:[B
invoke-direct {p0, v2, v0}, Lf/b/b/b/k1/g0/y;->f([BI)I
move-result v2
const/16 v5, 0x1ba
if-ne v2, v5, :cond_29
add-int/lit8 v2, v0, 0x4
invoke-virtual {p1, v2}, Lf/b/b/b/s1/y;->N(I)V
invoke-static {p1}, Lf/b/b/b/k1/g0/y;->l(Lf/b/b/b/s1/y;)J
move-result-wide v5
cmp-long v2, v5, v3
if-eqz v2, :cond_29
return-wide v5
:cond_29
add-int/lit8 v0, v0, 0x1
goto :goto_8
:cond_2c
return-wide v3
.end method
.method private j(Lf/b/b/b/k1/i;Lf/b/b/b/k1/s;)I
.registers 10
invoke-interface {p1}, Lf/b/b/b/k1/i;->getLength()J
move-result-wide v0
const-wide/16 v2, 0x4e20
invoke-static {v2, v3, v0, v1}, Ljava/lang/Math;->min(JJ)J
move-result-wide v2
long-to-int v3, v2
int-to-long v4, v3
sub-long/2addr v0, v4
invoke-interface {p1}, Lf/b/b/b/k1/i;->getPosition()J
move-result-wide v4
const/4 v2, 0x1
cmp-long v6, v4, v0
if-eqz v6, :cond_19
iput-wide v0, p2, Lf/b/b/b/k1/s;->a:J
return v2
:cond_19
iget-object p2, p0, Lf/b/b/b/k1/g0/y;->b:Lf/b/b/b/s1/y;
invoke-virtual {p2, v3}, Lf/b/b/b/s1/y;->J(I)V
invoke-interface {p1}, Lf/b/b/b/k1/i;->g()V
iget-object p2, p0, Lf/b/b/b/k1/g0/y;->b:Lf/b/b/b/s1/y;
iget-object p2, p2, Lf/b/b/b/s1/y;->a:[B
const/4 v0, 0x0
invoke-interface {p1, p2, v0, v3}, Lf/b/b/b/k1/i;->j([BII)V
iget-object p1, p0, Lf/b/b/b/k1/g0/y;->b:Lf/b/b/b/s1/y;
invoke-direct {p0, p1}, Lf/b/b/b/k1/g0/y;->k(Lf/b/b/b/s1/y;)J
move-result-wide p1
iput-wide p1, p0, Lf/b/b/b/k1/g0/y;->g:J
iput-boolean v2, p0, Lf/b/b/b/k1/g0/y;->e:Z
return v0
.end method
.method private k(Lf/b/b/b/s1/y;)J
.registers 9
invoke-virtual {p1}, Lf/b/b/b/s1/y;->c()I
move-result v0
invoke-virtual {p1}, Lf/b/b/b/s1/y;->d()I
move-result v1
add-int/lit8 v1, v1, -0x4
:goto_a
const-wide v2, -0x7fffffffffffffffL # -4.9E-324
if-lt v1, v0, :cond_2c
iget-object v4, p1, Lf/b/b/b/s1/y;->a:[B
invoke-direct {p0, v4, v1}, Lf/b/b/b/k1/g0/y;->f([BI)I
move-result v4
const/16 v5, 0x1ba
if-ne v4, v5, :cond_29
add-int/lit8 v4, v1, 0x4
invoke-virtual {p1, v4}, Lf/b/b/b/s1/y;->N(I)V
invoke-static {p1}, Lf/b/b/b/k1/g0/y;->l(Lf/b/b/b/s1/y;)J
move-result-wide v4
cmp-long v6, v4, v2
if-eqz v6, :cond_29
return-wide v4
:cond_29
add-int/lit8 v1, v1, -0x1
goto :goto_a
:cond_2c
return-wide v2
.end method
.method public static l(Lf/b/b/b/s1/y;)J
.registers 7
invoke-virtual {p0}, Lf/b/b/b/s1/y;->c()I
move-result v0
invoke-virtual {p0}, Lf/b/b/b/s1/y;->a()I
move-result v1
const-wide v2, -0x7fffffffffffffffL # -4.9E-324
const/16 v4, 0x9
if-ge v1, v4, :cond_12
return-wide v2
:cond_12
new-array v1, v4, [B
const/4 v5, 0x0
invoke-virtual {p0, v1, v5, v4}, Lf/b/b/b/s1/y;->h([BII)V
invoke-virtual {p0, v0}, Lf/b/b/b/s1/y;->N(I)V
invoke-static {v1}, Lf/b/b/b/k1/g0/y;->a([B)Z
move-result p0
if-nez p0, :cond_22
return-wide v2
:cond_22
invoke-static {v1}, Lf/b/b/b/k1/g0/y;->m([B)J
move-result-wide v0
return-wide v0
.end method
.method private static m([B)J
.registers 14
const/4 v0, 0x0
aget-byte v1, p0, v0
int-to-long v1, v1
const-wide/16 v3, 0x38
and-long/2addr v1, v3
const/4 v3, 0x3
shr-long/2addr v1, v3
const/16 v4, 0x1e
shl-long/2addr v1, v4
aget-byte v0, p0, v0
int-to-long v4, v0
const-wide/16 v6, 0x3
and-long/2addr v4, v6
const/16 v0, 0x1c
shl-long/2addr v4, v0
or-long/2addr v1, v4
const/4 v0, 0x1
aget-byte v0, p0, v0
int-to-long v4, v0
const-wide/16 v8, 0xff
and-long/2addr v4, v8
const/16 v0, 0x14
shl-long/2addr v4, v0
or-long/2addr v1, v4
const/4 v0, 0x2
aget-byte v4, p0, v0
int-to-long v4, v4
const-wide/16 v10, 0xf8
and-long/2addr v4, v10
shr-long/2addr v4, v3
const/16 v12, 0xf
shl-long/2addr v4, v12
or-long/2addr v1, v4
aget-byte v0, p0, v0
int-to-long v4, v0
and-long/2addr v4, v6
const/16 v0, 0xd
shl-long/2addr v4, v0
or-long/2addr v1, v4
aget-byte v0, p0, v3
int-to-long v4, v0
and-long/2addr v4, v8
const/4 v0, 0x5
shl-long/2addr v4, v0
or-long/2addr v1, v4
const/4 v0, 0x4
aget-byte p0, p0, v0
int-to-long v4, p0
and-long/2addr v4, v10
shr-long v3, v4, v3
or-long/2addr v1, v3
return-wide v1
.end method
# virtual methods
.method public c()J
.registers 3
iget-wide v0, p0, Lf/b/b/b/k1/g0/y;->h:J
return-wide v0
.end method
.method public d()Lf/b/b/b/s1/j0;
.registers 2
iget-object v0, p0, Lf/b/b/b/k1/g0/y;->a:Lf/b/b/b/s1/j0;
return-object v0
.end method
.method public e()Z
.registers 2
iget-boolean v0, p0, Lf/b/b/b/k1/g0/y;->c:Z
return v0
.end method
.method public g(Lf/b/b/b/k1/i;Lf/b/b/b/k1/s;)I
.registers 8
iget-boolean v0, p0, Lf/b/b/b/k1/g0/y;->e:Z
if-nez v0, :cond_9
invoke-direct {p0, p1, p2}, Lf/b/b/b/k1/g0/y;->j(Lf/b/b/b/k1/i;Lf/b/b/b/k1/s;)I
move-result p1
return p1
:cond_9
iget-wide v0, p0, Lf/b/b/b/k1/g0/y;->g:J
const-wide v2, -0x7fffffffffffffffL # -4.9E-324
cmp-long v4, v0, v2
if-nez v4, :cond_19
invoke-direct {p0, p1}, Lf/b/b/b/k1/g0/y;->b(Lf/b/b/b/k1/i;)I
move-result p1
return p1
:cond_19
iget-boolean v0, p0, Lf/b/b/b/k1/g0/y;->d:Z
if-nez v0, :cond_22
invoke-direct {p0, p1, p2}, Lf/b/b/b/k1/g0/y;->h(Lf/b/b/b/k1/i;Lf/b/b/b/k1/s;)I
move-result p1
return p1
:cond_22
iget-wide v0, p0, Lf/b/b/b/k1/g0/y;->f:J
cmp-long p2, v0, v2
if-nez p2, :cond_2d
invoke-direct {p0, p1}, Lf/b/b/b/k1/g0/y;->b(Lf/b/b/b/k1/i;)I
move-result p1
return p1
:cond_2d
iget-object p2, p0, Lf/b/b/b/k1/g0/y;->a:Lf/b/b/b/s1/j0;
invoke-virtual {p2, v0, v1}, Lf/b/b/b/s1/j0;->b(J)J
move-result-wide v0
iget-object p2, p0, Lf/b/b/b/k1/g0/y;->a:Lf/b/b/b/s1/j0;
iget-wide v2, p0, Lf/b/b/b/k1/g0/y;->g:J
invoke-virtual {p2, v2, v3}, Lf/b/b/b/s1/j0;->b(J)J
move-result-wide v2
sub-long/2addr v2, v0
iput-wide v2, p0, Lf/b/b/b/k1/g0/y;->h:J
invoke-direct {p0, p1}, Lf/b/b/b/k1/g0/y;->b(Lf/b/b/b/k1/i;)I
move-result p1
return p1
.end method