.class public final Lz5/qv1;
.super Ljava/lang/Object;
.source ""


# static fields
.field public static final a:[B


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

    const-string v0, "OpusHead"

    invoke-static {v0}, Lz5/r7;->r(Ljava/lang/String;)[B

    move-result-object v0

    sput-object v0, Lz5/qv1;->a:[B

    return-void
.end method

.method public static a(Lz5/nv1;Lz5/gu1;JLcom/google/android/gms/internal/ads/f9;ZZLz5/n91;)Ljava/util/List;
    .registers 62
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lz5/nv1;",
            "Lz5/gu1;",
            "J",
            "Lcom/google/android/gms/internal/ads/f9;",
            "ZZ",
            "Lz5/n91<",
            "Lz5/aw1;",
            "Lz5/aw1;",
            ">;)",
            "Ljava/util/List<",
            "Lz5/dw1;",
            ">;"
        }
    .end annotation

    new-instance v0, Ljava/util/ArrayList;

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

    const/4 v13, 0x0

    move-object/from16 v2, p1

    move-wide/from16 v3, p2

    move-object/from16 v15, p4

    move/from16 v16, p6

    move-object/from16 v14, p7

    move-object/from16 v17, v0

    move-object/from16 v0, p0

    :goto_14
    iget-object v5, v0, Lz5/nv1;->v:Ljava/util/List;

    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v5

    if-ge v13, v5, :cond_e59

    iget-object v5, v0, Lz5/nv1;->v:Ljava/util/List;

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

    move-result-object v5

    move-object v12, v5

    check-cast v12, Lz5/nv1;

    iget v5, v12, Lh2/v;->s:I

    const v6, 0x7472616b

    if-eq v5, v6, :cond_3a

    move-object/from16 v33, v0

    move-object/from16 p3, v2

    move-wide/from16 v35, v3

    move/from16 v48, v13

    move-object/from16 v49, v14

    move-object/from16 v38, v15

    goto/16 :goto_e49

    :cond_3a
    const v5, 0x6d766864

    invoke-virtual {v0, v5}, Lz5/nv1;->d(I)Lz5/ov1;

    move-result-object v5

    invoke-static {v5}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    const v10, 0x6d646961

    invoke-virtual {v12, v10}, Lz5/nv1;->e(I)Lz5/nv1;

    move-result-object v6

    invoke-static {v6}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    const v7, 0x68646c72    # 4.3148E24f

    invoke-virtual {v6, v7}, Lz5/nv1;->d(I)Lz5/ov1;

    move-result-object v7

    invoke-static {v7}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v7, v7, Lz5/ov1;->t:Lz5/j7;

    invoke-static {v7}, Lz5/qv1;->c(Lz5/j7;)I

    move-result v7

    invoke-static {v7}, Lz5/qv1;->d(I)I

    move-result v9

    const-string v8, "AtomParsers"

    const/4 v11, 0x4

    move-object/from16 p3, v2

    const/4 v1, -0x1

    if-ne v9, v1, :cond_79

    move-object/from16 v33, v0

    move-wide/from16 v35, v3

    move-object/from16 v42, v8

    move-object v5, v12

    move/from16 v48, v13

    move-object/from16 v49, v14

    move-object/from16 v38, v15

    goto/16 :goto_794

    :cond_79
    const v7, 0x746b6864

    invoke-virtual {v12, v7}, Lz5/nv1;->d(I)Lz5/ov1;

    move-result-object v7

    invoke-static {v7}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v7, v7, Lz5/ov1;->t:Lz5/j7;

    const/16 v2, 0x8

    invoke-virtual {v7, v2}, Lz5/j7;->q(I)V

    invoke-virtual {v7}, Lz5/j7;->K()I

    move-result v19

    invoke-static/range {v19 .. v19}, Lh2/v;->b(I)I

    move-result v19

    if-nez v19, :cond_97

    const/16 v10, 0x8

    goto :goto_99

    :cond_97
    const/16 v10, 0x10

    :goto_99
    invoke-virtual {v7, v10}, Lz5/j7;->u(I)V

    invoke-virtual {v7}, Lz5/j7;->K()I

    move-result v10

    invoke-virtual {v7, v11}, Lz5/j7;->u(I)V

    invoke-virtual {v7}, Lz5/j7;->o()I

    move-result v22

    if-nez v19, :cond_aa

    goto :goto_ac

    :cond_aa
    const/16 v11, 0x8

    :goto_ac
    const/4 v2, 0x0

    :goto_ad
    const-wide v25, -0x7fffffffffffffffL    # -4.9E-324

    if-ge v2, v11, :cond_d7

    invoke-virtual {v7}, Lz5/j7;->s()[B

    move-result-object v27

    add-int v28, v22, v2

    move-object/from16 v33, v0

    aget-byte v0, v27, v28

    if-eq v0, v1, :cond_d2

    if-nez v19, :cond_c7

    invoke-virtual {v7}, Lz5/j7;->H()J

    move-result-wide v27

    goto :goto_cb

    :cond_c7
    invoke-virtual {v7}, Lz5/j7;->d()J

    move-result-wide v27

    :goto_cb
    const-wide/16 v29, 0x0

    cmp-long v0, v27, v29

    if-nez v0, :cond_de

    goto :goto_dc

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

    move-object/from16 v0, v33

    goto :goto_ad

    :cond_d7
    move-object/from16 v33, v0

    invoke-virtual {v7, v11}, Lz5/j7;->u(I)V

    :goto_dc
    move-wide/from16 v27, v25

    :cond_de
    const/16 v0, 0x10

    invoke-virtual {v7, v0}, Lz5/j7;->u(I)V

    invoke-virtual {v7}, Lz5/j7;->K()I

    move-result v0

    invoke-virtual {v7}, Lz5/j7;->K()I

    move-result v2

    const/4 v11, 0x4

    invoke-virtual {v7, v11}, Lz5/j7;->u(I)V

    invoke-virtual {v7}, Lz5/j7;->K()I

    move-result v11

    invoke-virtual {v7}, Lz5/j7;->K()I

    move-result v7

    const/high16 v1, 0x10000

    move-object/from16 v19, v8

    const/high16 v8, -0x10000

    if-nez v0, :cond_10d

    if-ne v2, v1, :cond_10c

    if-ne v11, v8, :cond_10b

    if-nez v7, :cond_108

    const/16 v0, 0x5a

    goto :goto_128

    :cond_108
    move v2, v1

    move v11, v8

    goto :goto_10c

    :cond_10b
    move v2, v1

    :cond_10c
    :goto_10c
    const/4 v0, 0x0

    :cond_10d
    if-nez v0, :cond_11c

    if-ne v2, v8, :cond_11b

    if-ne v11, v1, :cond_118

    if-nez v7, :cond_119

    const/16 v0, 0x10e

    goto :goto_128

    :cond_118
    move v1, v11

    :cond_119
    move v11, v1

    move v2, v8

    :cond_11b
    const/4 v0, 0x0

    :cond_11c
    if-ne v0, v8, :cond_127

    if-nez v2, :cond_127

    if-nez v11, :cond_127

    if-ne v7, v8, :cond_127

    const/16 v0, 0xb4

    goto :goto_128

    :cond_127
    const/4 v0, 0x0

    :goto_128
    cmp-long v1, v3, v25

    if-nez v1, :cond_12f

    move-wide/from16 v35, v27

    goto :goto_131

    :cond_12f
    move-wide/from16 v35, v3

    :goto_131
    iget-object v1, v5, Lz5/ov1;->t:Lz5/j7;

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Lz5/j7;->q(I)V

    invoke-virtual {v1}, Lz5/j7;->K()I

    move-result v2

    invoke-static {v2}, Lh2/v;->b(I)I

    move-result v2

    if-nez v2, :cond_145

    const/16 v2, 0x8

    goto :goto_147

    :cond_145
    const/16 v2, 0x10

    :goto_147
    invoke-virtual {v1, v2}, Lz5/j7;->u(I)V

    invoke-virtual {v1}, Lz5/j7;->H()J

    move-result-wide v1

    cmp-long v5, v35, v25

    if-nez v5, :cond_153

    goto :goto_15e

    :cond_153
    const-wide/32 v37, 0xf4240

    move-wide/from16 v39, v1

    invoke-static/range {v35 .. v40}, Lz5/r7;->d(JJJ)J

    move-result-wide v7

    move-wide/from16 v25, v7

    :goto_15e
    const v5, 0x6d696e66

    invoke-virtual {v6, v5}, Lz5/nv1;->e(I)Lz5/nv1;

    move-result-object v7

    invoke-static {v7}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    const v11, 0x7374626c

    invoke-virtual {v7, v11}, Lz5/nv1;->e(I)Lz5/nv1;

    move-result-object v5

    invoke-static {v5}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    const v7, 0x6d646864

    invoke-virtual {v6, v7}, Lz5/nv1;->d(I)Lz5/ov1;

    move-result-object v6

    invoke-static {v6}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v6, v6, Lz5/ov1;->t:Lz5/j7;

    const/16 v7, 0x8

    invoke-virtual {v6, v7}, Lz5/j7;->q(I)V

    invoke-virtual {v6}, Lz5/j7;->K()I

    move-result v7

    invoke-static {v7}, Lh2/v;->b(I)I

    move-result v7

    if-nez v7, :cond_190

    const/16 v8, 0x8

    goto :goto_192

    :cond_190
    const/16 v8, 0x10

    :goto_192
    invoke-virtual {v6, v8}, Lz5/j7;->u(I)V

    invoke-virtual {v6}, Lz5/j7;->H()J

    move-result-wide v27

    if-nez v7, :cond_19d

    const/4 v7, 0x4

    goto :goto_19f

    :cond_19d
    const/16 v7, 0x8

    :goto_19f
    invoke-virtual {v6, v7}, Lz5/j7;->u(I)V

    invoke-virtual {v6}, Lz5/j7;->B()I

    move-result v6

    new-instance v7, Ljava/lang/StringBuilder;

    const/4 v8, 0x3

    invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(I)V

    shr-int/lit8 v22, v6, 0xa

    and-int/lit8 v22, v22, 0x1f

    add-int/lit8 v8, v22, 0x60

    int-to-char v8, v8

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    shr-int/lit8 v8, v6, 0x5

    and-int/lit8 v8, v8, 0x1f

    add-int/lit8 v8, v8, 0x60

    int-to-char v8, v8

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    and-int/lit8 v6, v6, 0x1f

    add-int/lit8 v6, v6, 0x60

    int-to-char v6, v6

    invoke-virtual {v7, v6}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    invoke-static/range {v27 .. v28}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v6

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-static {v6, v7}, Landroid/util/Pair;->create(Ljava/lang/Object;Ljava/lang/Object;)Landroid/util/Pair;

    move-result-object v8

    const v6, 0x73747364

    invoke-virtual {v5, v6}, Lz5/nv1;->d(I)Lz5/ov1;

    move-result-object v5

    invoke-static {v5}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v7, v5, Lz5/ov1;->t:Lz5/j7;

    iget-object v5, v8, Landroid/util/Pair;->second:Ljava/lang/Object;

    move-object v6, v5

    check-cast v6, Ljava/lang/String;

    const/16 v5, 0xc

    invoke-virtual {v7, v5}, Lz5/j7;->q(I)V

    move-wide/from16 v35, v3

    invoke-virtual {v7}, Lz5/j7;->K()I

    move-result v3

    new-instance v4, Lz5/o7;

    const/4 v11, 0x4

    invoke-direct {v4, v3, v11}, Lz5/o7;-><init>(II)V

    move-wide/from16 v27, v1

    const/4 v1, 0x0

    :goto_1f9
    if-ge v1, v3, :cond_707

    invoke-virtual {v7}, Lz5/j7;->o()I

    move-result v2

    move/from16 p1, v3

    invoke-virtual {v7}, Lz5/j7;->K()I

    move-result v3

    if-lez v3, :cond_209

    const/4 v5, 0x1

    goto :goto_20a

    :cond_209
    const/4 v5, 0x0

    :goto_20a
    const-string v11, "childAtomSize must be positive"

    invoke-static {v5, v11}, Lcom/google/android/gms/internal/ads/g9;->b(ZLjava/lang/String;)V

    invoke-virtual {v7}, Lz5/j7;->K()I

    move-result v5

    move-object/from16 v30, v8

    const v8, 0x61766331

    if-eq v5, v8, :cond_408

    const v8, 0x61766333

    if-eq v5, v8, :cond_408

    const v8, 0x656e6376

    if-eq v5, v8, :cond_408

    const v8, 0x6d317620

    if-eq v5, v8, :cond_408

    const v8, 0x6d703476

    if-eq v5, v8, :cond_408

    const v8, 0x68766331

    if-eq v5, v8, :cond_408

    const v8, 0x68657631

    if-eq v5, v8, :cond_408

    const v8, 0x73323633

    if-eq v5, v8, :cond_408

    const v8, 0x48323633

    if-eq v5, v8, :cond_408

    const v8, 0x76703038

    if-eq v5, v8, :cond_408

    const v8, 0x76703039

    if-eq v5, v8, :cond_408

    const v8, 0x61763031

    if-eq v5, v8, :cond_408

    const v8, 0x64766176

    if-eq v5, v8, :cond_408

    const v8, 0x64766131

    if-eq v5, v8, :cond_408

    const v8, 0x64766865

    if-eq v5, v8, :cond_408

    const v8, 0x64766831

    if-ne v5, v8, :cond_267

    goto/16 :goto_408

    :cond_267
    const v8, 0x6d703461

    if-eq v5, v8, :cond_3cf

    const v8, 0x656e6361

    if-eq v5, v8, :cond_3cf

    const v8, 0x61632d33

    if-eq v5, v8, :cond_3cf

    const v8, 0x65632d33

    if-eq v5, v8, :cond_3cf

    const v8, 0x61632d34

    if-eq v5, v8, :cond_3cf

    const v8, 0x64747363

    if-eq v5, v8, :cond_3cf

    const v8, 0x64747365

    if-eq v5, v8, :cond_3cf

    const v8, 0x64747368

    if-eq v5, v8, :cond_3cf

    const v8, 0x6474736c

    if-eq v5, v8, :cond_3cf

    const v8, 0x64747378

    if-eq v5, v8, :cond_3cf

    const v8, 0x73616d72

    if-eq v5, v8, :cond_3cf

    const v8, 0x73617762

    if-eq v5, v8, :cond_3cf

    const v8, 0x6c70636d

    if-eq v5, v8, :cond_3cf

    const v8, 0x736f7774

    if-eq v5, v8, :cond_3cf

    const v8, 0x74776f73

    if-eq v5, v8, :cond_3cf

    const v8, 0x2e6d7032

    if-eq v5, v8, :cond_3cf

    const v8, 0x2e6d7033

    if-eq v5, v8, :cond_3cf

    const v8, 0x6d686131

    if-eq v5, v8, :cond_3cf

    const v8, 0x6d686d31

    if-eq v5, v8, :cond_3cf

    const v8, 0x616c6163

    if-eq v5, v8, :cond_3cf

    const v8, 0x616c6177

    if-eq v5, v8, :cond_3cf

    const v8, 0x756c6177

    if-eq v5, v8, :cond_3cf

    const v8, 0x4f707573

    if-eq v5, v8, :cond_3cf

    const v8, 0x664c6143

    if-ne v5, v8, :cond_2e6

    move v8, v5

    move/from16 v31, v9

    move-object/from16 p0, v12

    goto/16 :goto_3d4

    :cond_2e6
    const v8, 0x54544d4c

    if-eq v5, v8, :cond_34c

    const v8, 0x74783367

    if-eq v5, v8, :cond_34c

    const v8, 0x77767474

    if-eq v5, v8, :cond_34c

    const v8, 0x73747070

    if-eq v5, v8, :cond_34c

    const v8, 0x63363038

    if-ne v5, v8, :cond_300

    goto :goto_34c

    :cond_300
    const v8, 0x6d657474

    if-ne v5, v8, :cond_31d

    add-int/lit8 v5, v2, 0x10

    invoke-virtual {v7, v5}, Lz5/j7;->q(I)V

    const/4 v5, 0x0

    invoke-virtual {v7, v5}, Lz5/j7;->g(C)Ljava/lang/String;

    invoke-virtual {v7, v5}, Lz5/j7;->g(C)Ljava/lang/String;

    move-result-object v8

    if-eqz v8, :cond_335

    new-instance v5, Lz5/w2;

    invoke-direct {v5}, Lz5/w2;-><init>()V

    invoke-virtual {v5, v10}, Lz5/w2;->a(I)Lz5/w2;

    goto :goto_32c

    :cond_31d
    const v8, 0x63616d6d

    if-ne v5, v8, :cond_335

    new-instance v5, Lz5/w2;

    invoke-direct {v5}, Lz5/w2;-><init>()V

    invoke-virtual {v5, v10}, Lz5/w2;->a(I)Lz5/w2;

    const-string v8, "application/x-camera-motion"

    :goto_32c
    invoke-virtual {v5, v8}, Lz5/w2;->d(Ljava/lang/String;)Lz5/w2;

    invoke-virtual {v5}, Lz5/w2;->o()Lz5/x2;

    move-result-object v5

    iput-object v5, v4, Lz5/o7;->b:Ljava/lang/Object;

    :cond_335
    move/from16 v29, v2

    move-object/from16 v23, v6

    move v8, v10

    move-object/from16 v47, v12

    move/from16 v48, v13

    move-object/from16 v49, v14

    move-object/from16 v38, v15

    move-object/from16 v42, v19

    move-object/from16 v41, v30

    move/from16 v19, v1

    move/from16 v30, v9

    goto/16 :goto_3cb

    :cond_34c
    :goto_34c
    add-int/lit8 v8, v2, 0x10

    invoke-virtual {v7, v8}, Lz5/j7;->q(I)V

    const v8, 0x54544d4c

    const-wide v31, 0x7fffffffffffffffL

    if-ne v5, v8, :cond_35f

    const-string v5, "application/ttml+xml"

    :goto_35d
    const/4 v11, 0x1

    goto :goto_395

    :cond_35f
    const v8, 0x74783367

    if-ne v5, v8, :cond_379

    add-int/lit8 v5, v3, -0x10

    new-array v8, v5, [B

    const/4 v11, 0x0

    invoke-virtual {v7, v8, v11, v5}, Lz5/j7;->z([BII)V

    invoke-static {v8}, Lcom/google/android/gms/internal/ads/q6;->L(Ljava/lang/Object;)Lcom/google/android/gms/internal/ads/q6;

    move-result-object v5

    const-string v8, "application/x-quicktime-tx3g"

    move-object/from16 p0, v12

    move-wide/from16 v11, v31

    :goto_376
    move/from16 v31, v9

    goto :goto_39c

    :cond_379
    const v8, 0x77767474

    if-ne v5, v8, :cond_381

    const-string v5, "application/x-mp4-vtt"

    goto :goto_35d

    :cond_381
    const v8, 0x73747070

    if-ne v5, v8, :cond_390

    const-string v8, "application/ttml+xml"

    move/from16 v31, v9

    move-object/from16 p0, v12

    const/4 v5, 0x0

    const-wide/16 v11, 0x0

    goto :goto_39c

    :cond_390
    const/4 v11, 0x1

    iput v11, v4, Lz5/o7;->d:I

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

    :goto_395
    move-object v8, v5

    move-object/from16 p0, v12

    move-wide/from16 v11, v31

    const/4 v5, 0x0

    goto :goto_376

    :goto_39c
    new-instance v9, Lz5/w2;

    invoke-direct {v9}, Lz5/w2;-><init>()V

    invoke-virtual {v9, v10}, Lz5/w2;->a(I)Lz5/w2;

    invoke-virtual {v9, v8}, Lz5/w2;->d(Ljava/lang/String;)Lz5/w2;

    invoke-virtual {v9, v6}, Lz5/w2;->b(Ljava/lang/String;)Lz5/w2;

    invoke-virtual {v9, v11, v12}, Lz5/w2;->g(J)Lz5/w2;

    invoke-virtual {v9, v5}, Lz5/w2;->e(Ljava/util/List;)Lz5/w2;

    invoke-virtual {v9}, Lz5/w2;->o()Lz5/x2;

    move-result-object v5

    iput-object v5, v4, Lz5/o7;->b:Ljava/lang/Object;

    move-object/from16 v47, p0

    move/from16 v29, v2

    move-object/from16 v23, v6

    move v8, v10

    move/from16 v48, v13

    move-object/from16 v49, v14

    move-object/from16 v38, v15

    move-object/from16 v42, v19

    move-object/from16 v41, v30

    move/from16 v30, v31

    move/from16 v19, v1

    :goto_3cb
    move v1, v0

    move-object v0, v7

    goto/16 :goto_6e5

    :cond_3cf
    move/from16 v31, v9

    move-object/from16 p0, v12

    move v8, v5

    :goto_3d4
    const/16 v9, 0xc

    move-object v5, v7

    move-object/from16 v23, v6

    move v6, v8

    move-object v12, v7

    move v11, v9

    const/4 v9, 0x2

    move v7, v2

    move/from16 v18, v0

    move-object/from16 v40, v19

    move-object/from16 v41, v30

    const/4 v0, 0x3

    move v8, v3

    move/from16 v30, v31

    move v9, v10

    move/from16 v43, v10

    move-object/from16 v10, v23

    move/from16 v11, v16

    move-object/from16 v47, p0

    move-object v0, v12

    move-object v12, v15

    move/from16 v48, v13

    move-object v13, v4

    move-object/from16 v49, v14

    move v14, v1

    invoke-static/range {v5 .. v14}, Lz5/qv1;->e(Lz5/j7;IIIILjava/lang/String;ZLcom/google/android/gms/internal/ads/f9;Lz5/o7;I)V

    move/from16 v19, v1

    move/from16 v29, v2

    move-object/from16 v38, v15

    move/from16 v1, v18

    move-object/from16 v42, v40

    goto/16 :goto_6e3

    :cond_408
    :goto_408
    move/from16 v18, v0

    move v8, v5

    move-object/from16 v23, v6

    move-object v0, v7

    move/from16 v43, v10

    move-object/from16 v47, v12

    move/from16 v48, v13

    move-object/from16 v49, v14

    move-object/from16 v40, v19

    move-object/from16 v41, v30

    move/from16 v30, v9

    add-int/lit8 v5, v2, 0x10

    invoke-virtual {v0, v5}, Lz5/j7;->q(I)V

    const/16 v5, 0x10

    invoke-virtual {v0, v5}, Lz5/j7;->u(I)V

    invoke-virtual {v0}, Lz5/j7;->B()I

    move-result v6

    invoke-virtual {v0}, Lz5/j7;->B()I

    move-result v7

    const/16 v9, 0x32

    invoke-virtual {v0, v9}, Lz5/j7;->u(I)V

    invoke-virtual {v0}, Lz5/j7;->o()I

    move-result v9

    const v10, 0x656e6376

    if-ne v8, v10, :cond_469

    invoke-static {v0, v2, v3}, Lz5/qv1;->g(Lz5/j7;II)Landroid/util/Pair;

    move-result-object v8

    if-eqz v8, :cond_463

    iget-object v10, v8, Landroid/util/Pair;->first:Ljava/lang/Object;

    check-cast v10, Ljava/lang/Integer;

    invoke-virtual {v10}, Ljava/lang/Integer;->intValue()I

    move-result v10

    if-nez v15, :cond_44e

    const/4 v12, 0x0

    goto :goto_458

    :cond_44e
    iget-object v12, v8, Landroid/util/Pair;->second:Ljava/lang/Object;

    check-cast v12, Lz5/bw1;

    iget-object v12, v12, Lz5/bw1;->b:Ljava/lang/String;

    invoke-virtual {v15, v12}, Lcom/google/android/gms/internal/ads/f9;->a(Ljava/lang/String;)Lcom/google/android/gms/internal/ads/f9;

    move-result-object v12

    :goto_458
    iget-object v13, v4, Lz5/o7;->a:Ljava/lang/Object;

    check-cast v13, [Lz5/bw1;

    iget-object v8, v8, Landroid/util/Pair;->second:Ljava/lang/Object;

    check-cast v8, Lz5/bw1;

    aput-object v8, v13, v1

    goto :goto_464

    :cond_463
    move-object v12, v15

    :goto_464
    invoke-virtual {v0, v9}, Lz5/j7;->q(I)V

    move v8, v10

    goto :goto_46a

    :cond_469
    move-object v12, v15

    :goto_46a
    const-string v10, "video/3gpp"

    const v13, 0x6d317620

    if-ne v8, v13, :cond_474

    const-string v13, "video/mpeg"

    goto :goto_47d

    :cond_474
    const v13, 0x48323633

    if-ne v8, v13, :cond_47c

    move v8, v13

    move-object v13, v10

    goto :goto_47d

    :cond_47c
    const/4 v13, 0x0

    :goto_47d
    const/high16 v14, 0x3f800000    # 1.0f

    move/from16 v19, v1

    move-object/from16 p0, v10

    move-object/from16 v21, v12

    move-object v5, v13

    move v10, v14

    move-object/from16 v38, v15

    const/4 v1, 0x0

    const/4 v12, 0x0

    const/4 v13, -0x1

    const/4 v14, 0x0

    const/16 v22, 0x0

    const/16 v50, 0x0

    :goto_491
    sub-int v15, v9, v2

    if-ge v15, v3, :cond_69d

    invoke-virtual {v0, v9}, Lz5/j7;->q(I)V

    invoke-virtual {v0}, Lz5/j7;->o()I

    move-result v15

    invoke-virtual {v0}, Lz5/j7;->K()I

    move-result v29

    if-nez v29, :cond_4b2

    invoke-virtual {v0}, Lz5/j7;->o()I

    move-result v29

    move/from16 v31, v13

    sub-int v13, v29, v2

    if-ne v13, v3, :cond_4b0

    move/from16 v29, v2

    goto/16 :goto_6a1

    :cond_4b0
    const/4 v13, 0x0

    goto :goto_4b6

    :cond_4b2
    move/from16 v31, v13

    move/from16 v13, v29

    :goto_4b6
    move/from16 v29, v2

    if-lez v13, :cond_4bc

    const/4 v2, 0x1

    goto :goto_4bd

    :cond_4bc
    const/4 v2, 0x0

    :goto_4bd
    invoke-static {v2, v11}, Lcom/google/android/gms/internal/ads/g9;->b(ZLjava/lang/String;)V

    invoke-virtual {v0}, Lz5/j7;->K()I

    move-result v2

    move-object/from16 v32, v11

    const v11, 0x61766343

    if-ne v2, v11, :cond_4ec

    const/4 v1, 0x0

    if-nez v5, :cond_4d0

    const/4 v11, 0x1

    goto :goto_4d1

    :cond_4d0
    const/4 v11, 0x0

    :goto_4d1
    invoke-static {v11, v1}, Lcom/google/android/gms/internal/ads/g9;->b(ZLjava/lang/String;)V

    add-int/lit8 v15, v15, 0x8

    invoke-virtual {v0, v15}, Lz5/j7;->q(I)V

    invoke-static {v0}, Lz5/ot1;->a(Lz5/j7;)Lz5/ot1;

    move-result-object v1

    iget-object v2, v1, Lz5/ot1;->a:Ljava/util/List;

    iget v5, v1, Lz5/ot1;->b:I

    iput v5, v4, Lz5/o7;->c:I

    if-nez v14, :cond_4e7

    iget v10, v1, Lz5/ot1;->e:F

    :cond_4e7
    iget-object v1, v1, Lz5/ot1;->f:Ljava/lang/String;

    const-string v5, "video/avc"

    goto :goto_511

    :cond_4ec
    const v11, 0x68766343

    if-ne v2, v11, :cond_519

    const/4 v1, 0x0

    if-nez v5, :cond_4f6

    const/4 v11, 0x1

    goto :goto_4f7

    :cond_4f6
    const/4 v11, 0x0

    :goto_4f7
    invoke-static {v11, v1}, Lcom/google/android/gms/internal/ads/g9;->b(ZLjava/lang/String;)V

    add-int/lit8 v15, v15, 0x8

    invoke-virtual {v0, v15}, Lz5/j7;->q(I)V

    invoke-static {v0}, Lcom/google/android/gms/internal/ads/k;->c(Lz5/j7;)Lcom/google/android/gms/internal/ads/k;

    move-result-object v1

    iget-object v2, v1, Lcom/google/android/gms/internal/ads/k;->u:Ljava/lang/Object;

    check-cast v2, Ljava/util/List;

    iget v5, v1, Lcom/google/android/gms/internal/ads/k;->t:I

    iput v5, v4, Lz5/o7;->c:I

    iget-object v1, v1, Lcom/google/android/gms/internal/ads/k;->s:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    const-string v5, "video/hevc"

    :goto_511
    move-object/from16 v22, v2

    move/from16 v39, v8

    :goto_515
    move-object/from16 v42, v40

    goto/16 :goto_690

    :cond_519
    const v11, 0x64766343

    if-eq v2, v11, :cond_67e

    const v11, 0x64767643

    if-ne v2, v11, :cond_525

    goto/16 :goto_67e

    :cond_525
    const v11, 0x76706343

    if-ne v2, v11, :cond_53e

    const/4 v2, 0x0

    if-nez v5, :cond_52f

    const/4 v11, 0x1

    goto :goto_530

    :cond_52f
    const/4 v11, 0x0

    :goto_530
    invoke-static {v11, v2}, Lcom/google/android/gms/internal/ads/g9;->b(ZLjava/lang/String;)V

    const v11, 0x76703038

    if-ne v8, v11, :cond_53b

    const-string v5, "video/x-vnd.on2.vp8"

    goto :goto_55f

    :cond_53b
    const-string v5, "video/x-vnd.on2.vp9"

    goto :goto_55f

    :cond_53e
    const v11, 0x61763143

    if-ne v2, v11, :cond_54f

    const/4 v2, 0x0

    if-nez v5, :cond_548

    const/4 v11, 0x1

    goto :goto_549

    :cond_548
    const/4 v11, 0x0

    :goto_549
    invoke-static {v11, v2}, Lcom/google/android/gms/internal/ads/g9;->b(ZLjava/lang/String;)V

    const-string v5, "video/av01"

    goto :goto_55f

    :cond_54f
    const v11, 0x64323633

    if-ne v2, v11, :cond_562

    const/4 v2, 0x0

    if-nez v5, :cond_559

    const/4 v11, 0x1

    goto :goto_55a

    :cond_559
    const/4 v11, 0x0

    :goto_55a
    invoke-static {v11, v2}, Lcom/google/android/gms/internal/ads/g9;->b(ZLjava/lang/String;)V

    move-object/from16 v5, p0

    :cond_55f
    :goto_55f
    move-object/from16 v15, v22

    goto :goto_582

    :cond_562
    const v11, 0x65736473

    if-ne v2, v11, :cond_587

    const/4 v2, 0x0

    if-nez v5, :cond_56c

    const/4 v11, 0x1

    goto :goto_56d

    :cond_56c
    const/4 v11, 0x0

    :goto_56d
    invoke-static {v11, v2}, Lcom/google/android/gms/internal/ads/g9;->b(ZLjava/lang/String;)V

    invoke-static {v0, v15}, Lz5/qv1;->f(Lz5/j7;I)Landroid/util/Pair;

    move-result-object v2

    iget-object v5, v2, Landroid/util/Pair;->first:Ljava/lang/Object;

    check-cast v5, Ljava/lang/String;

    iget-object v2, v2, Landroid/util/Pair;->second:Ljava/lang/Object;

    check-cast v2, [B

    if-eqz v2, :cond_55f

    invoke-static {v2}, Lcom/google/android/gms/internal/ads/q6;->L(Ljava/lang/Object;)Lcom/google/android/gms/internal/ads/q6;

    move-result-object v15

    :goto_582
    move/from16 v39, v8

    move-object/from16 v22, v15

    goto :goto_515

    :cond_587
    const v11, 0x70617370

    if-ne v2, v11, :cond_5a4

    add-int/lit8 v15, v15, 0x8

    invoke-virtual {v0, v15}, Lz5/j7;->q(I)V

    invoke-virtual {v0}, Lz5/j7;->b()I

    move-result v2

    int-to-float v2, v2

    invoke-virtual {v0}, Lz5/j7;->b()I

    move-result v10

    int-to-float v10, v10

    div-float/2addr v2, v10

    move v10, v2

    move/from16 v39, v8

    move-object/from16 v42, v40

    const/4 v14, 0x1

    goto/16 :goto_690

    :cond_5a4
    const v11, 0x73763364

    if-ne v2, v11, :cond_5d5

    add-int/lit8 v2, v15, 0x8

    :goto_5ab
    sub-int v11, v2, v15

    if-ge v11, v13, :cond_5cf

    invoke-virtual {v0, v2}, Lz5/j7;->q(I)V

    invoke-virtual {v0}, Lz5/j7;->K()I

    move-result v11

    invoke-virtual {v0}, Lz5/j7;->K()I

    move-result v12

    move/from16 v39, v8

    const v8, 0x70726f6a

    if-ne v12, v8, :cond_5cb

    invoke-virtual {v0}, Lz5/j7;->s()[B

    move-result-object v8

    add-int/2addr v11, v2

    invoke-static {v8, v2, v11}, Ljava/util/Arrays;->copyOfRange([BII)[B

    move-result-object v2

    goto :goto_5d2

    :cond_5cb
    add-int/2addr v2, v11

    move/from16 v8, v39

    goto :goto_5ab

    :cond_5cf
    move/from16 v39, v8

    const/4 v2, 0x0

    :goto_5d2
    move-object v12, v2

    goto/16 :goto_515

    :cond_5d5
    move/from16 v39, v8

    const v8, 0x73743364

    if-ne v2, v8, :cond_60c

    invoke-virtual {v0}, Lz5/j7;->A()I

    move-result v2

    const/4 v8, 0x3

    invoke-virtual {v0, v8}, Lz5/j7;->u(I)V

    if-nez v2, :cond_608

    invoke-virtual {v0}, Lz5/j7;->A()I

    move-result v2

    if-eqz v2, :cond_602

    const/4 v11, 0x1

    if-eq v2, v11, :cond_5fe

    const/4 v15, 0x2

    if-eq v2, v15, :cond_5fa

    if-eq v2, v8, :cond_5f6

    goto/16 :goto_515

    :cond_5f6
    move/from16 v31, v8

    goto/16 :goto_515

    :cond_5fa
    move/from16 v31, v15

    goto/16 :goto_515

    :cond_5fe
    move/from16 v31, v11

    goto/16 :goto_515

    :cond_602
    move-object/from16 v42, v40

    const/16 v31, 0x0

    goto/16 :goto_690

    :cond_608
    const/4 v11, 0x1

    const/4 v15, 0x2

    goto/16 :goto_515

    :cond_60c
    const/4 v11, 0x1

    const/4 v15, 0x2

    const v8, 0x636f6c72

    if-ne v2, v8, :cond_679

    invoke-virtual {v0}, Lz5/j7;->K()I

    move-result v2

    const v8, 0x6e636c78

    if-eq v2, v8, :cond_642

    const v8, 0x6e636c63

    if-ne v2, v8, :cond_622

    goto :goto_642

    :cond_622
    invoke-static {v2}, Lh2/v;->c(I)Ljava/lang/String;

    move-result-object v2

    const-string v8, "Unsupported color type: "

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v42

    if-eqz v42, :cond_633

    invoke-virtual {v8, v2}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    goto :goto_638

    :cond_633
    new-instance v2, Ljava/lang/String;

    invoke-direct {v2, v8}, Ljava/lang/String;-><init>(Ljava/lang/String;)V

    :goto_638
    move-object/from16 v8, v40

    invoke-static {v8, v2}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    move-object/from16 v42, v8

    move/from16 v51, v14

    goto :goto_68e

    :cond_642
    :goto_642
    move-object/from16 v8, v40

    invoke-virtual {v0}, Lz5/j7;->B()I

    move-result v40

    invoke-virtual {v0}, Lz5/j7;->B()I

    move-result v42

    invoke-virtual {v0, v15}, Lz5/j7;->u(I)V

    const v15, 0x6e636c78

    if-ne v2, v15, :cond_65e

    invoke-virtual {v0}, Lz5/j7;->A()I

    move-result v2

    and-int/lit16 v2, v2, 0x80

    if-eqz v2, :cond_65e

    move v2, v11

    goto :goto_65f

    :cond_65e
    const/4 v2, 0x0

    :goto_65f
    invoke-static/range {v40 .. v40}, Lcom/google/android/gms/internal/ads/e9;->a(I)I

    move-result v15

    if-eq v11, v2, :cond_667

    const/4 v2, 0x2

    goto :goto_668

    :cond_667
    move v2, v11

    :goto_668
    new-instance v11, Lcom/google/android/gms/internal/ads/e9;

    move/from16 v51, v14

    invoke-static/range {v42 .. v42}, Lcom/google/android/gms/internal/ads/e9;->b(I)I

    move-result v14

    move-object/from16 v42, v8

    const/4 v8, 0x0

    invoke-direct {v11, v15, v2, v14, v8}, Lcom/google/android/gms/internal/ads/e9;-><init>(III[B)V

    move-object/from16 v50, v11

    goto :goto_68e

    :cond_679
    move/from16 v51, v14

    move-object/from16 v42, v40

    goto :goto_68e

    :cond_67e
    :goto_67e
    move/from16 v39, v8

    move/from16 v51, v14

    move-object/from16 v42, v40

    invoke-static {v0}, Lz5/mj0;->b(Lz5/j7;)Lz5/mj0;

    move-result-object v2

    if-eqz v2, :cond_68e

    iget-object v1, v2, Lz5/mj0;->r:Ljava/lang/String;

    const-string v5, "video/dolby-vision"

    :cond_68e
    :goto_68e
    move/from16 v14, v51

    :goto_690
    add-int/2addr v9, v13

    move/from16 v2, v29

    move/from16 v13, v31

    move-object/from16 v11, v32

    move/from16 v8, v39

    move-object/from16 v40, v42

    goto/16 :goto_491

    :cond_69d
    move/from16 v29, v2

    move/from16 v31, v13

    :goto_6a1
    move-object/from16 v42, v40

    if-eqz v5, :cond_6e1

    new-instance v2, Lz5/w2;

    invoke-direct {v2}, Lz5/w2;-><init>()V

    move/from16 v8, v43

    invoke-virtual {v2, v8}, Lz5/w2;->a(I)Lz5/w2;

    invoke-virtual {v2, v5}, Lz5/w2;->d(Ljava/lang/String;)Lz5/w2;

    invoke-virtual {v2, v1}, Lz5/w2;->c(Ljava/lang/String;)Lz5/w2;

    invoke-virtual {v2, v6}, Lz5/w2;->h(I)Lz5/w2;

    invoke-virtual {v2, v7}, Lz5/w2;->i(I)Lz5/w2;

    invoke-virtual {v2, v10}, Lz5/w2;->k(F)Lz5/w2;

    move/from16 v1, v18

    invoke-virtual {v2, v1}, Lz5/w2;->j(I)Lz5/w2;

    invoke-virtual {v2, v12}, Lz5/w2;->l([B)Lz5/w2;

    move/from16 v5, v31

    invoke-virtual {v2, v5}, Lz5/w2;->m(I)Lz5/w2;

    move-object/from16 v5, v22

    invoke-virtual {v2, v5}, Lz5/w2;->e(Ljava/util/List;)Lz5/w2;

    move-object/from16 v12, v21

    invoke-virtual {v2, v12}, Lz5/w2;->f(Lcom/google/android/gms/internal/ads/f9;)Lz5/w2;

    move-object/from16 v5, v50

    invoke-virtual {v2, v5}, Lz5/w2;->n(Lcom/google/android/gms/internal/ads/e9;)Lz5/w2;

    invoke-virtual {v2}, Lz5/w2;->o()Lz5/x2;

    move-result-object v2

    iput-object v2, v4, Lz5/o7;->b:Ljava/lang/Object;

    goto :goto_6e5

    :cond_6e1
    move/from16 v1, v18

    :goto_6e3
    move/from16 v8, v43

    :goto_6e5
    add-int v2, v29, v3

    invoke-virtual {v0, v2}, Lz5/j7;->q(I)V

    add-int/lit8 v2, v19, 0x1

    move/from16 v3, p1

    move-object v7, v0

    move v0, v1

    move v1, v2

    move v10, v8

    move-object/from16 v6, v23

    move/from16 v9, v30

    move-object/from16 v15, v38

    move-object/from16 v8, v41

    move-object/from16 v19, v42

    move-object/from16 v12, v47

    move/from16 v13, v48

    move-object/from16 v14, v49

    const/16 v5, 0xc

    const/4 v11, 0x4

    goto/16 :goto_1f9

    :cond_707
    move-object/from16 v41, v8

    move/from16 v30, v9

    move v8, v10

    move-object/from16 v47, v12

    move/from16 v48, v13

    move-object/from16 v49, v14

    move-object/from16 v38, v15

    move-object/from16 v42, v19

    const v0, 0x65647473

    move-object/from16 v5, v47

    invoke-virtual {v5, v0}, Lz5/nv1;->e(I)Lz5/nv1;

    move-result-object v0

    if-eqz v0, :cond_78a

    const v1, 0x656c7374

    invoke-virtual {v0, v1}, Lz5/nv1;->d(I)Lz5/ov1;

    move-result-object v0

    if-nez v0, :cond_72c

    const/4 v0, 0x0

    goto :goto_77b

    :cond_72c
    iget-object v0, v0, Lz5/ov1;->t:Lz5/j7;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Lz5/j7;->q(I)V

    invoke-virtual {v0}, Lz5/j7;->K()I

    move-result v1

    invoke-static {v1}, Lh2/v;->b(I)I

    move-result v1

    invoke-virtual {v0}, Lz5/j7;->b()I

    move-result v2

    new-array v3, v2, [J

    new-array v6, v2, [J

    const/4 v7, 0x0

    :goto_744
    if-ge v7, v2, :cond_777

    const/4 v9, 0x1

    if-ne v1, v9, :cond_74e

    invoke-virtual {v0}, Lz5/j7;->d()J

    move-result-wide v10

    goto :goto_752

    :cond_74e
    invoke-virtual {v0}, Lz5/j7;->H()J

    move-result-wide v10

    :goto_752
    aput-wide v10, v3, v7

    if-ne v1, v9, :cond_75b

    invoke-virtual {v0}, Lz5/j7;->O()J

    move-result-wide v10

    goto :goto_760

    :cond_75b
    invoke-virtual {v0}, Lz5/j7;->K()I

    move-result v10

    int-to-long v10, v10

    :goto_760
    aput-wide v10, v6, v7

    invoke-virtual {v0}, Lz5/j7;->E()S

    move-result v10

    if-ne v10, v9, :cond_76f

    const/4 v9, 0x2

    invoke-virtual {v0, v9}, Lz5/j7;->u(I)V

    add-int/lit8 v7, v7, 0x1

    goto :goto_744

    :cond_76f
    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "Unsupported media rate."

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_777
    invoke-static {v3, v6}, Landroid/util/Pair;->create(Ljava/lang/Object;Ljava/lang/Object;)Landroid/util/Pair;

    move-result-object v0

    :goto_77b
    if-eqz v0, :cond_78a

    iget-object v1, v0, Landroid/util/Pair;->first:Ljava/lang/Object;

    check-cast v1, [J

    iget-object v0, v0, Landroid/util/Pair;->second:Ljava/lang/Object;

    check-cast v0, [J

    move-object/from16 v32, v0

    move-object/from16 v31, v1

    goto :goto_78e

    :cond_78a
    const/16 v31, 0x0

    const/16 v32, 0x0

    :goto_78e
    iget-object v0, v4, Lz5/o7;->b:Ljava/lang/Object;

    check-cast v0, Lz5/x2;

    if-nez v0, :cond_798

    :goto_794
    move-object/from16 v1, v49

    const/4 v0, 0x0

    goto :goto_7c5

    :cond_798
    new-instance v0, Lz5/aw1;

    move-object/from16 v1, v41

    iget-object v1, v1, Landroid/util/Pair;->first:Ljava/lang/Object;

    check-cast v1, Ljava/lang/Long;

    invoke-virtual {v1}, Ljava/lang/Long;->longValue()J

    move-result-wide v21

    iget-object v1, v4, Lz5/o7;->b:Ljava/lang/Object;

    check-cast v1, Lz5/x2;

    iget v2, v4, Lz5/o7;->d:I

    iget-object v3, v4, Lz5/o7;->a:Ljava/lang/Object;

    move-object/from16 v29, v3

    check-cast v29, [Lz5/bw1;

    iget v3, v4, Lz5/o7;->c:I

    move-object/from16 v18, v0

    move/from16 v19, v8

    move/from16 v20, v30

    move-wide/from16 v23, v27

    move-object/from16 v27, v1

    move/from16 v28, v2

    move/from16 v30, v3

    invoke-direct/range {v18 .. v32}, Lz5/aw1;-><init>(IIJJJLz5/x2;I[Lz5/bw1;I[J[J)V

    move-object/from16 v1, v49

    :goto_7c5
    invoke-interface {v1, v0}, Lz5/n91;->apply(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    move-object v7, v0

    check-cast v7, Lz5/aw1;

    if-eqz v7, :cond_e47

    const v0, 0x6d646961

    invoke-virtual {v5, v0}, Lz5/nv1;->e(I)Lz5/nv1;

    move-result-object v0

    invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    const v2, 0x6d696e66

    invoke-virtual {v0, v2}, Lz5/nv1;->e(I)Lz5/nv1;

    move-result-object v0

    invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    const v2, 0x7374626c

    invoke-virtual {v0, v2}, Lz5/nv1;->e(I)Lz5/nv1;

    move-result-object v0

    invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    const v2, 0x7374737a

    invoke-virtual {v0, v2}, Lz5/nv1;->d(I)Lz5/ov1;

    move-result-object v2

    if-eqz v2, :cond_7fd

    new-instance v3, Lz5/qa;

    iget-object v4, v7, Lz5/aw1;->f:Lz5/x2;

    invoke-direct {v3, v2, v4}, Lz5/qa;-><init>(Lz5/ov1;Lz5/x2;)V

    goto :goto_80b

    :cond_7fd
    const v2, 0x73747a32

    invoke-virtual {v0, v2}, Lz5/nv1;->d(I)Lz5/ov1;

    move-result-object v2

    if-eqz v2, :cond_e3f

    new-instance v3, Ls2/a;

    invoke-direct {v3, v2}, Ls2/a;-><init>(Lz5/ov1;)V

    :goto_80b
    invoke-interface {v3}, Lz5/pv1;->zza()I

    move-result v2

    if-nez v2, :cond_829

    new-instance v0, Lz5/dw1;

    const/4 v2, 0x0

    new-array v8, v2, [J

    new-array v9, v2, [I

    const/4 v10, 0x0

    new-array v11, v2, [J

    new-array v12, v2, [I

    const-wide/16 v13, 0x0

    move-object v6, v0

    invoke-direct/range {v6 .. v14}, Lz5/dw1;-><init>(Lz5/aw1;[J[II[J[IJ)V

    move-object/from16 v2, p3

    move-object/from16 v49, v1

    goto/16 :goto_c59

    :cond_829
    const v4, 0x7374636f

    invoke-virtual {v0, v4}, Lz5/nv1;->d(I)Lz5/ov1;

    move-result-object v4

    if-nez v4, :cond_83e

    const v4, 0x636f3634

    invoke-virtual {v0, v4}, Lz5/nv1;->d(I)Lz5/ov1;

    move-result-object v4

    invoke-static {v4}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    const/4 v11, 0x1

    goto :goto_83f

    :cond_83e
    const/4 v11, 0x0

    :goto_83f
    iget-object v4, v4, Lz5/ov1;->t:Lz5/j7;

    const v5, 0x73747363

    invoke-virtual {v0, v5}, Lz5/nv1;->d(I)Lz5/ov1;

    move-result-object v5

    invoke-static {v5}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v5, v5, Lz5/ov1;->t:Lz5/j7;

    const v6, 0x73747473

    invoke-virtual {v0, v6}, Lz5/nv1;->d(I)Lz5/ov1;

    move-result-object v6

    invoke-static {v6}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v6, v6, Lz5/ov1;->t:Lz5/j7;

    const v8, 0x73747373

    invoke-virtual {v0, v8}, Lz5/nv1;->d(I)Lz5/ov1;

    move-result-object v8

    if-eqz v8, :cond_865

    iget-object v8, v8, Lz5/ov1;->t:Lz5/j7;

    goto :goto_866

    :cond_865
    const/4 v8, 0x0

    :goto_866
    const v9, 0x63747473

    invoke-virtual {v0, v9}, Lz5/nv1;->d(I)Lz5/ov1;

    move-result-object v0

    if-eqz v0, :cond_872

    iget-object v0, v0, Lz5/ov1;->t:Lz5/j7;

    goto :goto_873

    :cond_872
    const/4 v0, 0x0

    :goto_873
    new-instance v9, Lz5/oa;

    const/4 v10, 0x0

    invoke-direct {v9, v5, v4, v11, v10}, Lz5/oa;-><init>(Lz5/j7;Lz5/j7;ZLp/b;)V

    const/16 v4, 0xc

    invoke-virtual {v6, v4}, Lz5/j7;->q(I)V

    invoke-virtual {v6}, Lz5/j7;->b()I

    move-result v5

    const/4 v10, -0x1

    add-int/2addr v5, v10

    invoke-virtual {v6}, Lz5/j7;->b()I

    move-result v10

    invoke-virtual {v6}, Lz5/j7;->b()I

    move-result v11

    if-eqz v0, :cond_896

    invoke-virtual {v0, v4}, Lz5/j7;->q(I)V

    invoke-virtual {v0}, Lz5/j7;->b()I

    move-result v12

    goto :goto_897

    :cond_896
    const/4 v12, 0x0

    :goto_897
    if-eqz v8, :cond_8b0

    invoke-virtual {v8, v4}, Lz5/j7;->q(I)V

    invoke-virtual {v8}, Lz5/j7;->b()I

    move-result v4

    if-lez v4, :cond_8ac

    invoke-virtual {v8}, Lz5/j7;->b()I

    move-result v13

    const/4 v14, -0x1

    add-int/lit8 v34, v13, -0x1

    move/from16 v13, v34

    goto :goto_8b3

    :cond_8ac
    const/4 v14, -0x1

    move v13, v14

    const/4 v8, 0x0

    goto :goto_8b3

    :cond_8b0
    const/4 v14, -0x1

    move v13, v14

    const/4 v4, 0x0

    :goto_8b3
    invoke-interface {v3}, Lz5/pv1;->zzb()I

    move-result v15

    move-object/from16 v49, v1

    iget-object v1, v7, Lz5/aw1;->f:Lz5/x2;

    iget-object v1, v1, Lz5/x2;->k:Ljava/lang/String;

    if-eq v15, v14, :cond_963

    const-string v14, "audio/raw"

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

    move-result v14

    if-nez v14, :cond_8d7

    const-string v14, "audio/g711-mlaw"

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

    move-result v14

    if-nez v14, :cond_8d7

    const-string v14, "audio/g711-alaw"

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

    move-result v1

    if-eqz v1, :cond_963

    :cond_8d7
    if-nez v5, :cond_963

    if-nez v12, :cond_962

    if-nez v4, :cond_962

    iget v0, v9, Lz5/oa;->b:I

    new-array v1, v0, [J

    new-array v3, v0, [I

    :goto_8e3
    invoke-virtual {v9}, Lz5/oa;->a()Z

    move-result v4

    if-eqz v4, :cond_8f4

    iget v4, v9, Lz5/oa;->c:I

    iget-wide v5, v9, Lz5/oa;->e:J

    aput-wide v5, v1, v4

    iget v5, v9, Lz5/oa;->d:I

    aput v5, v3, v4

    goto :goto_8e3

    :cond_8f4
    int-to-long v4, v11

    const/16 v6, 0x2000

    div-int/2addr v6, v15

    const/4 v8, 0x0

    const/4 v9, 0x0

    :goto_8fa
    if-ge v8, v0, :cond_906

    aget v10, v3, v8

    invoke-static {v10, v6}, Lz5/r7;->u(II)I

    move-result v10

    add-int/2addr v9, v10

    add-int/lit8 v8, v8, 0x1

    goto :goto_8fa

    :cond_906
    new-array v8, v9, [J

    new-array v10, v9, [I

    new-array v11, v9, [J

    new-array v9, v9, [I

    const/4 v12, 0x0

    const/4 v13, 0x0

    const/4 v14, 0x0

    const/16 v18, 0x0

    :goto_913
    if-ge v12, v0, :cond_957

    aget v19, v3, v12

    aget-wide v20, v1, v12

    move/from16 v52, v19

    move/from16 v19, v0

    move/from16 v0, v52

    :goto_91f
    if-lez v0, :cond_94e

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

    move-result v22

    aput-wide v20, v8, v18

    move-object/from16 v23, v1

    mul-int v1, v15, v22

    aput v1, v10, v18

    invoke-static {v14, v1}, Ljava/lang/Math;->max(II)I

    move-result v14

    move/from16 p1, v14

    move/from16 p0, v15

    int-to-long v14, v13

    mul-long/2addr v14, v4

    aput-wide v14, v11, v18

    const/4 v1, 0x1

    aput v1, v9, v18

    aget v1, v10, v18

    int-to-long v14, v1

    add-long v20, v20, v14

    add-int v13, v13, v22

    sub-int v0, v0, v22

    add-int/lit8 v18, v18, 0x1

    move/from16 v15, p0

    move/from16 v14, p1

    move-object/from16 v1, v23

    goto :goto_91f

    :cond_94e
    move-object/from16 v23, v1

    move/from16 p0, v15

    add-int/lit8 v12, v12, 0x1

    move/from16 v0, v19

    goto :goto_913

    :cond_957
    int-to-long v0, v13

    mul-long/2addr v4, v0

    move-wide v0, v4

    move-object v12, v9

    move-object v15, v11

    move v11, v14

    move-object v9, v8

    move-object v14, v10

    move-object v10, v7

    goto/16 :goto_b3a

    :cond_962
    const/4 v5, 0x0

    :cond_963
    new-array v1, v2, [J

    new-array v14, v2, [I

    new-array v15, v2, [J

    move/from16 p0, v4

    new-array v4, v2, [I

    move/from16 v19, v5

    move-object/from16 p1, v7

    move v7, v11

    move/from16 v24, v12

    const/4 v5, 0x0

    const/4 v11, 0x0

    const/16 v18, 0x0

    const-wide/16 v20, 0x0

    const-wide/16 v22, 0x0

    const/16 v25, 0x0

    move/from16 v12, p0

    const/16 p0, 0x0

    move/from16 v52, v13

    move v13, v10

    move/from16 v10, v52

    :goto_987
    if-ge v5, v2, :cond_a67

    move-wide/from16 v26, v22

    const/16 v23, 0x1

    move/from16 v22, p0

    :goto_98f
    if-nez v22, :cond_9b4

    invoke-virtual {v9}, Lz5/oa;->a()Z

    move-result v23

    if-eqz v23, :cond_9ac

    move-object/from16 v28, v6

    move/from16 v29, v7

    iget-wide v6, v9, Lz5/oa;->e:J

    move/from16 p2, v2

    iget v2, v9, Lz5/oa;->d:I

    move/from16 v22, v2

    move-wide/from16 v26, v6

    move-object/from16 v6, v28

    move/from16 v7, v29

    move/from16 v2, p2

    goto :goto_98f

    :cond_9ac
    move/from16 p2, v2

    move-object/from16 v28, v6

    move/from16 v29, v7

    const/4 v2, 0x0

    goto :goto_9bc

    :cond_9b4
    move/from16 p2, v2

    move-object/from16 v28, v6

    move/from16 v29, v7

    move/from16 v2, v22

    :goto_9bc
    if-nez v23, :cond_9dc

    const-string v2, "Unexpected end of chunk data"

    move-object/from16 v6, v42

    invoke-static {v6, v2}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    invoke-static {v1, v5}, Ljava/util/Arrays;->copyOf([JI)[J

    move-result-object v1

    invoke-static {v14, v5}, Ljava/util/Arrays;->copyOf([II)[I

    move-result-object v14

    invoke-static {v15, v5}, Ljava/util/Arrays;->copyOf([JI)[J

    move-result-object v15

    invoke-static {v4, v5}, Ljava/util/Arrays;->copyOf([II)[I

    move-result-object v4

    move-object/from16 p4, v0

    move v2, v5

    move/from16 v7, v25

    goto/16 :goto_a75

    :cond_9dc
    move-object/from16 v6, v42

    if-eqz v0, :cond_9f6

    :goto_9e0
    if-nez v18, :cond_9f3

    if-lez v24, :cond_9ef

    invoke-virtual {v0}, Lz5/j7;->b()I

    move-result v18

    invoke-virtual {v0}, Lz5/j7;->K()I

    move-result v25

    add-int/lit8 v24, v24, -0x1

    goto :goto_9e0

    :cond_9ef
    const/4 v7, -0x1

    const/16 v18, 0x0

    goto :goto_9f4

    :cond_9f3
    const/4 v7, -0x1

    :goto_9f4
    add-int/lit8 v18, v18, -0x1

    :cond_9f6
    move/from16 v7, v25

    aput-wide v26, v1, v5

    move-object/from16 v22, v1

    invoke-interface {v3}, Lz5/pv1;->zzc()I

    move-result v1

    aput v1, v14, v5

    move-object/from16 p4, v0

    if-le v1, v11, :cond_a07

    move v11, v1

    :cond_a07
    int-to-long v0, v7

    add-long v0, v20, v0

    aput-wide v0, v15, v5

    if-nez v8, :cond_a10

    const/4 v0, 0x1

    goto :goto_a11

    :cond_a10
    const/4 v0, 0x0

    :goto_a11
    aput v0, v4, v5

    if-ne v5, v10, :cond_a26

    const/4 v0, 0x1

    aput v0, v4, v5

    add-int/lit8 v12, v12, -0x1

    if-lez v12, :cond_a26

    invoke-static {v8}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    invoke-virtual {v8}, Lz5/j7;->b()I

    move-result v0

    const/4 v1, -0x1

    add-int/2addr v0, v1

    move v10, v0

    :cond_a26
    move-object v1, v3

    move-object/from16 v23, v4

    move/from16 v0, v29

    int-to-long v3, v0

    add-long v20, v20, v3

    add-int/lit8 v3, v13, -0x1

    if-nez v3, :cond_a43

    if-lez v19, :cond_a41

    invoke-virtual/range {v28 .. v28}, Lz5/j7;->b()I

    move-result v0

    invoke-virtual/range {v28 .. v28}, Lz5/j7;->K()I

    move-result v3

    add-int/lit8 v19, v19, -0x1

    move v13, v0

    move v0, v3

    goto :goto_a44

    :cond_a41
    const/4 v13, 0x0

    goto :goto_a44

    :cond_a43
    move v13, v3

    :goto_a44
    aget v3, v14, v5

    int-to-long v3, v3

    add-long v3, v26, v3

    const/16 v26, -0x1

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

    add-int/lit8 v5, v5, 0x1

    move/from16 p0, v2

    move-object/from16 v42, v6

    move/from16 v25, v7

    move-object/from16 v6, v28

    move/from16 v2, p2

    move v7, v0

    move-object/from16 v0, p4

    move-wide/from16 v52, v3

    move-object v3, v1

    move-object/from16 v1, v22

    move-object/from16 v4, v23

    move-wide/from16 v22, v52

    goto/16 :goto_987

    :cond_a67
    move-object/from16 p4, v0

    move-object/from16 v22, v1

    move/from16 p2, v2

    move-object/from16 v23, v4

    move-object/from16 v6, v42

    move/from16 v7, v25

    move/from16 v22, p0

    :goto_a75
    int-to-long v7, v7

    add-long v7, v20, v7

    if-eqz p4, :cond_a8a

    :goto_a7a
    if-lez v24, :cond_a8a

    invoke-virtual/range {p4 .. p4}, Lz5/j7;->b()I

    move-result v0

    if-eqz v0, :cond_a84

    const/4 v0, 0x0

    goto :goto_a8b

    :cond_a84
    invoke-virtual/range {p4 .. p4}, Lz5/j7;->K()I

    add-int/lit8 v24, v24, -0x1

    goto :goto_a7a

    :cond_a8a
    const/4 v0, 0x1

    :goto_a8b
    if-nez v12, :cond_ad5

    if-nez v13, :cond_ac8

    if-nez v22, :cond_aba

    if-nez v19, :cond_aaf

    if-nez v18, :cond_aa5

    if-nez v0, :cond_a9b

    const/4 v0, 0x0

    const/16 v18, 0x0

    goto :goto_aa5

    :cond_a9b
    move-object/from16 v10, p1

    move-object/from16 p0, v1

    move/from16 p1, v2

    move-object/from16 p2, v4

    goto/16 :goto_b33

    :cond_aa5
    :goto_aa5
    move-object/from16 v10, p1

    move v5, v0

    move-object/from16 p0, v1

    move/from16 v9, v18

    const/4 v0, 0x0

    const/4 v3, 0x0

    goto :goto_ac5

    :cond_aaf
    move-object/from16 v10, p1

    move v5, v0

    move-object/from16 p0, v1

    move/from16 v9, v18

    move/from16 v3, v19

    const/4 v0, 0x0

    goto :goto_ac5

    :cond_aba
    move-object/from16 v10, p1

    move v5, v0

    move-object/from16 p0, v1

    move/from16 v9, v18

    move/from16 v3, v19

    move/from16 v0, v22

    :goto_ac5
    const/4 v12, 0x0

    const/4 v13, 0x0

    goto :goto_ae0

    :cond_ac8
    move-object/from16 v10, p1

    move v5, v0

    move-object/from16 p0, v1

    move/from16 v9, v18

    move/from16 v3, v19

    move/from16 v0, v22

    const/4 v12, 0x0

    goto :goto_ae0

    :cond_ad5
    move-object/from16 v10, p1

    move v5, v0

    move-object/from16 p0, v1

    move/from16 v9, v18

    move/from16 v3, v19

    move/from16 v0, v22

    :goto_ae0
    iget v1, v10, Lz5/aw1;->a:I

    move/from16 p1, v2

    const/4 v2, 0x1

    if-eq v2, v5, :cond_aea

    const-string v2, ", ctts invalid"

    goto :goto_aec

    :cond_aea
    const-string v2, ""

    :goto_aec
    new-instance v5, Ljava/lang/StringBuilder;

    move-object/from16 p2, v4

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v4

    add-int/lit16 v4, v4, 0x106

    invoke-direct {v5, v4}, Ljava/lang/StringBuilder;-><init>(I)V

    const-string v4, "Inconsistent stbl box for track "

    invoke-virtual {v5, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v1, ": remainingSynchronizationSamples "

    invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v12}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v1, ", remainingSamplesAtTimestampDelta "

    invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v13}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v1, ", remainingSamplesInChunk "

    invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v0, ", remainingTimestampDeltaChanges "

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v0, ", remainingSamplesAtTimestampOffset "

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v9}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v6, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    :goto_b33
    move-object/from16 v9, p0

    move/from16 v2, p1

    move-object/from16 v12, p2

    move-wide v0, v7

    :goto_b3a
    const-wide/32 v5, 0xf4240

    iget-wide v7, v10, Lz5/aw1;->c:J

    move-wide v3, v0

    invoke-static/range {v3 .. v8}, Lz5/r7;->d(JJJ)J

    move-result-wide v3

    iget-object v5, v10, Lz5/aw1;->h:[J

    if-nez v5, :cond_b5d

    iget-wide v0, v10, Lz5/aw1;->c:J

    invoke-static {v15, v0, v1}, Lz5/r7;->e([JJ)V

    new-instance v0, Lz5/dw1;

    move-object v6, v0

    move-object v7, v10

    move-object v8, v9

    move-object v9, v14

    move v10, v11

    move-object v11, v15

    move-wide v13, v3

    invoke-direct/range {v6 .. v14}, Lz5/dw1;-><init>(Lz5/aw1;[J[II[J[IJ)V

    move-object/from16 v2, p3

    goto/16 :goto_c59

    :cond_b5d
    array-length v3, v5

    const/4 v4, 0x1

    if-ne v3, v4, :cond_c0e

    iget v3, v10, Lz5/aw1;->b:I

    if-ne v3, v4, :cond_c0e

    array-length v3, v15

    const/4 v4, 0x2

    if-lt v3, v4, :cond_c0e

    iget-object v4, v10, Lz5/aw1;->i:[J

    invoke-static {v4}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    const/4 v6, 0x0

    aget-wide v7, v4, v6

    aget-wide v18, v5, v6

    iget-wide v4, v10, Lz5/aw1;->c:J

    move-wide/from16 p0, v7

    iget-wide v6, v10, Lz5/aw1;->d:J

    move-wide/from16 v20, v4

    move-wide/from16 v22, v6

    invoke-static/range {v18 .. v23}, Lz5/r7;->d(JJJ)J

    move-result-wide v4

    move-wide/from16 v6, p0

    add-long/2addr v4, v6

    add-int/lit8 v8, v3, -0x1

    move/from16 v18, v2

    const/4 v2, 0x0

    const/4 v13, 0x4

    invoke-static {v13, v2, v8}, Lz5/r7;->v(III)I

    move-result v13

    add-int/lit8 v3, v3, -0x4

    invoke-static {v3, v2, v8}, Lz5/r7;->v(III)I

    move-result v3

    aget-wide v19, v15, v2

    cmp-long v8, v19, v6

    if-gtz v8, :cond_c0b

    aget-wide v19, v15, v13

    cmp-long v8, v6, v19

    if-gez v8, :cond_c0b

    aget-wide v19, v15, v3

    cmp-long v3, v19, v4

    if-gez v3, :cond_c0b

    cmp-long v3, v4, v0

    if-gtz v3, :cond_c0b

    aget-wide v19, v15, v2

    sub-long v21, v6, v19

    iget-object v2, v10, Lz5/aw1;->f:Lz5/x2;

    iget v2, v2, Lz5/x2;->y:I

    int-to-long v2, v2

    iget-wide v6, v10, Lz5/aw1;->c:J

    move-wide/from16 v23, v2

    move-wide/from16 v25, v6

    invoke-static/range {v21 .. v26}, Lz5/r7;->d(JJJ)J

    move-result-wide v2

    sub-long v19, v0, v4

    iget-object v4, v10, Lz5/aw1;->f:Lz5/x2;

    iget v4, v4, Lz5/x2;->y:I

    int-to-long v4, v4

    iget-wide v6, v10, Lz5/aw1;->c:J

    move-wide/from16 v21, v4

    move-wide/from16 v23, v6

    invoke-static/range {v19 .. v24}, Lz5/r7;->d(JJJ)J

    move-result-wide v4

    const-wide/16 v6, 0x0

    cmp-long v8, v2, v6

    if-nez v8, :cond_bd8

    cmp-long v8, v4, v6

    if-eqz v8, :cond_c0b

    :cond_bd8
    const-wide/32 v6, 0x7fffffff

    cmp-long v8, v2, v6

    if-gtz v8, :cond_c0b

    cmp-long v6, v4, v6

    if-gtz v6, :cond_c0b

    long-to-int v0, v2

    move-object/from16 v2, p3

    iput v0, v2, Lz5/gu1;->a:I

    long-to-int v0, v4

    iput v0, v2, Lz5/gu1;->b:I

    iget-wide v0, v10, Lz5/aw1;->c:J

    invoke-static {v15, v0, v1}, Lz5/r7;->e([JJ)V

    iget-object v0, v10, Lz5/aw1;->h:[J

    const/4 v1, 0x0

    aget-wide v3, v0, v1

    iget-wide v7, v10, Lz5/aw1;->d:J

    const-wide/32 v5, 0xf4240

    invoke-static/range {v3 .. v8}, Lz5/r7;->d(JJJ)J

    move-result-wide v0

    new-instance v3, Lz5/dw1;

    move-object v6, v3

    move-object v7, v10

    move-object v8, v9

    move-object v9, v14

    move v10, v11

    move-object v11, v15

    move-wide v13, v0

    invoke-direct/range {v6 .. v14}, Lz5/dw1;-><init>(Lz5/aw1;[J[II[J[IJ)V

    goto :goto_c58

    :cond_c0b
    :goto_c0b
    move-object/from16 v2, p3

    goto :goto_c11

    :cond_c0e
    move/from16 v18, v2

    goto :goto_c0b

    :goto_c11
    iget-object v3, v10, Lz5/aw1;->h:[J

    array-length v4, v3

    const/4 v5, 0x1

    if-ne v4, v5, :cond_c66

    const/4 v5, 0x0

    aget-wide v6, v3, v5

    const-wide/16 v3, 0x0

    cmp-long v6, v6, v3

    if-nez v6, :cond_c65

    iget-object v3, v10, Lz5/aw1;->i:[J

    invoke-static {v3}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    aget-wide v6, v3, v5

    const/4 v5, 0x0

    :goto_c28
    array-length v3, v15

    if-ge v5, v3, :cond_c3f

    aget-wide v3, v15, v5

    sub-long v18, v3, v6

    const-wide/32 v20, 0xf4240

    iget-wide v3, v10, Lz5/aw1;->c:J

    move-wide/from16 v22, v3

    invoke-static/range {v18 .. v23}, Lz5/r7;->d(JJJ)J

    move-result-wide v3

    aput-wide v3, v15, v5

    add-int/lit8 v5, v5, 0x1

    goto :goto_c28

    :cond_c3f
    iget-wide v3, v10, Lz5/aw1;->c:J

    sub-long v18, v0, v6

    const-wide/32 v20, 0xf4240

    move-wide/from16 v22, v3

    invoke-static/range {v18 .. v23}, Lz5/r7;->d(JJJ)J

    move-result-wide v0

    new-instance v3, Lz5/dw1;

    move-object v6, v3

    move-object v7, v10

    move-object v8, v9

    move-object v9, v14

    move v10, v11

    move-object v11, v15

    move-wide v13, v0

    invoke-direct/range {v6 .. v14}, Lz5/dw1;-><init>(Lz5/aw1;[J[II[J[IJ)V

    :goto_c58
    move-object v0, v3

    :goto_c59
    move-object/from16 v1, v17

    :goto_c5b
    move-wide/from16 v3, v35

    move-object/from16 v15, v38

    move/from16 v13, v48

    move-object/from16 v14, v49

    goto/16 :goto_e37

    :cond_c65
    const/4 v4, 0x1

    :cond_c66
    iget v0, v10, Lz5/aw1;->b:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_c6d

    const/4 v0, 0x1

    goto :goto_c6e

    :cond_c6d
    const/4 v0, 0x0

    :goto_c6e
    new-array v1, v4, [I

    new-array v3, v4, [I

    iget-object v4, v10, Lz5/aw1;->i:[J

    invoke-static {v4}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    const/4 v5, 0x0

    const/4 v6, 0x0

    const/4 v7, 0x0

    const/4 v8, 0x0

    :goto_c7b
    iget-object v13, v10, Lz5/aw1;->h:[J

    move-object/from16 p3, v2

    array-length v2, v13

    move/from16 p0, v7

    if-ge v5, v2, :cond_ce3

    move v2, v8

    aget-wide v7, v4, v5

    const-wide/16 v19, -0x1

    cmp-long v19, v7, v19

    if-eqz v19, :cond_cce

    aget-wide v20, v13, v5

    move-object/from16 p1, v14

    iget-wide v13, v10, Lz5/aw1;->c:J

    move/from16 p2, v11

    move-object/from16 p4, v12

    iget-wide v11, v10, Lz5/aw1;->d:J

    move-wide/from16 v22, v13

    move-wide/from16 v24, v11

    invoke-static/range {v20 .. v25}, Lz5/r7;->d(JJJ)J

    move-result-wide v11

    const/4 v13, 0x1

    invoke-static {v15, v7, v8, v13, v13}, Lz5/r7;->b([JJZZ)I

    move-result v14

    aput v14, v1, v5

    add-long/2addr v7, v11

    const/4 v11, 0x0

    invoke-static {v15, v7, v8, v0, v11}, Lz5/r7;->c([JJZZ)I

    move-result v7

    aput v7, v3, v5

    :goto_cb0
    aget v7, v1, v5

    aget v8, v3, v5

    if-ge v7, v8, :cond_cc1

    aget v12, p4, v7

    and-int/2addr v12, v13

    if-nez v12, :cond_cc1

    add-int/lit8 v7, v7, 0x1

    aput v7, v1, v5

    const/4 v13, 0x1

    goto :goto_cb0

    :cond_cc1
    sub-int v12, v8, v7

    add-int/2addr v12, v6

    if-eq v2, v7, :cond_cc8

    const/4 v2, 0x1

    goto :goto_cc9

    :cond_cc8
    move v2, v11

    :goto_cc9
    or-int v2, v2, p0

    move v7, v2

    move v6, v12

    goto :goto_cd8

    :cond_cce
    move/from16 p2, v11

    move-object/from16 p4, v12

    move-object/from16 p1, v14

    const/4 v11, 0x0

    move/from16 v7, p0

    move v8, v2

    :goto_cd8
    add-int/lit8 v5, v5, 0x1

    move-object/from16 v14, p1

    move/from16 v11, p2

    move-object/from16 v2, p3

    move-object/from16 v12, p4

    goto :goto_c7b

    :cond_ce3
    move/from16 p2, v11

    move-object/from16 p4, v12

    move-object/from16 p1, v14

    move/from16 v2, v18

    const/4 v11, 0x0

    if-eq v6, v2, :cond_cf0

    const/4 v0, 0x1

    goto :goto_cf1

    :cond_cf0
    move v0, v11

    :goto_cf1
    or-int v0, p0, v0

    if-eqz v0, :cond_cf8

    new-array v2, v6, [J

    goto :goto_cf9

    :cond_cf8
    move-object v2, v9

    :goto_cf9
    if-eqz v0, :cond_cfe

    new-array v4, v6, [I

    goto :goto_d00

    :cond_cfe
    move-object/from16 v4, p1

    :goto_d00
    const/4 v5, 0x1

    if-ne v5, v0, :cond_d05

    move v5, v11

    goto :goto_d07

    :cond_d05
    move/from16 v5, p2

    :goto_d07
    if-eqz v0, :cond_d0c

    new-array v7, v6, [I

    goto :goto_d0e

    :cond_d0c
    move-object/from16 v7, p4

    :goto_d0e
    new-array v6, v6, [J

    move-object/from16 v12, p4

    move-object v14, v2

    move-object v13, v10

    move-object v8, v15

    move/from16 v10, v16

    move-object/from16 v21, v17

    move-object/from16 p0, v33

    const-wide/16 v22, 0x0

    move-object v2, v1

    move-object v15, v4

    move/from16 v16, v5

    move-object/from16 v17, v6

    move v5, v11

    move v6, v5

    move v1, v0

    move-object v4, v3

    move-object v11, v7

    move-object/from16 v7, p1

    move-object/from16 v3, p3

    :goto_d2c
    iget-object v0, v13, Lz5/aw1;->h:[J

    array-length v0, v0

    if-ge v5, v0, :cond_e1a

    iget-object v0, v13, Lz5/aw1;->i:[J

    aget-wide v18, v0, v5

    aget v0, v2, v5

    aget v20, v4, v5

    move/from16 p1, v1

    if-eqz v1, :cond_d69

    sub-int v1, v20, v0

    invoke-static {v9, v0, v14, v6, v1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    invoke-static {v7, v0, v15, v6, v1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    invoke-static {v12, v0, v11, v6, v1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    move/from16 v1, v16

    move-wide/from16 v29, v22

    move-object/from16 v16, v15

    move-object/from16 v22, v21

    move-object v15, v14

    move-object v14, v13

    move-object v13, v12

    move-object v12, v11

    move v11, v10

    move-object v10, v9

    move-object v9, v8

    move-object v8, v7

    move v7, v6

    move v6, v5

    move-object v5, v4

    move-object v4, v3

    move/from16 v3, v20

    move-wide/from16 v19, v18

    move-object/from16 v18, v17

    move-object/from16 v52, v2

    move/from16 v2, p1

    move-object/from16 p1, v52

    goto :goto_d92

    :cond_d69
    move-object/from16 v1, p0

    move-wide/from16 v23, v22

    move-object/from16 v22, v21

    move/from16 v21, v20

    move-wide/from16 v19, v18

    move-object/from16 v18, v17

    move/from16 v17, v16

    move-object/from16 v16, v15

    move-object v15, v14

    move-object v14, v13

    move-object v13, v12

    move-object v12, v11

    move v11, v10

    move-object v10, v9

    move-object v9, v8

    move-object v8, v7

    move v7, v6

    move v6, v5

    move-object v5, v4

    move-object v4, v3

    move-object v3, v2

    move/from16 v2, p1

    :goto_d88
    move-object/from16 p0, v1

    move-object/from16 p1, v3

    move/from16 v1, v17

    move/from16 v3, v21

    move-wide/from16 v29, v23

    :goto_d92
    if-ge v0, v3, :cond_de6

    const-wide/32 v25, 0xf4240

    move/from16 v17, v3

    move-object/from16 p2, v4

    iget-wide v3, v14, Lz5/aw1;->d:J

    move-wide/from16 v23, v29

    move-wide/from16 v27, v3

    invoke-static/range {v23 .. v28}, Lz5/r7;->d(JJJ)J

    move-result-wide v3

    aget-wide v23, v9, v0

    move-object/from16 p3, v9

    move-object/from16 p4, v10

    sub-long v9, v23, v19

    move/from16 v21, v11

    move-object/from16 v23, v12

    const-wide/16 v11, 0x0

    invoke-static {v11, v12, v9, v10}, Ljava/lang/Math;->max(JJ)J

    move-result-wide v41

    const-wide/32 v43, 0xf4240

    iget-wide v9, v14, Lz5/aw1;->c:J

    move-wide/from16 v45, v9

    invoke-static/range {v41 .. v46}, Lz5/r7;->d(JJJ)J

    move-result-wide v9

    add-long/2addr v3, v9

    aput-wide v3, v18, v7

    if-eqz v2, :cond_dcd

    aget v3, v16, v7

    if-le v3, v1, :cond_dcd

    aget v1, v8, v0

    :cond_dcd
    add-int/lit8 v7, v7, 0x1

    add-int/lit8 v0, v0, 0x1

    move-object/from16 v3, p1

    move-object/from16 v4, p2

    move-object/from16 v9, p3

    move-object/from16 v10, p4

    move/from16 v11, v21

    move-object/from16 v12, v23

    move-wide/from16 v23, v29

    move/from16 v21, v17

    move/from16 v17, v1

    move-object/from16 v1, p0

    goto :goto_d88

    :cond_de6
    move-object/from16 p2, v4

    move-object/from16 p3, v9

    move-object/from16 p4, v10

    move/from16 v21, v11

    move-object/from16 v23, v12

    const-wide/16 v11, 0x0

    iget-object v0, v14, Lz5/aw1;->h:[J

    aget-wide v3, v0, v6

    add-long v3, v29, v3

    add-int/lit8 v0, v6, 0x1

    move-object/from16 v9, p4

    move v6, v7

    move-object v7, v8

    move-object v12, v13

    move-object v13, v14

    move-object v14, v15

    move-object/from16 v15, v16

    move-object/from16 v17, v18

    move/from16 v10, v21

    move-object/from16 v21, v22

    move-object/from16 v11, v23

    move-object/from16 v8, p3

    move/from16 v16, v1

    move v1, v2

    move-wide/from16 v22, v3

    move-object v4, v5

    move-object/from16 v2, p1

    move-object/from16 v3, p2

    move v5, v0

    goto/16 :goto_d2c

    :cond_e1a
    move-object v7, v11

    iget-wide v0, v13, Lz5/aw1;->d:J

    const-wide/32 v24, 0xf4240

    move-wide/from16 v26, v0

    invoke-static/range {v22 .. v27}, Lz5/r7;->d(JJJ)J

    move-result-wide v19

    new-instance v0, Lz5/dw1;

    move-object v12, v0

    move-object/from16 v18, v7

    invoke-direct/range {v12 .. v20}, Lz5/dw1;-><init>(Lz5/aw1;[J[II[J[IJ)V

    move-object/from16 v33, p0

    move-object v2, v3

    move/from16 v16, v10

    move-object/from16 v1, v21

    goto/16 :goto_c5b

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

    move-object/from16 v17, v1

    move-object/from16 v0, v33

    goto :goto_e55

    :cond_e3f
    const-string v0, "Track has no sample table size information"

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lz5/r3;->b(Ljava/lang/String;Ljava/lang/Throwable;)Lz5/r3;

    move-result-object v0

    throw v0

    :cond_e47
    move-object/from16 v49, v1

    :goto_e49
    move-object/from16 v2, p3

    move-object/from16 v0, v33

    move-wide/from16 v3, v35

    move-object/from16 v15, v38

    move/from16 v13, v48

    move-object/from16 v14, v49

    :goto_e55
    const/4 v1, 0x1

    add-int/2addr v13, v1

    goto/16 :goto_14

    :cond_e59
    return-object v17
.end method

.method public static b(Lz5/j7;)V
    .registers 4

    invoke-virtual {p0}, Lz5/j7;->o()I

    move-result v0

    const/4 v1, 0x4

    invoke-virtual {p0, v1}, Lz5/j7;->u(I)V

    invoke-virtual {p0}, Lz5/j7;->K()I

    move-result v1

    const v2, 0x68646c72    # 4.3148E24f

    if-eq v1, v2, :cond_13

    add-int/lit8 v0, v0, 0x4

    :cond_13
    invoke-virtual {p0, v0}, Lz5/j7;->q(I)V

    return-void
.end method

.method public static c(Lz5/j7;)I
    .registers 2

    const/16 v0, 0x10

    invoke-virtual {p0, v0}, Lz5/j7;->q(I)V

    invoke-virtual {p0}, Lz5/j7;->K()I

    move-result p0

    return p0
.end method

.method public static d(I)I
    .registers 2

    const v0, 0x736f756e

    if-ne p0, v0, :cond_7

    const/4 p0, 0x1

    return p0

    :cond_7
    const v0, 0x76696465

    if-ne p0, v0, :cond_e

    const/4 p0, 0x2

    return p0

    :cond_e
    const v0, 0x74657874

    if-eq p0, v0, :cond_2c

    const v0, 0x7362746c

    if-eq p0, v0, :cond_2c

    const v0, 0x73756274

    if-eq p0, v0, :cond_2c

    const v0, 0x636c6370

    if-ne p0, v0, :cond_23

    goto :goto_2c

    :cond_23
    const v0, 0x6d657461

    if-ne p0, v0, :cond_2a

    const/4 p0, 0x5

    return p0

    :cond_2a
    const/4 p0, -0x1

    return p0

    :cond_2c
    :goto_2c
    const/4 p0, 0x3

    return p0
.end method

.method public static e(Lz5/j7;IIIILjava/lang/String;ZLcom/google/android/gms/internal/ads/f9;Lz5/o7;I)V
    .registers 37

    move-object/from16 v0, p0

    move/from16 v1, p2

    move/from16 v2, p3

    move/from16 v3, p4

    move-object/from16 v4, p5

    move-object/from16 v5, p7

    move-object/from16 v6, p8

    add-int/lit8 v7, v1, 0x10

    invoke-virtual {v0, v7}, Lz5/j7;->q(I)V

    const/4 v7, 0x6

    const/16 v8, 0x8

    if-eqz p6, :cond_20

    invoke-virtual/range {p0 .. p0}, Lz5/j7;->B()I

    move-result v10

    invoke-virtual {v0, v7}, Lz5/j7;->u(I)V

    goto :goto_24

    :cond_20
    invoke-virtual {v0, v8}, Lz5/j7;->u(I)V

    const/4 v10, 0x0

    :goto_24
    const/16 v11, 0x14

    const/16 v12, 0x10

    const/4 v13, 0x2

    const/4 v14, 0x1

    if-eqz v10, :cond_4a

    if-ne v10, v14, :cond_2f

    goto :goto_4a

    :cond_2f
    if-ne v10, v13, :cond_49

    invoke-virtual {v0, v12}, Lz5/j7;->u(I)V

    invoke-virtual/range {p0 .. p0}, Lz5/j7;->O()J

    move-result-wide v15

    invoke-static/range {v15 .. v16}, Ljava/lang/Double;->longBitsToDouble(J)D

    move-result-wide v15

    invoke-static/range {v15 .. v16}, Ljava/lang/Math;->round(D)J

    move-result-wide v9

    long-to-int v8, v9

    invoke-virtual/range {p0 .. p0}, Lz5/j7;->b()I

    move-result v9

    invoke-virtual {v0, v11}, Lz5/j7;->u(I)V

    goto :goto_72

    :cond_49
    return-void

    :cond_4a
    :goto_4a
    invoke-virtual/range {p0 .. p0}, Lz5/j7;->B()I

    move-result v9

    invoke-virtual {v0, v7}, Lz5/j7;->u(I)V

    .line 1
    iget-object v15, v0, Lz5/j7;->b:[B

    iget v11, v0, Lz5/j7;->c:I

    add-int/lit8 v7, v11, 0x1

    iput v7, v0, Lz5/j7;->c:I

    aget-byte v11, v15, v11

    add-int/lit8 v12, v7, 0x1

    iput v12, v0, Lz5/j7;->c:I

    aget-byte v7, v15, v7

    add-int/2addr v12, v13

    iput v12, v0, Lz5/j7;->c:I

    and-int/lit16 v11, v11, 0xff

    shl-int/lit8 v8, v11, 0x8

    and-int/lit16 v7, v7, 0xff

    or-int/2addr v8, v7

    if-ne v10, v14, :cond_72

    const/16 v7, 0x10

    .line 2
    invoke-virtual {v0, v7}, Lz5/j7;->u(I)V

    :cond_72
    :goto_72
    invoke-virtual/range {p0 .. p0}, Lz5/j7;->o()I

    move-result v7

    const v10, 0x656e6361

    move/from16 v12, p1

    if-ne v12, v10, :cond_a7

    invoke-static {v0, v1, v2}, Lz5/qv1;->g(Lz5/j7;II)Landroid/util/Pair;

    move-result-object v12

    if-eqz v12, :cond_a3

    iget-object v10, v12, Landroid/util/Pair;->first:Ljava/lang/Object;

    check-cast v10, Ljava/lang/Integer;

    invoke-virtual {v10}, Ljava/lang/Integer;->intValue()I

    move-result v10

    if-nez v5, :cond_8f

    const/4 v5, 0x0

    goto :goto_99

    :cond_8f
    iget-object v15, v12, Landroid/util/Pair;->second:Ljava/lang/Object;

    check-cast v15, Lz5/bw1;

    iget-object v15, v15, Lz5/bw1;->b:Ljava/lang/String;

    invoke-virtual {v5, v15}, Lcom/google/android/gms/internal/ads/f9;->a(Ljava/lang/String;)Lcom/google/android/gms/internal/ads/f9;

    move-result-object v5

    :goto_99
    iget-object v15, v6, Lz5/o7;->a:Ljava/lang/Object;

    check-cast v15, [Lz5/bw1;

    iget-object v12, v12, Landroid/util/Pair;->second:Ljava/lang/Object;

    check-cast v12, Lz5/bw1;

    aput-object v12, v15, p9

    :cond_a3
    invoke-virtual {v0, v7}, Lz5/j7;->q(I)V

    goto :goto_a8

    :cond_a7
    move v10, v12

    :goto_a8
    const v12, 0x61632d33

    const-string v15, "audio/ac4"

    const-string v19, "audio/eac3"

    const-string v11, "audio/ac3"

    const v14, 0x616c6163

    const-string v22, "audio/raw"

    if-ne v10, v12, :cond_bc

    move-object/from16 v22, v11

    goto/16 :goto_167

    :cond_bc
    const v12, 0x65632d33

    if-ne v10, v12, :cond_c5

    move-object/from16 v22, v19

    goto/16 :goto_167

    :cond_c5
    const v12, 0x61632d34

    if-ne v10, v12, :cond_ce

    move-object/from16 v22, v15

    goto/16 :goto_167

    :cond_ce
    const v12, 0x64747363

    if-ne v10, v12, :cond_d9

    const-string v10, "audio/vnd.dts"

    :goto_d5
    move-object/from16 v22, v10

    goto/16 :goto_167

    :cond_d9
    const v12, 0x64747368

    if-eq v10, v12, :cond_163

    const v12, 0x6474736c

    if-ne v10, v12, :cond_e5

    goto/16 :goto_163

    :cond_e5
    const v12, 0x64747365

    if-ne v10, v12, :cond_ed

    const-string v10, "audio/vnd.dts.hd;profile=lbr"

    goto :goto_d5

    :cond_ed
    const v12, 0x64747378

    if-ne v10, v12, :cond_f5

    const-string v10, "audio/vnd.dts.uhd"

    goto :goto_d5

    :cond_f5
    const v12, 0x73616d72

    if-ne v10, v12, :cond_fd

    const-string v10, "audio/3gpp"

    goto :goto_d5

    :cond_fd
    const v12, 0x73617762

    if-ne v10, v12, :cond_105

    const-string v10, "audio/amr-wb"

    goto :goto_d5

    :cond_105
    const v12, 0x6c70636d

    if-eq v10, v12, :cond_161

    const v12, 0x736f7774

    if-ne v10, v12, :cond_110

    goto :goto_161

    :cond_110
    const v12, 0x74776f73

    if-ne v10, v12, :cond_118

    const/high16 v10, 0x10000000

    goto :goto_168

    :cond_118
    const v12, 0x2e6d7032

    if-eq v10, v12, :cond_15d

    const v12, 0x2e6d7033

    if-ne v10, v12, :cond_123

    goto :goto_15d

    :cond_123
    const v12, 0x6d686131

    if-ne v10, v12, :cond_12b

    const-string v10, "audio/mha1"

    goto :goto_d5

    :cond_12b
    const v12, 0x6d686d31

    if-ne v10, v12, :cond_133

    const-string v10, "audio/mhm1"

    goto :goto_d5

    :cond_133
    if-ne v10, v14, :cond_138

    const-string v10, "audio/alac"

    goto :goto_d5

    :cond_138
    const v12, 0x616c6177

    if-ne v10, v12, :cond_140

    const-string v10, "audio/g711-alaw"

    goto :goto_d5

    :cond_140
    const v12, 0x756c6177

    if-ne v10, v12, :cond_148

    const-string v10, "audio/g711-mlaw"

    goto :goto_d5

    :cond_148
    const v12, 0x4f707573

    if-ne v10, v12, :cond_150

    const-string v10, "audio/opus"

    goto :goto_d5

    :cond_150
    const v12, 0x664c6143

    if-ne v10, v12, :cond_159

    const-string v10, "audio/flac"

    goto/16 :goto_d5

    :cond_159
    const/4 v10, -0x1

    const/16 v22, 0x0

    goto :goto_168

    :cond_15d
    :goto_15d
    const-string v10, "audio/mpeg"

    goto/16 :goto_d5

    :cond_161
    :goto_161
    const/4 v10, 0x2

    goto :goto_168

    :cond_163
    :goto_163
    const-string v10, "audio/vnd.dts.hd"

    goto/16 :goto_d5

    :goto_167
    const/4 v10, -0x1

    :goto_168
    move-object/from16 v12, v22

    const/16 v23, 0x0

    const/16 v24, 0x0

    :goto_16e
    sub-int v13, v7, v1

    if-ge v13, v2, :cond_443

    invoke-virtual {v0, v7}, Lz5/j7;->q(I)V

    invoke-virtual/range {p0 .. p0}, Lz5/j7;->K()I

    move-result v13

    if-lez v13, :cond_17d

    const/4 v14, 0x1

    goto :goto_17e

    :cond_17d
    const/4 v14, 0x0

    :goto_17e
    const-string v1, "childAtomSize must be positive"

    invoke-static {v14, v1}, Lcom/google/android/gms/internal/ads/g9;->b(ZLjava/lang/String;)V

    invoke-virtual/range {p0 .. p0}, Lz5/j7;->K()I

    move-result v14

    const v2, 0x6d686143

    if-ne v14, v2, :cond_1b0

    add-int/lit8 v1, v13, -0xd

    new-array v2, v1, [B

    add-int/lit8 v14, v7, 0xd

    invoke-virtual {v0, v14}, Lz5/j7;->q(I)V

    .line 3
    iget-object v14, v0, Lz5/j7;->b:[B

    move/from16 v22, v10

    iget v10, v0, Lz5/j7;->c:I

    move/from16 p9, v8

    const/4 v8, 0x0

    invoke-static {v14, v10, v2, v8, v1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    iget v8, v0, Lz5/j7;->c:I

    add-int/2addr v8, v1

    iput v8, v0, Lz5/j7;->c:I

    .line 4
    invoke-static {v2}, Lcom/google/android/gms/internal/ads/q6;->L(Ljava/lang/Object;)Lcom/google/android/gms/internal/ads/q6;

    move-result-object v1

    move/from16 v10, p9

    :goto_1ac
    move-object/from16 v24, v1

    goto/16 :goto_339

    :cond_1b0
    move/from16 p9, v8

    move/from16 v22, v10

    const v2, 0x65736473

    if-eq v14, v2, :cond_3e8

    if-eqz p6, :cond_1f1

    const v8, 0x77617665

    if-ne v14, v8, :cond_1f1

    invoke-virtual/range {p0 .. p0}, Lz5/j7;->o()I

    move-result v8

    :goto_1c4
    sub-int v10, v8, v7

    if-ge v10, v13, :cond_1df

    invoke-virtual {v0, v8}, Lz5/j7;->q(I)V

    invoke-virtual/range {p0 .. p0}, Lz5/j7;->K()I

    move-result v10

    if-lez v10, :cond_1d3

    const/4 v14, 0x1

    goto :goto_1d4

    :cond_1d3
    const/4 v14, 0x0

    :goto_1d4
    invoke-static {v14, v1}, Lcom/google/android/gms/internal/ads/g9;->b(ZLjava/lang/String;)V

    invoke-virtual/range {p0 .. p0}, Lz5/j7;->K()I

    move-result v14

    if-eq v14, v2, :cond_1e0

    add-int/2addr v8, v10

    goto :goto_1c4

    :cond_1df
    const/4 v8, -0x1

    :cond_1e0
    move/from16 v10, p9

    move-object/from16 p9, v11

    const v1, 0x616c6163

    const/4 v2, -0x1

    const/16 v11, 0x14

    const/4 v14, 0x0

    const/16 v20, 0x1

    const/16 v21, 0x2

    goto/16 :goto_3f8

    :cond_1f1
    const v1, 0x64616333

    const/4 v2, 0x4

    const/4 v8, 0x3

    if-ne v14, v1, :cond_238

    add-int/lit8 v1, v7, 0x8

    invoke-virtual {v0, v1}, Lz5/j7;->q(I)V

    invoke-static/range {p4 .. p4}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;

    move-result-object v1

    .line 5
    invoke-virtual/range {p0 .. p0}, Lz5/j7;->A()I

    move-result v10

    sget-object v14, Lz5/mt1;->b:[I

    and-int/lit16 v10, v10, 0xc0

    const/16 v18, 0x6

    shr-int/lit8 v10, v10, 0x6

    aget v10, v14, v10

    invoke-virtual/range {p0 .. p0}, Lz5/j7;->A()I

    move-result v14

    sget-object v25, Lz5/mt1;->d:[I

    and-int/lit8 v26, v14, 0x38

    shr-int/lit8 v8, v26, 0x3

    aget v8, v25, v8

    and-int/2addr v2, v14

    if-eqz v2, :cond_220

    add-int/lit8 v8, v8, 0x1

    :cond_220
    new-instance v2, Lz5/w2;

    invoke-direct {v2}, Lz5/w2;-><init>()V

    .line 6
    iput-object v1, v2, Lz5/w2;->a:Ljava/lang/String;

    .line 7
    iput-object v11, v2, Lz5/w2;->j:Ljava/lang/String;

    .line 8
    iput v8, v2, Lz5/w2;->w:I

    .line 9
    iput v10, v2, Lz5/w2;->x:I

    .line 10
    iput-object v5, v2, Lz5/w2;->m:Lcom/google/android/gms/internal/ads/f9;

    .line 11
    iput-object v4, v2, Lz5/w2;->c:Ljava/lang/String;

    .line 12
    new-instance v1, Lz5/x2;

    .line 13
    invoke-direct {v1, v2}, Lz5/x2;-><init>(Lz5/w2;)V

    goto/16 :goto_2e6

    :cond_238
    const v1, 0x64656333

    if-ne v14, v1, :cond_2ac

    add-int/lit8 v1, v7, 0x8

    .line 14
    invoke-virtual {v0, v1}, Lz5/j7;->q(I)V

    invoke-static/range {p4 .. p4}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x2

    .line 15
    invoke-virtual {v0, v2}, Lz5/j7;->u(I)V

    invoke-virtual/range {p0 .. p0}, Lz5/j7;->A()I

    move-result v2

    sget-object v8, Lz5/mt1;->b:[I

    and-int/lit16 v2, v2, 0xc0

    const/4 v10, 0x6

    shr-int/2addr v2, v10

    aget v2, v8, v2

    invoke-virtual/range {p0 .. p0}, Lz5/j7;->A()I

    move-result v8

    sget-object v14, Lz5/mt1;->d:[I

    and-int/lit8 v18, v8, 0xe

    const/16 v20, 0x1

    shr-int/lit8 v18, v18, 0x1

    aget v14, v14, v18

    and-int/lit8 v8, v8, 0x1

    if-eqz v8, :cond_26a

    add-int/lit8 v14, v14, 0x1

    :cond_26a
    invoke-virtual/range {p0 .. p0}, Lz5/j7;->A()I

    move-result v8

    and-int/lit8 v8, v8, 0x1e

    shr-int/lit8 v8, v8, 0x1

    if-lez v8, :cond_280

    invoke-virtual/range {p0 .. p0}, Lz5/j7;->A()I

    move-result v8

    const/16 v18, 0x2

    and-int/lit8 v8, v8, 0x2

    if-eqz v8, :cond_280

    add-int/lit8 v14, v14, 0x2

    :cond_280
    invoke-virtual/range {p0 .. p0}, Lz5/j7;->l()I

    move-result v8

    if-lez v8, :cond_293

    invoke-virtual/range {p0 .. p0}, Lz5/j7;->A()I

    move-result v8

    const/16 v18, 0x1

    and-int/lit8 v8, v8, 0x1

    if-eqz v8, :cond_293

    const-string v8, "audio/eac3-joc"

    goto :goto_295

    :cond_293
    move-object/from16 v8, v19

    :goto_295
    new-instance v10, Lz5/w2;

    invoke-direct {v10}, Lz5/w2;-><init>()V

    .line 16
    iput-object v1, v10, Lz5/w2;->a:Ljava/lang/String;

    .line 17
    iput-object v8, v10, Lz5/w2;->j:Ljava/lang/String;

    .line 18
    iput v14, v10, Lz5/w2;->w:I

    .line 19
    iput v2, v10, Lz5/w2;->x:I

    .line 20
    iput-object v5, v10, Lz5/w2;->m:Lcom/google/android/gms/internal/ads/f9;

    .line 21
    iput-object v4, v10, Lz5/w2;->c:Ljava/lang/String;

    .line 22
    new-instance v1, Lz5/x2;

    .line 23
    invoke-direct {v1, v10}, Lz5/x2;-><init>(Lz5/w2;)V

    goto :goto_2e6

    :cond_2ac
    const v1, 0x64616334

    if-ne v14, v1, :cond_2eb

    add-int/lit8 v1, v7, 0x8

    .line 24
    invoke-virtual {v0, v1}, Lz5/j7;->q(I)V

    invoke-static/range {p4 .. p4}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    invoke-virtual {v0, v2}, Lz5/j7;->u(I)V

    invoke-virtual/range {p0 .. p0}, Lz5/j7;->A()I

    move-result v8

    and-int/lit8 v8, v8, 0x20

    shr-int/lit8 v8, v8, 0x5

    if-eq v2, v8, :cond_2cc

    const v2, 0xac44

    goto :goto_2cf

    :cond_2cc
    const v2, 0xbb80

    :goto_2cf
    new-instance v8, Lz5/w2;

    invoke-direct {v8}, Lz5/w2;-><init>()V

    .line 25
    iput-object v1, v8, Lz5/w2;->a:Ljava/lang/String;

    .line 26
    iput-object v15, v8, Lz5/w2;->j:Ljava/lang/String;

    const/4 v1, 0x2

    .line 27
    iput v1, v8, Lz5/w2;->w:I

    .line 28
    iput v2, v8, Lz5/w2;->x:I

    .line 29
    iput-object v5, v8, Lz5/w2;->m:Lcom/google/android/gms/internal/ads/f9;

    .line 30
    iput-object v4, v8, Lz5/w2;->c:Ljava/lang/String;

    .line 31
    new-instance v1, Lz5/x2;

    .line 32
    invoke-direct {v1, v8}, Lz5/x2;-><init>(Lz5/w2;)V

    .line 33
    :goto_2e6
    iput-object v1, v6, Lz5/o7;->b:Ljava/lang/Object;

    move/from16 v10, p9

    goto :goto_30b

    :cond_2eb
    const v1, 0x64647473

    if-ne v14, v1, :cond_319

    new-instance v1, Lz5/w2;

    invoke-direct {v1}, Lz5/w2;-><init>()V

    invoke-virtual {v1, v3}, Lz5/w2;->a(I)Lz5/w2;

    .line 34
    iput-object v12, v1, Lz5/w2;->j:Ljava/lang/String;

    .line 35
    iput v9, v1, Lz5/w2;->w:I

    move/from16 v10, p9

    .line 36
    iput v10, v1, Lz5/w2;->x:I

    .line 37
    iput-object v5, v1, Lz5/w2;->m:Lcom/google/android/gms/internal/ads/f9;

    .line 38
    iput-object v4, v1, Lz5/w2;->c:Ljava/lang/String;

    .line 39
    new-instance v2, Lz5/x2;

    .line 40
    invoke-direct {v2, v1}, Lz5/x2;-><init>(Lz5/w2;)V

    .line 41
    iput-object v2, v6, Lz5/o7;->b:Ljava/lang/Object;

    :goto_30b
    move-object/from16 p9, v11

    const v1, 0x616c6163

    const/16 v11, 0x14

    const/4 v14, 0x0

    const/16 v20, 0x1

    const/16 v21, 0x2

    goto/16 :goto_3e5

    :cond_319
    move/from16 v10, p9

    const v1, 0x644f7073

    if-ne v14, v1, :cond_346

    add-int/lit8 v1, v13, -0x8

    sget-object v2, Lz5/qv1;->a:[B

    array-length v8, v2

    add-int/2addr v8, v1

    invoke-static {v2, v8}, Ljava/util/Arrays;->copyOf([BI)[B

    move-result-object v8

    add-int/lit8 v14, v7, 0x8

    invoke-virtual {v0, v14}, Lz5/j7;->q(I)V

    array-length v2, v2

    invoke-virtual {v0, v8, v2, v1}, Lz5/j7;->z([BII)V

    invoke-static {v8}, Lcom/google/android/gms/internal/ads/r;->c([B)Ljava/util/List;

    move-result-object v1

    goto/16 :goto_1ac

    :goto_339
    move v8, v10

    move-object/from16 p9, v11

    const/4 v1, 0x0

    const/16 v11, 0x14

    const/4 v14, 0x0

    const/16 v20, 0x1

    const/16 v21, 0x2

    goto/16 :goto_435

    :cond_346
    const v1, 0x64664c61

    if-ne v14, v1, :cond_385

    add-int/lit8 v1, v13, -0xc

    add-int/lit8 v14, v1, 0x4

    new-array v14, v14, [B

    const/16 v24, 0x66

    const/16 v17, 0x0

    aput-byte v24, v14, v17

    const/16 v24, 0x4c

    const/16 v20, 0x1

    aput-byte v24, v14, v20

    const/16 v24, 0x61

    const/16 v21, 0x2

    aput-byte v24, v14, v21

    const/16 v24, 0x43

    aput-byte v24, v14, v8

    add-int/lit8 v8, v7, 0xc

    invoke-virtual {v0, v8}, Lz5/j7;->q(I)V

    .line 42
    iget-object v8, v0, Lz5/j7;->b:[B

    move-object/from16 p9, v11

    iget v11, v0, Lz5/j7;->c:I

    invoke-static {v8, v11, v14, v2, v1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    iget v2, v0, Lz5/j7;->c:I

    add-int/2addr v2, v1

    iput v2, v0, Lz5/j7;->c:I

    .line 43
    invoke-static {v14}, Lcom/google/android/gms/internal/ads/q6;->L(Ljava/lang/Object;)Lcom/google/android/gms/internal/ads/q6;

    move-result-object v24

    move v8, v10

    const/4 v1, 0x0

    const/16 v11, 0x14

    const/4 v14, 0x0

    goto/16 :goto_435

    :cond_385
    move-object/from16 p9, v11

    const v1, 0x616c6163

    const/16 v20, 0x1

    const/16 v21, 0x2

    if-ne v14, v1, :cond_3e2

    add-int/lit8 v2, v13, -0xc

    new-array v8, v2, [B

    add-int/lit8 v9, v7, 0xc

    invoke-virtual {v0, v9}, Lz5/j7;->q(I)V

    .line 44
    iget-object v9, v0, Lz5/j7;->b:[B

    iget v10, v0, Lz5/j7;->c:I

    const/4 v11, 0x0

    invoke-static {v9, v10, v8, v11, v2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    iget v9, v0, Lz5/j7;->c:I

    add-int/2addr v9, v2

    iput v9, v0, Lz5/j7;->c:I

    .line 45
    new-instance v2, Lz5/j7;

    const/4 v14, 0x0

    invoke-direct {v2, v8, v11, v14}, Lz5/j7;-><init>([BILp/b;)V

    const/16 v9, 0x9

    invoke-virtual {v2, v9}, Lz5/j7;->q(I)V

    invoke-virtual {v2}, Lz5/j7;->A()I

    move-result v9

    const/16 v11, 0x14

    invoke-virtual {v2, v11}, Lz5/j7;->q(I)V

    invoke-virtual {v2}, Lz5/j7;->b()I

    move-result v2

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-static {v9}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v9

    invoke-static {v2, v9}, Landroid/util/Pair;->create(Ljava/lang/Object;Ljava/lang/Object;)Landroid/util/Pair;

    move-result-object v2

    iget-object v9, v2, Landroid/util/Pair;->first:Ljava/lang/Object;

    check-cast v9, Ljava/lang/Integer;

    invoke-virtual {v9}, Ljava/lang/Integer;->intValue()I

    move-result v9

    iget-object v2, v2, Landroid/util/Pair;->second:Ljava/lang/Object;

    check-cast v2, Ljava/lang/Integer;

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v2

    invoke-static {v8}, Lcom/google/android/gms/internal/ads/q6;->L(Ljava/lang/Object;)Lcom/google/android/gms/internal/ads/q6;

    move-result-object v8

    move-object/from16 v24, v8

    const/4 v1, 0x0

    goto :goto_430

    :cond_3e2
    const/16 v11, 0x14

    const/4 v14, 0x0

    :goto_3e5
    move v8, v10

    const/4 v1, 0x0

    goto :goto_435

    :cond_3e8
    move/from16 v10, p9

    move-object/from16 p9, v11

    const v1, 0x616c6163

    const/16 v11, 0x14

    const/4 v14, 0x0

    const/16 v20, 0x1

    const/16 v21, 0x2

    move v8, v7

    const/4 v2, -0x1

    :goto_3f8
    if-eq v8, v2, :cond_433

    invoke-static {v0, v8}, Lz5/qv1;->f(Lz5/j7;I)Landroid/util/Pair;

    move-result-object v8

    iget-object v12, v8, Landroid/util/Pair;->first:Ljava/lang/Object;

    check-cast v12, Ljava/lang/String;

    iget-object v8, v8, Landroid/util/Pair;->second:Ljava/lang/Object;

    check-cast v8, [B

    if-eqz v8, :cond_433

    const-string v1, "audio/mp4a-latm"

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

    move-result v1

    if-eqz v1, :cond_427

    .line 46
    new-instance v1, Lz5/i7;

    array-length v9, v8

    const/4 v10, 0x0

    invoke-direct {v1, v8, v9, v10}, Lz5/i7;-><init>([BII)V

    invoke-static {v1, v10}, Lz5/lt1;->b(Lz5/i7;Z)Lz5/qa;

    move-result-object v1

    .line 47
    iget v9, v1, Lz5/qa;->b:I

    iget v2, v1, Lz5/qa;->c:I

    iget-object v1, v1, Lz5/qa;->d:Ljava/lang/Object;

    move-object/from16 v23, v1

    check-cast v23, Ljava/lang/String;

    move v1, v10

    goto :goto_42a

    :cond_427
    const/4 v1, 0x0

    move v2, v9

    move v9, v10

    :goto_42a
    invoke-static {v8}, Lcom/google/android/gms/internal/ads/q6;->L(Ljava/lang/Object;)Lcom/google/android/gms/internal/ads/q6;

    move-result-object v8

    move-object/from16 v24, v8

    :goto_430
    move v8, v9

    move v9, v2

    goto :goto_435

    :cond_433
    const/4 v1, 0x0

    move v8, v10

    :goto_435
    add-int/2addr v7, v13

    move/from16 v1, p2

    move/from16 v2, p3

    move-object/from16 v11, p9

    move/from16 v10, v22

    const v14, 0x616c6163

    goto/16 :goto_16e

    :cond_443
    move/from16 v22, v10

    move v10, v8

    iget-object v0, v6, Lz5/o7;->b:Ljava/lang/Object;

    check-cast v0, Lz5/x2;

    if-nez v0, :cond_473

    if-eqz v12, :cond_473

    new-instance v0, Lz5/w2;

    invoke-direct {v0}, Lz5/w2;-><init>()V

    invoke-virtual {v0, v3}, Lz5/w2;->a(I)Lz5/w2;

    .line 48
    iput-object v12, v0, Lz5/w2;->j:Ljava/lang/String;

    move-object/from16 v1, v23

    .line 49
    iput-object v1, v0, Lz5/w2;->g:Ljava/lang/String;

    .line 50
    iput v9, v0, Lz5/w2;->w:I

    .line 51
    iput v10, v0, Lz5/w2;->x:I

    move/from16 v13, v22

    .line 52
    iput v13, v0, Lz5/w2;->y:I

    move-object/from16 v1, v24

    .line 53
    iput-object v1, v0, Lz5/w2;->l:Ljava/util/List;

    .line 54
    iput-object v5, v0, Lz5/w2;->m:Lcom/google/android/gms/internal/ads/f9;

    .line 55
    iput-object v4, v0, Lz5/w2;->c:Ljava/lang/String;

    .line 56
    new-instance v1, Lz5/x2;

    .line 57
    invoke-direct {v1, v0}, Lz5/x2;-><init>(Lz5/w2;)V

    .line 58
    iput-object v1, v6, Lz5/o7;->b:Ljava/lang/Object;

    :cond_473
    return-void
.end method

.method public static f(Lz5/j7;I)Landroid/util/Pair;
    .registers 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lz5/j7;",
            "I)",
            "Landroid/util/Pair<",
            "Ljava/lang/String;",
            "[B>;"
        }
    .end annotation

    const/16 v0, 0xc

    add-int/2addr p1, v0

    invoke-virtual {p0, p1}, Lz5/j7;->q(I)V

    const/4 p1, 0x1

    invoke-virtual {p0, p1}, Lz5/j7;->u(I)V

    invoke-static {p0}, Lz5/qv1;->h(Lz5/j7;)I

    const/4 v1, 0x2

    invoke-virtual {p0, v1}, Lz5/j7;->u(I)V

    invoke-virtual {p0}, Lz5/j7;->A()I

    move-result v2

    and-int/lit16 v3, v2, 0x80

    if-eqz v3, :cond_1c

    invoke-virtual {p0, v1}, Lz5/j7;->u(I)V

    :cond_1c
    and-int/lit8 v3, v2, 0x40

    if-eqz v3, :cond_27

    invoke-virtual {p0}, Lz5/j7;->B()I

    move-result v3

    invoke-virtual {p0, v3}, Lz5/j7;->u(I)V

    :cond_27
    and-int/lit8 v2, v2, 0x20

    if-eqz v2, :cond_2e

    invoke-virtual {p0, v1}, Lz5/j7;->u(I)V

    :cond_2e
    invoke-virtual {p0, p1}, Lz5/j7;->u(I)V

    invoke-static {p0}, Lz5/qv1;->h(Lz5/j7;)I

    invoke-virtual {p0}, Lz5/j7;->A()I

    move-result v1

    invoke-static {v1}, Lz5/d7;->d(I)Ljava/lang/String;

    move-result-object v1

    const-string v2, "audio/mpeg"

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

    move-result v2

    if-nez v2, :cond_73

    const-string v2, "audio/vnd.dts"

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

    move-result v2

    if-nez v2, :cond_73

    const-string v2, "audio/vnd.dts.hd"

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

    move-result v2

    if-eqz v2, :cond_55

    goto :goto_73

    :cond_55
    invoke-virtual {p0, v0}, Lz5/j7;->u(I)V

    invoke-virtual {p0, p1}, Lz5/j7;->u(I)V

    invoke-static {p0}, Lz5/qv1;->h(Lz5/j7;)I

    move-result p1

    new-array v0, p1, [B

    const/4 v2, 0x0

    .line 1
    iget-object v3, p0, Lz5/j7;->b:[B

    iget v4, p0, Lz5/j7;->c:I

    invoke-static {v3, v4, v0, v2, p1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    iget v2, p0, Lz5/j7;->c:I

    add-int/2addr v2, p1

    iput v2, p0, Lz5/j7;->c:I

    .line 2
    invoke-static {v1, v0}, Landroid/util/Pair;->create(Ljava/lang/Object;Ljava/lang/Object;)Landroid/util/Pair;

    move-result-object p0

    return-object p0

    :cond_73
    :goto_73
    const/4 p0, 0x0

    invoke-static {v1, p0}, Landroid/util/Pair;->create(Ljava/lang/Object;Ljava/lang/Object;)Landroid/util/Pair;

    move-result-object p0

    return-object p0
.end method

.method public static g(Lz5/j7;II)Landroid/util/Pair;
    .registers 20
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lz5/j7;",
            "II)",
            "Landroid/util/Pair<",
            "Ljava/lang/Integer;",
            "Lz5/bw1;",
            ">;"
        }
    .end annotation

    move-object/from16 v0, p0

    invoke-virtual/range {p0 .. p0}, Lz5/j7;->o()I

    move-result v1

    :goto_6
    sub-int v2, v1, p1

    move/from16 v4, p2

    if-ge v2, v4, :cond_12d

    invoke-virtual {v0, v1}, Lz5/j7;->q(I)V

    invoke-virtual/range {p0 .. p0}, Lz5/j7;->K()I

    move-result v2

    const/4 v5, 0x0

    const/4 v6, 0x1

    if-lez v2, :cond_19

    move v7, v6

    goto :goto_1a

    :cond_19
    move v7, v5

    :goto_1a
    const-string v8, "childAtomSize must be positive"

    invoke-static {v7, v8}, Lcom/google/android/gms/internal/ads/g9;->b(ZLjava/lang/String;)V

    invoke-virtual/range {p0 .. p0}, Lz5/j7;->K()I

    move-result v7

    const v8, 0x73696e66

    if-ne v7, v8, :cond_12a

    add-int/lit8 v7, v1, 0x8

    const/4 v8, -0x1

    move v10, v5

    move v9, v8

    const/4 v11, 0x0

    const/4 v15, 0x0

    :goto_2f
    sub-int v12, v7, v1

    const/4 v13, 0x4

    if-ge v12, v2, :cond_65

    invoke-virtual {v0, v7}, Lz5/j7;->q(I)V

    invoke-virtual/range {p0 .. p0}, Lz5/j7;->K()I

    move-result v12

    invoke-virtual/range {p0 .. p0}, Lz5/j7;->K()I

    move-result v14

    const v3, 0x66726d61

    if-ne v14, v3, :cond_4d

    invoke-virtual/range {p0 .. p0}, Lz5/j7;->K()I

    move-result v3

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v15

    goto :goto_63

    :cond_4d
    const v3, 0x7363686d

    if-ne v14, v3, :cond_5c

    invoke-virtual {v0, v13}, Lz5/j7;->u(I)V

    sget-object v3, Lz5/m91;->b:Ljava/nio/charset/Charset;

    invoke-virtual {v0, v13, v3}, Lz5/j7;->e(ILjava/nio/charset/Charset;)Ljava/lang/String;

    move-result-object v11

    goto :goto_63

    :cond_5c
    const v3, 0x73636869

    if-ne v14, v3, :cond_63

    move v9, v7

    move v10, v12

    :cond_63
    :goto_63
    add-int/2addr v7, v12

    goto :goto_2f

    :cond_65
    const-string v3, "cenc"

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

    move-result v3

    if-nez v3, :cond_89

    const-string v3, "cbc1"

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

    move-result v3

    if-nez v3, :cond_89

    const-string v3, "cens"

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

    move-result v3

    if-nez v3, :cond_89

    const-string v3, "cbcs"

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

    move-result v3

    if-eqz v3, :cond_86

    goto :goto_89

    :cond_86
    const/4 v3, 0x0

    goto/16 :goto_126

    :cond_89
    :goto_89
    if-eqz v15, :cond_8d

    move v3, v6

    goto :goto_8e

    :cond_8d
    move v3, v5

    :goto_8e
    const-string v7, "frma atom is mandatory"

    invoke-static {v3, v7}, Lcom/google/android/gms/internal/ads/g9;->b(ZLjava/lang/String;)V

    if-eq v9, v8, :cond_97

    move v3, v6

    goto :goto_98

    :cond_97
    move v3, v5

    :goto_98
    const-string v7, "schi atom is mandatory"

    invoke-static {v3, v7}, Lcom/google/android/gms/internal/ads/g9;->b(ZLjava/lang/String;)V

    add-int/lit8 v3, v9, 0x8

    :goto_9f
    sub-int v7, v3, v9

    if-ge v7, v10, :cond_116

    invoke-virtual {v0, v3}, Lz5/j7;->q(I)V

    invoke-virtual/range {p0 .. p0}, Lz5/j7;->K()I

    move-result v7

    invoke-virtual/range {p0 .. p0}, Lz5/j7;->K()I

    move-result v8

    const v12, 0x74656e63

    if-ne v8, v12, :cond_112

    invoke-virtual/range {p0 .. p0}, Lz5/j7;->K()I

    move-result v3

    invoke-virtual {v0, v6}, Lz5/j7;->u(I)V

    shr-int/lit8 v3, v3, 0x18

    and-int/lit16 v3, v3, 0xff

    if-nez v3, :cond_c6

    invoke-virtual {v0, v6}, Lz5/j7;->u(I)V

    move v3, v5

    move v14, v3

    goto :goto_d0

    :cond_c6
    invoke-virtual/range {p0 .. p0}, Lz5/j7;->A()I

    move-result v3

    and-int/lit16 v7, v3, 0xf0

    shr-int/2addr v7, v13

    and-int/lit8 v3, v3, 0xf

    move v14, v7

    :goto_d0
    invoke-virtual/range {p0 .. p0}, Lz5/j7;->A()I

    move-result v7

    if-ne v7, v6, :cond_d8

    move v10, v6

    goto :goto_d9

    :cond_d8
    move v10, v5

    :goto_d9
    invoke-virtual/range {p0 .. p0}, Lz5/j7;->A()I

    move-result v12

    const/16 v7, 0x10

    new-array v13, v7, [B

    .line 1
    iget-object v8, v0, Lz5/j7;->b:[B

    iget v9, v0, Lz5/j7;->c:I

    invoke-static {v8, v9, v13, v5, v7}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    iget v8, v0, Lz5/j7;->c:I

    add-int/2addr v8, v7

    iput v8, v0, Lz5/j7;->c:I

    if-eqz v10, :cond_106

    if-nez v12, :cond_106

    .line 2
    invoke-virtual/range {p0 .. p0}, Lz5/j7;->A()I

    move-result v7

    new-array v8, v7, [B

    .line 3
    iget-object v9, v0, Lz5/j7;->b:[B

    iget v6, v0, Lz5/j7;->c:I

    invoke-static {v9, v6, v8, v5, v7}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    iget v6, v0, Lz5/j7;->c:I

    add-int/2addr v6, v7

    iput v6, v0, Lz5/j7;->c:I

    move-object/from16 v16, v8

    goto :goto_108

    :cond_106
    const/16 v16, 0x0

    .line 4
    :goto_108
    new-instance v6, Lz5/bw1;

    move-object v9, v6

    move-object v8, v15

    move v15, v3

    invoke-direct/range {v9 .. v16}, Lz5/bw1;-><init>(ZLjava/lang/String;I[BII[B)V

    move-object v3, v6

    goto :goto_118

    :cond_112
    move-object v8, v15

    add-int/2addr v3, v7

    const/4 v6, 0x1

    goto :goto_9f

    :cond_116
    move-object v8, v15

    const/4 v3, 0x0

    :goto_118
    if-eqz v3, :cond_11b

    const/4 v5, 0x1

    :cond_11b
    const-string v6, "tenc atom is mandatory"

    invoke-static {v5, v6}, Lcom/google/android/gms/internal/ads/g9;->b(ZLjava/lang/String;)V

    sget v5, Lz5/r7;->a:I

    invoke-static {v8, v3}, Landroid/util/Pair;->create(Ljava/lang/Object;Ljava/lang/Object;)Landroid/util/Pair;

    move-result-object v3

    :goto_126
    if-nez v3, :cond_129

    goto :goto_12a

    :cond_129
    return-object v3

    :cond_12a
    :goto_12a
    add-int/2addr v1, v2

    goto/16 :goto_6

    :cond_12d
    const/4 v1, 0x0

    return-object v1
.end method

.method public static h(Lz5/j7;)I
    .registers 4

    invoke-virtual {p0}, Lz5/j7;->A()I

    move-result v0

    and-int/lit8 v1, v0, 0x7f

    :goto_6
    const/16 v2, 0x80

    and-int/2addr v0, v2

    if-ne v0, v2, :cond_15

    invoke-virtual {p0}, Lz5/j7;->A()I

    move-result v0

    shl-int/lit8 v1, v1, 0x7

    and-int/lit8 v2, v0, 0x7f

    or-int/2addr v1, v2

    goto :goto_6

    :cond_15
    return v1
.end method
