.class public final Lz5/at1;
.super Lz5/db1;
.source ""


# static fields
.field public static final u1:[I

.field public static v1:Z

.field public static w1:Z


# instance fields
.field public final P0:Landroid/content/Context;

.field public final Q0:Lz5/ht1;

.field public final R0:Lcom/google/android/gms/internal/ads/k0;

.field public final S0:Z

.field public T0:Lz5/he;

.field public U0:Z

.field public V0:Z

.field public W0:Landroid/view/Surface;

.field public X0:Lz5/ws1;

.field public Y0:Z

.field public Z0:I

.field public a1:Z

.field public b1:Z

.field public c1:Z

.field public d1:J

.field public e1:J

.field public f1:J

.field public g1:I

.field public h1:I

.field public i1:I

.field public j1:J

.field public k1:J

.field public l1:J

.field public m1:I

.field public n1:I

.field public o1:I

.field public p1:I

.field public q1:F

.field public r1:Lz5/e02;

.field public s1:I

.field public t1:Lz5/ct1;


# direct methods
.method public static constructor <clinit>()V
    .registers 1

    const/16 v0, 0x9

    new-array v0, v0, [I

    fill-array-data v0, :array_a

    sput-object v0, Lz5/at1;->u1:[I

    return-void

    :array_a
    .array-data 4
        0x780
        0x640
        0x5a0
        0x500
        0x3c0
        0x356
        0x280
        0x21c
        0x1e0
    .end array-data
.end method

.method public constructor <init>(Landroid/content/Context;Lz5/q91;Lz5/ac1;Landroid/os/Handler;Lz5/kt1;)V
    .registers 8

    const/4 v0, 0x2

    const/high16 v1, 0x41f00000    # 30.0f

    invoke-direct {p0, v0, p2, p3, v1}, Lz5/db1;-><init>(ILz5/q91;Lz5/ac1;F)V

    invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object p1

    iput-object p1, p0, Lz5/at1;->P0:Landroid/content/Context;

    new-instance p2, Lz5/ht1;

    invoke-direct {p2, p1}, Lz5/ht1;-><init>(Landroid/content/Context;)V

    iput-object p2, p0, Lz5/at1;->Q0:Lz5/ht1;

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

    invoke-direct {p1, p4, p5}, Lcom/google/android/gms/internal/ads/k0;-><init>(Landroid/os/Handler;Lz5/kt1;)V

    iput-object p1, p0, Lz5/at1;->R0:Lcom/google/android/gms/internal/ads/k0;

    sget-object p1, Lz5/r7;->c:Ljava/lang/String;

    const-string p2, "NVIDIA"

    invoke-virtual {p2, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    iput-boolean p1, p0, Lz5/at1;->S0:Z

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

    iput-wide p1, p0, Lz5/at1;->e1:J

    const/4 p1, -0x1

    iput p1, p0, Lz5/at1;->n1:I

    iput p1, p0, Lz5/at1;->o1:I

    const/high16 p1, -0x40800000    # -1.0f

    iput p1, p0, Lz5/at1;->q1:F

    const/4 p1, 0x1

    iput p1, p0, Lz5/at1;->Z0:I

    const/4 p1, 0x0

    iput p1, p0, Lz5/at1;->s1:I

    const/4 p1, 0x0

    iput-object p1, p0, Lz5/at1;->r1:Lz5/e02;

    return-void
.end method

.method private final Z()V
    .registers 6

    iget v0, p0, Lz5/at1;->n1:I

    const/4 v1, -0x1

    if-ne v0, v1, :cond_a

    iget v0, p0, Lz5/at1;->o1:I

    if-eq v0, v1, :cond_27

    move v0, v1

    :cond_a
    iget-object v1, p0, Lz5/at1;->r1:Lz5/e02;

    if-eqz v1, :cond_28

    iget v2, v1, Lz5/e02;->a:I

    if-ne v2, v0, :cond_28

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

    iget v3, p0, Lz5/at1;->o1:I

    if-ne v2, v3, :cond_28

    iget v2, v1, Lz5/e02;->c:I

    iget v3, p0, Lz5/at1;->p1:I

    if-ne v2, v3, :cond_28

    iget v1, v1, Lz5/e02;->d:F

    iget v2, p0, Lz5/at1;->q1:F

    cmpl-float v1, v1, v2

    if-eqz v1, :cond_27

    goto :goto_28

    :cond_27
    return-void

    :cond_28
    :goto_28
    new-instance v1, Lz5/e02;

    iget v2, p0, Lz5/at1;->o1:I

    iget v3, p0, Lz5/at1;->p1:I

    iget v4, p0, Lz5/at1;->q1:F

    invoke-direct {v1, v0, v2, v3, v4}, Lz5/e02;-><init>(IIIF)V

    iput-object v1, p0, Lz5/at1;->r1:Lz5/e02;

    iget-object v0, p0, Lz5/at1;->R0:Lcom/google/android/gms/internal/ads/k0;

    .line 1
    iget-object v2, v0, Lcom/google/android/gms/internal/ads/k0;->s:Ljava/lang/Object;

    check-cast v2, Landroid/os/Handler;

    if-eqz v2, :cond_45

    new-instance v3, Lz5/w8;

    invoke-direct {v3, v0, v1}, Lz5/w8;-><init>(Lcom/google/android/gms/internal/ads/k0;Lz5/e02;)V

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

    :cond_45
    return-void
.end method

.method public static s0(Lz5/ac1;Lz5/x2;ZZ)Ljava/util/List;
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lz5/ac1;",
            "Lz5/x2;",
            "ZZ)",
            "Ljava/util/List<",
            "Lz5/ja1;",
            ">;"
        }
    .end annotation

    iget-object p0, p1, Lz5/x2;->k:Ljava/lang/String;

    if-nez p0, :cond_9

    invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;

    move-result-object p0

    return-object p0

    :cond_9
    invoke-static {p0, p2, p3}, Lz5/jj1;->b(Ljava/lang/String;ZZ)Ljava/util/List;

    move-result-object v0

    .line 1
    new-instance v1, Ljava/util/ArrayList;

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

    new-instance v0, Lz5/i51;

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

    invoke-static {v1, v0}, Lz5/jj1;->g(Ljava/util/List;Lz5/wi1;)V

    const-string v0, "video/dolby-vision"

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

    move-result p0

    if-eqz p0, :cond_49

    invoke-static {p1}, Lz5/jj1;->d(Lz5/x2;)Landroid/util/Pair;

    move-result-object p0

    if-eqz p0, :cond_49

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

    check-cast p0, Ljava/lang/Integer;

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

    move-result p0

    const/16 p1, 0x10

    if-eq p0, p1, :cond_40

    const/16 p1, 0x100

    if-ne p0, p1, :cond_39

    goto :goto_40

    :cond_39
    const/16 p1, 0x200

    if-ne p0, p1, :cond_49

    const-string p0, "video/avc"

    goto :goto_42

    :cond_40
    :goto_40
    const-string p0, "video/hevc"

    :goto_42
    invoke-static {p0, p2, p3}, Lz5/jj1;->b(Ljava/lang/String;ZZ)Ljava/util/List;

    move-result-object p0

    invoke-virtual {v1, p0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    :cond_49
    invoke-static {v1}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;

    move-result-object p0

    return-object p0
.end method

.method public static u0(J)Z
    .registers 4

    const-wide/16 v0, -0x7530

    cmp-long p0, p0, v0

    if-gez p0, :cond_8

    const/4 p0, 0x1

    return p0

    :cond_8
    const/4 p0, 0x0

    return p0
.end method

.method public static v0(Lz5/ja1;Lz5/x2;)I
    .registers 12

    iget v0, p1, Lz5/x2;->p:I

    iget v1, p1, Lz5/x2;->q:I

    const/4 v2, -0x1

    if-eq v0, v2, :cond_c2

    if-ne v1, v2, :cond_b

    goto/16 :goto_c2

    :cond_b
    iget-object v3, p1, Lz5/x2;->k:Ljava/lang/String;

    const-string v4, "video/dolby-vision"

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

    move-result v4

    const/4 v5, 0x2

    const/4 v6, 0x1

    const-string v7, "video/hevc"

    const-string v8, "video/avc"

    if-eqz v4, :cond_34

    invoke-static {p1}, Lz5/jj1;->d(Lz5/x2;)Landroid/util/Pair;

    move-result-object p1

    if-eqz p1, :cond_33

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

    check-cast p1, Ljava/lang/Integer;

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

    move-result p1

    const/16 v3, 0x200

    if-eq p1, v3, :cond_31

    if-eq p1, v6, :cond_31

    if-ne p1, v5, :cond_33

    :cond_31
    move-object v3, v8

    goto :goto_34

    :cond_33
    move-object v3, v7

    :cond_34
    :goto_34
    invoke-static {v3}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

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

    move-result p1

    const/4 v4, 0x3

    const/4 v9, 0x4

    sparse-switch p1, :sswitch_data_c4

    :goto_40
    move v6, v2

    goto :goto_7d

    :sswitch_42
    const-string p1, "video/x-vnd.on2.vp9"

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

    move-result p1

    if-nez p1, :cond_4b

    goto :goto_40

    :cond_4b
    const/4 v6, 0x5

    goto :goto_7d

    :sswitch_4d
    const-string p1, "video/x-vnd.on2.vp8"

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

    move-result p1

    if-nez p1, :cond_56

    goto :goto_40

    :cond_56
    move v6, v9

    goto :goto_7d

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

    move-result p1

    if-nez p1, :cond_5f

    goto :goto_40

    :cond_5f
    move v6, v4

    goto :goto_7d

    :sswitch_61
    const-string p1, "video/mp4v-es"

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

    move-result p1

    if-nez p1, :cond_6a

    goto :goto_40

    :cond_6a
    move v6, v5

    goto :goto_7d

    :sswitch_6c
    invoke-virtual {v3, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-nez p1, :cond_7d

    goto :goto_40

    :sswitch_73
    const-string p1, "video/3gpp"

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

    move-result p1

    if-nez p1, :cond_7c

    goto :goto_40

    :cond_7c
    const/4 v6, 0x0

    :cond_7d
    :goto_7d
    packed-switch v6, :pswitch_data_de

    return v2

    :pswitch_81
    sget-object p1, Lz5/r7;->d:Ljava/lang/String;

    const-string v3, "BRAVIA 4K 2015"

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

    move-result v3

    if-nez v3, :cond_b7

    sget-object v3, Lz5/r7;->c:Ljava/lang/String;

    const-string v6, "Amazon"

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

    move-result v3

    if-eqz v3, :cond_a9

    const-string v3, "KFSOWI"

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

    move-result v3

    if-nez v3, :cond_b7

    const-string v3, "AFTS"

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

    move-result p1

    if-eqz p1, :cond_a9

    iget-boolean p0, p0, Lz5/ja1;->f:Z

    if-nez p0, :cond_b7

    :cond_a9
    const/16 p0, 0x10

    invoke-static {v0, p0}, Lz5/r7;->u(II)I

    move-result p1

    invoke-static {v1, p0}, Lz5/r7;->u(II)I

    move-result p0

    mul-int/2addr p0, p1

    mul-int/lit16 p0, p0, 0x100

    goto :goto_be

    :cond_b7
    return v2

    :pswitch_b8
    mul-int p0, v0, v1

    move v5, v9

    goto :goto_be

    :pswitch_bc
    mul-int p0, v0, v1

    :goto_be
    mul-int/2addr p0, v4

    add-int/2addr v5, v5

    div-int/2addr p0, v5

    return p0

    :cond_c2
    :goto_c2
    return v2

    nop

    :sswitch_data_c4
    .sparse-switch
        -0x63306f58 -> :sswitch_73
        -0x63185e82 -> :sswitch_6c
        0x46cdc642 -> :sswitch_61
        0x4f62373a -> :sswitch_58
        0x5f50bed8 -> :sswitch_4d
        0x5f50bed9 -> :sswitch_42
    .end sparse-switch

    :pswitch_data_de
    .packed-switch 0x0
        :pswitch_bc
        :pswitch_b8
        :pswitch_bc
        :pswitch_81
        :pswitch_bc
        :pswitch_b8
    .end packed-switch
.end method

.method public static final x0(Ljava/lang/String;)Z
    .registers 14

    const-string v0, "OMX.google"

    invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result p0

    const/4 v0, 0x0

    if-eqz p0, :cond_a

    return v0

    :cond_a
    const-class p0, Lz5/at1;

    monitor-enter p0

    :try_start_d
    sget-boolean v1, Lz5/at1;->v1:Z

    if-nez v1, :cond_750

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

    const/4 v2, 0x4

    const/4 v3, 0x5

    const/4 v4, 0x3

    const/4 v5, 0x6

    const/16 v6, 0x1c

    const/4 v7, -0x1

    const/4 v8, 0x2

    const/4 v9, 0x1

    if-gt v1, v6, :cond_76

    sget-object v10, Lz5/r7;->b:Ljava/lang/String;

    invoke-virtual {v10}, Ljava/lang/String;->hashCode()I

    move-result v11
    :try_end_24
    .catchall {:try_start_d .. :try_end_24} :catchall_754

    sparse-switch v11, :sswitch_data_758

    goto :goto_6e

    :sswitch_28
    const-string v11, "machuca"

    invoke-virtual {v10, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v10

    if-eqz v10, :cond_6e

    move v10, v2

    goto :goto_6f

    :sswitch_32
    const-string v11, "once"

    invoke-virtual {v10, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v10

    if-eqz v10, :cond_6e

    move v10, v3

    goto :goto_6f

    :sswitch_3c
    const-string v11, "magnolia"

    invoke-virtual {v10, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v10

    if-eqz v10, :cond_6e

    move v10, v4

    goto :goto_6f

    :sswitch_46
    const-string v11, "oneday"

    invoke-virtual {v10, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v10

    if-eqz v10, :cond_6e

    move v10, v5

    goto :goto_6f

    :sswitch_50
    const-string v11, "dangalUHD"

    invoke-virtual {v10, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v10

    if-eqz v10, :cond_6e

    move v10, v9

    goto :goto_6f

    :sswitch_5a
    const-string v11, "dangalFHD"

    invoke-virtual {v10, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v10

    if-eqz v10, :cond_6e

    move v10, v8

    goto :goto_6f

    :sswitch_64
    const-string v11, "dangal"

    invoke-virtual {v10, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v10

    if-eqz v10, :cond_6e

    move v10, v0

    goto :goto_6f

    :cond_6e
    :goto_6e
    move v10, v7

    :goto_6f
    packed-switch v10, :pswitch_data_776

    goto :goto_76

    :cond_73
    :goto_73
    :pswitch_73
    move v0, v9

    goto/16 :goto_74c

    :cond_76
    :goto_76
    const/16 v10, 0x1b

    if-gt v1, v10, :cond_85

    :try_start_7a
    const-string v11, "HWEML"

    sget-object v12, Lz5/r7;->b:Ljava/lang/String;

    invoke-virtual {v11, v12}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v11

    if-eqz v11, :cond_85

    goto :goto_73

    :cond_85
    const/16 v11, 0x1a

    if-gt v1, v11, :cond_74c

    sget-object v1, Lz5/r7;->b:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->hashCode()I

    move-result v12
    :try_end_8f
    .catchall {:try_start_7a .. :try_end_8f} :catchall_754

    sparse-switch v12, :sswitch_data_788

    goto/16 :goto_70f

    :sswitch_94
    const-string v2, "HWWAS-H"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x42

    goto/16 :goto_710

    :sswitch_a0
    const-string v2, "HWVNS-H"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x41

    goto/16 :goto_710

    :sswitch_ac
    const-string v2, "ELUGA_Prim"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x21

    goto/16 :goto_710

    :sswitch_b8
    const-string v2, "ELUGA_Note"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x20

    goto/16 :goto_710

    :sswitch_c4
    const-string v2, "ASUS_X00AD_2"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0xe

    goto/16 :goto_710

    :sswitch_d0
    const-string v2, "HWCAM-H"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x40

    goto/16 :goto_710

    :sswitch_dc
    const-string v2, "HWBLN-H"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x3f

    goto/16 :goto_710

    :sswitch_e8
    const-string v2, "DM-01K"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x1d

    goto/16 :goto_710

    :sswitch_f4
    const-string v2, "BRAVIA_ATV3_4K"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x13

    goto/16 :goto_710

    :sswitch_100
    const-string v2, "Infinix-X572"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x45

    goto/16 :goto_710

    :sswitch_10c
    const-string v2, "PB2-670M"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x64

    goto/16 :goto_710

    :sswitch_118
    const-string v2, "santoni"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x75

    goto/16 :goto_710

    :sswitch_124
    const-string v2, "iball8735_9806"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x44

    goto/16 :goto_710

    :sswitch_130
    const-string v2, "CPH1715"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x18

    goto/16 :goto_710

    :sswitch_13c
    const-string v2, "CPH1609"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x17

    goto/16 :goto_710

    :sswitch_148
    const-string v2, "woods_f"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x85

    goto/16 :goto_710

    :sswitch_154
    const-string v2, "htc_e56ml_dtul"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x3d

    goto/16 :goto_710

    :sswitch_160
    const-string v2, "EverStar_S"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x23

    goto/16 :goto_710

    :sswitch_16c
    const-string v2, "hwALE-H"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x3e

    goto/16 :goto_710

    :sswitch_178
    const-string v2, "itel_S41"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x47

    goto/16 :goto_710

    :sswitch_184
    const-string v2, "LS-5017"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x4e

    goto/16 :goto_710

    :sswitch_190
    const-string v2, "panell_d"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x60

    goto/16 :goto_710

    :sswitch_19c
    const-string v2, "j2xlteins"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x48

    goto/16 :goto_710

    :sswitch_1a8
    const-string v2, "A7000plus"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0xa

    goto/16 :goto_710

    :sswitch_1b4
    const-string v2, "manning"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x51

    goto/16 :goto_710

    :sswitch_1c0
    const-string v2, "GIONEE_WBL7519"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x3b

    goto/16 :goto_710

    :sswitch_1cc
    const-string v2, "GIONEE_WBL7365"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x3a

    goto/16 :goto_710

    :sswitch_1d8
    const-string v2, "GIONEE_WBL5708"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x39

    goto/16 :goto_710

    :sswitch_1e4
    const-string v2, "QM16XE_U"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x72

    goto/16 :goto_710

    :sswitch_1f0
    const-string v2, "Pixi5-10_4G"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x6a

    goto/16 :goto_710

    :sswitch_1fc
    const-string v2, "TB3-850M"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x7d

    goto/16 :goto_710

    :sswitch_208
    const-string v2, "TB3-850F"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x7c

    goto/16 :goto_710

    :sswitch_214
    const-string v2, "TB3-730X"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x7b

    goto/16 :goto_710

    :sswitch_220
    const-string v2, "TB3-730F"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x7a

    goto/16 :goto_710

    :sswitch_22c
    const-string v2, "A7020a48"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0xc

    goto/16 :goto_710

    :sswitch_238
    const-string v2, "A7010a48"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0xb

    goto/16 :goto_710

    :sswitch_244
    const-string v2, "griffin"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x3c

    goto/16 :goto_710

    :sswitch_250
    const-string v2, "marino_f"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x52

    goto/16 :goto_710

    :sswitch_25c
    const-string v2, "CPY83_I00"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x19

    goto/16 :goto_710

    :sswitch_268
    const-string v2, "A2016a40"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x8

    goto/16 :goto_710

    :sswitch_274
    const-string v2, "le_x6"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x4d

    goto/16 :goto_710

    :sswitch_280
    const-string v2, "l5460"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x4c

    goto/16 :goto_710

    :sswitch_28c
    const-string v2, "i9031"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x43

    goto/16 :goto_710

    :sswitch_298
    const-string v2, "X3_HK"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x87

    goto/16 :goto_710

    :sswitch_2a4
    const-string v2, "V23GB"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x80

    goto/16 :goto_710

    :sswitch_2b0
    const-string v2, "Q4310"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x70

    goto/16 :goto_710

    :sswitch_2bc
    const-string v2, "Q4260"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x6e

    goto/16 :goto_710

    :sswitch_2c8
    const-string v2, "PRO7S"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x6c

    goto/16 :goto_710

    :sswitch_2d4
    const-string v2, "F3311"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x30

    goto/16 :goto_710

    :sswitch_2e0
    const-string v2, "F3215"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x2f

    goto/16 :goto_710

    :sswitch_2ec
    const-string v2, "F3213"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x2e

    goto/16 :goto_710

    :sswitch_2f8
    const-string v2, "F3211"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x2d

    goto/16 :goto_710

    :sswitch_304
    const-string v2, "F3116"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x2c

    goto/16 :goto_710

    :sswitch_310
    const-string v2, "F3113"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x2b

    goto/16 :goto_710

    :sswitch_31c
    const-string v2, "F3111"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x2a

    goto/16 :goto_710

    :sswitch_328
    const-string v2, "E5643"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x1e

    goto/16 :goto_710

    :sswitch_334
    const-string v2, "A1601"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/4 v2, 0x7

    goto/16 :goto_710

    :sswitch_33f
    const-string v2, "Aura_Note_2"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0xf

    goto/16 :goto_710

    :sswitch_34b
    const-string v3, "602LV"

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

    move-result v1

    if-eqz v1, :cond_70f

    goto/16 :goto_710

    :sswitch_355
    const-string v2, "601LV"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    move v2, v4

    goto/16 :goto_710

    :sswitch_360
    const-string v2, "MEIZU_M5"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x53

    goto/16 :goto_710

    :sswitch_36c
    const-string v2, "p212"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x5c

    goto/16 :goto_710

    :sswitch_378
    const-string v2, "mido"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x55

    goto/16 :goto_710

    :sswitch_384
    const-string v2, "kate"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x4b

    goto/16 :goto_710

    :sswitch_390
    const-string v2, "fugu"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x32

    goto/16 :goto_710

    :sswitch_39c
    const-string v2, "XE2X"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x88

    goto/16 :goto_710

    :sswitch_3a8
    const-string v2, "Q427"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x6f

    goto/16 :goto_710

    :sswitch_3b4
    const-string v2, "Q350"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x6d

    goto/16 :goto_710

    :sswitch_3c0
    const-string v2, "P681"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x5d

    goto/16 :goto_710

    :sswitch_3cc
    const-string v2, "F04J"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x29

    goto/16 :goto_710

    :sswitch_3d8
    const-string v2, "F04H"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x28

    goto/16 :goto_710

    :sswitch_3e4
    const-string v2, "F03H"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x27

    goto/16 :goto_710

    :sswitch_3f0
    const-string v2, "F02H"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x26

    goto/16 :goto_710

    :sswitch_3fc
    const-string v2, "F01J"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x25

    goto/16 :goto_710

    :sswitch_408
    const-string v2, "F01H"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x24

    goto/16 :goto_710

    :sswitch_414
    const-string v2, "1714"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    move v2, v8

    goto/16 :goto_710

    :sswitch_41f
    const-string v2, "1713"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    move v2, v9

    goto/16 :goto_710

    :sswitch_42a
    const-string v2, "1601"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    move v2, v0

    goto/16 :goto_710

    :sswitch_435
    const-string v2, "flo"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x31

    goto/16 :goto_710

    :sswitch_441
    const-string v2, "deb"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    move v2, v6

    goto/16 :goto_710

    :sswitch_44c
    const-string v2, "cv3"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    move v2, v10

    goto/16 :goto_710

    :sswitch_457
    const-string v2, "cv1"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    move v2, v11

    goto/16 :goto_710

    :sswitch_462
    const-string v2, "Z80"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x8b

    goto/16 :goto_710

    :sswitch_46e
    const-string v2, "QX1"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x73

    goto/16 :goto_710

    :sswitch_47a
    const-string v2, "PLE"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x6b

    goto/16 :goto_710

    :sswitch_486
    const-string v2, "P85"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x5e

    goto/16 :goto_710

    :sswitch_492
    const-string v2, "MX6"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x56

    goto/16 :goto_710

    :sswitch_49e
    const-string v2, "M5c"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x50

    goto/16 :goto_710

    :sswitch_4aa
    const-string v2, "M04"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x4f

    goto/16 :goto_710

    :sswitch_4b6
    const-string v2, "JGZ"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x49

    goto/16 :goto_710

    :sswitch_4c2
    const-string v2, "mh"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x54

    goto/16 :goto_710

    :sswitch_4ce
    const-string v2, "b5"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x10

    goto/16 :goto_710

    :sswitch_4da
    const-string v2, "V5"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x81

    goto/16 :goto_710

    :sswitch_4e6
    const-string v2, "V1"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x7f

    goto/16 :goto_710

    :sswitch_4f2
    const-string v2, "Q5"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x71

    goto/16 :goto_710

    :sswitch_4fe
    const-string v2, "C1"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x14

    goto/16 :goto_710

    :sswitch_50a
    const-string v2, "woods_fn"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x86

    goto/16 :goto_710

    :sswitch_516
    const-string v2, "ELUGA_A3_Pro"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x1f

    goto/16 :goto_710

    :sswitch_522
    const-string v2, "Z12_PRO"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x8a

    goto/16 :goto_710

    :sswitch_52e
    const-string v2, "BLACK-1X"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x11

    goto/16 :goto_710

    :sswitch_53a
    const-string v2, "taido_row"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x79

    goto/16 :goto_710

    :sswitch_546
    const-string v2, "Pixi4-7_3G"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x69

    goto/16 :goto_710

    :sswitch_552
    const-string v2, "GIONEE_GBL7360"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x35

    goto/16 :goto_710

    :sswitch_55e
    const-string v2, "GiONEE_CBL7513"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x33

    goto/16 :goto_710

    :sswitch_56a
    const-string v2, "OnePlus5T"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x5b

    goto/16 :goto_710

    :sswitch_576
    const-string v2, "whyred"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x84

    goto/16 :goto_710

    :sswitch_582
    const-string v2, "watson"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x83

    goto/16 :goto_710

    :sswitch_58e
    const-string v2, "SVP-DTV15"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x77

    goto/16 :goto_710

    :sswitch_59a
    const-string v2, "A7000-a"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x9

    goto/16 :goto_710

    :sswitch_5a6
    const-string v2, "nicklaus_f"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x58

    goto/16 :goto_710

    :sswitch_5b2
    const-string v2, "tcl_eu"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x7e

    goto/16 :goto_710

    :sswitch_5be
    const-string v2, "ELUGA_Ray_X"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x22

    goto/16 :goto_710

    :sswitch_5ca
    const-string v2, "s905x018"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x78

    goto/16 :goto_710

    :sswitch_5d6
    const-string v2, "A10-70L"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    move v2, v5

    goto/16 :goto_710

    :sswitch_5e1
    const-string v2, "A10-70F"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    move v2, v3

    goto/16 :goto_710

    :sswitch_5ec
    const-string v2, "namath"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x57

    goto/16 :goto_710

    :sswitch_5f8
    const-string v2, "Slate_Pro"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x76

    goto/16 :goto_710

    :sswitch_604
    const-string v2, "iris60"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x46

    goto/16 :goto_710

    :sswitch_610
    const-string v2, "BRAVIA_ATV2"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x12

    goto/16 :goto_710

    :sswitch_61c
    const-string v2, "GiONEE_GBL7319"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x34

    goto/16 :goto_710

    :sswitch_628
    const-string v2, "panell_dt"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x63

    goto/16 :goto_710

    :sswitch_634
    const-string v2, "panell_ds"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x62

    goto/16 :goto_710

    :sswitch_640
    const-string v2, "panell_dl"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x61

    goto/16 :goto_710

    :sswitch_64c
    const-string v2, "vernee_M5"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x82

    goto/16 :goto_710

    :sswitch_658
    const-string v2, "pacificrim"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x5f

    goto/16 :goto_710

    :sswitch_664
    const-string v2, "Phantom6"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x68

    goto/16 :goto_710

    :sswitch_670
    const-string v2, "ComioS1"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x15

    goto/16 :goto_710

    :sswitch_67c
    const-string v2, "XT1663"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x89

    goto/16 :goto_710

    :sswitch_688
    const-string v2, "RAIJIN"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x74

    goto/16 :goto_710

    :sswitch_694
    const-string v2, "AquaPowerM"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0xd

    goto/16 :goto_710

    :sswitch_6a0
    const-string v2, "PGN611"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x67

    goto/16 :goto_710

    :sswitch_6ac
    const-string v2, "PGN610"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x66

    goto :goto_710

    :sswitch_6b7
    const-string v2, "PGN528"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x65

    goto :goto_710

    :sswitch_6c2
    const-string v2, "NX573J"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x5a

    goto :goto_710

    :sswitch_6cd
    const-string v2, "NX541J"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x59

    goto :goto_710

    :sswitch_6d8
    const-string v2, "CP8676_I02"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x16

    goto :goto_710

    :sswitch_6e3
    const-string v2, "K50a40"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x4a

    goto :goto_710

    :sswitch_6ee
    const-string v2, "GIONEE_SWW1631"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x38

    goto :goto_710

    :sswitch_6f9
    const-string v2, "GIONEE_SWW1627"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x37

    goto :goto_710

    :sswitch_704
    const-string v2, "GIONEE_SWW1609"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_70f

    const/16 v2, 0x36

    goto :goto_710

    :cond_70f
    :goto_70f
    move v2, v7

    :goto_710
    packed-switch v2, :pswitch_data_9ba

    :try_start_713
    sget-object v1, Lz5/r7;->d:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->hashCode()I

    move-result v2
    :try_end_719
    .catchall {:try_start_713 .. :try_end_719} :catchall_754

    const v3, -0x236fe21d

    if-eq v2, v3, :cond_73d

    const v3, 0x1e9d52

    if-eq v2, v3, :cond_733

    const v3, 0x1e9d5f

    if-eq v2, v3, :cond_729

    goto :goto_746

    :cond_729
    const-string v2, "AFTN"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_746

    move v7, v9

    goto :goto_746

    :cond_733
    const-string v2, "AFTA"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_746

    move v7, v0

    goto :goto_746

    :cond_73d
    const-string v2, "JSN-L21"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_746

    move v7, v8

    :cond_746
    :goto_746
    if-eqz v7, :cond_73

    if-eq v7, v9, :cond_73

    if-eq v7, v8, :cond_73

    :cond_74c
    :goto_74c
    :try_start_74c
    sput-boolean v0, Lz5/at1;->w1:Z

    sput-boolean v9, Lz5/at1;->v1:Z

    :cond_750
    monitor-exit p0
    :try_end_751
    .catchall {:try_start_74c .. :try_end_751} :catchall_754

    sget-boolean p0, Lz5/at1;->w1:Z

    return p0

    :catchall_754
    move-exception v0

    :try_start_755
    monitor-exit p0
    :try_end_756
    .catchall {:try_start_755 .. :try_end_756} :catchall_754

    throw v0

    nop

    :sswitch_data_758
    .sparse-switch
        -0x4fd0ea5f -> :sswitch_64
        -0x48b8f57f -> :sswitch_5a
        -0x48b8bd30 -> :sswitch_50
        -0x3c588c8a -> :sswitch_46
        -0x3de1850 -> :sswitch_3c
        0x341e81 -> :sswitch_32
        0x31316ffa -> :sswitch_28
    .end sparse-switch

    :pswitch_data_776
    .packed-switch 0x0
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
    .end packed-switch

    :sswitch_data_788
    .sparse-switch
        -0x7fd6c3bd -> :sswitch_704
        -0x7fd6c381 -> :sswitch_6f9
        -0x7fd6c368 -> :sswitch_6ee
        -0x7d026749 -> :sswitch_6e3
        -0x78929d6a -> :sswitch_6d8
        -0x75f50a1e -> :sswitch_6cd
        -0x75f4fe9d -> :sswitch_6c2
        -0x736f875c -> :sswitch_6b7
        -0x736f83c2 -> :sswitch_6ac
        -0x736f83c1 -> :sswitch_6a0
        -0x7327ce1c -> :sswitch_694
        -0x705c574b -> :sswitch_688
        -0x651ebb62 -> :sswitch_67c
        -0x6423293b -> :sswitch_670
        -0x604f5117 -> :sswitch_664
        -0x5f691e13 -> :sswitch_658
        -0x5ca40cc4 -> :sswitch_64c
        -0x58520ec1 -> :sswitch_640
        -0x58520eba -> :sswitch_634
        -0x58520eb9 -> :sswitch_628
        -0x4eaed329 -> :sswitch_61c
        -0x4892fb4f -> :sswitch_610
        -0x465b3df3 -> :sswitch_604
        -0x43e6c939 -> :sswitch_5f8
        -0x3ec0fcc5 -> :sswitch_5ec
        -0x3b33cca0 -> :sswitch_5e1
        -0x3b33cc9a -> :sswitch_5d6
        -0x398ae3f6 -> :sswitch_5ca
        -0x391f0fb4 -> :sswitch_5be
        -0x346837ae -> :sswitch_5b2
        -0x323788e3 -> :sswitch_5a6
        -0x30f57652 -> :sswitch_59a
        -0x2f88a116 -> :sswitch_58e
        -0x2f61ed98 -> :sswitch_582
        -0x2efd0837 -> :sswitch_576
        -0x2e9e9441 -> :sswitch_56a
        -0x2247b8b1 -> :sswitch_55e
        -0x1f0fa2b7 -> :sswitch_552
        -0x19af3b41 -> :sswitch_546
        -0x114fad3e -> :sswitch_53a
        -0x10dae90b -> :sswitch_52e
        -0x1084b7b7 -> :sswitch_522
        -0xa5988e9 -> :sswitch_516
        -0x35f9fbf -> :sswitch_50a
        0x84e -> :sswitch_4fe
        0xa04 -> :sswitch_4f2
        0xa9b -> :sswitch_4e6
        0xa9f -> :sswitch_4da
        0xc13 -> :sswitch_4ce
        0xd9b -> :sswitch_4c2
        0x11ebd -> :sswitch_4b6
        0x12711 -> :sswitch_4aa
        0x127db -> :sswitch_49e
        0x12beb -> :sswitch_492
        0x1334d -> :sswitch_486
        0x135c9 -> :sswitch_47a
        0x13aea -> :sswitch_46e
        0x158d2 -> :sswitch_462
        0x1821e -> :sswitch_457
        0x18220 -> :sswitch_44c
        0x18401 -> :sswitch_441
        0x18c69 -> :sswitch_435
        0x1716e6 -> :sswitch_42a
        0x171ac8 -> :sswitch_41f
        0x171ac9 -> :sswitch_414
        0x208c61 -> :sswitch_408
        0x208c63 -> :sswitch_3fc
        0x208c80 -> :sswitch_3f0
        0x208c9f -> :sswitch_3e4
        0x208cbe -> :sswitch_3d8
        0x208cc0 -> :sswitch_3cc
        0x252f5f -> :sswitch_3c0
        0x25981d -> :sswitch_3b4
        0x259b88 -> :sswitch_3a8
        0x290a13 -> :sswitch_39c
        0x3021fd -> :sswitch_390
        0x321e47 -> :sswitch_384
        0x332327 -> :sswitch_378
        0x33ab63 -> :sswitch_36c
        0x27691fb -> :sswitch_360
        0x30f8881 -> :sswitch_355
        0x30f8c42 -> :sswitch_34b
        0x349f581 -> :sswitch_33f
        0x3ab0ea7 -> :sswitch_334
        0x3e53ea5 -> :sswitch_328
        0x3f25a44 -> :sswitch_31c
        0x3f25a46 -> :sswitch_310
        0x3f25a49 -> :sswitch_304
        0x3f25e05 -> :sswitch_2f8
        0x3f25e07 -> :sswitch_2ec
        0x3f25e09 -> :sswitch_2e0
        0x3f261c6 -> :sswitch_2d4
        0x48dce49 -> :sswitch_2c8
        0x48dd589 -> :sswitch_2bc
        0x48dd8af -> :sswitch_2b0
        0x4d36832 -> :sswitch_2a4
        0x4f0b0e7 -> :sswitch_298
        0x5e2479e -> :sswitch_28c
        0x60acc05 -> :sswitch_280
        0x6214744 -> :sswitch_274
        0x9d91379 -> :sswitch_268
        0xadc0551 -> :sswitch_25c
        0xea056b3 -> :sswitch_250
        0x1121dbc3 -> :sswitch_244
        0x1255818c -> :sswitch_238
        0x1263990d -> :sswitch_22c
        0x12d90f3a -> :sswitch_220
        0x12d90f4c -> :sswitch_214
        0x12d98b1b -> :sswitch_208
        0x12d98b22 -> :sswitch_1fc
        0x1844c711 -> :sswitch_1f0
        0x1e3e8044 -> :sswitch_1e4
        0x2f5336ed -> :sswitch_1d8
        0x2f54115e -> :sswitch_1cc
        0x2f541849 -> :sswitch_1c0
        0x31cf010e -> :sswitch_1b4
        0x36ad82f4 -> :sswitch_1a8
        0x391a0b61 -> :sswitch_19c
        0x3f3728cd -> :sswitch_190
        0x448ec687 -> :sswitch_184
        0x46260f63 -> :sswitch_178
        0x4c505106 -> :sswitch_16c
        0x4de67084 -> :sswitch_160
        0x506ac5a9 -> :sswitch_154
        0x5abad9cd -> :sswitch_148
        0x64d2e6e9 -> :sswitch_13c
        0x64d2eac5 -> :sswitch_130
        0x65e4085b -> :sswitch_124
        0x6f373556 -> :sswitch_118
        0x719f1dcb -> :sswitch_10c
        0x75d9a0f0 -> :sswitch_100
        0x7796d144 -> :sswitch_f4
        0x785bcb26 -> :sswitch_e8
        0x78fc0e50 -> :sswitch_dc
        0x790521fb -> :sswitch_d0
        0x7933207f -> :sswitch_c4
        0x7a05a409 -> :sswitch_b8
        0x7a0696bd -> :sswitch_ac
        0x7a16dfe7 -> :sswitch_a0
        0x7a1f0e95 -> :sswitch_94
    .end sparse-switch

    :pswitch_data_9ba
    .packed-switch 0x0
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
        :pswitch_73
    .end packed-switch
.end method

.method public static z0(Lz5/ja1;Lz5/x2;)I
    .registers 5

    iget v0, p1, Lz5/x2;->l:I

    const/4 v1, -0x1

    if-eq v0, v1, :cond_20

    iget-object p0, p1, Lz5/x2;->m:Ljava/util/List;

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

    move-result p0

    const/4 v0, 0x0

    move v1, v0

    :goto_d
    if-ge v0, p0, :cond_1c

    iget-object v2, p1, Lz5/x2;->m:Ljava/util/List;

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

    move-result-object v2

    check-cast v2, [B

    array-length v2, v2

    add-int/2addr v1, v2

    add-int/lit8 v0, v0, 0x1

    goto :goto_d

    :cond_1c
    iget p0, p1, Lz5/x2;->l:I

    add-int/2addr p0, v1

    return p0

    :cond_20
    invoke-static {p0, p1}, Lz5/at1;->v0(Lz5/ja1;Lz5/x2;)I

    move-result p0

    return p0
.end method


# virtual methods
.method public final A0(Lz5/tl1;I)V
    .registers 4

    const-string v0, "skipVideoBuffer"

    invoke-static {v0}, Lz5/bd1;->b(Ljava/lang/String;)V

    .line 1
    iget-object p1, p1, Lz5/tl1;->a:Landroid/media/MediaCodec;

    const/4 v0, 0x0

    invoke-virtual {p1, p2, v0}, Landroid/media/MediaCodec;->releaseOutputBuffer(IZ)V

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

    iget-object p1, p0, Lz5/db1;->H0:Lz5/lg;

    iget p2, p1, Lz5/lg;->f:I

    add-int/lit8 p2, p2, 0x1

    iput p2, p1, Lz5/lg;->f:I

    return-void
.end method

.method public final B(ZZ)V
    .registers 6

    .line 1
    new-instance p1, Lz5/lg;

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

    iput-object p1, p0, Lz5/db1;->H0:Lz5/lg;

    .line 2
    iget-object p1, p0, Lz5/u1;->t:Lz5/f4;

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

    .line 3
    iget-object p1, p0, Lz5/at1;->R0:Lcom/google/android/gms/internal/ads/k0;

    iget-object v0, p0, Lz5/db1;->H0:Lz5/lg;

    .line 4
    iget-object v1, p1, Lcom/google/android/gms/internal/ads/k0;->s:Ljava/lang/Object;

    check-cast v1, Landroid/os/Handler;

    if-eqz v1, :cond_1e

    new-instance v2, Ll5/m;

    invoke-direct {v2, p1, v0}, Ll5/m;-><init>(Lcom/google/android/gms/internal/ads/k0;Lz5/lg;)V

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

    .line 5
    :cond_1e
    iget-object p1, p0, Lz5/at1;->Q0:Lz5/ht1;

    .line 6
    iget-object v0, p1, Lz5/ht1;->b:Lz5/et1;

    if-eqz v0, :cond_39

    iget-object v0, p1, Lz5/ht1;->c:Lz5/gt1;

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

    .line 7
    iget-object v0, v0, Lz5/gt1;->s:Landroid/os/Handler;

    const/4 v1, 0x1

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

    .line 8
    iget-object v0, p1, Lz5/ht1;->b:Lz5/et1;

    new-instance v1, Lz5/g61;

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

    invoke-interface {v0, v1}, Lz5/et1;->j(Lz5/g61;)V

    .line 9
    :cond_39
    iput-boolean p2, p0, Lz5/at1;->b1:Z

    const/4 p1, 0x0

    iput-boolean p1, p0, Lz5/at1;->c1:Z

    return-void
.end method

.method public final D(JZ)V
    .registers 6

    invoke-super {p0, p1, p2, p3}, Lz5/db1;->D(JZ)V

    const/4 p1, 0x0

    iput-boolean p1, p0, Lz5/at1;->a1:Z

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

    iget-object p2, p0, Lz5/at1;->Q0:Lz5/ht1;

    .line 1
    invoke-virtual {p2}, Lz5/ht1;->a()V

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

    .line 2
    iput-wide v0, p0, Lz5/at1;->j1:J

    iput-wide v0, p0, Lz5/at1;->d1:J

    iput p1, p0, Lz5/at1;->h1:I

    iput-wide v0, p0, Lz5/at1;->e1:J

    return-void
.end method

.method public final E()V
    .registers 6

    const/4 v0, 0x0

    iput v0, p0, Lz5/at1;->g1:I

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

    move-result-wide v1

    iput-wide v1, p0, Lz5/at1;->f1:J

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

    move-result-wide v1

    const-wide/16 v3, 0x3e8

    mul-long/2addr v1, v3

    iput-wide v1, p0, Lz5/at1;->k1:J

    const-wide/16 v1, 0x0

    iput-wide v1, p0, Lz5/at1;->l1:J

    iput v0, p0, Lz5/at1;->m1:I

    iget-object v1, p0, Lz5/at1;->Q0:Lz5/ht1;

    const/4 v2, 0x1

    .line 1
    iput-boolean v2, v1, Lz5/ht1;->d:Z

    invoke-virtual {v1}, Lz5/ht1;->a()V

    invoke-virtual {v1, v0}, Lz5/ht1;->c(Z)V

    return-void
.end method

.method public final F()V
    .registers 10

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

    iput-wide v0, p0, Lz5/at1;->e1:J

    iget v0, p0, Lz5/at1;->g1:I

    const/4 v1, 0x0

    if-lez v0, :cond_2a

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

    move-result-wide v2

    iget-wide v4, p0, Lz5/at1;->f1:J

    iget-object v0, p0, Lz5/at1;->R0:Lcom/google/android/gms/internal/ads/k0;

    iget v6, p0, Lz5/at1;->g1:I

    sub-long v4, v2, v4

    .line 1
    iget-object v7, v0, Lcom/google/android/gms/internal/ads/k0;->s:Ljava/lang/Object;

    check-cast v7, Landroid/os/Handler;

    if-eqz v7, :cond_26

    new-instance v8, Lz5/it1;

    invoke-direct {v8, v0, v6, v4, v5}, Lz5/it1;-><init>(Lcom/google/android/gms/internal/ads/k0;IJ)V

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

    .line 2
    :cond_26
    iput v1, p0, Lz5/at1;->g1:I

    iput-wide v2, p0, Lz5/at1;->f1:J

    :cond_2a
    iget v0, p0, Lz5/at1;->m1:I

    if-eqz v0, :cond_46

    iget-object v2, p0, Lz5/at1;->R0:Lcom/google/android/gms/internal/ads/k0;

    iget-wide v3, p0, Lz5/at1;->l1:J

    .line 3
    iget-object v5, v2, Lcom/google/android/gms/internal/ads/k0;->s:Ljava/lang/Object;

    check-cast v5, Landroid/os/Handler;

    if-eqz v5, :cond_40

    new-instance v6, Lz5/it1;

    invoke-direct {v6, v2, v3, v4, v0}, Lz5/it1;-><init>(Lcom/google/android/gms/internal/ads/k0;JI)V

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

    :cond_40
    const-wide/16 v2, 0x0

    .line 4
    iput-wide v2, p0, Lz5/at1;->l1:J

    iput v1, p0, Lz5/at1;->m1:I

    :cond_46
    iget-object v0, p0, Lz5/at1;->Q0:Lz5/ht1;

    .line 5
    iput-boolean v1, v0, Lz5/ht1;->d:Z

    invoke-virtual {v0}, Lz5/ht1;->d()V

    return-void
.end method

.method public final G()V
    .registers 6

    const/4 v0, 0x0

    iput-object v0, p0, Lz5/at1;->r1:Lz5/e02;

    const/4 v0, 0x0

    iput-boolean v0, p0, Lz5/at1;->a1:Z

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

    iput-boolean v0, p0, Lz5/at1;->Y0:Z

    iget-object v0, p0, Lz5/at1;->Q0:Lz5/ht1;

    .line 1
    iget-object v1, v0, Lz5/ht1;->b:Lz5/et1;

    if-eqz v1, :cond_1e

    invoke-interface {v1}, Lz5/et1;->zzb()V

    iget-object v0, v0, Lz5/ht1;->c:Lz5/gt1;

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

    .line 2
    iget-object v0, v0, Lz5/gt1;->s:Landroid/os/Handler;

    const/4 v1, 0x2

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

    .line 3
    :cond_1e
    :try_start_1e
    invoke-super {p0}, Lz5/db1;->G()V
    :try_end_21
    .catchall {:try_start_1e .. :try_end_21} :catchall_39

    iget-object v0, p0, Lz5/at1;->R0:Lcom/google/android/gms/internal/ads/k0;

    iget-object v1, p0, Lz5/db1;->H0:Lz5/lg;

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

    .line 4
    monitor-enter v1

    monitor-exit v1

    .line 5
    iget-object v2, v0, Lcom/google/android/gms/internal/ads/k0;->s:Ljava/lang/Object;

    check-cast v2, Landroid/os/Handler;

    if-eqz v2, :cond_38

    new-instance v3, Ll5/l;

    invoke-direct {v3, v0, v1}, Ll5/l;-><init>(Lcom/google/android/gms/internal/ads/k0;Lz5/lg;)V

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

    :cond_38
    return-void

    :catchall_39
    move-exception v0

    .line 6
    iget-object v1, p0, Lz5/at1;->R0:Lcom/google/android/gms/internal/ads/k0;

    iget-object v2, p0, Lz5/db1;->H0:Lz5/lg;

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

    .line 7
    monitor-enter v2

    monitor-exit v2

    .line 8
    iget-object v3, v1, Lcom/google/android/gms/internal/ads/k0;->s:Ljava/lang/Object;

    check-cast v3, Landroid/os/Handler;

    if-eqz v3, :cond_51

    new-instance v4, Ll5/l;

    invoke-direct {v4, v1, v2}, Ll5/l;-><init>(Lcom/google/android/gms/internal/ads/k0;Lz5/lg;)V

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

    .line 9
    :cond_51
    throw v0
.end method

.method public final H()V
    .registers 5
    .annotation build Landroid/annotation/TargetApi;
        value = 0x11
    .end annotation

    const/4 v0, 0x0

    :try_start_1
    invoke-super {p0}, Lz5/db1;->H()V
    :try_end_4
    .catchall {:try_start_1 .. :try_end_4} :catchall_14

    iget-object v1, p0, Lz5/at1;->X0:Lz5/ws1;

    if-eqz v1, :cond_13

    iget-object v2, p0, Lz5/at1;->W0:Landroid/view/Surface;

    if-ne v2, v1, :cond_e

    iput-object v0, p0, Lz5/at1;->W0:Landroid/view/Surface;

    :cond_e
    invoke-virtual {v1}, Lz5/ws1;->release()V

    iput-object v0, p0, Lz5/at1;->X0:Lz5/ws1;

    :cond_13
    return-void

    :catchall_14
    move-exception v1

    iget-object v2, p0, Lz5/at1;->X0:Lz5/ws1;

    if-eqz v2, :cond_24

    iget-object v3, p0, Lz5/at1;->W0:Landroid/view/Surface;

    if-ne v3, v2, :cond_1f

    iput-object v0, p0, Lz5/at1;->W0:Landroid/view/Surface;

    :cond_1f
    invoke-virtual {v2}, Lz5/ws1;->release()V

    iput-object v0, p0, Lz5/at1;->X0:Lz5/ws1;

    :cond_24
    throw v1
.end method

.method public final J(Lcom/google/android/gms/internal/ads/b;)V
    .registers 2

    iget p1, p0, Lz5/at1;->i1:I

    add-int/lit8 p1, p1, 0x1

    iput p1, p0, Lz5/at1;->i1:I

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

    return-void
.end method

.method public final K()V
    .registers 2

    const/4 v0, 0x0

    iput-boolean v0, p0, Lz5/at1;->a1:Z

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

    return-void
.end method

.method public final M(JJLz5/tl1;Ljava/nio/ByteBuffer;IIIJZZLz5/x2;)Z
    .registers 39

    move-object/from16 v0, p0

    move-wide/from16 v1, p1

    move-object/from16 v3, p5

    move/from16 v4, p7

    move-wide/from16 v5, p10

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

    iget-wide v7, v0, Lz5/at1;->d1:J

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

    cmp-long v7, v7, v9

    if-nez v7, :cond_1a

    iput-wide v1, v0, Lz5/at1;->d1:J

    :cond_1a
    iget-wide v7, v0, Lz5/at1;->j1:J

    cmp-long v7, v5, v7

    const-wide/16 v13, 0x3e8

    const-wide/16 v15, -0x1

    const/4 v8, 0x0

    if-eqz v7, :cond_b7

    iget-object v7, v0, Lz5/at1;->Q0:Lz5/ht1;

    .line 1
    iget-wide v11, v7, Lz5/ht1;->n:J

    cmp-long v17, v11, v15

    if-eqz v17, :cond_33

    iput-wide v11, v7, Lz5/ht1;->p:J

    iget-wide v11, v7, Lz5/ht1;->o:J

    iput-wide v11, v7, Lz5/ht1;->q:J

    :cond_33
    iget-wide v11, v7, Lz5/ht1;->m:J

    const-wide/16 v17, 0x1

    add-long v11, v11, v17

    iput-wide v11, v7, Lz5/ht1;->m:J

    iget-object v11, v7, Lz5/ht1;->a:Lz5/ys1;

    mul-long v9, v5, v13

    .line 2
    iget-object v12, v11, Lz5/ys1;->a:Lz5/xs1;

    invoke-virtual {v12, v9, v10}, Lz5/xs1;->c(J)V

    iget-object v12, v11, Lz5/ys1;->a:Lz5/xs1;

    invoke-virtual {v12}, Lz5/xs1;->b()Z

    move-result v12

    if-eqz v12, :cond_4f

    iput-boolean v8, v11, Lz5/ys1;->c:Z

    goto :goto_8a

    :cond_4f
    iget-wide v13, v11, Lz5/ys1;->d:J

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

    cmp-long v12, v13, v17

    if-eqz v12, :cond_8a

    iget-boolean v12, v11, Lz5/ys1;->c:Z

    if-eqz v12, :cond_76

    iget-object v12, v11, Lz5/ys1;->b:Lz5/xs1;

    .line 3
    iget-wide v13, v12, Lz5/xs1;->d:J

    const-wide/16 v21, 0x0

    cmp-long v23, v13, v21

    if-nez v23, :cond_6a

    move v12, v8

    goto :goto_74

    :cond_6a
    iget-object v12, v12, Lz5/xs1;->g:[Z

    add-long/2addr v13, v15

    const-wide/16 v21, 0xf

    rem-long v13, v13, v21

    long-to-int v13, v13

    aget-boolean v12, v12, v13

    :goto_74
    if-eqz v12, :cond_82

    .line 4
    :cond_76
    iget-object v12, v11, Lz5/ys1;->b:Lz5/xs1;

    invoke-virtual {v12}, Lz5/xs1;->a()V

    iget-object v12, v11, Lz5/ys1;->b:Lz5/xs1;

    iget-wide v13, v11, Lz5/ys1;->d:J

    invoke-virtual {v12, v13, v14}, Lz5/xs1;->c(J)V

    :cond_82
    const/4 v12, 0x1

    iput-boolean v12, v11, Lz5/ys1;->c:Z

    iget-object v12, v11, Lz5/ys1;->b:Lz5/xs1;

    invoke-virtual {v12, v9, v10}, Lz5/xs1;->c(J)V

    :cond_8a
    :goto_8a
    iget-boolean v12, v11, Lz5/ys1;->c:Z

    if-eqz v12, :cond_a0

    iget-object v12, v11, Lz5/ys1;->b:Lz5/xs1;

    invoke-virtual {v12}, Lz5/xs1;->b()Z

    move-result v12

    if-eqz v12, :cond_a0

    iget-object v12, v11, Lz5/ys1;->a:Lz5/xs1;

    iget-object v13, v11, Lz5/ys1;->b:Lz5/xs1;

    iput-object v13, v11, Lz5/ys1;->a:Lz5/xs1;

    iput-object v12, v11, Lz5/ys1;->b:Lz5/xs1;

    iput-boolean v8, v11, Lz5/ys1;->c:Z

    :cond_a0
    iput-wide v9, v11, Lz5/ys1;->d:J

    iget-object v9, v11, Lz5/ys1;->a:Lz5/xs1;

    invoke-virtual {v9}, Lz5/xs1;->b()Z

    move-result v9

    if-eqz v9, :cond_ac

    move v9, v8

    goto :goto_b0

    :cond_ac
    iget v9, v11, Lz5/ys1;->e:I

    const/4 v10, 0x1

    add-int/2addr v9, v10

    :goto_b0
    iput v9, v11, Lz5/ys1;->e:I

    .line 5
    invoke-virtual {v7}, Lz5/ht1;->b()V

    .line 6
    iput-wide v5, v0, Lz5/at1;->j1:J

    .line 7
    :cond_b7
    iget-wide v9, v0, Lz5/db1;->J0:J

    if-eqz p12, :cond_c3

    if-eqz p13, :cond_be

    goto :goto_c3

    .line 8
    :cond_be
    invoke-virtual {v0, v3, v4}, Lz5/at1;->A0(Lz5/tl1;I)V

    const/4 v1, 0x1

    return v1

    .line 9
    :cond_c3
    :goto_c3
    iget v7, v0, Lz5/db1;->R:F

    .line 10
    iget v11, v0, Lz5/u1;->v:I

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

    move-result-wide v12

    const-wide/16 v19, 0x3e8

    mul-long v12, v12, v19

    sub-long/2addr v5, v1

    long-to-double v5, v5

    move-wide/from16 v21, v9

    float-to-double v8, v7

    div-double/2addr v5, v8

    double-to-long v5, v5

    const/4 v7, 0x2

    if-ne v11, v7, :cond_dc

    sub-long v8, v12, p3

    sub-long/2addr v5, v8

    :cond_dc
    iget-object v8, v0, Lz5/at1;->W0:Landroid/view/Surface;

    iget-object v9, v0, Lz5/at1;->X0:Lz5/ws1;

    if-ne v8, v9, :cond_f2

    invoke-static {v5, v6}, Lz5/at1;->u0(J)Z

    move-result v1

    if-eqz v1, :cond_f0

    invoke-virtual {v0, v3, v4}, Lz5/at1;->A0(Lz5/tl1;I)V

    invoke-virtual {v0, v5, v6}, Lz5/at1;->y0(J)V

    const/4 v1, 0x1

    return v1

    :cond_f0
    const/4 v1, 0x0

    return v1

    :cond_f2
    iget-wide v8, v0, Lz5/at1;->k1:J

    sub-long/2addr v12, v8

    iget-boolean v8, v0, Lz5/at1;->c1:Z

    if-nez v8, :cond_100

    if-eq v11, v7, :cond_104

    iget-boolean v8, v0, Lz5/at1;->b1:Z

    if-eqz v8, :cond_106

    goto :goto_104

    :cond_100
    iget-boolean v8, v0, Lz5/at1;->a1:Z

    if-nez v8, :cond_106

    :cond_104
    :goto_104
    const/4 v8, 0x1

    goto :goto_107

    :cond_106
    const/4 v8, 0x0

    :goto_107
    iget-wide v9, v0, Lz5/at1;->e1:J

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

    cmp-long v9, v9, v17

    const/16 v10, 0x15

    if-nez v9, :cond_13d

    cmp-long v9, v1, v21

    if-ltz v9, :cond_13d

    if-nez v8, :cond_129

    if-ne v11, v7, :cond_13d

    invoke-static {v5, v6}, Lz5/at1;->u0(J)Z

    move-result v8

    if-eqz v8, :cond_13d

    const-wide/32 v8, 0x186a0

    cmp-long v8, v12, v8

    if-lez v8, :cond_13d

    :cond_129
    invoke-static {}, Ljava/lang/System;->nanoTime()J

    move-result-wide v1

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

    if-lt v7, v10, :cond_135

    invoke-virtual {v0, v3, v4, v1, v2}, Lz5/at1;->w0(Lz5/tl1;IJ)V

    goto :goto_138

    :cond_135
    invoke-virtual {v0, v3, v4}, Lz5/at1;->q0(Lz5/tl1;I)V

    :goto_138
    invoke-virtual {v0, v5, v6}, Lz5/at1;->y0(J)V

    const/4 v1, 0x1

    return v1

    :cond_13d
    if-ne v11, v7, :cond_29b

    iget-wide v7, v0, Lz5/at1;->d1:J

    cmp-long v7, v1, v7

    if-nez v7, :cond_147

    goto/16 :goto_29b

    :cond_147
    invoke-static {}, Ljava/lang/System;->nanoTime()J

    move-result-wide v7

    iget-object v9, v0, Lz5/at1;->Q0:Lz5/ht1;

    const-wide/16 v11, 0x3e8

    mul-long/2addr v5, v11

    add-long/2addr v5, v7

    .line 12
    iget-wide v11, v9, Lz5/ht1;->p:J

    cmp-long v11, v11, v15

    if-eqz v11, :cond_1a3

    iget-object v11, v9, Lz5/ht1;->a:Lz5/ys1;

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

    move-result v11

    if-eqz v11, :cond_1a3

    iget-object v11, v9, Lz5/ht1;->a:Lz5/ys1;

    .line 13
    iget-object v12, v11, Lz5/ys1;->a:Lz5/xs1;

    invoke-virtual {v12}, Lz5/xs1;->b()Z

    move-result v12

    if-eqz v12, :cond_17a

    iget-object v11, v11, Lz5/ys1;->a:Lz5/xs1;

    .line 14
    iget-wide v12, v11, Lz5/xs1;->e:J

    const-wide/16 v14, 0x0

    cmp-long v16, v12, v14

    if-nez v16, :cond_175

    move-wide v11, v14

    goto :goto_17f

    :cond_175
    iget-wide v14, v11, Lz5/xs1;->f:J

    div-long v11, v14, v12

    goto :goto_17f

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

    .line 15
    :goto_17f
    iget-wide v13, v9, Lz5/ht1;->q:J

    move-wide/from16 p8, v11

    iget-wide v10, v9, Lz5/ht1;->m:J

    iget-wide v3, v9, Lz5/ht1;->p:J

    sub-long/2addr v10, v3

    move-wide/from16 v3, p8

    mul-long/2addr v10, v3

    long-to-float v3, v10

    iget v4, v9, Lz5/ht1;->i:F

    div-float/2addr v3, v4

    float-to-long v3, v3

    add-long/2addr v13, v3

    sub-long v3, v5, v13

    invoke-static {v3, v4}, Ljava/lang/Math;->abs(J)J

    move-result-wide v3

    const-wide/32 v10, 0x1312d00

    cmp-long v3, v3, v10

    if-gtz v3, :cond_1a0

    move-wide v5, v13

    goto :goto_1a3

    :cond_1a0
    invoke-virtual {v9}, Lz5/ht1;->a()V

    :cond_1a3
    :goto_1a3
    iget-wide v3, v9, Lz5/ht1;->m:J

    iput-wide v3, v9, Lz5/ht1;->n:J

    iput-wide v5, v9, Lz5/ht1;->o:J

    iget-object v3, v9, Lz5/ht1;->c:Lz5/gt1;

    if-eqz v3, :cond_1de

    iget-wide v10, v9, Lz5/ht1;->k:J

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

    cmp-long v4, v10, v12

    if-nez v4, :cond_1b9

    goto :goto_1de

    :cond_1b9
    iget-wide v3, v3, Lz5/gt1;->r:J

    cmp-long v10, v3, v12

    if-nez v10, :cond_1c0

    goto :goto_1de

    :cond_1c0
    iget-wide v10, v9, Lz5/ht1;->k:J

    sub-long v12, v5, v3

    div-long/2addr v12, v10

    mul-long/2addr v12, v10

    add-long/2addr v12, v3

    cmp-long v3, v5, v12

    if-gtz v3, :cond_1ce

    sub-long v3, v12, v10

    goto :goto_1d1

    :cond_1ce
    add-long/2addr v10, v12

    move-wide v3, v12

    move-wide v12, v10

    :goto_1d1
    sub-long v10, v12, v5

    sub-long/2addr v5, v3

    cmp-long v5, v10, v5

    if-gez v5, :cond_1d9

    goto :goto_1da

    :cond_1d9
    move-wide v12, v3

    :goto_1da
    iget-wide v3, v9, Lz5/ht1;->l:J

    sub-long v5, v12, v3

    :cond_1de
    :goto_1de
    sub-long v3, v5, v7

    const-wide/16 v7, 0x3e8

    .line 16
    div-long/2addr v3, v7

    iget-wide v7, v0, Lz5/at1;->e1:J

    const-wide/32 v9, -0x7a120

    cmp-long v9, v3, v9

    if-gez v9, :cond_225

    if-nez p13, :cond_225

    .line 17
    iget-object v9, v0, Lz5/u1;->w:Lz5/qq1;

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

    iget-wide v10, v0, Lz5/u1;->y:J

    sub-long/2addr v1, v10

    invoke-interface {v9, v1, v2}, Lz5/qq1;->b(J)I

    move-result v1

    if-nez v1, :cond_1fd

    goto :goto_225

    .line 18
    :cond_1fd
    iget-object v2, v0, Lz5/db1;->H0:Lz5/lg;

    iget v3, v2, Lz5/lg;->i:I

    const/4 v4, 0x1

    add-int/2addr v3, v4

    iput v3, v2, Lz5/lg;->i:I

    iget v3, v0, Lz5/at1;->i1:I

    add-int/2addr v3, v1

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

    cmp-long v1, v7, v4

    if-eqz v1, :cond_217

    iget v1, v2, Lz5/lg;->f:I

    add-int/2addr v1, v3

    iput v1, v2, Lz5/lg;->f:I

    goto :goto_21a

    :cond_217
    invoke-virtual {v0, v3}, Lz5/at1;->r0(I)V

    .line 19
    :goto_21a
    invoke-virtual/range {p0 .. p0}, Lz5/db1;->Q()Z

    move-result v1

    if-eqz v1, :cond_223

    invoke-virtual/range {p0 .. p0}, Lz5/db1;->N()V

    :cond_223
    const/4 v1, 0x0

    return v1

    .line 20
    :cond_225
    :goto_225
    invoke-static {v3, v4}, Lz5/at1;->u0(J)Z

    move-result v1

    if-eqz v1, :cond_259

    if-nez p13, :cond_259

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

    cmp-long v1, v7, v1

    if-eqz v1, :cond_23f

    move-object/from16 v1, p5

    move/from16 v2, p7

    invoke-virtual {v0, v1, v2}, Lz5/at1;->A0(Lz5/tl1;I)V

    const/4 v7, 0x1

    goto :goto_255

    :cond_23f
    move-object/from16 v1, p5

    move/from16 v2, p7

    const-string v5, "dropVideoBuffer"

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

    .line 21
    iget-object v1, v1, Lz5/tl1;->a:Landroid/media/MediaCodec;

    const/4 v5, 0x0

    invoke-virtual {v1, v2, v5}, Landroid/media/MediaCodec;->releaseOutputBuffer(IZ)V

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

    const/4 v7, 0x1

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

    :goto_255
    invoke-virtual {v0, v3, v4}, Lz5/at1;->y0(J)V

    return v7

    :cond_259
    move-object/from16 v1, p5

    move/from16 v2, p7

    const/4 v7, 0x1

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

    const/16 v9, 0x15

    if-lt v8, v9, :cond_272

    const-wide/32 v8, 0xc350

    cmp-long v8, v3, v8

    if-gez v8, :cond_299

    invoke-virtual {v0, v1, v2, v5, v6}, Lz5/at1;->w0(Lz5/tl1;IJ)V

    invoke-virtual {v0, v3, v4}, Lz5/at1;->y0(J)V

    return v7

    :cond_272
    const-wide/16 v5, 0x7530

    cmp-long v5, v3, v5

    if-gez v5, :cond_299

    const-wide/16 v5, 0x2af8

    cmp-long v5, v3, v5

    if-lez v5, :cond_291

    const-wide/16 v5, -0x2710

    add-long/2addr v5, v3

    const-wide/16 v7, 0x3e8

    :try_start_283
    div-long/2addr v5, v7

    invoke-static {v5, v6}, Ljava/lang/Thread;->sleep(J)V
    :try_end_287
    .catch Ljava/lang/InterruptedException; {:try_start_283 .. :try_end_287} :catch_288

    goto :goto_291

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

    move-result-object v1

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

    const/4 v1, 0x0

    return v1

    :cond_291
    :goto_291
    invoke-virtual {v0, v1, v2}, Lz5/at1;->q0(Lz5/tl1;I)V

    invoke-virtual {v0, v3, v4}, Lz5/at1;->y0(J)V

    const/4 v1, 0x1

    return v1

    :cond_299
    const/4 v1, 0x0

    return v1

    :cond_29b
    :goto_29b
    const/4 v1, 0x0

    return v1
.end method

.method public final O(Lz5/ja1;)Z
    .registers 3

    iget-object v0, p0, Lz5/at1;->W0:Landroid/view/Surface;

    if-nez v0, :cond_d

    invoke-virtual {p0, p1}, Lz5/at1;->t0(Lz5/ja1;)Z

    move-result p1

    if-eqz p1, :cond_b

    goto :goto_d

    :cond_b
    const/4 p1, 0x0

    return p1

    :cond_d
    :goto_d
    const/4 p1, 0x1

    return p1
.end method

.method public final R()V
    .registers 2

    invoke-super {p0}, Lz5/db1;->R()V

    const/4 v0, 0x0

    iput v0, p0, Lz5/at1;->i1:I

    return-void
.end method

.method public final T(Ljava/lang/Throwable;Lz5/ja1;)Lz5/x91;
    .registers 5

    new-instance v0, Lz5/zs1;

    iget-object v1, p0, Lz5/at1;->W0:Landroid/view/Surface;

    invoke-direct {v0, p1, p2, v1}, Lz5/zs1;-><init>(Ljava/lang/Throwable;Lz5/ja1;Landroid/view/Surface;)V

    return-object v0
.end method

.method public final U(Lcom/google/android/gms/internal/ads/b;)V
    .registers 9
    .annotation build Landroid/annotation/TargetApi;
        value = 0x1d
    .end annotation

    iget-boolean v0, p0, Lz5/at1;->V0:Z

    if-nez v0, :cond_5

    return-void

    :cond_5
    iget-object p1, p1, Lcom/google/android/gms/internal/ads/b;->f:Ljava/nio/ByteBuffer;

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

    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->remaining()I

    move-result v0

    const/4 v1, 0x7

    if-lt v0, v1, :cond_56

    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->get()B

    move-result v0

    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->getShort()S

    move-result v1

    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->getShort()S

    move-result v2

    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->get()B

    move-result v3

    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->get()B

    move-result v4

    const/4 v5, 0x0

    invoke-virtual {p1, v5}, Ljava/nio/ByteBuffer;->position(I)Ljava/nio/Buffer;

    const/16 v6, -0x4b

    if-ne v0, v6, :cond_56

    const/16 v0, 0x3c

    if-ne v1, v0, :cond_56

    const/4 v0, 0x1

    if-ne v2, v0, :cond_56

    const/4 v0, 0x4

    if-ne v3, v0, :cond_56

    if-nez v4, :cond_56

    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->remaining()I

    move-result v0

    new-array v0, v0, [B

    invoke-virtual {p1, v0}, Ljava/nio/ByteBuffer;->get([B)Ljava/nio/ByteBuffer;

    invoke-virtual {p1, v5}, Ljava/nio/ByteBuffer;->position(I)Ljava/nio/Buffer;

    .line 1
    iget-object p1, p0, Lz5/db1;->L0:Lz5/tl1;

    .line 2
    new-instance v1, Landroid/os/Bundle;

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

    const-string v2, "hdr10-plus-info"

    invoke-virtual {v1, v2, v0}, Landroid/os/Bundle;->putByteArray(Ljava/lang/String;[B)V

    .line 3
    iget-object p1, p1, Lz5/tl1;->a:Landroid/media/MediaCodec;

    invoke-virtual {p1, v1}, Landroid/media/MediaCodec;->setParameters(Landroid/os/Bundle;)V

    :cond_56
    return-void
.end method

.method public final V(J)V
    .registers 3

    invoke-super {p0, p1, p2}, Lz5/db1;->V(J)V

    iget p1, p0, Lz5/at1;->i1:I

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

    iput p1, p0, Lz5/at1;->i1:I

    return-void
.end method

.method public final c(ILjava/lang/Object;)V
    .registers 8

    const/4 v0, 0x1

    if-eq p1, v0, :cond_49

    const/4 v1, 0x7

    if-eq p1, v1, :cond_44

    const/16 v1, 0xa

    if-eq p1, v1, :cond_37

    const/4 v1, 0x4

    if-eq p1, v1, :cond_25

    const/4 v1, 0x5

    if-eq p1, v1, :cond_12

    goto/16 :goto_103

    :cond_12
    iget-object p1, p0, Lz5/at1;->Q0:Lz5/ht1;

    check-cast p2, Ljava/lang/Integer;

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

    move-result p2

    .line 1
    iget v1, p1, Lz5/ht1;->j:I

    if-ne v1, p2, :cond_1f

    goto :goto_24

    :cond_1f
    iput p2, p1, Lz5/ht1;->j:I

    invoke-virtual {p1, v0}, Lz5/ht1;->c(Z)V

    :goto_24
    return-void

    .line 2
    :cond_25
    check-cast p2, Ljava/lang/Integer;

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

    move-result p1

    iput p1, p0, Lz5/at1;->Z0:I

    .line 3
    iget-object p2, p0, Lz5/db1;->L0:Lz5/tl1;

    if-eqz p2, :cond_103

    .line 4
    iget-object p2, p2, Lz5/tl1;->a:Landroid/media/MediaCodec;

    invoke-virtual {p2, p1}, Landroid/media/MediaCodec;->setVideoScalingMode(I)V

    return-void

    .line 5
    :cond_37
    check-cast p2, Ljava/lang/Integer;

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

    move-result p1

    iget p2, p0, Lz5/at1;->s1:I

    if-eq p2, p1, :cond_103

    iput p1, p0, Lz5/at1;->s1:I

    return-void

    :cond_44
    check-cast p2, Lz5/ct1;

    iput-object p2, p0, Lz5/at1;->t1:Lz5/ct1;

    return-void

    :cond_49
    instance-of p1, p2, Landroid/view/Surface;

    const/4 v1, 0x0

    if-eqz p1, :cond_51

    check-cast p2, Landroid/view/Surface;

    goto :goto_52

    :cond_51
    move-object p2, v1

    :goto_52
    if-nez p2, :cond_6e

    iget-object p1, p0, Lz5/at1;->X0:Lz5/ws1;

    if-eqz p1, :cond_5a

    move-object p2, p1

    goto :goto_6e

    .line 6
    :cond_5a
    iget-object p1, p0, Lz5/db1;->Z:Lz5/ja1;

    if-eqz p1, :cond_6e

    .line 7
    invoke-virtual {p0, p1}, Lz5/at1;->t0(Lz5/ja1;)Z

    move-result v2

    if-eqz v2, :cond_6e

    iget-object p2, p0, Lz5/at1;->P0:Landroid/content/Context;

    iget-boolean p1, p1, Lz5/ja1;->f:Z

    invoke-static {p2, p1}, Lz5/ws1;->b(Landroid/content/Context;Z)Lz5/ws1;

    move-result-object p2

    iput-object p2, p0, Lz5/at1;->X0:Lz5/ws1;

    :cond_6e
    :goto_6e
    iget-object p1, p0, Lz5/at1;->W0:Landroid/view/Surface;

    if-eq p1, p2, :cond_de

    iput-object p2, p0, Lz5/at1;->W0:Landroid/view/Surface;

    iget-object p1, p0, Lz5/at1;->Q0:Lz5/ht1;

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

    .line 8
    instance-of v2, p2, Lz5/ws1;

    if-ne v0, v2, :cond_7f

    move-object v2, v1

    goto :goto_80

    :cond_7f
    move-object v2, p2

    :goto_80
    iget-object v3, p1, Lz5/ht1;->e:Landroid/view/Surface;

    if-ne v3, v2, :cond_85

    goto :goto_8d

    :cond_85
    invoke-virtual {p1}, Lz5/ht1;->d()V

    iput-object v2, p1, Lz5/ht1;->e:Landroid/view/Surface;

    invoke-virtual {p1, v0}, Lz5/ht1;->c(Z)V

    :goto_8d
    const/4 p1, 0x0

    .line 9
    iput-boolean p1, p0, Lz5/at1;->Y0:Z

    .line 10
    iget v0, p0, Lz5/u1;->v:I

    .line 11
    iget-object v2, p0, Lz5/db1;->L0:Lz5/tl1;

    if-eqz v2, :cond_ae

    .line 12
    sget v3, Lz5/r7;->a:I

    const/16 v4, 0x17

    if-lt v3, v4, :cond_a8

    if-eqz p2, :cond_a8

    iget-boolean v3, p0, Lz5/at1;->U0:Z

    if-nez v3, :cond_a8

    .line 13
    iget-object v2, v2, Lz5/tl1;->a:Landroid/media/MediaCodec;

    invoke-virtual {v2, p2}, Landroid/media/MediaCodec;->setOutputSurface(Landroid/view/Surface;)V

    goto :goto_ae

    .line 14
    :cond_a8
    invoke-virtual {p0}, Lz5/db1;->P()V

    invoke-virtual {p0}, Lz5/db1;->N()V

    :cond_ae
    :goto_ae
    if-eqz p2, :cond_d7

    iget-object v2, p0, Lz5/at1;->X0:Lz5/ws1;

    if-eq p2, v2, :cond_d7

    .line 15
    iget-object p2, p0, Lz5/at1;->r1:Lz5/e02;

    if-eqz p2, :cond_c8

    iget-object v1, p0, Lz5/at1;->R0:Lcom/google/android/gms/internal/ads/k0;

    .line 16
    iget-object v2, v1, Lcom/google/android/gms/internal/ads/k0;->s:Ljava/lang/Object;

    check-cast v2, Landroid/os/Handler;

    if-eqz v2, :cond_c8

    new-instance v3, Lz5/w8;

    invoke-direct {v3, v1, p2}, Lz5/w8;-><init>(Lcom/google/android/gms/internal/ads/k0;Lz5/e02;)V

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

    .line 17
    :cond_c8
    iput-boolean p1, p0, Lz5/at1;->a1:Z

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

    const/4 p1, 0x2

    if-ne v0, p1, :cond_103

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

    iput-wide p1, p0, Lz5/at1;->e1:J

    return-void

    :cond_d7
    iput-object v1, p0, Lz5/at1;->r1:Lz5/e02;

    iput-boolean p1, p0, Lz5/at1;->a1:Z

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

    return-void

    :cond_de
    if-eqz p2, :cond_103

    iget-object p1, p0, Lz5/at1;->X0:Lz5/ws1;

    if-eq p2, p1, :cond_103

    .line 18
    iget-object p1, p0, Lz5/at1;->r1:Lz5/e02;

    if-eqz p1, :cond_f8

    iget-object p2, p0, Lz5/at1;->R0:Lcom/google/android/gms/internal/ads/k0;

    .line 19
    iget-object v0, p2, Lcom/google/android/gms/internal/ads/k0;->s:Ljava/lang/Object;

    check-cast v0, Landroid/os/Handler;

    if-eqz v0, :cond_f8

    new-instance v1, Lz5/w8;

    invoke-direct {v1, p2, p1}, Lz5/w8;-><init>(Lcom/google/android/gms/internal/ads/k0;Lz5/e02;)V

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

    .line 20
    :cond_f8
    iget-boolean p1, p0, Lz5/at1;->Y0:Z

    if-eqz p1, :cond_103

    iget-object p1, p0, Lz5/at1;->R0:Lcom/google/android/gms/internal/ads/k0;

    iget-object p2, p0, Lz5/at1;->W0:Landroid/view/Surface;

    invoke-virtual {p1, p2}, Lcom/google/android/gms/internal/ads/k0;->f(Ljava/lang/Object;)V

    :cond_103
    :goto_103
    return-void
.end method

.method public final d0(Lz5/ac1;Lz5/x2;)I
    .registers 8

    iget-object v0, p2, Lz5/x2;->k:Ljava/lang/String;

    invoke-static {v0}, Lz5/d7;->b(Ljava/lang/String;)Z

    move-result v0

    const/4 v1, 0x0

    if-nez v0, :cond_a

    return v1

    :cond_a
    iget-object v0, p2, Lz5/x2;->n:Lcom/google/android/gms/internal/ads/f9;

    const/4 v2, 0x1

    if-eqz v0, :cond_11

    move v0, v2

    goto :goto_12

    :cond_11
    move v0, v1

    :goto_12
    invoke-static {p1, p2, v0, v1}, Lz5/at1;->s0(Lz5/ac1;Lz5/x2;ZZ)Ljava/util/List;

    move-result-object v3

    if-eqz v0, :cond_22

    invoke-interface {v3}, Ljava/util/List;->isEmpty()Z

    move-result v4

    if-eqz v4, :cond_22

    invoke-static {p1, p2, v1, v1}, Lz5/at1;->s0(Lz5/ac1;Lz5/x2;ZZ)Ljava/util/List;

    move-result-object v3

    :cond_22
    invoke-interface {v3}, Ljava/util/List;->isEmpty()Z

    move-result v4

    if-eqz v4, :cond_29

    return v2

    .line 1
    :cond_29
    iget v4, p2, Lz5/x2;->D:I

    if-eqz v4, :cond_2f

    move v4, v1

    goto :goto_30

    :cond_2f
    move v4, v2

    :goto_30
    if-nez v4, :cond_34

    const/4 p1, 0x2

    return p1

    .line 2
    :cond_34
    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lz5/ja1;

    invoke-virtual {v3, p2}, Lz5/ja1;->c(Lz5/x2;)Z

    move-result v4

    invoke-virtual {v3, p2}, Lz5/ja1;->d(Lz5/x2;)Z

    move-result v3

    if-eq v2, v3, :cond_47

    const/16 v3, 0x8

    goto :goto_49

    :cond_47
    const/16 v3, 0x10

    :goto_49
    if-eqz v4, :cond_69

    invoke-static {p1, p2, v0, v2}, Lz5/at1;->s0(Lz5/ac1;Lz5/x2;ZZ)Ljava/util/List;

    move-result-object p1

    invoke-interface {p1}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_69

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

    move-result-object p1

    check-cast p1, Lz5/ja1;

    invoke-virtual {p1, p2}, Lz5/ja1;->c(Lz5/x2;)Z

    move-result v0

    if-eqz v0, :cond_69

    invoke-virtual {p1, p2}, Lz5/ja1;->d(Lz5/x2;)Z

    move-result p1

    if-eqz p1, :cond_69

    const/16 v1, 0x20

    :cond_69
    if-eq v2, v4, :cond_6d

    const/4 p1, 0x3

    goto :goto_6e

    :cond_6d
    const/4 p1, 0x4

    :goto_6e
    or-int/2addr p1, v3

    or-int/2addr p1, v1

    return p1
.end method

.method public final e0(Lz5/ac1;Lz5/x2;Z)Ljava/util/List;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lz5/ac1;",
            "Lz5/x2;",
            "Z)",
            "Ljava/util/List<",
            "Lz5/ja1;",
            ">;"
        }
    .end annotation

    const/4 p3, 0x0

    invoke-static {p1, p2, p3, p3}, Lz5/at1;->s0(Lz5/ac1;Lz5/x2;ZZ)Ljava/util/List;

    move-result-object p1

    return-object p1
.end method

.method public final g0(Lz5/ja1;Lz5/x2;Landroid/media/MediaCrypto;F)Lz5/x;
    .registers 26
    .annotation build Landroid/annotation/TargetApi;
        value = 0x11
    .end annotation

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    move-object/from16 v2, p2

    move/from16 v3, p4

    iget-object v4, v0, Lz5/at1;->X0:Lz5/ws1;

    const/4 v5, 0x0

    if-eqz v4, :cond_18

    iget-boolean v6, v4, Lz5/ws1;->r:Z

    iget-boolean v7, v1, Lz5/ja1;->f:Z

    if-eq v6, v7, :cond_18

    invoke-virtual {v4}, Lz5/ws1;->release()V

    iput-object v5, v0, Lz5/at1;->X0:Lz5/ws1;

    :cond_18
    iget-object v4, v1, Lz5/ja1;->c:Ljava/lang/String;

    .line 1
    iget-object v5, v0, Lz5/u1;->x:[Lz5/x2;

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

    .line 2
    iget v6, v2, Lz5/x2;->p:I

    iget v7, v2, Lz5/x2;->q:I

    invoke-static/range {p1 .. p2}, Lz5/at1;->z0(Lz5/ja1;Lz5/x2;)I

    move-result v8

    array-length v9, v5

    const/4 v10, -0x1

    const/4 v11, 0x2

    const/4 v12, 0x1

    if-ne v9, v12, :cond_47

    if-eq v8, v10, :cond_3e

    invoke-static/range {p1 .. p2}, Lz5/at1;->v0(Lz5/ja1;Lz5/x2;)I

    move-result v5

    if-eq v5, v10, :cond_3e

    int-to-float v8, v8

    const/high16 v9, 0x3fc00000    # 1.5f

    mul-float/2addr v8, v9

    float-to-int v8, v8

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

    move-result v8

    :cond_3e
    new-instance v5, Lz5/he;

    invoke-direct {v5, v6, v7, v8, v11}, Lz5/he;-><init>(IIII)V

    move-object/from16 v16, v4

    goto/16 :goto_172

    :cond_47
    const/4 v11, 0x0

    const/4 v12, 0x0

    :goto_49
    if-ge v11, v9, :cond_8d

    aget-object v13, v5, v11

    iget-object v14, v2, Lz5/x2;->w:Lcom/google/android/gms/internal/ads/e9;

    if-eqz v14, :cond_63

    iget-object v14, v13, Lz5/x2;->w:Lcom/google/android/gms/internal/ads/e9;

    if-nez v14, :cond_63

    .line 3
    new-instance v14, Lz5/w2;

    invoke-direct {v14, v13}, Lz5/w2;-><init>(Lz5/x2;)V

    .line 4
    iget-object v13, v2, Lz5/x2;->w:Lcom/google/android/gms/internal/ads/e9;

    .line 5
    iput-object v13, v14, Lz5/w2;->v:Lcom/google/android/gms/internal/ads/e9;

    .line 6
    new-instance v13, Lz5/x2;

    .line 7
    invoke-direct {v13, v14}, Lz5/x2;-><init>(Lz5/w2;)V

    .line 8
    :cond_63
    invoke-virtual {v1, v2, v13}, Lz5/ja1;->e(Lz5/x2;Lz5/x2;)Lz5/dh;

    move-result-object v14

    iget v14, v14, Lz5/dh;->d:I

    if-eqz v14, :cond_8a

    iget v14, v13, Lz5/x2;->p:I

    if-eq v14, v10, :cond_76

    iget v15, v13, Lz5/x2;->q:I

    if-ne v15, v10, :cond_74

    goto :goto_76

    :cond_74
    const/4 v15, 0x0

    goto :goto_77

    :cond_76
    :goto_76
    const/4 v15, 0x1

    :goto_77
    or-int/2addr v12, v15

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

    move-result v6

    iget v14, v13, Lz5/x2;->q:I

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

    move-result v7

    invoke-static {v1, v13}, Lz5/at1;->z0(Lz5/ja1;Lz5/x2;)I

    move-result v13

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

    move-result v8

    :cond_8a
    add-int/lit8 v11, v11, 0x1

    goto :goto_49

    :cond_8d
    if-eqz v12, :cond_16a

    const/16 v5, 0x42

    const-string v9, "Resolutions unknown. Codec max resolution: "

    const-string v10, "x"

    invoke-static {v5, v9, v6, v10, v7}, Li/a;->a(ILjava/lang/String;ILjava/lang/String;I)Ljava/lang/String;

    move-result-object v5

    const-string v9, "MediaCodecVideoRenderer"

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

    iget v5, v2, Lz5/x2;->q:I

    iget v11, v2, Lz5/x2;->p:I

    if-le v5, v11, :cond_a6

    move v12, v5

    goto :goto_a7

    :cond_a6
    move v12, v11

    :goto_a7
    if-gt v5, v11, :cond_ab

    move v13, v5

    goto :goto_ac

    :cond_ab
    move v13, v11

    :goto_ac
    int-to-float v14, v13

    int-to-float v15, v12

    div-float/2addr v14, v15

    sget-object v15, Lz5/at1;->u1:[I

    const/16 v16, 0x0

    move/from16 v3, v16

    move-object/from16 v16, v4

    :goto_b7
    const/16 v4, 0x9

    if-ge v3, v4, :cond_131

    aget v4, v15, v3

    move-object/from16 p3, v15

    int-to-float v15, v4

    mul-float/2addr v15, v14

    float-to-int v15, v15

    if-le v4, v12, :cond_131

    if-gt v15, v13, :cond_c8

    goto/16 :goto_131

    :cond_c8
    move/from16 v17, v12

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

    move/from16 v18, v13

    const/16 v13, 0x15

    if-lt v12, v13, :cond_fd

    if-gt v5, v11, :cond_d6

    move v12, v4

    goto :goto_d7

    :cond_d6
    move v12, v15

    :goto_d7
    if-gt v5, v11, :cond_da

    move v4, v15

    .line 9
    :cond_da
    iget-object v13, v1, Lz5/ja1;->d:Landroid/media/MediaCodecInfo$CodecCapabilities;

    if-nez v13, :cond_df

    goto :goto_e5

    :cond_df
    invoke-virtual {v13}, Landroid/media/MediaCodecInfo$CodecCapabilities;->getVideoCapabilities()Landroid/media/MediaCodecInfo$VideoCapabilities;

    move-result-object v13

    if-nez v13, :cond_e7

    :goto_e5
    const/4 v4, 0x0

    goto :goto_eb

    :cond_e7
    invoke-static {v13, v12, v4}, Lz5/ja1;->i(Landroid/media/MediaCodecInfo$VideoCapabilities;II)Landroid/graphics/Point;

    move-result-object v4

    .line 10
    :goto_eb
    iget v12, v2, Lz5/x2;->r:F

    iget v13, v4, Landroid/graphics/Point;->x:I

    iget v15, v4, Landroid/graphics/Point;->y:I

    move-object/from16 v20, v9

    move-object/from16 v19, v10

    float-to-double v9, v12

    invoke-virtual {v1, v13, v15, v9, v10}, Lz5/ja1;->f(IID)Z

    move-result v9

    if-eqz v9, :cond_124

    goto :goto_136

    :cond_fd
    move-object/from16 v20, v9

    move-object/from16 v19, v10

    const/16 v9, 0x10

    :try_start_103
    invoke-static {v4, v9}, Lz5/r7;->u(II)I

    move-result v4

    mul-int/2addr v4, v9

    invoke-static {v15, v9}, Lz5/r7;->u(II)I

    move-result v10

    mul-int/2addr v10, v9

    mul-int v9, v4, v10

    invoke-static {}, Lz5/jj1;->c()I

    move-result v12

    if-gt v9, v12, :cond_124

    new-instance v3, Landroid/graphics/Point;

    if-gt v5, v11, :cond_11b

    move v9, v4

    goto :goto_11c

    :cond_11b
    move v9, v10

    :goto_11c
    if-gt v5, v11, :cond_11f

    move v4, v10

    :cond_11f
    invoke-direct {v3, v9, v4}, Landroid/graphics/Point;-><init>(II)V
    :try_end_122
    .catch Lz5/uf1; {:try_start_103 .. :try_end_122} :catch_135

    move-object v4, v3

    goto :goto_136

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

    move-object/from16 v15, p3

    move/from16 v12, v17

    move/from16 v13, v18

    move-object/from16 v10, v19

    move-object/from16 v9, v20

    goto :goto_b7

    :cond_131
    :goto_131
    move-object/from16 v20, v9

    move-object/from16 v19, v10

    :catch_135
    const/4 v4, 0x0

    :goto_136
    if-eqz v4, :cond_16c

    iget v3, v4, Landroid/graphics/Point;->x:I

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

    move-result v6

    iget v3, v4, Landroid/graphics/Point;->y:I

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

    move-result v7

    .line 11
    new-instance v3, Lz5/w2;

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

    .line 12
    iput v6, v3, Lz5/w2;->o:I

    .line 13
    iput v7, v3, Lz5/w2;->p:I

    .line 14
    new-instance v4, Lz5/x2;

    .line 15
    invoke-direct {v4, v3}, Lz5/x2;-><init>(Lz5/w2;)V

    .line 16
    invoke-static {v1, v4}, Lz5/at1;->v0(Lz5/ja1;Lz5/x2;)I

    move-result v3

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

    move-result v8

    const/16 v3, 0x39

    const-string v4, "Codec max resolution adjusted to: "

    move-object/from16 v5, v19

    invoke-static {v3, v4, v6, v5, v7}, Li/a;->a(ILjava/lang/String;ILjava/lang/String;I)Ljava/lang/String;

    move-result-object v3

    move-object/from16 v4, v20

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

    goto :goto_16c

    :cond_16a
    move-object/from16 v16, v4

    :cond_16c
    :goto_16c
    new-instance v5, Lz5/he;

    const/4 v3, 0x2

    invoke-direct {v5, v6, v7, v8, v3}, Lz5/he;-><init>(IIII)V

    :goto_172
    iput-object v5, v0, Lz5/at1;->T0:Lz5/he;

    iget-boolean v3, v0, Lz5/at1;->S0:Z

    new-instance v4, Landroid/media/MediaFormat;

    invoke-direct {v4}, Landroid/media/MediaFormat;-><init>()V

    const-string v6, "mime"

    move-object/from16 v7, v16

    invoke-virtual {v4, v6, v7}, Landroid/media/MediaFormat;->setString(Ljava/lang/String;Ljava/lang/String;)V

    iget v6, v2, Lz5/x2;->p:I

    const-string v7, "width"

    invoke-virtual {v4, v7, v6}, Landroid/media/MediaFormat;->setInteger(Ljava/lang/String;I)V

    iget v6, v2, Lz5/x2;->q:I

    const-string v7, "height"

    invoke-virtual {v4, v7, v6}, Landroid/media/MediaFormat;->setInteger(Ljava/lang/String;I)V

    iget-object v6, v2, Lz5/x2;->m:Ljava/util/List;

    invoke-static {v4, v6}, Lcom/google/android/gms/internal/ads/h8;->f(Landroid/media/MediaFormat;Ljava/util/List;)V

    iget v6, v2, Lz5/x2;->r:F

    const/high16 v7, -0x40800000    # -1.0f

    cmpl-float v8, v6, v7

    if-eqz v8, :cond_1a2

    const-string v8, "frame-rate"

    invoke-virtual {v4, v8, v6}, Landroid/media/MediaFormat;->setFloat(Ljava/lang/String;F)V

    :cond_1a2
    iget v6, v2, Lz5/x2;->s:I

    const-string v8, "rotation-degrees"

    invoke-static {v4, v8, v6}, Lcom/google/android/gms/internal/ads/h8;->l(Landroid/media/MediaFormat;Ljava/lang/String;I)V

    iget-object v6, v2, Lz5/x2;->w:Lcom/google/android/gms/internal/ads/e9;

    if-eqz v6, :cond_1cf

    iget v8, v6, Lcom/google/android/gms/internal/ads/e9;->c:I

    const-string v9, "color-transfer"

    invoke-static {v4, v9, v8}, Lcom/google/android/gms/internal/ads/h8;->l(Landroid/media/MediaFormat;Ljava/lang/String;I)V

    iget v8, v6, Lcom/google/android/gms/internal/ads/e9;->a:I

    const-string v9, "color-standard"

    invoke-static {v4, v9, v8}, Lcom/google/android/gms/internal/ads/h8;->l(Landroid/media/MediaFormat;Ljava/lang/String;I)V

    iget v8, v6, Lcom/google/android/gms/internal/ads/e9;->b:I

    const-string v9, "color-range"

    invoke-static {v4, v9, v8}, Lcom/google/android/gms/internal/ads/h8;->l(Landroid/media/MediaFormat;Ljava/lang/String;I)V

    iget-object v6, v6, Lcom/google/android/gms/internal/ads/e9;->d:[B

    if-eqz v6, :cond_1cf

    invoke-static {v6}, Ljava/nio/ByteBuffer;->wrap([B)Ljava/nio/ByteBuffer;

    move-result-object v6

    const-string v8, "hdr-static-info"

    invoke-virtual {v4, v8, v6}, Landroid/media/MediaFormat;->setByteBuffer(Ljava/lang/String;Ljava/nio/ByteBuffer;)V

    :cond_1cf
    iget-object v6, v2, Lz5/x2;->k:Ljava/lang/String;

    const-string v8, "video/dolby-vision"

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

    move-result v6

    if-eqz v6, :cond_1ec

    invoke-static/range {p2 .. p2}, Lz5/jj1;->d(Lz5/x2;)Landroid/util/Pair;

    move-result-object v6

    if-eqz v6, :cond_1ec

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

    check-cast v6, Ljava/lang/Integer;

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

    move-result v6

    const-string v8, "profile"

    invoke-static {v4, v8, v6}, Lcom/google/android/gms/internal/ads/h8;->l(Landroid/media/MediaFormat;Ljava/lang/String;I)V

    :cond_1ec
    iget v6, v5, Lz5/he;->a:I

    const-string v8, "max-width"

    invoke-virtual {v4, v8, v6}, Landroid/media/MediaFormat;->setInteger(Ljava/lang/String;I)V

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

    const-string v8, "max-height"

    invoke-virtual {v4, v8, v6}, Landroid/media/MediaFormat;->setInteger(Ljava/lang/String;I)V

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

    const-string v6, "max-input-size"

    invoke-static {v4, v6, v5}, Lcom/google/android/gms/internal/ads/h8;->l(Landroid/media/MediaFormat;Ljava/lang/String;I)V

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

    const/16 v6, 0x17

    if-lt v5, v6, :cond_218

    const-string v5, "priority"

    const/4 v6, 0x0

    invoke-virtual {v4, v5, v6}, Landroid/media/MediaFormat;->setInteger(Ljava/lang/String;I)V

    move/from16 v5, p4

    cmpl-float v6, v5, v7

    if-eqz v6, :cond_218

    const-string v6, "operating-rate"

    invoke-virtual {v4, v6, v5}, Landroid/media/MediaFormat;->setFloat(Ljava/lang/String;F)V

    :cond_218
    if-eqz v3, :cond_226

    const-string v3, "no-post-process"

    const/4 v5, 0x1

    invoke-virtual {v4, v3, v5}, Landroid/media/MediaFormat;->setInteger(Ljava/lang/String;I)V

    const-string v3, "auto-frc"

    const/4 v5, 0x0

    invoke-virtual {v4, v3, v5}, Landroid/media/MediaFormat;->setInteger(Ljava/lang/String;I)V

    :cond_226
    iget-object v3, v0, Lz5/at1;->W0:Landroid/view/Surface;

    if-nez v3, :cond_249

    invoke-virtual/range {p0 .. p1}, Lz5/at1;->t0(Lz5/ja1;)Z

    move-result v3

    if-eqz v3, :cond_243

    iget-object v3, v0, Lz5/at1;->X0:Lz5/ws1;

    if-nez v3, :cond_23e

    iget-object v3, v0, Lz5/at1;->P0:Landroid/content/Context;

    iget-boolean v5, v1, Lz5/ja1;->f:Z

    invoke-static {v3, v5}, Lz5/ws1;->b(Landroid/content/Context;Z)Lz5/ws1;

    move-result-object v3

    iput-object v3, v0, Lz5/at1;->X0:Lz5/ws1;

    :cond_23e
    iget-object v3, v0, Lz5/at1;->X0:Lz5/ws1;

    iput-object v3, v0, Lz5/at1;->W0:Landroid/view/Surface;

    goto :goto_249

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

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

    throw v1

    :cond_249
    :goto_249
    iget-object v3, v0, Lz5/at1;->W0:Landroid/view/Surface;

    .line 17
    new-instance v5, Lz5/x;

    invoke-direct {v5, v1, v4, v2, v3}, Lz5/x;-><init>(Lz5/ja1;Landroid/media/MediaFormat;Lz5/x2;Landroid/view/Surface;)V

    return-object v5
.end method

.method public final h0(Lz5/ja1;Lz5/x2;Lz5/x2;)Lz5/dh;
    .registers 13

    invoke-virtual {p1, p2, p3}, Lz5/ja1;->e(Lz5/x2;Lz5/x2;)Lz5/dh;

    move-result-object v0

    iget v1, v0, Lz5/dh;->e:I

    iget v2, p3, Lz5/x2;->p:I

    iget-object v3, p0, Lz5/at1;->T0:Lz5/he;

    iget v4, v3, Lz5/he;->a:I

    if-gt v2, v4, :cond_14

    iget v2, p3, Lz5/x2;->q:I

    iget v3, v3, Lz5/he;->b:I

    if-le v2, v3, :cond_16

    :cond_14
    or-int/lit16 v1, v1, 0x100

    :cond_16
    invoke-static {p1, p3}, Lz5/at1;->z0(Lz5/ja1;Lz5/x2;)I

    move-result v2

    iget-object v3, p0, Lz5/at1;->T0:Lz5/he;

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

    if-le v2, v3, :cond_22

    or-int/lit8 v1, v1, 0x40

    :cond_22
    new-instance v8, Lz5/dh;

    iget-object v3, p1, Lz5/ja1;->a:Ljava/lang/String;

    const/4 p1, 0x0

    if-eqz v1, :cond_2c

    move v6, p1

    move v7, v1

    goto :goto_30

    :cond_2c
    iget v0, v0, Lz5/dh;->d:I

    move v7, p1

    move v6, v0

    :goto_30
    move-object v2, v8

    move-object v4, p2

    move-object v5, p3

    invoke-direct/range {v2 .. v7}, Lz5/dh;-><init>(Ljava/lang/String;Lz5/x2;Lz5/x2;II)V

    return-object v8
.end method

.method public final i0(FLz5/x2;[Lz5/x2;)F
    .registers 9

    array-length p2, p3

    const/high16 v0, -0x40800000    # -1.0f

    const/4 v1, 0x0

    move v2, v0

    :goto_5
    if-ge v1, p2, :cond_16

    aget-object v3, p3, v1

    iget v3, v3, Lz5/x2;->r:F

    cmpl-float v4, v3, v0

    if-eqz v4, :cond_13

    invoke-static {v2, v3}, Ljava/lang/Math;->max(FF)F

    move-result v2

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

    goto :goto_5

    :cond_16
    cmpl-float p2, v2, v0

    if-nez p2, :cond_1b

    return v0

    :cond_1b
    mul-float/2addr v2, p1

    return v2
.end method

.method public final j0(Ljava/lang/String;JJ)V
    .registers 15

    iget-object v1, p0, Lz5/at1;->R0:Lcom/google/android/gms/internal/ads/k0;

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

    move-object v7, v0

    check-cast v7, Landroid/os/Handler;

    if-eqz v7, :cond_15

    new-instance v8, Lz5/yi0;

    move-object v0, v8

    move-object v2, p1

    move-wide v3, p2

    move-wide v5, p4

    invoke-direct/range {v0 .. v6}, Lz5/yi0;-><init>(Lcom/google/android/gms/internal/ads/k0;Ljava/lang/String;JJ)V

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

    .line 2
    :cond_15
    invoke-static {p1}, Lz5/at1;->x0(Ljava/lang/String;)Z

    move-result p1

    iput-boolean p1, p0, Lz5/at1;->U0:Z

    .line 3
    iget-object p1, p0, Lz5/db1;->Z:Lz5/ja1;

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

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

    const/16 p3, 0x1d

    const/4 p4, 0x0

    if-lt p2, p3, :cond_46

    iget-object p2, p1, Lz5/ja1;->b:Ljava/lang/String;

    const-string p3, "video/x-vnd.on2.vp9"

    invoke-virtual {p3, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p2

    if-eqz p2, :cond_46

    invoke-virtual {p1}, Lz5/ja1;->b()[Landroid/media/MediaCodecInfo$CodecProfileLevel;

    move-result-object p1

    array-length p2, p1

    move p3, p4

    :goto_37
    if-ge p3, p2, :cond_46

    aget-object p5, p1, p3

    iget p5, p5, Landroid/media/MediaCodecInfo$CodecProfileLevel;->profile:I

    const/16 v0, 0x4000

    if-ne p5, v0, :cond_43

    const/4 p4, 0x1

    goto :goto_46

    :cond_43
    add-int/lit8 p3, p3, 0x1

    goto :goto_37

    :cond_46
    :goto_46
    iput-boolean p4, p0, Lz5/at1;->V0:Z

    return-void
.end method

.method public final k0(Ljava/lang/String;)V
    .registers 5

    iget-object v0, p0, Lz5/at1;->R0:Lcom/google/android/gms/internal/ads/k0;

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

    check-cast v1, Landroid/os/Handler;

    if-eqz v1, :cond_10

    new-instance v2, Lz5/j2;

    invoke-direct {v2, v0, p1}, Lz5/j2;-><init>(Lcom/google/android/gms/internal/ads/k0;Ljava/lang/String;)V

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

    :cond_10
    return-void
.end method

.method public final l(FF)V
    .registers 3

    .line 1
    iput p1, p0, Lz5/db1;->R:F

    iput p2, p0, Lz5/db1;->S:F

    iget-object p2, p0, Lz5/db1;->T:Lz5/x2;

    invoke-virtual {p0, p2}, Lz5/db1;->X(Lz5/x2;)Z

    .line 2
    iget-object p2, p0, Lz5/at1;->Q0:Lz5/ht1;

    .line 3
    iput p1, p2, Lz5/ht1;->i:F

    invoke-virtual {p2}, Lz5/ht1;->a()V

    const/4 p1, 0x0

    invoke-virtual {p2, p1}, Lz5/ht1;->c(Z)V

    return-void
.end method

.method public final l0(Ljava/lang/Exception;)V
    .registers 5

    const-string v0, "MediaCodecVideoRenderer"

    const-string v1, "Video codec error"

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

    iget-object v0, p0, Lz5/at1;->R0:Lcom/google/android/gms/internal/ads/k0;

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

    check-cast v1, Landroid/os/Handler;

    if-eqz v1, :cond_17

    new-instance v2, Ll5/m;

    invoke-direct {v2, v0, p1}, Ll5/m;-><init>(Lcom/google/android/gms/internal/ads/k0;Ljava/lang/Exception;)V

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

    :cond_17
    return-void
.end method

.method public final m0(Landroidx/appcompat/widget/n;)Lz5/dh;
    .registers 6

    invoke-super {p0, p1}, Lz5/db1;->m0(Landroidx/appcompat/widget/n;)Lz5/dh;

    move-result-object v0

    iget-object v1, p0, Lz5/at1;->R0:Lcom/google/android/gms/internal/ads/k0;

    iget-object p1, p1, Landroidx/appcompat/widget/n;->s:Ljava/lang/Object;

    check-cast p1, Lz5/x2;

    .line 1
    iget-object v2, v1, Lcom/google/android/gms/internal/ads/k0;->s:Ljava/lang/Object;

    check-cast v2, Landroid/os/Handler;

    if-eqz v2, :cond_18

    new-instance v3, Lz5/i3;

    invoke-direct {v3, v1, p1, v0}, Lz5/i3;-><init>(Lcom/google/android/gms/internal/ads/k0;Lz5/x2;Lz5/dh;)V

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

    :cond_18
    return-object v0
.end method

.method public final n0(Lz5/x2;Landroid/media/MediaFormat;)V
    .registers 10

    .line 1
    iget-object v0, p0, Lz5/db1;->L0:Lz5/tl1;

    if-eqz v0, :cond_b

    .line 2
    iget v1, p0, Lz5/at1;->Z0:I

    .line 3
    iget-object v0, v0, Lz5/tl1;->a:Landroid/media/MediaCodec;

    invoke-virtual {v0, v1}, Landroid/media/MediaCodec;->setVideoScalingMode(I)V

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

    const-string v0, "crop-right"

    invoke-virtual {p2, v0}, Landroid/media/MediaFormat;->containsKey(Ljava/lang/String;)Z

    move-result v1

    const-string v2, "crop-top"

    const-string v3, "crop-bottom"

    const-string v4, "crop-left"

    const/4 v5, 0x1

    const/4 v6, 0x0

    if-eqz v1, :cond_32

    invoke-virtual {p2, v4}, Landroid/media/MediaFormat;->containsKey(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_32

    invoke-virtual {p2, v3}, Landroid/media/MediaFormat;->containsKey(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_32

    invoke-virtual {p2, v2}, Landroid/media/MediaFormat;->containsKey(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_32

    move v1, v5

    goto :goto_33

    :cond_32
    move v1, v6

    :goto_33
    if-eqz v1, :cond_40

    invoke-virtual {p2, v0}, Landroid/media/MediaFormat;->getInteger(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {p2, v4}, Landroid/media/MediaFormat;->getInteger(Ljava/lang/String;)I

    move-result v4

    sub-int/2addr v0, v4

    add-int/2addr v0, v5

    goto :goto_46

    :cond_40
    const-string v0, "width"

    invoke-virtual {p2, v0}, Landroid/media/MediaFormat;->getInteger(Ljava/lang/String;)I

    move-result v0

    :goto_46
    iput v0, p0, Lz5/at1;->n1:I

    if-eqz v1, :cond_55

    invoke-virtual {p2, v3}, Landroid/media/MediaFormat;->getInteger(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {p2, v2}, Landroid/media/MediaFormat;->getInteger(Ljava/lang/String;)I

    move-result p2

    sub-int/2addr v0, p2

    add-int/2addr v0, v5

    goto :goto_5b

    :cond_55
    const-string v0, "height"

    invoke-virtual {p2, v0}, Landroid/media/MediaFormat;->getInteger(Ljava/lang/String;)I

    move-result v0

    :goto_5b
    iput v0, p0, Lz5/at1;->o1:I

    iget p2, p1, Lz5/x2;->t:F

    iput p2, p0, Lz5/at1;->q1:F

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

    const/16 v2, 0x15

    if-lt v1, v2, :cond_7d

    iget v1, p1, Lz5/x2;->s:I

    const/16 v2, 0x5a

    if-eq v1, v2, :cond_71

    const/16 v2, 0x10e

    if-ne v1, v2, :cond_81

    :cond_71
    iget v1, p0, Lz5/at1;->n1:I

    iput v0, p0, Lz5/at1;->n1:I

    iput v1, p0, Lz5/at1;->o1:I

    const/high16 v0, 0x3f800000    # 1.0f

    div-float/2addr v0, p2

    iput v0, p0, Lz5/at1;->q1:F

    goto :goto_81

    :cond_7d
    iget p2, p1, Lz5/x2;->s:I

    iput p2, p0, Lz5/at1;->p1:I

    :cond_81
    :goto_81
    iget-object p2, p0, Lz5/at1;->Q0:Lz5/ht1;

    iget p1, p1, Lz5/x2;->r:F

    .line 5
    iput p1, p2, Lz5/ht1;->f:F

    iget-object p1, p2, Lz5/ht1;->a:Lz5/ys1;

    .line 6
    iget-object v0, p1, Lz5/ys1;->a:Lz5/xs1;

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

    iget-object v0, p1, Lz5/ys1;->b:Lz5/xs1;

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

    iput-boolean v6, p1, Lz5/ys1;->c:Z

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

    iput-wide v0, p1, Lz5/ys1;->d:J

    iput v6, p1, Lz5/ys1;->e:I

    .line 7
    invoke-virtual {p2}, Lz5/ht1;->b()V

    return-void
.end method

.method public final q0(Lz5/tl1;I)V
    .registers 6

    invoke-direct {p0}, Lz5/at1;->Z()V

    const-string v0, "releaseOutputBuffer"

    invoke-static {v0}, Lz5/bd1;->b(Ljava/lang/String;)V

    .line 1
    iget-object p1, p1, Lz5/tl1;->a:Landroid/media/MediaCodec;

    const/4 v0, 0x1

    invoke-virtual {p1, p2, v0}, Landroid/media/MediaCodec;->releaseOutputBuffer(IZ)V

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

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

    move-result-wide p1

    const-wide/16 v1, 0x3e8

    mul-long/2addr p1, v1

    iput-wide p1, p0, Lz5/at1;->k1:J

    iget-object p1, p0, Lz5/db1;->H0:Lz5/lg;

    iget p2, p1, Lz5/lg;->e:I

    add-int/2addr p2, v0

    iput p2, p1, Lz5/lg;->e:I

    const/4 p1, 0x0

    iput p1, p0, Lz5/at1;->h1:I

    .line 3
    iput-boolean v0, p0, Lz5/at1;->c1:Z

    iget-boolean p1, p0, Lz5/at1;->a1:Z

    if-nez p1, :cond_35

    iput-boolean v0, p0, Lz5/at1;->a1:Z

    iget-object p1, p0, Lz5/at1;->R0:Lcom/google/android/gms/internal/ads/k0;

    iget-object p2, p0, Lz5/at1;->W0:Landroid/view/Surface;

    invoke-virtual {p1, p2}, Lcom/google/android/gms/internal/ads/k0;->f(Ljava/lang/Object;)V

    iput-boolean v0, p0, Lz5/at1;->Y0:Z

    :cond_35
    return-void
.end method

.method public final r0(I)V
    .registers 4

    iget-object v0, p0, Lz5/db1;->H0:Lz5/lg;

    iget v1, v0, Lz5/lg;->g:I

    add-int/2addr v1, p1

    iput v1, v0, Lz5/lg;->g:I

    iget v1, p0, Lz5/at1;->g1:I

    add-int/2addr v1, p1

    iput v1, p0, Lz5/at1;->g1:I

    iget v1, p0, Lz5/at1;->h1:I

    add-int/2addr v1, p1

    iput v1, p0, Lz5/at1;->h1:I

    iget p1, v0, Lz5/lg;->h:I

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

    move-result p1

    iput p1, v0, Lz5/lg;->h:I

    return-void
.end method

.method public final t0(Lz5/ja1;)Z
    .registers 6

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

    const/4 v1, 0x1

    const/4 v2, 0x0

    const/16 v3, 0x17

    if-lt v0, v3, :cond_1e

    iget-object v0, p1, Lz5/ja1;->a:Ljava/lang/String;

    invoke-static {v0}, Lz5/at1;->x0(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1e

    iget-boolean p1, p1, Lz5/ja1;->f:Z

    if-eqz p1, :cond_1f

    iget-object p1, p0, Lz5/at1;->P0:Landroid/content/Context;

    invoke-static {p1}, Lz5/ws1;->a(Landroid/content/Context;)Z

    move-result p1

    if-nez p1, :cond_1d

    goto :goto_1e

    :cond_1d
    return v1

    :cond_1e
    :goto_1e
    move v1, v2

    :cond_1f
    return v1
.end method

.method public final w0(Lz5/tl1;IJ)V
    .registers 6

    invoke-direct {p0}, Lz5/at1;->Z()V

    const-string v0, "releaseOutputBuffer"

    invoke-static {v0}, Lz5/bd1;->b(Ljava/lang/String;)V

    .line 1
    iget-object p1, p1, Lz5/tl1;->a:Landroid/media/MediaCodec;

    invoke-virtual {p1, p2, p3, p4}, Landroid/media/MediaCodec;->releaseOutputBuffer(IJ)V

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

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

    move-result-wide p1

    const-wide/16 p3, 0x3e8

    mul-long/2addr p1, p3

    iput-wide p1, p0, Lz5/at1;->k1:J

    iget-object p1, p0, Lz5/db1;->H0:Lz5/lg;

    iget p2, p1, Lz5/lg;->e:I

    const/4 p3, 0x1

    add-int/2addr p2, p3

    iput p2, p1, Lz5/lg;->e:I

    const/4 p1, 0x0

    iput p1, p0, Lz5/at1;->h1:I

    .line 3
    iput-boolean p3, p0, Lz5/at1;->c1:Z

    iget-boolean p1, p0, Lz5/at1;->a1:Z

    if-nez p1, :cond_35

    iput-boolean p3, p0, Lz5/at1;->a1:Z

    iget-object p1, p0, Lz5/at1;->R0:Lcom/google/android/gms/internal/ads/k0;

    iget-object p2, p0, Lz5/at1;->W0:Landroid/view/Surface;

    invoke-virtual {p1, p2}, Lcom/google/android/gms/internal/ads/k0;->f(Ljava/lang/Object;)V

    iput-boolean p3, p0, Lz5/at1;->Y0:Z

    :cond_35
    return-void
.end method

.method public final y0(J)V
    .registers 6

    iget-object v0, p0, Lz5/db1;->H0:Lz5/lg;

    iget-wide v1, v0, Lz5/lg;->j:J

    add-long/2addr v1, p1

    iput-wide v1, v0, Lz5/lg;->j:J

    iget v1, v0, Lz5/lg;->k:I

    add-int/lit8 v1, v1, 0x1

    iput v1, v0, Lz5/lg;->k:I

    iget-wide v0, p0, Lz5/at1;->l1:J

    add-long/2addr v0, p1

    iput-wide v0, p0, Lz5/at1;->l1:J

    iget p1, p0, Lz5/at1;->m1:I

    add-int/lit8 p1, p1, 0x1

    iput p1, p0, Lz5/at1;->m1:I

    return-void
.end method

.method public final zzc()Ljava/lang/String;
    .registers 2

    const-string v0, "MediaCodecVideoRenderer"

    return-object v0
.end method

.method public final zzx()Z
    .registers 10

    invoke-super {p0}, Lz5/db1;->zzx()Z

    move-result v0

    const/4 v1, 0x1

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

    if-eqz v0, :cond_20

    iget-boolean v0, p0, Lz5/at1;->a1:Z

    if-nez v0, :cond_1d

    iget-object v0, p0, Lz5/at1;->X0:Lz5/ws1;

    if-eqz v0, :cond_18

    iget-object v4, p0, Lz5/at1;->W0:Landroid/view/Surface;

    if-eq v4, v0, :cond_1d

    .line 1
    :cond_18
    iget-object v0, p0, Lz5/db1;->L0:Lz5/tl1;

    if-eqz v0, :cond_1d

    goto :goto_20

    .line 2
    :cond_1d
    iput-wide v2, p0, Lz5/at1;->e1:J

    return v1

    :cond_20
    :goto_20
    iget-wide v4, p0, Lz5/at1;->e1:J

    cmp-long v0, v4, v2

    const/4 v4, 0x0

    if-nez v0, :cond_28

    return v4

    :cond_28
    invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J

    move-result-wide v5

    iget-wide v7, p0, Lz5/at1;->e1:J

    cmp-long v0, v5, v7

    if-gez v0, :cond_33

    return v1

    :cond_33
    iput-wide v2, p0, Lz5/at1;->e1:J

    return v4
.end method
