396 lines
5.5 KiB
Smali
396 lines
5.5 KiB
Smali
.class public final Lf/k/a/b/d1/k;
|
|
.super Ljava/lang/Object;
|
|
.source "FlacFrameReader.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lf/k/a/b/d1/k$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public static a(Lf/k/a/b/l1/u;I)I
|
|
.locals 0
|
|
|
|
packed-switch p1, :pswitch_data_0
|
|
|
|
const/4 p0, -0x1
|
|
|
|
return p0
|
|
|
|
:pswitch_0
|
|
const/16 p0, 0x100
|
|
|
|
add-int/lit8 p1, p1, -0x8
|
|
|
|
shl-int/2addr p0, p1
|
|
|
|
return p0
|
|
|
|
:pswitch_1
|
|
invoke-virtual {p0}, Lf/k/a/b/l1/u;->q()I
|
|
|
|
move-result p0
|
|
|
|
add-int/lit8 p0, p0, 0x1
|
|
|
|
return p0
|
|
|
|
:pswitch_2
|
|
invoke-virtual {p0}, Lf/k/a/b/l1/u;->l()I
|
|
|
|
move-result p0
|
|
|
|
add-int/lit8 p0, p0, 0x1
|
|
|
|
return p0
|
|
|
|
:pswitch_3
|
|
const/16 p0, 0x240
|
|
|
|
add-int/lit8 p1, p1, -0x2
|
|
|
|
shl-int/2addr p0, p1
|
|
|
|
return p0
|
|
|
|
:pswitch_4
|
|
const/16 p0, 0xc0
|
|
|
|
return p0
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x1
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_3
|
|
:pswitch_3
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
:pswitch_0
|
|
:pswitch_0
|
|
:pswitch_0
|
|
:pswitch_0
|
|
:pswitch_0
|
|
:pswitch_0
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method public static a(Lf/k/a/b/l1/u;Lf/k/a/b/l1/n;ILf/k/a/b/d1/k$a;)Z
|
|
.locals 17
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
move-object/from16 v1, p1
|
|
|
|
iget v2, v0, Lf/k/a/b/l1/u;->b:I
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lf/k/a/b/l1/u;->m()J
|
|
|
|
move-result-wide v3
|
|
|
|
const/16 v5, 0x10
|
|
|
|
ushr-long v5, v3, v5
|
|
|
|
move/from16 v7, p2
|
|
|
|
int-to-long v7, v7
|
|
|
|
const/4 v9, 0x0
|
|
|
|
cmp-long v10, v5, v7
|
|
|
|
if-eqz v10, :cond_0
|
|
|
|
return v9
|
|
|
|
:cond_0
|
|
const-wide/16 v7, 0x1
|
|
|
|
and-long/2addr v5, v7
|
|
|
|
const/4 v10, 0x1
|
|
|
|
cmp-long v11, v5, v7
|
|
|
|
if-nez v11, :cond_1
|
|
|
|
const/4 v5, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 v5, 0x0
|
|
|
|
:goto_0
|
|
const/16 v6, 0xc
|
|
|
|
shr-long v11, v3, v6
|
|
|
|
const-wide/16 v13, 0xf
|
|
|
|
and-long/2addr v11, v13
|
|
|
|
long-to-int v12, v11
|
|
|
|
const/16 v11, 0x8
|
|
|
|
shr-long v15, v3, v11
|
|
|
|
and-long v6, v15, v13
|
|
|
|
long-to-int v7, v6
|
|
|
|
const/4 v6, 0x4
|
|
|
|
shr-long v15, v3, v6
|
|
|
|
and-long/2addr v13, v15
|
|
|
|
long-to-int v6, v13
|
|
|
|
shr-long v13, v3, v10
|
|
|
|
const-wide/16 v15, 0x7
|
|
|
|
and-long/2addr v13, v15
|
|
|
|
long-to-int v8, v13
|
|
|
|
const-wide/16 v13, 0x1
|
|
|
|
and-long/2addr v3, v13
|
|
|
|
cmp-long v11, v3, v13
|
|
|
|
if-nez v11, :cond_2
|
|
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
const/4 v3, 0x0
|
|
|
|
:goto_1
|
|
const/4 v4, 0x7
|
|
|
|
if-gt v6, v4, :cond_4
|
|
|
|
iget v4, v1, Lf/k/a/b/l1/n;->g:I
|
|
|
|
sub-int/2addr v4, v10
|
|
|
|
if-ne v6, v4, :cond_3
|
|
|
|
:goto_2
|
|
const/4 v4, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
const/4 v4, 0x0
|
|
|
|
goto :goto_3
|
|
|
|
:cond_4
|
|
const/16 v4, 0xa
|
|
|
|
if-gt v6, v4, :cond_3
|
|
|
|
iget v4, v1, Lf/k/a/b/l1/n;->g:I
|
|
|
|
const/4 v6, 0x2
|
|
|
|
if-ne v4, v6, :cond_3
|
|
|
|
goto :goto_2
|
|
|
|
:goto_3
|
|
if-eqz v4, :cond_e
|
|
|
|
if-nez v8, :cond_5
|
|
|
|
goto :goto_4
|
|
|
|
:cond_5
|
|
iget v4, v1, Lf/k/a/b/l1/n;->i:I
|
|
|
|
if-ne v8, v4, :cond_6
|
|
|
|
:goto_4
|
|
const/4 v4, 0x1
|
|
|
|
goto :goto_5
|
|
|
|
:cond_6
|
|
const/4 v4, 0x0
|
|
|
|
:goto_5
|
|
if-eqz v4, :cond_e
|
|
|
|
if-nez v3, :cond_e
|
|
|
|
move-object/from16 v3, p3
|
|
|
|
invoke-static {v0, v1, v5, v3}, Lf/k/a/b/d1/k;->a(Lf/k/a/b/l1/u;Lf/k/a/b/l1/n;ZLf/k/a/b/d1/k$a;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_e
|
|
|
|
invoke-static {v0, v12}, Lf/k/a/b/d1/k;->a(Lf/k/a/b/l1/u;I)I
|
|
|
|
move-result v3
|
|
|
|
const/4 v4, -0x1
|
|
|
|
if-eq v3, v4, :cond_7
|
|
|
|
iget v4, v1, Lf/k/a/b/l1/n;->b:I
|
|
|
|
if-gt v3, v4, :cond_7
|
|
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_6
|
|
|
|
:cond_7
|
|
const/4 v3, 0x0
|
|
|
|
:goto_6
|
|
if-eqz v3, :cond_e
|
|
|
|
iget v3, v1, Lf/k/a/b/l1/n;->e:I
|
|
|
|
if-nez v7, :cond_8
|
|
|
|
goto :goto_7
|
|
|
|
:cond_8
|
|
const/16 v4, 0xb
|
|
|
|
if-gt v7, v4, :cond_a
|
|
|
|
iget v1, v1, Lf/k/a/b/l1/n;->f:I
|
|
|
|
if-ne v7, v1, :cond_9
|
|
|
|
:goto_7
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_8
|
|
|
|
:cond_9
|
|
const/4 v1, 0x0
|
|
|
|
goto :goto_8
|
|
|
|
:cond_a
|
|
const/16 v1, 0xc
|
|
|
|
if-ne v7, v1, :cond_b
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lf/k/a/b/l1/u;->l()I
|
|
|
|
move-result v1
|
|
|
|
mul-int/lit16 v1, v1, 0x3e8
|
|
|
|
if-ne v1, v3, :cond_9
|
|
|
|
goto :goto_7
|
|
|
|
:cond_b
|
|
const/16 v1, 0xe
|
|
|
|
if-gt v7, v1, :cond_9
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lf/k/a/b/l1/u;->q()I
|
|
|
|
move-result v4
|
|
|
|
if-ne v7, v1, :cond_c
|
|
|
|
mul-int/lit8 v4, v4, 0xa
|
|
|
|
:cond_c
|
|
if-ne v4, v3, :cond_9
|
|
|
|
goto :goto_7
|
|
|
|
:goto_8
|
|
if-eqz v1, :cond_e
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lf/k/a/b/l1/u;->l()I
|
|
|
|
move-result v1
|
|
|
|
iget v3, v0, Lf/k/a/b/l1/u;->b:I
|
|
|
|
iget-object v0, v0, Lf/k/a/b/l1/u;->a:[B
|
|
|
|
sub-int/2addr v3, v10
|
|
|
|
invoke-static {v0, v2, v3, v9}, Lf/k/a/b/l1/f0;->b([BIII)I
|
|
|
|
move-result v0
|
|
|
|
if-ne v1, v0, :cond_d
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_9
|
|
|
|
:cond_d
|
|
const/4 v0, 0x0
|
|
|
|
:goto_9
|
|
if-eqz v0, :cond_e
|
|
|
|
const/4 v9, 0x1
|
|
|
|
:cond_e
|
|
return v9
|
|
.end method
|
|
|
|
.method public static a(Lf/k/a/b/l1/u;Lf/k/a/b/l1/n;ZLf/k/a/b/d1/k$a;)Z
|
|
.locals 2
|
|
|
|
:try_start_0
|
|
invoke-virtual {p0}, Lf/k/a/b/l1/u;->r()J
|
|
|
|
move-result-wide v0
|
|
:try_end_0
|
|
.catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget p0, p1, Lf/k/a/b/l1/n;->b:I
|
|
|
|
int-to-long p0, p0
|
|
|
|
mul-long v0, v0, p0
|
|
|
|
:goto_0
|
|
iput-wide v0, p3, Lf/k/a/b/d1/k$a;->a:J
|
|
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
|
|
:catch_0
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|