r.smali

.class public final Lf/b/b/b/k1/r;
.super Ljava/lang/Object;
.source ""


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

.field private static final i:[I

.field private static final j:[I

.field private static final k:[I

.field private static final l:[I

.field private static final m:[I

.field private static final n:[I


# instance fields
.field public a:I

.field public b:Ljava/lang/String;

.field public c:I

.field public d:I

.field public e:I

.field public f:I

.field public g:I


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

    const/4 v0, 0x3

    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, Lf/b/b/b/k1/r;->h:[Ljava/lang/String;

    new-array v0, v0, [I

    fill-array-data v0, :array_42

    sput-object v0, Lf/b/b/b/k1/r;->i:[I

    const/16 v0, 0xe

    new-array v1, v0, [I

    fill-array-data v1, :array_4c

    sput-object v1, Lf/b/b/b/k1/r;->j:[I

    new-array v1, v0, [I

    fill-array-data v1, :array_6c

    sput-object v1, Lf/b/b/b/k1/r;->k:[I

    new-array v1, v0, [I

    fill-array-data v1, :array_8c

    sput-object v1, Lf/b/b/b/k1/r;->l:[I

    new-array v1, v0, [I

    fill-array-data v1, :array_ac

    sput-object v1, Lf/b/b/b/k1/r;->m:[I

    new-array v0, v0, [I

    fill-array-data v0, :array_cc

    sput-object v0, Lf/b/b/b/k1/r;->n:[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 public constructor <init>()V
    .registers 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

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

    invoke-static {p0}, Lf/b/b/b/k1/r;->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

    :cond_25
    invoke-static {v0, v3}, Lf/b/b/b/k1/r;->c(II)I

    move-result p0

    return p0

    :cond_2a
    :goto_2a
    return v1
.end method

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

    invoke-static {p0}, Lf/b/b/b/k1/r;->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

    :cond_26
    sget-object v1, Lf/b/b/b/k1/r;->i:[I

    aget v1, v1, v6

    const/4 v6, 0x2

    if-ne v0, v6, :cond_30

    div-int/lit8 v1, v1, 0x2

    goto :goto_34

    :cond_30
    if-nez v0, :cond_34

    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

    sget-object v0, Lf/b/b/b/k1/r;->j:[I

    sub-int/2addr v5, v3

    aget v0, v0, v5

    goto :goto_46

    :cond_41
    sget-object v0, Lf/b/b/b/k1/r;->k:[I

    sub-int/2addr v5, v3

    aget v0, v0, v5

    :goto_46
    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_4d
    if-ne v0, v2, :cond_5d

    if-ne v4, v6, :cond_57

    sget-object v6, Lf/b/b/b/k1/r;->l:[I

    sub-int/2addr v5, v3

    aget v5, v6, v5

    goto :goto_62

    :cond_57
    sget-object v6, Lf/b/b/b/k1/r;->m:[I

    sub-int/2addr v5, v3

    aget v5, v6, v5

    goto :goto_62

    :cond_5d
    sget-object v6, Lf/b/b/b/k1/r;->n:[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

    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

    div-int/2addr v6, v1

    add-int/2addr v6, p0

    return v6

    :cond_74
    :goto_74
    return v1
.end method

.method private static c(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 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 public static e(ILf/b/b/b/k1/r;)Z
    .registers 13

    invoke-static {p0}, Lf/b/b/b/k1/r;->d(I)Z

    move-result v0

    const/4 v1, 0x0

    if-nez v0, :cond_8

    return v1

    :cond_8
    ushr-int/lit8 v0, p0, 0x13

    const/4 v2, 0x3

    and-int/lit8 v4, v0, 0x3

    const/4 v0, 0x1

    if-ne v4, v0, :cond_11

    return v1

    :cond_11
    ushr-int/lit8 v3, p0, 0x11

    and-int/2addr v3, v2

    if-nez v3, :cond_17

    return v1

    :cond_17
    ushr-int/lit8 v5, p0, 0xc

    const/16 v6, 0xf

    and-int/2addr v5, v6

    if-eqz v5, :cond_8d

    if-ne v5, v6, :cond_22

    goto/16 :goto_8d

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

    and-int/2addr v6, v2

    if-ne v6, v2, :cond_28

    return v1

    :cond_28
    sget-object v1, Lf/b/b/b/k1/r;->i:[I

    aget v1, v1, v6

    const/4 v6, 0x2

    if-ne v4, v6, :cond_32

    div-int/lit8 v1, v1, 0x2

    goto :goto_36

    :cond_32
    if-nez v4, :cond_36

    div-int/lit8 v1, v1, 0x4

    :cond_36
    :goto_36
    move v7, v1

    ushr-int/lit8 v1, p0, 0x9

    and-int/2addr v1, v0

    invoke-static {v4, v3}, Lf/b/b/b/k1/r;->c(II)I

    move-result v10

    if-ne v3, v2, :cond_55

    if-ne v4, v2, :cond_48

    sget-object v8, Lf/b/b/b/k1/r;->j:[I

    sub-int/2addr v5, v0

    aget v5, v8, v5

    goto :goto_4d

    :cond_48
    sget-object v8, Lf/b/b/b/k1/r;->k:[I

    sub-int/2addr v5, v0

    aget v5, v8, v5

    :goto_4d
    mul-int/lit8 v8, v5, 0xc

    div-int/2addr v8, v7

    add-int/2addr v8, v1

    mul-int/lit8 v8, v8, 0x4

    :goto_53
    move v9, v5

    goto :goto_78

    :cond_55
    if-ne v4, v2, :cond_67

    if-ne v3, v6, :cond_5f

    sget-object v8, Lf/b/b/b/k1/r;->l:[I

    sub-int/2addr v5, v0

    aget v5, v8, v5

    goto :goto_64

    :cond_5f
    sget-object v8, Lf/b/b/b/k1/r;->m:[I

    sub-int/2addr v5, v0

    aget v5, v8, v5

    :goto_64
    mul-int/lit16 v8, v5, 0x90

    goto :goto_75

    :cond_67
    sget-object v8, Lf/b/b/b/k1/r;->n:[I

    sub-int/2addr v5, v0

    aget v5, v8, v5

    if-ne v3, v0, :cond_71

    const/16 v8, 0x48

    goto :goto_73

    :cond_71
    const/16 v8, 0x90

    :goto_73
    mul-int v8, v8, v5

    :goto_75
    div-int/2addr v8, v7

    add-int/2addr v8, v1

    goto :goto_53

    :goto_78
    sget-object v1, Lf/b/b/b/k1/r;->h:[Ljava/lang/String;

    rsub-int/lit8 v3, v3, 0x3

    aget-object v5, v1, v3

    shr-int/lit8 p0, p0, 0x6

    and-int/2addr p0, v2

    if-ne p0, v2, :cond_85

    const/4 p0, 0x1

    goto :goto_86

    :cond_85
    const/4 p0, 0x2

    :goto_86
    move-object v3, p1

    move v6, v8

    move v8, p0

    invoke-direct/range {v3 .. v10}, Lf/b/b/b/k1/r;->f(ILjava/lang/String;IIIII)V

    return v0

    :cond_8d
    :goto_8d
    return v1
.end method

.method private f(ILjava/lang/String;IIIII)V
    .registers 8

    iput p1, p0, Lf/b/b/b/k1/r;->a:I

    iput-object p2, p0, Lf/b/b/b/k1/r;->b:Ljava/lang/String;

    iput p3, p0, Lf/b/b/b/k1/r;->c:I

    iput p4, p0, Lf/b/b/b/k1/r;->d:I

    iput p5, p0, Lf/b/b/b/k1/r;->e:I

    iput p6, p0, Lf/b/b/b/k1/r;->f:I

    iput p7, p0, Lf/b/b/b/k1/r;->g:I

    return-void
.end method