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

# interfaces
.implements Lz5/zt1;


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

.field public final b:Lz5/j7;

.field public final c:Lz5/j7;

.field public final d:Lz5/i7;

.field public e:Lz5/bu1;

.field public f:J

.field public g:J

.field public h:Z

.field public i:Z


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

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

    new-instance p1, Lz5/qw1;

    const/4 v0, 0x1

    const/4 v1, 0x0

    invoke-direct {p1, v0, v1}, Lz5/qw1;-><init>(ZLjava/lang/String;)V

    iput-object p1, p0, Lz5/pw1;->a:Lz5/qw1;

    new-instance p1, Lz5/j7;

    const/16 v0, 0x800

    const/4 v1, 0x0

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

    iput-object p1, p0, Lz5/pw1;->b:Lz5/j7;

    const-wide/16 v2, -0x1

    iput-wide v2, p0, Lz5/pw1;->g:J

    new-instance p1, Lz5/j7;

    const/16 v0, 0xa

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

    iput-object p1, p0, Lz5/pw1;->c:Lz5/j7;

    new-instance v0, Lz5/i7;

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

    .line 2
    array-length v2, p1

    invoke-direct {v0, p1, v2, v1}, Lz5/i7;-><init>([BII)V

    iput-object v0, p0, Lz5/pw1;->d:Lz5/i7;

    return-void
.end method


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

    const/4 v0, 0x0

    move v1, v0

    :goto_2
    iget-object v2, p0, Lz5/pw1;->c:Lz5/j7;

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

    .line 2
    move-object v3, p1

    check-cast v3, Lz5/vt1;

    const/16 v4, 0xa

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

    iget-object v2, p0, Lz5/pw1;->c:Lz5/j7;

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

    iget-object v2, p0, Lz5/pw1;->c:Lz5/j7;

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

    move-result v2

    const v4, 0x494433

    if-eq v2, v4, :cond_94

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

    move-object v2, p1

    check-cast v2, Lz5/vt1;

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

    iget-wide v3, p0, Lz5/pw1;->g:J

    const-wide/16 v5, -0x1

    cmp-long v3, v3, v5

    if-nez v3, :cond_32

    int-to-long v3, v1

    iput-wide v3, p0, Lz5/pw1;->g:J

    :cond_32
    move v3, v0

    move v5, v3

    move v4, v1

    :goto_35
    iget-object v6, p0, Lz5/pw1;->c:Lz5/j7;

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

    const/4 v7, 0x2

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

    iget-object v6, p0, Lz5/pw1;->c:Lz5/j7;

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

    iget-object v6, p0, Lz5/pw1;->c:Lz5/j7;

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

    move-result v6

    const v7, 0xfff6

    and-int/2addr v6, v7

    const v7, 0xfff0

    const/4 v8, 0x1

    if-ne v6, v7, :cond_54

    move v6, v8

    goto :goto_55

    :cond_54
    move v6, v0

    :goto_55
    if-nez v6, :cond_69

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

    add-int/lit8 v4, v4, 0x1

    sub-int v3, v4, v1

    const/16 v5, 0x2000

    if-ge v3, v5, :cond_68

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

    move v3, v0

    move v5, v3

    goto :goto_35

    :cond_68
    return v0

    :cond_69
    add-int/2addr v3, v8

    const/4 v6, 0x4

    if-lt v3, v6, :cond_73

    const/16 v7, 0xbc

    if-gt v5, v7, :cond_72

    goto :goto_73

    :cond_72
    return v8

    :cond_73
    :goto_73
    iget-object v7, p0, Lz5/pw1;->c:Lz5/j7;

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

    .line 6
    invoke-virtual {v2, v7, v0, v6, v0}, Lz5/vt1;->k([BIIZ)Z

    iget-object v6, p0, Lz5/pw1;->d:Lz5/i7;

    const/16 v7, 0xe

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

    iget-object v6, p0, Lz5/pw1;->d:Lz5/i7;

    const/16 v7, 0xd

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

    move-result v6

    const/4 v7, 0x6

    if-gt v6, v7, :cond_8d

    return v0

    :cond_8d
    add-int/lit8 v7, v6, -0x6

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

    add-int/2addr v5, v6

    goto :goto_35

    :cond_94
    iget-object v2, p0, Lz5/pw1;->c:Lz5/j7;

    const/4 v4, 0x3

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

    iget-object v2, p0, Lz5/pw1;->c:Lz5/j7;

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

    move-result v2

    add-int/lit8 v4, v2, 0xa

    add-int/2addr v1, v4

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

    goto/16 :goto_2
.end method

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

    iget-object p2, p0, Lz5/pw1;->e:Lz5/bu1;

    invoke-static {p2}, Lcom/google/android/gms/internal/ads/d;->p(Ljava/lang/Object;)Ljava/lang/Object;

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

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

    const/16 v0, 0x800

    const/4 v1, 0x0

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

    move-result p1

    iget-boolean p2, p0, Lz5/pw1;->i:Z

    const/4 v0, 0x1

    if-nez p2, :cond_28

    iget-object p2, p0, Lz5/pw1;->e:Lz5/bu1;

    new-instance v2, Lz5/eu1;

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

    const-wide/16 v5, 0x0

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

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

    iput-boolean v0, p0, Lz5/pw1;->i:Z

    :cond_28
    const/4 p2, -0x1

    if-ne p1, p2, :cond_2c

    return p2

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

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

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

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

    iget-boolean p1, p0, Lz5/pw1;->h:Z

    if-nez p1, :cond_44

    iget-object p1, p0, Lz5/pw1;->a:Lz5/qw1;

    iget-wide v2, p0, Lz5/pw1;->f:J

    const/4 p2, 0x4

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

    iput-boolean v0, p0, Lz5/pw1;->h:Z

    :cond_44
    iget-object p1, p0, Lz5/pw1;->a:Lz5/qw1;

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

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

    return v1
.end method

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

    iput-object p1, p0, Lz5/pw1;->e:Lz5/bu1;

    iget-object v0, p0, Lz5/pw1;->a:Lz5/qw1;

    new-instance v1, Lz5/rx1;

    const/high16 v2, -0x80000000

    const/4 v3, 0x0

    const/4 v4, 0x1

    invoke-direct {v1, v2, v3, v4}, Lz5/rx1;-><init>(III)V

    invoke-virtual {v0, p1, v1}, Lz5/qw1;->c(Lz5/bu1;Lz5/rx1;)V

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

    return-void
.end method

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

    const/4 p1, 0x0

    iput-boolean p1, p0, Lz5/pw1;->h:Z

    iget-object p1, p0, Lz5/pw1;->a:Lz5/qw1;

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

    iput-wide p3, p0, Lz5/pw1;->f:J

    return-void
.end method
