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


# static fields
.field public static final synthetic a:I


# direct methods
.method public static a(Lz5/j7;IIZ)Z
    .registers 23

    move-object/from16 v1, p0

    move/from16 v0, p1

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

    move-result v2

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

    move-result v3

    const/4 v4, 0x1

    move/from16 v5, p2

    if-lt v3, v5, :cond_ac

    const/4 v3, 0x3

    const/4 v6, 0x0

    if-lt v0, v3, :cond_22

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

    move-result v7

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

    move-result-wide v8

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

    move-result v10

    goto :goto_2c

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

    move-result v7

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

    move-result v8
    :try_end_2a
    .catchall {:try_start_8 .. :try_end_2a} :catchall_b0

    int-to-long v8, v8

    move v10, v6

    :goto_2c
    const-wide/16 v11, 0x0

    if-nez v7, :cond_3b

    cmp-long v7, v8, v11

    if-nez v7, :cond_3b

    if-eqz v10, :cond_37

    goto :goto_3b

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

    return v4

    :cond_3b
    :goto_3b
    const/4 v7, 0x4

    if-ne v0, v7, :cond_6a

    if-nez p3, :cond_6a

    const-wide/32 v13, 0x808080

    and-long/2addr v13, v8

    cmp-long v11, v13, v11

    if-eqz v11, :cond_4c

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

    return v6

    :cond_4c
    const-wide/16 v11, 0xff

    and-long v13, v8, v11

    const/16 v15, 0x8

    shr-long v15, v8, v15

    and-long/2addr v15, v11

    const/16 v17, 0x7

    shl-long v15, v15, v17

    or-long/2addr v13, v15

    const/16 v15, 0x10

    shr-long v15, v8, v15

    and-long/2addr v11, v15

    const/16 v15, 0xe

    shl-long/2addr v11, v15

    or-long/2addr v11, v13

    const/16 v13, 0x18

    shr-long/2addr v8, v13

    const/16 v13, 0x15

    shl-long/2addr v8, v13

    or-long/2addr v8, v11

    :cond_6a
    if-ne v0, v7, :cond_7a

    and-int/lit8 v3, v10, 0x40

    if-eqz v3, :cond_71

    goto :goto_72

    :cond_71
    move v4, v6

    :goto_72
    and-int/lit8 v3, v10, 0x1

    move/from16 v18, v4

    move v4, v3

    move/from16 v3, v18

    goto :goto_8c

    :cond_7a
    if-ne v0, v3, :cond_8a

    and-int/lit8 v3, v10, 0x20

    if-eqz v3, :cond_82

    move v3, v4

    goto :goto_83

    :cond_82
    move v3, v6

    :goto_83
    and-int/lit16 v7, v10, 0x80

    if-eqz v7, :cond_88

    goto :goto_8c

    :cond_88
    move v4, v6

    goto :goto_8c

    :cond_8a
    move v3, v6

    move v4, v3

    :goto_8c
    if-eqz v4, :cond_90

    add-int/lit8 v3, v3, 0x4

    :cond_90
    int-to-long v3, v3

    cmp-long v3, v8, v3

    if-gez v3, :cond_99

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

    return v6

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

    move-result v3
    :try_end_9d
    .catchall {:try_start_99 .. :try_end_9d} :catchall_b0

    int-to-long v3, v3

    cmp-long v3, v3, v8

    if-gez v3, :cond_a6

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

    return v6

    :cond_a6
    long-to-int v3, v8

    :try_start_a7
    invoke-virtual {v1, v3}, Lz5/j7;->u(I)V
    :try_end_aa
    .catchall {:try_start_a7 .. :try_end_aa} :catchall_b0

    goto/16 :goto_8

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

    return v4

    :catchall_b0
    move-exception v0

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

    throw v0
.end method

