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

# interfaces
.implements Lz5/zt1;


# instance fields
.field public final a:Lz5/ow1;

.field public final b:Lz5/j7;

.field public c:Z


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

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

    new-instance v0, Lz5/ow1;

    const/4 v1, 0x0

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

    iput-object v0, p0, Lz5/nw1;->a:Lz5/ow1;

    new-instance v0, Lz5/j7;

    const/16 v1, 0x4000

    const/4 v2, 0x0

    invoke-direct {v0, v1, v2}, Lz5/j7;-><init>(II)V

    iput-object v0, p0, Lz5/nw1;->b:Lz5/j7;

    return-void
.end method


# virtual methods
.method public final c(Lz5/au1;)Z
    .registers 17

    new-instance v0, Lz5/j7;

    const/16 v1, 0xa

    const/4 v2, 0x0

    invoke-direct {v0, v1, v2}, Lz5/j7;-><init>(II)V

    move v3, v2

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

    .line 2
    move-object/from16 v5, p1

    check-cast v5, Lz5/vt1;

    invoke-virtual {v5, v4, v2, v1, v2}, Lz5/vt1;->k([BIIZ)Z

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

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

    move-result v4

    const v6, 0x494433

    const/4 v7, 0x3

    if-eq v4, v6, :cond_97

    invoke-interface/range {p1 .. p1}, Lz5/au1;->zzl()V

    move-object/from16 v4, p1

    check-cast v4, Lz5/vt1;

    invoke-virtual {v4, v3, v2}, Lz5/vt1;->i(IZ)Z

    move v1, v2

    move v5, v3

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

    const/4 v8, 0x7

    .line 4
    invoke-virtual {v4, v6, v2, v8, v2}, Lz5/vt1;->k([BIIZ)Z

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

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

    move-result v6

    const v9, 0xac40

    const v10, 0xac41

    if-eq v6, v9, :cond_53

    if-eq v6, v10, :cond_53

    invoke-interface/range {p1 .. p1}, Lz5/au1;->zzl()V

    add-int/lit8 v5, v5, 0x1

    sub-int v1, v5, v3

    const/16 v6, 0x2000

    if-ge v1, v6, :cond_52

    invoke-virtual {v4, v5, v2}, Lz5/vt1;->i(IZ)Z

    move v1, v2

    goto :goto_2b

    :cond_52
    return v2

    :cond_53
    const/4 v9, 0x1

    add-int/2addr v1, v9

    const/4 v11, 0x4

    if-lt v1, v11, :cond_59

    return v9

    .line 5
    :cond_59
    iget-object v9, v0, Lz5/j7;->b:[B

    .line 6
    array-length v12, v9

    const/4 v13, -0x1

    if-ge v12, v8, :cond_61

    move v12, v13

    goto :goto_8e

    :cond_61
    const/4 v12, 0x2

    aget-byte v12, v9, v12

    and-int/lit16 v12, v12, 0xff

    shl-int/lit8 v12, v12, 0x8

    aget-byte v14, v9, v7

    and-int/lit16 v14, v14, 0xff

    or-int/2addr v12, v14

    const v14, 0xffff

    if-ne v12, v14, :cond_88

    aget-byte v11, v9, v11

    and-int/lit16 v11, v11, 0xff

    shl-int/lit8 v11, v11, 0x10

    const/4 v12, 0x5

    aget-byte v12, v9, v12

    and-int/lit16 v12, v12, 0xff

    shl-int/lit8 v12, v12, 0x8

    or-int/2addr v11, v12

    const/4 v12, 0x6

    aget-byte v9, v9, v12

    and-int/lit16 v9, v9, 0xff

    or-int v12, v11, v9

    goto :goto_89

    :cond_88
    move v8, v11

    :goto_89
    if-ne v6, v10, :cond_8d

    add-int/lit8 v8, v8, 0x2

    :cond_8d
    add-int/2addr v12, v8

    :goto_8e
    if-ne v12, v13, :cond_91

    return v2

    :cond_91
    add-int/lit8 v12, v12, -0x7

    invoke-virtual {v4, v12, v2}, Lz5/vt1;->i(IZ)Z

    goto :goto_2b

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

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

    move-result v4

    add-int/lit8 v6, v4, 0xa

    add-int/2addr v3, v6

    invoke-virtual {v5, v4, v2}, Lz5/vt1;->i(IZ)Z

    goto/16 :goto_9
.end method

.method public final d(Lz5/au1;Lz5/p8;)I
    .registers 7

    iget-object p2, p0, Lz5/nw1;->b:Lz5/j7;

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

    const/16 v0, 0x4000

    const/4 v1, 0x0

    .line 2
    invoke-interface {p1, p2, v1, v0}, Lz5/au1;->a([BII)I

    move-result p1

    const/4 p2, -0x1

    if-ne p1, p2, :cond_f

    return p2

    :cond_f
    iget-object p2, p0, Lz5/nw1;->b:Lz5/j7;

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

    iget-object p2, p0, Lz5/nw1;->b:Lz5/j7;

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

    iget-boolean p1, p0, Lz5/nw1;->c:Z

    if-nez p1, :cond_28

    iget-object p1, p0, Lz5/nw1;->a:Lz5/ow1;

    const-wide/16 v2, 0x0

    const/4 p2, 0x4

    invoke-virtual {p1, v2, v3, p2}, Lz5/ow1;->b(JI)V

    const/4 p1, 0x1

    iput-boolean p1, p0, Lz5/nw1;->c:Z

    :cond_28
    iget-object p1, p0, Lz5/nw1;->a:Lz5/ow1;

    iget-object p2, p0, Lz5/nw1;->b:Lz5/j7;

    invoke-virtual {p1, p2}, Lz5/ow1;->a(Lz5/j7;)V

    return v1
.end method

.method public final e(Lz5/bu1;)V
    .registers 7

    iget-object v0, p0, Lz5/nw1;->a:Lz5/ow1;

    .line 1
    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, ""

    const/4 v3, 0x0

    add-int/lit8 v4, v3, 0xb

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

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

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

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

    move-result-object v1

    .line 2
    iput-object v1, v0, Lz5/ow1;->d:Ljava/lang/String;

    const/4 v1, 0x1

    invoke-interface {p1, v3, v1}, Lz5/bu1;->c(II)Lz5/ou1;

    move-result-object v1

    iput-object v1, v0, Lz5/ow1;->e:Lz5/ou1;

    .line 3
    invoke-interface {p1}, Lz5/bu1;->zzC()V

    new-instance v0, Lz5/eu1;

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

    const-wide/16 v3, 0x0

    invoke-direct {v0, v1, v2, v3, v4}, Lz5/eu1;-><init>(JJ)V

    invoke-interface {p1, v0}, Lz5/bu1;->i(Lz5/lu1;)V

    return-void
.end method

.method public final f(JJ)V
    .registers 5

    const/4 p1, 0x0

    iput-boolean p1, p0, Lz5/nw1;->c:Z

    iget-object p1, p0, Lz5/nw1;->a:Lz5/ow1;

    invoke-virtual {p1}, Lz5/ow1;->zza()V

    return-void
.end method
