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


# annotations
.annotation build Landroid/annotation/TargetApi;
    value = 0x15
.end annotation


# direct methods
.method public static a([BILz5/q9;)I
    .registers 4

    add-int/lit8 v0, p1, 0x1

    aget-byte p1, p0, p1

    if-ltz p1, :cond_9

    iput p1, p2, Lz5/q9;->a:I

    return v0

    :cond_9
    invoke-static {p1, p0, v0, p2}, Lz5/s8;->d(I[BILz5/q9;)I

    move-result p0

    return p0
.end method

.method public static b(Ljava/nio/ByteBuffer;)J
    .registers 5

    invoke-virtual {p0}, Ljava/nio/ByteBuffer;->getInt()I

    move-result p0

    int-to-long v0, p0

    const-wide/16 v2, 0x0

    cmp-long p0, v0, v2

    if-gez p0, :cond_11

    const-wide v2, 0x100000000L

    add-long/2addr v0, v2

    :cond_11
    return-wide v0
.end method

.method public static c(Lz5/au1;Z)Lz5/u4;
    .registers 5

    const/4 v0, 0x0

    if-eqz p1, :cond_5

    move-object p1, v0

    goto :goto_9

    :cond_5
    sget p1, Lz5/u5;->a:I

    sget-object p1, Lz5/r5;->a:Lz5/s5;

    :goto_9
    new-instance v1, Lz5/ex0;

    const/16 v2, 0x1b

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

    invoke-virtual {v1, p0, p1}, Lz5/ex0;->g(Lz5/au1;Lz5/s5;)Lz5/u4;

    move-result-object p0

    if-eqz p0, :cond_1d

    .line 1
    iget-object p1, p0, Lz5/u4;->r:[Lz5/t4;

    array-length p1, p1

    if-nez p1, :cond_1c

    goto :goto_1d

    :cond_1c
    return-object p0

    :cond_1d
    :goto_1d
    return-object v0
.end method

.method public static d(I[BILz5/q9;)I
    .registers 5

    and-int/lit8 p0, p0, 0x7f

    add-int/lit8 v0, p2, 0x1

    aget-byte p2, p1, p2

    if-ltz p2, :cond_b

    shl-int/lit8 p1, p2, 0x7

    goto :goto_26

    :cond_b
    and-int/lit8 p2, p2, 0x7f

    shl-int/lit8 p2, p2, 0x7

    or-int/2addr p0, p2

    add-int/lit8 p2, v0, 0x1

    aget-byte v0, p1, v0

    if-ltz v0, :cond_19

    shl-int/lit8 p1, v0, 0xe

    goto :goto_37

    :cond_19
    and-int/lit8 v0, v0, 0x7f

    shl-int/lit8 v0, v0, 0xe

    or-int/2addr p0, v0

    add-int/lit8 v0, p2, 0x1

    aget-byte p2, p1, p2

    if-ltz p2, :cond_2a

    shl-int/lit8 p1, p2, 0x15

    :goto_26
    or-int/2addr p0, p1

    iput p0, p3, Lz5/q9;->a:I

    return v0

    :cond_2a
    and-int/lit8 p2, p2, 0x7f

    shl-int/lit8 p2, p2, 0x15

    or-int/2addr p0, p2

    add-int/lit8 p2, v0, 0x1

    aget-byte v0, p1, v0

    if-ltz v0, :cond_3b

    shl-int/lit8 p1, v0, 0x1c

    :goto_37
    or-int/2addr p0, p1

    iput p0, p3, Lz5/q9;->a:I

    return p2

    :cond_3b
    and-int/lit8 v0, v0, 0x7f

    shl-int/lit8 v0, v0, 0x1c

    or-int/2addr p0, v0

    :goto_40
    add-int/lit8 v0, p2, 0x1

    aget-byte p2, p1, p2

    if-gez p2, :cond_48

    move p2, v0

    goto :goto_40

    :cond_48
    iput p0, p3, Lz5/q9;->a:I

    return v0
.end method

.method public static e(Ljava/nio/ByteBuffer;)I
    .registers 2

    invoke-virtual {p0}, Ljava/nio/ByteBuffer;->get()B

    move-result v0

    if-gez v0, :cond_8

    add-int/lit16 v0, v0, 0x100

    :cond_8
    shl-int/lit8 v0, v0, 0x8

    invoke-virtual {p0}, Ljava/nio/ByteBuffer;->get()B

    move-result p0

    if-gez p0, :cond_12

    add-int/lit16 p0, p0, 0x100

    :cond_12
    add-int/2addr v0, p0

    return v0
.end method

.method public static f(Lz5/j7;)Lz5/n50;
    .registers 11

    const/4 v0, 0x1

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

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

    move-result v0

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

    move-result v1

    int-to-long v1, v1

    int-to-long v3, v0

    add-long/2addr v1, v3

    div-int/lit8 v0, v0, 0x12

    new-array v3, v0, [J

    new-array v4, v0, [J

    const/4 v5, 0x0

    :goto_16
    if-ge v5, v0, :cond_3a

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

    move-result-wide v6

    const-wide/16 v8, -0x1

    cmp-long v8, v6, v8

    if-nez v8, :cond_2b

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

    move-result-object v3

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

    move-result-object v4

    goto :goto_3a

    :cond_2b
    aput-wide v6, v3, v5

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

    move-result-wide v6

    aput-wide v6, v4, v5

    const/4 v6, 0x2

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

    add-int/lit8 v5, v5, 0x1

    goto :goto_16

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

    move-result v0

    int-to-long v5, v0

    sub-long/2addr v1, v5

    long-to-int v0, v1

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

    new-instance p0, Lz5/n50;

    invoke-direct {p0, v3, v4}, Lz5/n50;-><init>([J[J)V

    return-object p0
.end method

.method public static g([BILz5/q9;)I
    .registers 12

    add-int/lit8 v0, p1, 0x1

    aget-byte p1, p0, p1

    int-to-long v1, p1

    const-wide/16 v3, 0x0

    cmp-long p1, v1, v3

    if-gez p1, :cond_2c

    add-int/lit8 p1, v0, 0x1

    aget-byte v0, p0, v0

    const-wide/16 v3, 0x7f

    and-long/2addr v1, v3

    and-int/lit8 v3, v0, 0x7f

    int-to-long v3, v3

    const/4 v5, 0x7

    shl-long/2addr v3, v5

    or-long/2addr v1, v3

    move v3, v5

    :goto_19
    if-gez v0, :cond_29

    add-int/lit8 v0, p1, 0x1

    aget-byte p1, p0, p1

    add-int/2addr v3, v5

    and-int/lit8 v4, p1, 0x7f

    int-to-long v6, v4

    shl-long/2addr v6, v3

    or-long/2addr v1, v6

    move v8, v0

    move v0, p1

    move p1, v8

    goto :goto_19

    :cond_29
    iput-wide v1, p2, Lz5/q9;->d:J

    return p1

    :cond_2c
    iput-wide v1, p2, Lz5/q9;->d:J

    return v0
.end method

.method public static h([BI)I
    .registers 4

    aget-byte v0, p0, p1

    and-int/lit16 v0, v0, 0xff

    add-int/lit8 v1, p1, 0x1

    aget-byte v1, p0, v1

    and-int/lit16 v1, v1, 0xff

    shl-int/lit8 v1, v1, 0x8

    or-int/2addr v0, v1

    add-int/lit8 v1, p1, 0x2

    aget-byte v1, p0, v1

    and-int/lit16 v1, v1, 0xff

    shl-int/lit8 v1, v1, 0x10

    or-int/2addr v0, v1

    add-int/lit8 p1, p1, 0x3

    aget-byte p0, p0, p1

    and-int/lit16 p0, p0, 0xff

    shl-int/lit8 p0, p0, 0x18

    or-int/2addr p0, v0

    return p0
.end method

.method public static i(Ljava/nio/ByteBuffer;)J
    .registers 5

    invoke-static {p0}, Lz5/s8;->b(Ljava/nio/ByteBuffer;)J

    move-result-wide v0

    const/16 v2, 0x20

    shl-long/2addr v0, v2

    const-wide/16 v2, 0x0

    cmp-long v2, v0, v2

    if-ltz v2, :cond_13

    invoke-static {p0}, Lz5/s8;->b(Ljava/nio/ByteBuffer;)J

    move-result-wide v2

    add-long/2addr v2, v0

    return-wide v2

    :cond_13
    new-instance p0, Ljava/lang/RuntimeException;

    const-string v0, "I don\'t know how to deal with UInt64! long is not sufficient and I don\'t want to use BigInt"

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

    throw p0
.end method

.method public static j(Ljava/nio/ByteBuffer;)D
    .registers 5

    const/4 v0, 0x4

    new-array v0, v0, [B

    invoke-virtual {p0, v0}, Ljava/nio/ByteBuffer;->get([B)Ljava/nio/ByteBuffer;

    const/4 p0, 0x0

    aget-byte p0, v0, p0

    shl-int/lit8 p0, p0, 0x18

    const/high16 v1, -0x1000000

    and-int/2addr p0, v1

    const/4 v1, 0x1

    aget-byte v1, v0, v1

    shl-int/lit8 v1, v1, 0x10

    const/high16 v2, 0xff0000

    and-int/2addr v1, v2

    or-int/2addr p0, v1

    const/4 v1, 0x2

    aget-byte v1, v0, v1

    shl-int/lit8 v1, v1, 0x8

    const v2, 0xff00

    and-int/2addr v1, v2

    or-int/2addr p0, v1

    const/4 v1, 0x3

    aget-byte v0, v0, v1

    and-int/lit16 v0, v0, 0xff

    or-int/2addr p0, v0

    int-to-double v0, p0

    const-wide/high16 v2, 0x40f0000000000000L    # 65536.0

    div-double/2addr v0, v2

    return-wide v0
.end method

.method public static k([BI)J
    .registers 9

    aget-byte v0, p0, p1

    int-to-long v0, v0

    const-wide/16 v2, 0xff

    and-long/2addr v0, v2

    add-int/lit8 v4, p1, 0x1

    aget-byte v4, p0, v4

    int-to-long v4, v4

    and-long/2addr v4, v2

    const/16 v6, 0x8

    shl-long/2addr v4, v6

    or-long/2addr v0, v4

    add-int/lit8 v4, p1, 0x2

    aget-byte v4, p0, v4

    int-to-long v4, v4

    and-long/2addr v4, v2

    const/16 v6, 0x10

    shl-long/2addr v4, v6

    or-long/2addr v0, v4

    add-int/lit8 v4, p1, 0x3

    aget-byte v4, p0, v4

    int-to-long v4, v4

    and-long/2addr v4, v2

    const/16 v6, 0x18

    shl-long/2addr v4, v6

    or-long/2addr v0, v4

    add-int/lit8 v4, p1, 0x4

    aget-byte v4, p0, v4

    int-to-long v4, v4

    and-long/2addr v4, v2

    const/16 v6, 0x20

    shl-long/2addr v4, v6

    or-long/2addr v0, v4

    add-int/lit8 v4, p1, 0x5

    aget-byte v4, p0, v4

    int-to-long v4, v4

    and-long/2addr v4, v2

    const/16 v6, 0x28

    shl-long/2addr v4, v6

    or-long/2addr v0, v4

    add-int/lit8 v4, p1, 0x6

    aget-byte v4, p0, v4

    int-to-long v4, v4

    and-long/2addr v4, v2

    const/16 v6, 0x30

    shl-long/2addr v4, v6

    or-long/2addr v0, v4

    add-int/lit8 p1, p1, 0x7

    aget-byte p0, p0, p1

    int-to-long p0, p0

    and-long/2addr p0, v2

    const/16 v2, 0x38

    shl-long/2addr p0, v2

    or-long/2addr p0, v0

    return-wide p0
.end method

.method public static l(Ljava/nio/ByteBuffer;)D
    .registers 5

    const/4 v0, 0x4

    new-array v0, v0, [B

    invoke-virtual {p0, v0}, Ljava/nio/ByteBuffer;->get([B)Ljava/nio/ByteBuffer;

    const/4 p0, 0x0

    aget-byte p0, v0, p0

    shl-int/lit8 p0, p0, 0x18

    const/high16 v1, -0x1000000

    and-int/2addr p0, v1

    const/4 v1, 0x1

    aget-byte v1, v0, v1

    shl-int/lit8 v1, v1, 0x10

    const/high16 v2, 0xff0000

    and-int/2addr v1, v2

    or-int/2addr p0, v1

    const/4 v1, 0x2

    aget-byte v1, v0, v1

    shl-int/lit8 v1, v1, 0x8

    const v2, 0xff00

    and-int/2addr v1, v2

    or-int/2addr p0, v1

    const/4 v1, 0x3

    aget-byte v0, v0, v1

    and-int/lit16 v0, v0, 0xff

    or-int/2addr p0, v0

    int-to-double v0, p0

    const-wide/high16 v2, 0x41d0000000000000L    # 1.073741824E9

    div-double/2addr v0, v2

    return-wide v0
.end method

.method public static m([BILz5/q9;)I
    .registers 6

    invoke-static {p0, p1, p2}, Lz5/s8;->a([BILz5/q9;)I

    move-result p1

    iget v0, p2, Lz5/q9;->a:I

    if-ltz v0, :cond_1a

    if-nez v0, :cond_f

    const-string p0, ""

    iput-object p0, p2, Lz5/q9;->b:Ljava/lang/Object;

    return p1

    :cond_f
    new-instance v1, Ljava/lang/String;

    sget-object v2, Lz5/gl1;->a:Ljava/nio/charset/Charset;

    invoke-direct {v1, p0, p1, v0, v2}, Ljava/lang/String;-><init>([BIILjava/nio/charset/Charset;)V

    iput-object v1, p2, Lz5/q9;->b:Ljava/lang/Object;

    add-int/2addr p1, v0

    return p1

    :cond_1a
    invoke-static {}, Lz5/il1;->d()Lz5/il1;

    move-result-object p0

    throw p0
.end method

.method public static n([BILz5/q9;)I
    .registers 5

    invoke-static {p0, p1, p2}, Lz5/s8;->a([BILz5/q9;)I

    move-result p1

    iget v0, p2, Lz5/q9;->a:I

    if-ltz v0, :cond_19

    if-nez v0, :cond_f

    const-string p0, ""

    iput-object p0, p2, Lz5/q9;->b:Ljava/lang/Object;

    return p1

    .line 1
    :cond_f
    sget-object v1, Lz5/kn1;->a:Lz5/in1;

    invoke-virtual {v1, p0, p1, v0}, Lz5/in1;->b([BII)Ljava/lang/String;

    move-result-object p0

    .line 2
    iput-object p0, p2, Lz5/q9;->b:Ljava/lang/Object;

    add-int/2addr p1, v0

    return p1

    :cond_19
    invoke-static {}, Lz5/il1;->d()Lz5/il1;

    move-result-object p0

    throw p0
.end method

.method public static o([BILz5/q9;)I
    .registers 5

    invoke-static {p0, p1, p2}, Lz5/s8;->a([BILz5/q9;)I

    move-result p1

    iget v0, p2, Lz5/q9;->a:I

    if-ltz v0, :cond_20

    array-length v1, p0

    sub-int/2addr v1, p1

    if-gt v0, v1, :cond_1b

    if-nez v0, :cond_13

    sget-object p0, Lz5/zj1;->s:Lz5/zj1;

    iput-object p0, p2, Lz5/q9;->b:Ljava/lang/Object;

    return p1

    :cond_13
    invoke-static {p0, p1, v0}, Lz5/zj1;->k0([BII)Lz5/zj1;

    move-result-object p0

    iput-object p0, p2, Lz5/q9;->b:Ljava/lang/Object;

    add-int/2addr p1, v0

    return p1

    :cond_1b
    invoke-static {}, Lz5/il1;->b()Lz5/il1;

    move-result-object p0

    throw p0

    :cond_20
    invoke-static {}, Lz5/il1;->d()Lz5/il1;

    move-result-object p0

    throw p0
.end method

.method public static p(Lz5/om1;[BIILz5/q9;)I
    .registers 11

    add-int/lit8 v0, p2, 0x1

    aget-byte p2, p1, p2

    if-gez p2, :cond_c

    invoke-static {p2, p1, v0, p4}, Lz5/s8;->d(I[BILz5/q9;)I

    move-result v0

    iget p2, p4, Lz5/q9;->a:I

    :cond_c
    move v3, v0

    if-ltz p2, :cond_25

    sub-int/2addr p3, v3

    if-gt p2, p3, :cond_25

    invoke-interface {p0}, Lz5/om1;->zza()Ljava/lang/Object;

    move-result-object p3

    add-int/2addr p2, v3

    move-object v0, p0

    move-object v1, p3

    move-object v2, p1

    move v4, p2

    move-object v5, p4

    invoke-interface/range {v0 .. v5}, Lz5/om1;->a(Ljava/lang/Object;[BIILz5/q9;)V

    invoke-interface {p0, p3}, Lz5/om1;->b(Ljava/lang/Object;)V

    iput-object p3, p4, Lz5/q9;->b:Ljava/lang/Object;

    return p2

    :cond_25
    invoke-static {}, Lz5/il1;->b()Lz5/il1;

    move-result-object p0

    throw p0
.end method

.method public static q(Lz5/om1;[BIIILz5/q9;)I
    .registers 14

    check-cast p0, Lcom/google/android/gms/internal/ads/v8;

    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/v8;->zza()Ljava/lang/Object;

    move-result-object v7

    move-object v0, p0

    move-object v1, v7

    move-object v2, p1

    move v3, p2

    move v4, p3

    move v5, p4

    move-object v6, p5

    invoke-virtual/range {v0 .. v6}, Lcom/google/android/gms/internal/ads/v8;->D(Ljava/lang/Object;[BIIILz5/q9;)I

    move-result p1

    invoke-virtual {p0, v7}, Lcom/google/android/gms/internal/ads/v8;->b(Ljava/lang/Object;)V

    iput-object v7, p5, Lz5/q9;->b:Ljava/lang/Object;

    return p1
.end method

.method public static r(I[BIILz5/fl1;Lz5/q9;)I
    .registers 8
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I[BII",
            "Lz5/fl1<",
            "*>;",
            "Lz5/q9;",
            ")I"
        }
    .end annotation

    check-cast p4, Lz5/yk1;

    invoke-static {p1, p2, p5}, Lz5/s8;->a([BILz5/q9;)I

    move-result p2

    :goto_6
    iget v0, p5, Lz5/q9;->a:I

    invoke-virtual {p4, v0}, Lz5/yk1;->g(I)V

    if-ge p2, p3, :cond_1b

    invoke-static {p1, p2, p5}, Lz5/s8;->a([BILz5/q9;)I

    move-result v0

    iget v1, p5, Lz5/q9;->a:I

    if-eq p0, v1, :cond_16

    goto :goto_1b

    :cond_16
    invoke-static {p1, v0, p5}, Lz5/s8;->a([BILz5/q9;)I

    move-result p2

    goto :goto_6

    :cond_1b
    :goto_1b
    return p2
.end method

.method public static s([BILz5/fl1;Lz5/q9;)I
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "([BI",
            "Lz5/fl1<",
            "*>;",
            "Lz5/q9;",
            ")I"
        }
    .end annotation

    check-cast p2, Lz5/yk1;

    invoke-static {p0, p1, p3}, Lz5/s8;->a([BILz5/q9;)I

    move-result p1

    iget v0, p3, Lz5/q9;->a:I

    add-int/2addr v0, p1

    :goto_9
    if-ge p1, v0, :cond_15

    invoke-static {p0, p1, p3}, Lz5/s8;->a([BILz5/q9;)I

    move-result p1

    iget v1, p3, Lz5/q9;->a:I

    invoke-virtual {p2, v1}, Lz5/yk1;->g(I)V

    goto :goto_9

    :cond_15
    if-ne p1, v0, :cond_18

    return p1

    :cond_18
    invoke-static {}, Lz5/il1;->b()Lz5/il1;

    move-result-object p0

    throw p0
.end method

.method public static t(Lz5/om1;I[BIILz5/fl1;Lz5/q9;)I
    .registers 9
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lz5/om1<",
            "*>;I[BII",
            "Lz5/fl1<",
            "*>;",
            "Lz5/q9;",
            ")I"
        }
    .end annotation

    invoke-static {p0, p2, p3, p4, p6}, Lz5/s8;->p(Lz5/om1;[BIILz5/q9;)I

    move-result p3

    :goto_4
    iget-object v0, p6, Lz5/q9;->b:Ljava/lang/Object;

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

    if-ge p3, p4, :cond_19

    invoke-static {p2, p3, p6}, Lz5/s8;->a([BILz5/q9;)I

    move-result v0

    iget v1, p6, Lz5/q9;->a:I

    if-eq p1, v1, :cond_14

    goto :goto_19

    :cond_14
    invoke-static {p0, p2, v0, p4, p6}, Lz5/s8;->p(Lz5/om1;[BIILz5/q9;)I

    move-result p3

    goto :goto_4

    :cond_19
    :goto_19
    return p3
.end method

.method public static u(I[BIILz5/dn1;Lz5/q9;)I
    .registers 15

    ushr-int/lit8 v0, p0, 0x3

    if-eqz v0, :cond_96

    and-int/lit8 v0, p0, 0x7

    if-eqz v0, :cond_88

    const/4 v1, 0x1

    if-eq v0, v1, :cond_7a

    const/4 v1, 0x2

    if-eq v0, v1, :cond_56

    const/4 v1, 0x3

    if-eq v0, v1, :cond_27

    const/4 p3, 0x5

    if-ne v0, p3, :cond_22

    invoke-static {p1, p2}, Lz5/s8;->h([BI)I

    move-result p1

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

    move-result-object p1

    invoke-virtual {p4, p0, p1}, Lz5/dn1;->c(ILjava/lang/Object;)V

    add-int/lit8 p2, p2, 0x4

    return p2

    :cond_22
    invoke-static {}, Lz5/il1;->f()Lz5/il1;

    move-result-object p0

    throw p0

    :cond_27
    and-int/lit8 v0, p0, -0x8

    or-int/lit8 v0, v0, 0x4

    invoke-static {}, Lz5/dn1;->a()Lz5/dn1;

    move-result-object v7

    const/4 v1, 0x0

    :goto_30
    if-ge p2, p3, :cond_49

    invoke-static {p1, p2, p5}, Lz5/s8;->a([BILz5/q9;)I

    move-result v3

    iget p2, p5, Lz5/q9;->a:I

    move v1, p2

    if-ne p2, v0, :cond_3d

    move p2, v3

    goto :goto_49

    :cond_3d
    move-object v2, p1

    move v4, p3

    move-object v5, v7

    move-object v6, p5

    invoke-static/range {v1 .. v6}, Lz5/s8;->u(I[BIILz5/dn1;Lz5/q9;)I

    move-result v1

    move v8, v1

    move v1, p2

    move p2, v8

    goto :goto_30

    :cond_49
    :goto_49
    if-gt p2, p3, :cond_51

    if-ne v1, v0, :cond_51

    invoke-virtual {p4, p0, v7}, Lz5/dn1;->c(ILjava/lang/Object;)V

    return p2

    :cond_51
    invoke-static {}, Lz5/il1;->k()Lz5/il1;

    move-result-object p0

    throw p0

    :cond_56
    invoke-static {p1, p2, p5}, Lz5/s8;->a([BILz5/q9;)I

    move-result p2

    iget p3, p5, Lz5/q9;->a:I

    if-ltz p3, :cond_75

    array-length p5, p1

    sub-int/2addr p5, p2

    if-gt p3, p5, :cond_70

    if-nez p3, :cond_67

    sget-object p1, Lz5/zj1;->s:Lz5/zj1;

    goto :goto_6b

    :cond_67
    invoke-static {p1, p2, p3}, Lz5/zj1;->k0([BII)Lz5/zj1;

    move-result-object p1

    :goto_6b
    invoke-virtual {p4, p0, p1}, Lz5/dn1;->c(ILjava/lang/Object;)V

    add-int/2addr p2, p3

    return p2

    :cond_70
    invoke-static {}, Lz5/il1;->b()Lz5/il1;

    move-result-object p0

    throw p0

    :cond_75
    invoke-static {}, Lz5/il1;->d()Lz5/il1;

    move-result-object p0

    throw p0

    :cond_7a
    invoke-static {p1, p2}, Lz5/s8;->k([BI)J

    move-result-wide v0

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

    move-result-object p1

    invoke-virtual {p4, p0, p1}, Lz5/dn1;->c(ILjava/lang/Object;)V

    add-int/lit8 p2, p2, 0x8

    return p2

    :cond_88
    invoke-static {p1, p2, p5}, Lz5/s8;->g([BILz5/q9;)I

    move-result p1

    iget-wide p2, p5, Lz5/q9;->d:J

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

    move-result-object p2

    invoke-virtual {p4, p0, p2}, Lz5/dn1;->c(ILjava/lang/Object;)V

    return p1

    :cond_96
    invoke-static {}, Lz5/il1;->f()Lz5/il1;

    move-result-object p0

    throw p0
.end method
