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

# interfaces
.implements Lz5/qp1;
.implements Lz5/pp1;


# instance fields
.field public final r:Lz5/qp1;

.field public s:Lz5/pp1;

.field public t:[Lz5/to1;

.field public u:J

.field public v:J


# direct methods
.method public constructor <init>(Lz5/qp1;J)V
    .registers 6

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

    iput-object p1, p0, Lz5/ep1;->r:Lz5/qp1;

    const/4 p1, 0x0

    new-array p1, p1, [Lz5/to1;

    iput-object p1, p0, Lz5/ep1;->t:[Lz5/to1;

    const-wide/16 v0, 0x0

    iput-wide v0, p0, Lz5/ep1;->u:J

    iput-wide p2, p0, Lz5/ep1;->v:J

    return-void
.end method


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

    iget-object v0, p0, Lz5/ep1;->r:Lz5/qp1;

    invoke-interface {v0, p1, p2}, Lz5/qp1;->a(J)V

    return-void
.end method

.method public final b(J)Z
    .registers 4

    iget-object v0, p0, Lz5/ep1;->r:Lz5/qp1;

    invoke-interface {v0, p1, p2}, Lz5/qp1;->b(J)Z

    move-result p1

    return p1
.end method

.method public final c(Lz5/qp1;)V
    .registers 2

    iget-object p1, p0, Lz5/ep1;->s:Lz5/pp1;

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

    invoke-interface {p1, p0}, Lz5/pp1;->c(Lz5/qp1;)V

    return-void
.end method

.method public final d(J)J
    .registers 10

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

    iput-wide v0, p0, Lz5/ep1;->u:J

    iget-object v0, p0, Lz5/ep1;->t:[Lz5/to1;

    array-length v1, v0

    const/4 v2, 0x0

    move v3, v2

    :goto_c
    if-ge v3, v1, :cond_17

    aget-object v4, v0, v3

    if-eqz v4, :cond_14

    .line 1
    iput-boolean v2, v4, Lz5/to1;->b:Z

    :cond_14
    add-int/lit8 v3, v3, 0x1

    goto :goto_c

    .line 2
    :cond_17
    iget-object v0, p0, Lz5/ep1;->r:Lz5/qp1;

    invoke-interface {v0, p1, p2}, Lz5/qp1;->d(J)J

    move-result-wide v0

    cmp-long p1, v0, p1

    const/4 p2, 0x1

    if-eqz p1, :cond_34

    const-wide/16 v3, 0x0

    cmp-long p1, v0, v3

    if-ltz p1, :cond_35

    iget-wide v3, p0, Lz5/ep1;->v:J

    const-wide/high16 v5, -0x8000000000000000L

    cmp-long p1, v3, v5

    if-eqz p1, :cond_34

    cmp-long p1, v0, v3

    if-gtz p1, :cond_35

    :cond_34
    move v2, p2

    :cond_35
    invoke-static {v2}, Lcom/google/android/gms/internal/ads/d;->n(Z)V

    return-wide v0
.end method

.method public final e(JZ)V
    .registers 5

    iget-object p3, p0, Lz5/ep1;->r:Lz5/qp1;

    const/4 v0, 0x0

    invoke-interface {p3, p1, p2, v0}, Lz5/qp1;->e(JZ)V

    return-void
.end method

.method public final f(Lz5/pp1;J)V
    .registers 4

    iput-object p1, p0, Lz5/ep1;->s:Lz5/pp1;

    iget-object p1, p0, Lz5/ep1;->r:Lz5/qp1;

    invoke-interface {p1, p0, p2, p3}, Lz5/qp1;->f(Lz5/pp1;J)V

    return-void
.end method

.method public final bridge synthetic g(Lz5/rq1;)V
    .registers 2

    iget-object p1, p0, Lz5/ep1;->s:Lz5/pp1;

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

    invoke-interface {p1, p0}, Lz5/pp1;->g(Lz5/rq1;)V

    return-void
.end method

.method public final h()Z
    .registers 5

    iget-wide v0, p0, Lz5/ep1;->u:J

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

    cmp-long v0, v0, v2

    if-eqz v0, :cond_d

    const/4 v0, 0x1

    return v0

    :cond_d
    const/4 v0, 0x0

    return v0
.end method

.method public final j([Lz5/yq1;[Z[Lz5/qq1;[ZJ)J
    .registers 21

    move-object v0, p0

    move-object/from16 v1, p3

    array-length v2, v1

    new-array v3, v2, [Lz5/to1;

    iput-object v3, v0, Lz5/ep1;->t:[Lz5/to1;

    new-array v2, v2, [Lz5/qq1;

    const/4 v3, 0x0

    move v4, v3

    :goto_c
    array-length v5, v1

    const/4 v11, 0x0

    if-ge v4, v5, :cond_21

    iget-object v5, v0, Lz5/ep1;->t:[Lz5/to1;

    aget-object v6, v1, v4

    check-cast v6, Lz5/to1;

    aput-object v6, v5, v4

    if-eqz v6, :cond_1c

    iget-object v11, v6, Lz5/to1;->a:Lz5/qq1;

    :cond_1c
    aput-object v11, v2, v4

    add-int/lit8 v4, v4, 0x1

    goto :goto_c

    :cond_21
    iget-object v4, v0, Lz5/ep1;->r:Lz5/qp1;

    move-object v5, p1

    move-object/from16 v6, p2

    move-object v7, v2

    move-object/from16 v8, p4

    move-wide/from16 v9, p5

    invoke-interface/range {v4 .. v10}, Lz5/qp1;->j([Lz5/yq1;[Z[Lz5/qq1;[ZJ)J

    move-result-wide v4

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

    iput-wide v6, v0, Lz5/ep1;->u:J

    cmp-long v6, v4, p5

    const/4 v7, 0x1

    if-eqz v6, :cond_4f

    const-wide/16 v8, 0x0

    cmp-long v6, v4, v8

    if-ltz v6, :cond_4e

    iget-wide v8, v0, Lz5/ep1;->v:J

    const-wide/high16 v12, -0x8000000000000000L

    cmp-long v6, v8, v12

    if-eqz v6, :cond_4f

    cmp-long v6, v4, v8

    if-gtz v6, :cond_4e

    goto :goto_4f

    :cond_4e
    move v7, v3

    :cond_4f
    :goto_4f
    invoke-static {v7}, Lcom/google/android/gms/internal/ads/d;->n(Z)V

    :goto_52
    array-length v6, v1

    if-ge v3, v6, :cond_78

    aget-object v6, v2, v3

    if-nez v6, :cond_5e

    iget-object v6, v0, Lz5/ep1;->t:[Lz5/to1;

    aput-object v11, v6, v3

    goto :goto_6f

    :cond_5e
    iget-object v7, v0, Lz5/ep1;->t:[Lz5/to1;

    aget-object v8, v7, v3

    if-eqz v8, :cond_68

    iget-object v8, v8, Lz5/to1;->a:Lz5/qq1;

    if-eq v8, v6, :cond_6f

    :cond_68
    new-instance v8, Lz5/to1;

    invoke-direct {v8, p0, v6}, Lz5/to1;-><init>(Lz5/ep1;Lz5/qq1;)V

    aput-object v8, v7, v3

    :cond_6f
    :goto_6f
    iget-object v6, v0, Lz5/ep1;->t:[Lz5/to1;

    aget-object v6, v6, v3

    aput-object v6, v1, v3

    add-int/lit8 v3, v3, 0x1

    goto :goto_52

    :cond_78
    return-wide v4
.end method

.method public final k(JLz5/g4;)J
    .registers 13

    const-wide/16 v0, 0x0

    cmp-long v2, p1, v0

    if-eqz v2, :cond_3f

    iget-wide v3, p3, Lz5/g4;->a:J

    const-wide/16 v5, 0x0

    move-wide v7, p1

    invoke-static/range {v3 .. v8}, Lz5/r7;->w(JJJ)J

    move-result-wide v0

    iget-wide v2, p3, Lz5/g4;->b:J

    iget-wide v4, p0, Lz5/ep1;->v:J

    const-wide/high16 v6, -0x8000000000000000L

    cmp-long v6, v4, v6

    if-nez v6, :cond_1f

    const-wide v4, 0x7fffffffffffffffL

    goto :goto_20

    :cond_1f
    sub-long/2addr v4, p1

    :goto_20
    move-wide v6, v4

    const-wide/16 v4, 0x0

    invoke-static/range {v2 .. v7}, Lz5/r7;->w(JJJ)J

    move-result-wide v2

    iget-wide v4, p3, Lz5/g4;->a:J

    cmp-long v4, v0, v4

    if-nez v4, :cond_33

    iget-wide v4, p3, Lz5/g4;->b:J

    cmp-long v4, v2, v4

    if-eqz v4, :cond_38

    :cond_33
    new-instance p3, Lz5/g4;

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

    :cond_38
    iget-object v0, p0, Lz5/ep1;->r:Lz5/qp1;

    invoke-interface {v0, p1, p2, p3}, Lz5/qp1;->k(JLz5/g4;)J

    move-result-wide p1

    return-wide p1

    :cond_3f
    return-wide v0
.end method

.method public final zzc()V
    .registers 2

    iget-object v0, p0, Lz5/ep1;->r:Lz5/qp1;

    invoke-interface {v0}, Lz5/qp1;->zzc()V

    return-void
.end method

.method public final zzd()Lz5/fw1;
    .registers 2

    iget-object v0, p0, Lz5/ep1;->r:Lz5/qp1;

    invoke-interface {v0}, Lz5/qp1;->zzd()Lz5/fw1;

    move-result-object v0

    return-object v0
.end method

.method public final zzg()J
    .registers 10

    invoke-virtual {p0}, Lz5/ep1;->h()Z

    move-result v0

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

    if-eqz v0, :cond_19

    iget-wide v3, p0, Lz5/ep1;->u:J

    iput-wide v1, p0, Lz5/ep1;->u:J

    invoke-virtual {p0}, Lz5/ep1;->zzg()J

    move-result-wide v5

    cmp-long v0, v5, v1

    if-eqz v0, :cond_18

    return-wide v5

    :cond_18
    return-wide v3

    :cond_19
    iget-object v0, p0, Lz5/ep1;->r:Lz5/qp1;

    invoke-interface {v0}, Lz5/qp1;->zzg()J

    move-result-wide v3

    cmp-long v0, v3, v1

    if-nez v0, :cond_24

    return-wide v1

    :cond_24
    const-wide/16 v0, 0x0

    cmp-long v0, v3, v0

    const/4 v1, 0x0

    const/4 v2, 0x1

    if-ltz v0, :cond_2e

    move v0, v2

    goto :goto_2f

    :cond_2e
    move v0, v1

    :goto_2f
    invoke-static {v0}, Lcom/google/android/gms/internal/ads/d;->n(Z)V

    iget-wide v5, p0, Lz5/ep1;->v:J

    const-wide/high16 v7, -0x8000000000000000L

    cmp-long v0, v5, v7

    if-eqz v0, :cond_3e

    cmp-long v0, v3, v5

    if-gtz v0, :cond_3f

    :cond_3e
    move v1, v2

    :cond_3f
    invoke-static {v1}, Lcom/google/android/gms/internal/ads/d;->n(Z)V

    return-wide v3
.end method

.method public final zzh()J
    .registers 8

    iget-object v0, p0, Lz5/ep1;->r:Lz5/qp1;

    invoke-interface {v0}, Lz5/qp1;->zzh()J

    move-result-wide v0

    const-wide/high16 v2, -0x8000000000000000L

    cmp-long v4, v0, v2

    if-eqz v4, :cond_18

    iget-wide v4, p0, Lz5/ep1;->v:J

    cmp-long v6, v4, v2

    if-eqz v6, :cond_17

    cmp-long v4, v0, v4

    if-ltz v4, :cond_17

    goto :goto_18

    :cond_17
    return-wide v0

    :cond_18
    :goto_18
    return-wide v2
.end method

.method public final zzk()J
    .registers 8

    iget-object v0, p0, Lz5/ep1;->r:Lz5/qp1;

    invoke-interface {v0}, Lz5/qp1;->zzk()J

    move-result-wide v0

    const-wide/high16 v2, -0x8000000000000000L

    cmp-long v4, v0, v2

    if-eqz v4, :cond_18

    iget-wide v4, p0, Lz5/ep1;->v:J

    cmp-long v6, v4, v2

    if-eqz v6, :cond_17

    cmp-long v4, v0, v4

    if-ltz v4, :cond_17

    goto :goto_18

    :cond_17
    return-wide v0

    :cond_18
    :goto_18
    return-wide v2
.end method

.method public final zzm()Z
    .registers 2

    iget-object v0, p0, Lz5/ep1;->r:Lz5/qp1;

    invoke-interface {v0}, Lz5/qp1;->zzm()Z

    move-result v0

    return v0
.end method
