.class public Lq8/s$a;
.super Ln8/w;
.source ""


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lq8/s;->a(Ln8/h;Lt8/a;)Ln8/w;
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ln8/w<",
        "Ljava/lang/Object;",
        ">;"
    }
.end annotation


# instance fields
.field public final synthetic a:Ljava/lang/Class;

.field public final synthetic b:Lq8/s;


# direct methods
.method public constructor <init>(Lq8/s;Ljava/lang/Class;)V
    .registers 3

    iput-object p1, p0, Lq8/s$a;->b:Lq8/s;

    iput-object p2, p0, Lq8/s$a;->a:Ljava/lang/Class;

    invoke-direct {p0}, Ln8/w;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Lu8/a;)Ljava/lang/Object;
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lu8/a;",
            ")",
            "Ljava/lang/Object;"
        }
    .end annotation

    iget-object v0, p0, Lq8/s$a;->b:Lq8/s;

    iget-object v0, v0, Lq8/s;->s:Ln8/w;

    invoke-virtual {v0, p1}, Ln8/w;->a(Lu8/a;)Ljava/lang/Object;

    move-result-object p1

    if-eqz p1, :cond_3c

    iget-object v0, p0, Lq8/s$a;->a:Ljava/lang/Class;

    invoke-virtual {v0, p1}, Ljava/lang/Class;->isInstance(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_13

    goto :goto_3c

    :cond_13
    new-instance v0, Ln8/u;

    const-string v1, "Expected a "

    invoke-static {v1}, Landroidx/activity/c;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lq8/s$a;->a:Ljava/lang/Class;

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

    move-result-object v2

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

    const-string v2, " but was "

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

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

    move-result-object p1

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

    move-result-object p1

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

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

    move-result-object p1

    invoke-direct {v0, p1}, Ln8/u;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_3c
    :goto_3c
    return-object p1
.end method

.method public b(Lu8/c;Ljava/lang/Object;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lu8/c;",
            "Ljava/lang/Object;",
            ")V"
        }
    .end annotation

    iget-object v0, p0, Lq8/s$a;->b:Lq8/s;

    iget-object v0, v0, Lq8/s;->s:Ln8/w;

    invoke-virtual {v0, p1, p2}, Ln8/w;->b(Lu8/c;Ljava/lang/Object;)V

    return-void
.end method
