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


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

.field public final b:Lz5/q4;

.field public final c:Lcom/google/android/gms/internal/ads/r2;

.field public final d:Landroid/os/Handler;

.field public e:J

.field public f:I

.field public g:Z

.field public h:Lz5/g3;

.field public i:Lz5/g3;

.field public j:Lz5/g3;

.field public k:I

.field public l:Ljava/lang/Object;

.field public m:J


# direct methods
.method public constructor <init>(Lcom/google/android/gms/internal/ads/r2;Landroid/os/Handler;)V
    .registers 3

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

    iput-object p1, p0, Lz5/j3;->c:Lcom/google/android/gms/internal/ads/r2;

    iput-object p2, p0, Lz5/j3;->d:Landroid/os/Handler;

    new-instance p1, Lz5/p4;

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

    iput-object p1, p0, Lz5/j3;->a:Lz5/p4;

    new-instance p1, Lz5/q4;

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

    iput-object p1, p0, Lz5/j3;->b:Lz5/q4;

    return-void
.end method

.method public static final c(Lz5/rp1;)Z
    .registers 2

    invoke-virtual {p0}, Lz5/cu1;->a()Z

    move-result v0

    if-nez v0, :cond_d

    iget p0, p0, Lz5/cu1;->e:I

    const/4 v0, -0x1

    if-ne p0, v0, :cond_d

    const/4 p0, 0x1

    return p0

    :cond_d
    const/4 p0, 0x0

    return p0
.end method


# virtual methods
.method public final A(Lz5/r4;Lz5/rp1;)Z
    .registers 8

    invoke-static {p2}, Lz5/j3;->c(Lz5/rp1;)Z

    move-result v0

    const/4 v1, 0x0

    if-nez v0, :cond_8

    return v1

    :cond_8
    iget-object v0, p2, Lz5/cu1;->a:Ljava/lang/Object;

    iget-object v2, p0, Lz5/j3;->a:Lz5/p4;

    invoke-virtual {p1, v0, v2}, Lz5/r4;->o(Ljava/lang/Object;Lz5/p4;)Lz5/p4;

    move-result-object v0

    iget v0, v0, Lz5/p4;->c:I

    iget-object p2, p2, Lz5/cu1;->a:Ljava/lang/Object;

    invoke-virtual {p1, p2}, Lz5/r4;->i(Ljava/lang/Object;)I

    move-result p2

    iget-object v2, p0, Lz5/j3;->b:Lz5/q4;

    const-wide/16 v3, 0x0

    invoke-virtual {p1, v0, v2, v3, v4}, Lz5/r4;->f(ILz5/q4;J)Lz5/q4;

    move-result-object p1

    iget p1, p1, Lz5/q4;->m:I

    if-ne p1, p2, :cond_26

    const/4 p1, 0x1

    return p1

    :cond_26
    return v1
.end method

.method public final a(Lz5/r4;Lz5/rp1;Z)Z
    .registers 11

    iget-object p2, p2, Lz5/cu1;->a:Ljava/lang/Object;

    invoke-virtual {p1, p2}, Lz5/r4;->i(Ljava/lang/Object;)I

    move-result v1

    iget-object p2, p0, Lz5/j3;->a:Lz5/p4;

    const/4 v6, 0x0

    invoke-virtual {p1, v1, p2, v6}, Lz5/r4;->h(ILz5/p4;Z)Lz5/p4;

    move-result-object p2

    iget p2, p2, Lz5/p4;->c:I

    iget-object v0, p0, Lz5/j3;->b:Lz5/q4;

    const-wide/16 v2, 0x0

    invoke-virtual {p1, p2, v0, v2, v3}, Lz5/r4;->f(ILz5/q4;J)Lz5/q4;

    move-result-object p2

    iget-boolean p2, p2, Lz5/q4;->g:Z

    if-nez p2, :cond_2f

    iget-object v2, p0, Lz5/j3;->a:Lz5/p4;

    iget-object v3, p0, Lz5/j3;->b:Lz5/q4;

    iget v4, p0, Lz5/j3;->f:I

    iget-boolean v5, p0, Lz5/j3;->g:Z

    move-object v0, p1

    invoke-virtual/range {v0 .. v5}, Lz5/r4;->l(ILz5/p4;Lz5/q4;IZ)I

    move-result p1

    const/4 p2, -0x1

    if-ne p1, p2, :cond_2f

    if-eqz p3, :cond_2f

    const/4 p1, 0x1

    return p1

    :cond_2f
    return v6
.end method

.method public final b(Lz5/r4;Ljava/lang/Object;I)J
    .registers 5

    iget-object v0, p0, Lz5/j3;->a:Lz5/p4;

    invoke-virtual {p1, p2, v0}, Lz5/r4;->o(Ljava/lang/Object;Lz5/p4;)Lz5/p4;

    iget-object p1, p0, Lz5/j3;->a:Lz5/p4;

    .line 1
    iget-object p1, p1, Lz5/p4;->f:Lz5/jf0;

    invoke-virtual {p1, p3}, Lz5/jf0;->a(I)Lz5/t00;

    move-result-object p1

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

    .line 2
    iget-object p1, p0, Lz5/j3;->a:Lz5/p4;

    .line 3
    iget-object p1, p1, Lz5/p4;->f:Lz5/jf0;

    invoke-virtual {p1, p3}, Lz5/jf0;->a(I)Lz5/t00;

    move-result-object p1

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

    const-wide/16 p1, 0x0

    return-wide p1
.end method

.method public final d(Lz5/r4;I)Z
    .registers 3

    iput p2, p0, Lz5/j3;->f:I

    invoke-virtual {p0, p1}, Lz5/j3;->v(Lz5/r4;)Z

    move-result p1

    return p1
.end method

.method public final e(Lz5/r4;Z)Z
    .registers 3

    iput-boolean p2, p0, Lz5/j3;->g:Z

    invoke-virtual {p0, p1}, Lz5/j3;->v(Lz5/r4;)Z

    move-result p1

    return p1
.end method

.method public final f(Lz5/qp1;)Z
    .registers 3

    iget-object v0, p0, Lz5/j3;->j:Lz5/g3;

    if-eqz v0, :cond_a

    iget-object v0, v0, Lz5/g3;->a:Lz5/qp1;

    if-ne v0, p1, :cond_a

    const/4 p1, 0x1

    return p1

    :cond_a
    const/4 p1, 0x0

    return p1
