.class public final Lcom/google/android/gms/internal/ads/h8;
.super Ljava/lang/Object;
.source ""


# direct methods
.method public static A(Ljava/util/concurrent/Future;)Ljava/lang/Object;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<V:",
            "Ljava/lang/Object;",
            ">(",
            "Ljava/util/concurrent/Future<",
            "TV;>;)TV;"
        }
    .end annotation

    :try_start_0
    invoke-static {p0}, Lp/a;->h(Ljava/util/concurrent/Future;)Ljava/lang/Object;

    move-result-object p0
    :try_end_4
    .catch Ljava/util/concurrent/ExecutionException; {:try_start_0 .. :try_end_4} :catch_5

    return-object p0

    :catch_5
    move-exception p0

    invoke-virtual {p0}, Ljava/util/concurrent/ExecutionException;->getCause()Ljava/lang/Throwable;

    move-result-object p0

    instance-of v0, p0, Ljava/lang/Error;

    if-eqz v0, :cond_16

    new-instance v0, Lcom/google/android/gms/internal/ads/f8;

    check-cast p0, Ljava/lang/Error;

    invoke-direct {v0, p0}, Lcom/google/android/gms/internal/ads/f8;-><init>(Ljava/lang/Error;)V

    throw v0

    :cond_16
    new-instance v0, Lcom/google/android/gms/internal/ads/o8;

    invoke-direct {v0, p0}, Lcom/google/android/gms/internal/ads/o8;-><init>(Ljava/lang/Throwable;)V

    throw v0
.end method

.method public static a(Lt4/a;)I
    .registers 2

    invoke-virtual {p0}, Ljava/lang/Enum;->ordinal()I

    move-result p0

    const/4 v0, 0x1

    if-eqz p0, :cond_11

    if-eq p0, v0, :cond_f

    const/4 v0, 0x2

    if-eq p0, v0, :cond_e

    const/4 p0, 0x0

    return p0

    :cond_e
    return v0

    :cond_f
    const/4 p0, 0x3

    return p0

    :cond_11
    return v0
.end method

