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


# static fields
.field public static final a:I

.field public static final b:I

.field public static final c:I

.field public static final d:I

.field public static final e:I

.field public static final f:I

.field public static final g:I

.field public static final h:I


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

    const-string v0, "vide"

    invoke-static {v0}, Lz5/be;->g(Ljava/lang/String;)I

    move-result v0

    sput v0, Lz5/ra;->a:I

    const-string v0, "soun"

    invoke-static {v0}, Lz5/be;->g(Ljava/lang/String;)I

    move-result v0

    sput v0, Lz5/ra;->b:I

    const-string v0, "text"

    invoke-static {v0}, Lz5/be;->g(Ljava/lang/String;)I

    move-result v0

    sput v0, Lz5/ra;->c:I

    const-string v0, "sbtl"

    invoke-static {v0}, Lz5/be;->g(Ljava/lang/String;)I

    move-result v0

    sput v0, Lz5/ra;->d:I

    const-string v0, "subt"

    invoke-static {v0}, Lz5/be;->g(Ljava/lang/String;)I

    move-result v0

    sput v0, Lz5/ra;->e:I

    const-string v0, "clcp"

    invoke-static {v0}, Lz5/be;->g(Ljava/lang/String;)I

    move-result v0

    sput v0, Lz5/ra;->f:I

    const-string v0, "cenc"

    invoke-static {v0}, Lz5/be;->g(Ljava/lang/String;)I

    move-result v0

    sput v0, Lz5/ra;->g:I

    const-string v0, "meta"

    invoke-static {v0}, Lz5/be;->g(Ljava/lang/String;)I

    move-result v0

    sput v0, Lz5/ra;->h:I

    return-void
.end method

