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


# instance fields
.field public final a:Ljava/lang/String;

.field public final b:Ljava/lang/String;

.field public final c:Ljava/lang/String;

.field public final d:Landroid/media/MediaCodecInfo$CodecCapabilities;

.field public final e:Z

.field public final f:Z

.field public final g:Z


# direct methods
.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/media/MediaCodecInfo$CodecCapabilities;ZZ)V
    .registers 7

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

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

    iput-object p1, p0, Lz5/ja1;->a:Ljava/lang/String;

    iput-object p2, p0, Lz5/ja1;->b:Ljava/lang/String;

    iput-object p3, p0, Lz5/ja1;->c:Ljava/lang/String;

    iput-object p4, p0, Lz5/ja1;->d:Landroid/media/MediaCodecInfo$CodecCapabilities;

    iput-boolean p5, p0, Lz5/ja1;->e:Z

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

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

    move-result p1

    iput-boolean p1, p0, Lz5/ja1;->g:Z

    return-void
.end method

.method public static a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/media/MediaCodecInfo$CodecCapabilities;ZZZZZ)Lz5/ja1;
    .registers 16

    new-instance p4, Lz5/ja1;

    const/4 p5, 0x1

    const/4 p6, 0x0

    if-eqz p3, :cond_3d

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

    const/16 v0, 0x13

    if-lt p7, v0, :cond_3d

    const-string v0, "adaptive-playback"

    invoke-virtual {p3, v0}, Landroid/media/MediaCodecInfo$CodecCapabilities;->isFeatureSupported(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3d

    const/16 v0, 0x16

    if-gt p7, v0, :cond_3b

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

    const-string v0, "ODROID-XU3"

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

    move-result v0

    if-nez v0, :cond_2a

    const-string v0, "Nexus 10"

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

    move-result p7

    if-eqz p7, :cond_3b

    :cond_2a
    const-string p7, "OMX.Exynos.AVC.Decoder"

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

    move-result p7

    if-nez p7, :cond_3d

    const-string p7, "OMX.Exynos.AVC.Decoder.secure"

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

    move-result p7

    if-eqz p7, :cond_3b

    goto :goto_3d

    :cond_3b
    move v5, p5

    goto :goto_3e

    :cond_3d
    :goto_3d
    move v5, p6

    :goto_3e
    const/16 p7, 0x15

    if-eqz p3, :cond_4b

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

    if-lt v0, p7, :cond_4b

    const-string v0, "tunneled-playback"

    invoke-virtual {p3, v0}, Landroid/media/MediaCodecInfo$CodecCapabilities;->isFeatureSupported(Ljava/lang/String;)Z

    :cond_4b
    if-nez p8, :cond_5e

    if-eqz p3, :cond_5c

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

    if-lt p8, p7, :cond_5c

    const-string p7, "secure-playback"

    invoke-virtual {p3, p7}, Landroid/media/MediaCodecInfo$CodecCapabilities;->isFeatureSupported(Ljava/lang/String;)Z

    move-result p7

    if-eqz p7, :cond_5c

    goto :goto_5e

    :cond_5c
    move v6, p6

    goto :goto_5f

    :cond_5e
    :goto_5e
    move v6, p5

    :goto_5f
    move-object v0, p4

    move-object v1, p0

    move-object v2, p1

    move-object v3, p2

    move-object v4, p3

    invoke-direct/range {v0 .. v6}, Lz5/ja1;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/media/MediaCodecInfo$CodecCapabilities;ZZ)V

    return-object p4
.end method

.method public static h(Landroid/media/MediaCodecInfo$VideoCapabilities;IID)Z
    .registers 7

    invoke-static {p0, p1, p2}, Lz5/ja1;->i(Landroid/media/MediaCodecInfo$VideoCapabilities;II)Landroid/graphics/Point;

    move-result-object p1

    iget p2, p1, Landroid/graphics/Point;->x:I

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

    const-wide/high16 v0, -0x4010000000000000L    # -1.0

    cmpl-double v0, p3, v0

    if-eqz v0, :cond_1e

    const-wide/high16 v0, 0x3ff0000000000000L    # 1.0

    cmpg-double v0, p3, v0

    if-gez v0, :cond_15

    goto :goto_1e

    :cond_15
    invoke-static {p3, p4}, Ljava/lang/Math;->floor(D)D

    move-result-wide p3

    invoke-virtual {p0, p2, p1, p3, p4}, Landroid/media/MediaCodecInfo$VideoCapabilities;->areSizeAndRateSupported(IID)Z

    move-result p0

    return p0

    :cond_1e
    :goto_1e
    invoke-virtual {p0, p2, p1}, Landroid/media/MediaCodecInfo$VideoCapabilities;->isSizeSupported(II)Z

    move-result p0

    return p0