.method public static b(ILz5/j7;ZILz5/s5;)Lz5/v5;
    .registers 38

    move/from16 v0, p0

    move-object/from16 v1, p1

    move/from16 v2, p2

    move/from16 v3, p3

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

    move-result v4

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

    move-result v5

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

    move-result v6

    const/4 v7, 0x3

    if-lt v0, v7, :cond_1c

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

    move-result v9

    goto :goto_1d

    :cond_1c
    const/4 v9, 0x0

    :goto_1d
    const/4 v10, 0x4

    if-ne v0, v10, :cond_3c

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

    move-result v11

    if-nez v2, :cond_47

    and-int/lit16 v12, v11, 0xff

    shr-int/lit8 v13, v11, 0x8

    and-int/lit16 v13, v13, 0xff

    shl-int/lit8 v13, v13, 0x7

    or-int/2addr v12, v13

    shr-int/lit8 v13, v11, 0x10

    and-int/lit16 v13, v13, 0xff

    shl-int/lit8 v13, v13, 0xe

    or-int/2addr v12, v13

    shr-int/lit8 v11, v11, 0x18

    shl-int/lit8 v11, v11, 0x15

    or-int/2addr v11, v12

    goto :goto_47

    :cond_3c
    if-ne v0, v7, :cond_43

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

    move-result v11

    goto :goto_47

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

    move-result v11

    :cond_47
    :goto_47
    if-lt v0, v7, :cond_4e

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

    move-result v12

    goto :goto_4f

    :cond_4e
    const/4 v12, 0x0

    :goto_4f
    const/4 v13, 0x0

    if-nez v4, :cond_5c

    if-nez v5, :cond_5c

    if-nez v6, :cond_5c

    if-nez v9, :cond_5c

    if-nez v11, :cond_5c

    if-eqz v12, :cond_6e

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

    move-result v14

    add-int/2addr v14, v11

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

    move-result v15

    const-string v8, "Id3Decoder"

    if-le v14, v15, :cond_76

    const-string v0, "Frame size exceeds remaining tag data"

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

    :cond_6e
    invoke-virtual/range {p1 .. p1}, Lz5/j7;->m()I

    move-result v0

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

    return-object v13

    :cond_76
    if-nez p4, :cond_5c1

    const/4 v15, 0x1

    if-ne v0, v7, :cond_99

    and-int/lit16 v7, v12, 0x80

    if-eqz v7, :cond_81

    move v7, v15

    goto :goto_82

    :cond_81
    const/4 v7, 0x0

    :goto_82
    and-int/lit8 v17, v12, 0x40

    if-eqz v17, :cond_89

    move/from16 v17, v15

    goto :goto_8b

    :cond_89
    const/16 v17, 0x0

    :goto_8b
    and-int/lit8 v12, v12, 0x20

    if-eqz v12, :cond_91

    move v12, v15

    goto :goto_92

    :cond_91
    const/4 v12, 0x0

    :goto_92
    move/from16 v18, v17

    const/16 v19, 0x0

    move/from16 v17, v7

    goto :goto_cc

    :cond_99
    if-ne v0, v10, :cond_c4

    and-int/lit8 v7, v12, 0x40

    if-eqz v7, :cond_a1

    move v7, v15

    goto :goto_a2

    :cond_a1
    const/4 v7, 0x0

    :goto_a2
    and-int/lit8 v17, v12, 0x8

    if-eqz v17, :cond_a9

    move/from16 v17, v15

    goto :goto_ab

    :cond_a9
    const/16 v17, 0x0

    :goto_ab
    and-int/lit8 v18, v12, 0x4

    if-eqz v18, :cond_b2

    move/from16 v18, v15

    goto :goto_b4

    :cond_b2
    const/16 v18, 0x0

    :goto_b4
    and-int/lit8 v19, v12, 0x2

    if-eqz v19, :cond_bb

    move/from16 v19, v15

    goto :goto_bd

    :cond_bb
    const/16 v19, 0x0

    :goto_bd
    and-int/2addr v12, v15

    move/from16 v32, v12

    move v12, v7

    move/from16 v7, v32

    goto :goto_cc

    :cond_c4
    const/4 v7, 0x0

    const/4 v12, 0x0

    const/16 v17, 0x0

    const/16 v18, 0x0

    const/16 v19, 0x0

    :goto_cc
    if-nez v17, :cond_5b6

    if-eqz v18, :cond_d2

    goto/16 :goto_5b6

    :cond_d2
    if-eqz v12, :cond_d9

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

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

    :cond_d9
    if-eqz v7, :cond_e0

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

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

    :cond_e0
    if-eqz v19, :cond_e6

    invoke-static {v1, v11}, Lz5/u5;->c(Lz5/j7;I)I

    move-result v11

    :cond_e6
    const/16 v7, 0x58

    const/16 v12, 0x54

    const/4 v10, 0x2

    if-ne v4, v12, :cond_135

    if-ne v5, v7, :cond_135

    if-ne v6, v7, :cond_135

    if-eq v0, v10, :cond_f5

    if-ne v9, v7, :cond_135

    :cond_f5
    if-gtz v11, :cond_f8

    goto :goto_13d

    :cond_f8
    :try_start_f8
    invoke-virtual/range {p1 .. p1}, Lz5/j7;->A()I

    move-result v2

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

    move-result-object v3

    add-int/lit8 v7, v11, -0x1

    new-array v10, v7, [B

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

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

    const/4 v13, 0x0

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

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

    add-int/2addr v12, v7

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

    .line 2
    invoke-static {v10, v13, v2}, Lz5/u5;->f([BII)I

    move-result v7

    new-instance v12, Ljava/lang/String;

    invoke-direct {v12, v10, v13, v7, v3}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    invoke-static {v2}, Lz5/u5;->h(I)I

    move-result v13

    add-int/2addr v7, v13

    invoke-static {v10, v7, v2}, Lz5/u5;->f([BII)I

    move-result v2

    invoke-static {v10, v7, v2, v3}, Lz5/u5;->j([BIILjava/lang/String;)Ljava/lang/String;

    move-result-object v2

    new-instance v3, Lz5/e6;

    const-string v7, "TXXX"

    invoke-direct {v3, v7, v12, v2}, Lz5/e6;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    move/from16 v19, v14

    goto/16 :goto_21b

    :catchall_132
    move-exception v0

    goto/16 :goto_5b2

    :cond_135
    if-ne v4, v12, :cond_175

    invoke-static {v0, v12, v5, v6, v9}, Lz5/u5;->e(IIIII)Ljava/lang/String;

    move-result-object v2

    if-gtz v11, :cond_140

    :goto_13d
    move/from16 v19, v14

    goto :goto_187

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

    move-result v3

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

    move-result-object v7

    add-int/lit8 v10, v11, -0x1

    new-array v12, v10, [B
    :try_end_14c
    .catch Ljava/io/UnsupportedEncodingException; {:try_start_f8 .. :try_end_14c} :catch_171
    .catchall {:try_start_f8 .. :try_end_14c} :catchall_132

    .line 3
    :try_start_14c
    iget-object v13, v1, Lz5/j7;->b:[B

    iget v15, v1, Lz5/j7;->c:I
    :try_end_150
    .catch Ljava/io/UnsupportedEncodingException; {:try_start_14c .. :try_end_150} :catch_171
    .catchall {:try_start_14c .. :try_end_150} :catchall_16c

    move/from16 v19, v14

    const/4 v14, 0x0

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

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

    add-int/2addr v13, v10

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

    .line 4
    invoke-static {v12, v14, v3}, Lz5/u5;->f([BII)I

    move-result v3

    new-instance v10, Ljava/lang/String;

    invoke-direct {v10, v12, v14, v3, v7}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    new-instance v3, Lz5/e6;

    const/4 v7, 0x0

    invoke-direct {v3, v2, v7, v10}, Lz5/e6;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    :try_end_16a
    .catch Ljava/io/UnsupportedEncodingException; {:try_start_153 .. :try_end_16a} :catch_289
    .catchall {:try_start_153 .. :try_end_16a} :catchall_5a0

    goto/16 :goto_21b

    :catchall_16c
    move-exception v0

    move/from16 v19, v14

    goto/16 :goto_5a1

    :catch_171
    move/from16 v19, v14

    goto/16 :goto_289

    :cond_175
    move/from16 v19, v14

    const/16 v13, 0x57

    const-string v14, "ISO-8859-1"

    if-ne v4, v13, :cond_1c3

    if-ne v5, v7, :cond_1c1

    if-ne v6, v7, :cond_1c1

    if-eq v0, v10, :cond_185

    if-ne v9, v7, :cond_1c1

    :cond_185
    if-gtz v11, :cond_18a

    :goto_187
    const/4 v3, 0x0

    goto/16 :goto_21b

    :cond_18a
    :try_start_18a
    invoke-virtual/range {p1 .. p1}, Lz5/j7;->A()I

    move-result v2

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

    move-result-object v3

    add-int/lit8 v7, v11, -0x1

    new-array v10, v7, [B

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

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

    const/4 v15, 0x0

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

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

    add-int/2addr v12, v7

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

    .line 6
    invoke-static {v10, v15, v2}, Lz5/u5;->f([BII)I

    move-result v7

    new-instance v12, Ljava/lang/String;

    invoke-direct {v12, v10, v15, v7, v3}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    invoke-static {v2}, Lz5/u5;->h(I)I

    move-result v2

    add-int/2addr v7, v2

    invoke-static {v10, v7}, Lz5/u5;->g([BI)I

    move-result v2

    invoke-static {v10, v7, v2, v14}, Lz5/u5;->j([BIILjava/lang/String;)Ljava/lang/String;

    move-result-object v2

    new-instance v3, Lz5/g6;

    const-string v7, "WXXX"

    invoke-direct {v3, v7, v12, v2}, Lz5/g6;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_21b

    :cond_1c1
    move v7, v13

    goto :goto_1c4

    :cond_1c3
    move v7, v4

    :goto_1c4
    if-ne v7, v13, :cond_1e9

    invoke-static {v0, v13, v5, v6, v9}, Lz5/u5;->e(IIIII)Ljava/lang/String;

    move-result-object v2

    new-array v3, v11, [B

    .line 7
    iget-object v7, v1, Lz5/j7;->b:[B

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

    const/4 v12, 0x0

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

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

    add-int/2addr v7, v11

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

    .line 8
    invoke-static {v3, v12}, Lz5/u5;->g([BI)I

    move-result v7

    new-instance v10, Ljava/lang/String;

    invoke-direct {v10, v3, v12, v7, v14}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    new-instance v3, Lz5/g6;

    const/4 v7, 0x0

    invoke-direct {v3, v2, v7, v10}, Lz5/g6;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_21b

    :cond_1e9
    const/16 v13, 0x49

    const/16 v12, 0x50

    if-ne v7, v12, :cond_226

    const/16 v7, 0x52

    if-ne v5, v7, :cond_225

    if-ne v6, v13, :cond_225

    const/16 v7, 0x56

    if-ne v9, v7, :cond_225

    new-array v2, v11, [B

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

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

    const/4 v10, 0x0

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

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

    add-int/2addr v3, v11

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

    .line 10
    invoke-static {v2, v10}, Lz5/u5;->g([BI)I

    move-result v3

    new-instance v7, Ljava/lang/String;

    invoke-direct {v7, v2, v10, v3, v14}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    add-int/2addr v3, v15

    invoke-static {v2, v3, v11}, Lz5/u5;->i([BII)[B

    move-result-object v2

    new-instance v3, Lz5/c6;

    invoke-direct {v3, v7, v2}, Lz5/c6;-><init>(Ljava/lang/String;[B)V

    :goto_21b
    move-object v2, v3

    move/from16 v22, v4

    move v3, v5

    move v4, v6

    move-object/from16 v20, v8

    :goto_222
    move v8, v9

    goto/16 :goto_56a

    :cond_225
    move v7, v12

    :cond_226
    const/16 v13, 0x47

    const/16 v12, 0x4f

    if-ne v7, v13, :cond_28e

    const/16 v7, 0x45

    if-ne v5, v7, :cond_28f

    if-ne v6, v12, :cond_28f

    const/16 v7, 0x42

    if-eq v9, v7, :cond_23b

    if-ne v0, v10, :cond_239

    goto :goto_23b

    :cond_239
    move v7, v13

    goto :goto_28e

    :cond_23b
    :goto_23b
    invoke-virtual/range {p1 .. p1}, Lz5/j7;->A()I

    move-result v2

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

    move-result-object v3

    add-int/lit8 v7, v11, -0x1

    new-array v10, v7, [B

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

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

    const/4 v15, 0x0

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

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

    add-int/2addr v12, v7

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

    .line 12
    invoke-static {v10, v15}, Lz5/u5;->g([BI)I

    move-result v12

    new-instance v13, Ljava/lang/String;
    :try_end_25a
    .catch Ljava/io/UnsupportedEncodingException; {:try_start_18a .. :try_end_25a} :catch_289
    .catchall {:try_start_18a .. :try_end_25a} :catchall_5a0

    :try_start_25a
    invoke-direct {v13, v10, v15, v12, v14}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    const/4 v14, 0x1

    add-int/2addr v12, v14

    invoke-static {v10, v12, v2}, Lz5/u5;->f([BII)I

    move-result v14

    invoke-static {v10, v12, v14, v3}, Lz5/u5;->j([BIILjava/lang/String;)Ljava/lang/String;

    move-result-object v12

    invoke-static {v2}, Lz5/u5;->h(I)I

    move-result v15

    add-int/2addr v14, v15

    invoke-static {v10, v14, v2}, Lz5/u5;->f([BII)I

    move-result v15

    invoke-static {v10, v14, v15, v3}, Lz5/u5;->j([BIILjava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-static {v2}, Lz5/u5;->h(I)I

    move-result v2

    add-int/2addr v15, v2

    invoke-static {v10, v15, v7}, Lz5/u5;->i([BII)[B

    move-result-object v2

    new-instance v7, Lz5/q5;

    invoke-direct {v7, v13, v12, v3, v2}, Lz5/q5;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[B)V

    move/from16 v22, v4

    move-object v3, v7

    move-object/from16 v20, v8

    goto/16 :goto_42a

    :catch_289
    :goto_289
    move-object v3, v8

    :catch_28a
    :goto_28a
    move/from16 v14, v19

    goto/16 :goto_5a8

    :cond_28e
    :goto_28e
    move v13, v7

    :cond_28f
    const/16 v7, 0x43

    const/16 v15, 0x41

    if-ne v0, v10, :cond_2a0

    const/16 v12, 0x50

    if-ne v13, v12, :cond_34b

    const/16 v10, 0x49

    if-ne v5, v10, :cond_34b

    if-ne v6, v7, :cond_34b

    goto :goto_2ac

    :cond_2a0
    const/16 v10, 0x49

    const/16 v12, 0x50

    if-ne v13, v15, :cond_34b

    if-ne v5, v12, :cond_34b

    if-ne v6, v10, :cond_34b

    if-ne v9, v7, :cond_34b

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

    move-result v2

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

    move-result-object v3

    add-int/lit8 v7, v11, -0x1

    new-array v10, v7, [B

    .line 13
    iget-object v12, v1, Lz5/j7;->b:[B

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

    const/4 v15, 0x0

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

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

    add-int/2addr v12, v7

    iput v12, v1, Lz5/j7;->c:I
    :try_end_2c5
    .catch Ljava/io/UnsupportedEncodingException; {:try_start_25a .. :try_end_2c5} :catch_345
    .catchall {:try_start_25a .. :try_end_2c5} :catchall_5a0

    const-string v12, "image/"

    const/4 v13, 0x2

    if-ne v0, v13, :cond_2f7

    .line 14
    :try_start_2ca
    new-instance v13, Ljava/lang/String;
    :try_end_2cc
    .catch Ljava/io/UnsupportedEncodingException; {:try_start_2ca .. :try_end_2cc} :catch_345
    .catchall {:try_start_2ca .. :try_end_2cc} :catchall_5a0

    move-object/from16 v20, v8

    const/4 v8, 0x0

    const/4 v15, 0x3

    :try_start_2d0
    invoke-direct {v13, v10, v8, v15, v14}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    invoke-static {v13}, Lcom/google/android/gms/internal/ads/h8;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    invoke-static {v8}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v8

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

    move-result v13

    if-eqz v13, :cond_2e6

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

    move-result-object v8

    goto :goto_2eb

    :cond_2e6
    new-instance v8, Ljava/lang/String;

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

    :goto_2eb
    const-string v12, "image/jpg"

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

    move-result v12

    if-eqz v12, :cond_2f5

    const-string v8, "image/jpeg"

    :cond_2f5
    const/4 v13, 0x2

    goto :goto_320

    :cond_2f7
    move-object/from16 v20, v8

    const/4 v8, 0x0

    invoke-static {v10, v8}, Lz5/u5;->g([BI)I

    move-result v13

    new-instance v15, Ljava/lang/String;

    invoke-direct {v15, v10, v8, v13, v14}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    invoke-static {v15}, Lcom/google/android/gms/internal/ads/h8;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    const/16 v14, 0x2f

    invoke-virtual {v8, v14}, Ljava/lang/String;->indexOf(I)I

    move-result v14

    const/4 v15, -0x1

    if-ne v14, v15, :cond_320

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

    move-result v14

    if-eqz v14, :cond_31b

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

    move-result-object v8

    goto :goto_320

    :cond_31b
    new-instance v8, Ljava/lang/String;

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

    :cond_320
    :goto_320
    add-int/lit8 v12, v13, 0x1

    aget-byte v12, v10, v12

    and-int/lit16 v12, v12, 0xff

    const/4 v14, 0x2

    add-int/2addr v13, v14

    invoke-static {v10, v13, v2}, Lz5/u5;->f([BII)I

    move-result v14

    new-instance v15, Ljava/lang/String;

    move/from16 v22, v4

    sub-int v4, v14, v13

    invoke-direct {v15, v10, v13, v4, v3}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    invoke-static {v2}, Lz5/u5;->h(I)I

    move-result v2

    add-int/2addr v14, v2

    invoke-static {v10, v14, v7}, Lz5/u5;->i([BII)[B

    move-result-object v2

    new-instance v3, Lz5/g5;

    invoke-direct {v3, v8, v15, v12, v2}, Lz5/g5;-><init>(Ljava/lang/String;Ljava/lang/String;I[B)V

    goto/16 :goto_42a

    :catch_345
    move-object/from16 v20, v8

    :catch_347
    move-object/from16 v3, v20

    goto/16 :goto_28a

    :cond_34b
    move/from16 v22, v4

    move-object/from16 v20, v8

    const/16 v4, 0x4d

    if-ne v13, v7, :cond_3b2

    const/16 v8, 0x4f

    if-ne v5, v8, :cond_3b2

    if-ne v6, v4, :cond_3b2

    if-eq v9, v4, :cond_35e

    const/4 v8, 0x2

    if-ne v0, v8, :cond_3b2

    :cond_35e
    const/4 v2, 0x4

    if-ge v11, v2, :cond_367

    move v3, v5

    move v4, v6

    move v8, v9

    const/4 v2, 0x0

    goto/16 :goto_56a

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

    move-result v2

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

    move-result-object v3

    const/4 v4, 0x3

    new-array v7, v4, [B

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

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

    const/4 v12, 0x0

    invoke-static {v8, v10, v7, v12, v4}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

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

    add-int/2addr v8, v4

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

    .line 16
    new-instance v8, Ljava/lang/String;

    const/4 v10, 0x0

    invoke-direct {v8, v7, v10, v4}, Ljava/lang/String;-><init>([BII)V

    add-int/lit8 v4, v11, -0x4

    new-array v7, v4, [B

    .line 17
    iget-object v12, v1, Lz5/j7;->b:[B

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

    invoke-static {v12, v13, v7, v10, v4}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

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

    add-int/2addr v12, v4

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

    .line 18
    invoke-static {v7, v10, v2}, Lz5/u5;->f([BII)I

    move-result v4

    new-instance v12, Ljava/lang/String;

    invoke-direct {v12, v7, v10, v4, v3}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    invoke-static {v2}, Lz5/u5;->h(I)I

    move-result v10

    add-int/2addr v4, v10

    invoke-static {v7, v4, v2}, Lz5/u5;->f([BII)I

    move-result v2

    invoke-static {v7, v4, v2, v3}, Lz5/u5;->j([BIILjava/lang/String;)Ljava/lang/String;

    move-result-object v2

    new-instance v3, Lz5/o5;

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

    goto/16 :goto_42a

    :cond_3b2
    if-ne v13, v7, :cond_42f

    const/16 v8, 0x48

    if-ne v5, v8, :cond_42f

    if-ne v6, v15, :cond_42f

    const/16 v8, 0x50

    if-ne v9, v8, :cond_42f

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

    move-result v4

    .line 19
    iget-object v7, v1, Lz5/j7;->b:[B

    .line 20
    invoke-static {v7, v4}, Lz5/u5;->g([BI)I

    move-result v7

    new-instance v8, Ljava/lang/String;

    .line 21
    iget-object v10, v1, Lz5/j7;->b:[B

    sub-int v12, v7, v4

    .line 22
    invoke-direct {v8, v10, v4, v12, v14}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    const/4 v10, 0x1

    add-int/2addr v7, v10

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

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

    move-result v25

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

    move-result v26

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

    move-result-wide v12

    const-wide v14, 0xffffffffL

    cmp-long v7, v12, v14

    const-wide/16 v16, -0x1

    if-nez v7, :cond_3f0

    move-wide/from16 v27, v16

    goto :goto_3f2

    :cond_3f0
    move-wide/from16 v27, v12

    :goto_3f2
    invoke-virtual/range {p1 .. p1}, Lz5/j7;->H()J

    move-result-wide v12

    cmp-long v7, v12, v14

    if-nez v7, :cond_3fd

    move-wide/from16 v29, v16

    goto :goto_3ff

    :cond_3fd
    move-wide/from16 v29, v12

    :goto_3ff
    new-instance v7, Ljava/util/ArrayList;

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

    add-int/2addr v4, v11

    :cond_405
    :goto_405
    invoke-virtual/range {p1 .. p1}, Lz5/j7;->o()I

    move-result v10

    if-ge v10, v4, :cond_416

    const/4 v10, 0x0

    invoke-static {v0, v1, v2, v3, v10}, Lz5/u5;->b(ILz5/j7;ZILz5/s5;)Lz5/v5;

    move-result-object v12

    if-eqz v12, :cond_405

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

    goto :goto_405

    :cond_416
    const/4 v2, 0x0

    new-array v2, v2, [Lz5/v5;

    invoke-virtual {v7, v2}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;

    move-result-object v2

    move-object/from16 v31, v2

    check-cast v31, [Lz5/v5;

    new-instance v3, Lz5/k5;

    move-object/from16 v23, v3

    move-object/from16 v24, v8

    invoke-direct/range {v23 .. v31}, Lz5/k5;-><init>(Ljava/lang/String;IIJJ[Lz5/v5;)V

    :goto_42a
    move-object v2, v3

    move v3, v5

    move v4, v6

    goto/16 :goto_222

    :cond_42f
    if-ne v13, v7, :cond_4da

    const/16 v8, 0x54

    if-ne v5, v8, :cond_4da

    const/16 v8, 0x4f

    if-ne v6, v8, :cond_4da

    if-ne v9, v7, :cond_4da

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

    move-result v4

    .line 23
    iget-object v7, v1, Lz5/j7;->b:[B

    .line 24
    invoke-static {v7, v4}, Lz5/u5;->g([BI)I

    move-result v7

    new-instance v8, Ljava/lang/String;

    .line 25
    iget-object v10, v1, Lz5/j7;->b:[B

    sub-int v12, v7, v4

    .line 26
    invoke-direct {v8, v10, v4, v12, v14}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    const/4 v10, 0x1

    add-int/2addr v7, v10

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

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

    move-result v7

    and-int/lit8 v12, v7, 0x2

    if-eqz v12, :cond_45e

    move/from16 v25, v10

    goto :goto_460

    :cond_45e
    const/16 v25, 0x0

    :goto_460
    and-int/2addr v7, v10

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

    move-result v10

    new-array v12, v10, [Ljava/lang/String;

    const/4 v13, 0x0

    :goto_468
    if-ge v13, v10, :cond_497

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

    move-result v15

    move/from16 p4, v10

    .line 27
    iget-object v10, v1, Lz5/j7;->b:[B

    .line 28
    invoke-static {v10, v15}, Lz5/u5;->g([BI)I

    move-result v10

    move/from16 v16, v9

    new-instance v9, Ljava/lang/String;

    move/from16 v17, v6

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

    move/from16 v21, v5

    sub-int v5, v10, v15

    .line 30
    invoke-direct {v9, v6, v15, v5, v14}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    aput-object v9, v12, v13

    add-int/lit8 v10, v10, 0x1

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

    add-int/lit8 v13, v13, 0x1

    move/from16 v10, p4

    move/from16 v9, v16

    move/from16 v6, v17

    move/from16 v5, v21

    goto :goto_468

    :cond_497
    move/from16 v21, v5

    move/from16 v17, v6

    move/from16 v16, v9

    new-instance v5, Ljava/util/ArrayList;

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

    add-int/2addr v4, v11

    :cond_4a3
    :goto_4a3
    invoke-virtual/range {p1 .. p1}, Lz5/j7;->o()I

    move-result v6

    if-ge v6, v4, :cond_4b4

    const/4 v6, 0x0

    invoke-static {v0, v1, v2, v3, v6}, Lz5/u5;->b(ILz5/j7;ZILz5/s5;)Lz5/v5;

    move-result-object v9

    if-eqz v9, :cond_4a3

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

    goto :goto_4a3

    :cond_4b4
    const/4 v2, 0x0

    new-array v3, v2, [Lz5/v5;

    invoke-virtual {v5, v3}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;

    move-result-object v2

    move-object/from16 v28, v2

    check-cast v28, [Lz5/v5;

    new-instance v2, Lz5/m5;

    const/4 v3, 0x1

    if-eq v3, v7, :cond_4c7

    const/16 v26, 0x0

    goto :goto_4c9

    :cond_4c7
    move/from16 v26, v3

    :goto_4c9
    move-object/from16 v23, v2

    move-object/from16 v24, v8

    move-object/from16 v27, v12

    invoke-direct/range {v23 .. v28}, Lz5/m5;-><init>(Ljava/lang/String;ZZ[Ljava/lang/String;[Lz5/v5;)V

    move/from16 v8, v16

    move/from16 v4, v17

    move/from16 v3, v21

    goto/16 :goto_56a

    :cond_4da
    move/from16 v21, v5

    move/from16 v17, v6

    move/from16 v16, v9

    if-ne v13, v4, :cond_54b

    const/16 v2, 0x4c

    move/from16 v3, v21

    if-ne v3, v2, :cond_546

    move/from16 v4, v17

    move/from16 v8, v16

    if-ne v4, v2, :cond_551

    const/16 v2, 0x54

    if-ne v8, v2, :cond_551

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

    move-result v24

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

    move-result v25

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

    move-result v26

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

    move-result v2

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

    move-result v5

    new-instance v6, Lz5/i7;

    invoke-direct {v6}, Lz5/i7;-><init>()V

    .line 31
    iget-object v7, v1, Lz5/j7;->b:[B

    .line 32
    invoke-virtual/range {p1 .. p1}, Lz5/j7;->m()I

    move-result v9

    invoke-virtual {v6, v7, v9}, Lz5/i7;->c([BI)V

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

    move-result v7

    mul-int/lit8 v7, v7, 0x8

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

    add-int/lit8 v7, v11, -0xa

    mul-int/lit8 v7, v7, 0x8

    add-int v9, v2, v5

    div-int/2addr v7, v9

    new-array v9, v7, [I

    new-array v10, v7, [I

    const/4 v12, 0x0

    :goto_529
    if-ge v12, v7, :cond_53a

    invoke-virtual {v6, v2}, Lz5/i7;->x(I)I

    move-result v13

    invoke-virtual {v6, v5}, Lz5/i7;->x(I)I

    move-result v14

    aput v13, v9, v12

    aput v14, v10, v12

    add-int/lit8 v12, v12, 0x1

    goto :goto_529

    :cond_53a
    new-instance v2, Lz5/a6;

    move-object/from16 v23, v2

    move-object/from16 v27, v9

    move-object/from16 v28, v10

    invoke-direct/range {v23 .. v28}, Lz5/a6;-><init>(III[I[I)V

    goto :goto_56a

    :cond_546
    move/from16 v8, v16

    move/from16 v4, v17

    goto :goto_551

    :cond_54b
    move/from16 v8, v16

    move/from16 v4, v17

    move/from16 v3, v21

    :cond_551
    :goto_551
    invoke-static {v0, v13, v3, v4, v8}, Lz5/u5;->e(IIIII)Ljava/lang/String;

    move-result-object v2

    new-array v5, v11, [B

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

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

    const/4 v9, 0x0

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

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

    add-int/2addr v6, v11

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

    .line 34
    new-instance v6, Lz5/i5;

    invoke-direct {v6, v2, v5}, Lz5/i5;-><init>(Ljava/lang/String;[B)V
    :try_end_569
    .catch Ljava/io/UnsupportedEncodingException; {:try_start_2d0 .. :try_end_569} :catch_5a4
    .catchall {:try_start_2d0 .. :try_end_569} :catchall_5a0

    move-object v2, v6

    :goto_56a
    if-nez v2, :cond_59a

    move/from16 v5, v22

    :try_start_56e
    invoke-static {v0, v5, v3, v4, v8}, Lz5/u5;->e(IIIII)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

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

    move-result v3

    add-int/lit8 v3, v3, 0x32

    new-instance v4, Ljava/lang/StringBuilder;

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

    const-string v3, "Failed to decode frame: id="

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

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

    const-string v0, ", frameSize="

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

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

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

    move-result-object v0
    :try_end_595
    .catch Ljava/io/UnsupportedEncodingException; {:try_start_56e .. :try_end_595} :catch_347
    .catchall {:try_start_56e .. :try_end_595} :catchall_5a0

    move-object/from16 v3, v20

    :try_start_597
    invoke-static {v3, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
    :try_end_59a
    .catch Ljava/io/UnsupportedEncodingException; {:try_start_597 .. :try_end_59a} :catch_28a
    .catchall {:try_start_597 .. :try_end_59a} :catchall_5a0

    :cond_59a
    move/from16 v14, v19

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

    return-object v2

    :catchall_5a0
    move-exception v0

    :goto_5a1
    move/from16 v14, v19

    goto :goto_5b2

    :catch_5a4
    move/from16 v14, v19

    move-object/from16 v3, v20

    :goto_5a8
    :try_start_5a8
    const-string v0, "Unsupported character encoding"

    invoke-static {v3, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
    :try_end_5ad
    .catchall {:try_start_5a8 .. :try_end_5ad} :catchall_132

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

    const/4 v0, 0x0

    return-object v0

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

    throw v0

    :cond_5b6
    :goto_5b6
    move-object v3, v8

    const-string v0, "Skipping unsupported compressed or encrypted frame"

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

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

    const/4 v0, 0x0

    return-object v0

    :cond_5c1
    move-object v0, v13

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

    return-object v0
.end method

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

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

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

    move-result p0

    move v1, p0

    :goto_7
    add-int/lit8 v2, v1, 0x1

    add-int v3, p0, p1

    if-ge v2, v3, :cond_26

    aget-byte v3, v0, v1

    const/16 v4, 0xff

    and-int/2addr v3, v4

    if-ne v3, v4, :cond_24

    aget-byte v3, v0, v2

    if-nez v3, :cond_24

    add-int/lit8 v3, v1, 0x2

    sub-int/2addr v1, p0

    sub-int v1, p1, v1

    add-int/lit8 v1, v1, -0x2

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

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

    :cond_24
    move v1, v2

    goto :goto_7

    :cond_26
    return p1
.end method

.method public static d(I)Ljava/lang/String;
    .registers 2

    const/4 v0, 0x1

    if-eq p0, v0, :cond_12

    const/4 v0, 0x2

    if-eq p0, v0, :cond_f

    const/4 v0, 0x3

    if-eq p0, v0, :cond_c

    const-string p0, "ISO-8859-1"

    return-object p0

    :cond_c
    const-string p0, "UTF-8"

    return-object p0

    :cond_f
    const-string p0, "UTF-16BE"

    return-object p0

    :cond_12
    const-string p0, "UTF-16"

    return-object p0
.end method

.method public static e(IIIII)Ljava/lang/String;
    .registers 10

    const/4 v0, 0x3

    const/4 v1, 0x1

    const/4 v2, 0x0

    const/4 v3, 0x2

    if-ne p0, v3, :cond_23

    sget-object p0, Ljava/util/Locale;->US:Ljava/util/Locale;

    new-array p4, v0, [Ljava/lang/Object;

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

    move-result-object p1

    aput-object p1, p4, v2

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

    move-result-object p1

    aput-object p1, p4, v1

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

    move-result-object p1

    aput-object p1, p4, v3

    const-string p1, "%c%c%c"

    invoke-static {p0, p1, p4}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p0

    goto :goto_46

    :cond_23
    sget-object p0, Ljava/util/Locale;->US:Ljava/util/Locale;

    const/4 v4, 0x4

    new-array v4, v4, [Ljava/lang/Object;

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

    move-result-object p1

    aput-object p1, v4, v2

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

    move-result-object p1

    aput-object p1, v4, v1

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

    move-result-object p1

    aput-object p1, v4, v3

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

    move-result-object p1

    aput-object p1, v4, v0

    const-string p1, "%c%c%c%c"

    invoke-static {p0, p1, v4}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p0

    :goto_46
    return-object p0
.end method

.method public static f([BII)I
    .registers 5

    invoke-static {p0, p1}, Lz5/u5;->g([BI)I

    move-result v0

    if-eqz p2, :cond_24

    const/4 v1, 0x3

    if-eq p2, v1, :cond_24

    :goto_9
    array-length p2, p0

    add-int/lit8 v1, p2, -0x1

    if-ge v0, v1, :cond_23

    sub-int p2, v0, p1

    rem-int/lit8 p2, p2, 0x2

    if-nez p2, :cond_1c

    add-int/lit8 p2, v0, 0x1

    aget-byte p2, p0, p2

    if-eqz p2, :cond_1b

    goto :goto_1c

    :cond_1b
    return v0

    :cond_1c
    :goto_1c
    add-int/lit8 v0, v0, 0x1

    invoke-static {p0, v0}, Lz5/u5;->g([BI)I

    move-result v0

    goto :goto_9

    :cond_23
    return p2

    :cond_24
    return v0
.end method

.method public static g([BI)I
    .registers 3

    :goto_0
    array-length v0, p0

    if-ge p1, v0, :cond_b

    aget-byte v0, p0, p1

    if-nez v0, :cond_8

    return p1

    :cond_8
    add-int/lit8 p1, p1, 0x1

    goto :goto_0

    :cond_b
    return v0
.end method

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

    if-eqz p0, :cond_8

    const/4 v0, 0x3

    if-ne p0, v0, :cond_6

    goto :goto_8

    :cond_6
    const/4 p0, 0x2

    return p0

    :cond_8
    :goto_8
    const/4 p0, 0x1

    return p0
.end method

.method public static i([BII)[B
    .registers 3

    if-gt p2, p1, :cond_5

    sget-object p0, Lz5/r7;->f:[B

    return-object p0

    :cond_5
    invoke-static {p0, p1, p2}, Ljava/util/Arrays;->copyOfRange([BII)[B

    move-result-object p0

    return-object p0
.end method

.method public static j([BIILjava/lang/String;)Ljava/lang/String;
    .registers 5

    if-le p2, p1, :cond_d

    array-length v0, p0

    if-le p2, v0, :cond_6

    goto :goto_d

    :cond_6
    new-instance v0, Ljava/lang/String;

    sub-int/2addr p2, p1

    invoke-direct {v0, p0, p1, p2, p3}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    return-object v0

    :cond_d
    :goto_d
    const-string p0, ""

    return-object p0
.end method