.method public static a(Lz5/la;Lz5/ma;JLcom/google/android/gms/internal/ads/i;Z)Lz5/ab;
    .registers 72

    move-object/from16 v0, p0

    sget v1, Lz5/na;->F:I

    invoke-virtual {v0, v1}, Lz5/la;->c(I)Lz5/la;

    move-result-object v1

    sget v2, Lz5/na;->T:I

    invoke-virtual {v1, v2}, Lz5/la;->b(I)Lz5/ma;

    move-result-object v2

    iget-object v2, v2, Lz5/ma;->P0:Lz5/j7;

    const/16 v3, 0x10

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

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

    move-result v2

    sget v4, Lz5/ra;->b:I

    const/4 v5, 0x3

    const/4 v6, 0x4

    const/4 v7, -0x1

    const/4 v9, 0x1

    if-ne v2, v4, :cond_23

    move v12, v9

    goto :goto_43

    :cond_23
    sget v4, Lz5/ra;->a:I

    if-ne v2, v4, :cond_29

    const/4 v12, 0x2

    goto :goto_43

    :cond_29
    sget v4, Lz5/ra;->c:I

    if-eq v2, v4, :cond_42

    sget v4, Lz5/ra;->d:I

    if-eq v2, v4, :cond_42

    sget v4, Lz5/ra;->e:I

    if-eq v2, v4, :cond_42

    sget v4, Lz5/ra;->f:I

    if-ne v2, v4, :cond_3a

    goto :goto_42

    :cond_3a
    sget v4, Lz5/ra;->h:I

    if-ne v2, v4, :cond_40

    move v12, v6

    goto :goto_43

    :cond_40
    move v12, v7

    goto :goto_43

    :cond_42
    :goto_42
    move v12, v5

    :goto_43
    const/4 v2, 0x0

    if-ne v12, v7, :cond_47

    return-object v2

    :cond_47
    sget v4, Lz5/na;->P:I

    invoke-virtual {v0, v4}, Lz5/la;->b(I)Lz5/ma;

    move-result-object v4

    iget-object v4, v4, Lz5/ma;->P0:Lz5/j7;

    const/16 v10, 0x8

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

    invoke-virtual {v4}, Lz5/j7;->F()I

    move-result v11

    shr-int/lit8 v11, v11, 0x18

    and-int/lit16 v11, v11, 0xff

    if-nez v11, :cond_60

    move v13, v10

    goto :goto_61

    :cond_60
    move v13, v3

    :goto_61
    invoke-virtual {v4, v13}, Lz5/j7;->t(I)V

    invoke-virtual {v4}, Lz5/j7;->F()I

    move-result v13

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

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

    move-result v14

    if-nez v11, :cond_73

    move v15, v6

    goto :goto_74

    :cond_73
    move v15, v10

    :goto_74
    const/4 v8, 0x0

    :goto_75
    const-wide/16 v18, 0x0

    const-wide v20, -0x7fffffffffffffffL    # -4.9E-324

    if-ge v8, v15, :cond_99

    iget-object v2, v4, Lz5/j7;->b:[B

    add-int v23, v14, v8

    aget-byte v2, v2, v23

    if-eq v2, v7, :cond_96

    if-nez v11, :cond_8d

    invoke-virtual {v4}, Lz5/j7;->D()J

    move-result-wide v14

    goto :goto_91

    :cond_8d
    invoke-virtual {v4}, Lz5/j7;->L()J

    move-result-wide v14

    :goto_91
    cmp-long v2, v14, v18

    if-nez v2, :cond_9e

    goto :goto_9c

    :cond_96
    add-int/lit8 v8, v8, 0x1

    goto :goto_75

    :cond_99
    invoke-virtual {v4, v15}, Lz5/j7;->t(I)V

    :goto_9c
    move-wide/from16 v14, v20

    :cond_9e
    invoke-virtual {v4, v3}, Lz5/j7;->t(I)V

    invoke-virtual {v4}, Lz5/j7;->F()I

    move-result v2

    invoke-virtual {v4}, Lz5/j7;->F()I

    move-result v8

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

    invoke-virtual {v4}, Lz5/j7;->F()I

    move-result v11

    invoke-virtual {v4}, Lz5/j7;->F()I

    move-result v4

    const/high16 v7, 0x10000

    const/high16 v6, -0x10000

    if-nez v2, :cond_c6

    if-ne v8, v7, :cond_c5

    if-ne v11, v6, :cond_c4

    if-nez v4, :cond_c3

    const/16 v2, 0x5a

    goto :goto_e3

    :cond_c3
    move v11, v6

    :cond_c4
    move v8, v7

    :cond_c5
    const/4 v2, 0x0

    :cond_c6
    if-nez v2, :cond_d7

    if-ne v8, v6, :cond_d4

    if-ne v11, v7, :cond_d3

    if-nez v4, :cond_d1

    const/16 v2, 0x10e

    goto :goto_e3

    :cond_d1
    move v8, v6

    goto :goto_d5

    :cond_d3
    move v8, v6

    :cond_d4
    move v7, v11

    :goto_d5
    move v11, v7

    const/4 v2, 0x0

    :cond_d7
    if-ne v2, v6, :cond_e2

    if-nez v8, :cond_e2

    if-nez v11, :cond_e2

    if-ne v4, v6, :cond_e2

    const/16 v2, 0xb4

    goto :goto_e3

    :cond_e2
    const/4 v2, 0x0

    :goto_e3
    cmp-long v4, p2, v20

    if-nez v4, :cond_ec

    move-object/from16 v4, p1

    move-wide/from16 v25, v14

    goto :goto_f0

    :cond_ec
    move-object/from16 v4, p1

    move-wide/from16 v25, p2

    :goto_f0
    iget-object v4, v4, Lz5/ma;->P0:Lz5/j7;

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

    invoke-virtual {v4}, Lz5/j7;->F()I

    move-result v6

    shr-int/lit8 v6, v6, 0x18

    and-int/lit16 v6, v6, 0xff

    if-nez v6, :cond_101

    move v6, v10

    goto :goto_102

    :cond_101
    move v6, v3

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

    invoke-virtual {v4}, Lz5/j7;->D()J

    move-result-wide v6

    cmp-long v4, v25, v20

    if-nez v4, :cond_10e

    goto :goto_119

    :cond_10e
    const-wide/32 v27, 0xf4240

    move-wide/from16 v29, v6

    invoke-static/range {v25 .. v30}, Lz5/be;->e(JJJ)J

    move-result-wide v14

    move-wide/from16 v20, v14

    :goto_119
    sget v4, Lz5/na;->G:I

    invoke-virtual {v1, v4}, Lz5/la;->c(I)Lz5/la;

    move-result-object v4

    sget v8, Lz5/na;->H:I

    invoke-virtual {v4, v8}, Lz5/la;->c(I)Lz5/la;

    move-result-object v4

    sget v8, Lz5/na;->S:I

    invoke-virtual {v1, v8}, Lz5/la;->b(I)Lz5/ma;

    move-result-object v1

    iget-object v1, v1, Lz5/ma;->P0:Lz5/j7;

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

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

    move-result v8

    shr-int/lit8 v8, v8, 0x18

    and-int/lit16 v8, v8, 0xff

    if-nez v8, :cond_13c

    move v11, v10

    goto :goto_13d

    :cond_13c
    move v11, v3

    :goto_13d
    invoke-virtual {v1, v11}, Lz5/j7;->t(I)V

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

    move-result-wide v14

    if-nez v8, :cond_148

    const/4 v8, 0x4

    goto :goto_149

    :cond_148
    move v8, v10

    :goto_149
    invoke-virtual {v1, v8}, Lz5/j7;->t(I)V

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

    move-result v1

    new-instance v8, Ljava/lang/StringBuilder;

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

    shr-int/lit8 v11, v1, 0xa

    and-int/lit8 v11, v11, 0x1f

    add-int/lit8 v11, v11, 0x60

    int-to-char v11, v11

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

    shr-int/lit8 v11, v1, 0x5

    and-int/lit8 v11, v11, 0x1f

    add-int/lit8 v11, v11, 0x60

    int-to-char v11, v11

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

    and-int/lit8 v1, v1, 0x1f

    add-int/lit8 v1, v1, 0x60

    int-to-char v1, v1

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

    invoke-static {v14, v15}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

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

    move-result-object v8

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

    move-result-object v1

    sget v8, Lz5/na;->U:I

    invoke-virtual {v4, v8}, Lz5/la;->b(I)Lz5/ma;

    move-result-object v4

    iget-object v4, v4, Lz5/ma;->P0:Lz5/j7;

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

    check-cast v8, Ljava/lang/String;

    const/16 v11, 0xc

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

    invoke-virtual {v4}, Lz5/j7;->F()I

    move-result v11

    new-instance v14, Lz5/o7;

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

    const/4 v15, 0x0

    :goto_198
    if-ge v15, v11, :cond_77d

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

    move-result v5

    invoke-virtual {v4}, Lz5/j7;->F()I

    move-result v3

    if-lez v3, :cond_1a6

    move v10, v9

    goto :goto_1a7

    :cond_1a6
    const/4 v10, 0x0

    :goto_1a7
    const-string v9, "childAtomSize should be positive"

    invoke-static {v10, v9}, Lcom/google/android/gms/internal/ads/r;->j(ZLjava/lang/Object;)V

    invoke-virtual {v4}, Lz5/j7;->F()I

    move-result v10

    move/from16 p1, v11

    sget v11, Lz5/na;->c:I

    if-eq v10, v11, :cond_5c6

    sget v11, Lz5/na;->d:I

    if-eq v10, v11, :cond_5c6

    sget v11, Lz5/na;->a0:I

    if-eq v10, v11, :cond_5c6

    sget v11, Lz5/na;->l0:I

    if-eq v10, v11, :cond_5c6

    sget v11, Lz5/na;->e:I

    if-eq v10, v11, :cond_5c6

    sget v11, Lz5/na;->f:I

    if-eq v10, v11, :cond_5c6

    sget v11, Lz5/na;->g:I

    if-eq v10, v11, :cond_5c6

    sget v11, Lz5/na;->K0:I

    if-eq v10, v11, :cond_5c6

    sget v11, Lz5/na;->L0:I

    if-ne v10, v11, :cond_1d8

    goto/16 :goto_5c6

    :cond_1d8
    sget v11, Lz5/na;->j:I

    if-eq v10, v11, :cond_2f0

    sget v11, Lz5/na;->b0:I

    if-eq v10, v11, :cond_2f0

    sget v11, Lz5/na;->o:I

    if-eq v10, v11, :cond_2f0

    sget v11, Lz5/na;->q:I

    if-eq v10, v11, :cond_2f0

    sget v11, Lz5/na;->s:I

    if-eq v10, v11, :cond_2f0

    sget v11, Lz5/na;->v:I

    if-eq v10, v11, :cond_2f0

    sget v11, Lz5/na;->t:I

    if-eq v10, v11, :cond_2f0

    sget v11, Lz5/na;->u:I

    if-eq v10, v11, :cond_2f0

    sget v11, Lz5/na;->y0:I

    if-eq v10, v11, :cond_2f0

    sget v11, Lz5/na;->z0:I

    if-eq v10, v11, :cond_2f0

    sget v11, Lz5/na;->m:I

    if-eq v10, v11, :cond_2f0

    sget v11, Lz5/na;->n:I

    if-eq v10, v11, :cond_2f0

    sget v11, Lz5/na;->k:I

    if-eq v10, v11, :cond_2f0

    sget v11, Lz5/na;->O0:I

    if-ne v10, v11, :cond_212

    goto/16 :goto_2f0

    :cond_212
    sget v9, Lz5/na;->k0:I

    if-eq v10, v9, :cond_279

    sget v11, Lz5/na;->u0:I

    if-eq v10, v11, :cond_279

    sget v11, Lz5/na;->v0:I

    if-eq v10, v11, :cond_279

    sget v11, Lz5/na;->w0:I

    if-eq v10, v11, :cond_279

    sget v11, Lz5/na;->x0:I

    if-ne v10, v11, :cond_227

    goto :goto_279

    :cond_227
    sget v9, Lz5/na;->N0:I

    if-ne v10, v9, :cond_26d

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

    move-result-object v39

    .line 1
    new-instance v9, Lz5/j8;

    move-object/from16 v38, v9

    const/16 v40, 0x0

    const/16 v42, 0x0

    const/16 v43, -0x1

    const/16 v44, -0x1

    const/16 v45, -0x1

    const/16 v46, -0x1

    const/high16 v47, -0x40800000    # -1.0f

    const/16 v48, -0x1

    const/high16 v49, -0x40800000    # -1.0f

    const/16 v50, 0x0

    const/16 v51, -0x1

    const/16 v52, 0x0

    const/16 v53, -0x1

    const/16 v54, -0x1

    const/16 v55, -0x1

    const/16 v56, -0x1

    const/16 v57, -0x1

    const/16 v58, 0x0

    const/16 v59, 0x0

    const/16 v60, -0x1

    const-wide v61, 0x7fffffffffffffffL

    const/16 v63, 0x0

    const/16 v65, 0x0

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

    move-object/from16 v64, p4

    invoke-direct/range {v38 .. v65}, Lz5/j8;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IIIIFIF[BILz5/ee;IIIIIILjava/lang/String;IJLjava/util/List;Lcom/google/android/gms/internal/ads/i;Lz5/rb;)V

    .line 2
    iput-object v9, v14, Lz5/o7;->b:Ljava/lang/Object;

    :cond_26d
    move-object/from16 v39, v1

    move/from16 v40, v2

    move-wide/from16 p2, v6

    move/from16 v38, v12

    move v2, v15

    move v6, v3

    goto/16 :goto_5c3

    :cond_279
    :goto_279
    add-int/lit8 v11, v5, 0x10

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

    const-wide v25, 0x7fffffffffffffffL

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

    if-ne v10, v9, :cond_290

    move-wide/from16 p2, v6

    move-wide/from16 v31, v25

    const/16 v33, 0x0

    move-object/from16 v26, v11

    goto :goto_2d7

    :cond_290
    sget v9, Lz5/na;->u0:I

    if-ne v10, v9, :cond_2b4

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

    new-array v10, v9, [B

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

    move-wide/from16 p2, v6

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

    const/4 v7, 0x0

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

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

    add-int/2addr v6, v9

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

    .line 4
    invoke-static {v10}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List;

    move-result-object v6

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

    move-object/from16 v33, v6

    move-wide/from16 v31, v25

    move-object/from16 v26, v7

    goto :goto_2d7

    :cond_2b4
    move-wide/from16 p2, v6

    sget v6, Lz5/na;->v0:I

    if-ne v10, v6, :cond_2bd

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

    goto :goto_2d1

    :cond_2bd
    sget v6, Lz5/na;->w0:I

    if-ne v10, v6, :cond_2c8

    move-object/from16 v26, v11

    move-wide/from16 v31, v18

    const/16 v33, 0x0

    goto :goto_2d7

    :cond_2c8
    sget v6, Lz5/na;->x0:I

    if-ne v10, v6, :cond_2ea

    const/4 v6, 0x1

    iput v6, v14, Lz5/o7;->d:I

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

    :goto_2d1
    move-wide/from16 v31, v25

    const/16 v33, 0x0

    move-object/from16 v26, v6

    :goto_2d7
    invoke-static {v13}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;

    move-result-object v25

    const/16 v27, 0x0

    const/16 v28, 0x0

    move-object/from16 v29, v8

    move-object/from16 v30, p4

    invoke-static/range {v25 .. v33}, Lz5/j8;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Lcom/google/android/gms/internal/ads/i;JLjava/util/List;)Lz5/j8;

    move-result-object v6

    iput-object v6, v14, Lz5/o7;->b:Ljava/lang/Object;

    goto :goto_331

    :cond_2ea
    new-instance v0, Ljava/lang/IllegalStateException;

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

    throw v0

    :cond_2f0
    :goto_2f0
    move-wide/from16 p2, v6

    add-int/lit8 v6, v5, 0x10

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

    const/4 v6, 0x6

    if-eqz p5, :cond_302

    invoke-virtual {v4}, Lz5/j7;->y()I

    move-result v7

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

    goto :goto_308

    :cond_302
    const/16 v7, 0x8

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

    const/4 v7, 0x0

    :goto_308
    if-eqz v7, :cond_33f

    const/4 v11, 0x1

    if-ne v7, v11, :cond_30e

    goto :goto_33f

    :cond_30e
    const/4 v11, 0x2

    if-ne v7, v11, :cond_331

    const/16 v7, 0x10

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

    invoke-virtual {v4}, Lz5/j7;->G()J

    move-result-wide v25

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

    move-result-wide v25

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

    move-result-wide v6

    long-to-int v6, v6

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

    move-result v7

    const/16 v11, 0x14

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

    move-object/from16 v39, v1

    move/from16 v38, v12

    goto :goto_373

    :cond_331
    :goto_331
    move-object/from16 v39, v1

    move/from16 v40, v2

    move/from16 v41, v3

    move/from16 v38, v12

    move/from16 v42, v15

    const/4 v3, 0x4

    const/4 v15, -0x1

    goto/16 :goto_5bf

    :cond_33f
    :goto_33f
    invoke-virtual {v4}, Lz5/j7;->y()I

    move-result v6

    const/4 v11, 0x6

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

    .line 5
    iget-object v11, v4, Lz5/j7;->b:[B

    move/from16 v26, v6

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

    move/from16 v38, v12

    add-int/lit8 v12, v6, 0x1

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

    aget-byte v6, v11, v6

    move-object/from16 v39, v1

    add-int/lit8 v1, v12, 0x1

    iput v1, v4, Lz5/j7;->c:I

    aget-byte v11, v11, v12

    const/4 v12, 0x2

    add-int/2addr v1, v12

    iput v1, v4, Lz5/j7;->c:I

    and-int/lit16 v1, v6, 0xff

    const/16 v6, 0x8

    shl-int/2addr v1, v6

    and-int/lit16 v6, v11, 0xff

    or-int/2addr v6, v1

    const/4 v1, 0x1

    if-ne v7, v1, :cond_371

    const/16 v1, 0x10

    .line 6
    invoke-virtual {v4, v1}, Lz5/j7;->t(I)V

    :cond_371
    move/from16 v7, v26

    :goto_373
    invoke-virtual {v4}, Lz5/j7;->o()I

    move-result v1

    sget v11, Lz5/na;->b0:I

    if-ne v10, v11, :cond_382

    invoke-static {v4, v5, v3, v14, v15}, Lz5/ra;->c(Lz5/j7;IILz5/o7;I)I

    move-result v10

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

    :cond_382
    sget v11, Lz5/na;->o:I

    const-string v12, "audio/raw"

    if-ne v10, v11, :cond_38b

    const-string v10, "audio/ac3"

    goto :goto_3d4

    :cond_38b
    sget v11, Lz5/na;->q:I

    if-ne v10, v11, :cond_392

    const-string v10, "audio/eac3"

    goto :goto_3d4

    :cond_392
    sget v11, Lz5/na;->s:I

    if-ne v10, v11, :cond_399

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

    goto :goto_3d4

    :cond_399
    sget v11, Lz5/na;->t:I

    if-eq v10, v11, :cond_3d2

    sget v11, Lz5/na;->u:I

    if-ne v10, v11, :cond_3a2

    goto :goto_3d2

    :cond_3a2
    sget v11, Lz5/na;->v:I

    if-ne v10, v11, :cond_3a9

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

    goto :goto_3d4

    :cond_3a9
    sget v11, Lz5/na;->y0:I

    if-ne v10, v11, :cond_3b0

    const-string v10, "audio/3gpp"

    goto :goto_3d4

    :cond_3b0
    sget v11, Lz5/na;->z0:I

    if-ne v10, v11, :cond_3b7

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

    goto :goto_3d4

    :cond_3b7
    sget v11, Lz5/na;->m:I

    if-eq v10, v11, :cond_3d0

    sget v11, Lz5/na;->n:I

    if-ne v10, v11, :cond_3c0

    goto :goto_3d0

    :cond_3c0
    sget v11, Lz5/na;->k:I

    if-ne v10, v11, :cond_3c7

    const-string v10, "audio/mpeg"

    goto :goto_3d4

    :cond_3c7
    sget v11, Lz5/na;->O0:I

    if-ne v10, v11, :cond_3ce

    const-string v10, "audio/alac"

    goto :goto_3d4

    :cond_3ce
    const/4 v10, 0x0

    goto :goto_3d4

    :cond_3d0
    :goto_3d0
    move-object v10, v12

    goto :goto_3d4

    :cond_3d2
    :goto_3d2
    const-string v10, "audio/vnd.dts.hd"

    :goto_3d4
    const/16 v31, 0x0

    :goto_3d6
    sub-int v11, v1, v5

    if-ge v11, v3, :cond_57e

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

    invoke-virtual {v4}, Lz5/j7;->F()I

    move-result v11

    move/from16 v26, v11

    if-lez v11, :cond_3e7

    const/4 v11, 0x1

    goto :goto_3e8

    :cond_3e7
    const/4 v11, 0x0

    :goto_3e8
    invoke-static {v11, v9}, Lcom/google/android/gms/internal/ads/r;->j(ZLjava/lang/Object;)V

    invoke-virtual {v4}, Lz5/j7;->F()I

    move-result v11

    sget v0, Lz5/na;->K:I

    move/from16 v40, v2

    if-eq v11, v0, :cond_4cb

    if-eqz p5, :cond_3fd

    sget v2, Lz5/na;->l:I

    if-ne v11, v2, :cond_3fd

    goto/16 :goto_4cb

    :cond_3fd
    sget v0, Lz5/na;->p:I

    if-ne v11, v0, :cond_447

    add-int/lit8 v0, v1, 0x8

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

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

    move-result-object v0

    .line 7
    invoke-virtual {v4}, Lz5/j7;->w()I

    move-result v2

    sget-object v27, Lz5/r8;->b:[I

    and-int/lit16 v2, v2, 0xc0

    const/4 v11, 0x6

    shr-int/2addr v2, v11

    move/from16 v11, v26

    aget v28, v27, v2

    invoke-virtual {v4}, Lz5/j7;->w()I

    move-result v2

    sget-object v25, Lz5/r8;->c:[I

    and-int/lit8 v26, v2, 0x38

    const/16 v27, 0x3

    shr-int/lit8 v26, v26, 0x3

    aget v25, v25, v26

    const/16 v24, 0x4

    and-int/lit8 v2, v2, 0x4

    if-eqz v2, :cond_42e

    add-int/lit8 v25, v25, 0x1

    :cond_42e
    move/from16 v27, v25

    const-string v26, "audio/ac3"

    move-object/from16 v25, v0

    move-object/from16 v29, p4

    move-object/from16 v30, v8

    invoke-static/range {v25 .. v30}, Lz5/j8;->b(Ljava/lang/String;Ljava/lang/String;IILcom/google/android/gms/internal/ads/i;Ljava/lang/String;)Lz5/j8;

    move-result-object v0

    .line 8
    iput-object v0, v14, Lz5/o7;->b:Ljava/lang/Object;

    move/from16 v41, v3

    move/from16 v42, v15

    const/4 v15, 0x0

    const/16 v32, 0x6

    goto/16 :goto_4c7

    :cond_447
    move v2, v11

    move/from16 v11, v26

    sget v0, Lz5/na;->r:I

    if-ne v2, v0, :cond_48a

    add-int/lit8 v0, v1, 0x8

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

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

    move-result-object v25

    const/4 v0, 0x2

    .line 9
    invoke-virtual {v4, v0}, Lz5/j7;->t(I)V

    invoke-virtual {v4}, Lz5/j7;->w()I

    move-result v0

    sget-object v2, Lz5/r8;->b:[I

    and-int/lit16 v0, v0, 0xc0

    const/16 v32, 0x6

    shr-int/lit8 v0, v0, 0x6

    aget v28, v2, v0

    invoke-virtual {v4}, Lz5/j7;->w()I

    move-result v0

    sget-object v2, Lz5/r8;->c:[I

    and-int/lit8 v26, v0, 0xe

    const/16 v27, 0x1

    shr-int/lit8 v26, v26, 0x1

    aget v2, v2, v26

    and-int/lit8 v0, v0, 0x1

    if-eqz v0, :cond_47d

    add-int/lit8 v2, v2, 0x1

    :cond_47d
    move/from16 v27, v2

    const-string v26, "audio/eac3"

    move-object/from16 v29, p4

    move-object/from16 v30, v8

    invoke-static/range {v25 .. v30}, Lz5/j8;->b(Ljava/lang/String;Ljava/lang/String;IILcom/google/android/gms/internal/ads/i;Ljava/lang/String;)Lz5/j8;

    move-result-object v0

    goto :goto_4a2

    :cond_48a
    const/16 v32, 0x6

    .line 10
    sget v0, Lz5/na;->w:I

    if-ne v2, v0, :cond_4a5

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

    move-result-object v25

    move-object/from16 v26, v10

    move/from16 v27, v7

    move/from16 v28, v6

    move-object/from16 v29, p4

    move-object/from16 v30, v8

    invoke-static/range {v25 .. v30}, Lz5/j8;->b(Ljava/lang/String;Ljava/lang/String;IILcom/google/android/gms/internal/ads/i;Ljava/lang/String;)Lz5/j8;

    move-result-object v0

    :goto_4a2
    iput-object v0, v14, Lz5/o7;->b:Ljava/lang/Object;

    goto :goto_4c2

    :cond_4a5
    sget v0, Lz5/na;->O0:I

    if-ne v2, v0, :cond_4c2

    new-array v0, v11, [B

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

    .line 11
    iget-object v2, v4, Lz5/j7;->b:[B

    move/from16 v41, v3

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

    move/from16 v42, v15

    const/4 v15, 0x0

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

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

    add-int/2addr v2, v11

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

    move-object/from16 v31, v0

    goto :goto_4c7

    :cond_4c2
    :goto_4c2
    move/from16 v41, v3

    move/from16 v42, v15

    const/4 v15, 0x0

    :goto_4c7
    const/4 v3, 0x4

    const/4 v15, -0x1

    goto/16 :goto_573

    :cond_4cb
    :goto_4cb
    move/from16 v41, v3

    move v2, v11

    move/from16 v42, v15

    move/from16 v11, v26

    const/4 v15, 0x0

    const/16 v32, 0x6

    if-ne v2, v0, :cond_4d9

    move v0, v1

    goto :goto_4fc

    .line 12
    :cond_4d9
    invoke-virtual {v4}, Lz5/j7;->o()I

    move-result v0

    :goto_4dd
    sub-int v2, v0, v1

    if-ge v2, v11, :cond_4fb

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

    invoke-virtual {v4}, Lz5/j7;->F()I

    move-result v2

    if-lez v2, :cond_4ec

    const/4 v3, 0x1

    goto :goto_4ed

    :cond_4ec
    move v3, v15

    :goto_4ed
    invoke-static {v3, v9}, Lcom/google/android/gms/internal/ads/r;->j(ZLjava/lang/Object;)V

    invoke-virtual {v4}, Lz5/j7;->F()I

    move-result v3

    sget v15, Lz5/na;->K:I

    if-eq v3, v15, :cond_4fc

    add-int/2addr v0, v2

    const/4 v15, 0x0

    goto :goto_4dd

    :cond_4fb
    const/4 v0, -0x1

    :cond_4fc
    :goto_4fc
    const/4 v2, -0x1

    if-eq v0, v2, :cond_571

    invoke-static {v4, v0}, Lz5/ra;->b(Lz5/j7;I)Landroid/util/Pair;

    move-result-object v0

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

    move-object v10, v2

    check-cast v10, Ljava/lang/String;

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

    check-cast v0, [B

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

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

    move-result v2

    if-eqz v2, :cond_56e

    .line 13
    new-instance v2, Lz5/i7;

    array-length v3, v0

    const/4 v6, 0x2

    invoke-direct {v2, v0, v3, v6}, Lz5/i7;-><init>([BII)V

    invoke-static {v2}, Lz5/wd;->a(Lz5/i7;)I

    move-result v3

    invoke-static {v2}, Lz5/wd;->b(Lz5/i7;)I

    move-result v6

    const/4 v7, 0x4

    invoke-virtual {v2, v7}, Lz5/i7;->a(I)I

    move-result v15

    const/4 v7, 0x5

    if-eq v3, v7, :cond_52f

    const/16 v7, 0x1d

    if-ne v3, v7, :cond_541

    :cond_52f
    invoke-static {v2}, Lz5/wd;->b(Lz5/i7;)I

    move-result v6

    invoke-static {v2}, Lz5/wd;->a(Lz5/i7;)I

    move-result v3

    const/16 v7, 0x16

    if-ne v3, v7, :cond_541

    const/4 v3, 0x4

    invoke-virtual {v2, v3}, Lz5/i7;->a(I)I

    move-result v15

    goto :goto_542

    :cond_541
    const/4 v3, 0x4

    :goto_542
    sget-object v2, Lz5/wd;->c:[I

    aget v2, v2, v15

    const/4 v15, -0x1

    if-eq v2, v15, :cond_54b

    const/4 v7, 0x1

    goto :goto_54c

    :cond_54b
    const/4 v7, 0x0

    :goto_54c
    invoke-static {v7}, Lcom/google/android/gms/internal/ads/r;->e(Z)V

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

    move-result-object v6

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

    move-result-object v2

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

    move-result-object v2

    .line 14
    iget-object v6, v2, Landroid/util/Pair;->first:Ljava/lang/Object;

    check-cast v6, Ljava/lang/Integer;

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

    move-result v6

    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 v7

    :goto_56b
    move-object/from16 v31, v0

    goto :goto_573

    :cond_56e
    const/4 v3, 0x4

    const/4 v15, -0x1

    goto :goto_56b

    :cond_571
    move v15, v2

    const/4 v3, 0x4

    :goto_573
    add-int/2addr v1, v11

    move-object/from16 v0, p0

    move/from16 v2, v40

    move/from16 v3, v41

    move/from16 v15, v42

    goto/16 :goto_3d6

    :cond_57e
    move/from16 v40, v2

    move/from16 v41, v3

    move/from16 v42, v15

    const/4 v3, 0x4

    const/4 v15, -0x1

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

    check-cast v0, Lz5/j8;

    if-nez v0, :cond_5bf

    if-eqz v10, :cond_5bf

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

    move-result v0

    const/4 v1, 0x1

    if-eq v1, v0, :cond_597

    move v0, v15

    goto :goto_598

    :cond_597
    const/4 v0, 0x2

    :goto_598
    invoke-static {v13}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;

    move-result-object v25

    if-nez v31, :cond_5a1

    const/16 v32, 0x0

    goto :goto_5a7

    :cond_5a1
    invoke-static/range {v31 .. v31}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List;

    move-result-object v1

    move-object/from16 v32, v1

    :goto_5a7
    const/16 v27, 0x0

    const/16 v28, -0x1

    const/16 v34, 0x0

    move-object/from16 v26, v10

    move/from16 v29, v7

    move/from16 v30, v6

    move/from16 v31, v0

    move-object/from16 v33, p4

    move-object/from16 v35, v8

    invoke-static/range {v25 .. v35}, Lz5/j8;->c(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IIIILjava/util/List;Lcom/google/android/gms/internal/ads/i;ILjava/lang/String;)Lz5/j8;

    move-result-object v0

    iput-object v0, v14, Lz5/o7;->b:Ljava/lang/Object;

    :cond_5bf
    :goto_5bf
    move/from16 v6, v41

    move/from16 v2, v42

    :goto_5c3
    const/4 v3, 0x3

    goto/16 :goto_763

    :cond_5c6
    :goto_5c6
    move-object/from16 v39, v1

    move/from16 v40, v2

    move/from16 v41, v3

    move-wide/from16 p2, v6

    move/from16 v38, v12

    move/from16 v42, v15

    const/4 v3, 0x4

    const/4 v15, -0x1

    add-int/lit8 v0, v5, 0x10

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

    const/16 v0, 0x10

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

    invoke-virtual {v4}, Lz5/j7;->y()I

    move-result v29

    invoke-virtual {v4}, Lz5/j7;->y()I

    move-result v30

    const/16 v1, 0x32

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

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

    move-result v1

    sget v2, Lz5/na;->a0:I

    move/from16 v6, v41

    if-ne v10, v2, :cond_5ff

    move/from16 v2, v42

    invoke-static {v4, v5, v6, v14, v2}, Lz5/ra;->c(Lz5/j7;IILz5/o7;I)I

    move-result v10

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

    goto :goto_601

    :cond_5ff
    move/from16 v2, v42

    :goto_601
    const/high16 v7, 0x3f800000    # 1.0f

    move/from16 v33, v7

    move/from16 v35, v15

    const/4 v7, 0x0

    const/16 v26, 0x0

    const/16 v31, 0x0

    const/16 v34, 0x0

    :goto_60e
    sub-int v11, v1, v5

    if-ge v11, v6, :cond_74c

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

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

    move-result v11

    invoke-virtual {v4}, Lz5/j7;->F()I

    move-result v12

    if-nez v12, :cond_629

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

    move-result v12

    sub-int/2addr v12, v5

    if-ne v12, v6, :cond_628

    goto/16 :goto_74c

    :cond_628
    const/4 v12, 0x0

    :cond_629
    if-lez v12, :cond_62d

    const/4 v0, 0x1

    goto :goto_62e

    :cond_62d
    const/4 v0, 0x0

    :goto_62e
    invoke-static {v0, v9}, Lcom/google/android/gms/internal/ads/r;->j(ZLjava/lang/Object;)V

    invoke-virtual {v4}, Lz5/j7;->F()I

    move-result v0

    sget v3, Lz5/na;->I:I

    if-ne v0, v3, :cond_65b

    if-nez v26, :cond_63d

    const/4 v0, 0x1

    goto :goto_63e

    :cond_63d
    const/4 v0, 0x0

    :goto_63e
    invoke-static {v0}, Lcom/google/android/gms/internal/ads/r;->q(Z)V

    add-int/lit8 v11, v11, 0x8

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

    invoke-static {v4}, Lz5/ce;->a(Lz5/j7;)Lz5/ce;

    move-result-object v0

    iget-object v3, v0, Lz5/ce;->a:Ljava/util/List;

    iget v11, v0, Lz5/ce;->b:I

    iput v11, v14, Lz5/o7;->c:I

    if-nez v7, :cond_656

    iget v0, v0, Lz5/ce;->c:F

    move/from16 v33, v0

    :cond_656
    const-string v26, "video/avc"

    move-object/from16 v31, v3

    goto :goto_67c

    :cond_65b
    sget v3, Lz5/na;->J:I

    if-ne v0, v3, :cond_680

    if-nez v26, :cond_663

    const/4 v0, 0x1

    goto :goto_664

    :cond_663
    const/4 v0, 0x0

    :goto_664
    invoke-static {v0}, Lcom/google/android/gms/internal/ads/r;->q(Z)V

    add-int/lit8 v11, v11, 0x8

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

    invoke-static {v4}, Lz5/e2;->f(Lz5/j7;)Lz5/e2;

    move-result-object v0

    iget-object v3, v0, Lz5/e2;->s:Ljava/lang/Object;

    move-object/from16 v31, v3

    check-cast v31, Ljava/util/List;

    iget v0, v0, Lz5/e2;->t:I

    iput v0, v14, Lz5/o7;->c:I

    const-string v26, "video/hevc"

    :goto_67c
    move/from16 v25, v7

    goto/16 :goto_70d

    :cond_680
    sget v3, Lz5/na;->M0:I

    if-ne v0, v3, :cond_698

    if-nez v26, :cond_688

    const/4 v0, 0x1

    goto :goto_689

    :cond_688
    const/4 v0, 0x0

    :goto_689
    invoke-static {v0}, Lcom/google/android/gms/internal/ads/r;->q(Z)V

    sget v0, Lz5/na;->K0:I

    if-ne v10, v0, :cond_693

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

    goto :goto_695

    :cond_693
    const-string v0, "video/x-vnd.on2.vp9"

    :goto_695
    move-object/from16 v26, v0

    goto :goto_67c

    :cond_698
    sget v3, Lz5/na;->h:I

    if-ne v0, v3, :cond_6a7

    if-nez v26, :cond_6a0

    const/4 v0, 0x1

    goto :goto_6a1

    :cond_6a0
    const/4 v0, 0x0

    :goto_6a1
    invoke-static {v0}, Lcom/google/android/gms/internal/ads/r;->q(Z)V

    const-string v26, "video/3gpp"

    goto :goto_67c

    :cond_6a7
    sget v3, Lz5/na;->K:I

    if-ne v0, v3, :cond_6c6

    if-nez v26, :cond_6af

    const/4 v0, 0x1

    goto :goto_6b0

    :cond_6af
    const/4 v0, 0x0

    :goto_6b0
    invoke-static {v0}, Lcom/google/android/gms/internal/ads/r;->q(Z)V

    invoke-static {v4, v11}, Lz5/ra;->b(Lz5/j7;I)Landroid/util/Pair;

    move-result-object v0

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

    move-object/from16 v26, v3

    check-cast v26, Ljava/lang/String;

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

    check-cast v0, [B

    invoke-static {v0}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List;

    move-result-object v31

    goto :goto_67c

    :cond_6c6
    sget v3, Lz5/na;->j0:I

    if-ne v0, v3, :cond_6df

    add-int/lit8 v11, v11, 0x8

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

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

    move-result v0

    int-to-float v0, v0

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

    move-result v3

    int-to-float v3, v3

    div-float v33, v0, v3

    const/4 v3, 0x3

    const/4 v7, 0x1

    goto/16 :goto_745

    :cond_6df
    sget v3, Lz5/na;->I0:I

    if-ne v0, v3, :cond_711

    add-int/lit8 v0, v11, 0x8

    :goto_6e5
    sub-int v3, v0, v11

    if-ge v3, v12, :cond_709

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

    invoke-virtual {v4}, Lz5/j7;->F()I

    move-result v3

    invoke-virtual {v4}, Lz5/j7;->F()I

    move-result v15

    move/from16 v25, v7

    sget v7, Lz5/na;->J0:I

    if-ne v15, v7, :cond_704

    iget-object v7, v4, Lz5/j7;->b:[B

    add-int/2addr v3, v0

    invoke-static {v7, v0, v3}, Ljava/util/Arrays;->copyOfRange([BII)[B

    move-result-object v0

    move-object/from16 v34, v0

    goto :goto_70d

    :cond_704
    add-int/2addr v0, v3

    move/from16 v7, v25

    const/4 v15, -0x1

    goto :goto_6e5

    :cond_709
    move/from16 v25, v7

    const/16 v34, 0x0

    :goto_70d
    move/from16 v7, v25

    const/4 v3, 0x3

    goto :goto_745

    :cond_711
    move/from16 v25, v7

    sget v3, Lz5/na;->H0:I

    if-ne v0, v3, :cond_742

    invoke-virtual {v4}, Lz5/j7;->w()I

    move-result v0

    const/4 v3, 0x3

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

    if-nez v0, :cond_743

    invoke-virtual {v4}, Lz5/j7;->w()I

    move-result v0

    if-eqz v0, :cond_73d

    const/4 v7, 0x1

    if-eq v0, v7, :cond_738

    const/4 v7, 0x2

    if-eq v0, v7, :cond_733

    if-eq v0, v3, :cond_730

    goto :goto_743

    :cond_730
    move/from16 v35, v3

    goto :goto_743

    :cond_733
    move/from16 v7, v25

    const/16 v35, 0x2

    goto :goto_745

    :cond_738
    move/from16 v7, v25

    const/16 v35, 0x1

    goto :goto_745

    :cond_73d
    move/from16 v7, v25

    const/16 v35, 0x0

    goto :goto_745

    :cond_742
    const/4 v3, 0x3

    :cond_743
    :goto_743
    move/from16 v7, v25

    :goto_745
    add-int/2addr v1, v12

    const/16 v0, 0x10

    const/4 v3, 0x4

    const/4 v15, -0x1

    goto/16 :goto_60e

    :cond_74c
    :goto_74c
    const/4 v3, 0x3

    if-eqz v26, :cond_763

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

    move-result-object v25

    const/16 v27, 0x0

    const/16 v28, -0x1

    const/16 v36, 0x0

    move/from16 v32, v40

    move-object/from16 v37, p4

    invoke-static/range {v25 .. v37}, Lz5/j8;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IIILjava/util/List;IF[BILz5/ee;Lcom/google/android/gms/internal/ads/i;)Lz5/j8;

    move-result-object v0

    iput-object v0, v14, Lz5/o7;->b:Ljava/lang/Object;

    :cond_763
    :goto_763
    add-int/2addr v5, v6

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

    add-int/lit8 v15, v2, 0x1

    move-object/from16 v0, p0

    move/from16 v11, p1

    move-wide/from16 v6, p2

    move v5, v3

    move/from16 v12, v38

    move-object/from16 v1, v39

    move/from16 v2, v40

    const/16 v3, 0x10

    const/4 v9, 0x1

    const/16 v10, 0x8

    goto/16 :goto_198

    :cond_77d
    move-object/from16 v39, v1

    move-wide/from16 p2, v6

    move/from16 v38, v12

    sget v0, Lz5/na;->Q:I

    move-object/from16 v1, p0

    invoke-virtual {v1, v0}, Lz5/la;->c(I)Lz5/la;

    move-result-object v0

    if-eqz v0, :cond_7fe

    sget v1, Lz5/na;->R:I

    invoke-virtual {v0, v1}, Lz5/la;->b(I)Lz5/ma;

    move-result-object v0

    if-nez v0, :cond_796

    goto :goto_7fe

    :cond_796
    iget-object v0, v0, Lz5/ma;->P0:Lz5/j7;

    const/16 v1, 0x8

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

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

    move-result v1

    shr-int/lit8 v1, v1, 0x18

    and-int/lit16 v1, v1, 0xff

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

    move-result v2

    new-array v3, v2, [J

    new-array v4, v2, [J

    const/4 v5, 0x0

    :goto_7ae
    if-ge v5, v2, :cond_7f7

    const/4 v6, 0x1

    if-ne v1, v6, :cond_7b8

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

    move-result-wide v7

    goto :goto_7bc

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

    move-result-wide v7

    :goto_7bc
    aput-wide v7, v3, v5

    if-ne v1, v6, :cond_7c5

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

    move-result-wide v6

    goto :goto_7ca

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

    move-result v6

    int-to-long v6, v6

    :goto_7ca
    aput-wide v6, v4, v5

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

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

    add-int/lit8 v8, v7, 0x1

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

    aget-byte v7, v6, v7

    add-int/lit8 v9, v8, 0x1

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

    and-int/lit16 v7, v7, 0xff

    const/16 v9, 0x8

    shl-int/2addr v7, v9

    aget-byte v6, v6, v8

    and-int/lit16 v6, v6, 0xff

    or-int/2addr v6, v7

    int-to-short v6, v6

    const/4 v7, 0x1

    if-ne v6, v7, :cond_7ef

    const/4 v6, 0x2

    .line 16
    invoke-virtual {v0, v6}, Lz5/j7;->t(I)V

    add-int/lit8 v5, v5, 0x1

    goto :goto_7ae

    :cond_7ef
    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_7f7
    invoke-static {v3, v4}, Landroid/util/Pair;->create(Ljava/lang/Object;Ljava/lang/Object;)Landroid/util/Pair;

    move-result-object v0

    move-object v1, v0

    const/4 v0, 0x0

    goto :goto_803

    :cond_7fe
    :goto_7fe
    const/4 v0, 0x0

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

    move-result-object v1

    :goto_803
    iget-object v2, v14, Lz5/o7;->b:Ljava/lang/Object;

    check-cast v2, Lz5/j8;

    if-nez v2, :cond_80a

    return-object v0

    :cond_80a
    new-instance v0, Lz5/ab;

    move-object/from16 v2, v39

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

    check-cast v2, Ljava/lang/Long;

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

    move-result-wide v2

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

    move-object/from16 v19, v4

    check-cast v19, Lz5/j8;

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

    iget-object v5, v14, Lz5/o7;->a:Ljava/lang/Object;

    check-cast v5, [Lz5/bb;

    iget v6, v14, Lz5/o7;->c:I

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

    move-object/from16 v23, v7

    check-cast v23, [J

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

    move-object/from16 v24, v1

    check-cast v24, [J

    move-object v10, v0

    move v11, v13

    move/from16 v12, v38

    move-wide v13, v2

    move-wide/from16 v15, p2

    move-wide/from16 v17, v20

    move/from16 v20, v4

    move-object/from16 v21, v5

    move/from16 v22, v6

    invoke-direct/range {v10 .. v24}, Lz5/ab;-><init>(IIJJJLz5/j8;I[Lz5/bb;I[J[J)V

    return-object v0
.end method

.method public static b(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;->r(I)V

    const/4 p1, 0x1

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

    invoke-static {p0}, Lz5/ra;->d(Lz5/j7;)I

    const/4 v1, 0x2

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

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

    move-result v2

    and-int/lit16 v3, v2, 0x80

    if-eqz v3, :cond_1c

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

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

    if-eqz v3, :cond_27

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

    move-result v3

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

    :cond_27
    const/16 v3, 0x20

    and-int/2addr v2, v3

    if-eqz v2, :cond_2f

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

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

    invoke-static {p0}, Lz5/ra;->d(Lz5/j7;)I

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

    move-result v1

    const/4 v2, 0x0

    if-eq v1, v3, :cond_77

    const/16 v3, 0x21

    if-eq v1, v3, :cond_74

    const/16 v3, 0x23

    if-eq v1, v3, :cond_71

    const/16 v3, 0x40

    if-eq v1, v3, :cond_6e

    const/16 v3, 0x6b

    if-eq v1, v3, :cond_67

    const/16 v3, 0xa5

    if-eq v1, v3, :cond_64

    const/16 v3, 0xa6

    if-eq v1, v3, :cond_61

    packed-switch v1, :pswitch_data_98

    packed-switch v1, :pswitch_data_a2

    goto :goto_79

    :pswitch_5b
    const-string p0, "audio/vnd.dts.hd"

    goto :goto_69

    :pswitch_5e
    const-string p0, "audio/vnd.dts"

    goto :goto_69

    :cond_61
    const-string v2, "audio/eac3"

    goto :goto_79

    :cond_64
    const-string v2, "audio/ac3"

    goto :goto_79

    :cond_67
    const-string p0, "audio/mpeg"

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

    move-result-object p0

    return-object p0

    :cond_6e
    :pswitch_6e
    const-string v2, "audio/mp4a-latm"

    goto :goto_79

    :cond_71
    const-string v2, "video/hevc"

    goto :goto_79

    :cond_74
    const-string v2, "video/avc"

    goto :goto_79

    :cond_77
    const-string v2, "video/mp4v-es"

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

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

    invoke-static {p0}, Lz5/ra;->d(Lz5/j7;)I

    move-result p1

    new-array v0, p1, [B

    const/4 v1, 0x0

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

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

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

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

    add-int/2addr v1, p1

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

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

    move-result-object p0

    return-object p0

    nop

    :pswitch_data_98
    .packed-switch 0x66
        :pswitch_6e
        :pswitch_6e
        :pswitch_6e
    .end packed-switch

    :pswitch_data_a2
    .packed-switch 0xa9
        :pswitch_5e
        :pswitch_5b
        :pswitch_5b
        :pswitch_5e
    .end packed-switch
.end method

.method public static c(Lz5/j7;IILz5/o7;I)I
    .registers 21

    move-object/from16 v0, p0

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

    move-result v1

    :goto_6
    sub-int v2, v1, p1

    const/4 v3, 0x0

    move/from16 v4, p2

    if-ge v2, v4, :cond_d2

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

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

    move-result v2

    const/4 v5, 0x1

    if-lez v2, :cond_19

    move v6, v5

    goto :goto_1a

    :cond_19
    move v6, v3

    :goto_1a
    const-string v7, "childAtomSize should be positive"

    invoke-static {v6, v7}, Lcom/google/android/gms/internal/ads/r;->j(ZLjava/lang/Object;)V

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

    move-result v6

    sget v7, Lz5/na;->W:I

    if-ne v6, v7, :cond_cd

    add-int/lit8 v6, v1, 0x8

    const/4 v7, 0x0

    move v8, v3

    move-object v9, v7

    move-object v10, v9

    :goto_2d
    sub-int v11, v6, v1

    if-ge v11, v2, :cond_9d

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

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

    move-result v11

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

    move-result v12

    sget v13, Lz5/na;->c0:I

    if-ne v12, v13, :cond_49

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

    move-result v9

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

    move-result-object v9

    goto :goto_9b

    :cond_49
    sget v13, Lz5/na;->X:I

    if-ne v12, v13, :cond_5d

    const/4 v8, 0x4

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

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

    move-result v8

    sget v12, Lz5/ra;->g:I

    if-ne v8, v12, :cond_5b

    move v8, v5

    goto :goto_9b

    :cond_5b
    move v8, v3

    goto :goto_9b

    :cond_5d
    sget v13, Lz5/na;->Y:I

    if-ne v12, v13, :cond_9b

    add-int/lit8 v10, v6, 0x8

    :goto_63
    sub-int v12, v10, v6

    if-ge v12, v11, :cond_9a

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

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

    move-result v12

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

    move-result v13

    sget v14, Lz5/na;->Z:I

    if-ne v13, v14, :cond_98

    const/4 v10, 0x6

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

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

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

    move-result v10

    const/16 v12, 0x10

    new-array v13, v12, [B

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

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

    invoke-static {v14, v15, v13, v3, v12}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

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

    add-int/2addr v14, v12

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

    .line 2
    new-instance v12, Lz5/bb;

    invoke-direct {v12, v10, v13}, Lz5/bb;-><init>(I[B)V

    move-object v10, v12

    goto :goto_9b

    :cond_98
    add-int/2addr v10, v12

    goto :goto_63

    :cond_9a
    move-object v10, v7

    :cond_9b
    :goto_9b
    add-int/2addr v6, v11

    goto :goto_2d

    :cond_9d
    if-eqz v8, :cond_b5

    if-eqz v9, :cond_a3

    move v6, v5

    goto :goto_a4

    :cond_a3
    move v6, v3

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

    invoke-static {v6, v7}, Lcom/google/android/gms/internal/ads/r;->j(ZLjava/lang/Object;)V

    if-eqz v10, :cond_ac

    move v3, v5

    :cond_ac
    const-string v5, "schi->tenc atom is mandatory"

    invoke-static {v3, v5}, Lcom/google/android/gms/internal/ads/r;->j(ZLjava/lang/Object;)V

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

    move-result-object v7

    :cond_b5
    if-nez v7, :cond_b8

    goto :goto_cd

    :cond_b8
    move-object/from16 v5, p3

    iget-object v0, v5, Lz5/o7;->a:Ljava/lang/Object;

    check-cast v0, [Lz5/bb;

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

    check-cast v1, Lz5/bb;

    aput-object v1, v0, p4

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

    check-cast v0, Ljava/lang/Integer;

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

    move-result v0

    return v0

    :cond_cd
    :goto_cd
    move-object/from16 v5, p3

    add-int/2addr v1, v2

    goto/16 :goto_6

    :cond_d2
    return v3
.end method

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

    invoke-virtual {p0}, Lz5/j7;->w()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;->w()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
