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

# interfaces
.implements Ljava/lang/reflect/InvocationHandler;


# instance fields
.field public final a:Lya/u;

.field public final b:[Ljava/lang/Object;

.field public final synthetic c:Ljava/lang/Class;

.field public final synthetic d:Lya/b0;


# direct methods
.method public constructor <init>(Lya/b0;Ljava/lang/Class;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()V"
        }
    .end annotation

    iput-object p1, p0, Lya/a0;->d:Lya/b0;

    iput-object p2, p0, Lya/a0;->c:Ljava/lang/Class;

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

    .line 1
    sget-object p1, Lya/u;->c:Lya/u;

    .line 2
    iput-object p1, p0, Lya/a0;->a:Lya/u;

    const/4 p1, 0x0

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

    iput-object p1, p0, Lya/a0;->b:[Ljava/lang/Object;

    return-void
.end method


# virtual methods
.method public invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
    .registers 6
    .param p3    # [Ljava/lang/Object;
        .annotation runtime Ljavax/annotation/Nullable;
        .end annotation
    .end param
    .annotation runtime Ljavax/annotation/Nullable;
    .end annotation

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

    move-result-object v0

    const-class v1, Ljava/lang/Object;

    if-ne v0, v1, :cond_d

    invoke-virtual {p2, p0, p3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    return-object p1

    :cond_d
    if-eqz p3, :cond_10

    goto :goto_12

    :cond_10
    iget-object p3, p0, Lya/a0;->b:[Ljava/lang/Object;

    :goto_12
    iget-object v0, p0, Lya/a0;->a:Lya/u;

    .line 1
    iget-boolean v0, v0, Lya/u;->a:Z

    if-eqz v0, :cond_20

    invoke-virtual {p2}, Ljava/lang/reflect/Method;->isDefault()Z

    move-result v0

    if-eqz v0, :cond_20

    const/4 v0, 0x1

    goto :goto_21

    :cond_20
    const/4 v0, 0x0

    :goto_21
    if-eqz v0, :cond_2c

    .line 2
    iget-object v0, p0, Lya/a0;->a:Lya/u;

    iget-object v1, p0, Lya/a0;->c:Ljava/lang/Class;

    invoke-virtual {v0, p2, v1, p1, p3}, Lya/u;->b(Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    goto :goto_36

    :cond_2c
    iget-object p1, p0, Lya/a0;->d:Lya/b0;

    invoke-virtual {p1, p2}, Lya/b0;->b(Ljava/lang/reflect/Method;)Lya/c0;

    move-result-object p1

    invoke-virtual {p1, p3}, Lya/c0;->a([Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    :goto_36
    return-object p1
.end method
