.class public final Lz5/nm1;
.super Lz5/zj1;
.source ""


# static fields
.field public static final y:[I


# instance fields
.field public final t:I

.field public final u:Lz5/zj1;

.field public final v:Lz5/zj1;

.field public final w:I

.field public final x:I


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

    const/16 v0, 0x2f

    new-array v0, v0, [I

    fill-array-data v0, :array_a

    sput-object v0, Lz5/nm1;->y:[I

    return-void

    :array_a
    .array-data 4
        0x1
        0x1
        0x2
        0x3
        0x5
        0x8
        0xd
        0x15
        0x22
        0x37
        0x59
        0x90
        0xe9
        0x179
        0x262
        0x3db
        0x63d
        0xa18
        0x1055
        0x1a6d
        0x2ac2
        0x452f
        0x6ff1
        0xb520
        0x12511
        0x1da31
        0x2ff42
        0x4d973
        0x7d8b5
        0xcb228
        0x148add
        0x213d05
        0x35c7e2
        0x5704e7
        0x8cccc9
        0xe3d1b0
        0x1709e79
        0x2547029
        0x3c50ea2
        0x6197ecb
        0x9de8d6d
        0xff80c38
        0x19d699a5
        0x29cea5dd
        0x43a53f82
        0x6d73e55f
        0x7fffffff
    .end array-data
.end method

.method public constructor <init>(Lz5/zj1;Lz5/zj1;)V
    .registers 5

    invoke-direct {p0}, Lz5/zj1;-><init>()V

    iput-object p1, p0, Lz5/nm1;->u:Lz5/zj1;

    iput-object p2, p0, Lz5/nm1;->v:Lz5/zj1;

    invoke-virtual {p1}, Lz5/zj1;->o()I

    move-result v0

    iput v0, p0, Lz5/nm1;->w:I

    invoke-virtual {p2}, Lz5/zj1;->o()I

    move-result v1

    add-int/2addr v1, v0

    iput v1, p0, Lz5/nm1;->t:I

    invoke-virtual {p1}, Lz5/zj1;->K()I

    move-result p1

    invoke-virtual {p2}, Lz5/zj1;->K()I

    move-result p2

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

    move-result p1

    add-int/lit8 p1, p1, 0x1

    iput p1, p0, Lz5/nm1;->x:I

    return-void
.end method

.method public static q0(I)I
    .registers 3

    sget-object v0, Lz5/nm1;->y:[I

    const/16 v1, 0x2f

    if-lt p0, v1, :cond_a

    const p0, 0x7fffffff

    return p0

    :cond_a
    aget p0, v0, p0

    return p0
.end method

.method public static r0(Lz5/zj1;Lz5/zj1;)Lz5/zj1;
    .registers 8

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

    move-result v0

    invoke-virtual {p1}, Lz5/zj1;->o()I

    move-result v1

    add-int v2, v0, v1

    new-array v3, v2, [B

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

    move-result v4

    const/4 v5, 0x0

    invoke-static {v5, v0, v4}, Lz5/zj1;->g(III)I

    add-int/lit8 v4, v0, 0x0

    invoke-static {v5, v4, v2}, Lz5/zj1;->g(III)I

    if-lez v0, :cond_1e

    invoke-virtual {p0, v3, v5, v5, v0}, Lz5/zj1;->H([BIII)V

    :cond_1e
    invoke-virtual {p1}, Lz5/zj1;->o()I

    move-result p0

    invoke-static {v5, v1, p0}, Lz5/zj1;->g(III)I

    invoke-static {v0, v2, v2}, Lz5/zj1;->g(III)I

    if-lez v1, :cond_2d

    invoke-virtual {p1, v3, v5, v0, v1}, Lz5/zj1;->H([BIII)V

    .line 2
    :cond_2d
    new-instance p0, Lz5/xj1;

    invoke-direct {p0, v3}, Lz5/xj1;-><init>([B)V

    return-object p0
.end method


# virtual methods
.method public final H([BIII)V
    .registers 7

    iget v0, p0, Lz5/nm1;->w:I

    add-int v1, p2, p4

    if-gt v1, v0, :cond_c

    iget-object v0, p0, Lz5/nm1;->u:Lz5/zj1;

    invoke-virtual {v0, p1, p2, p3, p4}, Lz5/zj1;->H([BIII)V

    return-void

    :cond_c
    if-lt p2, v0, :cond_15

    iget-object v1, p0, Lz5/nm1;->v:Lz5/zj1;

    sub-int/2addr p2, v0

    invoke-virtual {v1, p1, p2, p3, p4}, Lz5/zj1;->H([BIII)V

    return-void

    :cond_15
    sub-int/2addr v0, p2

    iget-object v1, p0, Lz5/nm1;->u:Lz5/zj1;

    invoke-virtual {v1, p1, p2, p3, v0}, Lz5/zj1;->H([BIII)V

    iget-object p2, p0, Lz5/nm1;->v:Lz5/zj1;

    const/4 v1, 0x0

    add-int/2addr p3, v0

    sub-int/2addr p4, v0

    invoke-virtual {p2, p1, v1, p3, p4}, Lz5/zj1;->H([BIII)V

    return-void
.end method

.method public final K()I
    .registers 2

    iget v0, p0, Lz5/nm1;->x:I

    return v0
.end method

.method public final L()Z
    .registers 3

    iget v0, p0, Lz5/nm1;->t:I

    iget v1, p0, Lz5/nm1;->x:I

    invoke-static {v1}, Lz5/nm1;->q0(I)I

    move-result v1

    if-lt v0, v1, :cond_c

    const/4 v0, 0x1

    return v0

    :cond_c
    const/4 v0, 0x0

    return v0
.end method

.method public final P(II)Lz5/zj1;
    .registers 6

    iget v0, p0, Lz5/nm1;->t:I

    invoke-static {p1, p2, v0}, Lz5/zj1;->g(III)I

    move-result v0

    if-nez v0, :cond_b

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

    return-object p1

    :cond_b
    iget v1, p0, Lz5/nm1;->t:I

    if-ne v0, v1, :cond_10

    return-object p0

    :cond_10
    iget v0, p0, Lz5/nm1;->w:I

    if-gt p2, v0, :cond_1b

    iget-object v0, p0, Lz5/nm1;->u:Lz5/zj1;

    invoke-virtual {v0, p1, p2}, Lz5/zj1;->P(II)Lz5/zj1;

    move-result-object p1

    return-object p1

    :cond_1b
    if-lt p1, v0, :cond_26

    iget-object v1, p0, Lz5/nm1;->v:Lz5/zj1;

    sub-int/2addr p1, v0

    sub-int/2addr p2, v0

    invoke-virtual {v1, p1, p2}, Lz5/zj1;->P(II)Lz5/zj1;

    move-result-object p1

    return-object p1

    :cond_26
    iget-object v0, p0, Lz5/nm1;->u:Lz5/zj1;

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

    move-result v1

    invoke-virtual {v0, p1, v1}, Lz5/zj1;->P(II)Lz5/zj1;

    move-result-object p1

    iget-object v0, p0, Lz5/nm1;->v:Lz5/zj1;

    iget v1, p0, Lz5/nm1;->w:I

    const/4 v2, 0x0

    sub-int/2addr p2, v1

    invoke-virtual {v0, v2, p2}, Lz5/zj1;->P(II)Lz5/zj1;

    move-result-object p2

    new-instance v0, Lz5/nm1;

    invoke-direct {v0, p1, p2}, Lz5/nm1;-><init>(Lz5/zj1;Lz5/zj1;)V

    return-object v0
.end method

.method public final W(Lx/e;)V
    .registers 3

    iget-object v0, p0, Lz5/nm1;->u:Lz5/zj1;

    invoke-virtual {v0, p1}, Lz5/zj1;->W(Lx/e;)V

    iget-object v0, p0, Lz5/nm1;->v:Lz5/zj1;

    invoke-virtual {v0, p1}, Lz5/zj1;->W(Lx/e;)V

    return-void
.end method

.method public final e0(Ljava/nio/charset/Charset;)Ljava/lang/String;
    .registers 4

    new-instance v0, Ljava/lang/String;

    invoke-virtual {p0}, Lz5/zj1;->p0()[B

    move-result-object v1

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

    return-object v0
.end method

.method public final equals(Ljava/lang/Object;)Z
    .registers 14

    const/4 v0, 0x1

    if-ne p1, p0, :cond_4

    return v0

    :cond_4
    instance-of v1, p1, Lz5/zj1;

    const/4 v2, 0x0

    if-nez v1, :cond_a

    return v2

    :cond_a
    check-cast p1, Lz5/zj1;

    iget v1, p0, Lz5/nm1;->t:I

    invoke-virtual {p1}, Lz5/zj1;->o()I

    move-result v3

    if-eq v1, v3, :cond_15

    return v2

    :cond_15
    iget v1, p0, Lz5/nm1;->t:I

    if-nez v1, :cond_1a

    return v0

    .line 1
    :cond_1a
    iget v1, p0, Lz5/zj1;->r:I

    iget v3, p1, Lz5/zj1;->r:I

    if-eqz v1, :cond_26

    if-eqz v3, :cond_26

    if-ne v1, v3, :cond_25

    goto :goto_26

    :cond_25
    return v2

    .line 2
    :cond_26
    :goto_26
    new-instance v1, Lz5/mm1;

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

    invoke-virtual {v1}, Lz5/mm1;->a()Lz5/wj1;

    move-result-object v3

    new-instance v4, Lz5/mm1;

    invoke-direct {v4, p1}, Lz5/mm1;-><init>(Lz5/zj1;)V

    invoke-virtual {v4}, Lz5/mm1;->a()Lz5/wj1;

    move-result-object p1

    move v5, v2

    move v6, v5

    move v7, v6

    :goto_3b
    invoke-virtual {v3}, Lz5/zj1;->o()I

    move-result v8

    sub-int/2addr v8, v5

    invoke-virtual {p1}, Lz5/zj1;->o()I

    move-result v9

    sub-int/2addr v9, v6

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

    move-result v10

    if-nez v5, :cond_50

    invoke-virtual {v3, p1, v6, v10}, Lz5/wj1;->q0(Lz5/zj1;II)Z

    move-result v11

    goto :goto_54

    :cond_50
    invoke-virtual {p1, v3, v5, v10}, Lz5/wj1;->q0(Lz5/zj1;II)Z

    move-result v11

    :goto_54
    if-nez v11, :cond_58

    move v0, v2

    goto :goto_5f

    :cond_58
    add-int/2addr v7, v10

    iget v11, p0, Lz5/nm1;->t:I

    if-lt v7, v11, :cond_66

    if-ne v7, v11, :cond_60

    :goto_5f
    return v0

    :cond_60
    new-instance p1, Ljava/lang/IllegalStateException;

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

    throw p1

    :cond_66
    if-ne v10, v8, :cond_6e

    invoke-virtual {v1}, Lz5/mm1;->a()Lz5/wj1;

    move-result-object v3

    move v5, v2

    goto :goto_6f

    :cond_6e
    add-int/2addr v5, v10

    :goto_6f
    if-ne v10, v9, :cond_77

    invoke-virtual {v4}, Lz5/mm1;->a()Lz5/wj1;

    move-result-object p1

    move v6, v2

    goto :goto_3b

    :cond_77
    add-int/2addr v6, v10

    goto :goto_3b
.end method

.method public final f0()Z
    .registers 5

    iget-object v0, p0, Lz5/nm1;->u:Lz5/zj1;

    iget v1, p0, Lz5/nm1;->w:I

    const/4 v2, 0x0

    invoke-virtual {v0, v2, v2, v1}, Lz5/zj1;->g0(III)I

    move-result v0

    iget-object v1, p0, Lz5/nm1;->v:Lz5/zj1;

    invoke-virtual {v1}, Lz5/zj1;->o()I

    move-result v3

    invoke-virtual {v1, v0, v2, v3}, Lz5/zj1;->g0(III)I

    move-result v0

    if-nez v0, :cond_17

    const/4 v0, 0x1

    return v0

    :cond_17
    return v2
.end method

.method public final g0(III)I
    .registers 6

    iget v0, p0, Lz5/nm1;->w:I

    add-int v1, p2, p3

    if-gt v1, v0, :cond_d

    iget-object v0, p0, Lz5/nm1;->u:Lz5/zj1;

    invoke-virtual {v0, p1, p2, p3}, Lz5/zj1;->g0(III)I

    move-result p1

    return p1

    :cond_d
    if-lt p2, v0, :cond_17

    iget-object v1, p0, Lz5/nm1;->v:Lz5/zj1;

    sub-int/2addr p2, v0

    invoke-virtual {v1, p1, p2, p3}, Lz5/zj1;->g0(III)I

    move-result p1

    return p1

    :cond_17
    sub-int/2addr v0, p2

    iget-object v1, p0, Lz5/nm1;->u:Lz5/zj1;

    invoke-virtual {v1, p1, p2, v0}, Lz5/zj1;->g0(III)I

    move-result p1

    iget-object p2, p0, Lz5/nm1;->v:Lz5/zj1;

    const/4 v1, 0x0

    sub-int/2addr p3, v0

    invoke-virtual {p2, p1, v1, p3}, Lz5/zj1;->g0(III)I

    move-result p1

    return p1
.end method

.method public final h0(III)I
    .registers 6

    iget v0, p0, Lz5/nm1;->w:I

    add-int v1, p2, p3

    if-gt v1, v0, :cond_d

    iget-object v0, p0, Lz5/nm1;->u:Lz5/zj1;

    invoke-virtual {v0, p1, p2, p3}, Lz5/zj1;->h0(III)I

    move-result p1

    return p1

    :cond_d
    if-lt p2, v0, :cond_17

    iget-object v1, p0, Lz5/nm1;->v:Lz5/zj1;

    sub-int/2addr p2, v0

    invoke-virtual {v1, p1, p2, p3}, Lz5/zj1;->h0(III)I

    move-result p1

    return p1

    :cond_17
    sub-int/2addr v0, p2

    iget-object v1, p0, Lz5/nm1;->u:Lz5/zj1;

    invoke-virtual {v1, p1, p2, v0}, Lz5/zj1;->h0(III)I

    move-result p1

    iget-object p2, p0, Lz5/nm1;->v:Lz5/zj1;

    const/4 v1, 0x0

    sub-int/2addr p3, v0

    invoke-virtual {p2, p1, v1, p3}, Lz5/zj1;->h0(III)I

    move-result p1

    return p1
.end method

.method public final i0()Lz5/dk1;
    .registers 8

    new-instance v0, Ljava/util/ArrayList;

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

    .line 1
    new-instance v1, Ljava/util/ArrayDeque;

    .line 2
    iget v2, p0, Lz5/nm1;->x:I

    .line 3
    invoke-direct {v1, v2}, Ljava/util/ArrayDeque;-><init>(I)V

    invoke-virtual {v1, p0}, Ljava/util/ArrayDeque;->push(Ljava/lang/Object;)V

    .line 4
    iget-object v2, p0, Lz5/nm1;->u:Lz5/zj1;

    .line 5
    :goto_11
    instance-of v3, v2, Lz5/nm1;

    if-eqz v3, :cond_1d

    check-cast v2, Lz5/nm1;

    invoke-virtual {v1, v2}, Ljava/util/ArrayDeque;->push(Ljava/lang/Object;)V

    .line 6
    iget-object v2, v2, Lz5/nm1;->u:Lz5/zj1;

    goto :goto_11

    .line 7
    :cond_1d
    check-cast v2, Lz5/wj1;

    :goto_1f
    const/4 v3, 0x0

    const/4 v4, 0x1

    if-eqz v2, :cond_25

    move v5, v4

    goto :goto_26

    :cond_25
    move v5, v3

    :goto_26
    if-eqz v5, :cond_62

    if-eqz v2, :cond_5c

    :cond_2a
    const/4 v5, 0x0

    .line 8
    invoke-virtual {v1}, Ljava/util/ArrayDeque;->isEmpty()Z

    move-result v6

    if-eqz v6, :cond_32

    goto :goto_53

    :cond_32
    invoke-virtual {v1}, Ljava/util/ArrayDeque;->pop()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lz5/nm1;

    .line 9
    iget-object v5, v5, Lz5/nm1;->v:Lz5/zj1;

    .line 10
    :goto_3a
    instance-of v6, v5, Lz5/nm1;

    if-eqz v6, :cond_46

    check-cast v5, Lz5/nm1;

    invoke-virtual {v1, v5}, Ljava/util/ArrayDeque;->push(Ljava/lang/Object;)V

    .line 11
    iget-object v5, v5, Lz5/nm1;->u:Lz5/zj1;

    goto :goto_3a

    .line 12
    :cond_46
    check-cast v5, Lz5/wj1;

    .line 13
    invoke-virtual {v5}, Lz5/zj1;->o()I

    move-result v6

    if-nez v6, :cond_50

    move v6, v4

    goto :goto_51

    :cond_50
    move v6, v3

    :goto_51
    if-nez v6, :cond_2a

    .line 14
    :goto_53
    invoke-virtual {v2}, Lz5/zj1;->Q()Ljava/nio/ByteBuffer;

    move-result-object v2

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

    move-object v2, v5

    goto :goto_1f

    .line 15
    :cond_5c
    new-instance v0, Ljava/util/NoSuchElementException;

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

    throw v0

    .line 16
    :cond_62
    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v1

    move v2, v3

    :goto_67
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_8d

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/nio/ByteBuffer;

    invoke-virtual {v4}, Ljava/nio/ByteBuffer;->remaining()I

    move-result v5

    add-int/2addr v2, v5

    invoke-virtual {v4}, Ljava/nio/ByteBuffer;->hasArray()Z

    move-result v5

    if-eqz v5, :cond_81

    or-int/lit8 v3, v3, 0x1

    goto :goto_67

    :cond_81
    invoke-virtual {v4}, Ljava/nio/ByteBuffer;->isDirect()Z

    move-result v4

    if-eqz v4, :cond_8a

    or-int/lit8 v3, v3, 0x2

    goto :goto_67

    :cond_8a
    or-int/lit8 v3, v3, 0x4

    goto :goto_67

    :cond_8d
    const/4 v1, 0x2

    if-ne v3, v1, :cond_96

    new-instance v1, Lz5/bk1;

    invoke-direct {v1, v0, v2}, Lz5/bk1;-><init>(Ljava/lang/Iterable;I)V

    goto :goto_a1

    :cond_96
    new-instance v1, Lz5/jl1;

    invoke-direct {v1, v0}, Lz5/jl1;-><init>(Ljava/lang/Iterable;)V

    new-instance v0, Lz5/ck1;

    invoke-direct {v0, v1}, Lz5/ck1;-><init>(Ljava/io/InputStream;)V

    move-object v1, v0

    :goto_a1
    return-object v1
.end method

.method public final bridge synthetic iterator()Ljava/util/Iterator;
    .registers 2

    new-instance v0, Lz5/lm1;

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

    return-object v0
.end method

.method public final j0()Lz5/uj1;
    .registers 2

    new-instance v0, Lz5/lm1;

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

    return-object v0
.end method

.method public final k(I)B
    .registers 3

    iget v0, p0, Lz5/nm1;->t:I

    invoke-static {p1, v0}, Lz5/zj1;->e(II)V

    invoke-virtual {p0, p1}, Lz5/nm1;->m(I)B

    move-result p1

    return p1
.end method

.method public final m(I)B
    .registers 4

    iget v0, p0, Lz5/nm1;->w:I

    if-ge p1, v0, :cond_b

    iget-object v0, p0, Lz5/nm1;->u:Lz5/zj1;

    invoke-virtual {v0, p1}, Lz5/zj1;->m(I)B

    move-result p1

    return p1

    :cond_b
    iget-object v1, p0, Lz5/nm1;->v:Lz5/zj1;

    sub-int/2addr p1, v0

    invoke-virtual {v1, p1}, Lz5/zj1;->m(I)B

    move-result p1

    return p1
.end method

.method public final o()I
    .registers 2

    iget v0, p0, Lz5/nm1;->t:I

    return v0
.end method
