.class public Lz5/pc;
.super Lz5/y5;
.source ""


# direct methods
.method public constructor <init>(Ljava/io/IOException;Lz5/a8;II)V
    .registers 5

    invoke-static {p3, p4}, Lz5/pc;->d(II)I

    move-result p2

    invoke-direct {p0, p1, p2}, Lz5/y5;-><init>(Ljava/lang/Throwable;I)V

    return-void
.end method

.method public constructor <init>(Ljava/lang/String;Ljava/io/IOException;Lz5/a8;)V
    .registers 5
    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    const/16 p3, 0x7d0

    const/4 v0, 0x1

    .line 1
    invoke-static {p3, v0}, Lz5/pc;->d(II)I

    move-result p3

    invoke-direct {p0, p1, p2, p3}, Lz5/y5;-><init>(Ljava/lang/String;Ljava/lang/Throwable;I)V

    return-void
.end method

.method public constructor <init>(Ljava/lang/String;Ljava/io/IOException;Lz5/a8;I)V
    .registers 5

    const/4 p3, 0x1

    invoke-static {p4, p3}, Lz5/pc;->d(II)I

    move-result p3

    invoke-direct {p0, p1, p2, p3}, Lz5/y5;-><init>(Ljava/lang/String;Ljava/lang/Throwable;I)V

    return-void
.end method

.method public constructor <init>(Ljava/lang/String;Lz5/a8;)V
    .registers 4

    const/16 p2, 0x7d1

    const/4 v0, 0x1

    invoke-static {p2, v0}, Lz5/pc;->d(II)I

    move-result p2

    invoke-direct {p0, p1, p2}, Lz5/y5;-><init>(Ljava/lang/String;I)V

    return-void
.end method

.method public constructor <init>(Lz5/a8;)V
    .registers 3

    const/16 p1, 0x7d8

    const/4 v0, 0x1

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

    move-result p1

    invoke-direct {p0, p1}, Lz5/y5;-><init>(I)V

    return-void
.end method

.method public static b(Ljava/io/IOException;Lz5/a8;I)Lz5/pc;
    .registers 6

    invoke-virtual {p0}, Ljava/io/IOException;->getMessage()Ljava/lang/String;

    move-result-object v0

    instance-of v1, p0, Ljava/net/SocketTimeoutException;

    const/16 v2, 0x7d7

    if-eqz v1, :cond_d

    const/16 v0, 0x7d2

    goto :goto_26

    :cond_d
    instance-of v1, p0, Ljava/io/InterruptedIOException;

    if-eqz v1, :cond_14

    const/16 v0, 0x3ec

    goto :goto_26

    :cond_14
    if-eqz v0, :cond_24

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

    move-result-object v0

    const-string v1, "cleartext.*not permitted.*"

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

    move-result v0

    if-eqz v0, :cond_24

    move v0, v2

    goto :goto_26

    :cond_24
    const/16 v0, 0x7d1

    :goto_26
    if-ne v0, v2, :cond_2e

    new-instance p2, Lz5/wb;

    invoke-direct {p2, p0, p1}, Lz5/wb;-><init>(Ljava/io/IOException;Lz5/a8;)V

    goto :goto_34

    :cond_2e
    new-instance v1, Lz5/pc;

    invoke-direct {v1, p0, p1, v0, p2}, Lz5/pc;-><init>(Ljava/io/IOException;Lz5/a8;II)V

    move-object p2, v1

    :goto_34
    return-object p2
.end method

.method public static d(II)I
    .registers 3

    const/16 v0, 0x7d0

    if-ne p0, v0, :cond_b

    const/4 p0, 0x1

    if-eq p1, p0, :cond_9

    move p0, v0

    goto :goto_b

    :cond_9
    const/16 p0, 0x7d1

    :cond_b
    :goto_b
    return p0
.end method
