.class public final Lz5/is1;
.super Landroid/os/Handler;
.source ""

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation build Landroid/annotation/SuppressLint;
    value = {
        "HandlerLeak"
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T::",
        "Lz5/fq1;",
        ">",
        "Landroid/os/Handler;",
        "Ljava/lang/Runnable;"
    }
.end annotation


# instance fields
.field public final r:Lz5/fq1;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "TT;"
        }
    .end annotation
.end field

.field public final s:J

.field public t:Lz5/fs1;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lz5/fs1<",
            "TT;>;"
        }
    .end annotation
.end field

.field public u:Ljava/io/IOException;

.field public v:I

.field public w:Ljava/lang/Thread;

.field public x:Z

.field public volatile y:Z

.field public final synthetic z:Lz5/ls1;


# direct methods
.method public constructor <init>(Lz5/ls1;Landroid/os/Looper;Lz5/fq1;Lz5/fs1;J)V
    .registers 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/os/Looper;",
            "TT;",
            "Lz5/fs1<",
            "TT;>;IJ)V"
        }
    .end annotation

    iput-object p1, p0, Lz5/is1;->z:Lz5/ls1;

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

    iput-object p3, p0, Lz5/is1;->r:Lz5/fq1;

    iput-object p4, p0, Lz5/is1;->t:Lz5/fs1;

    iput-wide p5, p0, Lz5/is1;->s:J

    return-void
.end method


# virtual methods
.method public final a(J)V
    .registers 7

    iget-object v0, p0, Lz5/is1;->z:Lz5/ls1;

    .line 1
    iget-object v0, v0, Lz5/ls1;->b:Lz5/is1;

    const/4 v1, 0x0

    if-nez v0, :cond_9

    const/4 v0, 0x1

    goto :goto_a

    :cond_9
    move v0, v1

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

    iget-object v0, p0, Lz5/is1;->z:Lz5/ls1;

    .line 3
    iput-object p0, v0, Lz5/ls1;->b:Lz5/is1;

    const-wide/16 v2, 0x0

    cmp-long v2, p1, v2

    if-lez v2, :cond_1b

    .line 4
    invoke-virtual {p0, v1, p1, p2}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

    return-void

    :cond_1b
    const/4 p1, 0x0

    .line 5
    iput-object p1, p0, Lz5/is1;->u:Ljava/io/IOException;

    .line 6
    iget-object p1, v0, Lz5/ls1;->a:Ljava/util/concurrent/ExecutorService;

    .line 7
    invoke-interface {p1, p0}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    return-void
.end method

.method public final b(Z)V
    .registers 10

    iput-boolean p1, p0, Lz5/is1;->y:Z

    const/4 v0, 0x0

    iput-object v0, p0, Lz5/is1;->u:Ljava/io/IOException;

    const/4 v1, 0x0

    invoke-virtual {p0, v1}, Landroid/os/Handler;->hasMessages(I)Z

    move-result v2

    const/4 v3, 0x1

    if-eqz v2, :cond_18

    iput-boolean v3, p0, Lz5/is1;->x:Z

    invoke-virtual {p0, v1}, Landroid/os/Handler;->removeMessages(I)V

    if-nez p1, :cond_27

    invoke-virtual {p0, v3}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    goto :goto_27

    :cond_18
    monitor-enter p0

    :try_start_19
    iput-boolean v3, p0, Lz5/is1;->x:Z

    iget-object v1, p0, Lz5/is1;->r:Lz5/fq1;

    .line 1
    iput-boolean v3, v1, Lz5/fq1;->h:Z

    .line 2
    iget-object v1, p0, Lz5/is1;->w:Ljava/lang/Thread;

    if-eqz v1, :cond_26

    invoke-virtual {v1}, Ljava/lang/Thread;->interrupt()V

    :cond_26
    monitor-exit p0
    :try_end_27
    .catchall {:try_start_19 .. :try_end_27} :catchall_46

    :cond_27
    :goto_27
    if-eqz p1, :cond_45

    iget-object p1, p0, Lz5/is1;->z:Lz5/ls1;

    .line 3
    iput-object v0, p1, Lz5/ls1;->b:Lz5/is1;

    .line 4
    invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J

    move-result-wide v3

    iget-object p1, p0, Lz5/is1;->t:Lz5/fs1;

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

    iget-object v2, p0, Lz5/is1;->r:Lz5/fq1;

    iget-wide v5, p0, Lz5/is1;->s:J

    sub-long v5, v3, v5

    const/4 v7, 0x1

    move-object v1, p1

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

    invoke-virtual/range {v1 .. v7}, Lcom/google/android/gms/internal/ads/d9;->g(Lz5/fq1;JJZ)V

    iput-object v0, p0, Lz5/is1;->t:Lz5/fs1;

    :cond_45
    return-void

    :catchall_46
    move-exception p1

    :try_start_47
    monitor-exit p0
    :try_end_48
    .catchall {:try_start_47 .. :try_end_48} :catchall_46

    throw p1
