.class public final Ls4/q$b;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lya/d;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Ls4/q;->b(Lq9/w;Landroid/content/Context;Ljava/io/File;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x19
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lya/d<",
        "Lv9/h0;",
        ">;"
    }
.end annotation


# instance fields
.field public final synthetic a:Ls4/q;

.field public final synthetic b:Lq9/w;

.field public final synthetic c:Ljava/io/File;


# direct methods
.method public constructor <init>(Ls4/q;Lq9/w;Ljava/io/File;)V
    .registers 4

    iput-object p1, p0, Ls4/q$b;->a:Ls4/q;

    iput-object p2, p0, Ls4/q$b;->b:Lq9/w;

    iput-object p3, p0, Ls4/q$b;->c:Ljava/io/File;

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

    return-void
.end method


# virtual methods
.method public a(Lya/b;Ljava/lang/Throwable;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lya/b<",
            "Lv9/h0;",
            ">;",
            "Ljava/lang/Throwable;",
            ")V"
        }
    .end annotation

    const-string v0, "call"

    invoke-static {p1, v0}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    const-string p1, "t"

    invoke-static {p2, p1}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    instance-of p1, p2, Ljava/net/SocketTimeoutException;

    const/4 v0, 0x0

    if-nez p1, :cond_1c

    instance-of p1, p2, Ljava/net/UnknownHostException;

    if-eqz p1, :cond_14

    goto :goto_1c

    :cond_14
    new-array p1, v0, [Ljava/lang/Object;

    const-string v0, "debugupdate"

    invoke-static {p2, v0, p1}, Lbb/a;->d(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)V

    goto :goto_2b

    :cond_1c
    :goto_1c
    invoke-virtual {p2}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;

    move-result-object p1

    const-string p2, "debugupdate "

    invoke-static {p2, p1}, Lx/e;->k(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    new-array p2, v0, [Ljava/lang/Object;

    invoke-static {p1, p2}, Lbb/a;->b(Ljava/lang/String;[Ljava/lang/Object;)V

    :goto_2b
    return-void
.end method

.method public b(Lya/b;Lya/z;)V
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lya/b<",
            "Lv9/h0;",
            ">;",
            "Lya/z<",
            "Lv9/h0;",
            ">;)V"
        }
    .end annotation

    const-string v0, "call"

    invoke-static {p1, v0}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    const-string p1, "response"

    invoke-static {p2, p1}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {p2}, Lya/z;->a()Z

    move-result p1

    if-eqz p1, :cond_1e

    iget-object p1, p0, Ls4/q$b;->a:Ls4/q;

    iget-object v0, p0, Ls4/q$b;->b:Lq9/w;

    .line 1
    iget-object p2, p2, Lya/z;->b:Ljava/lang/Object;

    .line 2
    check-cast p2, Lv9/h0;

    iget-object v1, p0, Ls4/q$b;->c:Ljava/io/File;

    invoke-static {p1, v0, p2, v1}, Ls4/q;->a(Ls4/q;Lq9/w;Lv9/h0;Ljava/io/File;)V

    goto :goto_32

    .line 3
    :cond_1e
    iget-object p1, p2, Lya/z;->a:Lv9/g0;

    .line 4
    iget p1, p1, Lv9/g0;->u:I

    .line 5
    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    const-string p2, "debugupdate response unsuccessful "

    invoke-static {p2, p1}, Lx/e;->k(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    const/4 p2, 0x0

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

    invoke-static {p1, p2}, Lbb/a;->b(Ljava/lang/String;[Ljava/lang/Object;)V

    :goto_32
    return-void
.end method
