.class public final Lz5/st0;
.super Lz5/ct0;
.source ""


# instance fields
.field public i:[I

.field public j:[I


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

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

    return-void
.end method


# virtual methods
.method public final b(Ljava/nio/ByteBuffer;)V
    .registers 9

    iget-object v0, p0, Lz5/st0;->j:[I

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

    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->position()I

    move-result v1

    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->limit()I

    move-result v2

    sub-int v3, v2, v1

    iget-object v4, p0, Lz5/ct0;->b:Lz5/rg0;

    iget v4, v4, Lz5/rg0;->d:I

    div-int/2addr v3, v4

    iget-object v4, p0, Lz5/ct0;->c:Lz5/rg0;

    iget v4, v4, Lz5/rg0;->d:I

    mul-int/2addr v3, v4

    invoke-virtual {p0, v3}, Lz5/ct0;->c(I)Ljava/nio/ByteBuffer;

    move-result-object v3

    :goto_1d
    if-ge v1, v2, :cond_37

    array-length v4, v0

    const/4 v5, 0x0

    :goto_21
    if-ge v5, v4, :cond_31

    aget v6, v0, v5

    add-int/2addr v6, v6

    add-int/2addr v6, v1

    invoke-virtual {p1, v6}, Ljava/nio/ByteBuffer;->getShort(I)S

    move-result v6

    invoke-virtual {v3, v6}, Ljava/nio/ByteBuffer;->putShort(S)Ljava/nio/ByteBuffer;

    add-int/lit8 v5, v5, 0x1

    goto :goto_21

    :cond_31
    iget-object v4, p0, Lz5/ct0;->b:Lz5/rg0;

    iget v4, v4, Lz5/rg0;->d:I

    add-int/2addr v1, v4

    goto :goto_1d

    :cond_37
    invoke-virtual {p1, v2}, Ljava/nio/ByteBuffer;->position(I)Ljava/nio/Buffer;

    invoke-virtual {v3}, Ljava/nio/ByteBuffer;->flip()Ljava/nio/Buffer;

    return-void
.end method

.method public final d(Lz5/rg0;)Lz5/rg0;
    .registers 10

    iget-object v0, p0, Lz5/st0;->i:[I

    if-nez v0, :cond_7

    sget-object p1, Lz5/rg0;->e:Lz5/rg0;

    return-object p1

    :cond_7
    iget v1, p1, Lz5/rg0;->c:I

    const/4 v2, 0x2

    if-ne v1, v2, :cond_3c

    iget v1, p1, Lz5/rg0;->b:I

    array-length v3, v0

    const/4 v4, 0x1

    const/4 v5, 0x0

    if-eq v1, v3, :cond_15

    move v1, v4

    goto :goto_16

    :cond_15
    move v1, v5

    :goto_16
    move v3, v5

    :goto_17
    array-length v6, v0

    if-ge v3, v6, :cond_2f

    aget v6, v0, v3

    iget v7, p1, Lz5/rg0;->b:I

    if-ge v6, v7, :cond_29

    if-eq v6, v3, :cond_24

    move v6, v4

    goto :goto_25

    :cond_24
    move v6, v5

    :goto_25
    or-int/2addr v1, v6

    add-int/lit8 v3, v3, 0x1

    goto :goto_17

    :cond_29
    new-instance v0, Lz5/lh0;

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

    throw v0

    :cond_2f
    if-eqz v1, :cond_39

    new-instance v0, Lz5/rg0;

    iget p1, p1, Lz5/rg0;->a:I

    invoke-direct {v0, p1, v6, v2}, Lz5/rg0;-><init>(III)V

    goto :goto_3b

    :cond_39
    sget-object v0, Lz5/rg0;->e:Lz5/rg0;

    :goto_3b
    return-object v0

    :cond_3c
    new-instance v0, Lz5/lh0;

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

    throw v0
.end method

.method public final f()V
    .registers 2

    iget-object v0, p0, Lz5/st0;->i:[I

    iput-object v0, p0, Lz5/st0;->j:[I

    return-void
.end method

.method public final g()V
    .registers 2

    const/4 v0, 0x0

    iput-object v0, p0, Lz5/st0;->j:[I

    iput-object v0, p0, Lz5/st0;->i:[I

    return-void
.end method
