640 lines
8.8 KiB
Smali
640 lines
8.8 KiB
Smali
.class public final Lf/k/a/b/d1/o;
|
|
.super Ljava/lang/Object;
|
|
.source "MpegAudioHeader.java"
|
|
|
|
|
|
# static fields
|
|
.field public static final h:[Ljava/lang/String;
|
|
|
|
.field public static final i:[I
|
|
|
|
.field public static final j:[I
|
|
|
|
.field public static final k:[I
|
|
|
|
.field public static final l:[I
|
|
|
|
.field public static final m:[I
|
|
|
|
.field public static final n:[I
|
|
|
|
|
|
# instance fields
|
|
.field public a:I
|
|
|
|
.field public b:Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public c:I
|
|
|
|
.field public d:I
|
|
|
|
.field public e:I
|
|
|
|
.field public f:I
|
|
|
|
.field public g:I
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 3
|
|
|
|
const-string v0, "audio/mpeg-L1"
|
|
|
|
const-string v1, "audio/mpeg-L2"
|
|
|
|
const-string v2, "audio/mpeg"
|
|
|
|
filled-new-array {v0, v1, v2}, [Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lf/k/a/b/d1/o;->h:[Ljava/lang/String;
|
|
|
|
const/4 v0, 0x3
|
|
|
|
new-array v0, v0, [I
|
|
|
|
fill-array-data v0, :array_0
|
|
|
|
sput-object v0, Lf/k/a/b/d1/o;->i:[I
|
|
|
|
const/16 v0, 0xe
|
|
|
|
new-array v1, v0, [I
|
|
|
|
fill-array-data v1, :array_1
|
|
|
|
sput-object v1, Lf/k/a/b/d1/o;->j:[I
|
|
|
|
new-array v1, v0, [I
|
|
|
|
fill-array-data v1, :array_2
|
|
|
|
sput-object v1, Lf/k/a/b/d1/o;->k:[I
|
|
|
|
new-array v1, v0, [I
|
|
|
|
fill-array-data v1, :array_3
|
|
|
|
sput-object v1, Lf/k/a/b/d1/o;->l:[I
|
|
|
|
new-array v1, v0, [I
|
|
|
|
fill-array-data v1, :array_4
|
|
|
|
sput-object v1, Lf/k/a/b/d1/o;->m:[I
|
|
|
|
new-array v0, v0, [I
|
|
|
|
fill-array-data v0, :array_5
|
|
|
|
sput-object v0, Lf/k/a/b/d1/o;->n:[I
|
|
|
|
return-void
|
|
|
|
:array_0
|
|
.array-data 4
|
|
0xac44
|
|
0xbb80
|
|
0x7d00
|
|
.end array-data
|
|
|
|
:array_1
|
|
.array-data 4
|
|
0x7d00
|
|
0xfa00
|
|
0x17700
|
|
0x1f400
|
|
0x27100
|
|
0x2ee00
|
|
0x36b00
|
|
0x3e800
|
|
0x46500
|
|
0x4e200
|
|
0x55f00
|
|
0x5dc00
|
|
0x65900
|
|
0x6d600
|
|
.end array-data
|
|
|
|
:array_2
|
|
.array-data 4
|
|
0x7d00
|
|
0xbb80
|
|
0xdac0
|
|
0xfa00
|
|
0x13880
|
|
0x17700
|
|
0x1b580
|
|
0x1f400
|
|
0x23280
|
|
0x27100
|
|
0x2af80
|
|
0x2ee00
|
|
0x36b00
|
|
0x3e800
|
|
.end array-data
|
|
|
|
:array_3
|
|
.array-data 4
|
|
0x7d00
|
|
0xbb80
|
|
0xdac0
|
|
0xfa00
|
|
0x13880
|
|
0x17700
|
|
0x1b580
|
|
0x1f400
|
|
0x27100
|
|
0x2ee00
|
|
0x36b00
|
|
0x3e800
|
|
0x4e200
|
|
0x5dc00
|
|
.end array-data
|
|
|
|
:array_4
|
|
.array-data 4
|
|
0x7d00
|
|
0x9c40
|
|
0xbb80
|
|
0xdac0
|
|
0xfa00
|
|
0x13880
|
|
0x17700
|
|
0x1b580
|
|
0x1f400
|
|
0x27100
|
|
0x2ee00
|
|
0x36b00
|
|
0x3e800
|
|
0x4e200
|
|
.end array-data
|
|
|
|
:array_5
|
|
.array-data 4
|
|
0x1f40
|
|
0x3e80
|
|
0x5dc0
|
|
0x7d00
|
|
0x9c40
|
|
0xbb80
|
|
0xdac0
|
|
0xfa00
|
|
0x13880
|
|
0x17700
|
|
0x1b580
|
|
0x1f400
|
|
0x23280
|
|
0x27100
|
|
.end array-data
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(I)I
|
|
.locals 7
|
|
|
|
invoke-static {p0}, Lf/k/a/b/d1/o;->b(I)Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, -0x1
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
ushr-int/lit8 v0, p0, 0x13
|
|
|
|
const/4 v2, 0x3
|
|
|
|
and-int/2addr v0, v2
|
|
|
|
const/4 v3, 0x1
|
|
|
|
if-ne v0, v3, :cond_1
|
|
|
|
return v1
|
|
|
|
:cond_1
|
|
ushr-int/lit8 v4, p0, 0x11
|
|
|
|
and-int/2addr v4, v2
|
|
|
|
if-nez v4, :cond_2
|
|
|
|
return v1
|
|
|
|
:cond_2
|
|
ushr-int/lit8 v5, p0, 0xc
|
|
|
|
const/16 v6, 0xf
|
|
|
|
and-int/2addr v5, v6
|
|
|
|
if-eqz v5, :cond_d
|
|
|
|
if-ne v5, v6, :cond_3
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
ushr-int/lit8 v6, p0, 0xa
|
|
|
|
and-int/2addr v6, v2
|
|
|
|
if-ne v6, v2, :cond_4
|
|
|
|
return v1
|
|
|
|
:cond_4
|
|
sget-object v1, Lf/k/a/b/d1/o;->i:[I
|
|
|
|
aget v1, v1, v6
|
|
|
|
const/4 v6, 0x2
|
|
|
|
if-ne v0, v6, :cond_5
|
|
|
|
div-int/lit8 v1, v1, 0x2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
if-nez v0, :cond_6
|
|
|
|
div-int/lit8 v1, v1, 0x4
|
|
|
|
:cond_6
|
|
:goto_0
|
|
ushr-int/lit8 p0, p0, 0x9
|
|
|
|
and-int/2addr p0, v3
|
|
|
|
if-ne v4, v2, :cond_8
|
|
|
|
if-ne v0, v2, :cond_7
|
|
|
|
sget-object v0, Lf/k/a/b/d1/o;->j:[I
|
|
|
|
sub-int/2addr v5, v3
|
|
|
|
aget v0, v0, v5
|
|
|
|
goto :goto_1
|
|
|
|
:cond_7
|
|
sget-object v0, Lf/k/a/b/d1/o;->k:[I
|
|
|
|
sub-int/2addr v5, v3
|
|
|
|
aget v0, v0, v5
|
|
|
|
:goto_1
|
|
mul-int/lit8 v0, v0, 0xc
|
|
|
|
div-int/2addr v0, v1
|
|
|
|
add-int/2addr v0, p0
|
|
|
|
mul-int/lit8 v0, v0, 0x4
|
|
|
|
return v0
|
|
|
|
:cond_8
|
|
if-ne v0, v2, :cond_a
|
|
|
|
if-ne v4, v6, :cond_9
|
|
|
|
sget-object v6, Lf/k/a/b/d1/o;->l:[I
|
|
|
|
sub-int/2addr v5, v3
|
|
|
|
aget v5, v6, v5
|
|
|
|
goto :goto_2
|
|
|
|
:cond_9
|
|
sget-object v6, Lf/k/a/b/d1/o;->m:[I
|
|
|
|
sub-int/2addr v5, v3
|
|
|
|
aget v5, v6, v5
|
|
|
|
goto :goto_2
|
|
|
|
:cond_a
|
|
sget-object v6, Lf/k/a/b/d1/o;->n:[I
|
|
|
|
sub-int/2addr v5, v3
|
|
|
|
aget v5, v6, v5
|
|
|
|
:goto_2
|
|
const/16 v6, 0x90
|
|
|
|
if-ne v0, v2, :cond_b
|
|
|
|
const/16 v0, 0x90
|
|
|
|
invoke-static {v5, v0, v1, p0}, Lf/e/b/a/a;->a(IIII)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:cond_b
|
|
if-ne v4, v3, :cond_c
|
|
|
|
const/16 v6, 0x48
|
|
|
|
:cond_c
|
|
invoke-static {v6, v5, v1, p0}, Lf/e/b/a/a;->a(IIII)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:cond_d
|
|
:goto_3
|
|
return v1
|
|
.end method
|
|
|
|
.method public static a(II)I
|
|
.locals 3
|
|
|
|
const/4 v0, 0x1
|
|
|
|
const/16 v1, 0x480
|
|
|
|
const/4 v2, 0x3
|
|
|
|
if-eq p1, v0, :cond_2
|
|
|
|
const/4 p0, 0x2
|
|
|
|
if-eq p1, p0, :cond_1
|
|
|
|
if-ne p1, v2, :cond_0
|
|
|
|
const/16 p0, 0x180
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {p0}, Ljava/lang/IllegalArgumentException;-><init>()V
|
|
|
|
throw p0
|
|
|
|
:cond_1
|
|
return v1
|
|
|
|
:cond_2
|
|
if-ne p0, v2, :cond_3
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
const/16 v1, 0x240
|
|
|
|
:goto_0
|
|
return v1
|
|
.end method
|
|
|
|
.method public static a(ILf/k/a/b/d1/o;)Z
|
|
.locals 10
|
|
|
|
invoke-static {p0}, Lf/k/a/b/d1/o;->b(I)Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
ushr-int/lit8 v0, p0, 0x13
|
|
|
|
const/4 v2, 0x3
|
|
|
|
and-int/2addr v0, v2
|
|
|
|
const/4 v3, 0x1
|
|
|
|
if-ne v0, v3, :cond_1
|
|
|
|
return v1
|
|
|
|
:cond_1
|
|
ushr-int/lit8 v4, p0, 0x11
|
|
|
|
and-int/2addr v4, v2
|
|
|
|
if-nez v4, :cond_2
|
|
|
|
return v1
|
|
|
|
:cond_2
|
|
ushr-int/lit8 v5, p0, 0xc
|
|
|
|
const/16 v6, 0xf
|
|
|
|
and-int/2addr v5, v6
|
|
|
|
if-eqz v5, :cond_d
|
|
|
|
if-ne v5, v6, :cond_3
|
|
|
|
goto/16 :goto_6
|
|
|
|
:cond_3
|
|
ushr-int/lit8 v6, p0, 0xa
|
|
|
|
and-int/2addr v6, v2
|
|
|
|
if-ne v6, v2, :cond_4
|
|
|
|
return v1
|
|
|
|
:cond_4
|
|
sget-object v1, Lf/k/a/b/d1/o;->i:[I
|
|
|
|
aget v1, v1, v6
|
|
|
|
const/4 v6, 0x2
|
|
|
|
if-ne v0, v6, :cond_5
|
|
|
|
div-int/lit8 v1, v1, 0x2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
if-nez v0, :cond_6
|
|
|
|
div-int/lit8 v1, v1, 0x4
|
|
|
|
:cond_6
|
|
:goto_0
|
|
ushr-int/lit8 v7, p0, 0x9
|
|
|
|
and-int/2addr v7, v3
|
|
|
|
invoke-static {v0, v4}, Lf/k/a/b/d1/o;->a(II)I
|
|
|
|
move-result v8
|
|
|
|
if-ne v4, v2, :cond_8
|
|
|
|
if-ne v0, v2, :cond_7
|
|
|
|
sget-object v9, Lf/k/a/b/d1/o;->j:[I
|
|
|
|
sub-int/2addr v5, v3
|
|
|
|
aget v5, v9, v5
|
|
|
|
goto :goto_1
|
|
|
|
:cond_7
|
|
sget-object v9, Lf/k/a/b/d1/o;->k:[I
|
|
|
|
sub-int/2addr v5, v3
|
|
|
|
aget v5, v9, v5
|
|
|
|
:goto_1
|
|
mul-int/lit8 v9, v5, 0xc
|
|
|
|
div-int/2addr v9, v1
|
|
|
|
add-int/2addr v9, v7
|
|
|
|
mul-int/lit8 v9, v9, 0x4
|
|
|
|
goto :goto_5
|
|
|
|
:cond_8
|
|
if-ne v0, v2, :cond_a
|
|
|
|
if-ne v4, v6, :cond_9
|
|
|
|
sget-object v9, Lf/k/a/b/d1/o;->l:[I
|
|
|
|
sub-int/2addr v5, v3
|
|
|
|
aget v5, v9, v5
|
|
|
|
goto :goto_2
|
|
|
|
:cond_9
|
|
sget-object v9, Lf/k/a/b/d1/o;->m:[I
|
|
|
|
sub-int/2addr v5, v3
|
|
|
|
aget v5, v9, v5
|
|
|
|
:goto_2
|
|
mul-int/lit16 v9, v5, 0x90
|
|
|
|
div-int/2addr v9, v1
|
|
|
|
goto :goto_4
|
|
|
|
:cond_a
|
|
sget-object v9, Lf/k/a/b/d1/o;->n:[I
|
|
|
|
sub-int/2addr v5, v3
|
|
|
|
aget v5, v9, v5
|
|
|
|
if-ne v4, v3, :cond_b
|
|
|
|
const/16 v9, 0x48
|
|
|
|
goto :goto_3
|
|
|
|
:cond_b
|
|
const/16 v9, 0x90
|
|
|
|
:goto_3
|
|
mul-int v9, v9, v5
|
|
|
|
div-int/2addr v9, v1
|
|
|
|
:goto_4
|
|
add-int/2addr v9, v7
|
|
|
|
:goto_5
|
|
sget-object v7, Lf/k/a/b/d1/o;->h:[Ljava/lang/String;
|
|
|
|
rsub-int/lit8 v4, v4, 0x3
|
|
|
|
aget-object v4, v7, v4
|
|
|
|
shr-int/lit8 p0, p0, 0x6
|
|
|
|
and-int/2addr p0, v2
|
|
|
|
if-ne p0, v2, :cond_c
|
|
|
|
const/4 v6, 0x1
|
|
|
|
:cond_c
|
|
iput v0, p1, Lf/k/a/b/d1/o;->a:I
|
|
|
|
iput-object v4, p1, Lf/k/a/b/d1/o;->b:Ljava/lang/String;
|
|
|
|
iput v9, p1, Lf/k/a/b/d1/o;->c:I
|
|
|
|
iput v1, p1, Lf/k/a/b/d1/o;->d:I
|
|
|
|
iput v6, p1, Lf/k/a/b/d1/o;->e:I
|
|
|
|
iput v5, p1, Lf/k/a/b/d1/o;->f:I
|
|
|
|
iput v8, p1, Lf/k/a/b/d1/o;->g:I
|
|
|
|
return v3
|
|
|
|
:cond_d
|
|
:goto_6
|
|
return v1
|
|
.end method
|
|
|
|
.method public static b(I)Z
|
|
.locals 1
|
|
|
|
const/high16 v0, -0x200000
|
|
|
|
and-int/2addr p0, v0
|
|
|
|
if-ne p0, v0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|