.end method

.method public final g(J)V
    .registers 7

    iget-object v0, p0, Lz5/j3;->j:Lz5/g3;

    if-eqz v0, :cond_17

    .line 1
    invoke-virtual {v0}, Lz5/g3;->p()Z

    move-result v1

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

    iget-boolean v1, v0, Lz5/g3;->d:Z

    if-eqz v1, :cond_17

    iget-object v1, v0, Lz5/g3;->a:Lz5/qp1;

    iget-wide v2, v0, Lz5/g3;->o:J

    sub-long/2addr p1, v2

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

    :cond_17
    return-void
.end method

.method public final h()Z
    .registers 8

    iget-object v0, p0, Lz5/j3;->j:Lz5/g3;

    const/4 v1, 0x1

    const/4 v2, 0x0

    if-eqz v0, :cond_2a

    iget-object v3, v0, Lz5/g3;->f:Lz5/h3;

    iget-boolean v3, v3, Lz5/h3;->h:Z

    if-nez v3, :cond_29

    invoke-virtual {v0}, Lz5/g3;->c()Z

    move-result v0

    if-eqz v0, :cond_29

    iget-object v0, p0, Lz5/j3;->j:Lz5/g3;

    iget-object v0, v0, Lz5/g3;->f:Lz5/h3;

    iget-wide v3, v0, Lz5/h3;->e:J

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

    cmp-long v0, v3, v5

    if-eqz v0, :cond_29

    iget v0, p0, Lz5/j3;->k:I

    const/16 v3, 0x64

    if-ge v0, v3, :cond_28

    goto :goto_2a

    :cond_28
    return v2

    :cond_29
    move v1, v2

    :cond_2a
    :goto_2a
    return v1
.end method

.method public final i(JLz5/t3;)Lz5/h3;
    .registers 12

    iget-object v0, p0, Lz5/j3;->j:Lz5/g3;

    if-nez v0, :cond_12

    iget-object v2, p3, Lz5/t3;->a:Lz5/r4;

    iget-object v3, p3, Lz5/t3;->b:Lz5/rp1;

    iget-wide v4, p3, Lz5/t3;->c:J

    iget-wide v6, p3, Lz5/t3;->s:J

    move-object v1, p0

    invoke-virtual/range {v1 .. v7}, Lz5/j3;->x(Lz5/r4;Lz5/rp1;JJ)Lz5/h3;

    move-result-object p1

    goto :goto_18

    :cond_12
    iget-object p3, p3, Lz5/t3;->a:Lz5/r4;

    invoke-virtual {p0, p3, v0, p1, p2}, Lz5/j3;->w(Lz5/r4;Lz5/g3;J)Lz5/h3;

    move-result-object p1

    :goto_18
    return-object p1
.end method

.method public final j()Lz5/g3;
    .registers 2

    iget-object v0, p0, Lz5/j3;->j:Lz5/g3;

    return-object v0
.end method

.method public final k()Lz5/g3;
    .registers 2

    iget-object v0, p0, Lz5/j3;->h:Lz5/g3;

    return-object v0
.end method

.method public final l()Lz5/g3;
    .registers 2

    iget-object v0, p0, Lz5/j3;->i:Lz5/g3;

    return-object v0
.end method

.method public final m()Lz5/g3;
    .registers 3

    iget-object v0, p0, Lz5/j3;->i:Lz5/g3;

    const/4 v1, 0x0

    if-eqz v0, :cond_a

    .line 1
    iget-object v0, v0, Lz5/g3;->l:Lz5/g3;

    if-eqz v0, :cond_a

    const/4 v1, 0x1

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

    iget-object v0, p0, Lz5/j3;->i:Lz5/g3;

    .line 3
    iget-object v0, v0, Lz5/g3;->l:Lz5/g3;

    .line 4
    iput-object v0, p0, Lz5/j3;->i:Lz5/g3;

    invoke-virtual {p0}, Lz5/j3;->u()V

    iget-object v0, p0, Lz5/j3;->i:Lz5/g3;

    return-object v0
.end method

.method public final n()Lz5/g3;
    .registers 4

    iget-object v0, p0, Lz5/j3;->h:Lz5/g3;

    const/4 v1, 0x0

    if-nez v0, :cond_6

    return-object v1

    :cond_6
    iget-object v2, p0, Lz5/j3;->i:Lz5/g3;

    if-ne v0, v2, :cond_e

    .line 1
    iget-object v2, v0, Lz5/g3;->l:Lz5/g3;

    .line 2
    iput-object v2, p0, Lz5/j3;->i:Lz5/g3;

    :cond_e
    invoke-virtual {v0}, Lz5/g3;->i()V

    iget v0, p0, Lz5/j3;->k:I

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

    iput v0, p0, Lz5/j3;->k:I

    if-nez v0, :cond_29

    iput-object v1, p0, Lz5/j3;->j:Lz5/g3;

    iget-object v0, p0, Lz5/j3;->h:Lz5/g3;

    iget-object v1, v0, Lz5/g3;->b:Ljava/lang/Object;

    iput-object v1, p0, Lz5/j3;->l:Ljava/lang/Object;

    iget-object v0, v0, Lz5/g3;->f:Lz5/h3;

    iget-object v0, v0, Lz5/h3;->a:Lz5/rp1;

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

    iput-wide v0, p0, Lz5/j3;->m:J

    :cond_29
    iget-object v0, p0, Lz5/j3;->h:Lz5/g3;

    .line 3
    iget-object v0, v0, Lz5/g3;->l:Lz5/g3;

    .line 4
    iput-object v0, p0, Lz5/j3;->h:Lz5/g3;

    invoke-virtual {p0}, Lz5/j3;->u()V

    iget-object v0, p0, Lz5/j3;->h:Lz5/g3;

    return-object v0
.end method