.end method

.method public final handleMessage(Landroid/os/Message;)V
    .registers 20

    move-object/from16 v1, p0

    move-object/from16 v0, p1

    iget-boolean v2, v1, Lz5/is1;->y:Z

    if-eqz v2, :cond_9

    return-void

    :cond_9
    iget v2, v0, Landroid/os/Message;->what:I

    const/4 v3, 0x0

    if-nez v2, :cond_1d

    .line 1
    iput-object v3, v1, Lz5/is1;->u:Ljava/io/IOException;

    iget-object v0, v1, Lz5/is1;->z:Lz5/ls1;

    .line 2
    iget-object v2, v0, Lz5/ls1;->a:Ljava/util/concurrent/ExecutorService;

    .line 3
    iget-object v0, v0, Lz5/ls1;->b:Lz5/is1;

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

    invoke-interface {v2, v0}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    return-void

    :cond_1d
    const/4 v4, 0x3

    if-eq v2, v4, :cond_17a

    .line 5
    iget-object v2, v1, Lz5/is1;->z:Lz5/ls1;

    .line 6
    iput-object v3, v2, Lz5/ls1;->b:Lz5/is1;

    .line 7
    invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J

    move-result-wide v7

    iget-wide v5, v1, Lz5/is1;->s:J

    sub-long v9, v7, v5

    iget-object v2, v1, Lz5/is1;->t:Lz5/fs1;

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

    iget-boolean v5, v1, Lz5/is1;->x:Z

    if-eqz v5, :cond_3f

    iget-object v6, v1, Lz5/is1;->r:Lz5/fq1;

    const/4 v11, 0x0

    move-object v5, v2

    check-cast v5, Lcom/google/android/gms/internal/ads/d9;

    invoke-virtual/range {v5 .. v11}, Lcom/google/android/gms/internal/ads/d9;->g(Lz5/fq1;JJZ)V

    return-void

    :cond_3f
    iget v5, v0, Landroid/os/Message;->what:I

    const/4 v6, 0x1

    if-eq v5, v6, :cond_15f

    const/4 v7, 0x2

    if-eq v5, v7, :cond_49

    goto/16 :goto_15e

    :cond_49
    iget-object v0, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Ljava/io/IOException;

    iput-object v0, v1, Lz5/is1;->u:Ljava/io/IOException;

    iget v5, v1, Lz5/is1;->v:I

    add-int/2addr v5, v6

    iput v5, v1, Lz5/is1;->v:I

    iget-object v8, v1, Lz5/is1;->r:Lz5/fq1;

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

    .line 8
    invoke-virtual {v2, v8}, Lcom/google/android/gms/internal/ads/d9;->q(Lz5/fq1;)V

    .line 9
    iget-object v9, v8, Lz5/fq1;->c:Lz5/ss1;

    .line 10
    new-instance v10, Lz5/lp1;

    .line 11
    iget-object v11, v8, Lz5/fq1;->k:Lz5/a8;

    .line 12
    iget-object v12, v9, Lz5/ss1;->t:Landroid/net/Uri;

    .line 13
    iget-object v9, v9, Lz5/ss1;->u:Ljava/util/Map;

    .line 14
    invoke-direct {v10, v11, v12, v9}, Lz5/lp1;-><init>(Lz5/a8;Landroid/net/Uri;Ljava/util/Map;)V

    .line 15
    iget-wide v11, v8, Lz5/fq1;->j:J

    .line 16
    invoke-static {v11, v12}, Lz5/v1;->a(J)J

    iget-wide v11, v2, Lcom/google/android/gms/internal/ads/d9;->N:J

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

    instance-of v9, v0, Lz5/r3;

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

    const/16 v13, 0x1388

    if-nez v9, :cond_a9

    instance-of v9, v0, Ljava/io/FileNotFoundException;

    if-nez v9, :cond_a9

    instance-of v9, v0, Lz5/wb;

    if-nez v9, :cond_a9

    instance-of v9, v0, Lz5/ks1;

    if-nez v9, :cond_a9

    move-object v9, v0

    :goto_8a
    if-eqz v9, :cond_9f

    instance-of v14, v9, Lz5/y5;

    if-eqz v14, :cond_9a

    move-object v14, v9

    check-cast v14, Lz5/y5;

    iget v14, v14, Lz5/y5;->r:I

    const/16 v15, 0x7d8

    if-ne v14, v15, :cond_9a

    goto :goto_a9

    :cond_9a
    invoke-virtual {v9}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;

    move-result-object v9

    goto :goto_8a

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

    mul-int/lit16 v5, v5, 0x3e8

    invoke-static {v5, v13}, Ljava/lang/Math;->min(II)I

    move-result v5

    int-to-long v14, v5

    goto :goto_aa

    :cond_a9
    :goto_a9
    move-wide v14, v11

    :goto_aa
    cmp-long v5, v14, v11

    const/4 v9, 0x0

    if-nez v5, :cond_b2

    sget-object v5, Lz5/ls1;->e:Lz5/hs1;

    goto :goto_10e

    :cond_b2
    invoke-virtual {v2}, Lcom/google/android/gms/internal/ads/d9;->s()I

    move-result v5

    iget v13, v2, Lcom/google/android/gms/internal/ads/d9;->X:I

    if-le v5, v13, :cond_bc

    move v13, v6

    goto :goto_bd

    :cond_bc
    move v13, v9

    :goto_bd
    iget-wide v3, v2, Lcom/google/android/gms/internal/ads/d9;->T:J

    const-wide/16 v16, -0x1

    cmp-long v3, v3, v16

    if-nez v3, :cond_105

    iget-object v3, v2, Lcom/google/android/gms/internal/ads/d9;->M:Lz5/lu1;

    if-eqz v3, :cond_d2

    invoke-interface {v3}, Lz5/lu1;->zzg()J

    move-result-wide v3

    cmp-long v3, v3, v11

    if-eqz v3, :cond_d2

    goto :goto_105

    :cond_d2
    iget-boolean v3, v2, Lcom/google/android/gms/internal/ads/d9;->J:Z

    if-eqz v3, :cond_e1

    invoke-virtual {v2}, Lcom/google/android/gms/internal/ads/d9;->n()Z

    move-result v3

    if-nez v3, :cond_e1

    iput-boolean v6, v2, Lcom/google/android/gms/internal/ads/d9;->W:Z

    sget-object v5, Lz5/ls1;->d:Lz5/hs1;

    goto :goto_10e

    :cond_e1
    iget-boolean v3, v2, Lcom/google/android/gms/internal/ads/d9;->J:Z

    iput-boolean v3, v2, Lcom/google/android/gms/internal/ads/d9;->R:Z

    const-wide/16 v3, 0x0

    iput-wide v3, v2, Lcom/google/android/gms/internal/ads/d9;->U:J

    iput v9, v2, Lcom/google/android/gms/internal/ads/d9;->X:I

    iget-object v5, v2, Lcom/google/android/gms/internal/ads/d9;->G:[Lz5/pq1;

    array-length v11, v5

    move v12, v9

    :goto_ef
    if-ge v12, v11, :cond_fa

    aget-object v7, v5, v12

    invoke-virtual {v7, v9}, Lz5/pq1;->m(Z)V

    add-int/lit8 v12, v12, 0x1

    const/4 v7, 0x2

    goto :goto_ef

    .line 17
    :cond_fa
    iget-object v5, v8, Lz5/fq1;->g:Lz5/p8;

    iput-wide v3, v5, Lz5/p8;->a:J

    iput-wide v3, v8, Lz5/fq1;->j:J

    iput-boolean v6, v8, Lz5/fq1;->i:Z

    iput-boolean v9, v8, Lz5/fq1;->n:Z

    goto :goto_107

    .line 18
    :cond_105
    :goto_105
    iput v5, v2, Lcom/google/android/gms/internal/ads/d9;->X:I

    :goto_107
    sget-object v3, Lz5/ls1;->d:Lz5/hs1;

    .line 19
    new-instance v5, Lz5/hs1;

    invoke-direct {v5, v13, v14, v15, v9}, Lz5/hs1;-><init>(IJI)V

    .line 20
    :goto_10e
    iget v3, v5, Lz5/hs1;->a:I

    if-eqz v3, :cond_114

    if-ne v3, v6, :cond_115

    :cond_114
    move v9, v6

    :cond_115
    xor-int/lit8 v3, v9, 0x1

    .line 21
    iget-object v4, v2, Lcom/google/android/gms/internal/ads/d9;->u:Lz5/c31;

    .line 22
    iget-wide v7, v8, Lz5/fq1;->j:J

    .line 23
    iget-wide v11, v2, Lcom/google/android/gms/internal/ads/d9;->N:J

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

    .line 24
    new-instance v2, Lz5/g61;

    invoke-static {v7, v8}, Lz5/c31;->h(J)J

    invoke-static {v11, v12}, Lz5/c31;->h(J)J

    const/4 v7, 0x0

    invoke-direct {v2, v7}, Lz5/g61;-><init>(Lz5/x2;)V

    invoke-virtual {v4, v10, v2, v0, v3}, Lz5/c31;->f(Lz5/lp1;Lz5/g61;Ljava/io/IOException;Z)V

    .line 25
    iget v0, v5, Lz5/hs1;->a:I

    const/4 v2, 0x3

    if-ne v0, v2, :cond_13b

    .line 26
    iget-object v0, v1, Lz5/is1;->z:Lz5/ls1;

    iget-object v2, v1, Lz5/is1;->u:Ljava/io/IOException;

    .line 27
    iput-object v2, v0, Lz5/ls1;->c:Ljava/io/IOException;

    return-void

    :cond_13b
    const/4 v2, 0x2

    if-eq v0, v2, :cond_15e

    if-ne v0, v6, :cond_142

    .line 28
    iput v6, v1, Lz5/is1;->v:I

    .line 29
    :cond_142
    iget-wide v2, v5, Lz5/hs1;->b:J

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

    cmp-long v0, v2, v4

    if-eqz v0, :cond_14e

    goto :goto_15b

    .line 30
    :cond_14e
    iget v0, v1, Lz5/is1;->v:I

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

    mul-int/lit16 v0, v0, 0x3e8

    const/16 v2, 0x1388

    invoke-static {v0, v2}, Ljava/lang/Math;->min(II)I

    move-result v0

    int-to-long v2, v0

    :goto_15b
    invoke-virtual {v1, v2, v3}, Lz5/is1;->a(J)V

    :cond_15e
    :goto_15e
    return-void

    :cond_15f
    :try_start_15f
    iget-object v6, v1, Lz5/is1;->r:Lz5/fq1;

    move-object v5, v2

    check-cast v5, Lcom/google/android/gms/internal/ads/d9;

    invoke-virtual/range {v5 .. v10}, Lcom/google/android/gms/internal/ads/d9;->h(Lz5/fq1;JJ)V
    :try_end_167
    .catch Ljava/lang/RuntimeException; {:try_start_15f .. :try_end_167} :catch_168

    return-void

    :catch_168
    move-exception v0

    const-string v2, "LoadTask"

    const-string v3, "Unexpected exception handling load completed"

    invoke-static {v2, v3, v0}, Lcom/google/android/gms/internal/ads/f;->i(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V

    iget-object v2, v1, Lz5/is1;->z:Lz5/ls1;

    new-instance v3, Lz5/ks1;

    invoke-direct {v3, v0}, Lz5/ks1;-><init>(Ljava/lang/Throwable;)V

    .line 31
    iput-object v3, v2, Lz5/ls1;->c:Ljava/io/IOException;

    return-void

    .line 32
    :cond_17a
    iget-object v0, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Ljava/lang/Error;

    throw v0
.end method

.method public final run()V
    .registers 6

    const/4 v0, 0x2

    :try_start_1
    monitor-enter p0
    :try_end_2
    .catch Ljava/io/IOException; {:try_start_1 .. :try_end_2} :catch_93
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_2} :catch_81
    .catch Ljava/lang/OutOfMemoryError; {:try_start_1 .. :try_end_2} :catch_68
    .catch Ljava/lang/Error; {:try_start_1 .. :try_end_2} :catch_53

    :try_start_2
    iget-boolean v1, p0, Lz5/is1;->x:Z

    const/4 v2, 0x1

    xor-int/2addr v1, v2

    invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;

    move-result-object v3

    iput-object v3, p0, Lz5/is1;->w:Ljava/lang/Thread;

    monitor-exit p0
    :try_end_d
    .catchall {:try_start_2 .. :try_end_d} :catchall_50

    if-eqz v1, :cond_3d

    :try_start_f
    const-string v1, "load:"

    iget-object v3, p0, Lz5/is1;->r:Lz5/fq1;

    invoke-virtual {v3}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v3

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

    move-result v4

    if-eqz v4, :cond_26

    invoke-virtual {v1, v3}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    goto :goto_2c

    :cond_26
    new-instance v3, Ljava/lang/String;

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

    move-object v1, v3

    :goto_2c
    invoke-static {v1}, Lz5/bd1;->b(Ljava/lang/String;)V
    :try_end_2f
    .catch Ljava/io/IOException; {:try_start_f .. :try_end_2f} :catch_93
    .catch Ljava/lang/Exception; {:try_start_f .. :try_end_2f} :catch_81
    .catch Ljava/lang/OutOfMemoryError; {:try_start_f .. :try_end_2f} :catch_68
    .catch Ljava/lang/Error; {:try_start_f .. :try_end_2f} :catch_53

    :try_start_2f
    iget-object v1, p0, Lz5/is1;->r:Lz5/fq1;

    invoke-virtual {v1}, Lz5/fq1;->a()V
    :try_end_34
    .catchall {:try_start_2f .. :try_end_34} :catchall_38

    :try_start_34
    invoke-static {}, Lz5/bd1;->d()V

    goto :goto_3d

    :catchall_38
    move-exception v1

    invoke-static {}, Lz5/bd1;->d()V

    throw v1

    :cond_3d
    :goto_3d
    monitor-enter p0
    :try_end_3e
    .catch Ljava/io/IOException; {:try_start_34 .. :try_end_3e} :catch_93
    .catch Ljava/lang/Exception; {:try_start_34 .. :try_end_3e} :catch_81
    .catch Ljava/lang/OutOfMemoryError; {:try_start_34 .. :try_end_3e} :catch_68
    .catch Ljava/lang/Error; {:try_start_34 .. :try_end_3e} :catch_53

    const/4 v1, 0x0

    :try_start_3f
    iput-object v1, p0, Lz5/is1;->w:Ljava/lang/Thread;

    invoke-static {}, Ljava/lang/Thread;->interrupted()Z

    monitor-exit p0
    :try_end_45
    .catchall {:try_start_3f .. :try_end_45} :catchall_4d

    :try_start_45
    iget-boolean v1, p0, Lz5/is1;->y:Z

    if-nez v1, :cond_9d

    invoke-virtual {p0, v2}, Landroid/os/Handler;->sendEmptyMessage(I)Z
    :try_end_4c
    .catch Ljava/io/IOException; {:try_start_45 .. :try_end_4c} :catch_93
    .catch Ljava/lang/Exception; {:try_start_45 .. :try_end_4c} :catch_81
    .catch Ljava/lang/OutOfMemoryError; {:try_start_45 .. :try_end_4c} :catch_68
    .catch Ljava/lang/Error; {:try_start_45 .. :try_end_4c} :catch_53

    return-void

    :catchall_4d
    move-exception v1

    :try_start_4e
    monitor-exit p0
    :try_end_4f
    .catchall {:try_start_4e .. :try_end_4f} :catchall_4d

    :try_start_4f
    throw v1
    :try_end_50
    .catch Ljava/io/IOException; {:try_start_4f .. :try_end_50} :catch_93
    .catch Ljava/lang/Exception; {:try_start_4f .. :try_end_50} :catch_81
    .catch Ljava/lang/OutOfMemoryError; {:try_start_4f .. :try_end_50} :catch_68
    .catch Ljava/lang/Error; {:try_start_4f .. :try_end_50} :catch_53

    :catchall_50
    move-exception v1

    :try_start_51
    monitor-exit p0
    :try_end_52
    .catchall {:try_start_51 .. :try_end_52} :catchall_50

    :try_start_52
    throw v1
    :try_end_53
    .catch Ljava/io/IOException; {:try_start_52 .. :try_end_53} :catch_93
    .catch Ljava/lang/Exception; {:try_start_52 .. :try_end_53} :catch_81
    .catch Ljava/lang/OutOfMemoryError; {:try_start_52 .. :try_end_53} :catch_68
    .catch Ljava/lang/Error; {:try_start_52 .. :try_end_53} :catch_53

    :catch_53
    move-exception v0

    iget-boolean v1, p0, Lz5/is1;->y:Z

    if-nez v1, :cond_67

    const-string v1, "LoadTask"

    const-string v2, "Unexpected error loading stream"

    invoke-static {v1, v2, v0}, Lcom/google/android/gms/internal/ads/f;->i(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V

    const/4 v1, 0x3

    invoke-virtual {p0, v1, v0}, Landroid/os/Handler;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v1

    invoke-virtual {v1}, Landroid/os/Message;->sendToTarget()V

    :cond_67
    throw v0

    :catch_68
    move-exception v1

    iget-boolean v2, p0, Lz5/is1;->y:Z

    if-nez v2, :cond_9d

    const-string v2, "LoadTask"

    const-string v3, "OutOfMemory error loading stream"

    invoke-static {v2, v3, v1}, Lcom/google/android/gms/internal/ads/f;->i(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V

    new-instance v2, Lz5/ks1;

    invoke-direct {v2, v1}, Lz5/ks1;-><init>(Ljava/lang/Throwable;)V

    :goto_79
    invoke-virtual {p0, v0, v2}, Landroid/os/Handler;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    :goto_7d
    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    return-void

    :catch_81
    move-exception v1

    iget-boolean v2, p0, Lz5/is1;->y:Z

    if-nez v2, :cond_9d

    const-string v2, "LoadTask"

    const-string v3, "Unexpected exception loading stream"

    invoke-static {v2, v3, v1}, Lcom/google/android/gms/internal/ads/f;->i(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V

    new-instance v2, Lz5/ks1;

    invoke-direct {v2, v1}, Lz5/ks1;-><init>(Ljava/lang/Throwable;)V

    goto :goto_79

    :catch_93
    move-exception v1

    iget-boolean v2, p0, Lz5/is1;->y:Z

    if-nez v2, :cond_9d

    invoke-virtual {p0, v0, v1}, Landroid/os/Handler;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    goto :goto_7d

    :cond_9d
    return-void
.end method
