c0.smali
.class public final Lcom/google/android/exoplayer2/audio/c0;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/android/exoplayer2/audio/c0$a;
}
.end annotation
# static fields
.field public static final a:[Ljava/lang/String;
.field public static final b:[I
.field public static final c:[I
.field public static final d:[I
.field public static final e:[I
.field public static final f:[I
.field public static final g:[I
# direct methods
.method public static constructor <clinit>()V
.registers 3
const-string v0, "audio/mpeg-L1"
const-string v1, "audio/mpeg-L2"
const-string v2, "audio/mpeg"
.line 1
filled-new-array {v0, v1, v2}, [Ljava/lang/String;
move-result-object v0
sput-object v0, Lcom/google/android/exoplayer2/audio/c0;->a:[Ljava/lang/String;
const/4 v0, 0x3
new-array v0, v0, [I
.line 2
fill-array-data v0, :array_3a
sput-object v0, Lcom/google/android/exoplayer2/audio/c0;->b:[I
const/16 v0, 0xe
new-array v1, v0, [I
.line 3
fill-array-data v1, :array_44
sput-object v1, Lcom/google/android/exoplayer2/audio/c0;->c:[I
new-array v1, v0, [I
.line 4
fill-array-data v1, :array_64
sput-object v1, Lcom/google/android/exoplayer2/audio/c0;->d:[I
new-array v1, v0, [I
.line 5
fill-array-data v1, :array_84
sput-object v1, Lcom/google/android/exoplayer2/audio/c0;->e:[I
new-array v1, v0, [I
.line 6
fill-array-data v1, :array_a4
sput-object v1, Lcom/google/android/exoplayer2/audio/c0;->f:[I
new-array v0, v0, [I
.line 7
fill-array-data v0, :array_c4
sput-object v0, Lcom/google/android/exoplayer2/audio/c0;->g:[I
return-void
:array_3a
.array-data 4
0xac44
0xbb80
0x7d00
.end array-data
:array_44
.array-data 4
0x7d00
0xfa00
0x17700
0x1f400
0x27100
0x2ee00
0x36b00
0x3e800
0x46500
0x4e200
0x55f00
0x5dc00
0x65900
0x6d600
.end array-data
:array_64
.array-data 4
0x7d00
0xbb80
0xdac0
0xfa00
0x13880
0x17700
0x1b580
0x1f400
0x23280
0x27100
0x2af80
0x2ee00
0x36b00
0x3e800
.end array-data
:array_84
.array-data 4
0x7d00
0xbb80
0xdac0
0xfa00
0x13880
0x17700
0x1b580
0x1f400
0x27100
0x2ee00
0x36b00
0x3e800
0x4e200
0x5dc00
.end array-data
:array_a4
.array-data 4
0x7d00
0x9c40
0xbb80
0xdac0
0xfa00
0x13880
0x17700
0x1b580
0x1f400
0x27100
0x2ee00
0x36b00
0x3e800
0x4e200
.end array-data
:array_c4
.array-data 4
0x1f40
0x3e80
0x5dc0
0x7d00
0x9c40
0xbb80
0xdac0
0xfa00
0x13880
0x17700
0x1b580
0x1f400
0x23280
0x27100
.end array-data
.end method
.method public static a(I)I
.registers 8
.line 1
invoke-static {p0}, Lcom/google/android/exoplayer2/audio/c0;->c(I)Z
move-result v0
const/4 v1, -0x1
if-nez v0, :cond_8
return v1
:cond_8
ushr-int/lit8 v0, p0, 0x13
const/4 v2, 0x3
and-int/2addr v0, v2
const/4 v3, 0x1
if-ne v0, v3, :cond_10
return v1
:cond_10
ushr-int/lit8 v4, p0, 0x11
and-int/2addr v4, v2
if-nez v4, :cond_16
return v1
:cond_16
ushr-int/lit8 v5, p0, 0xc
const/16 v6, 0xf
and-int/2addr v5, v6
if-eqz v5, :cond_76
if-ne v5, v6, :cond_20
goto :goto_76
:cond_20
ushr-int/lit8 v6, p0, 0xa
and-int/2addr v6, v2
if-ne v6, v2, :cond_26
return v1
.line 2
:cond_26
sget-object v1, Lcom/google/android/exoplayer2/audio/c0;->b:[I
aget v1, v1, v6
const/4 v6, 0x2
if-ne v0, v6, :cond_30
.line 3
div-int/lit8 v1, v1, 0x2
goto :goto_34
:cond_30
if-nez v0, :cond_34
.line 4
div-int/lit8 v1, v1, 0x4
:cond_34
:goto_34
ushr-int/lit8 p0, p0, 0x9
and-int/2addr p0, v3
if-ne v4, v2, :cond_4d
if-ne v0, v2, :cond_41
.line 5
sget-object v0, Lcom/google/android/exoplayer2/audio/c0;->c:[I
sub-int/2addr v5, v3
aget v0, v0, v5
goto :goto_46
:cond_41
sget-object v0, Lcom/google/android/exoplayer2/audio/c0;->d:[I
sub-int/2addr v5, v3
aget v0, v0, v5
:goto_46
mul-int/lit8 v0, v0, 0xc
.line 6
div-int/2addr v0, v1
add-int/2addr v0, p0
mul-int/lit8 v0, v0, 0x4
return v0
:cond_4d
if-ne v0, v2, :cond_5d
if-ne v4, v6, :cond_57
.line 7
sget-object v6, Lcom/google/android/exoplayer2/audio/c0;->e:[I
sub-int/2addr v5, v3
aget v5, v6, v5
goto :goto_62
:cond_57
sget-object v6, Lcom/google/android/exoplayer2/audio/c0;->f:[I
sub-int/2addr v5, v3
aget v5, v6, v5
goto :goto_62
.line 8
:cond_5d
sget-object v6, Lcom/google/android/exoplayer2/audio/c0;->g:[I
sub-int/2addr v5, v3
aget v5, v6, v5
:goto_62
const/16 v6, 0x90
if-ne v0, v2, :cond_6d
const/16 v0, 0x90
.line 9
invoke-static {v5, v0, v1, p0}, Landroidx/appcompat/h;->a(IIII)I
move-result p0
return p0
:cond_6d
if-ne v4, v3, :cond_71
const/16 v6, 0x48
.line 10
:cond_71
invoke-static {v6, v5, v1, p0}, Landroidx/appcompat/h;->a(IIII)I
move-result p0
return p0
:cond_76
:goto_76
return v1
.end method
.method public static b(II)I
.registers 5
const/4 v0, 0x1
const/16 v1, 0x480
const/4 v2, 0x3
if-eq p1, v0, :cond_15
const/4 p0, 0x2
if-eq p1, p0, :cond_14
if-ne p1, v2, :cond_e
const/16 p0, 0x180
return p0
:cond_e
new-instance p0, Ljava/lang/IllegalArgumentException;
invoke-direct {p0}, Ljava/lang/IllegalArgumentException;-><init>()V
throw p0
:cond_14
return v1
:cond_15
if-ne p0, v2, :cond_18
goto :goto_1a
:cond_18
const/16 v1, 0x240
:goto_1a
return v1
.end method
.method public static c(I)Z
.registers 2
const/high16 v0, -0x200000
and-int/2addr p0, v0
if-ne p0, v0, :cond_7
const/4 p0, 0x1
goto :goto_8
:cond_7
const/4 p0, 0x0
:goto_8
return p0
.end method
.method public static d(I)I
.registers 7
.line 1
invoke-static {p0}, Lcom/google/android/exoplayer2/audio/c0;->c(I)Z
move-result v0
const/4 v1, -0x1
if-nez v0, :cond_8
return v1
:cond_8
ushr-int/lit8 v0, p0, 0x13
const/4 v2, 0x3
and-int/2addr v0, v2
const/4 v3, 0x1
if-ne v0, v3, :cond_10
return v1
:cond_10
ushr-int/lit8 v3, p0, 0x11
and-int/2addr v3, v2
if-nez v3, :cond_16
return v1
:cond_16
ushr-int/lit8 v4, p0, 0xc
const/16 v5, 0xf
and-int/2addr v4, v5
ushr-int/lit8 p0, p0, 0xa
and-int/2addr p0, v2
if-eqz v4, :cond_2a
if-eq v4, v5, :cond_2a
if-ne p0, v2, :cond_25
goto :goto_2a
.line 2
:cond_25
invoke-static {v0, v3}, Lcom/google/android/exoplayer2/audio/c0;->b(II)I
move-result p0
return p0
:cond_2a
:goto_2a
return v1
.end method