fm.smali

.class public final Lcom/google/obf/fm;
.super Ljava/lang/Object;
.source "IMASDK"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/google/obf/fm$a;
    }
.end annotation


# direct methods
.method public static a(Lcom/google/obf/ge;)Lcom/google/obf/em;
    .registers 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/google/obf/eq;
        }
    .end annotation

    .line 2
    :try_start_0
    invoke-virtual {p0}, Lcom/google/obf/ge;->f()Lcom/google/obf/gf;
    :try_end_3
    .catch Ljava/io/EOFException; {:try_start_0 .. :try_end_3} :catch_24
    .catch Lcom/google/obf/gh; {:try_start_0 .. :try_end_3} :catch_1d
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_3} :catch_16
    .catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_3} :catch_f

    const/4 v0, 0x0

    .line 4
    :try_start_4
    sget-object v1, Lcom/google/obf/gb;->X:Lcom/google/obf/ew;

    invoke-virtual {v1, p0}, Lcom/google/obf/ew;->read(Lcom/google/obf/ge;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lcom/google/obf/em;
    :try_end_c
    .catch Ljava/io/EOFException; {:try_start_4 .. :try_end_c} :catch_d
    .catch Lcom/google/obf/gh; {:try_start_4 .. :try_end_c} :catch_1d
    .catch Ljava/io/IOException; {:try_start_4 .. :try_end_c} :catch_16
    .catch Ljava/lang/NumberFormatException; {:try_start_4 .. :try_end_c} :catch_f

    return-object p0

    :catch_d
    move-exception p0

    goto :goto_26

    :catch_f
    move-exception p0

    .line 14
    new-instance v0, Lcom/google/obf/eu;

    invoke-direct {v0, p0}, Lcom/google/obf/eu;-><init>(Ljava/lang/Throwable;)V

    throw v0

    :catch_16
    move-exception p0

    .line 12
    new-instance v0, Lcom/google/obf/en;

    invoke-direct {v0, p0}, Lcom/google/obf/en;-><init>(Ljava/lang/Throwable;)V

    throw v0

    :catch_1d
    move-exception p0

    .line 10
    new-instance v0, Lcom/google/obf/eu;

    invoke-direct {v0, p0}, Lcom/google/obf/eu;-><init>(Ljava/lang/Throwable;)V

    throw v0

    :catch_24
    move-exception p0

    const/4 v0, 0x1

    :goto_26
    if-eqz v0, :cond_2b

    .line 7
    sget-object p0, Lcom/google/obf/eo;->a:Lcom/google/obf/eo;

    return-object p0

    .line 8
    :cond_2b
    new-instance v0, Lcom/google/obf/eu;

    invoke-direct {v0, p0}, Lcom/google/obf/eu;-><init>(Ljava/lang/Throwable;)V

    throw v0
.end method

.method public static a(Ljava/lang/Appendable;)Ljava/io/Writer;
    .registers 2

    .line 17
    instance-of v0, p0, Ljava/io/Writer;

    if-eqz v0, :cond_7

    check-cast p0, Ljava/io/Writer;

    goto :goto_d

    :cond_7
    new-instance v0, Lcom/google/obf/fm$a;

    invoke-direct {v0, p0}, Lcom/google/obf/fm$a;-><init>(Ljava/lang/Appendable;)V

    move-object p0, v0

    :goto_d
    return-object p0
.end method

.method public static a(Lcom/google/obf/em;Lcom/google/obf/gg;)V
    .registers 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 15
    sget-object v0, Lcom/google/obf/gb;->X:Lcom/google/obf/ew;

    invoke-virtual {v0, p1, p0}, Lcom/google/obf/ew;->write(Lcom/google/obf/gg;Ljava/lang/Object;)V

    return-void
.end method