.end method

.method public static i(Landroid/media/MediaCodecInfo$VideoCapabilities;II)Landroid/graphics/Point;
    .registers 5

    invoke-virtual {p0}, Landroid/media/MediaCodecInfo$VideoCapabilities;->getWidthAlignment()I

    move-result v0

    invoke-virtual {p0}, Landroid/media/MediaCodecInfo$VideoCapabilities;->getHeightAlignment()I

    move-result p0

    new-instance v1, Landroid/graphics/Point;

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

    move-result p1

    mul-int/2addr p1, v0

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

    move-result p2

    mul-int/2addr p2, p0

    invoke-direct {v1, p1, p2}, Landroid/graphics/Point;-><init>(II)V

    return-object v1
.end method


# virtual methods
.method public final b()[Landroid/media/MediaCodecInfo$CodecProfileLevel;
    .registers 2

    iget-object v0, p0, Lz5/ja1;->d:Landroid/media/MediaCodecInfo$CodecCapabilities;

    if-eqz v0, :cond_8

    iget-object v0, v0, Landroid/media/MediaCodecInfo$CodecCapabilities;->profileLevels:[Landroid/media/MediaCodecInfo$CodecProfileLevel;

    if-nez v0, :cond_b

    :cond_8
    const/4 v0, 0x0

    new-array v0, v0, [Landroid/media/MediaCodecInfo$CodecProfileLevel;

    :cond_b
    return-object v0
.end method

.method public final c(Lz5/x2;)Z
    .registers 19

    move-object/from16 v0, p0

    move-object/from16 v1, p1

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

    const-string v3, "audio/flac"

    const-string v4, "audio/vorbis"

    const-string v5, "audio/opus"

    const-string v6, "audio/eac3"

    const-string v7, "audio/ac3"

    const-string v8, "audio/mp4a-latm"

    if-eqz v2, :cond_2e4

    sget-object v9, Lz5/d7;->a:Ljava/util/ArrayList;

    .line 1
    invoke-virtual {v2}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v2

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

    move-result-object v2

    const-string v9, "avc1"

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

    move-result v9

    const-string v10, "video/x-vnd.on2.vp9"

    if-nez v9, :cond_1d7

    const-string v9, "avc3"

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

    move-result v9

    if-eqz v9, :cond_32

    goto/16 :goto_1d7

    :cond_32
    const-string v9, "hev1"

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

    move-result v9

    if-nez v9, :cond_1d4

    const-string v9, "hvc1"

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

    move-result v9

    if-eqz v9, :cond_44

    goto/16 :goto_1d4

    :cond_44
    const-string v9, "dvav"

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

    move-result v9

    if-nez v9, :cond_1d1

    const-string v9, "dva1"

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

    move-result v9

    if-nez v9, :cond_1d1

    const-string v9, "dvhe"

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

    move-result v9

    if-nez v9, :cond_1d1

    const-string v9, "dvh1"

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

    move-result v9

    if-eqz v9, :cond_66

    goto/16 :goto_1d1

    :cond_66
    const-string v9, "av01"

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

    move-result v9

    if-eqz v9, :cond_72

    const-string v2, "video/av01"

    goto/16 :goto_1d9

    :cond_72
    const-string v9, "vp9"

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

    move-result v9

    if-nez v9, :cond_1cf

    const-string v9, "vp09"

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

    move-result v9

    if-eqz v9, :cond_84

    goto/16 :goto_1cf

    :cond_84
    const-string v9, "vp8"

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

    move-result v9

    if-nez v9, :cond_1cc

    const-string v9, "vp08"

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

    move-result v9

    if-eqz v9, :cond_96

    goto/16 :goto_1cc

    :cond_96
    const-string v9, "mp4a"

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

    move-result v9

    const/4 v11, 0x0

    if-eqz v9, :cond_ba

    const-string v9, "mp4a."

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

    move-result v9

    if-eqz v9, :cond_b4

    invoke-static {v2}, Lz5/d7;->f(Ljava/lang/String;)Ll0/l;

    move-result-object v2

    if-eqz v2, :cond_b4

    iget v2, v2, Ll0/l;->a:I

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

    move-result-object v2

    goto :goto_b5

    :cond_b4
    move-object v2, v11

    :goto_b5
    if-nez v2, :cond_1d9

    move-object v2, v8

    goto/16 :goto_1d9

    :cond_ba
    const-string v9, "mha1"

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

    move-result v9

    if-eqz v9, :cond_c6

    const-string v2, "audio/mha1"

    goto/16 :goto_1d9

    :cond_c6
    const-string v9, "mhm1"

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

    move-result v9

    if-eqz v9, :cond_d2

    const-string v2, "audio/mhm1"

    goto/16 :goto_1d9

    :cond_d2
    const-string v9, "ac-3"

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

    move-result v9

    if-nez v9, :cond_1ca

    const-string v9, "dac3"

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

    move-result v9

    if-eqz v9, :cond_e4

    goto/16 :goto_1ca

    :cond_e4
    const-string v9, "ec-3"

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

    move-result v9

    if-nez v9, :cond_1c8

    const-string v9, "dec3"

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

    move-result v9

    if-eqz v9, :cond_f6

    goto/16 :goto_1c8

    :cond_f6
    const-string v9, "ec+3"

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

    move-result v9

    if-eqz v9, :cond_102

    const-string v2, "audio/eac3-joc"

    goto/16 :goto_1d9

    :cond_102
    const-string v9, "ac-4"

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

    move-result v9

    if-nez v9, :cond_1c5

    const-string v9, "dac4"

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

    move-result v9

    if-eqz v9, :cond_114

    goto/16 :goto_1c5

    :cond_114
    const-string v9, "dtsc"

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

    move-result v9

    if-eqz v9, :cond_120

    const-string v2, "audio/vnd.dts"

    goto/16 :goto_1d9

    :cond_120
    const-string v9, "dtse"

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

    move-result v9

    if-eqz v9, :cond_12c

    const-string v2, "audio/vnd.dts.hd;profile=lbr"

    goto/16 :goto_1d9

    :cond_12c
    const-string v9, "dtsh"

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

    move-result v9

    if-nez v9, :cond_1c2

    const-string v9, "dtsl"

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

    move-result v9

    if-eqz v9, :cond_13e

    goto/16 :goto_1c2

    :cond_13e
    const-string v9, "dtsx"

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

    move-result v9

    if-eqz v9, :cond_14a

    const-string v2, "audio/vnd.dts.uhd"

    goto/16 :goto_1d9

    :cond_14a
    const-string v9, "opus"

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

    move-result v9

    if-eqz v9, :cond_155

    move-object v2, v5

    goto/16 :goto_1d9

    :cond_155
    const-string v9, "vorbis"

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

    move-result v9

    if-eqz v9, :cond_160

    move-object v2, v4

    goto/16 :goto_1d9

    :cond_160
    const-string v9, "flac"

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

    move-result v9

    if-eqz v9, :cond_16b

    move-object v2, v3

    goto/16 :goto_1d9

    :cond_16b
    const-string v9, "stpp"

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

    move-result v9

    if-eqz v9, :cond_177

    const-string v2, "application/ttml+xml"

    goto/16 :goto_1d9

    :cond_177
    const-string v9, "wvtt"

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

    move-result v9

    if-eqz v9, :cond_183

    const-string v2, "text/vtt"

    goto/16 :goto_1d9

    :cond_183
    const-string v9, "cea708"

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

    move-result v9

    if-eqz v9, :cond_18e

    const-string v2, "application/cea-708"

    goto :goto_1d9

    :cond_18e
    const-string v9, "eia608"

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

    move-result v9

    if-nez v9, :cond_1bf

    const-string v9, "cea608"

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

    move-result v9

    if-eqz v9, :cond_19f

    goto :goto_1bf

    :cond_19f
    sget-object v9, Lz5/d7;->a:Ljava/util/ArrayList;

    invoke-virtual {v9}, Ljava/util/ArrayList;->size()I

    move-result v9

    const/4 v12, 0x0

    :goto_1a6
    if-ge v12, v9, :cond_1bd

    sget-object v13, Lz5/d7;->a:Ljava/util/ArrayList;

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

    move-result-object v13

    check-cast v13, Lz5/c7;

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

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

    move-result v13

    if-eqz v13, :cond_1ba

    goto :goto_1bd

    :cond_1ba
    add-int/lit8 v12, v12, 0x1

    goto :goto_1a6

    :cond_1bd
    :goto_1bd
    move-object v2, v11

    goto :goto_1d9

    :cond_1bf
    :goto_1bf
    const-string v2, "application/cea-608"

    goto :goto_1d9

    :cond_1c2
    :goto_1c2
    const-string v2, "audio/vnd.dts.hd"

    goto :goto_1d9

    :cond_1c5
    :goto_1c5
    const-string v2, "audio/ac4"

    goto :goto_1d9

    :cond_1c8
    :goto_1c8
    move-object v2, v6

    goto :goto_1d9

    :cond_1ca
    :goto_1ca
    move-object v2, v7

    goto :goto_1d9

    :cond_1cc
    :goto_1cc
    const-string v2, "video/x-vnd.on2.vp8"

    goto :goto_1d9

    :cond_1cf
    :goto_1cf
    move-object v2, v10

    goto :goto_1d9

    :cond_1d1
    :goto_1d1
    const-string v2, "video/dolby-vision"

    goto :goto_1d9

    :cond_1d4
    :goto_1d4
    const-string v2, "video/hevc"

    goto :goto_1d9

    :cond_1d7
    :goto_1d7
    const-string v2, "video/avc"

    :cond_1d9
    :goto_1d9
    if-nez v2, :cond_1dd

    goto/16 :goto_2e4

    .line 2
    :cond_1dd
    iget-object v9, v0, Lz5/ja1;->b:Ljava/lang/String;

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

    move-result v9

    const-string v11, ", "

    if-nez v9, :cond_201

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

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

    move-result-object v3

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

    move-result v3

    new-instance v4, Ljava/lang/StringBuilder;

    add-int/lit8 v3, v3, 0xd

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

    move-result v5

    add-int/2addr v5, v3

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

    const-string v3, "codec.mime "

    goto/16 :goto_2db

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

    move-result-object v9

    if-eqz v9, :cond_2e4

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

    check-cast v12, Ljava/lang/Integer;

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

    move-result v12

    iget-object v9, v9, Landroid/util/Pair;->second:Ljava/lang/Object;

    check-cast v9, Ljava/lang/Integer;

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

    move-result v9

    iget-boolean v13, v0, Lz5/ja1;->g:Z

    const/16 v14, 0x2a

    if-nez v13, :cond_220

    if-ne v12, v14, :cond_2e4

    move v12, v14

    :cond_220
    invoke-virtual/range {p0 .. p0}, Lz5/ja1;->b()[Landroid/media/MediaCodecInfo$CodecProfileLevel;

    move-result-object v13

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

    const/16 v15, 0x17

    if-gt v14, v15, :cond_2ae

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

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

    move-result v10

    if-eqz v10, :cond_2ae

    array-length v10, v13

    if-nez v10, :cond_2ae

    iget-object v10, v0, Lz5/ja1;->d:Landroid/media/MediaCodecInfo$CodecCapabilities;

    if-eqz v10, :cond_24e

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

    move-result-object v10

    if-eqz v10, :cond_24e

    invoke-virtual {v10}, Landroid/media/MediaCodecInfo$VideoCapabilities;->getBitrateRange()Landroid/util/Range;

    move-result-object v10

    invoke-virtual {v10}, Landroid/util/Range;->getUpper()Ljava/lang/Comparable;

    move-result-object v10

    check-cast v10, Ljava/lang/Integer;

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

    move-result v10

    goto :goto_24f

    :cond_24e
    const/4 v10, 0x0

    :goto_24f
    const v13, 0xaba9500

    if-lt v10, v13, :cond_257

    const/16 v10, 0x400

    goto :goto_29e

    :cond_257
    const v13, 0x7270e00

    if-lt v10, v13, :cond_25f

    const/16 v10, 0x200

    goto :goto_29e

    :cond_25f
    const v13, 0x3938700

    if-lt v10, v13, :cond_267

    const/16 v10, 0x100

    goto :goto_29e

    :cond_267
    const v13, 0x1c9c380

    if-lt v10, v13, :cond_26f

    const/16 v10, 0x80

    goto :goto_29e

    :cond_26f
    const v13, 0x112a880

    if-lt v10, v13, :cond_277

    const/16 v10, 0x40

    goto :goto_29e

    :cond_277
    const v13, 0xb71b00

    if-lt v10, v13, :cond_27f

    const/16 v10, 0x20

    goto :goto_29e

    :cond_27f
    const v13, 0x6ddd00

    if-lt v10, v13, :cond_287

    const/16 v10, 0x10

    goto :goto_29e

    :cond_287
    const v13, 0x36ee80

    if-lt v10, v13, :cond_28f

    const/16 v10, 0x8

    goto :goto_29e

    :cond_28f
    const v13, 0x1b7740

    if-lt v10, v13, :cond_296

    const/4 v10, 0x4

    goto :goto_29e

    :cond_296
    const v13, 0xc3500

    if-lt v10, v13, :cond_29d

    const/4 v10, 0x2

    goto :goto_29e

    :cond_29d
    const/4 v10, 0x1

    :goto_29e
    new-instance v13, Landroid/media/MediaCodecInfo$CodecProfileLevel;

    invoke-direct {v13}, Landroid/media/MediaCodecInfo$CodecProfileLevel;-><init>()V

    const/4 v14, 0x1

    iput v14, v13, Landroid/media/MediaCodecInfo$CodecProfileLevel;->profile:I

    iput v10, v13, Landroid/media/MediaCodecInfo$CodecProfileLevel;->level:I

    new-array v10, v14, [Landroid/media/MediaCodecInfo$CodecProfileLevel;

    const/4 v14, 0x0

    aput-object v13, v10, v14

    move-object v13, v10

    :cond_2ae
    array-length v10, v13

    const/4 v14, 0x0

    :goto_2b0
    if-ge v14, v10, :cond_2c3

    aget-object v15, v13, v14

    move/from16 v16, v10

    iget v10, v15, Landroid/media/MediaCodecInfo$CodecProfileLevel;->profile:I

    if-ne v10, v12, :cond_2be

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

    if-ge v10, v9, :cond_2e4

    :cond_2be
    add-int/lit8 v14, v14, 0x1

    move/from16 v10, v16

    goto :goto_2b0

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

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

    move-result-object v3

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

    move-result v3

    new-instance v4, Ljava/lang/StringBuilder;

    add-int/lit8 v3, v3, 0x16

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

    move-result v5

    add-int/2addr v5, v3

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

    const-string v3, "codec.profileLevel, "

    :goto_2db
    invoke-static {v4, v3, v1, v11, v2}, Lb1/e;->a(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lz5/ja1;->g(Ljava/lang/String;)V

    const/4 v1, 0x0

    return v1

    :cond_2e4
    :goto_2e4
    iget-boolean v2, v0, Lz5/ja1;->g:Z

    const/16 v9, 0x15

    if-eqz v2, :cond_31f

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

    if-lez v2, :cond_31d

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

    if-gtz v3, :cond_2f3

    goto :goto_31d

    :cond_2f3
    sget v4, Lz5/r7;->a:I

    if-lt v4, v9, :cond_2ff

    iget v1, v1, Lz5/x2;->r:F

    float-to-double v4, v1

    invoke-virtual {v0, v2, v3, v4, v5}, Lz5/ja1;->f(IID)Z

    move-result v1

    return v1

    :cond_2ff
    mul-int/2addr v2, v3

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

    move-result v3

    if-gt v2, v3, :cond_308

    const/4 v2, 0x1

    goto :goto_309

    :cond_308
    const/4 v2, 0x0

    :goto_309
    if-nez v2, :cond_31c

    iget v3, v1, Lz5/x2;->p:I

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

    const/16 v4, 0x28

    const-string v5, "legacyFrameSize, "

    const-string v6, "x"

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

    move-result-object v1

    invoke-virtual {v0, v1}, Lz5/ja1;->g(Ljava/lang/String;)V

    :cond_31c
    return v2

    :cond_31d
    :goto_31d
    const/4 v1, 0x1

    return v1

    :cond_31f
    sget v2, Lz5/r7;->a:I

    if-lt v2, v9, :cond_420

    iget v9, v1, Lz5/x2;->y:I

    const/4 v10, -0x1

    if-eq v9, v10, :cond_34c

    iget-object v11, v0, Lz5/ja1;->d:Landroid/media/MediaCodecInfo$CodecCapabilities;

    if-nez v11, :cond_32f

    const-string v1, "sampleRate.caps"

    goto :goto_346

    :cond_32f
    invoke-virtual {v11}, Landroid/media/MediaCodecInfo$CodecCapabilities;->getAudioCapabilities()Landroid/media/MediaCodecInfo$AudioCapabilities;

    move-result-object v11

    if-nez v11, :cond_338

    const-string v1, "sampleRate.aCaps"

    goto :goto_346

    :cond_338
    invoke-virtual {v11, v9}, Landroid/media/MediaCodecInfo$AudioCapabilities;->isSampleRateSupported(I)Z

    move-result v11

    if-nez v11, :cond_34c

    const/16 v1, 0x1f

    const-string v2, "sampleRate.support, "

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

    move-result-object v1

    :goto_346
    invoke-virtual {v0, v1}, Lz5/ja1;->g(Ljava/lang/String;)V

    const/4 v1, 0x0

    goto/16 :goto_421

    :cond_34c
    iget v1, v1, Lz5/x2;->x:I

    if-eq v1, v10, :cond_420

    iget-object v9, v0, Lz5/ja1;->d:Landroid/media/MediaCodecInfo$CodecCapabilities;

    if-nez v9, :cond_358

    const-string v1, "channelCount.caps"

    goto/16 :goto_419

    :cond_358
    invoke-virtual {v9}, Landroid/media/MediaCodecInfo$CodecCapabilities;->getAudioCapabilities()Landroid/media/MediaCodecInfo$AudioCapabilities;

    move-result-object v9

    if-nez v9, :cond_362

    const-string v1, "channelCount.aCaps"

    goto/16 :goto_419

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

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

    invoke-virtual {v9}, Landroid/media/MediaCodecInfo$AudioCapabilities;->getMaxInputChannelCount()I

    move-result v9

    const/4 v12, 0x1

    if-gt v9, v12, :cond_40f

    const/16 v13, 0x1a

    if-lt v2, v13, :cond_375

    if-lez v9, :cond_375

    goto/16 :goto_40f

    :cond_375
    const-string v2, "audio/mpeg"

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

    move-result v2

    if-nez v2, :cond_40f

    const-string v2, "audio/3gpp"

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

    move-result v2

    if-nez v2, :cond_40f

    const-string v2, "audio/amr-wb"

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

    move-result v2

    if-nez v2, :cond_40f

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

    move-result v2

    if-nez v2, :cond_40f

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

    move-result v2

    if-nez v2, :cond_40f

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

    move-result v2

    if-nez v2, :cond_40f

    const-string v2, "audio/raw"

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

    move-result v2

    if-nez v2, :cond_40f

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

    move-result v2

    if-nez v2, :cond_40f

    const-string v2, "audio/g711-alaw"

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

    move-result v2

    if-nez v2, :cond_40f

    const-string v2, "audio/g711-mlaw"

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

    move-result v2

    if-nez v2, :cond_40f

    const-string v2, "audio/gsm"

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

    move-result v2

    if-eqz v2, :cond_3c6

    goto :goto_40f

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

    move-result v2

    if-eqz v2, :cond_3ce

    const/4 v2, 0x6

    goto :goto_3d9

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

    move-result v2

    if-eqz v2, :cond_3d7

    const/16 v2, 0x10

    goto :goto_3d9

    :cond_3d7
    const/16 v2, 0x1e

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

    move-result-object v3

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

    move-result v3

    new-instance v4, Ljava/lang/StringBuilder;

    add-int/lit8 v3, v3, 0x3b

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

    const-string v3, "AssumedMaxChannelAdjustment: "

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

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

    const-string v3, ", ["

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

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

    const-string v3, " to "

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

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

    const-string v3, "]"

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

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

    move-result-object v3

    const-string v4, "MediaCodecInfo"

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

    move v9, v2

    :cond_40f
    :goto_40f
    if-ge v9, v1, :cond_41e

    const/16 v2, 0x21

    const-string v3, "channelCount.support, "

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

    move-result-object v1

    :goto_419
    invoke-virtual {v0, v1}, Lz5/ja1;->g(Ljava/lang/String;)V

    const/4 v1, 0x0

    return v1

    :cond_41e
    move v1, v12

    goto :goto_421

    :cond_420
    const/4 v1, 0x1

    :goto_421
    return v1
.end method

.method public final d(Lz5/x2;)Z
    .registers 3

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

    if-eqz v0, :cond_7

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

    return p1

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

    move-result-object p1

    if-eqz p1, :cond_1b

    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 v0, 0x2a

    if-ne p1, v0, :cond_1b

    const/4 p1, 0x1

    return p1

    :cond_1b
    const/4 p1, 0x0

    return p1
.end method

.method public final e(Lz5/x2;Lz5/x2;)Lz5/dh;
    .registers 16

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

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

    invoke-static {v0, v1}, Lz5/r7;->l(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v0

    const/4 v1, 0x1

    if-eq v1, v0, :cond_e

    const/16 v0, 0x8

    goto :goto_f

    :cond_e
    const/4 v0, 0x0

    :goto_f
    iget-boolean v2, p0, Lz5/ja1;->g:Z

    if-eqz v2, :cond_70

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

    iget v3, p2, Lz5/x2;->s:I

    if-eq v2, v3, :cond_1b

    or-int/lit16 v0, v0, 0x400

    :cond_1b
    iget-boolean v2, p0, Lz5/ja1;->e:Z

    if-nez v2, :cond_2d

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

    iget v3, p2, Lz5/x2;->p:I

    if-ne v2, v3, :cond_2b

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

    iget v3, p2, Lz5/x2;->q:I

    if-eq v2, v3, :cond_2d

    :cond_2b
    or-int/lit16 v0, v0, 0x200

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

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

    invoke-static {v2, v3}, Lz5/r7;->l(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_39

    or-int/lit16 v0, v0, 0x800

    :cond_39
    iget-object v2, p0, Lz5/ja1;->a:Ljava/lang/String;

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

    const-string v4, "SM-T230"

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

    move-result v3

    if-eqz v3, :cond_55

    const-string v3, "OMX.MARVELL.VIDEO.HW.CODA7542DECODER"

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

    move-result v2

    if-eqz v2, :cond_55

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

    move-result v2

    if-nez v2, :cond_55

    or-int/lit8 v0, v0, 0x2

    :cond_55
    if-nez v0, :cond_6d

    new-instance v0, Lz5/dh;

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

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

    move-result v2

    if-eq v1, v2, :cond_63

    const/4 v1, 0x2

    goto :goto_64

    :cond_63
    const/4 v1, 0x3

    :goto_64
    move v6, v1

    const/4 v7, 0x0

    move-object v2, v0

    move-object v4, p1

    move-object v5, p2

    invoke-direct/range {v2 .. v7}, Lz5/dh;-><init>(Ljava/lang/String;Lz5/x2;Lz5/x2;II)V

    return-object v0

    :cond_6d
    move v12, v0

    goto/16 :goto_e7

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

    iget v2, p2, Lz5/x2;->x:I

    if-eq v1, v2, :cond_78

    or-int/lit16 v0, v0, 0x1000

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

    iget v2, p2, Lz5/x2;->y:I

    if-eq v1, v2, :cond_80

    or-int/lit16 v0, v0, 0x2000

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

    iget v2, p2, Lz5/x2;->z:I

    if-eq v1, v2, :cond_88

    or-int/lit16 v0, v0, 0x4000

    :cond_88
    if-nez v0, :cond_c4

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

    const-string v2, "audio/mp4a-latm"

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

    move-result v1

    if-eqz v1, :cond_c4

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

    move-result-object v1

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

    move-result-object v2

    if-eqz v1, :cond_c4

    if-eqz v2, :cond_c4

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

    check-cast v1, Ljava/lang/Integer;

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

    move-result v1

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

    check-cast v2, Ljava/lang/Integer;

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

    move-result v2

    const/16 v3, 0x2a

    if-ne v1, v3, :cond_c4

    if-eq v2, v3, :cond_b7

    goto :goto_c4

    :cond_b7
    new-instance v0, Lz5/dh;

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

    const/4 v8, 0x3

    const/4 v9, 0x0

    move-object v4, v0

    move-object v6, p1

    move-object v7, p2

    invoke-direct/range {v4 .. v9}, Lz5/dh;-><init>(Ljava/lang/String;Lz5/x2;Lz5/x2;II)V

    return-object v0

    :cond_c4
    :goto_c4
    invoke-virtual {p1, p2}, Lz5/x2;->a(Lz5/x2;)Z

    move-result v1

    if-nez v1, :cond_cc

    or-int/lit8 v0, v0, 0x20

    :cond_cc
    iget-object v1, p0, Lz5/ja1;->b:Ljava/lang/String;

    const-string v2, "audio/opus"

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

    move-result v1

    if-eqz v1, :cond_d8

    or-int/lit8 v0, v0, 0x2

    :cond_d8
    if-nez v0, :cond_6d

    new-instance v0, Lz5/dh;

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

    const/4 v5, 0x1

    const/4 v6, 0x0

    move-object v1, v0

    move-object v3, p1

    move-object v4, p2

    invoke-direct/range {v1 .. v6}, Lz5/dh;-><init>(Ljava/lang/String;Lz5/x2;Lz5/x2;II)V

    return-object v0

    :goto_e7
    new-instance v0, Lz5/dh;

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

    const/4 v11, 0x0

    move-object v7, v0

    move-object v9, p1

    move-object v10, p2

    invoke-direct/range {v7 .. v12}, Lz5/dh;-><init>(Ljava/lang/String;Lz5/x2;Lz5/x2;II)V

    return-object v0
.end method

.method public final f(IID)Z
    .registers 11

    iget-object v0, p0, Lz5/ja1;->d:Landroid/media/MediaCodecInfo$CodecCapabilities;

    const/4 v1, 0x0

    if-nez v0, :cond_9

    const-string p1, "sizeAndRate.caps"

    goto/16 :goto_9d

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

    move-result-object v0

    if-nez v0, :cond_13

    const-string p1, "sizeAndRate.vCaps"

    goto/16 :goto_9d

    :cond_13
    invoke-static {v0, p1, p2, p3, p4}, Lz5/ja1;->h(Landroid/media/MediaCodecInfo$VideoCapabilities;IID)Z

    move-result v2

    if-nez v2, :cond_a1

    const/16 v2, 0x45

    const-string v3, "x"

    if-ge p1, p2, :cond_8d

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

    const-string v5, "OMX.MTK.VIDEO.DECODER.HEVC"

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

    move-result v4

    if-eqz v4, :cond_33

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

    const-string v5, "mcv5a"

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

    move-result v4

    if-nez v4, :cond_8d

    :cond_33
    invoke-static {v0, p2, p1, p3, p4}, Lz5/ja1;->h(Landroid/media/MediaCodecInfo$VideoCapabilities;IID)Z

    move-result v0

    if-nez v0, :cond_3a

    goto :goto_8d

    :cond_3a
    const-string v0, "sizeAndRate.rotated, "

    invoke-static {v2, v0, p1, v3, p2}, Ll5/p;->a(ILjava/lang/String;ILjava/lang/String;I)Ljava/lang/StringBuilder;

    move-result-object p1

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

    invoke-virtual {p1, p3, p4}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

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

    move-result-object p1

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

    iget-object p3, p0, Lz5/ja1;->b:Ljava/lang/String;

    sget-object p4, Lz5/r7;->e:Ljava/lang/String;

    invoke-static {p2}, 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

    invoke-static {p4}, 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

    new-instance v2, Ljava/lang/StringBuilder;

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

    move-result v3

    add-int/lit8 v3, v3, 0x19

    add-int/2addr v3, v0

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

    move-result v0

    add-int/2addr v0, v3

    add-int/2addr v0, v1

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

    const-string v0, "AssumedSupport ["

    const-string v1, "] ["

    invoke-static {v2, v0, p1, v1, p2}, Lb1/f;->a(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    const-string p1, ", "

    invoke-static {v2, p1, p3, v1, p4}, Lb1/f;->a(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    const-string p1, "]"

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

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

    move-result-object p1

    const-string p2, "MediaCodecInfo"

    invoke-static {p2, p1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    goto :goto_a1

    :cond_8d
    :goto_8d
    const-string v0, "sizeAndRate.support, "

    invoke-static {v2, v0, p1, v3, p2}, Ll5/p;->a(ILjava/lang/String;ILjava/lang/String;I)Ljava/lang/StringBuilder;

    move-result-object p1

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

    invoke-virtual {p1, p3, p4}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

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

    move-result-object p1

    :goto_9d
    invoke-virtual {p0, p1}, Lz5/ja1;->g(Ljava/lang/String;)V

    return v1

    :cond_a1
    :goto_a1
    const/4 p1, 0x1

    return p1
.end method

.method public final g(Ljava/lang/String;)V
    .registers 9

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

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

    sget-object v2, Lz5/r7;->e:Ljava/lang/String;

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

    move-result-object v3

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

    move-result v3

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

    move-result-object v4

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

    move-result v4

    new-instance v5, Ljava/lang/StringBuilder;

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

    move-result v6

    add-int/lit8 v6, v6, 0x14

    add-int/2addr v6, v3

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

    move-result v3

    add-int/2addr v3, v6

    add-int/2addr v3, v4

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

    const-string v3, "NoSupport ["

    const-string v4, "] ["

    invoke-static {v5, v3, p1, v4, v0}, Lb1/f;->a(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    const-string p1, ", "

    invoke-static {v5, p1, v1, v4, v2}, Lb1/f;->a(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    const-string p1, "]"

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

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

    move-result-object p1

    const-string v0, "MediaCodecInfo"

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

    return-void
.end method

.method public final toString()Ljava/lang/String;
    .registers 2

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

    return-object v0
.end method
