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


# direct methods
.method public static synthetic a(I)Ljava/lang/String;
    .registers 1

    packed-switch p0, :pswitch_data_1e

    const-string p0, "WRONG_EXP_SETUP"

    return-object p0

    :pswitch_6
    const-string p0, "UNKNOWN"

    return-object p0

    :pswitch_9
    const-string p0, "EMPTY_URL"

    return-object p0

    :pswitch_c
    const-string p0, "ACTIVITY_NOT_FOUND"

    return-object p0

    :pswitch_f
    const-string p0, "CCT_READY_TO_OPEN"

    return-object p0

    :pswitch_12
    const-string p0, "CCT_NOT_SUPPORTED"

    return-object p0

    :pswitch_15
    const-string p0, "CONTEXT_NULL"

    return-object p0

    :pswitch_18
    const-string p0, "CONTEXT_NOT_AN_ACTIVITY"

    return-object p0

    :pswitch_1b
    const-string p0, "PLATFORM_VERSION_TOO_LOW"

    return-object p0

    :pswitch_data_1e
    .packed-switch 0x1
        :pswitch_1b
        :pswitch_18
        :pswitch_15
        :pswitch_12
        :pswitch_f
        :pswitch_c
        :pswitch_9
        :pswitch_6
    .end packed-switch
.end method

.method public static b(ZLjava/lang/String;)V
    .registers 2
    .annotation runtime Lorg/checkerframework/dataflow/qual/Pure;
    .end annotation

    if-eqz p0, :cond_3

    return-void

    :cond_3
    const/4 p0, 0x0

    invoke-static {p1, p0}, Lz5/r3;->b(Ljava/lang/String;Ljava/lang/Throwable;)Lz5/r3;

    move-result-object p0

    throw p0
.end method

.method public static c(Lz5/au1;[BII)I
    .registers 7

    const/4 v0, 0x0

    :goto_1
    if-ge v0, p3, :cond_11

    add-int v1, p2, v0

    sub-int v2, p3, v0

    invoke-interface {p0, p1, v1, v2}, Lz5/au1;->l([BII)I

    move-result v1

    const/4 v2, -0x1

    if-ne v1, v2, :cond_f

    goto :goto_11

    :cond_f
    add-int/2addr v0, v1

    goto :goto_1

    :cond_11
    :goto_11
    return v0
.end method

.method public static d(Landroid/content/Context;Ljava/util/List;)Lz5/dk;
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Ljava/util/List<",
            "Lz5/d31;",
            ">;)",
            "Lz5/dk;"
        }
    .end annotation

    new-instance v0, Ljava/util/ArrayList;

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

    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :goto_9
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_2c

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lz5/d31;

    iget-boolean v2, v1, Lz5/d31;->c:Z

    if-eqz v2, :cond_1f

    sget-object v1, Lcom/google/android/gms/ads/AdSize;->FLUID:Lcom/google/android/gms/ads/AdSize;

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

    goto :goto_9

    :cond_1f
    new-instance v2, Lcom/google/android/gms/ads/AdSize;

    iget v3, v1, Lz5/d31;->a:I

    iget v1, v1, Lz5/d31;->b:I

    invoke-direct {v2, v3, v1}, Lcom/google/android/gms/ads/AdSize;-><init>(II)V

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

    goto :goto_9

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

    move-result p1

    new-array p1, p1, [Lcom/google/android/gms/ads/AdSize;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;

    move-result-object p1

    check-cast p1, [Lcom/google/android/gms/ads/AdSize;

    new-instance v0, Lz5/dk;

    invoke-direct {v0, p0, p1}, Lz5/dk;-><init>(Landroid/content/Context;[Lcom/google/android/gms/ads/AdSize;)V

    return-object v0
.end method

.method public static e(Lz5/dk;)Lz5/d31;
    .registers 4

    iget-boolean v0, p0, Lz5/dk;->z:Z

    const/4 v1, 0x0

    if-eqz v0, :cond_d

    new-instance p0, Lz5/d31;

    const/4 v0, -0x3

    const/4 v2, 0x1

    invoke-direct {p0, v0, v1, v2}, Lz5/d31;-><init>(IIZ)V

    return-object p0

    :cond_d
    new-instance v0, Lz5/d31;

    iget v2, p0, Lz5/dk;->v:I

    iget p0, p0, Lz5/dk;->s:I

    invoke-direct {v0, v2, p0, v1}, Lz5/d31;-><init>(IIZ)V

    return-object v0
.end method

.method public static f(Lz5/au1;[BIZ)Z
    .registers 5

    const/4 v0, 0x0

    :try_start_1
    invoke-interface {p0, p1, v0, p2, p3}, Lz5/au1;->k([BIIZ)Z

    move-result p0
    :try_end_5
    .catch Ljava/io/EOFException; {:try_start_1 .. :try_end_5} :catch_6

    return p0

    :catch_6
    move-exception p0

    if-eqz p3, :cond_a

    return v0

    :cond_a
    throw p0
.end method