.method public static b(Ljava/lang/String;)Ljava/lang/String;
    .registers 9

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

    move-result v0

    const/4 v1, 0x0

    move v2, v1

    :goto_6
    if-ge v2, v0, :cond_3b

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

    move-result v3

    const/16 v4, 0x5a

    const/16 v5, 0x41

    const/4 v6, 0x1

    if-lt v3, v5, :cond_17

    if-gt v3, v4, :cond_17

    move v3, v6

    goto :goto_18

    :cond_17
    move v3, v1

    :goto_18
    if-eqz v3, :cond_38

    invoke-virtual {p0}, Ljava/lang/String;->toCharArray()[C

    move-result-object p0

    :goto_1e
    if-ge v2, v0, :cond_33

    aget-char v3, p0, v2

    if-lt v3, v5, :cond_28

    if-gt v3, v4, :cond_28

    move v7, v6

    goto :goto_29

    :cond_28
    move v7, v1

    :goto_29
    if-eqz v7, :cond_30

    xor-int/lit8 v3, v3, 0x20

    int-to-char v3, v3

    aput-char v3, p0, v2

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

    goto :goto_1e

    :cond_33
    invoke-static {p0}, Ljava/lang/String;->valueOf([C)Ljava/lang/String;

    move-result-object p0

    return-object p0

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

    goto :goto_6

    :cond_3b
    return-object p0
.end method

.method public static final c(Lz5/fc1;Ljava/lang/Object;Lz5/g51;)Lz5/fe0;
    .registers 10
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<O:",
            "Ljava/lang/Object;",
            ">(",
            "Lz5/fc1<",
            "TO;>;",
            "Ljava/lang/Object;",
            "Lz5/g51;",
            ")",
            "Lz5/fe0;"
        }
    .end annotation

    new-instance v6, Lz5/fe0;

    .line 1
    sget-object v3, Lz5/g51;->d:Lz5/fc1;

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

    move-result-object v4

    move-object v0, v6

    move-object v1, p2

    move-object v2, p1

    move-object v5, p0

    invoke-direct/range {v0 .. v5}, Lz5/fe0;-><init>(Lz5/g51;Ljava/lang/Object;Lz5/fc1;Ljava/util/List;Lz5/fc1;)V

    return-object v6
.end method

.method public static d(Lz5/au1;)Lz5/d41;
    .registers 14

    new-instance v0, Lz5/j7;

    const/16 v1, 0x10

    const/4 v2, 0x0

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

    invoke-static {p0, v0}, Lz5/hs1;->a(Lz5/au1;Lz5/j7;)Lz5/hs1;

    move-result-object v3

    iget v3, v3, Lz5/hs1;->a:I

    const/4 v4, 0x0

    const v5, 0x52494646

    if-eq v3, v5, :cond_15

    return-object v4

    .line 1
    :cond_15
    iget-object v3, v0, Lz5/j7;->b:[B

    .line 2
    move-object v5, p0

    check-cast v5, Lz5/vt1;

    const/4 v6, 0x4

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

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

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

    move-result v3

    const v6, 0x57415645

    if-eq v3, v6, :cond_43

    new-instance p0, Ljava/lang/StringBuilder;

    const/16 v0, 0x24

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

    const-string v0, "Unsupported RIFF format: "

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

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

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

    move-result-object p0

    const-string v0, "WavHeaderReader"

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

    return-object v4

    :cond_43
    :goto_43
    invoke-static {p0, v0}, Lz5/hs1;->a(Lz5/au1;Lz5/j7;)Lz5/hs1;

    move-result-object v3

    iget v4, v3, Lz5/hs1;->a:I

    const v6, 0x666d7420

    if-eq v4, v6, :cond_55

    iget-wide v3, v3, Lz5/hs1;->b:J

    long-to-int v3, v3

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

    goto :goto_43

    :cond_55
    iget-wide v6, v3, Lz5/hs1;->b:J

    const-wide/16 v8, 0x10

    cmp-long p0, v6, v8

    if-ltz p0, :cond_5f

    const/4 p0, 0x1

    goto :goto_60

    :cond_5f
    move p0, v2

    :goto_60
    invoke-static {p0}, Lcom/google/android/gms/internal/ads/d;->n(Z)V

    .line 3
    iget-object p0, v0, Lz5/j7;->b:[B

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

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

    invoke-virtual {v0}, Lz5/j7;->C()I

    move-result v7

    invoke-virtual {v0}, Lz5/j7;->C()I

    move-result v8

    invoke-virtual {v0}, Lz5/j7;->c()I

    move-result v9

    invoke-virtual {v0}, Lz5/j7;->c()I

    invoke-virtual {v0}, Lz5/j7;->C()I

    move-result v10

    invoke-virtual {v0}, Lz5/j7;->C()I

    move-result v11

    iget-wide v0, v3, Lz5/hs1;->b:J

    long-to-int p0, v0

    add-int/lit8 p0, p0, -0x10

    if-lez p0, :cond_90

    new-array v0, p0, [B

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

    move-object v12, v0

    goto :goto_93

    :cond_90
    sget-object p0, Lz5/r7;->f:[B

    move-object v12, p0

    :goto_93
    new-instance p0, Lz5/d41;

    move-object v6, p0

    invoke-direct/range {v6 .. v12}, Lz5/d41;-><init>(IIIII[B)V

    return-object p0
.end method

.method public static e(Ljava/lang/Object;)Lz5/fc1;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<V:",
            "Ljava/lang/Object;",
            ">(TV;)",
            "Lz5/fc1<",
            "TV;>;"
        }
    .end annotation

    if-nez p0, :cond_5

    sget-object p0, Lz5/bc1;->s:Lz5/fc1;

    return-object p0

    :cond_5
    new-instance v0, Lz5/bc1;

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

    return-object v0
.end method

.method public static f(Landroid/media/MediaFormat;Ljava/util/List;)V
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/media/MediaFormat;",
            "Ljava/util/List<",
            "[B>;)V"
        }
    .end annotation

    const/4 v0, 0x0

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

    move-result v1

    if-ge v0, v1, :cond_1f

    const/16 v1, 0xf

    const-string v2, "csd-"

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

    move-result-object v1

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

    move-result-object v2

    check-cast v2, [B

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

    move-result-object v2

    invoke-virtual {p0, v1, v2}, Landroid/media/MediaFormat;->setByteBuffer(Ljava/lang/String;Ljava/nio/ByteBuffer;)V

    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    :cond_1f
    return-void
.end method

.method public static g(Ljava/lang/String;)V
    .registers 3

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

    const/16 v1, 0x12

    if-lt v0, v1, :cond_9

    invoke-static {p0}, Landroid/os/Trace;->beginSection(Ljava/lang/String;)V

    :cond_9
    return-void
.end method

.method public static h(I)Z
    .registers 7

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

    const/4 v0, 0x1

    const/4 v1, 0x0

    if-eqz p0, :cond_3c

    invoke-static {}, Lz5/me1;->a()Z

    move-result p0

    if-eqz p0, :cond_3b

    :try_start_c
    const-string p0, "org.conscrypt.Conscrypt"

    .line 1
    invoke-static {p0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object p0

    const-string v2, "isBoringSslFIPSBuild"

    new-array v3, v1, [Ljava/lang/Class;

    invoke-virtual {p0, v2, v3}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;

    move-result-object p0

    const/4 v2, 0x0

    new-array v3, v1, [Ljava/lang/Object;

    invoke-virtual {p0, v2, v3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Ljava/lang/Boolean;
    :try_end_23
    .catch Ljava/lang/Exception; {:try_start_c .. :try_end_23} :catch_24

    goto :goto_33

    :catch_24
    sget-object p0, Lz5/me1;->a:Ljava/util/logging/Logger;

    sget-object v2, Ljava/util/logging/Level;->INFO:Ljava/util/logging/Level;

    const-string v3, "com.google.crypto.tink.config.internal.TinkFipsUtil"

    const-string v4, "checkConscryptIsAvailableAndUsesFipsBoringSsl"

    const-string v5, "Conscrypt is not available or does not support checking for FIPS build."

    invoke-virtual {p0, v2, v3, v4, v5}, Ljava/util/logging/Logger;->logp(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    sget-object p0, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;

    .line 2
    :goto_33
    invoke-virtual {p0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result p0

    if-eqz p0, :cond_3a

    goto :goto_3b

    :cond_3a
    return v1

    :cond_3b
    :goto_3b
    return v0

    :cond_3c
    invoke-static {}, Lz5/me1;->a()Z

    move-result p0

    if-nez p0, :cond_43

    return v0

    :cond_43
    return v1
.end method

.method public static i(Ljava/lang/String;)Ljava/lang/String;
    .registers 9

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

    move-result v0

    const/4 v1, 0x0

    move v2, v1

    :goto_6
    if-ge v2, v0, :cond_3b

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

    move-result v3

    const/16 v4, 0x7a

    const/16 v5, 0x61

    const/4 v6, 0x1

    if-lt v3, v5, :cond_17

    if-gt v3, v4, :cond_17

    move v3, v6

    goto :goto_18

    :cond_17
    move v3, v1

    :goto_18
    if-eqz v3, :cond_38

    invoke-virtual {p0}, Ljava/lang/String;->toCharArray()[C

    move-result-object p0

    :goto_1e
    if-ge v2, v0, :cond_33

    aget-char v3, p0, v2

    if-lt v3, v5, :cond_28

    if-gt v3, v4, :cond_28

    move v7, v6

    goto :goto_29

    :cond_28
    move v7, v1

    :goto_29
    if-eqz v7, :cond_30

    xor-int/lit8 v3, v3, 0x20

    int-to-char v3, v3

    aput-char v3, p0, v2

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

    goto :goto_1e

    :cond_33
    invoke-static {p0}, Ljava/lang/String;->valueOf([C)Ljava/lang/String;

    move-result-object p0

    return-object p0

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

    goto :goto_6

    :cond_3b
    return-object p0
.end method

.method public static j(Lz5/zj;Z)Lu4/a;
    .registers 10

    iget-object v0, p0, Lz5/zj;->v:Ljava/util/List;

    if-eqz v0, :cond_a

    new-instance v1, Ljava/util/HashSet;

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

    goto :goto_b

    :cond_a
    const/4 v1, 0x0

    :goto_b
    move-object v5, v1

    new-instance v0, Lu4/a;

    new-instance v3, Ljava/util/Date;

    iget-wide v1, p0, Lz5/zj;->s:J

    invoke-direct {v3, v1, v2}, Ljava/util/Date;-><init>(J)V

    iget v1, p0, Lz5/zj;->u:I

    const/4 v2, 0x1

    if-eq v1, v2, :cond_23

    const/4 v2, 0x2

    if-eq v1, v2, :cond_20

    sget-object v1, Lt4/b;->r:Lt4/b;

    goto :goto_25

    :cond_20
    sget-object v1, Lt4/b;->t:Lt4/b;

    goto :goto_25

    :cond_23
    sget-object v1, Lt4/b;->s:Lt4/b;

    :goto_25
    move-object v4, v1

    iget-object v7, p0, Lz5/zj;->B:Landroid/location/Location;

    move-object v2, v0

    move v6, p1

    invoke-direct/range {v2 .. v7}, Lu4/a;-><init>(Ljava/util/Date;Lt4/b;Ljava/util/Set;ZLandroid/location/Location;)V

    return-object v0
.end method

.method public static k()V
    .registers 2

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

    const/16 v1, 0x12

    if-lt v0, v1, :cond_9

    invoke-static {}, Landroid/os/Trace;->endSection()V

    :cond_9
    return-void
.end method

.method public static l(Landroid/media/MediaFormat;Ljava/lang/String;I)V
    .registers 4

    const/4 v0, -0x1

    if-eq p2, v0, :cond_6

    invoke-virtual {p0, p1, p2}, Landroid/media/MediaFormat;->setInteger(Ljava/lang/String;I)V

    :cond_6
    return-void
.end method

.method public static final m(Ljava/util/concurrent/Callable;Lz5/gc1;Ljava/lang/Object;Lz5/g51;)Lz5/fe0;
    .registers 11
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<O:",
            "Ljava/lang/Object;",
            ">(",
            "Ljava/util/concurrent/Callable<",
            "TO;>;",
            "Lz5/gc1;",
            "Ljava/lang/Object;",
            "Lz5/g51;",
            ")",
            "Lz5/fe0;"
        }
    .end annotation

    new-instance v6, Lz5/fe0;

    .line 1
    sget-object v3, Lz5/g51;->d:Lz5/fc1;

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

    move-result-object v4

    invoke-interface {p1, p0}, Lz5/gc1;->Q(Ljava/util/concurrent/Callable;)Lz5/fc1;

    move-result-object v5

    move-object v0, v6

    move-object v1, p3

    move-object v2, p2

    invoke-direct/range {v0 .. v5}, Lz5/fe0;-><init>(Lz5/g51;Ljava/lang/Object;Lz5/fc1;Ljava/util/List;Lz5/fc1;)V

    return-object v6
.end method

.method public static n(Ljava/lang/Throwable;)Lz5/fc1;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<V:",
            "Ljava/lang/Object;",
            ">(",
            "Ljava/lang/Throwable;",
            ")",
            "Lz5/fc1<",
            "TV;>;"
        }
    .end annotation

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

    new-instance v0, Lcom/google/android/gms/internal/ads/i8;

    invoke-direct {v0, p0}, Lcom/google/android/gms/internal/ads/i8;-><init>(Ljava/lang/Throwable;)V

    return-object v0
.end method

.method public static final o(Lz5/b51;Lz5/gc1;Ljava/lang/Object;Lz5/g51;)Lz5/fe0;
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lz5/b51;",
            "Lz5/gc1;",
            "Ljava/lang/Object;",
            "Lz5/g51;",
            ")",
            "Lz5/fe0;"
        }
    .end annotation

    new-instance v0, Lz5/r01;

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

    invoke-static {v0, p1, p2, p3}, Lcom/google/android/gms/internal/ads/h8;->m(Ljava/util/concurrent/Callable;Lz5/gc1;Ljava/lang/Object;Lz5/g51;)Lz5/fe0;

    move-result-object p0

    return-object p0
.end method

.method public static p(Lz5/rb1;Ljava/util/concurrent/Executor;)Lz5/fc1;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<O:",
            "Ljava/lang/Object;",
            ">(",
            "Lz5/rb1<",
            "TO;>;",
            "Ljava/util/concurrent/Executor;",
            ")",
            "Lz5/fc1<",
            "TO;>;"
        }
    .end annotation

    new-instance v0, Lcom/google/android/gms/internal/ads/n8;

    invoke-direct {v0, p0}, Lcom/google/android/gms/internal/ads/n8;-><init>(Lz5/rb1;)V

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

    return-object v0
.end method

.method public static q(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
    .registers 9

    const/4 p0, 0x1

    const-string v0, "content-length"

    if-ne p1, v0, :cond_6

    return p0

    :cond_6
    invoke-interface {p1}, Ljava/lang/CharSequence;->length()I

    move-result v1

    const/4 v2, 0x0

    const/16 v3, 0xe

    if-ne v3, v1, :cond_33

    move v1, v2

    :goto_10
    if-ge v1, v3, :cond_32

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

    move-result v4

    invoke-interface {p1, v1}, Ljava/lang/CharSequence;->charAt(I)C

    move-result v5

    if-ne v4, v5, :cond_1d

    goto :goto_2e

    :cond_1d
    or-int/lit8 v4, v4, 0x20

    add-int/lit8 v4, v4, -0x61

    int-to-char v4, v4

    const/16 v6, 0x1a

    if-ge v4, v6, :cond_31

    or-int/lit8 v5, v5, 0x20

    add-int/lit8 v5, v5, -0x61

    int-to-char v5, v5

    if-eq v4, v5, :cond_2e

    goto :goto_31

    :cond_2e
    :goto_2e
    add-int/lit8 v1, v1, 0x1

    goto :goto_10

    :cond_31
    :goto_31
    return v2

    :cond_32
    return p0

    :cond_33
    return v2
.end method

.method public static r(Lz5/fc1;Ljava/lang/Class;Lz5/n91;Ljava/util/concurrent/Executor;)Lz5/fc1;
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<V:",
            "Ljava/lang/Object;",
            "X:",
            "Ljava/lang/Throwable;",
            ">(",
            "Lz5/fc1<",
            "+TV;>;",
            "Ljava/lang/Class<",
            "TX;>;",
            "Lz5/n91<",
            "-TX;+TV;>;",
            "Ljava/util/concurrent/Executor;",
            ")",
            "Lz5/fc1<",
            "TV;>;"
        }
    .end annotation

    new-instance v0, Lz5/mb1;

    invoke-direct {v0, p0, p1, p2}, Lz5/mb1;-><init>(Lz5/fc1;Ljava/lang/Class;Lz5/n91;)V

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

    sget-object p1, Lcom/google/android/gms/internal/ads/e8;->r:Lcom/google/android/gms/internal/ads/e8;

    if-ne p3, p1, :cond_d

    goto :goto_13

    :cond_d
    new-instance p1, Lz5/hc1;

    invoke-direct {p1, p3, v0}, Lz5/hc1;-><init>(Ljava/util/concurrent/Executor;Lcom/google/android/gms/internal/ads/w7;)V

    move-object p3, p1

    .line 2
    :goto_13
    invoke-interface {p0, v0, p3}, Lz5/fc1;->zze(Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V

    return-object v0
.end method

.method public static s(Lz5/fc1;Ljava/lang/Class;Lz5/sb1;Ljava/util/concurrent/Executor;)Lz5/fc1;
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<V:",
            "Ljava/lang/Object;",
            "X:",
            "Ljava/lang/Throwable;",
            ">(",
            "Lz5/fc1<",
            "+TV;>;",
            "Ljava/lang/Class<",
            "TX;>;",
            "Lz5/sb1<",
            "-TX;+TV;>;",
            "Ljava/util/concurrent/Executor;",
            ")",
            "Lz5/fc1<",
            "TV;>;"
        }
    .end annotation

    new-instance v0, Lz5/lb1;

    invoke-direct {v0, p0, p1, p2}, Lz5/lb1;-><init>(Lz5/fc1;Ljava/lang/Class;Lz5/sb1;)V

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

    sget-object p1, Lcom/google/android/gms/internal/ads/e8;->r:Lcom/google/android/gms/internal/ads/e8;

    if-ne p3, p1, :cond_d

    goto :goto_13

    :cond_d
    new-instance p1, Lz5/hc1;

    invoke-direct {p1, p3, v0}, Lz5/hc1;-><init>(Ljava/util/concurrent/Executor;Lcom/google/android/gms/internal/ads/w7;)V

    move-object p3, p1

    .line 2
    :goto_13
    invoke-interface {p0, v0, p3}, Lz5/fc1;->zze(Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V

    return-object v0
.end method

.method public static t(Lz5/fc1;JLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/ScheduledExecutorService;)Lz5/fc1;
    .registers 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<V:",
            "Ljava/lang/Object;",
            ">(",
            "Lz5/fc1<",
            "TV;>;J",
            "Ljava/util/concurrent/TimeUnit;",
            "Ljava/util/concurrent/ScheduledExecutorService;",
            ")",
            "Lz5/fc1<",
            "TV;>;"
        }
    .end annotation

    invoke-interface {p0}, Ljava/util/concurrent/Future;->isDone()Z

    move-result v0

    if-eqz v0, :cond_7

    return-object p0

    .line 1
    :cond_7
    new-instance v0, Lcom/google/android/gms/internal/ads/m8;

    invoke-direct {v0, p0}, Lcom/google/android/gms/internal/ads/m8;-><init>(Lz5/fc1;)V

    new-instance v1, Lcom/google/android/gms/internal/ads/l8;

    invoke-direct {v1, v0}, Lcom/google/android/gms/internal/ads/l8;-><init>(Lcom/google/android/gms/internal/ads/m8;)V

    invoke-interface {p4, v1, p1, p2, p3}, Ljava/util/concurrent/ScheduledExecutorService;->schedule(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;

    move-result-object p1

    iput-object p1, v0, Lcom/google/android/gms/internal/ads/m8;->z:Ljava/util/concurrent/ScheduledFuture;

    sget-object p1, Lcom/google/android/gms/internal/ads/e8;->r:Lcom/google/android/gms/internal/ads/e8;

    invoke-interface {p0, v1, p1}, Lz5/fc1;->zze(Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V

    return-object v0
.end method

.method public static u(Lz5/fc1;Lz5/sb1;Ljava/util/concurrent/Executor;)Lz5/fc1;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<I:",
            "Ljava/lang/Object;",
            "O:",
            "Ljava/lang/Object;",
            ">(",
            "Lz5/fc1<",
            "TI;>;",
            "Lz5/sb1<",
            "-TI;+TO;>;",
            "Ljava/util/concurrent/Executor;",
            ")",
            "Lz5/fc1<",
            "TO;>;"
        }
    .end annotation

    sget v0, Lcom/google/android/gms/internal/ads/x7;->A:I

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

    new-instance v0, Lz5/ob1;

    invoke-direct {v0, p0, p1}, Lz5/ob1;-><init>(Lz5/fc1;Lz5/sb1;)V

    .line 1
    sget-object p1, Lcom/google/android/gms/internal/ads/e8;->r:Lcom/google/android/gms/internal/ads/e8;

    if-ne p2, p1, :cond_f

    goto :goto_15

    :cond_f
    new-instance p1, Lz5/hc1;

    invoke-direct {p1, p2, v0}, Lz5/hc1;-><init>(Ljava/util/concurrent/Executor;Lcom/google/android/gms/internal/ads/w7;)V

    move-object p2, p1

    .line 2
    :goto_15
    invoke-interface {p0, v0, p2}, Lz5/fc1;->zze(Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V

    return-object v0
.end method

.method public static v(Lz5/fc1;Lz5/n91;Ljava/util/concurrent/Executor;)Lz5/fc1;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<I:",
            "Ljava/lang/Object;",
            "O:",
            "Ljava/lang/Object;",
            ">(",
            "Lz5/fc1<",
            "TI;>;",
            "Lz5/n91<",
            "-TI;+TO;>;",
            "Ljava/util/concurrent/Executor;",
            ")",
            "Lz5/fc1<",
            "TO;>;"
        }
    .end annotation

    sget v0, Lcom/google/android/gms/internal/ads/x7;->A:I

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

    new-instance v0, Lz5/pb1;

    invoke-direct {v0, p0, p1}, Lz5/pb1;-><init>(Lz5/fc1;Lz5/n91;)V

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

    sget-object p1, Lcom/google/android/gms/internal/ads/e8;->r:Lcom/google/android/gms/internal/ads/e8;

    if-ne p2, p1, :cond_12

    goto :goto_18

    :cond_12
    new-instance p1, Lz5/hc1;

    invoke-direct {p1, p2, v0}, Lz5/hc1;-><init>(Ljava/util/concurrent/Executor;Lcom/google/android/gms/internal/ads/w7;)V

    move-object p2, p1

    .line 2
    :goto_18
    invoke-interface {p0, v0, p2}, Lz5/fc1;->zze(Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V

    return-object v0
.end method

.method public static varargs w([Lz5/fc1;)Lz5/r6;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<V:",
            "Ljava/lang/Object;",
            ">([",
            "Lcom/google/android/gms/internal/ads/zzfsm<",
            "+TV;>;)",
            "Lz5/r6;"
        }
    .end annotation

    .annotation runtime Ljava/lang/SafeVarargs;
    .end annotation

    new-instance v0, Lz5/r6;

    sget-object v1, Lcom/google/android/gms/internal/ads/q6;->s:Lz5/v91;

    .line 1
    invoke-virtual {p0}, [Ljava/lang/Object;->clone()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, [Ljava/lang/Object;

    array-length v1, p0

    invoke-static {p0, v1}, Lcom/google/android/gms/internal/ads/r;->f([Ljava/lang/Object;I)[Ljava/lang/Object;

    invoke-static {p0, v1}, Lcom/google/android/gms/internal/ads/q6;->e0([Ljava/lang/Object;I)Lcom/google/android/gms/internal/ads/q6;

    move-result-object p0

    const/4 v1, 0x1

    .line 2
    invoke-direct {v0, v1, p0}, Lz5/r6;-><init>(ZLcom/google/android/gms/internal/ads/q6;)V

    return-object v0
.end method

.method public static x(Ljava/lang/Iterable;)Lz5/r6;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<V:",
            "Ljava/lang/Object;",
            ">(",
            "Ljava/lang/Iterable<",
            "+",
            "Lz5/fc1<",
            "+TV;>;>;)",
            "Lz5/r6;"
        }
    .end annotation

    new-instance v0, Lz5/r6;

    sget-object v1, Lcom/google/android/gms/internal/ads/q6;->s:Lz5/v91;

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

    invoke-static {p0}, Lcom/google/android/gms/internal/ads/q6;->W(Ljava/util/Collection;)Lcom/google/android/gms/internal/ads/q6;

    move-result-object p0

    const/4 v1, 0x1

    .line 2
    invoke-direct {v0, v1, p0}, Lz5/r6;-><init>(ZLcom/google/android/gms/internal/ads/q6;)V

    return-object v0
.end method

.method public static y(Lz5/fc1;Lz5/zb1;Ljava/util/concurrent/Executor;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<V:",
            "Ljava/lang/Object;",
            ">(",
            "Lz5/fc1<",
            "TV;>;",
            "Lz5/zb1<",
            "-TV;>;",
            "Ljava/util/concurrent/Executor;",
            ")V"
        }
    .end annotation

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

    new-instance v0, Ll5/m;

    invoke-direct {v0, p0, p1}, Ll5/m;-><init>(Ljava/util/concurrent/Future;Lz5/zb1;)V

    check-cast p0, Lz5/c51;

    .line 1
    iget-object p0, p0, Lz5/c51;->t:Lz5/fc1;

    invoke-interface {p0, v0, p2}, Lz5/fc1;->zze(Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V

    return-void
.end method

.method public static z(Ljava/util/concurrent/Future;)Ljava/lang/Object;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<V:",
            "Ljava/lang/Object;",
            ">(",
            "Ljava/util/concurrent/Future<",
            "TV;>;)TV;"
        }
    .end annotation

    invoke-interface {p0}, Ljava/util/concurrent/Future;->isDone()Z

    move-result v0

    if-eqz v0, :cond_b

    invoke-static {p0}, Lp/a;->h(Ljava/util/concurrent/Future;)Ljava/lang/Object;

    move-result-object p0

    return-object p0

    :cond_b
    new-instance v0, Ljava/lang/IllegalStateException;

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    aput-object p0, v1, v2

    const-string p0, "Future was expected to be done: %s"

    invoke-static {p0, v1}, Lcom/google/android/gms/internal/ads/d;->l(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p0

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

    throw v0
.end method
