.class public final Lya/l;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lya/d;


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


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


# direct methods
.method public constructor <init>(Lq9/f;)V
    .registers 2

    iput-object p1, p0, Lya/l;->a:Lq9/f;

    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<",
            "Ljava/lang/Object;",
            ">;",
            "Ljava/lang/Throwable;",
            ")V"
        }
    .end annotation

    const-string v0, "call"

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

    const-string p1, "t"

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

    iget-object p1, p0, Lya/l;->a:Lq9/f;

    invoke-static {p2}, Le/h;->d(Ljava/lang/Throwable;)Ljava/lang/Object;

    move-result-object p2

    invoke-interface {p1, p2}, Lb9/d;->g(Ljava/lang/Object;)V

    return-void
.end method

.method public b(Lya/b;Lya/z;)V
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lya/b<",
            "Ljava/lang/Object;",
            ">;",
            "Lya/z<",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    const-string v0, "call"

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

    const-string v0, "response"

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

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

    move-result v0

    if-eqz v0, :cond_7f

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

    if-nez p2, :cond_7c

    .line 2
    invoke-interface {p1}, Lya/b;->e()Lv9/c0;

    move-result-object p1

    const-class p2, Lya/j;

    invoke-static {p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    const-string v0, "type"

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

    iget-object p1, p1, Lv9/c0;->f:Ljava/util/Map;

    invoke-interface {p1, p2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    invoke-virtual {p2, p1}, Ljava/lang/Class;->cast(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    if-eqz p1, :cond_77

    const-string p2, "call.request().tag(Invocation::class.java)!!"

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

    check-cast p1, Lya/j;

    .line 5
    iget-object p1, p1, Lya/j;->a:Ljava/lang/reflect/Method;

    .line 6
    new-instance p2, Ly8/a;

    new-instance v0, Ljava/lang/StringBuilder;

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

    const-string v1, "Response from "

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

    const-string v1, "method"

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

    invoke-virtual {p1}, Ljava/lang/reflect/Method;->getDeclaringClass()Ljava/lang/Class;

    move-result-object v1

    const-string v2, "method.declaringClass"

    invoke-static {v1, v2}, Lx/e;->c(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {v1}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v1

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

    const/16 v1, 0x2e

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p1, " was null but response body type was declared as non-null"

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-direct {p2, p1}, Ly8/a;-><init>(Ljava/lang/String;)V

    iget-object p1, p0, Lya/l;->a:Lq9/f;

    invoke-static {p2}, Le/h;->d(Ljava/lang/Throwable;)Ljava/lang/Object;

    move-result-object p2

    goto :goto_8a

    :cond_77
    invoke-static {}, Lx/e;->l()V

    const/4 p1, 0x0

    throw p1

    :cond_7c
    iget-object p1, p0, Lya/l;->a:Lq9/f;

    goto :goto_8a

    :cond_7f
    iget-object p1, p0, Lya/l;->a:Lq9/f;

    new-instance v0, Lya/h;

    invoke-direct {v0, p2}, Lya/h;-><init>(Lya/z;)V

    invoke-static {v0}, Le/h;->d(Ljava/lang/Throwable;)Ljava/lang/Object;

    move-result-object p2

    :goto_8a
    invoke-interface {p1, p2}, Lb9/d;->g(Ljava/lang/Object;)V

    return-void
.end method
