.class public final Lz5/m2;
.super Lcom/google/android/gms/internal/ads/a;
.source ""


# instance fields
.field public final A:Ljava/util/concurrent/CopyOnWriteArraySet;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/concurrent/CopyOnWriteArraySet<",
            "Lz5/d2;",
            ">;"
        }
    .end annotation
.end field

.field public final B:Lz5/p4;

.field public final C:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lz5/l2;",
            ">;"
        }
    .end annotation
.end field

.field public final D:Z

.field public final E:Lz5/yp1;

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

.field public final G:Landroid/os/Looper;

.field public final H:Lz5/tr1;

.field public final I:Lz5/p6;

.field public J:I

.field public K:I

.field public L:Z

.field public M:I

.field public N:Lz5/v3;

.field public O:Lz5/f3;

.field public P:Lz5/t3;

.field public Q:I

.field public R:J

.field public S:Lz5/sq1;

.field public final s:Lcom/google/android/gms/internal/ads/g;

.field public final t:Lz5/v3;

.field public final u:[Lz5/e4;

.field public final v:Lz5/xc1;

.field public final w:Lz5/v6;

.field public final x:Lz5/bd0;

.field public final y:Lz5/t2;

.field public final z:Lz5/z6;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lz5/z6<",
            "Lz5/w3;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>([Lz5/e4;Lz5/xc1;Lz5/yp1;Lz5/z2;Lz5/tr1;Lcom/google/android/gms/internal/ads/r2;ZLz5/g4;Lz5/w1;ZLz5/p6;Landroid/os/Looper;Lcom/google/android/gms/internal/ads/a;Lz5/v3;[B)V
    .registers 32
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "HandlerLeak"
        }
    .end annotation

    move-object/from16 v0, p0

    move-object/from16 v2, p1

    move-object/from16 v6, p5

    move-object/from16 v7, p6

    move-object/from16 v1, p11

    move-object/from16 v10, p12

    move-object/from16 v3, p13

    invoke-direct/range {p0 .. p0}, Lcom/google/android/gms/internal/ads/a;-><init>()V

    invoke-static/range {p0 .. p0}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I

    move-result v4

    invoke-static {v4}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;

    move-result-object v4

    sget-object v5, Lz5/r7;->e:Ljava/lang/String;

    invoke-static {v4}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v8}, Ljava/lang/String;->length()I

    move-result v8

    invoke-static {v5}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/String;->length()I

    move-result v9

    new-instance v11, Ljava/lang/StringBuilder;

    add-int/lit8 v8, v8, 0x1e

    add-int/2addr v8, v9

    invoke-direct {v11, v8}, Ljava/lang/StringBuilder;-><init>(I)V

    const-string v8, "Init "

    const-string v9, " [ExoPlayerLib/2.15.0] ["

    invoke-static {v11, v8, v4, v9, v5}, Lb1/f;->a(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    const-string v4, "]"

    invoke-virtual {v11, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v11}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    const-string v5, "ExoPlayerImpl"

    invoke-static {v5, v4}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    array-length v4, v2

    iput-object v2, v0, Lz5/m2;->u:[Lz5/e4;

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

    move-object/from16 v4, p2

    iput-object v4, v0, Lz5/m2;->v:Lz5/xc1;

    move-object/from16 v5, p3

    iput-object v5, v0, Lz5/m2;->E:Lz5/yp1;

    iput-object v6, v0, Lz5/m2;->H:Lz5/tr1;

    iput-object v7, v0, Lz5/m2;->F:Lcom/google/android/gms/internal/ads/r2;

    const/4 v5, 0x1

    iput-boolean v5, v0, Lz5/m2;->D:Z

    iput-object v10, v0, Lz5/m2;->G:Landroid/os/Looper;

    iput-object v1, v0, Lz5/m2;->I:Lz5/p6;

    new-instance v8, Lz5/z6;

    new-instance v9, Lz5/bd0;

    invoke-direct {v9, v3}, Lz5/bd0;-><init>(Lcom/google/android/gms/internal/ads/a;)V

    .line 1
    new-instance v11, Ljava/util/concurrent/CopyOnWriteArraySet;

    invoke-direct {v11}, Ljava/util/concurrent/CopyOnWriteArraySet;-><init>()V

    invoke-direct {v8, v11, v10, v1, v9}, Lz5/z6;-><init>(Ljava/util/concurrent/CopyOnWriteArraySet;Landroid/os/Looper;Lz5/p6;Lz5/y6;)V

    .line 2
    iput-object v8, v0, Lz5/m2;->z:Lz5/z6;

    new-instance v8, Ljava/util/concurrent/CopyOnWriteArraySet;

    invoke-direct {v8}, Ljava/util/concurrent/CopyOnWriteArraySet;-><init>()V

    iput-object v8, v0, Lz5/m2;->A:Ljava/util/concurrent/CopyOnWriteArraySet;

    new-instance v8, Ljava/util/ArrayList;

    invoke-direct {v8}, Ljava/util/ArrayList;-><init>()V

    iput-object v8, v0, Lz5/m2;->C:Ljava/util/List;

    new-instance v8, Lz5/sq1;

    .line 3
    new-instance v9, Ljava/util/Random;

    invoke-direct {v9}, Ljava/util/Random;-><init>()V

    const/4 v11, 0x0

    new-array v12, v11, [I

    .line 4
    invoke-direct {v8, v12, v9}, Lz5/sq1;-><init>([ILjava/util/Random;)V

    .line 5
    iput-object v8, v0, Lz5/m2;->S:Lz5/sq1;

    new-instance v8, Lcom/google/android/gms/internal/ads/g;

    const/4 v9, 0x2

    new-array v12, v9, [Lz5/f4;

    new-array v9, v9, [Lz5/yq1;

    const/4 v13, 0x0

    invoke-direct {v8, v12, v9, v13}, Lcom/google/android/gms/internal/ads/g;-><init>([Lz5/f4;[Lz5/yq1;Ljava/lang/Object;)V

    iput-object v8, v0, Lz5/m2;->s:Lcom/google/android/gms/internal/ads/g;

    new-instance v8, Lz5/p4;

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

    iput-object v8, v0, Lz5/m2;->B:Lz5/p4;

    new-instance v8, Lz5/ge0;

    invoke-direct {v8}, Lz5/ge0;-><init>()V

    const/16 v9, 0xa

    new-array v12, v9, [I

    fill-array-data v12, :array_180

    .line 6
    iget-object v14, v8, Lz5/ge0;->s:Ljava/lang/Object;

    check-cast v14, Lz5/r6;

    move v15, v11

    :goto_b4
    if-ge v15, v9, :cond_c0

    aget v9, v12, v15

    invoke-virtual {v14, v9}, Lz5/r6;->a(I)Lz5/r6;

    add-int/lit8 v15, v15, 0x1

    const/16 v9, 0xa

    goto :goto_b4

    :cond_c0
    const/16 v9, 0x1c

    .line 7
    invoke-virtual {v8, v9, v5}, Lz5/ge0;->v(IZ)Lz5/ge0;

    move-object/from16 v9, p14

    invoke-virtual {v8, v9}, Lz5/ge0;->x(Lz5/v3;)Lz5/ge0;

    invoke-virtual {v8}, Lz5/ge0;->y()Lz5/v3;

    move-result-object v8

    iput-object v8, v0, Lz5/m2;->t:Lz5/v3;

    new-instance v9, Lz5/ge0;

    invoke-direct {v9}, Lz5/ge0;-><init>()V

    invoke-virtual {v9, v8}, Lz5/ge0;->x(Lz5/v3;)Lz5/ge0;

    const/4 v8, 0x3

    .line 8
    iget-object v12, v9, Lz5/ge0;->s:Ljava/lang/Object;

    check-cast v12, Lz5/r6;

    invoke-virtual {v12, v8}, Lz5/r6;->a(I)Lz5/r6;

    const/16 v8, 0x9

    iget-object v12, v9, Lz5/ge0;->s:Ljava/lang/Object;

    check-cast v12, Lz5/r6;

    invoke-virtual {v12, v8}, Lz5/r6;->a(I)Lz5/r6;

    .line 9
    invoke-virtual {v9}, Lz5/ge0;->y()Lz5/v3;

    move-result-object v8

    iput-object v8, v0, Lz5/m2;->N:Lz5/v3;

    sget-object v8, Lz5/f3;->s:Lz5/f3;

    iput-object v8, v0, Lz5/m2;->O:Lz5/f3;

    const/4 v8, -0x1

    iput v8, v0, Lz5/m2;->Q:I

    move-object v12, v1

    check-cast v12, Lz5/l7;

    invoke-virtual {v12, v10, v13}, Lz5/l7;->a(Landroid/os/Looper;Landroid/os/Handler$Callback;)Lz5/v6;

    move-result-object v1

    iput-object v1, v0, Lz5/m2;->w:Lz5/v6;

    new-instance v14, Lz5/bd0;

    invoke-direct {v14, v0}, Lz5/bd0;-><init>(Lz5/m2;)V

    iput-object v14, v0, Lz5/m2;->x:Lz5/bd0;

    iget-object v1, v0, Lz5/m2;->s:Lcom/google/android/gms/internal/ads/g;

    invoke-static {v1}, Lz5/t3;->a(Lcom/google/android/gms/internal/ads/g;)Lz5/t3;

    move-result-object v1

    iput-object v1, v0, Lz5/m2;->P:Lz5/t3;

    .line 10
    iget-object v1, v7, Lcom/google/android/gms/internal/ads/r2;->w:Lcom/google/android/gms/internal/ads/a;

    if-eqz v1, :cond_120

    iget-object v1, v7, Lcom/google/android/gms/internal/ads/r2;->t:Lz5/fe0;

    .line 11
    iget-object v1, v1, Lz5/fe0;->s:Ljava/lang/Object;

    check-cast v1, Lcom/google/android/gms/internal/ads/q6;

    .line 12
    invoke-virtual {v1}, Ljava/util/AbstractCollection;->isEmpty()Z

    move-result v1

    if-eqz v1, :cond_11f

    goto :goto_120

    :cond_11f
    move v5, v11

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

    iput-object v3, v7, Lcom/google/android/gms/internal/ads/r2;->w:Lcom/google/android/gms/internal/ads/a;

    .line 13
    new-instance v1, Lz5/n7;

    new-instance v5, Landroid/os/Handler;

    invoke-direct {v5, v10, v13}, Landroid/os/Handler;-><init>(Landroid/os/Looper;Landroid/os/Handler$Callback;)V

    invoke-direct {v1, v5}, Lz5/n7;-><init>(Landroid/os/Handler;)V

    .line 14
    iput-object v1, v7, Lcom/google/android/gms/internal/ads/r2;->x:Lz5/v6;

    iget-object v1, v7, Lcom/google/android/gms/internal/ads/r2;->v:Lz5/z6;

    new-instance v5, Lz5/n50;

    invoke-direct {v5, v7, v3}, Lz5/n50;-><init>(Lcom/google/android/gms/internal/ads/r2;Lcom/google/android/gms/internal/ads/a;)V

    .line 15
    new-instance v3, Lz5/z6;

    iget-object v8, v1, Lz5/z6;->d:Ljava/util/concurrent/CopyOnWriteArraySet;

    iget-object v1, v1, Lz5/z6;->a:Lz5/p6;

    invoke-direct {v3, v8, v10, v1, v5}, Lz5/z6;-><init>(Ljava/util/concurrent/CopyOnWriteArraySet;Landroid/os/Looper;Lz5/p6;Lz5/y6;)V

    .line 16
    iput-object v3, v7, Lcom/google/android/gms/internal/ads/r2;->v:Lz5/z6;

    .line 17
    iget-object v1, v0, Lz5/m2;->z:Lz5/z6;

    invoke-virtual {v1, v7}, Lz5/z6;->a(Ljava/lang/Object;)V

    new-instance v1, Landroid/os/Handler;

    invoke-direct {v1, v10}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V

    move-object v3, v6

    check-cast v3, Lz5/as1;

    .line 18
    iget-object v3, v3, Lz5/as1;->s:Lz5/ex0;

    .line 19
    invoke-virtual {v3, v7}, Lz5/ex0;->n(Lz5/sr1;)V

    iget-object v3, v3, Lz5/ex0;->s:Ljava/lang/Object;

    check-cast v3, Ljava/util/concurrent/CopyOnWriteArrayList;

    new-instance v5, Lz5/rr1;

    invoke-direct {v5, v1, v7}, Lz5/rr1;-><init>(Landroid/os/Handler;Lz5/sr1;)V

    invoke-virtual {v3, v5}, Ljava/util/concurrent/CopyOnWriteArrayList;->add(Ljava/lang/Object;)Z

    .line 20
    new-instance v13, Lz5/t2;

    iget-object v5, v0, Lz5/m2;->s:Lcom/google/android/gms/internal/ads/g;

    move-object v1, v13

    move-object/from16 v2, p1

    move-object/from16 v3, p2

    move-object v4, v5

    move-object/from16 v5, p4

    move-object/from16 v6, p5

    move-object/from16 v7, p6

    move-object/from16 v8, p8

    move-object/from16 v9, p9

    move-object/from16 v10, p12

    move-object v11, v12

    move-object v12, v14

    invoke-direct/range {v1 .. v12}, Lz5/t2;-><init>([Lz5/e4;Lz5/xc1;Lcom/google/android/gms/internal/ads/g;Lz5/z2;Lz5/tr1;Lcom/google/android/gms/internal/ads/r2;Lz5/g4;Lz5/w1;Landroid/os/Looper;Lz5/p6;Lz5/bd0;)V

    iput-object v13, v0, Lz5/m2;->y:Lz5/t2;

    return-void

    nop

    :array_180
    .array-data 4
        0x1
        0x2
        0xc
        0xd
        0xe
        0xf
        0x10
        0x11
        0x12
        0x13
    .end array-data
.end method

.method public static Q(Lz5/t3;)J
    .registers 7

    new-instance v0, Lz5/q4;

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

    new-instance v1, Lz5/p4;

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

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

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

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

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

    iget-wide v2, p0, Lz5/t3;->c:J

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

    cmp-long v4, v2, v4

    if-nez v4, :cond_2b

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

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

    const-wide/16 v2, 0x0

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

    move-result-object p0

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

    :cond_2b
    return-wide v2
.end method

.method public static U(Lz5/t3;)Z
    .registers 3

    iget v0, p0, Lz5/t3;->e:I

    const/4 v1, 0x3

    if-ne v0, v1, :cond_f

    iget-boolean v0, p0, Lz5/t3;->l:Z

    if-eqz v0, :cond_f

    iget p0, p0, Lz5/t3;->m:I

    if-nez p0, :cond_f

    const/4 p0, 0x1

    return p0

    :cond_f
    const/4 p0, 0x0

    return p0
.end method


# virtual methods
.method public final J()I
    .registers 3

    iget-object v0, p0, Lz5/m2;->P:Lz5/t3;

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

    invoke-virtual {v0}, Lz5/r4;->k()Z

    move-result v0

    if-eqz v0, :cond_c

    const/4 v0, 0x0

    return v0

    :cond_c
    iget-object v0, p0, Lz5/m2;->P:Lz5/t3;

    iget-object v1, v0, Lz5/t3;->a:Lz5/r4;

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

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

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

    move-result v0

    return v0
.end method

.method public final K()I
    .registers 3

    invoke-virtual {p0}, Lz5/m2;->N()I

    move-result v0

    const/4 v1, -0x1

    if-ne v0, v1, :cond_8

    const/4 v0, 0x0

    :cond_8
    return v0
.end method

.method public final L()J
    .registers 3

    iget-object v0, p0, Lz5/m2;->P:Lz5/t3;

    invoke-virtual {p0, v0}, Lz5/m2;->O(Lz5/t3;)J

    move-result-wide v0

    invoke-static {v0, v1}, Lz5/v1;->a(J)J

    move-result-wide v0

    return-wide v0
.end method

.method public final M()J
    .registers 3

    iget-object v0, p0, Lz5/m2;->P:Lz5/t3;

    iget-wide v0, v0, Lz5/t3;->r:J

    invoke-static {v0, v1}, Lz5/v1;->a(J)J

    move-result-wide v0

    return-wide v0
.end method

.method public final N()I
    .registers 4

    iget-object v0, p0, Lz5/m2;->P:Lz5/t3;

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

    invoke-virtual {v0}, Lz5/r4;->k()Z

    move-result v0

    if-eqz v0, :cond_d

    iget v0, p0, Lz5/m2;->Q:I

    return v0

    :cond_d
    iget-object v0, p0, Lz5/m2;->P:Lz5/t3;

    iget-object v1, v0, Lz5/t3;->a:Lz5/r4;

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

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

    iget-object v2, p0, Lz5/m2;->B:Lz5/p4;

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

    move-result-object v0

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

    return v0
.end method

.method public final O(Lz5/t3;)J
    .registers 6

    iget-object v0, p1, Lz5/t3;->a:Lz5/r4;

    invoke-virtual {v0}, Lz5/r4;->k()Z

    move-result v0

    if-eqz v0, :cond_f

    iget-wide v0, p0, Lz5/m2;->R:J

    invoke-static {v0, v1}, Lz5/v1;->b(J)J

    move-result-wide v0

    return-wide v0

    :cond_f
    iget-object v0, p1, Lz5/t3;->b:Lz5/rp1;

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

    move-result v0

    if-eqz v0, :cond_1a

    iget-wide v0, p1, Lz5/t3;->s:J

    return-wide v0

    :cond_1a
    iget-object v0, p1, Lz5/t3;->a:Lz5/r4;

    iget-object v1, p1, Lz5/t3;->b:Lz5/rp1;

    iget-wide v2, p1, Lz5/t3;->s:J

    invoke-virtual {p0, v0, v1, v2, v3}, Lz5/m2;->T(Lz5/r4;Lz5/rp1;J)J

    return-wide v2
.end method

.method public final P(Lz5/t3;IIZZIJI)V
    .registers 50

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    move/from16 v2, p6

    iget-object v3, v0, Lz5/m2;->P:Lz5/t3;

    iput-object v1, v0, Lz5/m2;->P:Lz5/t3;

    iget-object v4, v3, Lz5/t3;->a:Lz5/r4;

    iget-object v5, v1, Lz5/t3;->a:Lz5/r4;

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

    move-result v4

    const/4 v5, 0x1

    xor-int/2addr v4, v5

    iget-object v6, v3, Lz5/t3;->a:Lz5/r4;

    iget-object v7, v1, Lz5/t3;->a:Lz5/r4;

    invoke-virtual {v7}, Lz5/r4;->k()Z

    move-result v8

    const/4 v10, 0x3

    const-wide/16 v11, 0x0

    const/4 v13, -0x1

    invoke-static {v13}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    const/4 v15, 0x0

    if-eqz v8, :cond_36

    invoke-virtual {v6}, Lz5/r4;->k()Z

    move-result v8

    if-eqz v8, :cond_36

    new-instance v4, Landroid/util/Pair;

    sget-object v6, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;

    invoke-direct {v4, v6, v14}, Landroid/util/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V

    goto/16 :goto_c4

    :cond_36
    invoke-virtual {v7}, Lz5/r4;->k()Z

    move-result v8

    invoke-virtual {v6}, Lz5/r4;->k()Z

    move-result v9

    if-eq v8, v9, :cond_4d

    new-instance v4, Landroid/util/Pair;

    sget-object v6, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;

    invoke-static {v10}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v7

    invoke-direct {v4, v6, v7}, Landroid/util/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V

    goto/16 :goto_c4

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

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

    iget-object v9, v0, Lz5/m2;->B:Lz5/p4;

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

    move-result-object v8

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

    iget-object v9, v0, Lcom/google/android/gms/internal/ads/a;->r:Ljava/lang/Object;

    check-cast v9, Lz5/q4;

    invoke-virtual {v6, v8, v9, v11, v12}, Lz5/r4;->f(ILz5/q4;J)Lz5/q4;

    move-result-object v6

    iget-object v6, v6, Lz5/q4;->a:Ljava/lang/Object;

    iget-object v8, v1, Lz5/t3;->b:Lz5/rp1;

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

    iget-object v9, v0, Lz5/m2;->B:Lz5/p4;

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

    move-result-object v8

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

    iget-object v9, v0, Lcom/google/android/gms/internal/ads/a;->r:Ljava/lang/Object;

    check-cast v9, Lz5/q4;

    invoke-virtual {v7, v8, v9, v11, v12}, Lz5/r4;->f(ILz5/q4;J)Lz5/q4;

    move-result-object v7

    iget-object v7, v7, Lz5/q4;->a:Ljava/lang/Object;

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

    move-result v6

    if-nez v6, :cond_a1

    if-eqz p5, :cond_85

    if-nez v2, :cond_85

    move v4, v5

    goto :goto_8e

    :cond_85
    if-eqz p5, :cond_8b

    if-ne v2, v5, :cond_8b

    const/4 v4, 0x2

    goto :goto_8e

    :cond_8b
    if-eqz v4, :cond_9b

    move v4, v10

    :goto_8e
    new-instance v6, Landroid/util/Pair;

    sget-object v7, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    invoke-direct {v6, v7, v4}, Landroid/util/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V

    move-object v4, v6

    goto :goto_c4

    :cond_9b
    new-instance v1, Ljava/lang/IllegalStateException;

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

    throw v1

    :cond_a1
    if-eqz p5, :cond_bd

    if-nez v2, :cond_bd

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

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

    iget-object v4, v1, Lz5/t3;->b:Lz5/rp1;

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

    cmp-long v4, v6, v8

    if-gez v4, :cond_bd

    new-instance v4, Landroid/util/Pair;

    sget-object v6, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;

    invoke-static {v15}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v7

    invoke-direct {v4, v6, v7}, Landroid/util/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V

    goto :goto_c4

    :cond_bd
    new-instance v4, Landroid/util/Pair;

    sget-object v6, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;

    invoke-direct {v4, v6, v14}, Landroid/util/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V

    :goto_c4
    iget-object v6, v4, Landroid/util/Pair;->first:Ljava/lang/Object;

    check-cast v6, Ljava/lang/Boolean;

    invoke-virtual {v6}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v6

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

    check-cast v4, Ljava/lang/Integer;

    invoke-virtual {v4}, Ljava/lang/Integer;->intValue()I

    move-result v4

    iget-object v7, v0, Lz5/m2;->O:Lz5/f3;

    if-eqz v6, :cond_109

    iget-object v7, v1, Lz5/t3;->a:Lz5/r4;

    invoke-virtual {v7}, Lz5/r4;->k()Z

    move-result v7

    if-nez v7, :cond_fb

    iget-object v7, v1, Lz5/t3;->a:Lz5/r4;

    iget-object v9, v1, Lz5/t3;->b:Lz5/rp1;

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

    iget-object v14, v0, Lz5/m2;->B:Lz5/p4;

    invoke-virtual {v7, v9, v14}, Lz5/r4;->o(Ljava/lang/Object;Lz5/p4;)Lz5/p4;

    move-result-object v7

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

    iget-object v9, v1, Lz5/t3;->a:Lz5/r4;

    iget-object v14, v0, Lcom/google/android/gms/internal/ads/a;->r:Ljava/lang/Object;

    check-cast v14, Lz5/q4;

    invoke-virtual {v9, v7, v14, v11, v12}, Lz5/r4;->f(ILz5/q4;J)Lz5/q4;

    move-result-object v7

    iget-object v7, v7, Lz5/q4;->b:Lz5/e3;

    goto :goto_fc

    :cond_fb
    const/4 v7, 0x0

    :goto_fc
    if-eqz v7, :cond_101

    iget-object v9, v7, Lz5/e3;->d:Lz5/f3;

    goto :goto_103

    :cond_101
    sget-object v9, Lz5/f3;->s:Lz5/f3;

    :goto_103
    move-object/from16 v39, v9

    move-object v9, v7

    move-object/from16 v7, v39

    goto :goto_10a

    :cond_109
    const/4 v9, 0x0

    :goto_10a
    iget-object v14, v3, Lz5/t3;->j:Ljava/util/List;

    iget-object v8, v1, Lz5/t3;->j:Ljava/util/List;

    invoke-interface {v14, v8}, Ljava/util/List;->equals(Ljava/lang/Object;)Z

    move-result v8

    if-nez v8, :cond_143

    new-instance v8, Lcom/google/android/gms/internal/ads/c;

    invoke-direct {v8, v7}, Lcom/google/android/gms/internal/ads/c;-><init>(Lz5/f3;)V

    iget-object v7, v1, Lz5/t3;->j:Ljava/util/List;

    move v14, v15

    :goto_11c
    invoke-interface {v7}, Ljava/util/List;->size()I

    move-result v10

    if-ge v14, v10, :cond_13e

    invoke-interface {v7, v14}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v10

    check-cast v10, Lz5/u4;

    move v13, v15

    .line 1
    :goto_129
    iget-object v11, v10, Lz5/u4;->r:[Lz5/t4;

    array-length v12, v11

    if-ge v13, v12, :cond_138

    .line 2
    aget-object v11, v11, v13

    .line 3
    invoke-interface {v11, v8}, Lz5/t4;->K(Lcom/google/android/gms/internal/ads/c;)V

    add-int/lit8 v13, v13, 0x1

    const-wide/16 v11, 0x0

    goto :goto_129

    :cond_138
    add-int/lit8 v14, v14, 0x1

    const-wide/16 v11, 0x0

    const/4 v13, -0x1

    goto :goto_11c

    :cond_13e
    new-instance v7, Lz5/f3;

    .line 4
    invoke-direct {v7, v8}, Lz5/f3;-><init>(Lcom/google/android/gms/internal/ads/c;)V

    .line 5
    :cond_143
    iget-object v8, v0, Lz5/m2;->O:Lz5/f3;

    invoke-virtual {v7, v8}, Lz5/f3;->equals(Ljava/lang/Object;)Z

    move-result v8

    xor-int/2addr v8, v5

    iput-object v7, v0, Lz5/m2;->O:Lz5/f3;

    iget-object v7, v3, Lz5/t3;->a:Lz5/r4;

    iget-object v10, v1, Lz5/t3;->a:Lz5/r4;

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

    move-result v7

    if-nez v7, :cond_162

    iget-object v7, v0, Lz5/m2;->z:Lz5/z6;

    new-instance v10, Lz5/h2;

    move/from16 v11, p2

    invoke-direct {v10, v1, v11, v5}, Lz5/h2;-><init>(Lz5/t3;II)V

    invoke-virtual {v7, v15, v10}, Lz5/z6;->b(ILz5/x6;)V

    :cond_162
    const/16 v7, 0xb

    if-eqz p5, :cond_292

    new-instance v10, Lz5/p4;

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

    iget-object v11, v3, Lz5/t3;->a:Lz5/r4;

    invoke-virtual {v11}, Lz5/r4;->k()Z

    move-result v11

    if-nez v11, :cond_1a5

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

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

    iget-object v12, v3, Lz5/t3;->a:Lz5/r4;

    invoke-virtual {v12, v11, v10}, Lz5/r4;->o(Ljava/lang/Object;Lz5/p4;)Lz5/p4;

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

    iget-object v13, v3, Lz5/t3;->a:Lz5/r4;

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

    move-result v13

    iget-object v14, v3, Lz5/t3;->a:Lz5/r4;

    iget-object v15, v0, Lcom/google/android/gms/internal/ads/a;->r:Ljava/lang/Object;

    check-cast v15, Lz5/q4;

    move/from16 v16, v6

    const-wide/16 v5, 0x0

    invoke-virtual {v14, v12, v15, v5, v6}, Lz5/r4;->f(ILz5/q4;J)Lz5/q4;

    move-result-object v14

    iget-object v5, v14, Lz5/q4;->a:Ljava/lang/Object;

    iget-object v6, v0, Lcom/google/android/gms/internal/ads/a;->r:Ljava/lang/Object;

    check-cast v6, Lz5/q4;

    iget-object v6, v6, Lz5/q4;->b:Lz5/e3;

    move-object/from16 v18, v5

    move-object/from16 v20, v6

    move-object/from16 v21, v11

    move/from16 v19, v12

    move/from16 v22, v13

    goto :goto_1b1

    :cond_1a5
    move/from16 v16, v6

    move/from16 v19, p9

    const/16 v18, 0x0

    const/16 v20, 0x0

    const/16 v21, 0x0

    const/16 v22, -0x1

    :goto_1b1
    if-nez v2, :cond_1e0

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

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

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

    move-result v11

    if-eqz v11, :cond_1c8

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

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

    iget v5, v5, Lz5/cu1;->c:I

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

    move-result-wide v5

    goto :goto_1ea

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

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

    const/4 v11, -0x1

    if-eq v10, v11, :cond_1f1

    iget-object v10, v0, Lz5/m2;->P:Lz5/t3;

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

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

    move-result v10

    if-eqz v10, :cond_1f1

    iget-object v5, v0, Lz5/m2;->P:Lz5/t3;

    invoke-static {v5}, Lz5/m2;->Q(Lz5/t3;)J

    move-result-wide v5

    goto :goto_1f1

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

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

    move-result v5

    if-eqz v5, :cond_1ef

    iget-wide v5, v3, Lz5/t3;->s:J

    :goto_1ea
    invoke-static {v3}, Lz5/m2;->Q(Lz5/t3;)J

    move-result-wide v10

    goto :goto_1f2

    :cond_1ef
    iget-wide v5, v3, Lz5/t3;->s:J

    :cond_1f1
    :goto_1f1
    move-wide v10, v5

    :goto_1f2
    new-instance v12, Lz5/y3;

    invoke-static {v5, v6}, Lz5/v1;->a(J)J

    move-result-wide v23

    invoke-static {v10, v11}, Lz5/v1;->a(J)J

    move-result-wide v25

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

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

    iget v5, v5, Lz5/cu1;->c:I

    move-object/from16 v17, v12

    move/from16 v27, v6

    move/from16 v28, v5

    invoke-direct/range {v17 .. v28}, Lz5/y3;-><init>(Ljava/lang/Object;ILz5/e3;Ljava/lang/Object;IJJII)V

    invoke-virtual/range {p0 .. p0}, Lz5/m2;->K()I

    move-result v5

    iget-object v6, v0, Lz5/m2;->P:Lz5/t3;

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

    invoke-virtual {v6}, Lz5/r4;->k()Z

    move-result v6

    if-nez v6, :cond_24d

    iget-object v6, v0, Lz5/m2;->P:Lz5/t3;

    iget-object v10, v6, Lz5/t3;->b:Lz5/rp1;

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

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

    iget-object v11, v0, Lz5/m2;->B:Lz5/p4;

    invoke-virtual {v6, v10, v11}, Lz5/r4;->o(Ljava/lang/Object;Lz5/p4;)Lz5/p4;

    iget-object v6, v0, Lz5/m2;->P:Lz5/t3;

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

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

    move-result v6

    iget-object v11, v0, Lz5/m2;->P:Lz5/t3;

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

    iget-object v13, v0, Lcom/google/android/gms/internal/ads/a;->r:Ljava/lang/Object;

    check-cast v13, Lz5/q4;

    const-wide/16 v14, 0x0

    invoke-virtual {v11, v5, v13, v14, v15}, Lz5/r4;->f(ILz5/q4;J)Lz5/q4;

    move-result-object v11

    iget-object v11, v11, Lz5/q4;->a:Ljava/lang/Object;

    iget-object v13, v0, Lcom/google/android/gms/internal/ads/a;->r:Ljava/lang/Object;

    check-cast v13, Lz5/q4;

    iget-object v13, v13, Lz5/q4;->b:Lz5/e3;

    move/from16 v32, v6

    move-object/from16 v31, v10

    move-object/from16 v28, v11

    move-object/from16 v30, v13

    goto :goto_255

    :cond_24d
    const/16 v28, 0x0

    const/16 v30, 0x0

    const/16 v31, 0x0

    const/16 v32, -0x1

    :goto_255
    invoke-static/range {p7 .. p8}, Lz5/v1;->a(J)J

    move-result-wide v33

    new-instance v6, Lz5/y3;

    iget-object v10, v0, Lz5/m2;->P:Lz5/t3;

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

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

    move-result v10

    if-eqz v10, :cond_272

    iget-object v10, v0, Lz5/m2;->P:Lz5/t3;

    invoke-static {v10}, Lz5/m2;->Q(Lz5/t3;)J

    move-result-wide v10

    invoke-static {v10, v11}, Lz5/v1;->a(J)J

    move-result-wide v10

    move-wide/from16 v35, v10

    goto :goto_274

    :cond_272
    move-wide/from16 v35, v33

    :goto_274
    iget-object v10, v0, Lz5/m2;->P:Lz5/t3;

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

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

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

    move-object/from16 v27, v6

    move/from16 v29, v5

    move/from16 v37, v11

    move/from16 v38, v10

    invoke-direct/range {v27 .. v38}, Lz5/y3;-><init>(Ljava/lang/Object;ILz5/e3;Ljava/lang/Object;IJJII)V

    iget-object v5, v0, Lz5/m2;->z:Lz5/z6;

    new-instance v10, Lcom/google/android/gms/internal/ads/k;

    invoke-direct {v10, v2, v12, v6}, Lcom/google/android/gms/internal/ads/k;-><init>(ILz5/y3;Lz5/y3;)V

    invoke-virtual {v5, v7, v10}, Lz5/z6;->b(ILz5/x6;)V

    goto :goto_294

    :cond_292
    move/from16 v16, v6

    :goto_294
    if-eqz v16, :cond_2a1

    iget-object v2, v0, Lz5/m2;->z:Lz5/z6;

    new-instance v5, Lz5/e2;

    invoke-direct {v5, v9, v4}, Lz5/e2;-><init>(Lz5/e3;I)V

    const/4 v4, 0x1

    invoke-virtual {v2, v4, v5}, Lz5/z6;->b(ILz5/x6;)V

    :cond_2a1
    iget-object v2, v3, Lz5/t3;->f:Lz5/c2;

    iget-object v4, v1, Lz5/t3;->f:Lz5/c2;

    const/16 v5, 0xa

    if-eq v2, v4, :cond_2c2

    iget-object v2, v0, Lz5/m2;->z:Lz5/z6;

    new-instance v4, Lz5/f2;

    const/4 v6, 0x0

    invoke-direct {v4, v1, v6}, Lz5/f2;-><init>(Lz5/t3;I)V

    invoke-virtual {v2, v5, v4}, Lz5/z6;->b(ILz5/x6;)V

    iget-object v2, v1, Lz5/t3;->f:Lz5/c2;

    if-eqz v2, :cond_2c2

    iget-object v2, v0, Lz5/m2;->z:Lz5/z6;

    new-instance v4, Lz5/g2;

    invoke-direct {v4, v1, v6}, Lz5/g2;-><init>(Lz5/t3;I)V

    invoke-virtual {v2, v5, v4}, Lz5/z6;->b(ILz5/x6;)V

    :cond_2c2
    iget-object v2, v3, Lz5/t3;->i:Lcom/google/android/gms/internal/ads/g;

    iget-object v4, v1, Lz5/t3;->i:Lcom/google/android/gms/internal/ads/g;

    if-eq v2, v4, :cond_2e9

    iget-object v2, v0, Lz5/m2;->v:Lz5/xc1;

    iget-object v4, v4, Lcom/google/android/gms/internal/ads/g;->t:Ljava/lang/Object;

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

    .line 6
    check-cast v4, Lz5/lr1;

    iput-object v4, v2, Lz5/xc1;->b:Ljava/lang/Object;

    .line 7
    new-instance v2, Lz5/sw1;

    iget-object v4, v1, Lz5/t3;->i:Lcom/google/android/gms/internal/ads/g;

    iget-object v4, v4, Lcom/google/android/gms/internal/ads/g;->s:Ljava/lang/Object;

    check-cast v4, [Lz5/yq1;

    invoke-direct {v2, v4}, Lz5/sw1;-><init>([Lz5/yq1;)V

    iget-object v4, v0, Lz5/m2;->z:Lz5/z6;

    new-instance v6, Lcom/google/android/gms/internal/ads/k0;

    invoke-direct {v6, v1, v2}, Lcom/google/android/gms/internal/ads/k0;-><init>(Lz5/t3;Lz5/sw1;)V

    const/4 v2, 0x2

    invoke-virtual {v4, v2, v6}, Lz5/z6;->b(ILz5/x6;)V

    :cond_2e9
    if-eqz v8, :cond_2f9

    iget-object v2, v0, Lz5/m2;->O:Lz5/f3;

    iget-object v4, v0, Lz5/m2;->z:Lz5/z6;

    new-instance v6, Lz5/xa0;

    invoke-direct {v6, v2}, Lz5/xa0;-><init>(Lz5/f3;)V

    const/16 v2, 0xe

    invoke-virtual {v4, v2, v6}, Lz5/z6;->b(ILz5/x6;)V

    :cond_2f9
    iget-boolean v2, v3, Lz5/t3;->g:Z

    iget-boolean v4, v1, Lz5/t3;->g:Z

    if-eq v2, v4, :cond_30a

    iget-object v2, v0, Lz5/m2;->z:Lz5/z6;

    new-instance v4, Lz5/bd0;

    invoke-direct {v4, v1}, Lz5/bd0;-><init>(Lz5/t3;)V

    const/4 v6, 0x3

    invoke-virtual {v2, v6, v4}, Lz5/z6;->b(ILz5/x6;)V

    :cond_30a
    iget v2, v3, Lz5/t3;->e:I

    iget v4, v1, Lz5/t3;->e:I

    if-ne v2, v4, :cond_319

    iget-boolean v2, v3, Lz5/t3;->l:Z

    iget-boolean v4, v1, Lz5/t3;->l:Z

    if-eq v2, v4, :cond_317

    goto :goto_319

    :cond_317
    const/4 v6, 0x1

    goto :goto_325

    :cond_319
    :goto_319
    iget-object v2, v0, Lz5/m2;->z:Lz5/z6;

    new-instance v4, Lz5/f2;

    const/4 v6, 0x1

    invoke-direct {v4, v1, v6}, Lz5/f2;-><init>(Lz5/t3;I)V

    const/4 v8, -0x1

    invoke-virtual {v2, v8, v4}, Lz5/z6;->b(ILz5/x6;)V

    :goto_325
    iget v2, v3, Lz5/t3;->e:I

    iget v4, v1, Lz5/t3;->e:I

    const/4 v8, 0x4

    if-eq v2, v4, :cond_336

    iget-object v2, v0, Lz5/m2;->z:Lz5/z6;

    new-instance v4, Lz5/g2;

    invoke-direct {v4, v1, v6}, Lz5/g2;-><init>(Lz5/t3;I)V

    invoke-virtual {v2, v8, v4}, Lz5/z6;->b(ILz5/x6;)V

    :cond_336
    iget-boolean v2, v3, Lz5/t3;->l:Z

    iget-boolean v4, v1, Lz5/t3;->l:Z

    const/4 v6, 0x5

    if-eq v2, v4, :cond_34b

    iget-object v2, v0, Lz5/m2;->z:Lz5/z6;

    new-instance v4, Lz5/h2;

    move/from16 v10, p3

    const/4 v9, 0x0

    invoke-direct {v4, v1, v10, v9}, Lz5/h2;-><init>(Lz5/t3;II)V

    invoke-virtual {v2, v6, v4}, Lz5/z6;->b(ILz5/x6;)V

    goto :goto_34c

    :cond_34b
    const/4 v9, 0x0

    :goto_34c
    iget v2, v3, Lz5/t3;->m:I

    iget v4, v1, Lz5/t3;->m:I

    const/4 v10, 0x6

    if-eq v2, v4, :cond_35d

    iget-object v2, v0, Lz5/m2;->z:Lz5/z6;

    new-instance v4, Lz5/xa0;

    invoke-direct {v4, v1}, Lz5/xa0;-><init>(Lz5/t3;)V

    invoke-virtual {v2, v10, v4}, Lz5/z6;->b(ILz5/x6;)V

    :cond_35d
    invoke-static {v3}, Lz5/m2;->U(Lz5/t3;)Z

    move-result v2

    invoke-static/range {p1 .. p1}, Lz5/m2;->U(Lz5/t3;)Z

    move-result v4

    const/4 v11, 0x7

    if-eq v2, v4, :cond_374

    iget-object v2, v0, Lz5/m2;->z:Lz5/z6;

    new-instance v4, Lz5/f2;

    const/4 v12, 0x2

    invoke-direct {v4, v1, v12}, Lz5/f2;-><init>(Lz5/t3;I)V

    invoke-virtual {v2, v11, v4}, Lz5/z6;->b(ILz5/x6;)V

    goto :goto_375

    :cond_374
    const/4 v12, 0x2

    :goto_375
    iget-object v2, v3, Lz5/t3;->n:Lz5/u3;

    iget-object v4, v1, Lz5/t3;->n:Lz5/u3;

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

    move-result v2

    if-nez v2, :cond_38b

    iget-object v2, v0, Lz5/m2;->z:Lz5/z6;

    new-instance v4, Lz5/g2;

    invoke-direct {v4, v1, v12}, Lz5/g2;-><init>(Lz5/t3;I)V

    const/16 v12, 0xc

    invoke-virtual {v2, v12, v4}, Lz5/z6;->b(ILz5/x6;)V

    :cond_38b
    if-eqz p4, :cond_395

    iget-object v2, v0, Lz5/m2;->z:Lz5/z6;

    sget-object v4, Lz5/i2;->r:Lz5/x6;

    const/4 v12, -0x1

    invoke-virtual {v2, v12, v4}, Lz5/z6;->b(ILz5/x6;)V

    :cond_395
    iget-object v2, v0, Lz5/m2;->N:Lz5/v3;

    iget-object v4, v0, Lz5/m2;->t:Lz5/v3;

    new-instance v12, Lz5/ge0;

    invoke-direct {v12}, Lz5/ge0;-><init>()V

    invoke-virtual {v12, v4}, Lz5/ge0;->x(Lz5/v3;)Lz5/ge0;

    invoke-virtual/range {p0 .. p0}, Lz5/m2;->a()Z

    move-result v4

    const/4 v13, 0x1

    xor-int/2addr v4, v13

    const/4 v13, 0x3

    invoke-virtual {v12, v13, v4}, Lz5/ge0;->v(IZ)Lz5/ge0;

    invoke-virtual/range {p0 .. p0}, Lcom/google/android/gms/internal/ads/a;->r()Z

    move-result v4

    if-eqz v4, :cond_3b9

    invoke-virtual/range {p0 .. p0}, Lz5/m2;->a()Z

    move-result v4

    if-nez v4, :cond_3b9

    const/4 v4, 0x1

    goto :goto_3ba

    :cond_3b9
    move v4, v9

    :goto_3ba
    invoke-virtual {v12, v8, v4}, Lz5/ge0;->v(IZ)Lz5/ge0;

    invoke-virtual/range {p0 .. p0}, Lcom/google/android/gms/internal/ads/a;->g()Z

    move-result v4

    if-eqz v4, :cond_3cb

    invoke-virtual/range {p0 .. p0}, Lz5/m2;->a()Z

    move-result v4

    if-nez v4, :cond_3cb

    const/4 v4, 0x1

    goto :goto_3cc

    :cond_3cb
    move v4, v9

    :goto_3cc
    invoke-virtual {v12, v6, v4}, Lz5/ge0;->v(IZ)Lz5/ge0;

    iget-object v4, v0, Lz5/m2;->P:Lz5/t3;

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

    invoke-virtual {v4}, Lz5/r4;->k()Z

    move-result v4

    if-nez v4, :cond_3f3

    invoke-virtual/range {p0 .. p0}, Lcom/google/android/gms/internal/ads/a;->g()Z

    move-result v4

    if-nez v4, :cond_3eb

    invoke-virtual/range {p0 .. p0}, Lcom/google/android/gms/internal/ads/a;->o()Z

    move-result v4

    if-eqz v4, :cond_3eb

    invoke-virtual/range {p0 .. p0}, Lcom/google/android/gms/internal/ads/a;->r()Z

    move-result v4

    if-eqz v4, :cond_3f3

    :cond_3eb
    invoke-virtual/range {p0 .. p0}, Lz5/m2;->a()Z

    move-result v4

    if-nez v4, :cond_3f3

    const/4 v4, 0x1

    goto :goto_3f4

    :cond_3f3
    move v4, v9

    :goto_3f4
    invoke-virtual {v12, v10, v4}, Lz5/ge0;->v(IZ)Lz5/ge0;

    invoke-virtual/range {p0 .. p0}, Lcom/google/android/gms/internal/ads/a;->j()Z

    move-result v4

    if-eqz v4, :cond_405

    invoke-virtual/range {p0 .. p0}, Lz5/m2;->a()Z

    move-result v4

    if-nez v4, :cond_405

    const/4 v4, 0x1

    goto :goto_406

    :cond_405
    move v4, v9

    :goto_406
    invoke-virtual {v12, v11, v4}, Lz5/ge0;->v(IZ)Lz5/ge0;

    iget-object v4, v0, Lz5/m2;->P:Lz5/t3;

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

    invoke-virtual {v4}, Lz5/r4;->k()Z

    move-result v4

    if-nez v4, :cond_443

    invoke-virtual/range {p0 .. p0}, Lcom/google/android/gms/internal/ads/a;->j()Z

    move-result v4

    if-nez v4, :cond_43b

    invoke-virtual/range {p0 .. p0}, Lcom/google/android/gms/internal/ads/a;->o()Z

    move-result v4

    if-eqz v4, :cond_443

    iget-object v4, v0, Lz5/m2;->P:Lz5/t3;

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

    invoke-virtual {v4}, Lz5/r4;->k()Z

    move-result v6

    if-nez v6, :cond_443

    invoke-virtual/range {p0 .. p0}, Lz5/m2;->K()I

    move-result v6

    iget-object v8, v0, Lcom/google/android/gms/internal/ads/a;->r:Ljava/lang/Object;

    check-cast v8, Lz5/q4;

    const-wide/16 v10, 0x0

    invoke-virtual {v4, v6, v8, v10, v11}, Lz5/r4;->f(ILz5/q4;J)Lz5/q4;

    move-result-object v4

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

    if-eqz v4, :cond_443

    :cond_43b
    invoke-virtual/range {p0 .. p0}, Lz5/m2;->a()Z

    move-result v4

    if-nez v4, :cond_443

    const/4 v4, 0x1

    goto :goto_444

    :cond_443
    move v4, v9

    :goto_444
    const/16 v6, 0x8

    invoke-virtual {v12, v6, v4}, Lz5/ge0;->v(IZ)Lz5/ge0;

    const/16 v4, 0x9

    invoke-virtual/range {p0 .. p0}, Lz5/m2;->a()Z

    move-result v6

    const/4 v8, 0x1

    xor-int/2addr v6, v8

    invoke-virtual {v12, v4, v6}, Lz5/ge0;->v(IZ)Lz5/ge0;

    invoke-virtual/range {p0 .. p0}, Lcom/google/android/gms/internal/ads/a;->r()Z

    move-result v4

    if-eqz v4, :cond_462

    invoke-virtual/range {p0 .. p0}, Lz5/m2;->a()Z

    move-result v4

    if-nez v4, :cond_462

    move v4, v8

    goto :goto_463

    :cond_462
    move v4, v9

    :goto_463
    invoke-virtual {v12, v5, v4}, Lz5/ge0;->v(IZ)Lz5/ge0;

    invoke-virtual/range {p0 .. p0}, Lcom/google/android/gms/internal/ads/a;->r()Z

    move-result v4

    if-eqz v4, :cond_474

    invoke-virtual/range {p0 .. p0}, Lz5/m2;->a()Z

    move-result v4

    if-nez v4, :cond_474

    move v5, v8

    goto :goto_475

    :cond_474
    move v5, v9

    :goto_475
    invoke-virtual {v12, v7, v5}, Lz5/ge0;->v(IZ)Lz5/ge0;

    invoke-virtual {v12}, Lz5/ge0;->y()Lz5/v3;

    move-result-object v4

    iput-object v4, v0, Lz5/m2;->N:Lz5/v3;

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

    move-result v2

    if-nez v2, :cond_490

    iget-object v2, v0, Lz5/m2;->z:Lz5/z6;

    new-instance v4, Lz5/xa0;

    invoke-direct {v4, v0}, Lz5/xa0;-><init>(Lz5/m2;)V

    const/16 v5, 0xd

    invoke-virtual {v2, v5, v4}, Lz5/z6;->b(ILz5/x6;)V

    :cond_490
    iget-object v2, v0, Lz5/m2;->z:Lz5/z6;

    invoke-virtual {v2}, Lz5/z6;->c()V

    iget-boolean v2, v3, Lz5/t3;->o:Z

    iget-boolean v4, v1, Lz5/t3;->o:Z

    if-eq v2, v4, :cond_4b3

    iget-object v2, v0, Lz5/m2;->A:Ljava/util/concurrent/CopyOnWriteArraySet;

    invoke-virtual {v2}, Ljava/util/concurrent/CopyOnWriteArraySet;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_4a1
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_4b3

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lz5/d2;

    iget-boolean v5, v1, Lz5/t3;->o:Z

    invoke-interface {v4, v5}, Lz5/d2;->zza(Z)V

    goto :goto_4a1

    :cond_4b3
    iget-boolean v2, v3, Lz5/t3;->p:Z

    iget-boolean v3, v1, Lz5/t3;->p:Z

    if-eq v2, v3, :cond_4d1

    iget-object v2, v0, Lz5/m2;->A:Ljava/util/concurrent/CopyOnWriteArraySet;

    invoke-virtual {v2}, Ljava/util/concurrent/CopyOnWriteArraySet;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_4bf
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_4d1

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lz5/d2;

    iget-boolean v4, v1, Lz5/t3;->p:Z

    invoke-interface {v3, v4}, Lz5/d2;->v(Z)V

    goto :goto_4bf

    :cond_4d1
    return-void
.end method

.method public final R(Lz5/t3;Lz5/r4;Landroid/util/Pair;)Lz5/t3;
    .registers 24
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lz5/t3;",
            "Lz5/r4;",
            "Landroid/util/Pair<",
            "Ljava/lang/Object;",
            "Ljava/lang/Long;",
            ">;)",
            "Lz5/t3;"
        }
    .end annotation

    move-object/from16 v0, p0

    move-object/from16 v1, p2

    move-object/from16 v2, p3

    invoke-virtual/range {p2 .. p2}, Lz5/r4;->k()Z

    move-result v3

    const/4 v4, 0x0

    const/4 v5, 0x1

    if-nez v3, :cond_13

    if-eqz v2, :cond_11

    goto :goto_13

    :cond_11
    move v3, v4

    goto :goto_14

    :cond_13
    :goto_13
    move v3, v5

    :goto_14
    invoke-static {v3}, Lcom/google/android/gms/internal/ads/d;->e(Z)V

    move-object/from16 v3, p1

    iget-object v6, v3, Lz5/t3;->a:Lz5/r4;

    invoke-virtual/range {p1 .. p2}, Lz5/t3;->c(Lz5/r4;)Lz5/t3;

    move-result-object v7

    invoke-virtual/range {p2 .. p2}, Lz5/r4;->k()Z

    move-result v3

    if-eqz v3, :cond_4b

    sget-object v1, Lz5/t3;->t:Lz5/rp1;

    sget-object v1, Lz5/t3;->t:Lz5/rp1;

    iget-wide v2, v0, Lz5/m2;->R:J

    invoke-static {v2, v3}, Lz5/v1;->b(J)J

    move-result-wide v13

    const-wide/16 v15, 0x0

    sget-object v17, Lz5/fw1;->d:Lz5/fw1;

    iget-object v2, v0, Lz5/m2;->s:Lcom/google/android/gms/internal/ads/g;

    sget-object v3, Lcom/google/android/gms/internal/ads/q6;->s:Lz5/v91;

    .line 1
    sget-object v19, Lcom/google/android/gms/internal/ads/b7;->v:Lcom/google/android/gms/internal/ads/q6;

    move-object v8, v1

    move-wide v9, v13

    move-wide v11, v13

    move-object/from16 v18, v2

    .line 2
    invoke-virtual/range {v7 .. v19}, Lz5/t3;->b(Lz5/rp1;JJJJLz5/fw1;Lcom/google/android/gms/internal/ads/g;Ljava/util/List;)Lz5/t3;

    move-result-object v2

    invoke-virtual {v2, v1}, Lz5/t3;->f(Lz5/rp1;)Lz5/t3;

    move-result-object v1

    iget-wide v2, v1, Lz5/t3;->s:J

    iput-wide v2, v1, Lz5/t3;->q:J

    return-object v1

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

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

    sget v8, Lz5/r7;->a:I

    iget-object v8, v2, Landroid/util/Pair;->first:Ljava/lang/Object;

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

    move-result v8

    xor-int/2addr v8, v5

    if-eqz v8, :cond_62

    new-instance v9, Lz5/rp1;

    iget-object v10, v2, Landroid/util/Pair;->first:Ljava/lang/Object;

    invoke-direct {v9, v10}, Lz5/rp1;-><init>(Ljava/lang/Object;)V

    goto :goto_64

    :cond_62
    iget-object v9, v7, Lz5/t3;->b:Lz5/rp1;

    :goto_64
    move-object v15, v9

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

    check-cast v2, Ljava/lang/Long;

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

    move-result-wide v13

    invoke-virtual/range {p0 .. p0}, Lz5/m2;->d()J

    move-result-wide v9

    invoke-static {v9, v10}, Lz5/v1;->b(J)J

    move-result-wide v9

    invoke-virtual {v6}, Lz5/r4;->k()Z

    move-result v2

    if-nez v2, :cond_80

    iget-object v2, v0, Lz5/m2;->B:Lz5/p4;

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

    :cond_80
    if-nez v8, :cond_126

    cmp-long v2, v13, v9

    if-gez v2, :cond_88

    goto/16 :goto_126

    :cond_88
    if-nez v2, :cond_ec

    iget-object v2, v7, Lz5/t3;->k:Lz5/rp1;

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

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

    move-result v2

    const/4 v3, -0x1

    if-eq v2, v3, :cond_a9

    iget-object v3, v0, Lz5/m2;->B:Lz5/p4;

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

    move-result-object v2

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

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

    iget-object v4, v0, Lz5/m2;->B:Lz5/p4;

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

    move-result-object v3

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

    if-eq v2, v3, :cond_15c

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

    iget-object v3, v0, Lz5/m2;->B:Lz5/p4;

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

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

    move-result v1

    if-eqz v1, :cond_c1

    iget-object v1, v0, Lz5/m2;->B:Lz5/p4;

    iget v2, v15, Lz5/cu1;->b:I

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

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

    move-result-wide v1

    goto :goto_c5

    :cond_c1
    iget-object v1, v0, Lz5/m2;->B:Lz5/p4;

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

    :goto_c5
    iget-wide v9, v7, Lz5/t3;->s:J

    iget-wide v11, v7, Lz5/t3;->s:J

    iget-wide v13, v7, Lz5/t3;->d:J

    iget-wide v3, v7, Lz5/t3;->s:J

    sub-long v3, v1, v3

    iget-object v5, v7, Lz5/t3;->h:Lz5/fw1;

    iget-object v6, v7, Lz5/t3;->i:Lcom/google/android/gms/internal/ads/g;

    iget-object v8, v7, Lz5/t3;->j:Ljava/util/List;

    move-object/from16 v19, v8

    move-object v8, v15

    move-wide/from16 p1, v1

    move-object v1, v15

    move-wide v15, v3

    move-object/from16 v17, v5

    move-object/from16 v18, v6

    invoke-virtual/range {v7 .. v19}, Lz5/t3;->b(Lz5/rp1;JJJJLz5/fw1;Lcom/google/android/gms/internal/ads/g;Ljava/util/List;)Lz5/t3;

    move-result-object v2

    invoke-virtual {v2, v1}, Lz5/t3;->f(Lz5/rp1;)Lz5/t3;

    move-result-object v1

    move-object v7, v1

    move-wide/from16 v1, p1

    goto :goto_123

    :cond_ec
    move-object v1, v15

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

    move-result v2

    xor-int/2addr v2, v5

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

    const-wide/16 v2, 0x0

    iget-wide v4, v7, Lz5/t3;->r:J

    sub-long v8, v13, v9

    sub-long/2addr v4, v8

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

    move-result-wide v15

    iget-wide v2, v7, Lz5/t3;->q:J

    iget-object v4, v7, Lz5/t3;->k:Lz5/rp1;

    iget-object v5, v7, Lz5/t3;->b:Lz5/rp1;

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

    move-result v4

    if-eqz v4, :cond_10e

    add-long v2, v13, v15

    :cond_10e
    iget-object v4, v7, Lz5/t3;->h:Lz5/fw1;

    iget-object v5, v7, Lz5/t3;->i:Lcom/google/android/gms/internal/ads/g;

    iget-object v6, v7, Lz5/t3;->j:Ljava/util/List;

    move-object v8, v1

    move-wide v9, v13

    move-wide v11, v13

    move-object/from16 v17, v4

    move-object/from16 v18, v5

    move-object/from16 v19, v6

    invoke-virtual/range {v7 .. v19}, Lz5/t3;->b(Lz5/rp1;JJJJLz5/fw1;Lcom/google/android/gms/internal/ads/g;Ljava/util/List;)Lz5/t3;

    move-result-object v1

    move-object v7, v1

    move-wide v1, v2

    :goto_123
    iput-wide v1, v7, Lz5/t3;->q:J

    goto :goto_15c

    :cond_126
    :goto_126
    move-object v1, v15

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

    move-result v2

    xor-int/2addr v2, v5

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

    if-eqz v8, :cond_134

    sget-object v2, Lz5/fw1;->d:Lz5/fw1;

    goto :goto_136

    :cond_134
    iget-object v2, v7, Lz5/t3;->h:Lz5/fw1;

    :goto_136
    move-object/from16 v17, v2

    if-eqz v8, :cond_13d

    iget-object v2, v0, Lz5/m2;->s:Lcom/google/android/gms/internal/ads/g;

    goto :goto_13f

    :cond_13d
    iget-object v2, v7, Lz5/t3;->i:Lcom/google/android/gms/internal/ads/g;

    :goto_13f
    move-object/from16 v18, v2

    if-eqz v8, :cond_148

    sget-object v2, Lcom/google/android/gms/internal/ads/q6;->s:Lz5/v91;

    .line 3
    sget-object v2, Lcom/google/android/gms/internal/ads/b7;->v:Lcom/google/android/gms/internal/ads/q6;

    goto :goto_14a

    .line 4
    :cond_148
    iget-object v2, v7, Lz5/t3;->j:Ljava/util/List;

    :goto_14a
    move-object/from16 v19, v2

    const-wide/16 v15, 0x0

    move-object v8, v1

    move-wide v9, v13

    move-wide v11, v13

    move-wide v2, v13

    invoke-virtual/range {v7 .. v19}, Lz5/t3;->b(Lz5/rp1;JJJJLz5/fw1;Lcom/google/android/gms/internal/ads/g;Ljava/util/List;)Lz5/t3;

    move-result-object v4

    invoke-virtual {v4, v1}, Lz5/t3;->f(Lz5/rp1;)Lz5/t3;

    move-result-object v7

    iput-wide v2, v7, Lz5/t3;->q:J

    :cond_15c
    :goto_15c
    return-object v7
.end method

.method public final S(Lz5/r4;IJ)Landroid/util/Pair;
    .registers 11
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lz5/r4;",
            "IJ)",
            "Landroid/util/Pair<",
            "Ljava/lang/Object;",
            "Ljava/lang/Long;",
            ">;"
        }
    .end annotation

    invoke-virtual {p1}, Lz5/r4;->k()Z

    move-result v0

    const-wide/16 v1, 0x0

    if-eqz v0, :cond_18

    iput p2, p0, Lz5/m2;->Q:I

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

    cmp-long p1, p3, p1

    if-nez p1, :cond_14

    move-wide p3, v1

    :cond_14
    iput-wide p3, p0, Lz5/m2;->R:J

    const/4 p1, 0x0

    return-object p1

    :cond_18
    const/4 v0, -0x1

    if-eq p2, v0, :cond_21

    invoke-virtual {p1}, Lz5/r4;->a()I

    move-result v0

    if-lt p2, v0, :cond_35

    :cond_21
    const/4 p2, 0x0

    invoke-virtual {p1, p2}, Lz5/r4;->e(Z)I

    move-result p2

    iget-object p3, p0, Lcom/google/android/gms/internal/ads/a;->r:Ljava/lang/Object;

    check-cast p3, Lz5/q4;

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

    move-result-object p3

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

    invoke-static {v1, v2}, Lz5/v1;->a(J)J

    move-result-wide p3

    :cond_35
    move v3, p2

    iget-object p2, p0, Lcom/google/android/gms/internal/ads/a;->r:Ljava/lang/Object;

    move-object v1, p2

    check-cast v1, Lz5/q4;

    iget-object v2, p0, Lz5/m2;->B:Lz5/p4;

    invoke-static {p3, p4}, Lz5/v1;->b(J)J

    move-result-wide v4

    move-object v0, p1

    invoke-virtual/range {v0 .. v5}, Lz5/r4;->m(Lz5/q4;Lz5/p4;IJ)Landroid/util/Pair;

    move-result-object p1

    return-object p1
.end method

.method public final T(Lz5/r4;Lz5/rp1;J)J
    .registers 6

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

    iget-object v0, p0, Lz5/m2;->B:Lz5/p4;

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

    return-wide p3
.end method

.method public final V(IJ)V
    .registers 17

    move-object v10, p0

    move v0, p1

    iget-object v1, v10, Lz5/m2;->P:Lz5/t3;

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

    if-ltz v0, :cond_8d

    invoke-virtual {v1}, Lz5/r4;->k()Z

    move-result v2

    if-nez v2, :cond_14

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

    move-result v2

    if-ge v0, v2, :cond_8d

    :cond_14
    iget v2, v10, Lz5/m2;->J:I

    const/4 v3, 0x1

    add-int/2addr v2, v3

    iput v2, v10, Lz5/m2;->J:I

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

    move-result v2

    if-nez v2, :cond_67

    iget-object v2, v10, Lz5/m2;->P:Lz5/t3;

    iget v2, v2, Lz5/t3;->e:I

    if-ne v2, v3, :cond_27

    goto :goto_28

    :cond_27
    const/4 v3, 0x2

    :goto_28
    invoke-virtual {p0}, Lz5/m2;->K()I

    move-result v9

    iget-object v2, v10, Lz5/m2;->P:Lz5/t3;

    invoke-virtual {v2, v3}, Lz5/t3;->d(I)Lz5/t3;

    move-result-object v2

    move-wide v3, p2

    invoke-virtual {p0, v1, p1, v3, v4}, Lz5/m2;->S(Lz5/r4;IJ)Landroid/util/Pair;

    move-result-object v5

    invoke-virtual {p0, v2, v1, v5}, Lz5/m2;->R(Lz5/t3;Lz5/r4;Landroid/util/Pair;)Lz5/t3;

    move-result-object v2

    iget-object v5, v10, Lz5/m2;->y:Lz5/t2;

    invoke-static/range {p2 .. p3}, Lz5/v1;->b(J)J

    move-result-wide v3

    .line 1
    iget-object v5, v5, Lz5/t2;->y:Lz5/v6;

    new-instance v6, Lz5/s2;

    invoke-direct {v6, v1, p1, v3, v4}, Lz5/s2;-><init>(Lz5/r4;IJ)V

    check-cast v5, Lz5/n7;

    const/4 v0, 0x3

    invoke-virtual {v5, v0, v6}, Lz5/n7;->b(ILjava/lang/Object;)Lz5/m7;

    move-result-object v0

    invoke-virtual {v0}, Lz5/m7;->a()V

    const/4 v3, 0x0

    const/4 v4, 0x1

    const/4 v5, 0x1

    const/4 v6, 0x1

    const/4 v7, 0x1

    .line 2
    invoke-virtual {p0, v2}, Lz5/m2;->O(Lz5/t3;)J

    move-result-wide v11

    move-object v0, p0

    move-object v1, v2

    move v2, v3

    move v3, v4

    move v4, v5

    move v5, v6

    move v6, v7

    move-wide v7, v11

    invoke-virtual/range {v0 .. v9}, Lz5/m2;->P(Lz5/t3;IIZZIJI)V

    return-void

    :cond_67
    const-string v0, "ExoPlayerImpl"

    const-string v1, "seekTo ignored because an ad is playing"

    invoke-static {v0, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    new-instance v0, Lz5/r2;

    iget-object v1, v10, Lz5/m2;->P:Lz5/t3;

    invoke-direct {v0, v1}, Lz5/r2;-><init>(Lz5/t3;)V

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

    iget-object v1, v10, Lz5/m2;->x:Lz5/bd0;

    .line 3
    iget-object v1, v1, Lz5/bd0;->s:Ljava/lang/Object;

    check-cast v1, Lz5/m2;

    .line 4
    iget-object v2, v1, Lz5/m2;->w:Lz5/v6;

    new-instance v3, Lz5/j2;

    invoke-direct {v3, v1, v0}, Lz5/j2;-><init>(Lz5/m2;Lz5/r2;)V

    check-cast v2, Lz5/n7;

    .line 5
    iget-object v0, v2, Lz5/n7;->a:Landroid/os/Handler;

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

    return-void

    .line 6
    :cond_8d
    new-instance v0, Lz5/y2;

    invoke-direct {v0, v1}, Lz5/y2;-><init>(Lz5/r4;)V

    throw v0
.end method

.method public final W(ZLz5/c2;)V
    .registers 14

    iget-object p1, p0, Lz5/m2;->P:Lz5/t3;

    iget-object v0, p1, Lz5/t3;->b:Lz5/rp1;

    invoke-virtual {p1, v0}, Lz5/t3;->f(Lz5/rp1;)Lz5/t3;

    move-result-object p1

    iget-wide v0, p1, Lz5/t3;->s:J

    iput-wide v0, p1, Lz5/t3;->q:J

    const-wide/16 v0, 0x0

    iput-wide v0, p1, Lz5/t3;->r:J

    const/4 v0, 0x1

    invoke-virtual {p1, v0}, Lz5/t3;->d(I)Lz5/t3;

    move-result-object p1

    if-eqz p2, :cond_1b

    invoke-virtual {p1, p2}, Lz5/t3;->e(Lz5/c2;)Lz5/t3;

    move-result-object p1

    :cond_1b
    move-object v2, p1

    iget p1, p0, Lz5/m2;->J:I

    add-int/2addr p1, v0

    iput p1, p0, Lz5/m2;->J:I

    iget-object p1, p0, Lz5/m2;->y:Lz5/t2;

    .line 1
    iget-object p1, p1, Lz5/t2;->y:Lz5/v6;

    check-cast p1, Lz5/n7;

    const/4 p2, 0x6

    invoke-virtual {p1, p2}, Lz5/n7;->a(I)Lz5/m7;

    move-result-object p1

    invoke-virtual {p1}, Lz5/m7;->a()V

    .line 2
    iget-object p1, v2, Lz5/t3;->a:Lz5/r4;

    invoke-virtual {p1}, Lz5/r4;->k()Z

    move-result p1

    const/4 p2, 0x0

    if-eqz p1, :cond_44

    iget-object p1, p0, Lz5/m2;->P:Lz5/t3;

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

    invoke-virtual {p1}, Lz5/r4;->k()Z

    move-result p1

    if-nez p1, :cond_44

    move v6, v0

    goto :goto_45

    :cond_44
    move v6, p2

    :goto_45
    const/4 v3, 0x0

    const/4 v4, 0x1

    const/4 v5, 0x0

    const/4 v7, 0x4

    invoke-virtual {p0, v2}, Lz5/m2;->O(Lz5/t3;)J

    move-result-wide v8

    const/4 v10, -0x1

    move-object v1, p0

    invoke-virtual/range {v1 .. v10}, Lz5/m2;->P(Lz5/t3;IIZZIJI)V

    return-void
.end method

.method public final X(Lz5/a4;)Lz5/b4;
    .registers 10

    new-instance v7, Lz5/b4;

    iget-object v1, p0, Lz5/m2;->y:Lz5/t2;

    iget-object v0, p0, Lz5/m2;->P:Lz5/t3;

    iget-object v3, v0, Lz5/t3;->a:Lz5/r4;

    invoke-virtual {p0}, Lz5/m2;->K()I

    move-result v4

    iget-object v5, p0, Lz5/m2;->I:Lz5/p6;

    iget-object v0, p0, Lz5/m2;->y:Lz5/t2;

    .line 1
    iget-object v6, v0, Lz5/t2;->A:Landroid/os/Looper;

    move-object v0, v7

    move-object v2, p1

    .line 2
    invoke-direct/range {v0 .. v6}, Lz5/b4;-><init>(Lz5/z3;Lz5/a4;Lz5/r4;ILz5/p6;Landroid/os/Looper;)V

    return-object v7
.end method

.method public final Y()J
    .registers 6

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

    move-result v0

    if-nez v0, :cond_2b

    iget-object v0, p0, Lz5/m2;->P:Lz5/t3;

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

    invoke-virtual {v0}, Lz5/r4;->k()Z

    move-result v1

    if-eqz v1, :cond_16

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

    return-wide v0

    :cond_16
    invoke-virtual {p0}, Lz5/m2;->K()I

    move-result v1

    iget-object v2, p0, Lcom/google/android/gms/internal/ads/a;->r:Ljava/lang/Object;

    check-cast v2, Lz5/q4;

    const-wide/16 v3, 0x0

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

    move-result-object v0

    iget-wide v0, v0, Lz5/q4;->k:J

    :goto_26
    invoke-static {v0, v1}, Lz5/v1;->a(J)J

    move-result-wide v0

    return-wide v0

    :cond_2b
    iget-object v0, p0, Lz5/m2;->P:Lz5/t3;

    iget-object v1, v0, Lz5/t3;->b:Lz5/rp1;

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

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

    iget-object v3, p0, Lz5/m2;->B:Lz5/p4;

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

    iget-object v0, p0, Lz5/m2;->B:Lz5/p4;

    iget v2, v1, Lz5/cu1;->b:I

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

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

    move-result-wide v0

    goto :goto_26
.end method

.method public final a()Z
    .registers 2

    iget-object v0, p0, Lz5/m2;->P:Lz5/t3;

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

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

    move-result v0

    return v0
.end method

.method public final b()I
    .registers 2

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

    move-result v0

    if-eqz v0, :cond_d

    iget-object v0, p0, Lz5/m2;->P:Lz5/t3;

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

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

    return v0

    :cond_d
    const/4 v0, -0x1

    return v0
.end method

.method public final c()I
    .registers 2

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

    move-result v0

    if-eqz v0, :cond_d

    iget-object v0, p0, Lz5/m2;->P:Lz5/t3;

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

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

    return v0

    :cond_d
    const/4 v0, -0x1

    return v0
.end method

.method public final d()J
    .registers 6

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

    move-result v0

    if-eqz v0, :cond_46

    iget-object v0, p0, Lz5/m2;->P:Lz5/t3;

    iget-object v1, v0, Lz5/t3;->a:Lz5/r4;

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

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

    iget-object v2, p0, Lz5/m2;->B:Lz5/p4;

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

    iget-object v0, p0, Lz5/m2;->P:Lz5/t3;

    iget-wide v1, v0, Lz5/t3;->c:J

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

    cmp-long v1, v1, v3

    const-wide/16 v2, 0x0

    if-nez v1, :cond_38

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

    invoke-virtual {p0}, Lz5/m2;->K()I

    move-result v1

    iget-object v4, p0, Lcom/google/android/gms/internal/ads/a;->r:Ljava/lang/Object;

    check-cast v4, Lz5/q4;

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

    move-result-object v0

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

    invoke-static {v2, v3}, Lz5/v1;->a(J)J

    move-result-wide v0

    goto :goto_45

    :cond_38
    invoke-static {v2, v3}, Lz5/v1;->a(J)J

    move-result-wide v0

    iget-object v2, p0, Lz5/m2;->P:Lz5/t3;

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

    invoke-static {v2, v3}, Lz5/v1;->a(J)J

    move-result-wide v2

    add-long/2addr v0, v2

    :goto_45
    return-wide v0

    :cond_46
    invoke-virtual {p0}, Lz5/m2;->L()J

    move-result-wide v0

    return-wide v0
.end method

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

    iget-object v0, p0, Lz5/m2;->P:Lz5/t3;

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

    return-object v0
.end method