.method public final o(Lz5/g3;)Z
    .registers 5

    const/4 v0, 0x1

    const/4 v1, 0x0

    if-eqz p1, :cond_6

    move v2, v0

    goto :goto_7

    :cond_6
    move v2, v1

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

    iget-object v2, p0, Lz5/j3;->j:Lz5/g3;

    invoke-virtual {p1, v2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_13

    return v1

    :cond_13
    iput-object p1, p0, Lz5/j3;->j:Lz5/g3;

    .line 1
    :goto_15
    iget-object p1, p1, Lz5/g3;->l:Lz5/g3;

    if-eqz p1, :cond_2c

    .line 2
    iget-object v2, p0, Lz5/j3;->i:Lz5/g3;

    if-ne p1, v2, :cond_22

    iget-object v1, p0, Lz5/j3;->h:Lz5/g3;

    iput-object v1, p0, Lz5/j3;->i:Lz5/g3;

    move v1, v0

    :cond_22
    invoke-virtual {p1}, Lz5/g3;->i()V

    iget v2, p0, Lz5/j3;->k:I

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

    iput v2, p0, Lz5/j3;->k:I

    goto :goto_15

    :cond_2c
    iget-object p1, p0, Lz5/j3;->j:Lz5/g3;

    const/4 v0, 0x0

    .line 3
    iget-object v2, p1, Lz5/g3;->l:Lz5/g3;

    if-nez v2, :cond_34

    goto :goto_3c

    :cond_34
    invoke-virtual {p1}, Lz5/g3;->o()V

    iput-object v0, p1, Lz5/g3;->l:Lz5/g3;

    invoke-virtual {p1}, Lz5/g3;->n()V

    .line 4
    :goto_3c
    invoke-virtual {p0}, Lz5/j3;->u()V

    return v1
.end method

.method public final p()V
    .registers 4

    iget v0, p0, Lz5/j3;->k:I

    if-nez v0, :cond_5

    return-void

    :cond_5
    iget-object v0, p0, Lz5/j3;->h:Lz5/g3;

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

    iget-object v1, v0, Lz5/g3;->b:Ljava/lang/Object;

    iput-object v1, p0, Lz5/j3;->l:Ljava/lang/Object;

    iget-object v1, v0, Lz5/g3;->f:Lz5/h3;

    iget-object v1, v1, Lz5/h3;->a:Lz5/rp1;

    iget-wide v1, v1, Lz5/cu1;->d:J

    iput-wide v1, p0, Lz5/j3;->m:J

    :goto_16
    if-eqz v0, :cond_1e

    invoke-virtual {v0}, Lz5/g3;->i()V

    .line 1
    iget-object v0, v0, Lz5/g3;->l:Lz5/g3;

    goto :goto_16

    :cond_1e
    const/4 v0, 0x0

    .line 2
    iput-object v0, p0, Lz5/j3;->h:Lz5/g3;

    iput-object v0, p0, Lz5/j3;->j:Lz5/g3;

    iput-object v0, p0, Lz5/j3;->i:Lz5/g3;

    const/4 v0, 0x0

    iput v0, p0, Lz5/j3;->k:I

    invoke-virtual {p0}, Lz5/j3;->u()V

    return-void
.end method

.method public final q(Lz5/r4;JJ)Z
    .registers 22

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    iget-object v2, v0, Lz5/j3;->h:Lz5/g3;

    const/4 v3, 0x0

    :goto_7
    const/4 v4, 0x1

    if-eqz v2, :cond_94

    iget-object v5, v2, Lz5/g3;->f:Lz5/h3;

    const/4 v6, 0x0

    if-nez v3, :cond_16

    invoke-virtual {v0, v1, v5}, Lz5/j3;->r(Lz5/r4;Lz5/h3;)Lz5/h3;

    move-result-object v3

    move-wide/from16 v7, p2

    goto :goto_39

    :cond_16
    move-wide/from16 v7, p2

    invoke-virtual {v0, v1, v3, v7, v8}, Lz5/j3;->w(Lz5/r4;Lz5/g3;J)Lz5/h3;

    move-result-object v9

    if-nez v9, :cond_26

    invoke-virtual {v0, v3}, Lz5/j3;->o(Lz5/g3;)Z

    move-result v1

    if-nez v1, :cond_25

    return v4

    :cond_25
    return v6

    :cond_26
    iget-wide v10, v5, Lz5/h3;->b:J

    iget-wide v12, v9, Lz5/h3;->b:J

    cmp-long v10, v10, v12

    if-nez v10, :cond_8c

    iget-object v10, v5, Lz5/h3;->a:Lz5/rp1;

    iget-object v11, v9, Lz5/h3;->a:Lz5/rp1;

    invoke-virtual {v10, v11}, Lz5/cu1;->equals(Ljava/lang/Object;)Z

    move-result v10

    if-eqz v10, :cond_8c

    move-object v3, v9

    :goto_39
    iget-wide v9, v5, Lz5/h3;->c:J

    invoke-virtual {v3, v9, v10}, Lz5/h3;->b(J)Lz5/h3;

    move-result-object v9

    iput-object v9, v2, Lz5/g3;->f:Lz5/h3;

    iget-wide v9, v5, Lz5/h3;->e:J

    iget-wide v11, v3, Lz5/h3;->e:J

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

    cmp-long v5, v9, v13

    if-eqz v5, :cond_85

    cmp-long v5, v9, v11

    if-nez v5, :cond_53

    goto :goto_85

    :cond_53
    invoke-virtual {v2}, Lz5/g3;->m()V

    iget-wide v7, v3, Lz5/h3;->e:J

    cmp-long v1, v7, v13

    if-nez v1, :cond_62

    const-wide v7, 0x7fffffffffffffffL

    goto :goto_65

    .line 1
    :cond_62
    iget-wide v9, v2, Lz5/g3;->o:J

    add-long/2addr v7, v9

    .line 2
    :goto_65
    iget-object v1, v0, Lz5/j3;->i:Lz5/g3;

    if-ne v2, v1, :cond_7a

    iget-object v1, v2, Lz5/g3;->f:Lz5/h3;

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

    const-wide/high16 v9, -0x8000000000000000L

    cmp-long v1, p4, v9

    if-eqz v1, :cond_78

    cmp-long v1, p4, v7

    if-ltz v1, :cond_7a

    :cond_78
    move v1, v4

    goto :goto_7b

    :cond_7a
    move v1, v6

    :goto_7b
    invoke-virtual {v0, v2}, Lz5/j3;->o(Lz5/g3;)Z

    move-result v2

    if-nez v2, :cond_84

    if-nez v1, :cond_84

    return v4

    :cond_84
    return v6

    .line 3
    :cond_85
    :goto_85
    iget-object v3, v2, Lz5/g3;->l:Lz5/g3;

    move-object v15, v3

    move-object v3, v2

    move-object v2, v15

    goto/16 :goto_7

    .line 4
    :cond_8c
    invoke-virtual {v0, v3}, Lz5/j3;->o(Lz5/g3;)Z

    move-result v1

    if-nez v1, :cond_93

    return v4

    :cond_93
    return v6

    :cond_94
    return v4
.end method

.method public final r(Lz5/r4;Lz5/h3;)Lz5/h3;
    .registers 21

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    move-object/from16 v2, p2

    iget-object v3, v2, Lz5/h3;->a:Lz5/rp1;

    invoke-static {v3}, Lz5/j3;->c(Lz5/rp1;)Z

    move-result v12

    invoke-virtual {v0, v1, v3}, Lz5/j3;->A(Lz5/r4;Lz5/rp1;)Z

    move-result v13

    invoke-virtual {v0, v1, v3, v12}, Lz5/j3;->a(Lz5/r4;Lz5/rp1;Z)Z

    move-result v14

    iget-object v4, v2, Lz5/h3;->a:Lz5/rp1;

    iget-object v4, v4, Lz5/cu1;->a:Ljava/lang/Object;

    iget-object v5, v0, Lz5/j3;->a:Lz5/p4;

    invoke-virtual {v1, v4, v5}, Lz5/r4;->o(Ljava/lang/Object;Lz5/p4;)Lz5/p4;

    invoke-virtual {v3}, Lz5/cu1;->a()Z

    move-result v1

    const/4 v4, -0x1

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

    if-nez v1, :cond_36

    iget v1, v3, Lz5/cu1;->e:I

    if-ne v1, v4, :cond_2e

    goto :goto_36

    :cond_2e
    iget-object v7, v0, Lz5/j3;->a:Lz5/p4;

    invoke-virtual {v7, v1}, Lz5/p4;->a(I)J

    const-wide/16 v7, 0x0

    goto :goto_37

    :cond_36
    :goto_36
    move-wide v7, v5

    :goto_37
    invoke-virtual {v3}, Lz5/cu1;->a()Z

    move-result v1

    if-eqz v1, :cond_49

    iget-object v1, v0, Lz5/j3;->a:Lz5/p4;

    iget v5, v3, Lz5/cu1;->b:I

    iget v6, v3, Lz5/cu1;->c:I

    invoke-virtual {v1, v5, v6}, Lz5/p4;->c(II)J

    move-result-wide v5

    :goto_47
    move-wide v9, v5

    goto :goto_54

    :cond_49
    cmp-long v1, v7, v5

    if-eqz v1, :cond_4f

    move-wide v9, v7

    goto :goto_54

    :cond_4f
    iget-object v1, v0, Lz5/j3;->a:Lz5/p4;

    iget-wide v5, v1, Lz5/p4;->d:J

    goto :goto_47

    :goto_54
    invoke-virtual {v3}, Lz5/cu1;->a()Z

    move-result v1

    if-eqz v1, :cond_62

    iget-object v1, v0, Lz5/j3;->a:Lz5/p4;

    iget v4, v3, Lz5/cu1;->b:I

    invoke-virtual {v1, v4}, Lz5/p4;->e(I)Z

    goto :goto_6b

    :cond_62
    iget v1, v3, Lz5/cu1;->e:I

    if-eq v1, v4, :cond_6b

    iget-object v4, v0, Lz5/j3;->a:Lz5/p4;

    invoke-virtual {v4, v1}, Lz5/p4;->e(I)Z

    :cond_6b
    :goto_6b
    new-instance v15, Lz5/h3;

    iget-wide v4, v2, Lz5/h3;->b:J

    iget-wide v1, v2, Lz5/h3;->c:J

    const/4 v11, 0x0

    move-wide/from16 v16, v1

    move-object v1, v15

    move-object v2, v3

    move-wide v3, v4

    move-wide/from16 v5, v16

    invoke-direct/range {v1 .. v14}, Lz5/h3;-><init>(Lz5/rp1;JJJJZZZZ)V

    return-object v15
.end method

.method public final s(Lz5/r4;Ljava/lang/Object;J)Lz5/rp1;
    .registers 9

    iget-object p3, p0, Lz5/j3;->a:Lz5/p4;

    invoke-virtual {p1, p2, p3}, Lz5/r4;->o(Ljava/lang/Object;Lz5/p4;)Lz5/p4;

    move-result-object p3

    iget p3, p3, Lz5/p4;->c:I

    iget-object p4, p0, Lz5/j3;->l:Ljava/lang/Object;

    const/4 v0, 0x0

    const/4 v1, -0x1

    if-eqz p4, :cond_21

    invoke-virtual {p1, p4}, Lz5/r4;->i(Ljava/lang/Object;)I

    move-result p4

    if-eq p4, v1, :cond_21

    iget-object v2, p0, Lz5/j3;->a:Lz5/p4;

    invoke-virtual {p1, p4, v2, v0}, Lz5/r4;->h(ILz5/p4;Z)Lz5/p4;

    move-result-object p4

    iget p4, p4, Lz5/p4;->c:I

    if-ne p4, p3, :cond_21

    iget-wide p3, p0, Lz5/j3;->m:J

    goto :goto_60

    :cond_21
    iget-object p4, p0, Lz5/j3;->h:Lz5/g3;

    :goto_23
    if-eqz p4, :cond_31

    iget-object v2, p4, Lz5/g3;->b:Ljava/lang/Object;

    invoke-virtual {v2, p2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_2e

    goto :goto_47

    .line 1
    :cond_2e
    iget-object p4, p4, Lz5/g3;->l:Lz5/g3;

    goto :goto_23

    .line 2
    :cond_31
    iget-object p4, p0, Lz5/j3;->h:Lz5/g3;

    :goto_33
    if-eqz p4, :cond_51

    iget-object v2, p4, Lz5/g3;->b:Ljava/lang/Object;

    invoke-virtual {p1, v2}, Lz5/r4;->i(Ljava/lang/Object;)I

    move-result v2

    if-eq v2, v1, :cond_4e

    iget-object v3, p0, Lz5/j3;->a:Lz5/p4;

    invoke-virtual {p1, v2, v3, v0}, Lz5/r4;->h(ILz5/p4;Z)Lz5/p4;

    move-result-object v2

    iget v2, v2, Lz5/p4;->c:I

    if-ne v2, p3, :cond_4e

    .line 3
    :goto_47
    iget-object p3, p4, Lz5/g3;->f:Lz5/h3;

    iget-object p3, p3, Lz5/h3;->a:Lz5/rp1;

    iget-wide p3, p3, Lz5/cu1;->d:J

    goto :goto_60

    .line 4
    :cond_4e
    iget-object p4, p4, Lz5/g3;->l:Lz5/g3;

    goto :goto_33

    .line 5
    :cond_51
    iget-wide p3, p0, Lz5/j3;->e:J

    const-wide/16 v2, 0x1

    add-long/2addr v2, p3

    iput-wide v2, p0, Lz5/j3;->e:J

    iget-object v0, p0, Lz5/j3;->h:Lz5/g3;

    if-nez v0, :cond_60

    iput-object p2, p0, Lz5/j3;->l:Ljava/lang/Object;

    iput-wide p3, p0, Lz5/j3;->m:J

    :cond_60
    :goto_60
    iget-object v0, p0, Lz5/j3;->a:Lz5/p4;

    .line 6
    invoke-virtual {p1, p2, v0}, Lz5/r4;->o(Ljava/lang/Object;Lz5/p4;)Lz5/p4;

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

    new-instance p1, Lz5/rp1;

    invoke-direct {p1, p2, p3, p4, v1}, Lz5/rp1;-><init>(Ljava/lang/Object;JI)V

    return-object p1
.end method

.method public final t([Lz5/u1;Lz5/xc1;Lt0/c;Lz5/p3;Lz5/h3;Lcom/google/android/gms/internal/ads/g;)Lz5/g3;
    .registers 18

    move-object v0, p0

    move-object/from16 v8, p5

    iget-object v1, v0, Lz5/j3;->j:Lz5/g3;

    if-nez v1, :cond_1e

    iget-object v1, v8, Lz5/h3;->a:Lz5/rp1;

    invoke-virtual {v1}, Lz5/cu1;->a()Z

    move-result v1

    if-eqz v1, :cond_1b

    iget-wide v1, v8, Lz5/h3;->c:J

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

    cmp-long v3, v1, v3

    if-eqz v3, :cond_1b

    goto :goto_29

    :cond_1b
    const-wide/16 v1, 0x0

    goto :goto_29

    .line 1
    :cond_1e
    iget-wide v2, v1, Lz5/g3;->o:J

    .line 2
    iget-object v1, v1, Lz5/g3;->f:Lz5/h3;

    iget-wide v4, v1, Lz5/h3;->e:J

    add-long/2addr v2, v4

    iget-wide v4, v8, Lz5/h3;->b:J

    sub-long v1, v2, v4

    :goto_29
    move-wide v3, v1

    new-instance v10, Lz5/g3;

    move-object v1, v10

    move-object v2, p1

    move-object v5, p2

    move-object v6, p3

    move-object v7, p4

    move-object/from16 v8, p5

    move-object/from16 v9, p6

    invoke-direct/range {v1 .. v9}, Lz5/g3;-><init>([Lz5/u1;JLz5/xc1;Lt0/c;Lz5/p3;Lz5/h3;Lcom/google/android/gms/internal/ads/g;)V

    iget-object v1, v0, Lz5/j3;->j:Lz5/g3;

    if-eqz v1, :cond_4a

    .line 3
    iget-object v2, v1, Lz5/g3;->l:Lz5/g3;

    if-ne v10, v2, :cond_41

    goto :goto_4e

    :cond_41
    invoke-virtual {v1}, Lz5/g3;->o()V

    iput-object v10, v1, Lz5/g3;->l:Lz5/g3;

    invoke-virtual {v1}, Lz5/g3;->n()V

    goto :goto_4e

    .line 4
    :cond_4a
    iput-object v10, v0, Lz5/j3;->h:Lz5/g3;

    iput-object v10, v0, Lz5/j3;->i:Lz5/g3;

    :goto_4e
    const/4 v1, 0x0

    iput-object v1, v0, Lz5/j3;->l:Ljava/lang/Object;

    iput-object v10, v0, Lz5/j3;->j:Lz5/g3;

    iget v1, v0, Lz5/j3;->k:I

    add-int/lit8 v1, v1, 0x1

    iput v1, v0, Lz5/j3;->k:I

    invoke-virtual {p0}, Lz5/j3;->u()V

    return-object v10
.end method

.method public final u()V
    .registers 5

    invoke-static {}, Lcom/google/android/gms/internal/ads/q6;->g0()Lz5/ma1;

    move-result-object v0

    iget-object v1, p0, Lz5/j3;->h:Lz5/g3;

    :goto_6
    if-eqz v1, :cond_12

    iget-object v2, v1, Lz5/g3;->f:Lz5/h3;

    iget-object v2, v2, Lz5/h3;->a:Lz5/rp1;

    .line 1
    invoke-virtual {v0, v2}, Lcom/google/android/gms/internal/ads/n6;->c(Ljava/lang/Object;)Lcom/google/android/gms/internal/ads/n6;

    .line 2
    iget-object v1, v1, Lz5/g3;->l:Lz5/g3;

    goto :goto_6

    .line 3
    :cond_12
    iget-object v1, p0, Lz5/j3;->i:Lz5/g3;

    if-nez v1, :cond_18

    const/4 v1, 0x0

    goto :goto_1c

    :cond_18
    iget-object v1, v1, Lz5/g3;->f:Lz5/h3;

    iget-object v1, v1, Lz5/h3;->a:Lz5/rp1;

    :goto_1c
    iget-object v2, p0, Lz5/j3;->d:Landroid/os/Handler;

    new-instance v3, Lz5/i3;

    invoke-direct {v3, p0, v0, v1}, Lz5/i3;-><init>(Lz5/j3;Lz5/ma1;Lz5/rp1;)V

    invoke-virtual {v2, v3}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    return-void
.end method

.method public final v(Lz5/r4;)Z
    .registers 10

    iget-object v0, p0, Lz5/j3;->h:Lz5/g3;

    const/4 v1, 0x1

    if-nez v0, :cond_6

    return v1

    :cond_6
    iget-object v2, v0, Lz5/g3;->b:Ljava/lang/Object;

    invoke-virtual {p1, v2}, Lz5/r4;->i(Ljava/lang/Object;)I

    move-result v2

    move v3, v2

    :goto_d
    iget-object v4, p0, Lz5/j3;->a:Lz5/p4;

    iget-object v5, p0, Lz5/j3;->b:Lz5/q4;

    iget v6, p0, Lz5/j3;->f:I

    iget-boolean v7, p0, Lz5/j3;->g:Z

    move-object v2, p1

    invoke-virtual/range {v2 .. v7}, Lz5/r4;->l(ILz5/p4;Lz5/q4;IZ)I

    move-result v3

    .line 1
    :goto_1a
    iget-object v2, v0, Lz5/g3;->l:Lz5/g3;

    if-eqz v2, :cond_26

    .line 2
    iget-object v4, v0, Lz5/g3;->f:Lz5/h3;

    iget-boolean v4, v4, Lz5/h3;->f:Z

    if-nez v4, :cond_26

    move-object v0, v2

    goto :goto_1a

    :cond_26
    const/4 v4, -0x1

    if-eq v3, v4, :cond_36

    if-nez v2, :cond_2c

    goto :goto_36

    :cond_2c
    iget-object v4, v2, Lz5/g3;->b:Ljava/lang/Object;

    invoke-virtual {p1, v4}, Lz5/r4;->i(Ljava/lang/Object;)I

    move-result v4

    if-ne v4, v3, :cond_36

    move-object v0, v2

    goto :goto_d

    :cond_36
    :goto_36
    invoke-virtual {p0, v0}, Lz5/j3;->o(Lz5/g3;)Z

    move-result v2

    iget-object v3, v0, Lz5/g3;->f:Lz5/h3;

    invoke-virtual {p0, p1, v3}, Lz5/j3;->r(Lz5/r4;Lz5/h3;)Lz5/h3;

    move-result-object p1

    iput-object p1, v0, Lz5/g3;->f:Lz5/h3;

    if-nez v2, :cond_45

    return v1

    :cond_45
    const/4 p1, 0x0

    return p1
.end method

.method public final w(Lz5/r4;Lz5/g3;J)Lz5/h3;
    .registers 22

    move-object/from16 v9, p0

    move-object/from16 v8, p1

    move-object/from16 v10, p2

    iget-object v11, v10, Lz5/g3;->f:Lz5/h3;

    .line 1
    iget-wide v0, v10, Lz5/g3;->o:J

    .line 2
    iget-wide v2, v11, Lz5/h3;->e:J

    add-long/2addr v0, v2

    sub-long v6, v0, p3

    iget-boolean v0, v11, Lz5/h3;->f:Z

    const-wide/16 v13, 0x0

    const/4 v15, 0x0

    const/4 v5, -0x1

    if-eqz v0, :cond_ae

    iget-object v0, v11, Lz5/h3;->a:Lz5/rp1;

    iget-object v0, v0, Lz5/cu1;->a:Ljava/lang/Object;

    invoke-virtual {v8, v0}, Lz5/r4;->i(Ljava/lang/Object;)I

    move-result v1

    iget-object v2, v9, Lz5/j3;->a:Lz5/p4;

    iget-object v3, v9, Lz5/j3;->b:Lz5/q4;

    iget v4, v9, Lz5/j3;->f:I

    iget-boolean v0, v9, Lz5/j3;->g:Z

    move/from16 v16, v0

    move-object/from16 v0, p1

    move v12, v5

    move/from16 v5, v16

    invoke-virtual/range {v0 .. v5}, Lz5/r4;->l(ILz5/p4;Lz5/q4;IZ)I

    move-result v0

    if-ne v0, v12, :cond_35

    return-object v15

    :cond_35
    iget-object v1, v9, Lz5/j3;->a:Lz5/p4;

    const/4 v2, 0x1

    invoke-virtual {v8, v0, v1, v2}, Lz5/r4;->h(ILz5/p4;Z)Lz5/p4;

    move-result-object v1

    iget v3, v1, Lz5/p4;->c:I

    iget-object v1, v9, Lz5/j3;->a:Lz5/p4;

    iget-object v1, v1, Lz5/p4;->b:Ljava/lang/Object;

    iget-object v2, v11, Lz5/h3;->a:Lz5/rp1;

    iget-wide v4, v2, Lz5/cu1;->d:J

    iget-object v2, v9, Lz5/j3;->b:Lz5/q4;

    invoke-virtual {v8, v3, v2, v13, v14}, Lz5/r4;->f(ILz5/q4;J)Lz5/q4;

    move-result-object v2

    iget v2, v2, Lz5/q4;->l:I

    if-ne v2, v0, :cond_93

    iget-object v1, v9, Lz5/j3;->b:Lz5/q4;

    iget-object v2, v9, Lz5/j3;->a:Lz5/p4;

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

    invoke-static {v13, v14, v6, v7}, Ljava/lang/Math;->max(JJ)J

    move-result-wide v6

    move-object/from16 v0, p1

    invoke-virtual/range {v0 .. v7}, Lz5/r4;->n(Lz5/q4;Lz5/p4;IJJ)Landroid/util/Pair;

    move-result-object v0

    if-nez v0, :cond_66

    return-object v15

    :cond_66
    iget-object v1, v0, Landroid/util/Pair;->first:Ljava/lang/Object;

    iget-object v0, v0, Landroid/util/Pair;->second:Ljava/lang/Object;

    check-cast v0, Ljava/lang/Long;

    invoke-virtual {v0}, Ljava/lang/Long;->longValue()J

    move-result-wide v2

    .line 3
    iget-object v0, v10, Lz5/g3;->l:Lz5/g3;

    if-eqz v0, :cond_83

    .line 4
    iget-object v4, v0, Lz5/g3;->b:Ljava/lang/Object;

    invoke-virtual {v4, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_83

    iget-object v0, v0, Lz5/g3;->f:Lz5/h3;

    iget-object v0, v0, Lz5/h3;->a:Lz5/rp1;

    iget-wide v4, v0, Lz5/cu1;->d:J

    goto :goto_8a

    :cond_83
    iget-wide v4, v9, Lz5/j3;->e:J

    const-wide/16 v6, 0x1

    add-long/2addr v6, v4

    iput-wide v6, v9, Lz5/j3;->e:J

    :goto_8a
    move-wide v10, v4

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

    move-wide v3, v2

    move-object v2, v1

    goto :goto_97

    :cond_93
    move-object v2, v1

    move-wide v10, v4

    move-wide v3, v13

    move-wide v5, v3

    :goto_97
    iget-object v0, v9, Lz5/j3;->a:Lz5/p4;

    .line 5
    invoke-virtual {v8, v2, v0}, Lz5/r4;->o(Ljava/lang/Object;Lz5/p4;)Lz5/p4;

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

    .line 6
    iget-object v0, v9, Lz5/j3;->a:Lz5/p4;

    invoke-virtual {v8, v2, v0}, Lz5/r4;->o(Ljava/lang/Object;Lz5/p4;)Lz5/p4;

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    move-wide v7, v10

    invoke-virtual/range {v0 .. v8}, Lz5/j3;->z(Lz5/r4;Ljava/lang/Object;JJJ)Lz5/h3;

    move-result-object v0

    return-object v0

    :cond_ae
    move v12, v5

    .line 7
    iget-object v10, v11, Lz5/h3;->a:Lz5/rp1;

    iget-object v0, v10, Lz5/cu1;->a:Ljava/lang/Object;

    iget-object v1, v9, Lz5/j3;->a:Lz5/p4;

    invoke-virtual {v8, v0, v1}, Lz5/r4;->o(Ljava/lang/Object;Lz5/p4;)Lz5/p4;

    invoke-virtual {v10}, Lz5/cu1;->a()Z

    move-result v0

    if-eqz v0, :cond_133

    iget v3, v10, Lz5/cu1;->b:I

    iget-object v0, v9, Lz5/j3;->a:Lz5/p4;

    .line 8
    iget-object v0, v0, Lz5/p4;->f:Lz5/jf0;

    invoke-virtual {v0, v3}, Lz5/jf0;->a(I)Lz5/t00;

    move-result-object v0

    iget v0, v0, Lz5/t00;->a:I

    if-ne v0, v12, :cond_cd

    return-object v15

    .line 9
    :cond_cd
    iget-object v0, v9, Lz5/j3;->a:Lz5/p4;

    iget v1, v10, Lz5/cu1;->c:I

    .line 10
    iget-object v0, v0, Lz5/p4;->f:Lz5/jf0;

    invoke-virtual {v0, v3}, Lz5/jf0;->a(I)Lz5/t00;

    move-result-object v0

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

    move-result v4

    if-gez v4, :cond_ed

    .line 11
    iget-object v2, v10, Lz5/cu1;->a:Ljava/lang/Object;

    iget-wide v5, v11, Lz5/h3;->c:J

    iget-wide v10, v10, Lz5/cu1;->d:J

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    move-wide v7, v10

    invoke-virtual/range {v0 .. v8}, Lz5/j3;->y(Lz5/r4;Ljava/lang/Object;IIJJ)Lz5/h3;

    move-result-object v0

    return-object v0

    :cond_ed
    iget-wide v0, v11, Lz5/h3;->c:J

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

    cmp-long v2, v0, v2

    if-nez v2, :cond_118

    iget-object v1, v9, Lz5/j3;->b:Lz5/q4;

    iget-object v2, v9, Lz5/j3;->a:Lz5/p4;

    iget v3, v2, Lz5/p4;->c:I

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

    invoke-static {v13, v14, v6, v7}, Ljava/lang/Math;->max(JJ)J

    move-result-wide v6

    move-object/from16 v0, p1

    invoke-virtual/range {v0 .. v7}, Lz5/r4;->n(Lz5/q4;Lz5/p4;IJJ)Landroid/util/Pair;

    move-result-object v0

    if-nez v0, :cond_110

    return-object v15

    :cond_110
    iget-object v0, v0, Landroid/util/Pair;->second:Ljava/lang/Object;

    check-cast v0, Ljava/lang/Long;

    invoke-virtual {v0}, Ljava/lang/Long;->longValue()J

    move-result-wide v0

    :cond_118
    iget-object v2, v10, Lz5/cu1;->a:Ljava/lang/Object;

    iget v3, v10, Lz5/cu1;->b:I

    invoke-virtual {v9, v8, v2, v3}, Lz5/j3;->b(Lz5/r4;Ljava/lang/Object;I)J

    iget-object v2, v10, Lz5/cu1;->a:Ljava/lang/Object;

    invoke-static {v13, v14, v0, v1}, Ljava/lang/Math;->max(JJ)J

    move-result-wide v3

    iget-wide v5, v11, Lz5/h3;->c:J

    iget-wide v10, v10, Lz5/cu1;->d:J

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    move-wide v7, v10

    invoke-virtual/range {v0 .. v8}, Lz5/j3;->z(Lz5/r4;Ljava/lang/Object;JJJ)Lz5/h3;

    move-result-object v0

    return-object v0

    :cond_133
    iget-object v0, v9, Lz5/j3;->a:Lz5/p4;

    iget v1, v10, Lz5/cu1;->e:I

    invoke-virtual {v0, v1}, Lz5/p4;->b(I)I

    move-result v4

    iget-object v0, v9, Lz5/j3;->a:Lz5/p4;

    iget v1, v10, Lz5/cu1;->e:I

    .line 12
    iget-object v0, v0, Lz5/p4;->f:Lz5/jf0;

    invoke-virtual {v0, v1}, Lz5/jf0;->a(I)Lz5/t00;

    move-result-object v0

    iget v0, v0, Lz5/t00;->a:I

    if-ne v4, v0, :cond_162

    .line 13
    iget-object v0, v10, Lz5/cu1;->a:Ljava/lang/Object;

    iget v1, v10, Lz5/cu1;->e:I

    invoke-virtual {v9, v8, v0, v1}, Lz5/j3;->b(Lz5/r4;Ljava/lang/Object;I)J

    iget-object v2, v10, Lz5/cu1;->a:Ljava/lang/Object;

    const-wide/16 v3, 0x0

    iget-wide v5, v11, Lz5/h3;->e:J

    iget-wide v10, v10, Lz5/cu1;->d:J

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    move-wide v7, v10

    invoke-virtual/range {v0 .. v8}, Lz5/j3;->z(Lz5/r4;Ljava/lang/Object;JJJ)Lz5/h3;

    move-result-object v0

    return-object v0

    :cond_162
    iget-object v2, v10, Lz5/cu1;->a:Ljava/lang/Object;

    iget v3, v10, Lz5/cu1;->e:I

    iget-wide v5, v11, Lz5/h3;->e:J

    iget-wide v10, v10, Lz5/cu1;->d:J

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    move-wide v7, v10

    invoke-virtual/range {v0 .. v8}, Lz5/j3;->y(Lz5/r4;Ljava/lang/Object;IIJJ)Lz5/h3;

    move-result-object v0

    return-object v0
.end method

.method public final x(Lz5/r4;Lz5/rp1;JJ)Lz5/h3;
    .registers 19

    move-object v0, p2

    iget-object v1, v0, Lz5/cu1;->a:Ljava/lang/Object;

    move-object v11, p0

    iget-object v2, v11, Lz5/j3;->a:Lz5/p4;

    move-object v3, p1

    invoke-virtual {p1, v1, v2}, Lz5/r4;->o(Ljava/lang/Object;Lz5/p4;)Lz5/p4;

    invoke-virtual {p2}, Lz5/cu1;->a()Z

    move-result v1

    iget-object v4, v0, Lz5/cu1;->a:Ljava/lang/Object;

    if-eqz v1, :cond_20

    iget v5, v0, Lz5/cu1;->b:I

    iget v6, v0, Lz5/cu1;->c:I

    iget-wide v9, v0, Lz5/cu1;->d:J

    move-object v2, p0

    move-object v3, p1

    move-wide v7, p3

    invoke-virtual/range {v2 .. v10}, Lz5/j3;->y(Lz5/r4;Ljava/lang/Object;IIJJ)Lz5/h3;

    move-result-object v0

    return-object v0

    :cond_20
    iget-wide v9, v0, Lz5/cu1;->d:J

    move-object v2, p0

    move-object v3, p1

    move-wide/from16 v5, p5

    move-wide v7, p3

    invoke-virtual/range {v2 .. v10}, Lz5/j3;->z(Lz5/r4;Ljava/lang/Object;JJJ)Lz5/h3;

    move-result-object v0

    return-object v0
.end method

.method public final y(Lz5/r4;Ljava/lang/Object;IIJJ)Lz5/h3;
    .registers 26

    move-object/from16 v0, p0

    move/from16 v7, p3

    move/from16 v8, p4

    new-instance v9, Lz5/rp1;

    move-object v1, v9

    move-object/from16 v2, p2

    move/from16 v3, p3

    move/from16 v4, p4

    move-wide/from16 v5, p7

    invoke-direct/range {v1 .. v6}, Lz5/rp1;-><init>(Ljava/lang/Object;IIJ)V

    iget-object v1, v0, Lz5/j3;->a:Lz5/p4;

    move-object/from16 v2, p1

    move-object/from16 v3, p2

    invoke-virtual {v2, v3, v1}, Lz5/r4;->o(Ljava/lang/Object;Lz5/p4;)Lz5/p4;

    move-result-object v1

    invoke-virtual {v1, v7, v8}, Lz5/p4;->c(II)J

    move-result-wide v10

    iget-object v1, v0, Lz5/j3;->a:Lz5/p4;

    .line 1
    iget-object v1, v1, Lz5/p4;->f:Lz5/jf0;

    invoke-virtual {v1, v7}, Lz5/jf0;->a(I)Lz5/t00;

    move-result-object v1

    const/4 v2, -0x1

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

    move-result v1

    if-ne v8, v1, :cond_36

    .line 2
    iget-object v1, v0, Lz5/j3;->a:Lz5/p4;

    invoke-virtual {v1}, Lz5/p4;->d()J

    :cond_36
    iget-object v1, v0, Lz5/j3;->a:Lz5/p4;

    .line 3
    iget-object v1, v1, Lz5/p4;->f:Lz5/jf0;

    invoke-virtual {v1, v7}, Lz5/jf0;->a(I)Lz5/t00;

    move-result-object v1

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

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

    cmp-long v1, v10, v1

    const-wide/16 v2, 0x0

    if-eqz v1, :cond_59

    cmp-long v1, v10, v2

    if-gtz v1, :cond_59

    const-wide/16 v4, -0x1

    add-long/2addr v4, v10

    .line 4
    invoke-static {v2, v3, v4, v5}, Ljava/lang/Math;->max(JJ)J

    move-result-wide v1

    move-wide v3, v1

    goto :goto_5a

    :cond_59
    move-wide v3, v2

    :goto_5a
    new-instance v15, Lz5/h3;

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

    const/4 v12, 0x0

    const/4 v13, 0x0

    const/4 v14, 0x0

    const/16 v16, 0x0

    move-object v1, v15

    move-object v2, v9

    move-wide/from16 v5, p5

    move-wide v9, v10

    move v11, v12

    move v12, v13

    move v13, v14

    move/from16 v14, v16

    invoke-direct/range {v1 .. v14}, Lz5/h3;-><init>(Lz5/rp1;JJJJZZZZ)V

    return-object v15
.end method

.method public final z(Lz5/r4;Ljava/lang/Object;JJJ)Lz5/h3;
    .registers 27

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    move-object/from16 v2, p2

    iget-object v3, v0, Lz5/j3;->a:Lz5/p4;

    invoke-virtual {v1, v2, v3}, Lz5/r4;->o(Ljava/lang/Object;Lz5/p4;)Lz5/p4;

    iget-object v3, v0, Lz5/j3;->a:Lz5/p4;

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

    new-instance v5, Lz5/rp1;

    const/4 v3, -0x1

    move-wide/from16 v6, p7

    invoke-direct {v5, v2, v6, v7, v3}, Lz5/rp1;-><init>(Ljava/lang/Object;JI)V

    invoke-static {v5}, Lz5/j3;->c(Lz5/rp1;)Z

    move-result v15

    invoke-virtual {v0, v1, v5}, Lz5/j3;->A(Lz5/r4;Lz5/rp1;)Z

    move-result v16

    invoke-virtual {v0, v1, v5, v15}, Lz5/j3;->a(Lz5/r4;Lz5/rp1;Z)Z

    move-result v17

    iget-object v1, v0, Lz5/j3;->a:Lz5/p4;

    iget-wide v12, v1, Lz5/p4;->d:J

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

    cmp-long v1, v12, v1

    if-eqz v1, :cond_40

    cmp-long v1, p3, v12

    if-ltz v1, :cond_40

    const-wide/16 v1, 0x0

    const-wide/16 v3, -0x1

    add-long/2addr v3, v12

    invoke-static {v1, v2, v3, v4}, Ljava/lang/Math;->max(JJ)J

    move-result-wide v1

    move-wide v6, v1

    goto :goto_42

    :cond_40
    move-wide/from16 v6, p3

    :goto_42
    new-instance v1, Lz5/h3;

    const/4 v14, 0x0

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

    move-object v4, v1

    move-wide/from16 v8, p5

    invoke-direct/range {v4 .. v17}, Lz5/h3;-><init>(Lz5/rp1;JJJJZZZZ)V

    return-object v1
.end method
