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

# interfaces
.implements Lz5/zt1;


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

.field public final b:Landroid/util/SparseArray;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroid/util/SparseArray<",
            "Lz5/jx1;",
            ">;"
        }
    .end annotation
.end field

.field public final c:Lz5/j7;

.field public final d:Lz5/ix1;

.field public e:Z

.field public f:Z

.field public g:Z

.field public h:J

.field public i:Lz5/hx1;

.field public j:Lz5/bu1;

.field public k:Z


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

    new-instance v0, Lz5/p7;

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

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

    iput-object v0, p0, Lz5/kx1;->a:Lz5/p7;

    new-instance v0, Lz5/j7;

    const/16 v1, 0x1000

    const/4 v2, 0x0

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

    iput-object v0, p0, Lz5/kx1;->c:Lz5/j7;

    new-instance v0, Landroid/util/SparseArray;

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

    iput-object v0, p0, Lz5/kx1;->b:Landroid/util/SparseArray;

    new-instance v0, Lz5/ix1;

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

    iput-object v0, p0, Lz5/kx1;->d:Lz5/ix1;

    return-void
.end method


# virtual methods
.method public final c(Lz5/au1;)Z
    .registers 11

    const/16 v0, 0xe

    new-array v1, v0, [B

    check-cast p1, Lz5/vt1;

    const/4 v2, 0x0

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

    aget-byte v0, v1, v2

    and-int/lit16 v0, v0, 0xff

    shl-int/lit8 v0, v0, 0x18

    const/4 v3, 0x1

    aget-byte v4, v1, v3

    and-int/lit16 v4, v4, 0xff

    shl-int/lit8 v4, v4, 0x10

    or-int/2addr v0, v4

    const/4 v4, 0x2

    aget-byte v5, v1, v4

    and-int/lit16 v5, v5, 0xff

    const/16 v6, 0x8

    shl-int/2addr v5, v6

    or-int/2addr v0, v5

    const/4 v5, 0x3

    aget-byte v7, v1, v5

    and-int/lit16 v7, v7, 0xff

    or-int/2addr v0, v7

    const/16 v7, 0x1ba

    if-eq v0, v7, :cond_2c

    return v2

    :cond_2c
    const/4 v0, 0x4

    aget-byte v7, v1, v0

    and-int/lit16 v7, v7, 0xc4

    const/16 v8, 0x44

    if-eq v7, v8, :cond_36

    return v2

    :cond_36
    const/4 v7, 0x6

    aget-byte v7, v1, v7

    and-int/2addr v7, v0

    if-eq v7, v0, :cond_3d

    return v2

    :cond_3d
    aget-byte v7, v1, v6

    and-int/2addr v7, v0

    if-eq v7, v0, :cond_43

    return v2

    :cond_43
    const/16 v0, 0x9

    aget-byte v0, v1, v0

    and-int/2addr v0, v3

    if-eq v0, v3, :cond_4b

    return v2

    :cond_4b
    const/16 v0, 0xc

    aget-byte v0, v1, v0

    and-int/2addr v0, v5

    if-eq v0, v5, :cond_53

    return v2

    :cond_53
    const/16 v0, 0xd

    aget-byte v0, v1, v0

    and-int/lit8 v0, v0, 0x7

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

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

    aget-byte p1, v1, v2

    and-int/lit16 p1, p1, 0xff

    shl-int/lit8 p1, p1, 0x10

    aget-byte v0, v1, v3

    and-int/lit16 v0, v0, 0xff

    shl-int/2addr v0, v6

    or-int/2addr p1, v0

    aget-byte v0, v1, v4

    and-int/lit16 v0, v0, 0xff

    or-int/2addr p1, v0

    if-ne p1, v3, :cond_73

    return v3

    :cond_73
    return v2
.end method

.method public final d(Lz5/au1;Lz5/p8;)I
    .registers 19

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    move-object/from16 v2, p2

    iget-object v3, v0, Lz5/kx1;->j:Lz5/bu1;

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

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

    move-result-wide v10

    const-wide/16 v3, -0x1

    cmp-long v3, v10, v3

    const/16 v4, 0x1ba

    const/4 v5, 0x1

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

    const-wide/16 v12, 0x0

    const/4 v14, 0x0

    if-eqz v3, :cond_11f

    iget-object v8, v0, Lz5/kx1;->d:Lz5/ix1;

    iget v9, v8, Lz5/ix1;->a:I

    packed-switch v9, :pswitch_data_366

    goto :goto_2b

    .line 1
    :pswitch_28
    iget-boolean v9, v8, Lz5/ix1;->d:Z

    goto :goto_2d

    .line 2
    :goto_2b
    iget-boolean v9, v8, Lz5/ix1;->d:Z

    :goto_2d
    if-eqz v9, :cond_31

    goto/16 :goto_11f

    .line 3
    :cond_31
    iget-boolean v3, v8, Lz5/ix1;->f:Z

    const-wide/16 v9, 0x4e20

    if-nez v3, :cond_8a

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

    move-result-wide v11

    invoke-static {v9, v10, v11, v12}, Ljava/lang/Math;->min(JJ)J

    move-result-wide v9

    long-to-int v3, v9

    int-to-long v9, v3

    sub-long v12, v11, v9

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

    move-result-wide v9

    cmp-long v9, v9, v12

    if-eqz v9, :cond_4c

    goto :goto_a7

    :cond_4c
    iget-object v2, v8, Lz5/ix1;->c:Lz5/j7;

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

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

    iget-object v2, v8, Lz5/ix1;->c:Lz5/j7;

    .line 4
    iget-object v2, v2, Lz5/j7;->b:[B

    .line 5
    check-cast v1, Lz5/vt1;

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

    iget-object v1, v8, Lz5/ix1;->c:Lz5/j7;

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

    move-result v2

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

    move-result v3

    add-int/lit8 v3, v3, -0x4

    :goto_69
    if-lt v3, v2, :cond_85

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

    .line 7
    invoke-static {v9, v3}, Lz5/ix1;->d([BI)I

    move-result v9

    if-ne v9, v4, :cond_82

    add-int/lit8 v9, v3, 0x4

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

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

    move-result-wide v9

    cmp-long v11, v9, v6

    if-eqz v11, :cond_82

    move-wide v6, v9

    goto :goto_85

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

    goto :goto_69

    :cond_85
    :goto_85
    iput-wide v6, v8, Lz5/ix1;->h:J

    iput-boolean v5, v8, Lz5/ix1;->f:Z

    goto :goto_eb

    :cond_8a
    iget-wide v4, v8, Lz5/ix1;->h:J

    cmp-long v3, v4, v6

    if-nez v3, :cond_92

    goto/16 :goto_11b

    :cond_92
    iget-boolean v3, v8, Lz5/ix1;->e:Z

    if-nez v3, :cond_ee

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

    move-result-wide v3

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

    move-result-wide v3

    long-to-int v3, v3

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

    move-result-wide v4

    cmp-long v4, v4, v12

    if-eqz v4, :cond_ab

    :goto_a7
    iput-wide v12, v2, Lz5/p8;->a:J

    const/4 v5, 0x1

    goto :goto_ec

    :cond_ab
    iget-object v2, v8, Lz5/ix1;->c:Lz5/j7;

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

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

    iget-object v2, v8, Lz5/ix1;->c:Lz5/j7;

    .line 8
    iget-object v2, v2, Lz5/j7;->b:[B

    .line 9
    check-cast v1, Lz5/vt1;

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

    iget-object v1, v8, Lz5/ix1;->c:Lz5/j7;

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

    move-result v2

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

    move-result v3

    :goto_c6
    add-int/lit8 v4, v3, -0x3

    if-ge v2, v4, :cond_e6

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

    .line 11
    invoke-static {v4, v2}, Lz5/ix1;->d([BI)I

    move-result v4

    const/16 v5, 0x1ba

    if-ne v4, v5, :cond_e3

    add-int/lit8 v4, v2, 0x4

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

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

    move-result-wide v9

    cmp-long v4, v9, v6

    if-eqz v4, :cond_e3

    move-wide v6, v9

    goto :goto_e6

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

    goto :goto_c6

    :cond_e6
    :goto_e6
    iput-wide v6, v8, Lz5/ix1;->g:J

    const/4 v1, 0x1

    iput-boolean v1, v8, Lz5/ix1;->e:Z

    :goto_eb
    move v5, v14

    :goto_ec
    move v14, v5

    goto :goto_11e

    :cond_ee
    iget-wide v2, v8, Lz5/ix1;->g:J

    cmp-long v4, v2, v6

    if-nez v4, :cond_f5

    goto :goto_11b

    :cond_f5
    iget-object v4, v8, Lz5/ix1;->b:Lz5/p7;

    invoke-virtual {v4, v2, v3}, Lz5/p7;->d(J)J

    move-result-wide v2

    iget-object v4, v8, Lz5/ix1;->b:Lz5/p7;

    iget-wide v9, v8, Lz5/ix1;->h:J

    invoke-virtual {v4, v9, v10}, Lz5/p7;->d(J)J

    move-result-wide v4

    sub-long/2addr v4, v2

    iput-wide v4, v8, Lz5/ix1;->i:J

    cmp-long v2, v4, v12

    if-gez v2, :cond_11b

    const/16 v2, 0x41

    const-string v3, "Invalid duration: "

    const-string v9, ". Using TIME_UNSET instead."

    invoke-static {v2, v3, v4, v5, v9}, Lz5/ga;->a(ILjava/lang/String;JLjava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const-string v3, "PsDurationReader"

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

    iput-wide v6, v8, Lz5/ix1;->i:J

    :cond_11b
    :goto_11b
    invoke-virtual {v8, v1}, Lz5/ix1;->c(Lz5/au1;)I

    :goto_11e
    return v14

    .line 12
    :cond_11f
    :goto_11f
    iget-boolean v4, v0, Lz5/kx1;->k:Z

    if-nez v4, :cond_14b

    const/4 v4, 0x1

    iput-boolean v4, v0, Lz5/kx1;->k:Z

    iget-object v4, v0, Lz5/kx1;->d:Lz5/ix1;

    .line 13
    iget-wide v8, v4, Lz5/ix1;->i:J

    cmp-long v5, v8, v6

    if-eqz v5, :cond_141

    .line 14
    new-instance v15, Lz5/hx1;

    .line 15
    iget-object v5, v4, Lz5/ix1;->b:Lz5/p7;

    move-object v4, v15

    move-wide v6, v8

    move-wide v8, v10

    .line 16
    invoke-direct/range {v4 .. v9}, Lz5/hx1;-><init>(Lz5/p7;JJ)V

    iput-object v15, v0, Lz5/kx1;->i:Lz5/hx1;

    iget-object v4, v0, Lz5/kx1;->j:Lz5/bu1;

    .line 17
    iget-object v5, v15, Lcom/google/android/gms/internal/ads/g;->r:Ljava/lang/Object;

    check-cast v5, Lz5/pt1;

    goto :goto_148

    .line 18
    :cond_141
    iget-object v4, v0, Lz5/kx1;->j:Lz5/bu1;

    new-instance v5, Lz5/eu1;

    invoke-direct {v5, v8, v9, v12, v13}, Lz5/eu1;-><init>(JJ)V

    :goto_148
    invoke-interface {v4, v5}, Lz5/bu1;->i(Lz5/lu1;)V

    :cond_14b
    iget-object v4, v0, Lz5/kx1;->i:Lz5/hx1;

    if-eqz v4, :cond_15d

    invoke-virtual {v4}, Lcom/google/android/gms/internal/ads/g;->e()Z

    move-result v4

    if-nez v4, :cond_156

    goto :goto_15d

    :cond_156
    iget-object v3, v0, Lz5/kx1;->i:Lz5/hx1;

    invoke-virtual {v3, v1, v2}, Lcom/google/android/gms/internal/ads/g;->f(Lz5/au1;Lz5/p8;)I

    move-result v1

    return v1

    :cond_15d
    :goto_15d
    invoke-interface/range {p1 .. p1}, Lz5/au1;->zzl()V

    if-eqz v3, :cond_16a

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

    move-result-wide v2

    sub-long/2addr v10, v2

    const-wide/16 v2, -0x1

    goto :goto_16e

    :cond_16a
    const-wide/16 v2, -0x1

    const-wide/16 v10, -0x1

    :goto_16e
    cmp-long v2, v10, v2

    const/4 v3, -0x1

    if-eqz v2, :cond_17b

    const-wide/16 v4, 0x4

    cmp-long v2, v10, v4

    if-ltz v2, :cond_17a

    goto :goto_17b

    :cond_17a
    return v3

    :cond_17b
    :goto_17b
    iget-object v2, v0, Lz5/kx1;->c:Lz5/j7;

    .line 19
    iget-object v2, v2, Lz5/j7;->b:[B

    const/4 v4, 0x4

    const/4 v5, 0x1

    .line 20
    invoke-interface {v1, v2, v14, v4, v5}, Lz5/au1;->k([BIIZ)Z

    move-result v2

    if-nez v2, :cond_188

    return v3

    :cond_188
    iget-object v2, v0, Lz5/kx1;->c:Lz5/j7;

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

    iget-object v2, v0, Lz5/kx1;->c:Lz5/j7;

    invoke-virtual {v2}, Lz5/j7;->K()I

    move-result v2

    const/16 v5, 0x1b9

    if-ne v2, v5, :cond_198

    return v3

    :cond_198
    const/16 v3, 0x1ba

    if-ne v2, v3, :cond_1bc

    iget-object v2, v0, Lz5/kx1;->c:Lz5/j7;

    .line 21
    iget-object v2, v2, Lz5/j7;->b:[B

    .line 22
    check-cast v1, Lz5/vt1;

    const/16 v3, 0xa

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

    iget-object v2, v0, Lz5/kx1;->c:Lz5/j7;

    const/16 v3, 0x9

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

    iget-object v2, v0, Lz5/kx1;->c:Lz5/j7;

    invoke-virtual {v2}, Lz5/j7;->A()I

    move-result v2

    and-int/lit8 v2, v2, 0x7

    add-int/lit8 v2, v2, 0xe

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

    return v14

    :cond_1bc
    const/16 v3, 0x1bb

    const/4 v5, 0x2

    const/4 v6, 0x6

    if-ne v2, v3, :cond_1db

    iget-object v2, v0, Lz5/kx1;->c:Lz5/j7;

    .line 23
    iget-object v2, v2, Lz5/j7;->b:[B

    .line 24
    check-cast v1, Lz5/vt1;

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

    iget-object v2, v0, Lz5/kx1;->c:Lz5/j7;

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

    iget-object v2, v0, Lz5/kx1;->c:Lz5/j7;

    invoke-virtual {v2}, Lz5/j7;->B()I

    move-result v2

    add-int/2addr v2, v6

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

    return v14

    :cond_1db
    shr-int/lit8 v3, v2, 0x8

    const/4 v7, 0x1

    if-eq v3, v7, :cond_1e6

    check-cast v1, Lz5/vt1;

    invoke-virtual {v1, v7, v14}, Lz5/vt1;->c(IZ)Z

    return v14

    :cond_1e6
    and-int/lit16 v2, v2, 0xff

    iget-object v3, v0, Lz5/kx1;->b:Landroid/util/SparseArray;

    invoke-virtual {v3, v2}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lz5/jx1;

    iget-boolean v7, v0, Lz5/kx1;->e:Z

    if-nez v7, :cond_268

    if-nez v3, :cond_248

    const/16 v7, 0xbd

    const/4 v8, 0x0

    if-ne v2, v7, :cond_201

    new-instance v7, Lz5/mw1;

    invoke-direct {v7, v8}, Lz5/mw1;-><init>(Ljava/lang/String;)V

    goto :goto_20c

    :cond_201
    and-int/lit16 v7, v2, 0xe0

    const/16 v9, 0xc0

    if-ne v7, v9, :cond_217

    new-instance v7, Lz5/ex1;

    invoke-direct {v7, v8}, Lz5/ex1;-><init>(Ljava/lang/String;)V

    :goto_20c
    const/4 v8, 0x1

    iput-boolean v8, v0, Lz5/kx1;->f:Z

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

    move-result-wide v8

    iput-wide v8, v0, Lz5/kx1;->h:J

    move-object v8, v7

    goto :goto_22c

    :cond_217
    const/4 v7, 0x1

    and-int/lit16 v9, v2, 0xf0

    const/16 v10, 0xe0

    if-ne v9, v10, :cond_22c

    new-instance v9, Lz5/ww1;

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

    iput-boolean v7, v0, Lz5/kx1;->g:Z

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

    move-result-wide v7

    iput-wide v7, v0, Lz5/kx1;->h:J

    move-object v8, v9

    :cond_22c
    :goto_22c
    if-eqz v8, :cond_248

    new-instance v3, Lz5/rx1;

    const/high16 v7, -0x80000000

    const/16 v9, 0x100

    invoke-direct {v3, v7, v2, v9}, Lz5/rx1;-><init>(III)V

    iget-object v7, v0, Lz5/kx1;->j:Lz5/bu1;

    invoke-interface {v8, v7, v3}, Lz5/uw1;->c(Lz5/bu1;Lz5/rx1;)V

    new-instance v3, Lz5/jx1;

    iget-object v7, v0, Lz5/kx1;->a:Lz5/p7;

    invoke-direct {v3, v8, v7}, Lz5/jx1;-><init>(Lz5/uw1;Lz5/p7;)V

    iget-object v7, v0, Lz5/kx1;->b:Landroid/util/SparseArray;

    invoke-virtual {v7, v2, v3}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V

    :cond_248
    iget-boolean v2, v0, Lz5/kx1;->f:Z

    const-wide/32 v7, 0x100000

    if-eqz v2, :cond_258

    iget-boolean v2, v0, Lz5/kx1;->g:Z

    if-eqz v2, :cond_258

    iget-wide v7, v0, Lz5/kx1;->h:J

    const-wide/16 v9, 0x2000

    add-long/2addr v7, v9

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

    move-result-wide v9

    cmp-long v2, v9, v7

    if-lez v2, :cond_268

    const/4 v2, 0x1

    iput-boolean v2, v0, Lz5/kx1;->e:Z

    iget-object v2, v0, Lz5/kx1;->j:Lz5/bu1;

    invoke-interface {v2}, Lz5/bu1;->zzC()V

    :cond_268
    iget-object v2, v0, Lz5/kx1;->c:Lz5/j7;

    .line 25
    iget-object v2, v2, Lz5/j7;->b:[B

    .line 26
    check-cast v1, Lz5/vt1;

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

    iget-object v2, v0, Lz5/kx1;->c:Lz5/j7;

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

    iget-object v2, v0, Lz5/kx1;->c:Lz5/j7;

    invoke-virtual {v2}, Lz5/j7;->B()I

    move-result v2

    add-int/2addr v2, v6

    if-nez v3, :cond_285

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

    move v1, v14

    goto/16 :goto_365

    :cond_285
    iget-object v5, v0, Lz5/kx1;->c:Lz5/j7;

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

    iget-object v5, v0, Lz5/kx1;->c:Lz5/j7;

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

    .line 28
    invoke-virtual {v1, v5, v14, v2, v14}, Lz5/vt1;->j([BIIZ)Z

    iget-object v1, v0, Lz5/kx1;->c:Lz5/j7;

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

    iget-object v1, v0, Lz5/kx1;->c:Lz5/j7;

    .line 29
    iget-object v2, v3, Lz5/jx1;->c:Lz5/i7;

    iget-object v2, v2, Lz5/i7;->b:[B

    const/4 v5, 0x3

    invoke-virtual {v1, v2, v14, v5}, Lz5/j7;->z([BII)V

    iget-object v2, v3, Lz5/jx1;->c:Lz5/i7;

    invoke-virtual {v2, v14}, Lz5/i7;->m(I)V

    iget-object v2, v3, Lz5/jx1;->c:Lz5/i7;

    const/16 v7, 0x8

    invoke-virtual {v2, v7}, Lz5/i7;->s(I)V

    iget-object v2, v3, Lz5/jx1;->c:Lz5/i7;

    invoke-virtual {v2}, Lz5/i7;->u()Z

    move-result v2

    iput-boolean v2, v3, Lz5/jx1;->d:Z

    iget-object v2, v3, Lz5/jx1;->c:Lz5/i7;

    invoke-virtual {v2}, Lz5/i7;->u()Z

    move-result v2

    iput-boolean v2, v3, Lz5/jx1;->e:Z

    iget-object v2, v3, Lz5/jx1;->c:Lz5/i7;

    invoke-virtual {v2, v6}, Lz5/i7;->s(I)V

    iget-object v2, v3, Lz5/jx1;->c:Lz5/i7;

    invoke-virtual {v2, v7}, Lz5/i7;->x(I)I

    move-result v2

    iget-object v6, v3, Lz5/jx1;->c:Lz5/i7;

    iget-object v6, v6, Lz5/i7;->b:[B

    invoke-virtual {v1, v6, v14, v2}, Lz5/j7;->z([BII)V

    iget-object v2, v3, Lz5/jx1;->c:Lz5/i7;

    invoke-virtual {v2, v14}, Lz5/i7;->m(I)V

    iget-boolean v2, v3, Lz5/jx1;->d:Z

    if-eqz v2, :cond_34d

    iget-object v2, v3, Lz5/jx1;->c:Lz5/i7;

    invoke-virtual {v2, v4}, Lz5/i7;->s(I)V

    iget-object v2, v3, Lz5/jx1;->c:Lz5/i7;

    invoke-virtual {v2, v5}, Lz5/i7;->x(I)I

    move-result v2

    iget-object v6, v3, Lz5/jx1;->c:Lz5/i7;

    const/4 v7, 0x1

    invoke-virtual {v6, v7}, Lz5/i7;->s(I)V

    iget-object v6, v3, Lz5/jx1;->c:Lz5/i7;

    const/16 v8, 0xf

    invoke-virtual {v6, v8}, Lz5/i7;->x(I)I

    move-result v6

    iget-object v9, v3, Lz5/jx1;->c:Lz5/i7;

    invoke-virtual {v9, v7}, Lz5/i7;->s(I)V

    int-to-long v9, v2

    const/16 v2, 0x1e

    shl-long/2addr v9, v2

    shl-int/2addr v6, v8

    int-to-long v6, v6

    or-long/2addr v6, v9

    iget-object v9, v3, Lz5/jx1;->c:Lz5/i7;

    invoke-virtual {v9, v8}, Lz5/i7;->x(I)I

    move-result v9

    int-to-long v9, v9

    or-long/2addr v6, v9

    iget-object v9, v3, Lz5/jx1;->c:Lz5/i7;

    const/4 v10, 0x1

    invoke-virtual {v9, v10}, Lz5/i7;->s(I)V

    iget-boolean v9, v3, Lz5/jx1;->f:Z

    if-nez v9, :cond_347

    iget-boolean v9, v3, Lz5/jx1;->e:Z

    if-eqz v9, :cond_347

    iget-object v9, v3, Lz5/jx1;->c:Lz5/i7;

    invoke-virtual {v9, v4}, Lz5/i7;->s(I)V

    iget-object v9, v3, Lz5/jx1;->c:Lz5/i7;

    invoke-virtual {v9, v5}, Lz5/i7;->x(I)I

    move-result v5

    iget-object v9, v3, Lz5/jx1;->c:Lz5/i7;

    invoke-virtual {v9, v10}, Lz5/i7;->s(I)V

    iget-object v9, v3, Lz5/jx1;->c:Lz5/i7;

    invoke-virtual {v9, v8}, Lz5/i7;->x(I)I

    move-result v9

    iget-object v11, v3, Lz5/jx1;->c:Lz5/i7;

    invoke-virtual {v11, v10}, Lz5/i7;->s(I)V

    iget-object v11, v3, Lz5/jx1;->c:Lz5/i7;

    invoke-virtual {v11, v8}, Lz5/i7;->x(I)I

    move-result v8

    iget-object v11, v3, Lz5/jx1;->c:Lz5/i7;

    invoke-virtual {v11, v10}, Lz5/i7;->s(I)V

    iget-object v11, v3, Lz5/jx1;->b:Lz5/p7;

    int-to-long v12, v5

    shl-long/2addr v12, v2

    shl-int/lit8 v2, v9, 0xf

    int-to-long v14, v2

    or-long/2addr v12, v14

    int-to-long v8, v8

    or-long/2addr v8, v12

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

    iput-boolean v10, v3, Lz5/jx1;->f:Z

    :cond_347
    iget-object v2, v3, Lz5/jx1;->b:Lz5/p7;

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

    move-result-wide v12

    :cond_34d
    iget-object v2, v3, Lz5/jx1;->a:Lz5/uw1;

    invoke-interface {v2, v12, v13, v4}, Lz5/uw1;->b(JI)V

    iget-object v2, v3, Lz5/jx1;->a:Lz5/uw1;

    invoke-interface {v2, v1}, Lz5/uw1;->a(Lz5/j7;)V

    iget-object v1, v3, Lz5/jx1;->a:Lz5/uw1;

    invoke-interface {v1}, Lz5/uw1;->zze()V

    .line 30
    iget-object v1, v0, Lz5/kx1;->c:Lz5/j7;

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

    array-length v2, v2

    .line 32
    invoke-virtual {v1, v2}, Lz5/j7;->n(I)V

    const/4 v1, 0x0

    :goto_365
    return v1

    :pswitch_data_366
    .packed-switch 0x0
        :pswitch_28
    .end packed-switch
.end method

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

    iput-object p1, p0, Lz5/kx1;->j:Lz5/bu1;

    return-void
.end method

.method public final f(JJ)V
    .registers 7

    iget-object p1, p0, Lz5/kx1;->a:Lz5/p7;

    invoke-virtual {p1}, Lz5/p7;->b()J

    move-result-wide p1

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

    cmp-long p1, p1, v0

    if-eqz p1, :cond_23

    iget-object p1, p0, Lz5/kx1;->a:Lz5/p7;

    invoke-virtual {p1}, Lz5/p7;->a()J

    move-result-wide p1

    cmp-long v0, p1, v0

    if-eqz v0, :cond_28

    const-wide/16 v0, 0x0

    cmp-long v0, p1, v0

    if-eqz v0, :cond_28

    cmp-long p1, p1, p3

    if-eqz p1, :cond_28

    :cond_23
    iget-object p1, p0, Lz5/kx1;->a:Lz5/p7;

    invoke-virtual {p1, p3, p4}, Lz5/p7;->c(J)V

    :cond_28
    iget-object p1, p0, Lz5/kx1;->i:Lz5/hx1;

    const/4 p2, 0x0

    if-eqz p1, :cond_30

    invoke-virtual {p1, p3, p4}, Lcom/google/android/gms/internal/ads/g;->b(J)V

    :cond_30
    move p1, p2

    :goto_31
    iget-object p3, p0, Lz5/kx1;->b:Landroid/util/SparseArray;

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

    move-result p3

    if-ge p1, p3, :cond_4b

    iget-object p3, p0, Lz5/kx1;->b:Landroid/util/SparseArray;

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

    move-result-object p3

    check-cast p3, Lz5/jx1;

    .line 1
    iput-boolean p2, p3, Lz5/jx1;->f:Z

    iget-object p3, p3, Lz5/jx1;->a:Lz5/uw1;

    invoke-interface {p3}, Lz5/uw1;->zza()V

    add-int/lit8 p1, p1, 0x1

    goto :goto_31

    :cond_4b
    return-void
.end method
