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


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


# static fields
.field public static final a:Ljava/util/regex/Pattern;

.field public static final b:Ljava/util/HashMap;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/HashMap<",
            "Lz5/bf1;",
            "Ljava/util/List<",
            "Lz5/ja1;",
            ">;>;"
        }
    .end annotation
.end field

.field public static c:I


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

    const-string v0, "^\\D?(\\d+)$"

    invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;

    move-result-object v0

    sput-object v0, Lz5/jj1;->a:Ljava/util/regex/Pattern;

    new-instance v0, Ljava/util/HashMap;

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

    sput-object v0, Lz5/jj1;->b:Ljava/util/HashMap;

    const/4 v0, -0x1

    sput v0, Lz5/jj1;->c:I

    return-void
.end method

.method public static a(Ljava/lang/String;)Lz5/ja1;
    .registers 3

    const/4 v0, 0x0

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

    move-result-object p0

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

    move-result v1

    if-eqz v1, :cond_d

    const/4 p0, 0x0

    return-object p0

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

    move-result-object p0

    check-cast p0, Lz5/ja1;

    return-object p0
.end method

.method public static declared-synchronized b(Ljava/lang/String;ZZ)Ljava/util/List;
    .registers 21
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "ZZ)",
            "Ljava/util/List<",
            "Lz5/ja1;",
            ">;"
        }
    .end annotation

    move-object/from16 v0, p0

    move/from16 v1, p1

    move/from16 v2, p2

    const-class v3, Lz5/jj1;

    monitor-enter v3

    :try_start_9
    new-instance v4, Lz5/bf1;

    invoke-direct {v4, v0, v1, v2}, Lz5/bf1;-><init>(Ljava/lang/String;ZZ)V

    sget-object v5, Lz5/jj1;->b:Ljava/util/HashMap;

    invoke-virtual {v5, v4}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Ljava/util/List;
    :try_end_16
    .catchall {:try_start_9 .. :try_end_16} :catchall_122

    if-eqz v6, :cond_1a

    monitor-exit v3

    return-object v6

    :cond_1a
    :try_start_1a
    sget v6, Lz5/r7;->a:I

    const/16 v7, 0x15

    if-lt v6, v7, :cond_26

    new-instance v8, Lz5/sh1;

    invoke-direct {v8, v1, v2}, Lz5/sh1;-><init>(ZZ)V

    goto :goto_2b

    :cond_26
    new-instance v8, Lz5/dh1;

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

    :goto_2b
    invoke-static {v4, v8}, Lz5/jj1;->e(Lz5/bf1;Lz5/mg1;)Ljava/util/ArrayList;

    move-result-object v2

    const/4 v8, 0x0

    if-eqz v1, :cond_82

    invoke-virtual {v2}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v1

    if-eqz v1, :cond_82

    if-lt v6, v7, :cond_82

    const/16 v1, 0x17

    if-gt v6, v1, :cond_82

    new-instance v1, Lz5/dh1;

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

    invoke-static {v4, v1}, Lz5/jj1;->e(Lz5/bf1;Lz5/mg1;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v1

    if-nez v1, :cond_82

    invoke-virtual {v2, v8}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lz5/ja1;

    iget-object v1, v1, Lz5/ja1;->a:Ljava/lang/String;

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

    move-result-object v9

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

    move-result v9

    new-instance v10, Ljava/lang/StringBuilder;

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

    move-result v11

    add-int/lit8 v11, v11, 0x3f

    add-int/2addr v11, v9

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

    const-string v9, "MediaCodecList API didn\'t list secure decoder for: "

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

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

    const-string v9, ". Assuming: "

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

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

    const-string v1, "MediaCodecUtil"

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

    move-result-object v9

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

    :cond_82
    const-string v1, "audio/raw"

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

    move-result v0

    const/4 v1, 0x1

    if-eqz v0, :cond_c9

    const/16 v0, 0x1a

    if-ge v6, v0, :cond_c4

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

    const-string v9, "R9"

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

    move-result v0

    if-eqz v0, :cond_c4

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

    move-result v0

    if-ne v0, v1, :cond_c4

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

    move-result-object v0

    check-cast v0, Lz5/ja1;

    iget-object v0, v0, Lz5/ja1;->a:Ljava/lang/String;

    const-string v9, "OMX.MTK.AUDIO.DECODER.RAW"

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

    move-result v0

    if-eqz v0, :cond_c4

    const-string v9, "OMX.google.raw.decoder"

    const-string v10, "audio/raw"

    const-string v11, "audio/raw"

    const/4 v12, 0x0

    const/4 v13, 0x0

    const/4 v14, 0x1

    const/4 v15, 0x0

    const/16 v16, 0x0

    const/16 v17, 0x0

    invoke-static/range {v9 .. v17}, Lz5/ja1;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/media/MediaCodecInfo$CodecCapabilities;ZZZZZ)Lz5/ja1;

    move-result-object v0

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

    :cond_c4
    sget-object v0, Lz5/cd1;->r:Lz5/wi1;

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

    :cond_c9
    if-ge v6, v7, :cond_f6

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

    move-result v0

    if-le v0, v1, :cond_f6

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

    move-result-object v0

    check-cast v0, Lz5/ja1;

    iget-object v0, v0, Lz5/ja1;->a:Ljava/lang/String;

    const-string v7, "OMX.SEC.mp3.dec"

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

    move-result v7

    if-nez v7, :cond_f1

    const-string v7, "OMX.SEC.MP3.Decoder"

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

    move-result v7

    if-nez v7, :cond_f1

    const-string v7, "OMX.brcm.audio.mp3.decoder"

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

    move-result v0

    if-eqz v0, :cond_f6

    :cond_f1
    sget-object v0, Lz5/xd1;->r:Lz5/wi1;

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

    :cond_f6
    const/16 v0, 0x20

    if-ge v6, v0, :cond_119

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

    move-result v0

    if-le v0, v1, :cond_119

    const-string v0, "OMX.qti.audio.decoder.flac"

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

    move-result-object v1

    check-cast v1, Lz5/ja1;

    iget-object v1, v1, Lz5/ja1;->a:Ljava/lang/String;

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

    move-result v0

    if-eqz v0, :cond_119

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

    move-result-object v0

    check-cast v0, Lz5/ja1;

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

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

    move-result-object v0

    invoke-virtual {v5, v4, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_120
    .catchall {:try_start_1a .. :try_end_120} :catchall_122

    monitor-exit v3

    return-object v0

    :catchall_122
    move-exception v0

    monitor-exit v3

    throw v0
.end method

.method public static c()I
    .registers 7

    sget v0, Lz5/jj1;->c:I

    const/4 v1, -0x1

    if-ne v0, v1, :cond_64

    const-string v0, "video/avc"

    invoke-static {v0}, Lz5/jj1;->a(Ljava/lang/String;)Lz5/ja1;

    move-result-object v0

    const/4 v2, 0x0

    if-eqz v0, :cond_62

    invoke-virtual {v0}, Lz5/ja1;->b()[Landroid/media/MediaCodecInfo$CodecProfileLevel;

    move-result-object v0

    array-length v3, v0

    move v4, v2

    :goto_14
    if-ge v2, v3, :cond_51

    aget-object v5, v0, v2

    iget v5, v5, Landroid/media/MediaCodecInfo$CodecProfileLevel;->level:I

    const/4 v6, 0x1

    if-eq v5, v6, :cond_48

    const/4 v6, 0x2

    if-eq v5, v6, :cond_48

    sparse-switch v5, :sswitch_data_68

    move v5, v1

    goto :goto_4a

    :sswitch_25
    const/high16 v5, 0x2200000

    goto :goto_4a

    :sswitch_28
    const/high16 v5, 0x900000

    goto :goto_4a

    :sswitch_2b
    const v5, 0x564000

    goto :goto_4a

    :sswitch_2f
    const/high16 v5, 0x220000

    goto :goto_4a

    :sswitch_32
    const/high16 v5, 0x200000

    goto :goto_4a

    :sswitch_35
    const/high16 v5, 0x140000

    goto :goto_4a

    :sswitch_38
    const v5, 0xe1000

    goto :goto_4a

    :sswitch_3c
    const v5, 0x65400

    goto :goto_4a

    :sswitch_40
    const v5, 0x31800

    goto :goto_4a

    :sswitch_44
    const v5, 0x18c00

    goto :goto_4a

    :cond_48
    const/16 v5, 0x6300

    :goto_4a
    invoke-static {v5, v4}, Ljava/lang/Math;->max(II)I

    move-result v4

    add-int/lit8 v2, v2, 0x1

    goto :goto_14

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

    const/16 v1, 0x15

    if-lt v0, v1, :cond_5b

    const v0, 0x54600

    goto :goto_5e

    :cond_5b
    const v0, 0x2a300

    :goto_5e
    invoke-static {v4, v0}, Ljava/lang/Math;->max(II)I

    move-result v2

    :cond_62
    sput v2, Lz5/jj1;->c:I

    :cond_64
    sget v0, Lz5/jj1;->c:I

    return v0

    nop

    :sswitch_data_68
    .sparse-switch
        0x8 -> :sswitch_44
        0x10 -> :sswitch_44
        0x20 -> :sswitch_44
        0x40 -> :sswitch_40
        0x80 -> :sswitch_3c
        0x100 -> :sswitch_3c
        0x200 -> :sswitch_38
        0x400 -> :sswitch_35
        0x800 -> :sswitch_32
        0x1000 -> :sswitch_32
        0x2000 -> :sswitch_2f
        0x4000 -> :sswitch_2b
        0x8000 -> :sswitch_28
        0x10000 -> :sswitch_28
        0x20000 -> :sswitch_25
        0x40000 -> :sswitch_25
        0x80000 -> :sswitch_25
    .end sparse-switch
.end method

.method public static d(Lz5/x2;)Landroid/util/Pair;
    .registers 18
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lz5/x2;",
            ")",
            "Landroid/util/Pair<",
            "Ljava/lang/Integer;",
            "Ljava/lang/Integer;",
            ">;"
        }
    .end annotation

    move-object/from16 v0, p0

    iget-object v1, v0, Lz5/x2;->h:Ljava/lang/String;

    const/4 v2, 0x0

    if-nez v1, :cond_8

    return-object v2

    :cond_8
    const-string v2, "\\."

    invoke-virtual {v1, v2}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v1

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

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

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

    move-result v2

    const/16 v3, 0x200

    const/16 v4, 0x100

    const/16 v5, 0x80

    const/16 v6, 0x40

    const/16 v7, 0x1000

    const/16 v8, 0x20

    const/16 v9, 0x10

    const/16 v10, 0x8

    const/4 v11, 0x3

    const/4 v12, 0x4

    const/4 v13, 0x2

    const-string v14, "MediaCodecUtil"

    const/4 v15, 0x1

    if-eqz v2, :cond_215

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

    array-length v2, v1

    if-ge v2, v11, :cond_48

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

    move-result-object v0

    const-string v1, "Ignoring malformed Dolby Vision codec string: "

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

    move-result v2

    if-eqz v2, :cond_41

    goto/16 :goto_200

    :cond_41
    new-instance v0, Ljava/lang/String;

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

    goto/16 :goto_20a

    :cond_48
    sget-object v2, Lz5/jj1;->a:Ljava/util/regex/Pattern;

    aget-object v11, v1, v15

    invoke-virtual {v2, v11}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/regex/Matcher;->matches()Z

    move-result v11

    if-nez v11, :cond_6b

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

    move-result-object v0

    const-string v1, "Ignoring malformed Dolby Vision codec string: "

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

    move-result v2

    if-eqz v2, :cond_64

    goto/16 :goto_200

    :cond_64
    new-instance v0, Ljava/lang/String;

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

    goto/16 :goto_20a

    :cond_6b
    invoke-virtual {v2, v15}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_73

    goto/16 :goto_119

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

    move-result v2

    packed-switch v2, :pswitch_data_7f4

    goto/16 :goto_e2

    :pswitch_7c
    const-string v2, "09"

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

    move-result v2

    if-eqz v2, :cond_e2

    const/16 v2, 0x9

    goto/16 :goto_e3

    :pswitch_88
    const-string v2, "08"

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

    move-result v2

    if-eqz v2, :cond_e2

    move v2, v10

    goto :goto_e3

    :pswitch_92
    const-string v2, "07"

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

    move-result v2

    if-eqz v2, :cond_e2

    const/4 v2, 0x7

    goto :goto_e3

    :pswitch_9c
    const-string v2, "06"

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

    move-result v2

    if-eqz v2, :cond_e2

    const/4 v2, 0x6

    goto :goto_e3

    :pswitch_a6
    const-string v2, "05"

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

    move-result v2

    if-eqz v2, :cond_e2

    const/4 v2, 0x5

    goto :goto_e3

    :pswitch_b0
    const-string v2, "04"

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

    move-result v2

    if-eqz v2, :cond_e2

    move v2, v12

    goto :goto_e3

    :pswitch_ba
    const-string v2, "03"

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

    move-result v2

    if-eqz v2, :cond_e2

    const/4 v2, 0x3

    goto :goto_e3

    :pswitch_c4
    const-string v2, "02"

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

    move-result v2

    if-eqz v2, :cond_e2

    move v2, v13

    goto :goto_e3

    :pswitch_ce
    const-string v2, "01"

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

    move-result v2

    if-eqz v2, :cond_e2

    move v2, v15

    goto :goto_e3

    :pswitch_d8
    const-string v2, "00"

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

    move-result v2

    if-eqz v2, :cond_e2

    const/4 v2, 0x0

    goto :goto_e3

    :cond_e2
    :goto_e2
    const/4 v2, -0x1

    :goto_e3
    packed-switch v2, :pswitch_data_80c

    goto :goto_119

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

    move-result-object v2

    goto :goto_11a

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

    move-result-object v2

    goto :goto_11a

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

    move-result-object v2

    goto :goto_11a

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

    move-result-object v2

    goto :goto_11a

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

    move-result-object v2

    goto :goto_11a

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

    move-result-object v2

    goto :goto_11a

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

    move-result-object v2

    goto :goto_11a

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

    move-result-object v2

    goto :goto_11a

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

    move-result-object v2

    goto :goto_11a

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

    move-result-object v2

    goto :goto_11a

    :goto_119
    const/4 v2, 0x0

    :goto_11a
    if-nez v2, :cond_131

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

    move-result-object v0

    const-string v1, "Unknown Dolby Vision profile string: "

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

    move-result v2

    if-eqz v2, :cond_12a

    goto/16 :goto_200

    :cond_12a
    new-instance v0, Ljava/lang/String;

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

    goto/16 :goto_20a

    :cond_131
    aget-object v0, v1, v13

    if-nez v0, :cond_137

    goto/16 :goto_1f1

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

    move-result v1

    packed-switch v1, :pswitch_data_824

    packed-switch v1, :pswitch_data_83a

    goto/16 :goto_1f1

    :pswitch_143
    const-string v1, "09"

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

    move-result v1

    if-eqz v1, :cond_1f1

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

    move-result-object v1

    goto/16 :goto_1f2

    :pswitch_151
    const-string v1, "08"

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

    move-result v1

    if-eqz v1, :cond_1f1

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

    move-result-object v1

    goto/16 :goto_1f2

    :pswitch_15f
    const-string v1, "07"

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

    move-result v1

    if-eqz v1, :cond_1f1

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

    move-result-object v1

    goto/16 :goto_1f2

    :pswitch_16d
    const-string v1, "06"

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

    move-result v1

    if-eqz v1, :cond_1f1

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

    move-result-object v1

    goto/16 :goto_1f2

    :pswitch_17b
    const-string v1, "05"

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

    move-result v1

    if-eqz v1, :cond_1f1

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

    move-result-object v1

    goto/16 :goto_1f2

    :pswitch_189
    const-string v1, "04"

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

    move-result v1

    if-eqz v1, :cond_1f1

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

    move-result-object v1

    goto :goto_1f2

    :pswitch_196
    const-string v1, "03"

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

    move-result v1

    if-eqz v1, :cond_1f1

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

    move-result-object v1

    goto :goto_1f2

    :pswitch_1a3
    const-string v1, "02"

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

    move-result v1

    if-eqz v1, :cond_1f1

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

    move-result-object v1

    goto :goto_1f2

    :pswitch_1b0
    const-string v1, "01"

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

    move-result v1

    if-eqz v1, :cond_1f1

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

    move-result-object v1

    goto :goto_1f2

    :pswitch_1bd
    const-string v1, "13"

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

    move-result v1

    if-eqz v1, :cond_1f1

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

    move-result-object v1

    goto :goto_1f2

    :pswitch_1ca
    const-string v1, "12"

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

    move-result v1

    if-eqz v1, :cond_1f1

    const/16 v1, 0x800

    goto :goto_1df

    :pswitch_1d5
    const-string v1, "11"

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

    move-result v1

    if-eqz v1, :cond_1f1

    const/16 v1, 0x400

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

    move-result-object v1

    goto :goto_1f2

    :pswitch_1e4
    const-string v1, "10"

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

    move-result v1

    if-eqz v1, :cond_1f1

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

    move-result-object v1

    goto :goto_1f2

    :cond_1f1
    :goto_1f1
    const/4 v1, 0x0

    :goto_1f2
    if-nez v1, :cond_20f

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

    move-result-object v0

    const-string v1, "Unknown Dolby Vision level string: "

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

    move-result v2

    if-eqz v2, :cond_205

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

    move-result-object v0

    goto :goto_20a

    :cond_205
    new-instance v0, Ljava/lang/String;

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

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

    const/4 v0, 0x0

    goto :goto_214

    :cond_20f
    new-instance v0, Landroid/util/Pair;

    invoke-direct {v0, v2, v1}, Landroid/util/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V

    :goto_214
    return-object v0

    :cond_215
    const/4 v2, 0x0

    aget-object v2, v1, v2

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

    move-result v6

    sparse-switch v6, :sswitch_data_846

    goto :goto_266

    :sswitch_220
    const-string v6, "vp09"

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

    move-result v2

    if-eqz v2, :cond_266

    move v2, v13

    goto :goto_267

    :sswitch_22a
    const-string v6, "mp4a"

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

    move-result v2

    if-eqz v2, :cond_266

    const/4 v2, 0x6

    goto :goto_267

    :sswitch_234
    const-string v6, "hvc1"

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

    move-result v2

    if-eqz v2, :cond_266

    move v2, v12

    goto :goto_267

    :sswitch_23e
    const-string v6, "hev1"

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

    move-result v2

    if-eqz v2, :cond_266

    const/4 v2, 0x3

    goto :goto_267

    :sswitch_248
    const-string v6, "avc2"

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

    move-result v2

    if-eqz v2, :cond_266

    move v2, v15

    goto :goto_267

    :sswitch_252
    const-string v6, "avc1"

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

    move-result v2

    if-eqz v2, :cond_266

    const/4 v2, 0x0

    goto :goto_267

    :sswitch_25c
    const-string v6, "av01"

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

    move-result v2

    if-eqz v2, :cond_266

    const/4 v2, 0x5

    goto :goto_267

    :cond_266
    :goto_266
    const/4 v2, -0x1

    :goto_267
    const/16 v6, 0x1e

    const/16 v11, 0x14

    packed-switch v2, :pswitch_data_864

    const/4 v0, 0x0

    return-object v0

    :pswitch_270
    iget-object v0, v0, Lz5/x2;->h:Ljava/lang/String;

    array-length v2, v1

    const/4 v3, 0x3

    if-eq v2, v3, :cond_28b

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

    move-result-object v0

    const-string v1, "Ignoring malformed MP4A codec string: "

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

    move-result v2

    if-eqz v2, :cond_284

    goto/16 :goto_2fb

    :cond_284
    new-instance v0, Ljava/lang/String;

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

    goto/16 :goto_305

    :cond_28b
    :try_start_28b
    const-string v2, "audio/mp4a-latm"

    aget-object v3, v1, v15

    invoke-static {v3, v9}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;I)I

    move-result v3

    invoke-static {v3}, Lz5/d7;->d(I)Ljava/lang/String;

    move-result-object v3

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

    move-result v2

    if-eqz v2, :cond_308

    aget-object v1, v1, v13

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

    move-result v1

    const/16 v2, 0x11

    if-eq v1, v2, :cond_2da

    if-eq v1, v11, :cond_2d8

    const/16 v2, 0x17

    if-eq v1, v2, :cond_2d5

    const/16 v2, 0x1d

    if-eq v1, v2, :cond_2d2

    const/16 v2, 0x27

    if-eq v1, v2, :cond_2cf

    const/16 v2, 0x2a

    if-eq v1, v2, :cond_2cc

    packed-switch v1, :pswitch_data_876

    const/4 v1, -0x1

    const/4 v2, -0x1

    goto :goto_2de

    :pswitch_2bf
    const/4 v1, -0x1

    const/4 v2, 0x6

    goto :goto_2de

    :pswitch_2c2
    const/4 v1, -0x1

    const/4 v2, 0x5

    goto :goto_2de

    :pswitch_2c5
    const/4 v1, -0x1

    const/4 v2, 0x3

    goto :goto_2de

    :pswitch_2c8
    move v12, v13

    goto :goto_2dc

    :pswitch_2ca
    move v12, v15

    goto :goto_2dc

    :cond_2cc
    const/16 v12, 0x2a

    goto :goto_2dc

    :cond_2cf
    const/16 v12, 0x27

    goto :goto_2dc

    :cond_2d2
    const/16 v12, 0x1d

    goto :goto_2dc

    :cond_2d5
    const/16 v12, 0x17

    goto :goto_2dc

    :cond_2d8
    move v12, v11

    goto :goto_2dc

    :cond_2da
    const/16 v12, 0x11

    :goto_2dc
    :pswitch_2dc
    const/4 v1, -0x1

    move v2, v12

    :goto_2de
    if-eq v2, v1, :cond_308

    new-instance v1, Landroid/util/Pair;

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

    move-result-object v2

    const/4 v3, 0x0

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

    move-result-object v3

    invoke-direct {v1, v2, v3}, Landroid/util/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
    :try_end_2ee
    .catch Ljava/lang/NumberFormatException; {:try_start_28b .. :try_end_2ee} :catch_2ef

    goto :goto_309

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

    move-result-object v0

    const-string v1, "Ignoring malformed MP4A codec string: "

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

    move-result v2

    if-eqz v2, :cond_300

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

    move-result-object v0

    goto :goto_305

    :cond_300
    new-instance v0, Ljava/lang/String;

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

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

    :cond_308
    const/4 v1, 0x0

    :goto_309
    return-object v1

    :pswitch_30a
    iget-object v2, v0, Lz5/x2;->h:Ljava/lang/String;

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

    array-length v4, v1

    if-ge v4, v12, :cond_326

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

    move-result-object v0

    const-string v1, "Ignoring malformed AV1 codec string: "

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

    move-result v2

    if-eqz v2, :cond_31f

    goto/16 :goto_3eb

    :cond_31f
    new-instance v0, Ljava/lang/String;

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

    goto/16 :goto_3f5

    :cond_326
    :try_start_326
    aget-object v4, v1, v15

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

    move-result v4

    aget-object v9, v1, v13

    const/4 v11, 0x0

    invoke-virtual {v9, v11, v13}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v9

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

    move-result v9

    const/4 v11, 0x3

    aget-object v1, v1, v11

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

    move-result v1
    :try_end_33e
    .catch Ljava/lang/NumberFormatException; {:try_start_326 .. :try_end_33e} :catch_3df

    if-eqz v4, :cond_34f

    new-instance v0, Ljava/lang/StringBuilder;

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

    const-string v1, "Unknown AV1 profile: "

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

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

    goto/16 :goto_3cc

    :cond_34f
    if-eq v1, v10, :cond_378

    const/16 v2, 0xa

    if-eq v1, v2, :cond_366

    new-instance v0, Ljava/lang/StringBuilder;

    const/16 v2, 0x22

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

    const-string v2, "Unknown AV1 bit depth: "

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

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

    goto/16 :goto_3cc

    :cond_366
    if-eqz v0, :cond_376

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

    if-nez v1, :cond_374

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

    const/4 v1, 0x7

    if-eq v0, v1, :cond_374

    const/4 v1, 0x6

    if-ne v0, v1, :cond_376

    :cond_374
    move v0, v7

    goto :goto_379

    :cond_376
    move v0, v13

    goto :goto_379

    :cond_378
    move v0, v15

    :goto_379
    packed-switch v9, :pswitch_data_886

    const/4 v3, -0x1

    goto :goto_3bc

    :pswitch_37e
    const/high16 v3, 0x800000

    goto :goto_3bc

    :pswitch_381
    const/high16 v3, 0x400000

    goto :goto_3bc

    :pswitch_384
    const/high16 v3, 0x200000

    goto :goto_3bc

    :pswitch_387
    const/high16 v3, 0x100000

    goto :goto_3bc

    :pswitch_38a
    const/high16 v3, 0x80000

    goto :goto_3bc

    :pswitch_38d
    const/high16 v3, 0x40000

    goto :goto_3bc

    :pswitch_390
    const/high16 v3, 0x20000

    goto :goto_3bc

    :pswitch_393
    const/high16 v3, 0x10000

    goto :goto_3bc

    :pswitch_396
    const v3, 0x8000

    goto :goto_3bc

    :pswitch_39a
    const/16 v3, 0x4000

    goto :goto_3bc

    :pswitch_39d
    const/16 v3, 0x2000

    goto :goto_3bc

    :pswitch_3a0
    move v3, v7

    goto :goto_3bc

    :pswitch_3a2
    const/16 v3, 0x800

    goto :goto_3bc

    :pswitch_3a5
    const/16 v3, 0x400

    goto :goto_3bc

    :pswitch_3a8
    const/16 v3, 0x100

    goto :goto_3bc

    :pswitch_3ab
    move v3, v5

    goto :goto_3bc

    :pswitch_3ad
    const/16 v3, 0x40

    goto :goto_3bc

    :pswitch_3b0
    move v3, v8

    goto :goto_3bc

    :pswitch_3b2
    const/16 v3, 0x10

    goto :goto_3bc

    :pswitch_3b5
    move v3, v10

    goto :goto_3bc

    :pswitch_3b7
    move v3, v12

    goto :goto_3bc

    :pswitch_3b9
    move v3, v13

    goto :goto_3bc

    :pswitch_3bb
    move v3, v15

    :goto_3bc
    :pswitch_3bc
    const/4 v1, -0x1

    if-ne v3, v1, :cond_3d1

    new-instance v0, Ljava/lang/StringBuilder;

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

    const-string v1, "Unknown AV1 level: "

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

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

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

    move-result-object v0

    goto :goto_3f5

    :cond_3d1
    new-instance v1, Landroid/util/Pair;

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

    move-result-object v0

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

    move-result-object v2

    invoke-direct {v1, v0, v2}, Landroid/util/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V

    goto :goto_3f9

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

    move-result-object v0

    const-string v1, "Ignoring malformed AV1 codec string: "

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

    move-result v2

    if-eqz v2, :cond_3f0

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

    move-result-object v0

    goto :goto_3f5

    :cond_3f0
    new-instance v0, Ljava/lang/String;

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

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

    const/4 v1, 0x0

    :goto_3f9
    return-object v1

    :pswitch_3fa
    iget-object v0, v0, Lz5/x2;->h:Ljava/lang/String;

    array-length v2, v1

    if-ge v2, v12, :cond_414

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

    move-result-object v0

    const-string v1, "Ignoring malformed HEVC codec string: "

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

    move-result v2

    if-eqz v2, :cond_40d

    goto/16 :goto_617

    :cond_40d
    new-instance v0, Ljava/lang/String;

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

    goto/16 :goto_621

    :cond_414
    sget-object v2, Lz5/jj1;->a:Ljava/util/regex/Pattern;

    aget-object v4, v1, v15

    invoke-virtual {v2, v4}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/regex/Matcher;->matches()Z

    move-result v4

    if-nez v4, :cond_437

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

    move-result-object v0

    const-string v1, "Ignoring malformed HEVC codec string: "

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

    move-result v2

    if-eqz v2, :cond_430

    goto/16 :goto_617

    :cond_430
    new-instance v0, Ljava/lang/String;

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

    goto/16 :goto_621

    :cond_437
    invoke-virtual {v2, v15}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;

    move-result-object v0

    const-string v2, "1"

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

    move-result v2

    if-eqz v2, :cond_445

    move v0, v15

    goto :goto_44e

    :cond_445
    const-string v2, "2"

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

    move-result v2

    if-eqz v2, :cond_60b

    move v0, v13

    :goto_44e
    const/4 v2, 0x3

    aget-object v1, v1, v2

    if-nez v1, :cond_455

    goto/16 :goto_5eb

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

    move-result v2

    sparse-switch v2, :sswitch_data_8ba

    goto/16 :goto_582

    :sswitch_45e
    const-string v2, "L186"

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

    move-result v2

    if-eqz v2, :cond_582

    const/16 v11, 0xc

    goto/16 :goto_583

    :sswitch_46a
    const-string v2, "L183"

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

    move-result v2

    if-eqz v2, :cond_582

    const/16 v11, 0xb

    goto/16 :goto_583

    :sswitch_476
    const-string v2, "L180"

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

    move-result v2

    if-eqz v2, :cond_582

    const/16 v11, 0xa

    goto/16 :goto_583

    :sswitch_482
    const-string v2, "L156"

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

    move-result v2

    if-eqz v2, :cond_582

    const/16 v11, 0x9

    goto/16 :goto_583

    :sswitch_48e
    const-string v2, "L153"

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

    move-result v2

    if-eqz v2, :cond_582

    move v11, v10

    goto/16 :goto_583

    :sswitch_499
    const-string v2, "L150"

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

    move-result v2

    if-eqz v2, :cond_582

    const/4 v11, 0x7

    goto/16 :goto_583

    :sswitch_4a4
    const-string v2, "L123"

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

    move-result v2

    if-eqz v2, :cond_582

    const/4 v11, 0x6

    goto/16 :goto_583

    :sswitch_4af
    const-string v2, "L120"

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

    move-result v2

    if-eqz v2, :cond_582

    const/4 v11, 0x5

    goto/16 :goto_583

    :sswitch_4ba
    const-string v2, "H186"

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

    move-result v2

    if-eqz v2, :cond_582

    const/16 v11, 0x19

    goto/16 :goto_583

    :sswitch_4c6
    const-string v2, "H183"

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

    move-result v2

    if-eqz v2, :cond_582

    const/16 v11, 0x18

    goto/16 :goto_583

    :sswitch_4d2
    const-string v2, "H180"

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

    move-result v2

    if-eqz v2, :cond_582

    const/16 v11, 0x17

    goto/16 :goto_583

    :sswitch_4de
    const-string v2, "H156"

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

    move-result v2

    if-eqz v2, :cond_582

    const/16 v11, 0x16

    goto/16 :goto_583

    :sswitch_4ea
    const-string v2, "H153"

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

    move-result v2

    if-eqz v2, :cond_582

    const/16 v11, 0x15

    goto/16 :goto_583

    :sswitch_4f6
    const-string v2, "H150"

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

    move-result v2

    if-eqz v2, :cond_582

    goto/16 :goto_583

    :sswitch_500
    const-string v2, "H123"

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

    move-result v2

    if-eqz v2, :cond_582

    const/16 v11, 0x13

    goto/16 :goto_583

    :sswitch_50c
    const-string v2, "H120"

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

    move-result v2

    if-eqz v2, :cond_582

    const/16 v11, 0x12

    goto/16 :goto_583

    :sswitch_518
    const-string v2, "L93"

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

    move-result v2

    if-eqz v2, :cond_582

    move v11, v12

    goto/16 :goto_583

    :sswitch_523
    const-string v2, "L90"

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

    move-result v2

    if-eqz v2, :cond_582

    const/4 v11, 0x3

    goto :goto_583

    :sswitch_52d
    const-string v2, "L63"

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

    move-result v2

    if-eqz v2, :cond_582

    move v11, v13

    goto :goto_583

    :sswitch_537
    const-string v2, "L60"

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

    move-result v2

    if-eqz v2, :cond_582

    move v11, v15

    goto :goto_583

    :sswitch_541
    const-string v2, "L30"

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

    move-result v2

    if-eqz v2, :cond_582

    const/4 v11, 0x0

    goto :goto_583

    :sswitch_54b
    const-string v2, "H93"

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

    move-result v2

    if-eqz v2, :cond_582

    const/16 v11, 0x11

    goto :goto_583

    :sswitch_556
    const-string v2, "H90"

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

    move-result v2

    if-eqz v2, :cond_582

    const/16 v11, 0x10

    goto :goto_583

    :sswitch_561
    const-string v2, "H63"

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

    move-result v2

    if-eqz v2, :cond_582

    const/16 v11, 0xf

    goto :goto_583

    :sswitch_56c
    const-string v2, "H60"

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

    move-result v2

    if-eqz v2, :cond_582

    const/16 v11, 0xe

    goto :goto_583

    :sswitch_577
    const-string v2, "H30"

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

    move-result v2

    if-eqz v2, :cond_582

    const/16 v11, 0xd

    goto :goto_583

    :cond_582
    :goto_582
    const/4 v11, -0x1

    :goto_583
    packed-switch v11, :pswitch_data_924

    goto/16 :goto_5eb

    :pswitch_588
    const/high16 v2, 0x2000000

    goto :goto_5d9

    :pswitch_58b
    const/high16 v2, 0x800000

    goto :goto_5d9

    :pswitch_58e
    const/high16 v2, 0x200000

    goto :goto_5d9

    :pswitch_591
    const/high16 v2, 0x80000

    goto :goto_5d9

    :pswitch_594
    const/high16 v2, 0x20000

    goto :goto_5d9

    :pswitch_597
    const v2, 0x8000

    goto :goto_5d9

    :pswitch_59b
    const/16 v2, 0x2000

    goto :goto_5d9

    :pswitch_59e
    const/16 v2, 0x800

    goto :goto_5d9

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

    move-result-object v2

    goto :goto_5ec

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

    move-result-object v2

    goto :goto_5ec

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

    move-result-object v2

    goto :goto_5ec

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

    move-result-object v2

    goto :goto_5ec

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

    move-result-object v2

    goto :goto_5ec

    :pswitch_5ba
    const/high16 v2, 0x1000000

    goto :goto_5d9

    :pswitch_5bd
    const/high16 v2, 0x400000

    goto :goto_5d9

    :pswitch_5c0
    const/high16 v2, 0x100000

    goto :goto_5d9

    :pswitch_5c3
    const/high16 v2, 0x40000

    goto :goto_5d9

    :pswitch_5c6
    const/high16 v2, 0x10000

    goto :goto_5d9

    :pswitch_5c9
    const/16 v2, 0x4000

    goto :goto_5d9

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

    move-result-object v2

    goto :goto_5ec

    :pswitch_5d1
    const/16 v2, 0x400

    goto :goto_5d9

    :pswitch_5d4
    const/16 v2, 0x100

    goto :goto_5d9

    :pswitch_5d7
    const/16 v2, 0x40

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

    move-result-object v2

    goto :goto_5ec

    :pswitch_5de
    const/16 v2, 0x10

    goto :goto_5d9

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

    move-result-object v2

    goto :goto_5ec

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

    move-result-object v2

    goto :goto_5ec

    :goto_5eb
    const/4 v2, 0x0

    :goto_5ec
    if-nez v2, :cond_601

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

    move-result-object v0

    const-string v1, "Unknown HEVC level string: "

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

    move-result v2

    if-eqz v2, :cond_5fb

    goto :goto_617

    :cond_5fb
    new-instance v0, Ljava/lang/String;

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

    goto :goto_621

    :cond_601
    new-instance v1, Landroid/util/Pair;

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

    move-result-object v0

    invoke-direct {v1, v0, v2}, Landroid/util/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V

    goto :goto_625

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

    move-result-object v0

    const-string v1, "Unknown HEVC profile string: "

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

    move-result v2

    if-eqz v2, :cond_61c

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

    move-result-object v0

    goto :goto_621

    :cond_61c
    new-instance v0, Ljava/lang/String;

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

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

    const/4 v1, 0x0

    :goto_625
    return-object v1

    :pswitch_626
    iget-object v0, v0, Lz5/x2;->h:Ljava/lang/String;

    array-length v9, v1

    const/4 v2, 0x3

    if-ge v9, v2, :cond_641

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

    move-result-object v0

    const-string v1, "Ignoring malformed VP9 codec string: "

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

    move-result v2

    if-eqz v2, :cond_63a

    goto/16 :goto_6d5

    :cond_63a
    new-instance v0, Ljava/lang/String;

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

    goto/16 :goto_6df

    :cond_641
    :try_start_641
    aget-object v2, v1, v15

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

    move-result v2

    aget-object v1, v1, v13

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

    move-result v0
    :try_end_64d
    .catch Ljava/lang/NumberFormatException; {:try_start_641 .. :try_end_64d} :catch_6c9

    if-eqz v2, :cond_65e

    if-eq v2, v15, :cond_65c

    if-eq v2, v13, :cond_65a

    const/4 v1, 0x3

    if-eq v2, v1, :cond_658

    const/4 v1, -0x1

    goto :goto_65f

    :cond_658
    move v1, v10

    goto :goto_65f

    :cond_65a
    move v1, v12

    goto :goto_65f

    :cond_65c
    move v1, v13

    goto :goto_65f

    :cond_65e
    move v1, v15

    :goto_65f
    const/4 v9, -0x1

    if-ne v1, v9, :cond_66a

    const-string v0, "Unknown VP9 profile: "

    invoke-static {v8, v0, v2}, Le/f;->a(ILjava/lang/String;I)Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_6df

    :cond_66a
    const/16 v2, 0xa

    if-eq v0, v2, :cond_6b0

    const/16 v2, 0xb

    if-eq v0, v2, :cond_6ae

    if-eq v0, v11, :cond_6ac

    const/16 v2, 0x15

    if-eq v0, v2, :cond_6aa

    if-eq v0, v6, :cond_6a6

    const/16 v2, 0x1f

    if-eq v0, v2, :cond_6a4

    const/16 v2, 0x28

    if-eq v0, v2, :cond_6a1

    const/16 v2, 0x29

    if-eq v0, v2, :cond_69f

    const/16 v2, 0x32

    if-eq v0, v2, :cond_69d

    const/16 v2, 0x33

    if-eq v0, v2, :cond_6b1

    packed-switch v0, :pswitch_data_95c

    const/4 v2, -0x1

    const/4 v3, -0x1

    goto :goto_6b2

    :pswitch_694
    const/16 v3, 0x2000

    goto :goto_6b1

    :pswitch_697
    move v3, v7

    goto :goto_6b1

    :pswitch_699
    const/4 v2, -0x1

    const/16 v3, 0x800

    goto :goto_6b2

    :cond_69d
    move v3, v4

    goto :goto_6b1

    :cond_69f
    move v3, v5

    goto :goto_6b1

    :cond_6a1
    const/16 v3, 0x40

    goto :goto_6b1

    :cond_6a4
    move v3, v8

    goto :goto_6b1

    :cond_6a6
    const/4 v2, -0x1

    const/16 v3, 0x10

    goto :goto_6b2

    :cond_6aa
    move v3, v10

    goto :goto_6b1

    :cond_6ac
    move v3, v12

    goto :goto_6b1

    :cond_6ae
    move v3, v13

    goto :goto_6b1

    :cond_6b0
    move v3, v15

    :cond_6b1
    :goto_6b1
    const/4 v2, -0x1

    :goto_6b2
    if-ne v3, v2, :cond_6bb

    const-string v1, "Unknown VP9 level: "

    invoke-static {v6, v1, v0}, Le/f;->a(ILjava/lang/String;I)Ljava/lang/String;

    move-result-object v0

    goto :goto_6df

    :cond_6bb
    new-instance v0, Landroid/util/Pair;

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

    move-result-object v1

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

    move-result-object v2

    invoke-direct {v0, v1, v2}, Landroid/util/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V

    goto :goto_6e3

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

    move-result-object v0

    const-string v1, "Ignoring malformed VP9 codec string: "

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

    move-result v2

    if-eqz v2, :cond_6da

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

    move-result-object v0

    goto :goto_6df

    :cond_6da
    new-instance v0, Ljava/lang/String;

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

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

    const/4 v0, 0x0

    :goto_6e3
    return-object v0

    :pswitch_6e4
    const/16 v9, 0x40

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

    array-length v10, v1

    if-ge v10, v13, :cond_700

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

    move-result-object v0

    const-string v1, "Ignoring malformed AVC codec string: "

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

    move-result v2

    if-eqz v2, :cond_6f9

    goto/16 :goto_7e4

    :cond_6f9
    new-instance v0, Ljava/lang/String;

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

    goto/16 :goto_7ee

    :cond_700
    :try_start_700
    aget-object v11, v1, v15

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

    move-result v11

    const/4 v2, 0x6

    if-ne v11, v2, :cond_721

    aget-object v2, v1, v15

    const/4 v10, 0x0

    invoke-virtual {v2, v10, v13}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v2

    const/16 v10, 0x10

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

    move-result v2

    aget-object v1, v1, v15

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

    move-result-object v1

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

    move-result v0

    goto :goto_737

    :cond_721
    const/16 v2, 0x10

    const/4 v11, 0x3

    if-lt v10, v11, :cond_7bd

    aget-object v10, v1, v15

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

    move-result v10

    aget-object v1, v1, v13

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

    move-result v0
    :try_end_732
    .catch Ljava/lang/NumberFormatException; {:try_start_700 .. :try_end_732} :catch_7d8

    move/from16 v16, v10

    move v10, v2

    move/from16 v2, v16

    :goto_737
    const/16 v1, 0x42

    if-eq v2, v1, :cond_762

    const/16 v1, 0x4d

    if-eq v2, v1, :cond_763

    const/16 v1, 0x58

    if-eq v2, v1, :cond_760

    const/16 v1, 0x64

    if-eq v2, v1, :cond_75c

    const/16 v1, 0x6e

    if-eq v2, v1, :cond_75a

    const/16 v1, 0x7a

    if-eq v2, v1, :cond_758

    const/16 v1, 0xf4

    if-eq v2, v1, :cond_756

    const/4 v1, -0x1

    const/4 v11, -0x1

    goto :goto_765

    :cond_756
    move v13, v9

    goto :goto_763

    :cond_758
    move v13, v8

    goto :goto_763

    :cond_75a
    move v13, v10

    goto :goto_763

    :cond_75c
    const/4 v1, -0x1

    const/16 v11, 0x8

    goto :goto_765

    :cond_760
    move v13, v12

    goto :goto_763

    :cond_762
    move v13, v15

    :cond_763
    :goto_763
    const/4 v1, -0x1

    move v11, v13

    :goto_765
    if-ne v11, v1, :cond_76f

    const-string v0, "Unknown AVC profile: "

    invoke-static {v8, v0, v2}, Le/f;->a(ILjava/lang/String;I)Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_7ee

    :cond_76f
    packed-switch v0, :pswitch_data_966

    packed-switch v0, :pswitch_data_972

    packed-switch v0, :pswitch_data_97c

    packed-switch v0, :pswitch_data_986

    packed-switch v0, :pswitch_data_990

    const/4 v3, -0x1

    goto :goto_7a5

    :pswitch_780
    move v3, v10

    goto :goto_7a5

    :pswitch_782
    const/16 v3, 0x8

    goto :goto_7a5

    :pswitch_785
    move v3, v12

    goto :goto_7a5

    :pswitch_787
    move v3, v15

    goto :goto_7a5

    :pswitch_789
    move v3, v5

    goto :goto_7a5

    :pswitch_78b
    move v3, v9

    goto :goto_7a5

    :pswitch_78d
    move v3, v8

    goto :goto_7a5

    :pswitch_78f
    const/16 v3, 0x400

    goto :goto_7a5

    :pswitch_792
    move v3, v4

    goto :goto_7a5

    :pswitch_794
    const/16 v3, 0x2000

    goto :goto_7a5

    :pswitch_797
    move v3, v7

    goto :goto_7a5

    :pswitch_799
    const/16 v3, 0x800

    goto :goto_7a5

    :pswitch_79c
    const/high16 v3, 0x10000

    goto :goto_7a5

    :pswitch_79f
    const v3, 0x8000

    goto :goto_7a5

    :pswitch_7a3
    const/16 v3, 0x4000

    :goto_7a5
    :pswitch_7a5
    const/4 v1, -0x1

    if-ne v3, v1, :cond_7af

    const-string v1, "Unknown AVC level: "

    invoke-static {v6, v1, v0}, Le/f;->a(ILjava/lang/String;I)Ljava/lang/String;

    move-result-object v0

    goto :goto_7ee

    :cond_7af
    new-instance v0, Landroid/util/Pair;

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

    move-result-object v1

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

    move-result-object v2

    invoke-direct {v0, v1, v2}, Landroid/util/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V

    goto :goto_7f2

    :cond_7bd
    :try_start_7bd
    const-string v1, "Ignoring malformed AVC codec string: "

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

    move-result-object v2

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

    move-result v3

    if-eqz v3, :cond_7ce

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

    move-result-object v1

    goto :goto_7d4

    :cond_7ce
    new-instance v2, Ljava/lang/String;

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

    move-object v1, v2

    :goto_7d4
    invoke-static {v14, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
    :try_end_7d7
    .catch Ljava/lang/NumberFormatException; {:try_start_7bd .. :try_end_7d7} :catch_7d8

    goto :goto_7f1

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

    move-result-object v0

    const-string v1, "Ignoring malformed AVC codec string: "

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

    move-result v2

    if-eqz v2, :cond_7e9

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

    move-result-object v0

    goto :goto_7ee

    :cond_7e9
    new-instance v0, Ljava/lang/String;

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

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

    :goto_7f1
    const/4 v0, 0x0

    :goto_7f2
    return-object v0

    nop

    :pswitch_data_7f4
    .packed-switch 0x600
        :pswitch_d8
        :pswitch_ce
        :pswitch_c4
        :pswitch_ba
        :pswitch_b0
        :pswitch_a6
        :pswitch_9c
        :pswitch_92
        :pswitch_88
        :pswitch_7c
    .end packed-switch

    :pswitch_data_80c
    .packed-switch 0x0
        :pswitch_114
        :pswitch_10f
        :pswitch_10a
        :pswitch_105
        :pswitch_100
        :pswitch_fb
        :pswitch_f6
        :pswitch_f1
        :pswitch_ec
        :pswitch_e7
    .end packed-switch

    :pswitch_data_824
    .packed-switch 0x601
        :pswitch_1b0
        :pswitch_1a3
        :pswitch_196
        :pswitch_189
        :pswitch_17b
        :pswitch_16d
        :pswitch_15f
        :pswitch_151
        :pswitch_143
    .end packed-switch

    :pswitch_data_83a
    .packed-switch 0x61f
        :pswitch_1e4
        :pswitch_1d5
        :pswitch_1ca
        :pswitch_1bd
    .end packed-switch

    :sswitch_data_846
    .sparse-switch
        0x2dd8f6 -> :sswitch_25c
        0x2ddf23 -> :sswitch_252
        0x2ddf24 -> :sswitch_248
        0x30d038 -> :sswitch_23e
        0x310dbc -> :sswitch_234
        0x333790 -> :sswitch_22a
        0x374e43 -> :sswitch_220
    .end sparse-switch

    :pswitch_data_864
    .packed-switch 0x0
        :pswitch_6e4
        :pswitch_6e4
        :pswitch_626
        :pswitch_3fa
        :pswitch_3fa
        :pswitch_30a
        :pswitch_270
    .end packed-switch

    :pswitch_data_876
    .packed-switch 0x1
        :pswitch_2ca
        :pswitch_2c8
        :pswitch_2c5
        :pswitch_2dc
        :pswitch_2c2
        :pswitch_2bf
    .end packed-switch

    :pswitch_data_886
    .packed-switch 0x0
        :pswitch_3bb
        :pswitch_3b9
        :pswitch_3b7
        :pswitch_3b5
        :pswitch_3b2
        :pswitch_3b0
        :pswitch_3ad
        :pswitch_3ab
        :pswitch_3a8
        :pswitch_3bc
        :pswitch_3a5
        :pswitch_3a2
        :pswitch_3a0
        :pswitch_39d
        :pswitch_39a
        :pswitch_396
        :pswitch_393
        :pswitch_390
        :pswitch_38d
        :pswitch_38a
        :pswitch_387
        :pswitch_384
        :pswitch_381
        :pswitch_37e
    .end packed-switch

    :sswitch_data_8ba
    .sparse-switch
        0x114a5 -> :sswitch_577
        0x11502 -> :sswitch_56c
        0x11505 -> :sswitch_561
        0x1155f -> :sswitch_556
        0x11562 -> :sswitch_54b
        0x123a9 -> :sswitch_541
        0x12406 -> :sswitch_537
        0x12409 -> :sswitch_52d
        0x12463 -> :sswitch_523
        0x12466 -> :sswitch_518
        0x2178e7 -> :sswitch_50c
        0x2178ea -> :sswitch_500
        0x217944 -> :sswitch_4f6
        0x217947 -> :sswitch_4ea
        0x21794a -> :sswitch_4de
        0x2179a1 -> :sswitch_4d2
        0x2179a4 -> :sswitch_4c6
        0x2179a7 -> :sswitch_4ba
        0x234a63 -> :sswitch_4af
        0x234a66 -> :sswitch_4a4
        0x234ac0 -> :sswitch_499
        0x234ac3 -> :sswitch_48e
        0x234ac6 -> :sswitch_482
        0x234b1d -> :sswitch_476
        0x234b20 -> :sswitch_46a
        0x234b23 -> :sswitch_45e
    .end sparse-switch

    :pswitch_data_924
    .packed-switch 0x0
        :pswitch_5e6
        :pswitch_5e1
        :pswitch_5de
        :pswitch_5d7
        :pswitch_5d4
        :pswitch_5d1
        :pswitch_5cc
        :pswitch_5c9
        :pswitch_5c6
        :pswitch_5c3
        :pswitch_5c0
        :pswitch_5bd
        :pswitch_5ba
        :pswitch_5b5
        :pswitch_5b0
        :pswitch_5ab
        :pswitch_5a6
        :pswitch_5a1
        :pswitch_59e
        :pswitch_59b
        :pswitch_597
        :pswitch_594
        :pswitch_591
        :pswitch_58e
        :pswitch_58b
        :pswitch_588
    .end packed-switch

    :pswitch_data_95c
    .packed-switch 0x3c
        :pswitch_699
        :pswitch_697
        :pswitch_694
    .end packed-switch

    :pswitch_data_966
    .packed-switch 0xa
        :pswitch_787
        :pswitch_785
        :pswitch_782
        :pswitch_780
    .end packed-switch

    :pswitch_data_972
    .packed-switch 0x14
        :pswitch_78d
        :pswitch_78b
        :pswitch_789
    .end packed-switch

    :pswitch_data_97c
    .packed-switch 0x1e
        :pswitch_792
        :pswitch_7a5
        :pswitch_78f
    .end packed-switch

    :pswitch_data_986
    .packed-switch 0x28
        :pswitch_799
        :pswitch_797
        :pswitch_794
    .end packed-switch

    :pswitch_data_990
    .packed-switch 0x32
        :pswitch_7a3
        :pswitch_79f
        :pswitch_79c
    .end packed-switch
.end method

.method public static e(Lz5/bf1;Lz5/mg1;)Ljava/util/ArrayList;
    .registers 25
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lz5/bf1;",
            "Lz5/mg1;",
            ")",
            "Ljava/util/ArrayList<",
            "Lz5/ja1;",
            ">;"
        }
    .end annotation

    move-object/from16 v1, p0

    move-object/from16 v2, p1

    const-string v3, "secure-playback"

    const-string v4, "tunneled-playback"

    :try_start_8
    new-instance v5, Ljava/util/ArrayList;

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

    iget-object v15, v1, Lz5/bf1;->a:Ljava/lang/String;

    invoke-interface/range {p1 .. p1}, Lz5/mg1;->zza()I

    move-result v14

    invoke-interface/range {p1 .. p1}, Lz5/mg1;->zzc()Z

    move-result v16

    const/16 v17, 0x0

    move/from16 v13, v17

    :goto_1b
    if-ge v13, v14, :cond_39a

    invoke-interface {v2, v13}, Lz5/mg1;->zzb(I)Landroid/media/MediaCodecInfo;

    move-result-object v0

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

    const/16 v7, 0x1d

    if-lt v6, v7, :cond_32

    invoke-virtual {v0}, Landroid/media/MediaCodecInfo;->isAlias()Z

    move-result v8

    if-eqz v8, :cond_32

    :cond_2d
    :goto_2d
    move/from16 v22, v13

    move v2, v14

    goto/16 :goto_393

    :cond_32
    invoke-virtual {v0}, Landroid/media/MediaCodecInfo;->getName()Ljava/lang/String;

    move-result-object v12

    invoke-virtual {v0}, Landroid/media/MediaCodecInfo;->isEncoder()Z

    move-result v8
    :try_end_3a
    .catch Ljava/lang/Exception; {:try_start_8 .. :try_end_3a} :catch_39b

    if-nez v8, :cond_2d

    const-string v8, ".secure"

    if-nez v16, :cond_46

    :try_start_40
    invoke-virtual {v12, v8}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v9

    if-nez v9, :cond_2d

    :cond_46
    const/16 v9, 0x15

    if-ge v6, v9, :cond_7a

    const-string v9, "CIPAACDecoder"

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

    move-result v9

    if-nez v9, :cond_2d

    const-string v9, "CIPMP3Decoder"

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

    move-result v9

    if-nez v9, :cond_2d

    const-string v9, "CIPVorbisDecoder"

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

    move-result v9

    if-nez v9, :cond_2d

    const-string v9, "CIPAMRNBDecoder"

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

    move-result v9

    if-nez v9, :cond_2d

    const-string v9, "AACDecoder"

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

    move-result v9

    if-nez v9, :cond_2d

    const-string v9, "MP3Decoder"

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

    move-result v9

    if-nez v9, :cond_2d

    :cond_7a
    const/16 v9, 0x12

    if-ge v6, v9, :cond_a2

    const-string v9, "OMX.MTK.AUDIO.DECODER.AAC"

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

    move-result v9

    if-eqz v9, :cond_a2

    const-string v9, "a70"

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

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

    move-result v9

    if-nez v9, :cond_2d

    const-string v9, "Xiaomi"

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

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

    move-result v9

    if-eqz v9, :cond_a2

    const-string v9, "HM"

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

    move-result v9

    if-nez v9, :cond_2d

    :cond_a2
    const/16 v9, 0x10

    if-ne v6, v9, :cond_110

    const-string v10, "OMX.qcom.audio.decoder.mp3"

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

    move-result v10

    if-eqz v10, :cond_110

    const-string v10, "dlxu"

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

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

    move-result v10

    if-nez v10, :cond_2d

    const-string v10, "protou"

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

    move-result v10

    if-nez v10, :cond_2d

    const-string v10, "ville"

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

    move-result v10

    if-nez v10, :cond_2d

    const-string v10, "villeplus"

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

    move-result v10

    if-nez v10, :cond_2d

    const-string v10, "villec2"

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

    move-result v10

    if-nez v10, :cond_2d

    const-string v10, "gee"

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

    move-result v10

    if-nez v10, :cond_2d

    const-string v10, "C6602"

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

    move-result v10

    if-nez v10, :cond_2d

    const-string v10, "C6603"

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

    move-result v10

    if-nez v10, :cond_2d

    const-string v10, "C6606"

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

    move-result v10

    if-nez v10, :cond_2d

    const-string v10, "C6616"

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

    move-result v10

    if-nez v10, :cond_2d

    const-string v10, "L36h"

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

    move-result v10

    if-nez v10, :cond_2d

    const-string v10, "SO-02E"

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

    move-result v10

    if-nez v10, :cond_2d

    :cond_110
    if-ne v6, v9, :cond_13c

    const-string v9, "OMX.qcom.audio.decoder.aac"

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

    move-result v9

    if-eqz v9, :cond_13c

    const-string v9, "C1504"

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

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

    move-result v9

    if-nez v9, :cond_2d

    const-string v9, "C1505"

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

    move-result v9

    if-nez v9, :cond_2d

    const-string v9, "C1604"

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

    move-result v9

    if-nez v9, :cond_2d

    const-string v9, "C1605"

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

    move-result v9
    :try_end_13a
    .catch Ljava/lang/Exception; {:try_start_40 .. :try_end_13a} :catch_39b

    if-nez v9, :cond_2d

    :cond_13c
    const/16 v9, 0x18

    const-string v10, "samsung"

    if-ge v6, v9, :cond_19c

    :try_start_142
    const-string v9, "OMX.SEC.aac.dec"

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

    move-result v9

    if-nez v9, :cond_152

    const-string v9, "OMX.Exynos.AAC.Decoder"

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

    move-result v9

    if-eqz v9, :cond_19c

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

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

    move-result v9

    if-eqz v9, :cond_19c

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

    const-string v11, "zeroflte"

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

    move-result v11

    if-nez v11, :cond_2d

    const-string v11, "zerolte"

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

    move-result v11

    if-nez v11, :cond_2d

    const-string v11, "zenlte"

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

    move-result v11

    if-nez v11, :cond_2d

    const-string v11, "SC-05G"

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

    move-result v11

    if-nez v11, :cond_2d

    const-string v11, "marinelteatt"

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

    move-result v11

    if-nez v11, :cond_2d

    const-string v11, "404SC"

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

    move-result v11

    if-nez v11, :cond_2d

    const-string v11, "SC-04G"

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

    move-result v11

    if-nez v11, :cond_2d

    const-string v11, "SCV31"

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

    move-result v9
    :try_end_19a
    .catch Ljava/lang/Exception; {:try_start_142 .. :try_end_19a} :catch_39b

    if-nez v9, :cond_2d

    :cond_19c
    const-string v9, "jflte"

    const/16 v11, 0x13

    if-gt v6, v11, :cond_1da

    :try_start_1a2
    const-string v7, "OMX.SEC.vp8.dec"

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

    move-result v7

    if-eqz v7, :cond_1da

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

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

    move-result v7

    if-eqz v7, :cond_1da

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

    const-string v10, "d2"

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

    move-result v10

    if-nez v10, :cond_2d

    const-string v10, "serrano"

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

    move-result v10

    if-nez v10, :cond_2d

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

    move-result v10

    if-nez v10, :cond_2d

    const-string v10, "santos"

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

    move-result v10

    if-nez v10, :cond_2d

    const-string v10, "t0"

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

    move-result v7

    if-nez v7, :cond_2d

    :cond_1da
    if-gt v6, v11, :cond_1ec

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

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

    move-result v6

    if-eqz v6, :cond_1ec

    const-string v6, "OMX.qcom.video.decoder.vp8"

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

    move-result v6

    if-nez v6, :cond_2d

    :cond_1ec
    const-string v6, "audio/eac3-joc"

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

    move-result v6

    if-eqz v6, :cond_1fc

    const-string v6, "OMX.MTK.AUDIO.DECODER.DSPAC3"

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

    move-result v6

    if-nez v6, :cond_2d

    :cond_1fc
    invoke-virtual {v0}, Landroid/media/MediaCodecInfo;->getSupportedTypes()[Ljava/lang/String;

    move-result-object v6

    array-length v7, v6

    move/from16 v9, v17

    :goto_203
    const/4 v10, 0x0

    if-ge v9, v7, :cond_213

    aget-object v10, v6, v9

    invoke-virtual {v10, v15}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v11

    if-eqz v11, :cond_210

    :cond_20e
    :goto_20e
    move-object v11, v10

    goto :goto_25f

    :cond_210
    add-int/lit8 v9, v9, 0x1

    goto :goto_203

    :cond_213
    const-string v6, "video/dolby-vision"

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

    move-result v6

    if-eqz v6, :cond_239

    const-string v6, "OMX.MS.HEVCDV.Decoder"

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

    move-result v6

    if-eqz v6, :cond_226

    const-string v10, "video/hevcdv"

    goto :goto_20e

    :cond_226
    const-string v6, "OMX.RTK.video.decoder"

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

    move-result v6

    if-nez v6, :cond_236

    const-string v6, "OMX.realtek.video.decoder.tunneled"

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

    move-result v6

    if-eqz v6, :cond_20e

    :cond_236
    const-string v10, "video/dv_hevc"

    goto :goto_20e

    :cond_239
    const-string v6, "audio/alac"

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

    move-result v6

    if-eqz v6, :cond_24c

    const-string v6, "OMX.lge.alac.decoder"

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

    move-result v6

    if-eqz v6, :cond_24c

    const-string v10, "audio/x-lg-alac"

    goto :goto_20e

    :cond_24c
    const-string v6, "audio/flac"

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

    move-result v6

    if-eqz v6, :cond_20e

    const-string v6, "OMX.lge.flac.decoder"

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

    move-result v6

    if-eqz v6, :cond_20e

    const-string v10, "audio/x-lg-flac"
    :try_end_25e
    .catch Ljava/lang/Exception; {:try_start_1a2 .. :try_end_25e} :catch_39b

    goto :goto_20e

    :goto_25f
    if-eqz v11, :cond_2d

    :try_start_261
    invoke-virtual {v0, v11}, Landroid/media/MediaCodecInfo;->getCapabilitiesForType(Ljava/lang/String;)Landroid/media/MediaCodecInfo$CodecCapabilities;

    move-result-object v9

    invoke-interface {v2, v4, v11, v9}, Lz5/mg1;->a(Ljava/lang/String;Ljava/lang/String;Landroid/media/MediaCodecInfo$CodecCapabilities;)Z

    move-result v6

    invoke-interface {v2, v4, v11, v9}, Lz5/mg1;->b(Ljava/lang/String;Ljava/lang/String;Landroid/media/MediaCodecInfo$CodecCapabilities;)Z

    move-result v7

    iget-boolean v10, v1, Lz5/bf1;->c:Z

    if-nez v10, :cond_274

    if-nez v7, :cond_2d

    goto :goto_278

    :cond_274
    if-nez v6, :cond_278

    goto/16 :goto_2d

    :cond_278
    :goto_278
    invoke-interface {v2, v3, v11, v9}, Lz5/mg1;->a(Ljava/lang/String;Ljava/lang/String;Landroid/media/MediaCodecInfo$CodecCapabilities;)Z

    move-result v6

    invoke-interface {v2, v3, v11, v9}, Lz5/mg1;->b(Ljava/lang/String;Ljava/lang/String;Landroid/media/MediaCodecInfo$CodecCapabilities;)Z

    move-result v7

    iget-boolean v10, v1, Lz5/bf1;->b:Z

    const/16 v19, 0x1

    if-nez v10, :cond_289

    if-nez v7, :cond_2d

    goto :goto_28d

    :cond_289
    if-eqz v6, :cond_2d

    move/from16 v6, v19

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

    const/16 v10, 0x1d

    if-lt v7, v10, :cond_298

    invoke-virtual {v0}, Landroid/media/MediaCodecInfo;->isHardwareAccelerated()Z

    move-result v10

    goto :goto_2a3

    :cond_298
    invoke-static {v0}, Lz5/jj1;->f(Landroid/media/MediaCodecInfo;)Z

    move-result v10

    if-nez v10, :cond_2a1

    move/from16 v10, v19

    goto :goto_2a3

    :cond_2a1
    move/from16 v10, v17

    :goto_2a3
    invoke-static {v0}, Lz5/jj1;->f(Landroid/media/MediaCodecInfo;)Z

    move-result v20

    const/16 v2, 0x1d

    if-lt v7, v2, :cond_2b0

    invoke-virtual {v0}, Landroid/media/MediaCodecInfo;->isVendor()Z

    move-result v0

    goto :goto_2d5

    :cond_2b0
    invoke-virtual {v0}, Landroid/media/MediaCodecInfo;->getName()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/google/android/gms/internal/ads/h8;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string v2, "omx.google."

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

    move-result v2

    if-nez v2, :cond_2d3

    const-string v2, "c2.android."

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

    move-result v2

    if-nez v2, :cond_2d3

    const-string v2, "c2.google."

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

    move-result v0

    if-nez v0, :cond_2d3

    move/from16 v0, v19

    goto :goto_2d5

    :cond_2d3
    move/from16 v0, v17

    :goto_2d5
    if-eqz v16, :cond_2db

    iget-boolean v2, v1, Lz5/bf1;->b:Z

    if-eq v2, v6, :cond_2e1

    :cond_2db
    if-nez v16, :cond_2fd

    iget-boolean v2, v1, Lz5/bf1;->b:Z
    :try_end_2df
    .catch Ljava/lang/Exception; {:try_start_261 .. :try_end_2df} :catch_322

    if-nez v2, :cond_2fd

    :cond_2e1
    const/4 v2, 0x0

    const/16 v18, 0x0

    move-object v6, v12

    move-object v7, v15

    move-object v8, v11

    move-object/from16 v19, v11

    move/from16 v11, v20

    move-object/from16 v21, v12

    move v12, v0

    move/from16 v22, v13

    move v13, v2

    move v2, v14

    move/from16 v14, v18

    :try_start_2f4
    invoke-static/range {v6 .. v14}, Lz5/ja1;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/media/MediaCodecInfo$CodecCapabilities;ZZZZZ)Lz5/ja1;

    move-result-object v0

    invoke-virtual {v5, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto/16 :goto_393

    :cond_2fd
    move-object/from16 v19, v11

    move-object/from16 v21, v12

    move/from16 v22, v13

    move v2, v14

    if-nez v16, :cond_393

    if-eqz v6, :cond_393

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

    move-result-object v6

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

    move-result-object v6

    const/4 v13, 0x0

    const/4 v14, 0x1

    move-object v7, v15

    move-object/from16 v8, v19

    move/from16 v11, v20

    move v12, v0

    invoke-static/range {v6 .. v14}, Lz5/ja1;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/media/MediaCodecInfo$CodecCapabilities;ZZZZZ)Lz5/ja1;

    move-result-object v0

    invoke-virtual {v5, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
    :try_end_31f
    .catch Ljava/lang/Exception; {:try_start_2f4 .. :try_end_31f} :catch_320

    return-object v5

    :catch_320
    move-exception v0

    goto :goto_32a

    :catch_322
    move-exception v0

    move-object/from16 v19, v11

    move-object/from16 v21, v12

    move/from16 v22, v13

    move v2, v14

    :goto_32a
    :try_start_32a
    sget v6, Lz5/r7;->a:I
    :try_end_32c
    .catch Ljava/lang/Exception; {:try_start_32a .. :try_end_32c} :catch_39b

    const/16 v7, 0x17

    const-string v8, "MediaCodecUtil"

    if-gt v6, v7, :cond_35e

    :try_start_332
    invoke-virtual {v5}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v6

    if-nez v6, :cond_35e

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

    move-result-object v0

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

    move-result v0

    add-int/lit8 v0, v0, 0x2e

    new-instance v6, Ljava/lang/StringBuilder;

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

    const-string v0, "Skipping codec "

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

    move-object/from16 v7, v21

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

    const-string v0, " (failed to query capabilities)"

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

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

    move-result-object v0

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

    goto :goto_393

    :cond_35e
    move-object/from16 v7, v21

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

    move-result-object v1

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

    move-result v1

    add-int/lit8 v1, v1, 0x19

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

    move-result v2

    add-int/2addr v1, v2

    new-instance v2, Ljava/lang/StringBuilder;

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

    const-string v1, "Failed to query codec "

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

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

    const-string v1, " ("

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

    move-object/from16 v10, v19

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

    const-string v1, ")"

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

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

    move-result-object v1

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

    throw v0
    :try_end_393
    .catch Ljava/lang/Exception; {:try_start_332 .. :try_end_393} :catch_39b

    :cond_393
    :goto_393
    add-int/lit8 v13, v22, 0x1

    move v14, v2

    move-object/from16 v2, p1

    goto/16 :goto_1b

    :cond_39a
    return-object v5

    :catch_39b
    move-exception v0

    new-instance v1, Lz5/uf1;

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

    throw v1
.end method

.method public static f(Landroid/media/MediaCodecInfo;)Z
    .registers 4

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

    const/16 v1, 0x1d

    if-lt v0, v1, :cond_b

    invoke-virtual {p0}, Landroid/media/MediaCodecInfo;->isSoftwareOnly()Z

    move-result p0

    return p0

    :cond_b
    invoke-virtual {p0}, Landroid/media/MediaCodecInfo;->getName()Ljava/lang/String;

    move-result-object p0

    invoke-static {p0}, Lcom/google/android/gms/internal/ads/h8;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    const-string v0, "arc."

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

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_1d

    return v1

    :cond_1d
    const-string v0, "omx.google."

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

    move-result v0

    const/4 v2, 0x1

    if-nez v0, :cond_68

    const-string v0, "omx.ffmpeg."

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

    move-result v0

    if-nez v0, :cond_68

    const-string v0, "omx.sec."

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

    move-result v0

    if-eqz v0, :cond_3e

    const-string v0, ".sw."

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

    move-result v0

    if-nez v0, :cond_68

    :cond_3e
    const-string v0, "omx.qcom.video.decoder.hevcswvdec"

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

    move-result v0

    if-nez v0, :cond_68

    const-string v0, "c2.android."

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

    move-result v0

    if-nez v0, :cond_68

    const-string v0, "c2.google."

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

    move-result v0

    if-nez v0, :cond_68

    const-string v0, "omx."

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

    move-result v0

    if-nez v0, :cond_69

    const-string v0, "c2."

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

    move-result p0

    if-nez p0, :cond_67

    goto :goto_68

    :cond_67
    return v1

    :cond_68
    :goto_68
    move v1, v2

    :cond_69
    return v1
.end method

.method public static g(Ljava/util/List;Lz5/wi1;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            ">(",
            "Ljava/util/List<",
            "TT;>;",
            "Lz5/wi1<",
            "TT;>;)V"
        }
    .end annotation

    new-instance v0, Lz5/ne1;

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

    invoke-static {p0, v0}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V

    return-void
.end method
