.class public Lcom/google/android/gms/internal/ads/k;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lz5/x6;
.implements Lz5/tt1;


# annotations
.annotation runtime Ljavax/annotation/ParametersAreNonnullByDefault;
.end annotation


# instance fields
.field public final synthetic r:I

.field public final s:Ljava/lang/Object;

.field public t:I

.field public final u:Ljava/lang/Object;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/google/android/gms/internal/ads/j;",
            ">;"
        }
    .end annotation
.end field


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

    const/4 v0, 0x0

    iput v0, p0, Lcom/google/android/gms/internal/ads/k;->r:I

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

    new-instance v0, Ljava/lang/Object;

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

    iput-object v0, p0, Lcom/google/android/gms/internal/ads/k;->s:Ljava/lang/Object;

    new-instance v0, Ljava/util/LinkedList;

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

    iput-object v0, p0, Lcom/google/android/gms/internal/ads/k;->u:Ljava/lang/Object;

    return-void
.end method

.method public constructor <init>(ILz5/p7;)V
    .registers 4

    const/4 v0, 0x7

    iput v0, p0, Lcom/google/android/gms/internal/ads/k;->r:I

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

    iput p1, p0, Lcom/google/android/gms/internal/ads/k;->t:I

    iput-object p2, p0, Lcom/google/android/gms/internal/ads/k;->s:Ljava/lang/Object;

    new-instance p1, Lz5/j7;

    const/4 p2, 0x0

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

    iput-object p1, p0, Lcom/google/android/gms/internal/ads/k;->u:Ljava/lang/Object;

    return-void
.end method

.method public constructor <init>(ILz5/y3;Lz5/y3;)V
    .registers 5

    const/4 v0, 0x1

    iput v0, p0, Lcom/google/android/gms/internal/ads/k;->r:I

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

    iput p1, p0, Lcom/google/android/gms/internal/ads/k;->t:I

    iput-object p2, p0, Lcom/google/android/gms/internal/ads/k;->s:Ljava/lang/Object;

    iput-object p3, p0, Lcom/google/android/gms/internal/ads/k;->u:Ljava/lang/Object;

    return-void
.end method

.method public constructor <init>(Ljava/lang/String;Ljava/lang/Object;I)V
    .registers 5

    const/4 v0, 0x3

    iput v0, p0, Lcom/google/android/gms/internal/ads/k;->r:I

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

    iput-object p1, p0, Lcom/google/android/gms/internal/ads/k;->u:Ljava/lang/Object;

    iput-object p2, p0, Lcom/google/android/gms/internal/ads/k;->s:Ljava/lang/Object;

    iput p3, p0, Lcom/google/android/gms/internal/ads/k;->t:I

    return-void
.end method

.method public constructor <init>(Ljava/util/List;ILjava/lang/String;)V
    .registers 5

    const/4 v0, 0x5

    iput v0, p0, Lcom/google/android/gms/internal/ads/k;->r:I

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

    iput-object p1, p0, Lcom/google/android/gms/internal/ads/k;->u:Ljava/lang/Object;

    iput p2, p0, Lcom/google/android/gms/internal/ads/k;->t:I

    iput-object p3, p0, Lcom/google/android/gms/internal/ads/k;->s:Ljava/lang/Object;

    return-void
.end method

.method public synthetic constructor <init>(Lz5/fu1;I)V
    .registers 4

    const/4 v0, 0x6

    iput v0, p0, Lcom/google/android/gms/internal/ads/k;->r:I

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

    iput-object p1, p0, Lcom/google/android/gms/internal/ads/k;->s:Ljava/lang/Object;

    iput p2, p0, Lcom/google/android/gms/internal/ads/k;->t:I

    new-instance p1, Lz5/p8;

    const/4 p2, 0x3

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

    iput-object p1, p0, Lcom/google/android/gms/internal/ads/k;->u:Ljava/lang/Object;

    return-void
.end method

.method public constructor <init>(Lz5/s6;)V
    .registers 3

    const/4 v0, 0x4

    iput v0, p0, Lcom/google/android/gms/internal/ads/k;->r:I

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

    new-instance v0, Landroid/util/SparseArray;

    invoke-direct {v0}, Landroid/util/SparseArray;-><init>()V

    iput-object v0, p0, Lcom/google/android/gms/internal/ads/k;->s:Ljava/lang/Object;

    iput-object p1, p0, Lcom/google/android/gms/internal/ads/k;->u:Ljava/lang/Object;

    const/4 p1, -0x1

    iput p1, p0, Lcom/google/android/gms/internal/ads/k;->t:I

    return-void
