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


# instance fields
.field public a:J

.field public b:J

.field public c:J

.field public d:J

.field public e:J

.field public f:J

.field public final g:[Z

.field public h:I


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

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

    const/16 v0, 0xf

    new-array v0, v0, [Z

    iput-object v0, p0, Lz5/xs1;->g:[Z

    return-void
.end method


# virtual methods
.method public final a()V
    .registers 3

    const-wide/16 v0, 0x0

    iput-wide v0, p0, Lz5/xs1;->d:J

    iput-wide v0, p0, Lz5/xs1;->e:J

    iput-wide v0, p0, Lz5/xs1;->f:J

    const/4 v0, 0x0

    iput v0, p0, Lz5/xs1;->h:I

    iget-object v1, p0, Lz5/xs1;->g:[Z

    invoke-static {v1, v0}, Ljava/util/Arrays;->fill([ZZ)V

    return-void
.end method

.method public final b()Z
    .registers 5

    iget-wide v0, p0, Lz5/xs1;->d:J

    const-wide/16 v2, 0xf

    cmp-long v0, v0, v2

    if-lez v0, :cond_e

    iget v0, p0, Lz5/xs1;->h:I

    if-nez v0, :cond_e

    const/4 v0, 0x1

    return v0

    :cond_e
    const/4 v0, 0x0

    return v0
.end method

.method public final c(J)V
    .registers 12

    iget-wide v0, p0, Lz5/xs1;->d:J

    const-wide/16 v2, 0x0

    cmp-long v2, v0, v2

    const-wide/16 v3, 0x1

    if-nez v2, :cond_d

    iput-wide p1, p0, Lz5/xs1;->a:J

    goto :goto_59

    :cond_d
    cmp-long v2, v0, v3

    if-nez v2, :cond_1c

    iget-wide v0, p0, Lz5/xs1;->a:J

    sub-long v0, p1, v0

    iput-wide v0, p0, Lz5/xs1;->b:J

    iput-wide v0, p0, Lz5/xs1;->f:J

    iput-wide v3, p0, Lz5/xs1;->e:J

    goto :goto_59

    :cond_1c
    iget-wide v5, p0, Lz5/xs1;->c:J

    sub-long v5, p1, v5

    const-wide/16 v7, 0xf

    rem-long/2addr v0, v7

    long-to-int v0, v0

    iget-wide v1, p0, Lz5/xs1;->b:J

    sub-long v1, v5, v1

    invoke-static {v1, v2}, Ljava/lang/Math;->abs(J)J

    move-result-wide v1

    const-wide/32 v7, 0xf4240

    cmp-long v1, v1, v7

    if-gtz v1, :cond_4b

    iget-wide v1, p0, Lz5/xs1;->e:J

    add-long/2addr v1, v3

    iput-wide v1, p0, Lz5/xs1;->e:J

    iget-wide v1, p0, Lz5/xs1;->f:J

    add-long/2addr v1, v5

    iput-wide v1, p0, Lz5/xs1;->f:J

    iget-object v1, p0, Lz5/xs1;->g:[Z

    aget-boolean v2, v1, v0

    if-eqz v2, :cond_59

    const/4 v2, 0x0

    aput-boolean v2, v1, v0

    iget v0, p0, Lz5/xs1;->h:I

    add-int/lit8 v0, v0, -0x1

    goto :goto_57

    :cond_4b
    iget-object v1, p0, Lz5/xs1;->g:[Z

    aget-boolean v2, v1, v0

    if-nez v2, :cond_59

    const/4 v2, 0x1

    aput-boolean v2, v1, v0

    iget v0, p0, Lz5/xs1;->h:I

    add-int/2addr v0, v2

    :goto_57
    iput v0, p0, Lz5/xs1;->h:I

    :cond_59
    :goto_59
    iget-wide v0, p0, Lz5/xs1;->d:J

    add-long/2addr v0, v3

    iput-wide v0, p0, Lz5/xs1;->d:J

    iput-wide p1, p0, Lz5/xs1;->c:J

    return-void
.end method
