a.smali

.class public final Lf/b/b/b/q1/m/a;
.super Lf/b/b/b/q1/m/e;
.source ""


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lf/b/b/b/q1/m/a$a;
    }
.end annotation


# static fields
.field private static final A:[I

.field private static final B:[I

.field private static final C:[I

.field private static final D:[Z

.field private static final w:[I

.field private static final x:[I

.field private static final y:[I

.field private static final z:[I


# instance fields
.field private final g:Lf/b/b/b/s1/y;

.field private final h:I

.field private final i:I

.field private final j:I

.field private final k:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Lf/b/b/b/q1/m/a$a;",
            ">;"
        }
    .end annotation
.end field

.field private l:Lf/b/b/b/q1/m/a$a;

.field private m:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lf/b/b/b/q1/b;",
            ">;"
        }
    .end annotation
.end field

.field private n:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lf/b/b/b/q1/b;",
            ">;"
        }
    .end annotation
.end field

.field private o:I

.field private p:I

.field private q:Z

.field private r:Z

.field private s:B

.field private t:B

.field private u:I

.field private v:Z


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

    const/16 v0, 0x8

    new-array v1, v0, [I

    fill-array-data v1, :array_44

    sput-object v1, Lf/b/b/b/q1/m/a;->w:[I

    new-array v0, v0, [I

    fill-array-data v0, :array_58

    sput-object v0, Lf/b/b/b/q1/m/a;->x:[I

    const/4 v0, 0x7

    new-array v0, v0, [I

    fill-array-data v0, :array_6c

    sput-object v0, Lf/b/b/b/q1/m/a;->y:[I

    const/16 v0, 0x60

    new-array v0, v0, [I

    fill-array-data v0, :array_7e

    sput-object v0, Lf/b/b/b/q1/m/a;->z:[I

    const/16 v0, 0x10

    new-array v0, v0, [I

    fill-array-data v0, :array_142

    sput-object v0, Lf/b/b/b/q1/m/a;->A:[I

    const/16 v0, 0x20

    new-array v1, v0, [I

    fill-array-data v1, :array_166

    sput-object v1, Lf/b/b/b/q1/m/a;->B:[I

    new-array v0, v0, [I

    fill-array-data v0, :array_1aa

    sput-object v0, Lf/b/b/b/q1/m/a;->C:[I

    const/16 v0, 0x100

    new-array v0, v0, [Z

    fill-array-data v0, :array_1ee

    sput-object v0, Lf/b/b/b/q1/m/a;->D:[Z

    return-void

    :array_44
    .array-data 4
        0xb
        0x1
        0x3
        0xc
        0xe
        0x5
        0x7
        0x9
    .end array-data

    :array_58
    .array-data 4
        0x0
        0x4
        0x8
        0xc
        0x10
        0x14
        0x18
        0x1c
    .end array-data

    :array_6c
    .array-data 4
        -0x1
        -0xff0100
        -0xffff01
        -0xff0001
        -0x10000
        -0x100
        -0xff01
    .end array-data

    :array_7e
    .array-data 4
        0x20
        0x21
        0x22
        0x23
        0x24
        0x25
        0x26
        0x27
        0x28
        0x29
        0xe1
        0x2b
        0x2c
        0x2d
        0x2e
        0x2f
        0x30
        0x31
        0x32
        0x33
        0x34
        0x35
        0x36
        0x37
        0x38
        0x39
        0x3a
        0x3b
        0x3c
        0x3d
        0x3e
        0x3f
        0x40
        0x41
        0x42
        0x43
        0x44
        0x45
        0x46
        0x47
        0x48
        0x49
        0x4a
        0x4b
        0x4c
        0x4d
        0x4e
        0x4f
        0x50
        0x51
        0x52
        0x53
        0x54
        0x55
        0x56
        0x57
        0x58
        0x59
        0x5a
        0x5b
        0xe9
        0x5d
        0xed
        0xf3
        0xfa
        0x61
        0x62
        0x63
        0x64
        0x65
        0x66
        0x67
        0x68
        0x69
        0x6a
        0x6b
        0x6c
        0x6d
        0x6e
        0x6f
        0x70
        0x71
        0x72
        0x73
        0x74
        0x75
        0x76
        0x77
        0x78
        0x79
        0x7a
        0xe7
        0xf7
        0xd1
        0xf1
        0x25a0
    .end array-data

    :array_142
    .array-data 4
        0xae
        0xb0
        0xbd
        0xbf
        0x2122
        0xa2
        0xa3
        0x266a
        0xe0
        0x20
        0xe8
        0xe2
        0xea
        0xee
        0xf4
        0xfb
    .end array-data

    :array_166
    .array-data 4
        0xc1
        0xc9
        0xd3
        0xda
        0xdc
        0xfc
        0x2018
        0xa1
        0x2a
        0x27
        0x2014
        0xa9
        0x2120
        0x2022
        0x201c
        0x201d
        0xc0
        0xc2
        0xc7
        0xc8
        0xca
        0xcb
        0xeb
        0xce
        0xcf
        0xef
        0xd4
        0xd9
        0xf9
        0xdb
        0xab
        0xbb
    .end array-data

    :array_1aa
    .array-data 4
        0xc3
        0xe3
        0xcd
        0xcc
        0xec
        0xd2
        0xf2
        0xd5
        0xf5
        0x7b
        0x7d
        0x5c
        0x5e
        0x5f
        0x7c
        0x7e
        0xc4
        0xe4
        0xd6
        0xf6
        0xdf
        0xa5
        0xa4
        0x2502
        0xc5
        0xe5
        0xd8
        0xf8
        0x250c
        0x2510
        0x2514
        0x2518
    .end array-data

    :array_1ee
    .array-data 1
        0x0t
        0x1t
        0x1t
        0x0t
        0x1t
        0x0t
        0x0t
        0x1t
        0x1t
        0x0t
        0x0t
        0x1t
        0x0t
        0x1t
        0x1t
        0x0t
        0x1t
        0x0t
        0x0t
        0x1t
        0x0t
        0x1t
        0x1t
        0x0t
        0x0t
        0x1t
        0x1t
        0x0t
        0x1t
        0x0t
        0x0t
        0x1t
        0x1t
        0x0t
        0x0t
        0x1t
        0x0t
        0x1t
        0x1t
        0x0t
        0x0t
        0x1t
        0x1t
        0x0t
        0x1t
        0x0t
        0x0t
        0x1t
        0x0t
        0x1t
        0x1t
        0x0t
        0x1t
        0x0t
        0x0t
        0x1t
        0x1t
        0x0t
        0x0t
        0x1t
        0x0t
        0x1t
        0x1t
        0x0t
        0x1t
        0x0t
        0x0t
        0x1t
        0x0t
        0x1t
        0x1t
        0x0t
        0x0t
        0x1t
        0x1t
        0x0t
        0x1t
        0x0t
        0x0t
        0x1t
        0x0t
        0x1t
        0x1t
        0x0t
        0x1t
        0x0t
        0x0t
        0x1t
        0x1t
        0x0t
        0x0t
        0x1t
        0x0t
        0x1t
        0x1t
        0x0t
        0x0t
        0x1t
        0x1t
        0x0t
        0x1t
        0x0t
        0x0t
        0x1t
        0x1t
        0x0t
        0x0t
        0x1t
        0x0t
        0x1t
        0x1t
        0x0t
        0x1t
        0x0t
        0x0t
        0x1t
        0x0t
        0x1t
        0x1t
        0x0t
        0x0t
        0x1t
        0x1t
        0x0t
        0x1t
        0x0t
        0x0t
        0x1t
        0x1t
        0x0t
        0x0t
        0x1t
        0x0t
        0x1t
        0x1t
        0x0t
        0x0t
        0x1t
        0x1t
        0x0t
        0x1t
        0x0t
        0x0t
        0x1t
        0x0t
        0x1t
        0x1t
        0x0t
        0x1t
        0x0t
        0x0t
        0x1t
        0x1t
        0x0t
        0x0t
        0x1t
        0x0t
        0x1t
        0x1t
        0x0t
        0x0t
        0x1t
        0x1t
        0x0t
        0x1t
        0x0t
        0x0t
        0x1t
        0x1t
        0x0t
        0x0t
        0x1t
        0x0t
        0x1t
        0x1t
        0x0t
        0x1t
        0x0t
        0x0t
        0x1t
        0x0t
        0x1t
        0x1t
        0x0t
        0x0t
        0x1t
        0x1t
        0x0t
        0x1t
        0x0t
        0x0t
        0x1t
        0x0t
        0x1t
        0x1t
        0x0t
        0x1t
        0x0t
        0x0t
        0x1t
        0x1t
        0x0t
        0x0t
        0x1t
        0x0t
        0x1t
        0x1t
        0x0t
        0x1t
        0x0t
        0x0t
        0x1t
        0x0t
        0x1t
        0x1t
        0x0t
        0x0t
        0x1t
        0x1t
        0x0t
        0x1t
        0x0t
        0x0t
        0x1t
        0x1t
        0x0t
        0x0t
        0x1t
        0x0t
        0x1t
        0x1t
        0x0t
        0x0t
        0x1t
        0x1t
        0x0t
        0x1t
        0x0t
        0x0t
        0x1t
        0x0t
        0x1t
        0x1t
        0x0t
        0x1t
        0x0t
        0x0t
        0x1t
        0x1t
        0x0t
        0x0t
        0x1t
        0x0t
        0x1t
        0x1t
        0x0t
    .end array-data
.end method

.method public constructor <init>(Ljava/lang/String;I)V
    .registers 7

    invoke-direct {p0}, Lf/b/b/b/q1/m/e;-><init>()V

    new-instance v0, Lf/b/b/b/s1/y;

    invoke-direct {v0}, Lf/b/b/b/s1/y;-><init>()V

    iput-object v0, p0, Lf/b/b/b/q1/m/a;->g:Lf/b/b/b/s1/y;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lf/b/b/b/q1/m/a;->k:Ljava/util/ArrayList;

    new-instance v0, Lf/b/b/b/q1/m/a$a;

    const/4 v1, 0x0

    const/4 v2, 0x4

    invoke-direct {v0, v1, v2}, Lf/b/b/b/q1/m/a$a;-><init>(II)V

    iput-object v0, p0, Lf/b/b/b/q1/m/a;->l:Lf/b/b/b/q1/m/a$a;

    iput v1, p0, Lf/b/b/b/q1/m/a;->u:I

    const-string v0, "application/x-mp4-cea-608"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    const/4 v0, 0x2

    const/4 v3, 0x3

    if-eqz p1, :cond_28

    const/4 p1, 0x2

    goto :goto_29

    :cond_28
    const/4 p1, 0x3

    :goto_29
    iput p1, p0, Lf/b/b/b/q1/m/a;->h:I

    const/4 p1, 0x1

    if-eq p2, p1, :cond_47

    if-eq p2, v0, :cond_44

    if-eq p2, v3, :cond_3f

    if-eq p2, v2, :cond_3c

    const-string p2, "Cea608Decoder"

    const-string v0, "Invalid channel. Defaulting to CC1."

    invoke-static {p2, v0}, Lf/b/b/b/s1/r;->h(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_47

    :cond_3c
    iput p1, p0, Lf/b/b/b/q1/m/a;->j:I

    goto :goto_41

    :cond_3f
    iput v1, p0, Lf/b/b/b/q1/m/a;->j:I

    :goto_41
    iput p1, p0, Lf/b/b/b/q1/m/a;->i:I

    goto :goto_4b

    :cond_44
    iput p1, p0, Lf/b/b/b/q1/m/a;->j:I

    goto :goto_49

    :cond_47
    :goto_47
    iput v1, p0, Lf/b/b/b/q1/m/a;->j:I

    :goto_49
    iput v1, p0, Lf/b/b/b/q1/m/a;->i:I

    :goto_4b
    invoke-direct {p0, v1}, Lf/b/b/b/q1/m/a;->K(I)V

    invoke-direct {p0}, Lf/b/b/b/q1/m/a;->J()V

    iput-boolean p1, p0, Lf/b/b/b/q1/m/a;->v:Z

    return-void
.end method

.method private static A(BB)Z
    .registers 3

    and-int/lit16 p0, p0, 0xf6

    const/16 v0, 0x14

    if-ne p0, v0, :cond_e

    and-int/lit16 p0, p1, 0xf0

    const/16 p1, 0x20

    if-ne p0, p1, :cond_e

    const/4 p0, 0x1

    goto :goto_f

    :cond_e
    const/4 p0, 0x0

    :goto_f
    return p0
.end method

.method private static B(BB)Z
    .registers 3

    and-int/lit16 p0, p0, 0xf0

    const/16 v0, 0x10

    if-ne p0, v0, :cond_e

    and-int/lit16 p0, p1, 0xc0

    const/16 p1, 0x40

    if-ne p0, p1, :cond_e

    const/4 p0, 0x1

    goto :goto_f

    :cond_e
    const/4 p0, 0x0

    :goto_f
    return p0
.end method

.method private static C(B)Z
    .registers 2

    and-int/lit16 p0, p0, 0xf0

    const/16 v0, 0x10

    if-ne p0, v0, :cond_8

    const/4 p0, 0x1

    goto :goto_9

    :cond_8
    const/4 p0, 0x0

    :goto_9
    return p0
.end method

.method private D(ZBB)Z
    .registers 6

    const/4 v0, 0x0

    if-eqz p1, :cond_20

    invoke-static {p2}, Lf/b/b/b/q1/m/a;->C(B)Z

    move-result p1

    if-eqz p1, :cond_20

    iget-boolean p1, p0, Lf/b/b/b/q1/m/a;->r:Z

    const/4 v1, 0x1

    if-eqz p1, :cond_19

    iget-byte p1, p0, Lf/b/b/b/q1/m/a;->s:B

    if-ne p1, p2, :cond_19

    iget-byte p1, p0, Lf/b/b/b/q1/m/a;->t:B

    if-ne p1, p3, :cond_19

    iput-boolean v0, p0, Lf/b/b/b/q1/m/a;->r:Z

    return v1

    :cond_19
    iput-boolean v1, p0, Lf/b/b/b/q1/m/a;->r:Z

    iput-byte p2, p0, Lf/b/b/b/q1/m/a;->s:B

    iput-byte p3, p0, Lf/b/b/b/q1/m/a;->t:B

    goto :goto_22

    :cond_20
    iput-boolean v0, p0, Lf/b/b/b/q1/m/a;->r:Z

    :goto_22
    return v0
.end method

.method private static E(B)Z
    .registers 2

    and-int/lit16 p0, p0, 0xf7

    const/16 v0, 0x14

    if-ne p0, v0, :cond_8

    const/4 p0, 0x1

    goto :goto_9

    :cond_8
    const/4 p0, 0x0

    :goto_9
    return p0
.end method

.method private static F(BB)Z
    .registers 3

    and-int/lit16 p0, p0, 0xf7

    const/16 v0, 0x11

    if-ne p0, v0, :cond_e

    and-int/lit16 p0, p1, 0xf0

    const/16 p1, 0x30

    if-ne p0, p1, :cond_e

    const/4 p0, 0x1

    goto :goto_f

    :cond_e
    const/4 p0, 0x0

    :goto_f
    return p0
.end method

.method private static G(BB)Z
    .registers 3

    and-int/lit16 p0, p0, 0xf7

    const/16 v0, 0x17

    if-ne p0, v0, :cond_10

    const/16 p0, 0x21

    if-lt p1, p0, :cond_10

    const/16 p0, 0x23

    if-gt p1, p0, :cond_10

    const/4 p0, 0x1

    goto :goto_11

    :cond_10
    const/4 p0, 0x0

    :goto_11
    return p0
.end method

.method private static H(B)Z
    .registers 3

    const/4 v0, 0x1

    if-gt v0, p0, :cond_8

    const/16 v1, 0xf

    if-gt p0, v1, :cond_8

    goto :goto_9

    :cond_8
    const/4 v0, 0x0

    :goto_9
    return v0
.end method

.method private I(BB)V
    .registers 5

    invoke-static {p1}, Lf/b/b/b/q1/m/a;->H(B)Z

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_a

    :pswitch_7
    iput-boolean v1, p0, Lf/b/b/b/q1/m/a;->v:Z

    goto :goto_22

    :cond_a
    invoke-static {p1}, Lf/b/b/b/q1/m/a;->E(B)Z

    move-result p1

    if-eqz p1, :cond_22

    const/16 p1, 0x20

    if-eq p2, p1, :cond_1f

    const/16 p1, 0x2f

    if-eq p2, p1, :cond_1f

    packed-switch p2, :pswitch_data_24

    packed-switch p2, :pswitch_data_2e

    goto :goto_22

    :cond_1f
    :pswitch_1f
    const/4 p1, 0x1

    iput-boolean p1, p0, Lf/b/b/b/q1/m/a;->v:Z

    :cond_22
    :goto_22
    return-void

    nop

    :pswitch_data_24
    .packed-switch 0x25
        :pswitch_1f
        :pswitch_1f
        :pswitch_1f
    .end packed-switch

    :pswitch_data_2e
    .packed-switch 0x29
        :pswitch_1f
        :pswitch_7
        :pswitch_7
    .end packed-switch
.end method

.method private J()V
    .registers 3

    iget-object v0, p0, Lf/b/b/b/q1/m/a;->l:Lf/b/b/b/q1/m/a$a;

    iget v1, p0, Lf/b/b/b/q1/m/a;->o:I

    invoke-virtual {v0, v1}, Lf/b/b/b/q1/m/a$a;->j(I)V

    iget-object v0, p0, Lf/b/b/b/q1/m/a;->k:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    iget-object v0, p0, Lf/b/b/b/q1/m/a;->k:Ljava/util/ArrayList;

    iget-object v1, p0, Lf/b/b/b/q1/m/a;->l:Lf/b/b/b/q1/m/a$a;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    return-void
.end method

.method private K(I)V
    .registers 4

    iget v0, p0, Lf/b/b/b/q1/m/a;->o:I

    if-ne v0, p1, :cond_5

    return-void

    :cond_5
    iput p1, p0, Lf/b/b/b/q1/m/a;->o:I

    const/4 v1, 0x3

    if-ne p1, v1, :cond_22

    const/4 v0, 0x0

    :goto_b
    iget-object v1, p0, Lf/b/b/b/q1/m/a;->k:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ge v0, v1, :cond_21

    iget-object v1, p0, Lf/b/b/b/q1/m/a;->k:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lf/b/b/b/q1/m/a$a;

    invoke-virtual {v1, p1}, Lf/b/b/b/q1/m/a$a;->l(I)V

    add-int/lit8 v0, v0, 0x1

    goto :goto_b

    :cond_21
    return-void

    :cond_22
    invoke-direct {p0}, Lf/b/b/b/q1/m/a;->J()V

    if-eq v0, v1, :cond_2c

    const/4 v0, 0x1

    if-eq p1, v0, :cond_2c

    if-nez p1, :cond_32

    :cond_2c
    invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;

    move-result-object p1

    iput-object p1, p0, Lf/b/b/b/q1/m/a;->m:Ljava/util/List;

    :cond_32
    return-void
.end method

.method private L(I)V
    .registers 3

    iput p1, p0, Lf/b/b/b/q1/m/a;->p:I

    iget-object v0, p0, Lf/b/b/b/q1/m/a;->l:Lf/b/b/b/q1/m/a$a;

    invoke-virtual {v0, p1}, Lf/b/b/b/q1/m/a$a;->m(I)V

    return-void
.end method

.method private M(B)Z
    .registers 3

    invoke-static {p1}, Lf/b/b/b/q1/m/a;->x(B)Z

    move-result v0

    if-eqz v0, :cond_c

    invoke-static {p1}, Lf/b/b/b/q1/m/a;->o(B)I

    move-result p1

    iput p1, p0, Lf/b/b/b/q1/m/a;->u:I

    :cond_c
    iget p1, p0, Lf/b/b/b/q1/m/a;->u:I

    iget v0, p0, Lf/b/b/b/q1/m/a;->j:I

    if-ne p1, v0, :cond_14

    const/4 p1, 0x1

    goto :goto_15

    :cond_14
    const/4 p1, 0x0

    :goto_15
    return p1
.end method

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

    sget-object v0, Lf/b/b/b/q1/m/a;->y:[I

    return-object v0
.end method

.method private static n(B)C
    .registers 2

    and-int/lit8 p0, p0, 0x7f

    add-int/lit8 p0, p0, -0x20

    sget-object v0, Lf/b/b/b/q1/m/a;->z:[I

    aget p0, v0, p0

    int-to-char p0, p0

    return p0
.end method

.method private static o(B)I
    .registers 1

    shr-int/lit8 p0, p0, 0x3

    and-int/lit8 p0, p0, 0x1

    return p0
.end method

.method private p()Ljava/util/List;
    .registers 8
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Lf/b/b/b/q1/b;",
            ">;"
        }
    .end annotation

    iget-object v0, p0, Lf/b/b/b/q1/m/a;->k:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1, v0}, Ljava/util/ArrayList;-><init>(I)V

    const/4 v2, 0x0

    const/4 v3, 0x2

    const/4 v4, 0x0

    :goto_e
    if-ge v4, v0, :cond_2c

    iget-object v5, p0, Lf/b/b/b/q1/m/a;->k:Ljava/util/ArrayList;

    invoke-virtual {v5, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lf/b/b/b/q1/m/a$a;

    const/high16 v6, -0x80000000

    invoke-virtual {v5, v6}, Lf/b/b/b/q1/m/a$a;->g(I)Lf/b/b/b/q1/b;

    move-result-object v5

    invoke-interface {v1, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    if-eqz v5, :cond_29

    iget v5, v5, Lf/b/b/b/q1/b;->l:I

    invoke-static {v3, v5}, Ljava/lang/Math;->min(II)I

    move-result v3

    :cond_29
    add-int/lit8 v4, v4, 0x1

    goto :goto_e

    :cond_2c
    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4, v0}, Ljava/util/ArrayList;-><init>(I)V

    :goto_31
    if-ge v2, v0, :cond_51

    invoke-interface {v1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lf/b/b/b/q1/b;

    if-eqz v5, :cond_4e

    iget v6, v5, Lf/b/b/b/q1/b;->l:I

    if-eq v6, v3, :cond_4b

    iget-object v5, p0, Lf/b/b/b/q1/m/a;->k:Ljava/util/ArrayList;

    invoke-virtual {v5, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lf/b/b/b/q1/m/a$a;

    invoke-virtual {v5, v3}, Lf/b/b/b/q1/m/a$a;->g(I)Lf/b/b/b/q1/b;

    move-result-object v5

    :cond_4b
    invoke-interface {v4, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_4e
    add-int/lit8 v2, v2, 0x1

    goto :goto_31

    :cond_51
    return-object v4
.end method

.method private static q(B)C
    .registers 2

    and-int/lit8 p0, p0, 0x1f

    sget-object v0, Lf/b/b/b/q1/m/a;->B:[I

    aget p0, v0, p0

    int-to-char p0, p0

    return p0
.end method

.method private static r(B)C
    .registers 2

    and-int/lit8 p0, p0, 0x1f

    sget-object v0, Lf/b/b/b/q1/m/a;->C:[I

    aget p0, v0, p0

    int-to-char p0, p0

    return p0
.end method

.method private static s(BB)C
    .registers 2

    and-int/lit8 p0, p0, 0x1

    if-nez p0, :cond_9

    invoke-static {p1}, Lf/b/b/b/q1/m/a;->q(B)C

    move-result p0

    return p0

    :cond_9
    invoke-static {p1}, Lf/b/b/b/q1/m/a;->r(B)C

    move-result p0

    return p0
.end method

.method private static t(B)C
    .registers 2

    and-int/lit8 p0, p0, 0xf

    sget-object v0, Lf/b/b/b/q1/m/a;->A:[I

    aget p0, v0, p0

    int-to-char p0, p0

    return p0
.end method

.method private u(B)V
    .registers 4

    iget-object v0, p0, Lf/b/b/b/q1/m/a;->l:Lf/b/b/b/q1/m/a$a;

    const/16 v1, 0x20

    invoke-virtual {v0, v1}, Lf/b/b/b/q1/m/a$a;->e(C)V

    and-int/lit8 v0, p1, 0x1

    const/4 v1, 0x1

    if-ne v0, v1, :cond_e

    const/4 v0, 0x1

    goto :goto_f

    :cond_e
    const/4 v0, 0x0

    :goto_f
    shr-int/2addr p1, v1

    and-int/lit8 p1, p1, 0x7

    iget-object v1, p0, Lf/b/b/b/q1/m/a;->l:Lf/b/b/b/q1/m/a$a;

    invoke-virtual {v1, p1, v0}, Lf/b/b/b/q1/m/a$a;->p(IZ)V

    return-void
.end method

.method private v(B)V
    .registers 6

    const/16 v0, 0x20

    const/4 v1, 0x2

    if-eq p1, v0, :cond_62

    const/16 v0, 0x29

    const/4 v2, 0x3

    if-eq p1, v0, :cond_5e

    const/4 v0, 0x1

    packed-switch p1, :pswitch_data_66

    iget v1, p0, Lf/b/b/b/q1/m/a;->o:I

    if-nez v1, :cond_13

    return-void

    :cond_13
    const/16 v3, 0x21

    if-eq p1, v3, :cond_42

    packed-switch p1, :pswitch_data_70

    goto :goto_47

    :pswitch_1b
    invoke-direct {p0}, Lf/b/b/b/q1/m/a;->p()Ljava/util/List;

    move-result-object p1

    iput-object p1, p0, Lf/b/b/b/q1/m/a;->m:Ljava/util/List;

    :cond_21
    :goto_21
    :pswitch_21
    invoke-direct {p0}, Lf/b/b/b/q1/m/a;->J()V

    goto :goto_47

    :pswitch_25
    if-ne v1, v0, :cond_47

    iget-object p1, p0, Lf/b/b/b/q1/m/a;->l:Lf/b/b/b/q1/m/a$a;

    invoke-virtual {p1}, Lf/b/b/b/q1/m/a$a;->i()Z

    move-result p1

    if-nez p1, :cond_47

    iget-object p1, p0, Lf/b/b/b/q1/m/a;->l:Lf/b/b/b/q1/m/a$a;

    invoke-virtual {p1}, Lf/b/b/b/q1/m/a$a;->k()V

    goto :goto_47

    :pswitch_35
    invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;

    move-result-object p1

    iput-object p1, p0, Lf/b/b/b/q1/m/a;->m:Ljava/util/List;

    iget p1, p0, Lf/b/b/b/q1/m/a;->o:I

    if-eq p1, v0, :cond_21

    if-ne p1, v2, :cond_47

    goto :goto_21

    :cond_42
    iget-object p1, p0, Lf/b/b/b/q1/m/a;->l:Lf/b/b/b/q1/m/a$a;

    invoke-virtual {p1}, Lf/b/b/b/q1/m/a$a;->f()V

    :cond_47
    :goto_47
    return-void

    :pswitch_48
    invoke-direct {p0, v0}, Lf/b/b/b/q1/m/a;->K(I)V

    const/4 p1, 0x4

    invoke-direct {p0, p1}, Lf/b/b/b/q1/m/a;->L(I)V

    return-void

    :pswitch_50
    invoke-direct {p0, v0}, Lf/b/b/b/q1/m/a;->K(I)V

    invoke-direct {p0, v2}, Lf/b/b/b/q1/m/a;->L(I)V

    return-void

    :pswitch_57
    invoke-direct {p0, v0}, Lf/b/b/b/q1/m/a;->K(I)V

    invoke-direct {p0, v1}, Lf/b/b/b/q1/m/a;->L(I)V

    return-void

    :cond_5e
    invoke-direct {p0, v2}, Lf/b/b/b/q1/m/a;->K(I)V

    return-void

    :cond_62
    invoke-direct {p0, v1}, Lf/b/b/b/q1/m/a;->K(I)V

    return-void

    :pswitch_data_66
    .packed-switch 0x25
        :pswitch_57
        :pswitch_50
        :pswitch_48
    .end packed-switch

    :pswitch_data_70
    .packed-switch 0x2c
        :pswitch_35
        :pswitch_25
        :pswitch_21
        :pswitch_1b
    .end packed-switch
.end method

.method private w(BB)V
    .registers 8

    sget-object v0, Lf/b/b/b/q1/m/a;->w:[I

    and-int/lit8 p1, p1, 0x7

    aget p1, v0, p1

    and-int/lit8 v0, p2, 0x20

    const/4 v1, 0x0

    const/4 v2, 0x1

    if-eqz v0, :cond_e

    const/4 v0, 0x1

    goto :goto_f

    :cond_e
    const/4 v0, 0x0

    :goto_f
    if-eqz v0, :cond_13

    add-int/lit8 p1, p1, 0x1

    :cond_13
    iget-object v0, p0, Lf/b/b/b/q1/m/a;->l:Lf/b/b/b/q1/m/a$a;

    invoke-static {v0}, Lf/b/b/b/q1/m/a$a;->b(Lf/b/b/b/q1/m/a$a;)I

    move-result v0

    if-eq p1, v0, :cond_3c

    iget v0, p0, Lf/b/b/b/q1/m/a;->o:I

    if-eq v0, v2, :cond_37

    iget-object v0, p0, Lf/b/b/b/q1/m/a;->l:Lf/b/b/b/q1/m/a$a;

    invoke-virtual {v0}, Lf/b/b/b/q1/m/a$a;->i()Z

    move-result v0

    if-nez v0, :cond_37

    new-instance v0, Lf/b/b/b/q1/m/a$a;

    iget v3, p0, Lf/b/b/b/q1/m/a;->o:I

    iget v4, p0, Lf/b/b/b/q1/m/a;->p:I

    invoke-direct {v0, v3, v4}, Lf/b/b/b/q1/m/a$a;-><init>(II)V

    iput-object v0, p0, Lf/b/b/b/q1/m/a;->l:Lf/b/b/b/q1/m/a$a;

    iget-object v3, p0, Lf/b/b/b/q1/m/a;->k:Ljava/util/ArrayList;

    invoke-virtual {v3, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_37
    iget-object v0, p0, Lf/b/b/b/q1/m/a;->l:Lf/b/b/b/q1/m/a$a;

    invoke-static {v0, p1}, Lf/b/b/b/q1/m/a$a;->c(Lf/b/b/b/q1/m/a$a;I)I

    :cond_3c
    and-int/lit8 p1, p2, 0x10

    const/16 v0, 0x10

    if-ne p1, v0, :cond_44

    const/4 p1, 0x1

    goto :goto_45

    :cond_44
    const/4 p1, 0x0

    :goto_45
    and-int/lit8 v0, p2, 0x1

    if-ne v0, v2, :cond_4a

    const/4 v1, 0x1

    :cond_4a
    shr-int/2addr p2, v2

    and-int/lit8 p2, p2, 0x7

    iget-object v0, p0, Lf/b/b/b/q1/m/a;->l:Lf/b/b/b/q1/m/a$a;

    if-eqz p1, :cond_54

    const/16 v2, 0x8

    goto :goto_55

    :cond_54
    move v2, p2

    :goto_55
    invoke-virtual {v0, v2, v1}, Lf/b/b/b/q1/m/a$a;->p(IZ)V

    if-eqz p1, :cond_63

    iget-object p1, p0, Lf/b/b/b/q1/m/a;->l:Lf/b/b/b/q1/m/a$a;

    sget-object v0, Lf/b/b/b/q1/m/a;->x:[I

    aget p2, v0, p2

    invoke-static {p1, p2}, Lf/b/b/b/q1/m/a$a;->d(Lf/b/b/b/q1/m/a$a;I)I

    :cond_63
    return-void
.end method

.method private static x(B)Z
    .registers 1

    and-int/lit16 p0, p0, 0xe0

    if-nez p0, :cond_6

    const/4 p0, 0x1

    goto :goto_7

    :cond_6
    const/4 p0, 0x0

    :goto_7
    return p0
.end method

.method private static y(BB)Z
    .registers 3

    and-int/lit16 p0, p0, 0xf6

    const/16 v0, 0x12

    if-ne p0, v0, :cond_e

    and-int/lit16 p0, p1, 0xe0

    const/16 p1, 0x20

    if-ne p0, p1, :cond_e

    const/4 p0, 0x1

    goto :goto_f

    :cond_e
    const/4 p0, 0x0

    :goto_f
    return p0
.end method

.method private static z(BB)Z
    .registers 3

    and-int/lit16 p0, p0, 0xf7

    const/16 v0, 0x11

    if-ne p0, v0, :cond_e

    and-int/lit16 p0, p1, 0xf0

    const/16 p1, 0x20

    if-ne p0, p1, :cond_e

    const/4 p0, 0x1

    goto :goto_f

    :cond_e
    const/4 p0, 0x0

    :goto_f
    return p0
.end method


# virtual methods
.method protected e()Lf/b/b/b/q1/e;
    .registers 3

    iget-object v0, p0, Lf/b/b/b/q1/m/a;->m:Ljava/util/List;

    iput-object v0, p0, Lf/b/b/b/q1/m/a;->n:Ljava/util/List;

    new-instance v1, Lf/b/b/b/q1/m/f;

    invoke-direct {v1, v0}, Lf/b/b/b/q1/m/f;-><init>(Ljava/util/List;)V

    return-object v1
.end method

.method protected f(Lf/b/b/b/q1/i;)V
    .registers 11

    iget-object v0, p0, Lf/b/b/b/q1/m/a;->g:Lf/b/b/b/s1/y;

    iget-object v1, p1, Lf/b/b/b/h1/e;->f:Ljava/nio/ByteBuffer;

    invoke-virtual {v1}, Ljava/nio/ByteBuffer;->array()[B

    move-result-object v1

    iget-object p1, p1, Lf/b/b/b/h1/e;->f:Ljava/nio/ByteBuffer;

    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->limit()I

    move-result p1

    invoke-virtual {v0, v1, p1}, Lf/b/b/b/s1/y;->L([BI)V

    const/4 p1, 0x0

    const/4 v0, 0x1

    const/4 v1, 0x0

    :cond_14
    :goto_14
    iget-object v2, p0, Lf/b/b/b/q1/m/a;->g:Lf/b/b/b/s1/y;

    invoke-virtual {v2}, Lf/b/b/b/s1/y;->a()I

    move-result v2

    iget v3, p0, Lf/b/b/b/q1/m/a;->h:I

    if-lt v2, v3, :cond_ec

    const/4 v2, 0x2

    if-ne v3, v2, :cond_23

    const/4 v2, -0x4

    goto :goto_2a

    :cond_23
    iget-object v2, p0, Lf/b/b/b/q1/m/a;->g:Lf/b/b/b/s1/y;

    invoke-virtual {v2}, Lf/b/b/b/s1/y;->A()I

    move-result v2

    int-to-byte v2, v2

    :goto_2a
    iget-object v3, p0, Lf/b/b/b/q1/m/a;->g:Lf/b/b/b/s1/y;

    invoke-virtual {v3}, Lf/b/b/b/s1/y;->A()I

    move-result v3

    iget-object v4, p0, Lf/b/b/b/q1/m/a;->g:Lf/b/b/b/s1/y;

    invoke-virtual {v4}, Lf/b/b/b/s1/y;->A()I

    move-result v4

    and-int/lit8 v5, v2, 0x2

    if-eqz v5, :cond_3b

    goto :goto_14

    :cond_3b
    and-int/lit8 v5, v2, 0x1

    iget v6, p0, Lf/b/b/b/q1/m/a;->i:I

    if-eq v5, v6, :cond_42

    goto :goto_14

    :cond_42
    and-int/lit8 v5, v3, 0x7f

    int-to-byte v5, v5

    and-int/lit8 v6, v4, 0x7f

    int-to-byte v6, v6

    if-nez v5, :cond_4d

    if-nez v6, :cond_4d

    goto :goto_14

    :cond_4d
    iget-boolean v7, p0, Lf/b/b/b/q1/m/a;->q:Z

    and-int/lit8 v2, v2, 0x4

    const/4 v8, 0x4

    if-ne v2, v8, :cond_60

    sget-object v2, Lf/b/b/b/q1/m/a;->D:[Z

    aget-boolean v3, v2, v3

    if-eqz v3, :cond_60

    aget-boolean v2, v2, v4

    if-eqz v2, :cond_60

    const/4 v2, 0x1

    goto :goto_61

    :cond_60
    const/4 v2, 0x0

    :goto_61
    iput-boolean v2, p0, Lf/b/b/b/q1/m/a;->q:Z

    invoke-direct {p0, v2, v5, v6}, Lf/b/b/b/q1/m/a;->D(ZBB)Z

    move-result v2

    if-eqz v2, :cond_6a

    goto :goto_14

    :cond_6a
    iget-boolean v2, p0, Lf/b/b/b/q1/m/a;->q:Z

    if-nez v2, :cond_75

    if-eqz v7, :cond_14

    invoke-direct {p0}, Lf/b/b/b/q1/m/a;->J()V

    :cond_73
    :goto_73
    const/4 v1, 0x1

    goto :goto_14

    :cond_75
    invoke-direct {p0, v5, v6}, Lf/b/b/b/q1/m/a;->I(BB)V

    iget-boolean v2, p0, Lf/b/b/b/q1/m/a;->v:Z

    if-nez v2, :cond_7d

    goto :goto_14

    :cond_7d
    invoke-direct {p0, v5}, Lf/b/b/b/q1/m/a;->M(B)Z

    move-result v2

    if-nez v2, :cond_84

    goto :goto_14

    :cond_84
    invoke-static {v5}, Lf/b/b/b/q1/m/a;->x(B)Z

    move-result v1

    if-eqz v1, :cond_d5

    invoke-static {v5, v6}, Lf/b/b/b/q1/m/a;->F(BB)Z

    move-result v1

    if-eqz v1, :cond_97

    iget-object v1, p0, Lf/b/b/b/q1/m/a;->l:Lf/b/b/b/q1/m/a$a;

    invoke-static {v6}, Lf/b/b/b/q1/m/a;->t(B)C

    move-result v2

    goto :goto_e8

    :cond_97
    invoke-static {v5, v6}, Lf/b/b/b/q1/m/a;->y(BB)Z

    move-result v1

    if-eqz v1, :cond_a9

    iget-object v1, p0, Lf/b/b/b/q1/m/a;->l:Lf/b/b/b/q1/m/a$a;

    invoke-virtual {v1}, Lf/b/b/b/q1/m/a$a;->f()V

    iget-object v1, p0, Lf/b/b/b/q1/m/a;->l:Lf/b/b/b/q1/m/a$a;

    invoke-static {v5, v6}, Lf/b/b/b/q1/m/a;->s(BB)C

    move-result v2

    goto :goto_e8

    :cond_a9
    invoke-static {v5, v6}, Lf/b/b/b/q1/m/a;->z(BB)Z

    move-result v1

    if-eqz v1, :cond_b3

    invoke-direct {p0, v6}, Lf/b/b/b/q1/m/a;->u(B)V

    goto :goto_73

    :cond_b3
    invoke-static {v5, v6}, Lf/b/b/b/q1/m/a;->B(BB)Z

    move-result v1

    if-eqz v1, :cond_bd

    invoke-direct {p0, v5, v6}, Lf/b/b/b/q1/m/a;->w(BB)V

    goto :goto_73

    :cond_bd
    invoke-static {v5, v6}, Lf/b/b/b/q1/m/a;->G(BB)Z

    move-result v1

    if-eqz v1, :cond_cb

    iget-object v1, p0, Lf/b/b/b/q1/m/a;->l:Lf/b/b/b/q1/m/a$a;

    add-int/lit8 v6, v6, -0x20

    invoke-static {v1, v6}, Lf/b/b/b/q1/m/a$a;->a(Lf/b/b/b/q1/m/a$a;I)I

    goto :goto_73

    :cond_cb
    invoke-static {v5, v6}, Lf/b/b/b/q1/m/a;->A(BB)Z

    move-result v1

    if-eqz v1, :cond_73

    invoke-direct {p0, v6}, Lf/b/b/b/q1/m/a;->v(B)V

    goto :goto_73

    :cond_d5
    iget-object v1, p0, Lf/b/b/b/q1/m/a;->l:Lf/b/b/b/q1/m/a$a;

    invoke-static {v5}, Lf/b/b/b/q1/m/a;->n(B)C

    move-result v2

    invoke-virtual {v1, v2}, Lf/b/b/b/q1/m/a$a;->e(C)V

    and-int/lit16 v1, v6, 0xe0

    if-eqz v1, :cond_73

    iget-object v1, p0, Lf/b/b/b/q1/m/a;->l:Lf/b/b/b/q1/m/a$a;

    invoke-static {v6}, Lf/b/b/b/q1/m/a;->n(B)C

    move-result v2

    :goto_e8
    invoke-virtual {v1, v2}, Lf/b/b/b/q1/m/a$a;->e(C)V

    goto :goto_73

    :cond_ec
    if-eqz v1, :cond_fb

    iget p1, p0, Lf/b/b/b/q1/m/a;->o:I

    if-eq p1, v0, :cond_f5

    const/4 v0, 0x3

    if-ne p1, v0, :cond_fb

    :cond_f5
    invoke-direct {p0}, Lf/b/b/b/q1/m/a;->p()Ljava/util/List;

    move-result-object p1

    iput-object p1, p0, Lf/b/b/b/q1/m/a;->m:Ljava/util/List;

    :cond_fb
    return-void
.end method

.method public flush()V
    .registers 3

    invoke-super {p0}, Lf/b/b/b/q1/m/e;->flush()V

    const/4 v0, 0x0

    iput-object v0, p0, Lf/b/b/b/q1/m/a;->m:Ljava/util/List;

    iput-object v0, p0, Lf/b/b/b/q1/m/a;->n:Ljava/util/List;

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lf/b/b/b/q1/m/a;->K(I)V

    const/4 v1, 0x4

    invoke-direct {p0, v1}, Lf/b/b/b/q1/m/a;->L(I)V

    invoke-direct {p0}, Lf/b/b/b/q1/m/a;->J()V

    iput-boolean v0, p0, Lf/b/b/b/q1/m/a;->q:Z

    iput-boolean v0, p0, Lf/b/b/b/q1/m/a;->r:Z

    iput-byte v0, p0, Lf/b/b/b/q1/m/a;->s:B

    iput-byte v0, p0, Lf/b/b/b/q1/m/a;->t:B

    iput v0, p0, Lf/b/b/b/q1/m/a;->u:I

    const/4 v0, 0x1

    iput-boolean v0, p0, Lf/b/b/b/q1/m/a;->v:Z

    return-void
.end method

.method protected i()Z
    .registers 3

    iget-object v0, p0, Lf/b/b/b/q1/m/a;->m:Ljava/util/List;

    iget-object v1, p0, Lf/b/b/b/q1/m/a;->n:Ljava/util/List;

    if-eq v0, v1, :cond_8

    const/4 v0, 0x1

    goto :goto_9

    :cond_8
    const/4 v0, 0x0

    :goto_9
    return v0
.end method

.method public release()V
    .registers 1

    return-void
.end method