.end method

.method public static a(Ljava/lang/String;Z)Lcom/google/android/gms/internal/ads/k;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Z)",
            "Lcom/google/android/gms/internal/ads/k;"
        }
    .end annotation

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

    invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object p1

    const/4 v1, 0x1

    invoke-direct {v0, p0, p1, v1}, Lcom/google/android/gms/internal/ads/k;-><init>(Ljava/lang/String;Ljava/lang/Object;I)V

    return-object v0
.end method

.method public static c(Lz5/j7;)Lcom/google/android/gms/internal/ads/k;
    .registers 17

    move-object/from16 v0, p0

    const/16 v1, 0x15

    :try_start_4
    invoke-virtual {v0, v1}, Lz5/j7;->u(I)V

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

    move-result v1

    and-int/lit8 v1, v1, 0x3

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

    move-result v2

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

    move-result v3

    const/4 v4, 0x0

    move v5, v4

    move v6, v5

    :goto_18
    const/4 v7, 0x1

    if-ge v5, v2, :cond_35

    invoke-virtual {v0, v7}, Lz5/j7;->u(I)V

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

    move-result v7

    move v8, v4

    :goto_23
    if-ge v8, v7, :cond_32

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

    move-result v9

    add-int/lit8 v10, v9, 0x4

    add-int/2addr v6, v10

    invoke-virtual {v0, v9}, Lz5/j7;->u(I)V

    add-int/lit8 v8, v8, 0x1

    goto :goto_23

    :cond_32
    add-int/lit8 v5, v5, 0x1

    goto :goto_18

    :cond_35
    invoke-virtual {v0, v3}, Lz5/j7;->q(I)V

    new-array v3, v6, [B

    move v8, v4

    move v10, v8

    const/4 v9, 0x0

    :goto_3d
    if-ge v8, v2, :cond_7d

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

    move-result v11

    and-int/lit8 v11, v11, 0x7f

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

    move-result v12

    move v13, v4

    :goto_4a
    if-ge v13, v12, :cond_7a

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

    move-result v14

    sget-object v15, Lz5/f7;->a:[B

    const/4 v5, 0x4

    invoke-static {v15, v4, v3, v10, v5}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    add-int/lit8 v10, v10, 0x4

    .line 1
    iget-object v5, v0, Lz5/j7;->b:[B

    .line 2
    invoke-virtual/range {p0 .. p0}, Lz5/j7;->o()I

    move-result v15

    invoke-static {v5, v15, v3, v10, v14}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    const/16 v5, 0x21

    if-ne v11, v5, :cond_74

    if-nez v13, :cond_74

    new-instance v5, Lz5/i7;

    add-int v9, v10, v14

    invoke-direct {v5, v3, v10, v9, v7}, Lz5/i7;-><init>([BIII)V

    invoke-static {v5}, Lz5/q6;->b(Lz5/i7;)Ljava/lang/String;

    move-result-object v5

    move v13, v4

    move-object v9, v5

    :cond_74
    add-int/2addr v10, v14

    invoke-virtual {v0, v14}, Lz5/j7;->u(I)V

    add-int/2addr v13, v7

    goto :goto_4a

    :cond_7a
    add-int/lit8 v8, v8, 0x1

    goto :goto_3d

    :cond_7d
    if-nez v6, :cond_81

    const/4 v5, 0x0

    goto :goto_85

    :cond_81
    invoke-static {v3}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List;

    move-result-object v5

    :goto_85
    new-instance v0, Lcom/google/android/gms/internal/ads/k;

    add-int/2addr v1, v7

    invoke-direct {v0, v5, v1, v9}, Lcom/google/android/gms/internal/ads/k;-><init>(Ljava/util/List;ILjava/lang/String;)V
    :try_end_8b
    .catch Ljava/lang/ArrayIndexOutOfBoundsException; {:try_start_4 .. :try_end_8b} :catch_8c

    return-object v0

    :catch_8c
    move-exception v0

    const-string v1, "Error parsing HEVC config"

    invoke-static {v1, v0}, Lz5/r3;->b(Ljava/lang/String;Ljava/lang/Throwable;)Lz5/r3;

    move-result-object v0

    throw v0
.end method

.method public static e(Ljava/lang/String;J)Lcom/google/android/gms/internal/ads/k;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "J)",
            "Lcom/google/android/gms/internal/ads/k;"
        }
    .end annotation

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

    invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p1

    const/4 p2, 0x2

    invoke-direct {v0, p0, p1, p2}, Lcom/google/android/gms/internal/ads/k;-><init>(Ljava/lang/String;Ljava/lang/Object;I)V

    return-object v0
.end method

.method public static j(Ljava/lang/String;Ljava/lang/String;)Lcom/google/android/gms/internal/ads/k;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ")",
            "Lcom/google/android/gms/internal/ads/k;"
        }
    .end annotation

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

    const/4 v1, 0x4

    invoke-direct {v0, p0, p1, v1}, Lcom/google/android/gms/internal/ads/k;-><init>(Ljava/lang/String;Ljava/lang/Object;I)V

    return-object v0
.end method


# virtual methods
.method public b(Lz5/au1;J)Lz5/st1;
    .registers 21

    move-object/from16 v0, p0

    iget v1, v0, Lcom/google/android/gms/internal/ads/k;->r:I

    const/4 v2, 0x0

    packed-switch v1, :pswitch_data_ee

    goto :goto_4b

    .line 1
    :pswitch_9
    invoke-interface/range {p1 .. p1}, Lz5/au1;->zzn()J

    move-result-wide v3

    invoke-virtual/range {p0 .. p1}, Lcom/google/android/gms/internal/ads/k;->g(Lz5/au1;)J

    move-result-wide v5

    invoke-interface/range {p1 .. p1}, Lz5/au1;->zzm()J

    move-result-wide v7

    iget-object v1, v0, Lcom/google/android/gms/internal/ads/k;->s:Ljava/lang/Object;

    check-cast v1, Lz5/fu1;

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

    const/4 v9, 0x6

    invoke-static {v9, v1}, Ljava/lang/Math;->max(II)I

    move-result v1

    move-object/from16 v9, p1

    check-cast v9, Lz5/vt1;

    invoke-virtual {v9, v1, v2}, Lz5/vt1;->i(IZ)Z

    invoke-virtual/range {p0 .. p1}, Lcom/google/android/gms/internal/ads/k;->g(Lz5/au1;)J

    move-result-wide v1

    invoke-interface/range {p1 .. p1}, Lz5/au1;->zzm()J

    move-result-wide v9

    cmp-long v11, v5, p2

    if-gtz v11, :cond_3d

    cmp-long v11, v1, p2

    if-gtz v11, :cond_38

    goto :goto_3d

    :cond_38
    invoke-static {v7, v8}, Lz5/st1;->c(J)Lz5/st1;

    move-result-object v1

    goto :goto_4a

    :cond_3d
    :goto_3d
    cmp-long v7, v1, p2

    if-gtz v7, :cond_46

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

    move-result-object v1

    goto :goto_4a

    :cond_46
    invoke-static {v5, v6, v3, v4}, Lz5/st1;->a(JJ)Lz5/st1;

    move-result-object v1

    :goto_4a
    return-object v1

    .line 2
    :goto_4b
    invoke-interface/range {p1 .. p1}, Lz5/au1;->zzn()J

    move-result-wide v3

    invoke-interface/range {p1 .. p1}, Lz5/au1;->zzo()J

    move-result-wide v5

    sub-long/2addr v5, v3

    const-wide/32 v7, 0x1b8a0

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

    move-result-wide v5

    long-to-int v1, v5

    iget-object v5, v0, Lcom/google/android/gms/internal/ads/k;->u:Ljava/lang/Object;

    check-cast v5, Lz5/j7;

    invoke-virtual {v5, v1}, Lz5/j7;->i(I)V

    iget-object v5, v0, Lcom/google/android/gms/internal/ads/k;->u:Ljava/lang/Object;

    check-cast v5, Lz5/j7;

    .line 3
    iget-object v5, v5, Lz5/j7;->b:[B

    .line 4
    move-object/from16 v6, p1

    check-cast v6, Lz5/vt1;

    invoke-virtual {v6, v5, v2, v1, v2}, Lz5/vt1;->k([BIIZ)Z

    iget-object v1, v0, Lcom/google/android/gms/internal/ads/k;->u:Ljava/lang/Object;

    check-cast v1, Lz5/j7;

    invoke-virtual {v1}, Lz5/j7;->m()I

    move-result v2

    const-wide/16 v5, -0x1

    move-wide v9, v5

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

    :goto_80
    invoke-virtual {v1}, Lz5/j7;->l()I

    move-result v13

    const/16 v14, 0xbc

    if-lt v13, v14, :cond_db

    .line 5
    iget-object v13, v1, Lz5/j7;->b:[B

    .line 6
    invoke-virtual {v1}, Lz5/j7;->o()I

    move-result v14

    :goto_8e
    if-ge v14, v2, :cond_99

    .line 7
    aget-byte v15, v13, v14

    const/16 v7, 0x47

    if-eq v15, v7, :cond_99

    add-int/lit8 v14, v14, 0x1

    goto :goto_8e

    :cond_99
    add-int/lit16 v7, v14, 0xbc

    if-le v7, v2, :cond_9e

    goto :goto_db

    .line 8
    :cond_9e
    iget v5, v0, Lcom/google/android/gms/internal/ads/k;->t:I

    invoke-static {v1, v14, v5}, Lcom/google/android/gms/internal/ads/f;->g(Lz5/j7;II)J

    move-result-wide v5

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

    cmp-long v8, v5, v15

    if-eqz v8, :cond_d6

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

    check-cast v8, Lz5/p7;

    invoke-virtual {v8, v5, v6}, Lz5/p7;->d(J)J

    move-result-wide v5

    cmp-long v8, v5, p2

    if-lez v8, :cond_c4

    cmp-long v1, v11, v15

    if-nez v1, :cond_c2

    invoke-static {v5, v6, v3, v4}, Lz5/st1;->a(JJ)Lz5/st1;

    move-result-object v1

    goto :goto_ec

    :cond_c2
    add-long/2addr v3, v9

    goto :goto_ce

    :cond_c4
    const-wide/32 v8, 0x186a0

    add-long/2addr v8, v5

    cmp-long v8, v8, p2

    if-lez v8, :cond_d3

    int-to-long v1, v14

    add-long/2addr v3, v1

    :goto_ce
    invoke-static {v3, v4}, Lz5/st1;->c(J)Lz5/st1;

    move-result-object v1

    goto :goto_ec

    :cond_d3
    int-to-long v8, v14

    move-wide v11, v5

    move-wide v9, v8

    :cond_d6
    invoke-virtual {v1, v7}, Lz5/j7;->q(I)V

    int-to-long v5, v7

    goto :goto_80

    :cond_db
    :goto_db
    const-wide v1, -0x7fffffffffffffffL    # -4.9E-324

    cmp-long v1, v11, v1

    if-eqz v1, :cond_ea

    add-long/2addr v3, v5

    invoke-static {v11, v12, v3, v4}, Lz5/st1;->b(JJ)Lz5/st1;

    move-result-object v1

    goto :goto_ec

    :cond_ea
    sget-object v1, Lz5/st1;->d:Lz5/st1;

    :goto_ec
    return-object v1

    nop

    :pswitch_data_ee
    .packed-switch 0x6
        :pswitch_9
    .end packed-switch
.end method

.method public d(I)Ljava/lang/Object;
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I)TV;"
        }
    .end annotation

    iget v0, p0, Lcom/google/android/gms/internal/ads/k;->t:I

    const/4 v1, -0x1

    if-eq v0, v1, :cond_6

    goto :goto_9

    :cond_6
    const/4 v0, 0x0

    :goto_7
    iput v0, p0, Lcom/google/android/gms/internal/ads/k;->t:I

    :goto_9
    iget v0, p0, Lcom/google/android/gms/internal/ads/k;->t:I

    if-gtz v0, :cond_e

    goto :goto_1c

    :cond_e
    iget-object v2, p0, Lcom/google/android/gms/internal/ads/k;->s:Ljava/lang/Object;

    check-cast v2, Landroid/util/SparseArray;

    invoke-virtual {v2, v0}, Landroid/util/SparseArray;->keyAt(I)I

    move-result v0

    if-ge p1, v0, :cond_1c

    iget v0, p0, Lcom/google/android/gms/internal/ads/k;->t:I

    add-int/2addr v0, v1

    goto :goto_7

    :cond_1c
    :goto_1c
    iget v0, p0, Lcom/google/android/gms/internal/ads/k;->t:I

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

    check-cast v2, Landroid/util/SparseArray;

    invoke-virtual {v2}, Landroid/util/SparseArray;->size()I

    move-result v2

    add-int/2addr v2, v1

    if-ge v0, v2, :cond_3e

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/k;->s:Ljava/lang/Object;

    check-cast v0, Landroid/util/SparseArray;

    iget v2, p0, Lcom/google/android/gms/internal/ads/k;->t:I

    add-int/lit8 v2, v2, 0x1

    invoke-virtual {v0, v2}, Landroid/util/SparseArray;->keyAt(I)I

    move-result v0

    if-lt p1, v0, :cond_3e

    iget v0, p0, Lcom/google/android/gms/internal/ads/k;->t:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/google/android/gms/internal/ads/k;->t:I

    goto :goto_1c

    :cond_3e
    iget-object p1, p0, Lcom/google/android/gms/internal/ads/k;->s:Ljava/lang/Object;

    check-cast p1, Landroid/util/SparseArray;

    iget v0, p0, Lcom/google/android/gms/internal/ads/k;->t:I

    invoke-virtual {p1, v0}, Landroid/util/SparseArray;->valueAt(I)Ljava/lang/Object;

    move-result-object p1

    return-object p1
.end method

.method public f(ILjava/lang/Object;)V
    .registers 8
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(ITV;)V"
        }
    .end annotation

    iget v0, p0, Lcom/google/android/gms/internal/ads/k;->t:I

    const/4 v1, 0x1

    const/4 v2, 0x0

    const/4 v3, -0x1

    if-ne v0, v3, :cond_19

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/k;->s:Ljava/lang/Object;

    check-cast v0, Landroid/util/SparseArray;

    invoke-virtual {v0}, Landroid/util/SparseArray;->size()I

    move-result v0

    if-nez v0, :cond_13

    move v0, v1

    goto :goto_14

    :cond_13
    move v0, v2

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

    iput v2, p0, Lcom/google/android/gms/internal/ads/k;->t:I

    :cond_19
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/k;->s:Ljava/lang/Object;

    check-cast v0, Landroid/util/SparseArray;

    invoke-virtual {v0}, Landroid/util/SparseArray;->size()I

    move-result v0

    if-lez v0, :cond_4a

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/k;->s:Ljava/lang/Object;

    check-cast v0, Landroid/util/SparseArray;

    invoke-virtual {v0}, Landroid/util/SparseArray;->size()I

    move-result v4

    add-int/2addr v4, v3

    invoke-virtual {v0, v4}, Landroid/util/SparseArray;->keyAt(I)I

    move-result v0

    if-lt p1, v0, :cond_33

    goto :goto_34

    :cond_33
    move v1, v2

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

    if-ne v0, p1, :cond_4a

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/k;->s:Ljava/lang/Object;

    check-cast v0, Landroid/util/SparseArray;

    invoke-virtual {v0}, Landroid/util/SparseArray;->size()I

    move-result v1

    add-int/2addr v1, v3

    invoke-virtual {v0, v1}, Landroid/util/SparseArray;->valueAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lz5/nq1;

    .line 1
    iget-object v0, v0, Lz5/nq1;->b:Lz5/e51;

    .line 2
    :cond_4a
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/k;->s:Ljava/lang/Object;

    check-cast v0, Landroid/util/SparseArray;

    invoke-virtual {v0, p1, p2}, Landroid/util/SparseArray;->append(ILjava/lang/Object;)V

    return-void
.end method

.method public g(Lz5/au1;)J
    .registers 16

    :goto_0
    invoke-interface {p1}, Lz5/au1;->zzm()J

    move-result-wide v0

    invoke-interface {p1}, Lz5/au1;->zzo()J

    move-result-wide v2

    const-wide/16 v4, -0x6

    add-long/2addr v2, v4

    cmp-long v0, v0, v2

    const/4 v1, 0x0

    if-gez v0, :cond_70

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/k;->s:Ljava/lang/Object;

    check-cast v0, Lz5/fu1;

    iget v2, p0, Lcom/google/android/gms/internal/ads/k;->t:I

    iget-object v3, p0, Lcom/google/android/gms/internal/ads/k;->u:Ljava/lang/Object;

    check-cast v3, Lz5/p8;

    invoke-interface {p1}, Lz5/au1;->zzm()J

    move-result-wide v6

    const/4 v8, 0x2

    new-array v9, v8, [B

    move-object v10, p1

    check-cast v10, Lz5/vt1;

    invoke-virtual {v10, v9, v1, v8, v1}, Lz5/vt1;->k([BIIZ)Z

    aget-byte v11, v9, v1

    and-int/lit16 v11, v11, 0xff

    shl-int/lit8 v11, v11, 0x8

    const/4 v12, 0x1

    aget-byte v13, v9, v12

    and-int/lit16 v13, v13, 0xff

    or-int/2addr v11, v13

    if-eq v11, v2, :cond_42

    invoke-interface {p1}, Lz5/au1;->zzl()V

    invoke-interface {p1}, Lz5/au1;->zzn()J

    move-result-wide v2

    sub-long/2addr v6, v2

    long-to-int v0, v6

    invoke-virtual {v10, v0, v1}, Lz5/vt1;->i(IZ)Z

    goto :goto_6c

    :cond_42
    new-instance v11, Lz5/j7;

    const/16 v13, 0x10

    invoke-direct {v11, v13, v1}, Lz5/j7;-><init>(II)V

    .line 1
    iget-object v13, v11, Lz5/j7;->b:[B

    .line 2
    invoke-static {v9, v1, v13, v1, v8}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    .line 3
    iget-object v9, v11, Lz5/j7;->b:[B

    const/16 v13, 0xe

    .line 4
    invoke-static {p1, v9, v8, v13}, Lcom/google/android/gms/internal/ads/g9;->c(Lz5/au1;[BII)I

    move-result v8

    invoke-virtual {v11, v8}, Lz5/j7;->n(I)V

    invoke-interface {p1}, Lz5/au1;->zzl()V

    invoke-interface {p1}, Lz5/au1;->zzn()J

    move-result-wide v8

    sub-long/2addr v6, v8

    long-to-int v6, v6

    invoke-virtual {v10, v6, v1}, Lz5/vt1;->i(IZ)Z

    invoke-static {v11, v0, v2, v3}, Lcom/google/android/gms/internal/ads/d;->f(Lz5/j7;Lz5/fu1;ILz5/p8;)Z

    move-result v0

    if-eqz v0, :cond_6c

    goto :goto_70

    :cond_6c
    :goto_6c
    invoke-virtual {v10, v12, v1}, Lz5/vt1;->i(IZ)Z

    goto :goto_0

    :cond_70
    :goto_70
    invoke-interface {p1}, Lz5/au1;->zzm()J

    move-result-wide v2

    invoke-interface {p1}, Lz5/au1;->zzo()J

    move-result-wide v6

    add-long/2addr v6, v4

    cmp-long v0, v2, v6

    if-ltz v0, :cond_93

    invoke-interface {p1}, Lz5/au1;->zzo()J

    move-result-wide v2

    invoke-interface {p1}, Lz5/au1;->zzm()J

    move-result-wide v4

    check-cast p1, Lz5/vt1;

    sub-long/2addr v2, v4

    long-to-int v0, v2

    invoke-virtual {p1, v0, v1}, Lz5/vt1;->i(IZ)Z

    iget-object p1, p0, Lcom/google/android/gms/internal/ads/k;->s:Ljava/lang/Object;

    check-cast p1, Lz5/fu1;

    iget-wide v0, p1, Lz5/fu1;->j:J

    return-wide v0

    :cond_93
    iget-object p1, p0, Lcom/google/android/gms/internal/ads/k;->u:Ljava/lang/Object;

    check-cast p1, Lz5/p8;

    iget-wide v0, p1, Lz5/p8;->a:J

    return-wide v0
.end method

.method public h()Ljava/lang/Object;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TV;"
        }
    .end annotation

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/k;->s:Ljava/lang/Object;

    check-cast v0, Landroid/util/SparseArray;

    invoke-virtual {v0}, Landroid/util/SparseArray;->size()I

    move-result v1

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

    invoke-virtual {v0, v1}, Landroid/util/SparseArray;->valueAt(I)Ljava/lang/Object;

    move-result-object v0

    return-object v0
.end method

.method public i(Lcom/google/android/gms/internal/ads/j;)Z
    .registers 7

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/k;->s:Ljava/lang/Object;

    monitor-enter v0

    :try_start_3
    iget-object v1, p0, Lcom/google/android/gms/internal/ads/k;->u:Ljava/lang/Object;

    check-cast v1, Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

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

    move-result v2

    if-eqz v2, :cond_56

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

    move-result-object v2

    check-cast v2, Lcom/google/android/gms/internal/ads/j;

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzg()Lcom/google/android/gms/internal/ads/u1;

    move-result-object v3

    invoke-virtual {v3}, Lcom/google/android/gms/internal/ads/u1;->f()Lcom/google/android/gms/ads/internal/util/zzg;

    move-result-object v3

    invoke-interface {v3}, Lcom/google/android/gms/ads/internal/util/zzg;->zzd()Z

    move-result v3

    const/4 v4, 0x1

    if-nez v3, :cond_37

    if-eq p1, v2, :cond_b

    .line 1
    iget-object v2, v2, Lcom/google/android/gms/internal/ads/j;->o:Ljava/lang/String;

    iget-object v3, p1, Lcom/google/android/gms/internal/ads/j;->o:Ljava/lang/String;

    .line 2
    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_b

    invoke-interface {v1}, Ljava/util/Iterator;->remove()V

    monitor-exit v0

    return v4

    :cond_37
    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzg()Lcom/google/android/gms/internal/ads/u1;

    move-result-object v3

    invoke-virtual {v3}, Lcom/google/android/gms/internal/ads/u1;->f()Lcom/google/android/gms/ads/internal/util/zzg;

    move-result-object v3

    invoke-interface {v3}, Lcom/google/android/gms/ads/internal/util/zzg;->zzh()Z

    move-result v3

    if-nez v3, :cond_b

    if-eq p1, v2, :cond_b

    .line 3
    iget-object v2, v2, Lcom/google/android/gms/internal/ads/j;->q:Ljava/lang/String;

    iget-object v3, p1, Lcom/google/android/gms/internal/ads/j;->q:Ljava/lang/String;

    .line 4
    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_b

    invoke-interface {v1}, Ljava/util/Iterator;->remove()V

    monitor-exit v0

    return v4

    :cond_56
    monitor-exit v0

    const/4 p1, 0x0

    return p1

    :catchall_59
    move-exception p1

    monitor-exit v0
    :try_end_5b
    .catchall {:try_start_3 .. :try_end_5b} :catchall_59

    throw p1
.end method

.method public k(Lcom/google/android/gms/internal/ads/j;)V
    .registers 7

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/k;->s:Ljava/lang/Object;

    monitor-enter v0

    :try_start_3
    iget-object v1, p0, Lcom/google/android/gms/internal/ads/k;->u:Ljava/lang/Object;

    check-cast v1, Ljava/util/List;

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

    move-result v1

    const/16 v2, 0xa

    if-lt v1, v2, :cond_35

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/k;->u:Ljava/lang/Object;

    check-cast v1, Ljava/util/List;

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

    move-result v1

    new-instance v2, Ljava/lang/StringBuilder;

    const/16 v3, 0x29

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

    const-string v3, "Queue is full, current size = "

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

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

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

    move-result-object v1

    invoke-static {v1}, Lz5/d50;->zzd(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/k;->u:Ljava/lang/Object;

    check-cast v1, Ljava/util/List;

    const/4 v2, 0x0

    invoke-interface {v1, v2}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    :cond_35
    iget v1, p0, Lcom/google/android/gms/internal/ads/k;->t:I

    add-int/lit8 v2, v1, 0x1

    iput v2, p0, Lcom/google/android/gms/internal/ads/k;->t:I

    .line 1
    iput v1, p1, Lcom/google/android/gms/internal/ads/j;->l:I

    .line 2
    iget-object v1, p1, Lcom/google/android/gms/internal/ads/j;->g:Ljava/lang/Object;

    monitor-enter v1
    :try_end_40
    .catchall {:try_start_3 .. :try_end_40} :catchall_65

    :try_start_40
    iget v2, p1, Lcom/google/android/gms/internal/ads/j;->k:I

    iget v3, p1, Lcom/google/android/gms/internal/ads/j;->l:I

    .line 3
    iget-boolean v4, p1, Lcom/google/android/gms/internal/ads/j;->d:Z

    if-eqz v4, :cond_4b

    iget v2, p1, Lcom/google/android/gms/internal/ads/j;->b:I

    goto :goto_52

    :cond_4b
    iget v4, p1, Lcom/google/android/gms/internal/ads/j;->a:I

    mul-int/2addr v2, v4

    iget v4, p1, Lcom/google/android/gms/internal/ads/j;->b:I

    mul-int/2addr v3, v4

    add-int/2addr v2, v3

    .line 4
    :goto_52
    iget v3, p1, Lcom/google/android/gms/internal/ads/j;->n:I

    if-le v2, v3, :cond_58

    iput v2, p1, Lcom/google/android/gms/internal/ads/j;->n:I

    :cond_58
    monitor-exit v1
    :try_end_59
    .catchall {:try_start_40 .. :try_end_59} :catchall_62

    .line 5
    :try_start_59
    iget-object v1, p0, Lcom/google/android/gms/internal/ads/k;->u:Ljava/lang/Object;

    check-cast v1, Ljava/util/List;

    invoke-interface {v1, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    monitor-exit v0
    :try_end_61
    .catchall {:try_start_59 .. :try_end_61} :catchall_65

    return-void

    :catchall_62
    move-exception p1

    .line 6
    :try_start_63
    monitor-exit v1
    :try_end_64
    .catchall {:try_start_63 .. :try_end_64} :catchall_62

    :try_start_64
    throw p1

    :catchall_65
    move-exception p1

    .line 7
    monitor-exit v0
    :try_end_67
    .catchall {:try_start_64 .. :try_end_67} :catchall_65

    throw p1
.end method

.method public l()Ljava/lang/Object;
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TT;"
        }
    .end annotation

    .line 1
    sget-object v0, Lz5/iq;->a:Ljava/util/concurrent/atomic/AtomicReference;

    invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lz5/hq;

    if-nez v0, :cond_d

    .line 2
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/k;->s:Ljava/lang/Object;

    return-object v0

    :cond_d
    iget v1, p0, Lcom/google/android/gms/internal/ads/k;->t:I

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

    if-eqz v1, :cond_48

    const/4 v2, 0x1

    if-eq v1, v2, :cond_37

    const/4 v2, 0x2

    if-eq v1, v2, :cond_26

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/k;->u:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

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

    check-cast v2, Ljava/lang/String;

    invoke-interface {v0, v1, v2}, Lz5/hq;->b(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0

    :cond_26
    iget-object v1, p0, Lcom/google/android/gms/internal/ads/k;->u:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

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

    check-cast v2, Ljava/lang/Double;

    invoke-virtual {v2}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v2

    invoke-interface {v0, v1, v2, v3}, Lz5/hq;->c(Ljava/lang/String;D)Ljava/lang/Double;

    move-result-object v0

    return-object v0

    :cond_37
    iget-object v1, p0, Lcom/google/android/gms/internal/ads/k;->u:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

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

    check-cast v2, Ljava/lang/Long;

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

    move-result-wide v2

    invoke-interface {v0, v1, v2, v3}, Lz5/hq;->a(Ljava/lang/String;J)Ljava/lang/Long;

    move-result-object v0

    return-object v0

    :cond_48
    iget-object v1, p0, Lcom/google/android/gms/internal/ads/k;->u:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

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

    check-cast v2, Ljava/lang/Boolean;

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

    move-result v2

    invoke-interface {v0, v1, v2}, Lz5/hq;->d(Ljava/lang/String;Z)Ljava/lang/Boolean;

    move-result-object v0

    return-object v0
.end method

.method public zza(Ljava/lang/Object;)V
    .registers 5

    iget v0, p0, Lcom/google/android/gms/internal/ads/k;->t:I

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/k;->s:Ljava/lang/Object;

    check-cast v1, Lz5/y3;

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

    check-cast v2, Lz5/y3;

    check-cast p1, Lz5/w3;

    invoke-interface {p1, v1, v2, v0}, Lz5/w3;->Q(Lz5/y3;Lz5/y3;I)V

    return-void
.end method

.method public zzb()V
    .registers 4

    iget v0, p0, Lcom/google/android/gms/internal/ads/k;->r:I

    packed-switch v0, :pswitch_data_14

    goto :goto_7

    :pswitch_6
    return-void

    .line 1
    :goto_7
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/k;->u:Ljava/lang/Object;

    check-cast v0, Lz5/j7;

    sget-object v1, Lz5/r7;->f:[B

    array-length v2, v1

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lz5/j7;->j([BI)V

    return-void

    nop

    :pswitch_data_14
    .packed-switch 0x6
        :pswitch_6
    .end packed-switch
.end method
