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

# interfaces
.implements Lz5/y4;


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

.field public final s:J

.field public final t:Lz5/y4;

.field public u:J

.field public v:Landroid/net/Uri;


# direct methods
.method public constructor <init>(Lz5/y4;ILz5/y4;)V
    .registers 4

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

    iput-object p1, p0, Lz5/q70;->r:Lz5/y4;

    int-to-long p1, p2

    iput-wide p1, p0, Lz5/q70;->s:J

    iput-object p3, p0, Lz5/q70;->t:Lz5/y4;

    return-void
.end method


# virtual methods
.method public final a([BII)I
    .registers 12

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

    iget-wide v2, p0, Lz5/q70;->s:J

    cmp-long v4, v0, v2

    if-gez v4, :cond_1f

    int-to-long v4, p3

    sub-long/2addr v2, v0

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

    move-result-wide v0

    iget-object v2, p0, Lz5/q70;->r:Lz5/y4;

    long-to-int v0, v0

    invoke-interface {v2, p1, p2, v0}, Lz5/q3;->a([BII)I

    move-result v0

    iget-wide v1, p0, Lz5/q70;->u:J

    int-to-long v3, v0

    add-long/2addr v1, v3

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

    move-wide v6, v1

    move v2, v0

    move-wide v0, v6

    goto :goto_20

    :cond_1f
    const/4 v2, 0x0

    :goto_20
    iget-wide v3, p0, Lz5/q70;->s:J

    cmp-long v0, v0, v3

    if-ltz v0, :cond_35

    iget-object v0, p0, Lz5/q70;->t:Lz5/y4;

    add-int/2addr p2, v2

    sub-int/2addr p3, v2

    invoke-interface {v0, p1, p2, p3}, Lz5/q3;->a([BII)I

    move-result p1

    iget-wide p2, p0, Lz5/q70;->u:J

    int-to-long v0, p1

    add-long/2addr p2, v0

    iput-wide p2, p0, Lz5/q70;->u:J

    add-int/2addr v2, p1

    :cond_35
    return v2
.end method

.method public final g(Lz5/rf;)V
    .registers 2

    return-void
.end method

.method public final h(Lz5/a8;)J
    .registers 26

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    iget-object v2, v1, Lz5/a8;->a:Landroid/net/Uri;

    iput-object v2, v0, Lz5/q70;->v:Landroid/net/Uri;

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

    iget-wide v2, v0, Lz5/q70;->s:J

    cmp-long v4, v7, v2

    const/4 v12, 0x0

    const-wide/16 v13, -0x1

    if-ltz v4, :cond_15

    move-object v2, v12

    goto :goto_2b

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

    cmp-long v6, v4, v13

    sub-long/2addr v2, v7

    if-eqz v6, :cond_20

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

    move-result-wide v2

    :cond_20
    move-wide v9, v2

    new-instance v2, Lz5/a8;

    iget-object v4, v1, Lz5/a8;->a:Landroid/net/Uri;

    const/4 v11, 0x0

    move-object v3, v2

    move-wide v5, v7

    invoke-direct/range {v3 .. v11}, Lz5/a8;-><init>(Landroid/net/Uri;JJJI)V

    :goto_2b
    iget-wide v3, v1, Lz5/a8;->e:J

    cmp-long v5, v3, v13

    if-eqz v5, :cond_3b

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

    add-long/2addr v5, v3

    iget-wide v3, v0, Lz5/q70;->s:J

    cmp-long v3, v5, v3

    if-gtz v3, :cond_3b

    goto :goto_66

    :cond_3b
    iget-wide v3, v0, Lz5/q70;->s:J

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

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

    move-result-wide v19

    iget-wide v3, v1, Lz5/a8;->e:J

    cmp-long v5, v3, v13

    if-eqz v5, :cond_56

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

    add-long/2addr v5, v3

    iget-wide v7, v0, Lz5/q70;->s:J

    sub-long/2addr v5, v7

    invoke-static {v3, v4, v5, v6}, Ljava/lang/Math;->min(JJ)J

    move-result-wide v3

    move-wide/from16 v21, v3

    goto :goto_58

    :cond_56
    move-wide/from16 v21, v13

    :goto_58
    new-instance v12, Lz5/a8;

    iget-object v3, v1, Lz5/a8;->a:Landroid/net/Uri;

    const/16 v23, 0x0

    move-object v15, v12

    move-object/from16 v16, v3

    move-wide/from16 v17, v19

    invoke-direct/range {v15 .. v23}, Lz5/a8;-><init>(Landroid/net/Uri;JJJI)V

    :goto_66
    const-wide/16 v3, 0x0

    if-eqz v2, :cond_71

    iget-object v5, v0, Lz5/q70;->r:Lz5/y4;

    invoke-interface {v5, v2}, Lz5/y4;->h(Lz5/a8;)J

    move-result-wide v5

    goto :goto_72

    :cond_71
    move-wide v5, v3

    :goto_72
    if-eqz v12, :cond_7a

    iget-object v2, v0, Lz5/q70;->t:Lz5/y4;

    invoke-interface {v2, v12}, Lz5/y4;->h(Lz5/a8;)J

    move-result-wide v3

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

    iput-wide v1, v0, Lz5/q70;->u:J

    cmp-long v1, v5, v13

    if-eqz v1, :cond_89

    cmp-long v1, v3, v13

    if-nez v1, :cond_87

    goto :goto_89

    :cond_87
    add-long/2addr v5, v3

    return-wide v5

    :cond_89
    :goto_89
    return-wide v13
.end method

.method public final zzf()Ljava/util/Map;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;>;"
        }
    .end annotation

    sget-object v0, Lcom/google/android/gms/internal/ads/g7;->x:Lcom/google/android/gms/internal/ads/r6;

    return-object v0
.end method

.method public final zzi()Landroid/net/Uri;
    .registers 2

    iget-object v0, p0, Lz5/q70;->v:Landroid/net/Uri;

    return-object v0
.end method

.method public final zzj()V
    .registers 2

    iget-object v0, p0, Lz5/q70;->r:Lz5/y4;

    invoke-interface {v0}, Lz5/y4;->zzj()V

    iget-object v0, p0, Lz5/q70;->t:Lz5/y4;

    invoke-interface {v0}, Lz5/y4;->zzj()V

    return-void
.end method
