.class public final Lg6/b0;
.super Lg6/t;
.source ""


# direct methods
.method public constructor <init>()V
    .registers 1

    invoke-direct {p0}, Lg6/t;-><init>()V

    return-void
.end method


# virtual methods
.method public final a(Ljava/lang/String;Ls1/g;Ljava/util/List;)Lg6/n;
    .registers 8
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ls1/g;",
            "Ljava/util/List<",
            "Lg6/n;",
            ">;)",
            "Lg6/n;"
        }
    .end annotation

    const/4 v0, 0x0

    const/4 v1, 0x1

    if-eqz p1, :cond_2f

    invoke-virtual {p1}, Ljava/lang/String;->isEmpty()Z

    move-result v2

    if-nez v2, :cond_2f

    invoke-virtual {p2, p1}, Ls1/g;->l(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_2f

    invoke-virtual {p2, p1}, Ls1/g;->i(Ljava/lang/String;)Lg6/n;

    move-result-object v2

    instance-of v3, v2, Lg6/h;

    if-eqz v3, :cond_1f

    check-cast v2, Lg6/h;

    invoke-virtual {v2, p2, p3}, Lg6/h;->b(Ls1/g;Ljava/util/List;)Lg6/n;

    move-result-object p1

    return-object p1

    :cond_1f
    new-instance p2, Ljava/lang/IllegalArgumentException;

    new-array p3, v1, [Ljava/lang/Object;

    aput-object p1, p3, v0

    const-string p1, "Function %s is not defined"

    invoke-static {p1, p3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

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

    throw p2

    :cond_2f
    new-instance p2, Ljava/lang/IllegalArgumentException;

    new-array p3, v1, [Ljava/lang/Object;

    aput-object p1, p3, v0

    const-string p1, "Command not found: %s"

    invoke-static {p1, p3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

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

    throw p2
.end method
