.class public final Lp9/j;
.super Li9/e;
.source ""

# interfaces
.implements Lh9/c;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Li9/e;",
        "Lh9/c<",
        "Ljava/lang/CharSequence;",
        "Ljava/lang/Integer;",
        "Ly8/e<",
        "+",
        "Ljava/lang/Integer;",
        "+",
        "Ljava/lang/Integer;",
        ">;>;"
    }
.end annotation


# instance fields
.field public final synthetic s:Ljava/util/List;

.field public final synthetic t:Z


# direct methods
.method public constructor <init>(Ljava/util/List;Z)V
    .registers 3

    iput-object p1, p0, Lp9/j;->s:Ljava/util/List;

    iput-boolean p2, p0, Lp9/j;->t:Z

    const/4 p1, 0x2

    invoke-direct {p0, p1}, Li9/e;-><init>(I)V

    return-void
.end method


# virtual methods
.method public e(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    .registers 16

    check-cast p1, Ljava/lang/CharSequence;

    check-cast p2, Ljava/lang/Number;

    invoke-virtual {p2}, Ljava/lang/Number;->intValue()I

    move-result p2

    const-string v0, "$receiver"

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

    iget-object v6, p0, Lp9/j;->s:Ljava/util/List;

    iget-boolean v7, p0, Lp9/j;->t:Z

    const/4 v0, 0x0

    const/4 v8, 0x0

    if-nez v7, :cond_56

    .line 2
    invoke-interface {v6}, Ljava/util/Collection;->size()I

    move-result v1

    const/4 v2, 0x1

    if-ne v1, v2, :cond_56

    const-string v1, "$this$single"

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

    .line 4
    invoke-static {v6, v1}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-interface {v6}, Ljava/util/List;->size()I

    move-result v1

    if-eqz v1, :cond_4e

    if-ne v1, v2, :cond_46

    invoke-interface {v6, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    .line 5
    check-cast v1, Ljava/lang/String;

    const/4 v2, 0x4

    invoke-static {p1, v1, p2, v0, v2}, Lp9/l;->G(Ljava/lang/CharSequence;Ljava/lang/String;IZI)I

    move-result p1

    if-gez p1, :cond_3b

    goto/16 :goto_e4

    :cond_3b
    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

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

    invoke-direct {p2, p1, v1}, Ly8/e;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V

    goto/16 :goto_e5

    .line 7
    :cond_46
    new-instance p1, Ljava/lang/IllegalArgumentException;

    const-string p2, "List has more than one element."

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

    throw p1

    :cond_4e
    new-instance p1, Ljava/util/NoSuchElementException;

    const-string p2, "List is empty."

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

    throw p1

    :cond_56
    if-gez p2, :cond_59

    move p2, v0

    .line 8
    :cond_59
    new-instance v0, Lm9/c;

    invoke-interface {p1}, Ljava/lang/CharSequence;->length()I

    move-result v1

    invoke-direct {v0, p2, v1}, Lm9/c;-><init>(II)V

    instance-of v1, p1, Ljava/lang/String;

    if-eqz v1, :cond_a6

    .line 9
    iget v9, v0, Lm9/a;->s:I

    .line 10
    iget v10, v0, Lm9/a;->t:I

    if-ltz v10, :cond_6f

    if-gt p2, v9, :cond_e4

    goto :goto_71

    :cond_6f
    if-lt p2, v9, :cond_e4

    .line 11
    :goto_71
    invoke-interface {v6}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;

    move-result-object v11

    :cond_75
    invoke-interface {v11}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_93

    invoke-interface {v11}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v12

    move-object v0, v12

    check-cast v0, Ljava/lang/String;

    const/4 v1, 0x0

    move-object v2, p1

    check-cast v2, Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v4

    move v3, p2

    move v5, v7

    invoke-static/range {v0 .. v5}, Lp9/h;->t(Ljava/lang/String;ILjava/lang/String;IIZ)Z

    move-result v0

    if-eqz v0, :cond_75

    goto :goto_94

    :cond_93
    move-object v12, v8

    :goto_94
    check-cast v12, Ljava/lang/String;

    if-eqz v12, :cond_a2

    invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    .line 12
    new-instance p2, Ly8/e;

    invoke-direct {p2, p1, v12}, Ly8/e;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V

    goto :goto_e5

    :cond_a2
    if-eq p2, v9, :cond_e4

    add-int/2addr p2, v10

    goto :goto_71

    .line 13
    :cond_a6
    iget v9, v0, Lm9/a;->s:I

    .line 14
    iget v10, v0, Lm9/a;->t:I

    if-ltz v10, :cond_af

    if-gt p2, v9, :cond_e4

    goto :goto_b1

    :cond_af
    if-lt p2, v9, :cond_e4

    .line 15
    :goto_b1
    invoke-interface {v6}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;

    move-result-object v11

    :cond_b5
    invoke-interface {v11}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_d1

    invoke-interface {v11}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v12

    move-object v0, v12

    check-cast v0, Ljava/lang/String;

    const/4 v1, 0x0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v4

    move-object v2, p1

    move v3, p2

    move v5, v7

    invoke-static/range {v0 .. v5}, Lp9/l;->K(Ljava/lang/CharSequence;ILjava/lang/CharSequence;IIZ)Z

    move-result v0

    if-eqz v0, :cond_b5

    goto :goto_d2

    :cond_d1
    move-object v12, v8

    :goto_d2
    check-cast v12, Ljava/lang/String;

    if-eqz v12, :cond_e0

    invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    .line 16
    new-instance p2, Ly8/e;

    invoke-direct {p2, p1, v12}, Ly8/e;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V

    goto :goto_e5

    :cond_e0
    if-eq p2, v9, :cond_e4

    add-int/2addr p2, v10

    goto :goto_b1

    :cond_e4
    :goto_e4
    move-object p2, v8

    :goto_e5
    if-eqz p2, :cond_fa

    .line 17
    iget-object p1, p2, Ly8/e;->r:Ljava/lang/Object;

    .line 18
    iget-object p2, p2, Ly8/e;->s:Ljava/lang/Object;

    .line 19
    check-cast p2, Ljava/lang/String;

    invoke-virtual {p2}, Ljava/lang/String;->length()I

    move-result p2

    invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p2

    .line 20
    new-instance v8, Ly8/e;

    invoke-direct {v8, p1, p2}, Ly8/e;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V

    :cond_fa
    return-object v8
.end method
