content: package androidx.core.text;
  
  import android.text.Spanned;
  import android.text.SpannedString;
  import kotlin.Metadata;
  import kotlin.jvm.internal.Intrinsics;
  
  @Metadata(d1 = {"\u0000 \n\u0000\n\u0002\u0010\u0011\n\u0000\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\r\n\u0000\u001a:\u0010\u0000\u001a\n\u0012\u0006\b\u0001\u0012\u0002H\u00020\u0001\"\n\b\u0000\u0010\u0002\u0018\u0001*\u00020\u0003*\u00020\u00042\b\b\u0002\u0010\u0005\u001a\u00020\u00062\b\b\u0002\u0010\u0007\u001a\u00020\u0006H\b¢\u0006\u0002\u0010\b\u001a\r\u0010\t\u001a\u00020\u0004*\u00020\nH\b¨\u0006\u000b"}, d2 = {"getSpans", "", "T", "", "Landroid/text/Spanned;", "start", "", "end", "(Landroid/text/Spanned;II)[Ljava/lang/Object;", "toSpanned", "", "core-ktx_release"}, k = 2, mv = {1, 6, 0}, xi = 48)
  /* compiled from: SpannedString.kt */
  public final class SpannedStringKt {
      public static final /* synthetic */ <T> T[] getSpans(Spanned $this$getSpans, int start, int end) {
          Intrinsics.checkNotNullParameter($this$getSpans, "<this>");
          Intrinsics.reifiedOperationMarker(4, "T");
          Class<Object> cls = Object.class;
          Class cls2 = cls;
          T[] spans = $this$getSpans.getSpans(start, end, cls);
          Intrinsics.checkNotNullExpressionValue(spans, "getSpans(start, end, T::class.java)");
          return (Object[]) spans;
      }
  
      public static /* synthetic */ Object[] getSpans$default(Spanned $this$getSpans_u24default, int start, int end, int i, Object obj) {
          if ((i & 1) != 0) {
              start = 0;
          }
          if ((i & 2) != 0) {
              end = $this$getSpans_u24default.length();
          }
          Intrinsics.checkNotNullParameter($this$getSpans_u24default, "<this>");
          Intrinsics.reifiedOperationMarker(4, "T");
          Class<Object> cls = Object.class;
          Class cls2 = cls;
          Object[] spans = $this$getSpans_u24default.getSpans(start, end, cls);
          Intrinsics.checkNotNullExpressionValue(spans, "getSpans(start, end, T::class.java)");
          return spans;
      }
  
      public static final Spanned toSpanned(CharSequence $this$toSpanned) {
          Intrinsics.checkNotNullParameter($this$toSpanned, "<this>");
          SpannedString valueOf = SpannedString.valueOf($this$toSpanned);
          Intrinsics.checkNotNullExpressionValue(valueOf, "valueOf(this)");
          return valueOf;
      }
  }
  