n$a.smali

.class public Lxq/n$a;
.super Ljava/lang/Object;
.source "OkHttpCall.java"

# interfaces
.implements Lokhttp3/Callback;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lxq/n;->a(Lxq/f;)V
.end annotation

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


# instance fields
.field public final synthetic a:Lxq/f;

.field public final synthetic b:Lxq/n;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method public constructor <init>(Lxq/n;Lxq/f;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()V"
        }
    .end annotation

    iput-object p1, p0, Lxq/n$a;->b:Lxq/n;

    iput-object p2, p0, Lxq/n$a;->a:Lxq/f;

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

    return-void
.end method


# virtual methods
.method public final a(Ljava/lang/Throwable;)V
    .registers 4

    :try_start_0
    iget-object v0, p0, Lxq/n$a;->a:Lxq/f;

    iget-object v1, p0, Lxq/n$a;->b:Lxq/n;

    invoke-interface {v0, v1, p1}, Lxq/f;->onFailure(Lxq/d;Ljava/lang/Throwable;)V
    :try_end_7
    .catchall {:try_start_0 .. :try_end_7} :catchall_8

    goto :goto_f

    :catchall_8
    move-exception p1

    invoke-static {p1}, Lxq/y;->a(Ljava/lang/Throwable;)V

    invoke-virtual {p1}, Ljava/lang/Throwable;->printStackTrace()V

    :goto_f
    return-void
.end method

.method public onFailure(Lokhttp3/Call;Ljava/io/IOException;)V
    .registers 3

    invoke-virtual {p0, p2}, Lxq/n$a;->a(Ljava/lang/Throwable;)V

    return-void
.end method

.method public onResponse(Lokhttp3/Call;Lokhttp3/Response;)V
    .registers 4

    :try_start_0
    iget-object p1, p0, Lxq/n$a;->b:Lxq/n;

    invoke-virtual {p1, p2}, Lxq/n;->a(Lokhttp3/Response;)Lxq/t;

    move-result-object p1
    :try_end_6
    .catchall {:try_start_0 .. :try_end_6} :catchall_16

    :try_start_6
    iget-object p2, p0, Lxq/n$a;->a:Lxq/f;

    iget-object v0, p0, Lxq/n$a;->b:Lxq/n;

    invoke-interface {p2, v0, p1}, Lxq/f;->onResponse(Lxq/d;Lxq/t;)V
    :try_end_d
    .catchall {:try_start_6 .. :try_end_d} :catchall_e

    goto :goto_15

    :catchall_e
    move-exception p1

    invoke-static {p1}, Lxq/y;->a(Ljava/lang/Throwable;)V

    invoke-virtual {p1}, Ljava/lang/Throwable;->printStackTrace()V

    :goto_15
    return-void

    :catchall_16
    move-exception p1

    invoke-static {p1}, Lxq/y;->a(Ljava/lang/Throwable;)V

    invoke-virtual {p0, p1}, Lxq/n$a;->a(Ljava/lang/Throwable;)V

    return-void
.end method