F.smali

.class public final Lcom/google/android/exoplayer2/audio/F;
.super Ljava/lang/Object;
.source "MpegAudioUtil.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/google/android/exoplayer2/audio/F$a;
    }
.end annotation


# static fields
.field private static final a:[Ljava/lang/String;

.field private static final b:[I

.field private static final c:[I

.field private static final d:[I

.field private static final e:[I

.field private static final f:[I

.field private static final g:[I


# direct methods
.method static constructor <clinit>()V
    .registers 4

    const/4 v0, 0x3

    .line 1
    new-array v1, v0, [Ljava/lang/String;

    const/4 v2, 0x0

    const-string v3, "audio/mpeg-L1"

    aput-object v3, v1, v2

    const/4 v2, 0x1

    const-string v3, "audio/mpeg-L2"

    aput-object v3, v1, v2

    const/4 v2, 0x2

    const-string v3, "audio/mpeg"

    aput-object v3, v1, v2

    sput-object v1, Lcom/google/android/exoplayer2/audio/F;->a:[Ljava/lang/String;

    .line 2
    new-array v0, v0, [I

    fill-array-data v0, :array_42

    sput-object v0, Lcom/google/android/exoplayer2/audio/F;->b:[I

    const/16 v0, 0xe

    .line 3
    new-array v1, v0, [I

    fill-array-data v1, :array_4c

    sput-object v1, Lcom/google/android/exoplayer2/audio/F;->c:[I

    .line 4
    new-array v1, v0, [I

    fill-array-data v1, :array_6c

    sput-object v1, Lcom/google/android/exoplayer2/audio/F;->d:[I

    .line 5
    new-array v1, v0, [I

    fill-array-data v1, :array_8c

    sput-object v1, Lcom/google/android/exoplayer2/audio/F;->e:[I

    .line 6
    new-array v1, v0, [I

    fill-array-data v1, :array_ac

    sput-object v1, Lcom/google/android/exoplayer2/audio/F;->f:[I

    .line 7
    new-array v0, v0, [I

    fill-array-data v0, :array_cc

    sput-object v0, Lcom/google/android/exoplayer2/audio/F;->g:[I

    return-void

    nop

    :array_42
    .array-data 4
        0xac44
        0xbb80
        0x7d00
    .end array-data

    :array_4c
    .array-data 4
        0x7d00
        0xfa00
        0x17700
        0x1f400
        0x27100
        0x2ee00
        0x36b00
        0x3e800
        0x46500
        0x4e200
        0x55f00
        0x5dc00
        0x65900
        0x6d600
    .end array-data

    :array_6c
    .array-data 4
        0x7d00
        0xbb80
        0xdac0
        0xfa00
        0x13880
        0x17700
        0x1b580
        0x1f400
        0x23280
        0x27100
        0x2af80
        0x2ee00
        0x36b00
        0x3e800
    .end array-data

    :array_8c
    .array-data 4
        0x7d00
        0xbb80
        0xdac0
        0xfa00
        0x13880
        0x17700
        0x1b580
        0x1f400
        0x27100
        0x2ee00
        0x36b00
        0x3e800
        0x4e200
        0x5dc00
    .end array-data

    :array_ac
    .array-data 4
        0x7d00
        0x9c40
        0xbb80
        0xdac0
        0xfa00
        0x13880
        0x17700
        0x1b580
        0x1f400
        0x27100
        0x2ee00
        0x36b00
        0x3e800
        0x4e200
    .end array-data

    :array_cc
    .array-data 4
        0x1f40
        0x3e80
        0x5dc0
        0x7d00
        0x9c40
        0xbb80
        0xdac0
        0xfa00
        0x13880
        0x17700
        0x1b580
        0x1f400
        0x23280
        0x27100
    .end array-data
.end method

.method static synthetic a(II)I
    .registers 2

    .line 3
    invoke-static {p0, p1}, Lcom/google/android/exoplayer2/audio/F;->b(II)I

    move-result p0

    return p0
.end method

.method static synthetic a(I)Z
    .registers 1

    .line 1
    invoke-static {p0}, Lcom/google/android/exoplayer2/audio/F;->d(I)Z

    move-result p0

    return p0
.end method

.method static synthetic a()[Ljava/lang/String;
    .registers 1

    .line 2
    sget-object v0, Lcom/google/android/exoplayer2/audio/F;->a:[Ljava/lang/String;

    return-object v0
.end method

.method public static b(I)I
    .registers 8

    .line 2
    invoke-static {p0}, Lcom/google/android/exoplayer2/audio/F;->d(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_74

    if-ne v5, v6, :cond_20

    goto :goto_74

    :cond_20
    ushr-int/lit8 v6, p0, 0xa

    and-int/2addr v6, v2

    if-ne v6, v2, :cond_26

    return v1

    .line 3
    :cond_26
    sget-object v1, Lcom/google/android/exoplayer2/audio/F;->b:[I

    aget v1, v1, v6

    const/4 v6, 0x2

    if-ne v0, v6, :cond_30

    .line 4
    div-int/lit8 v1, v1, 0x2

    goto :goto_34

    :cond_30
    if-nez v0, :cond_34

    .line 5
    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 6
    sget-object v0, Lcom/google/android/exoplayer2/audio/F;->c:[I

    sub-int/2addr v5, v3

    aget v0, v0, v5

    goto :goto_46

    :cond_41
    sget-object v0, Lcom/google/android/exoplayer2/audio/F;->d:[I

    sub-int/2addr v5, v3

    aget v0, v0, v5

    :goto_46
    mul-int/lit8 v0, v0, 0xc

    .line 7
    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 8
    sget-object v6, Lcom/google/android/exoplayer2/audio/F;->e:[I

    sub-int/2addr v5, v3

    aget v5, v6, v5

    goto :goto_62

    :cond_57
    sget-object v6, Lcom/google/android/exoplayer2/audio/F;->f:[I

    sub-int/2addr v5, v3

    aget v5, v6, v5

    goto :goto_62

    .line 9
    :cond_5d
    sget-object v6, Lcom/google/android/exoplayer2/audio/F;->g:[I

    sub-int/2addr v5, v3

    aget v5, v6, v5

    :goto_62
    const/16 v6, 0x90

    if-ne v0, v2, :cond_6b

    mul-int/lit16 v5, v5, 0x90

    .line 10
    div-int/2addr v5, v1

    add-int/2addr v5, p0

    return v5

    :cond_6b
    if-ne v4, v3, :cond_6f

    const/16 v6, 0x48

    :cond_6f
    mul-int v6, v6, v5

    .line 11
    div-int/2addr v6, v1

    add-int/2addr v6, p0

    return v6

    :cond_74
    :goto_74
    return v1
.end method

.method private 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

    .line 12
    :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 static synthetic b()[I
    .registers 1

    .line 1
    sget-object v0, Lcom/google/android/exoplayer2/audio/F;->b:[I

    return-object v0
.end method

.method public static c(I)I
    .registers 7

    .line 2
    invoke-static {p0}, Lcom/google/android/exoplayer2/audio/F;->d(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 3
    :cond_25
    invoke-static {v0, v3}, Lcom/google/android/exoplayer2/audio/F;->b(II)I

    move-result p0

    return p0

    :cond_2a
    :goto_2a
    return v1
.end method

.method static synthetic c()[I
    .registers 1

    .line 1
    sget-object v0, Lcom/google/android/exoplayer2/audio/F;->c:[I

    return-object v0
.end method

.method private static d(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 static synthetic d()[I
    .registers 1

    .line 1
    sget-object v0, Lcom/google/android/exoplayer2/audio/F;->d:[I

    return-object v0
.end method

.method static synthetic e()[I
    .registers 1

    .line 1
    sget-object v0, Lcom/google/android/exoplayer2/audio/F;->e:[I

    return-object v0
.end method

.method static synthetic f()[I
    .registers 1

    .line 1
    sget-object v0, Lcom/google/android/exoplayer2/audio/F;->f:[I

    return-object v0
.end method

.method static synthetic g()[I
    .registers 1

    .line 1
    sget-object v0, Lcom/google/android/exoplayer2/audio/F;->g:[I

    return-object v0
.end method