.class final Lkotlin/text/u$b; .super Lkotlin/jvm/internal/l; .source "Strings.kt" # interfaces .implements Lkotlin/jvm/functions/Function2; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lkotlin/text/u;->a(Ljava/lang/CharSequence;[Ljava/lang/String;IZI)Lkotlin/sequences/Sequence; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x18 name = null .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Lkotlin/jvm/internal/l;", "Lkotlin/jvm/functions/Function2<", "Ljava/lang/CharSequence;", "Ljava/lang/Integer;", "Lkotlin/Pair<", "+", "Ljava/lang/Integer;", "+", "Ljava/lang/Integer;", ">;>;" } .end annotation # instance fields .field final synthetic $delimitersList:Ljava/util/List; .field final synthetic $ignoreCase:Z # direct methods .method constructor (Ljava/util/List;Z)V .locals 0 iput-object p1, p0, Lkotlin/text/u$b;->$delimitersList:Ljava/util/List; iput-boolean p2, p0, Lkotlin/text/u$b;->$ignoreCase:Z const/4 p1, 0x2 invoke-direct {p0, p1}, Lkotlin/jvm/internal/l;->(I)V return-void .end method # virtual methods .method public final synthetic invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; .locals 13 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" invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V iget-object v0, p0, Lkotlin/text/u$b;->$delimitersList:Ljava/util/List; check-cast v0, Ljava/util/Collection; iget-boolean v7, p0, Lkotlin/text/u$b;->$ignoreCase:Z const/4 v1, 0x0 const/4 v8, 0x0 if-nez v7, :cond_5 invoke-interface {v0}, Ljava/util/Collection;->size()I move-result v2 const/4 v3, 0x1 if-ne v2, v3, :cond_5 check-cast v0, Ljava/lang/Iterable; const-string v2, "$this$single" invoke-static {v0, v2}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V instance-of v4, v0, Ljava/util/List; if-eqz v4, :cond_2 check-cast v0, Ljava/util/List; invoke-static {v0, v2}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V invoke-interface {v0}, Ljava/util/List;->size()I move-result v2 if-eqz v2, :cond_1 if-ne v2, v3, :cond_0 invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v0 goto :goto_0 :cond_0 new-instance p1, Ljava/lang/IllegalArgumentException; const-string p2, "List has more than one element." invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V check-cast p1, Ljava/lang/Throwable; throw p1 :cond_1 new-instance p1, Ljava/util/NoSuchElementException; const-string p2, "List is empty." invoke-direct {p1, p2}, Ljava/util/NoSuchElementException;->(Ljava/lang/String;)V check-cast p1, Ljava/lang/Throwable; throw p1 :cond_2 invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object v0 invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z move-result v2 if-eqz v2, :cond_4 invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v2 invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z move-result v0 if-nez v0, :cond_3 move-object v0, v2 :goto_0 check-cast v0, Ljava/lang/String; const/4 v2, 0x4 invoke-static {p1, v0, p2, v1, v2}, Lkotlin/text/l;->a(Ljava/lang/CharSequence;Ljava/lang/String;IZI)I move-result p1 if-ltz p1, :cond_f invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object p1 invoke-static {p1, v0}, Lkotlin/q;->m(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair; move-result-object p1 goto/16 :goto_5 :cond_3 new-instance p1, Ljava/lang/IllegalArgumentException; const-string p2, "Collection has more than one element." invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V check-cast p1, Ljava/lang/Throwable; throw p1 :cond_4 new-instance p1, Ljava/util/NoSuchElementException; const-string p2, "Collection is empty." invoke-direct {p1, p2}, Ljava/util/NoSuchElementException;->(Ljava/lang/String;)V check-cast p1, Ljava/lang/Throwable; throw p1 :cond_5 invoke-static {p2, v1}, Lkotlin/ranges/c;->Z(II)I move-result p2 new-instance v1, Lkotlin/ranges/IntRange; invoke-interface {p1}, Ljava/lang/CharSequence;->length()I move-result v2 invoke-direct {v1, p2, v2}, Lkotlin/ranges/IntRange;->(II)V check-cast v1, Lkotlin/ranges/IntProgression; instance-of p2, p1, Ljava/lang/String; if-eqz p2, :cond_a iget p2, v1, Lkotlin/ranges/IntProgression;->bkR:I iget v9, v1, Lkotlin/ranges/IntProgression;->bkS:I iget v10, v1, Lkotlin/ranges/IntProgression;->bkT:I if-ltz v10, :cond_6 if-gt p2, v9, :cond_f goto :goto_1 :cond_6 if-lt p2, v9, :cond_f :goto_1 move-object v1, v0 check-cast v1, Ljava/lang/Iterable; invoke-interface {v1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object v11 :cond_7 invoke-interface {v11}, Ljava/util/Iterator;->hasNext()Z move-result v1 if-eqz v1, :cond_8 invoke-interface {v11}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v12 move-object v1, v12 check-cast v1, Ljava/lang/String; const/4 v2, 0x0 move-object v3, p1 check-cast v3, Ljava/lang/String; invoke-virtual {v1}, Ljava/lang/String;->length()I move-result v5 move v4, p2 move v6, v7 invoke-static/range {v1 .. v6}, Lkotlin/text/l;->a(Ljava/lang/String;ILjava/lang/String;IIZ)Z move-result v1 if-eqz v1, :cond_7 goto :goto_2 :cond_8 move-object v12, v8 :goto_2 check-cast v12, Ljava/lang/String; if-eqz v12, :cond_9 invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object p1 invoke-static {p1, v12}, Lkotlin/q;->m(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair; move-result-object p1 goto :goto_5 :cond_9 if-eq p2, v9, :cond_f add-int/2addr p2, v10 goto :goto_1 :cond_a iget p2, v1, Lkotlin/ranges/IntProgression;->bkR:I iget v2, v1, Lkotlin/ranges/IntProgression;->bkS:I iget v1, v1, Lkotlin/ranges/IntProgression;->bkT:I if-ltz v1, :cond_b if-gt p2, v2, :cond_f goto :goto_3 :cond_b if-lt p2, v2, :cond_f :goto_3 move-object v3, v0 check-cast v3, Ljava/lang/Iterable; invoke-interface {v3}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object v3 :cond_c invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z move-result v4 if-eqz v4, :cond_d invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v4 move-object v5, v4 check-cast v5, Ljava/lang/String; move-object v6, v5 check-cast v6, Ljava/lang/CharSequence; invoke-virtual {v5}, Ljava/lang/String;->length()I move-result v5 invoke-static {v6, p1, p2, v5, v7}, Lkotlin/text/l;->a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;IIZ)Z move-result v5 if-eqz v5, :cond_c goto :goto_4 :cond_d move-object v4, v8 :goto_4 check-cast v4, Ljava/lang/String; if-eqz v4, :cond_e invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object p1 invoke-static {p1, v4}, Lkotlin/q;->m(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair; move-result-object p1 goto :goto_5 :cond_e if-eq p2, v2, :cond_f add-int/2addr p2, v1 goto :goto_3 :cond_f move-object p1, v8 :goto_5 if-eqz p1, :cond_10 iget-object p2, p1, Lkotlin/Pair;->first:Ljava/lang/Object; iget-object p1, p1, Lkotlin/Pair;->second:Ljava/lang/Object; check-cast p1, Ljava/lang/String; invoke-virtual {p1}, Ljava/lang/String;->length()I move-result p1 invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object p1 invoke-static {p2, p1}, Lkotlin/q;->m(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair; move-result-object p1 return-object p1 :cond_10 return-object v8 .end method