content: package kotlin.text;
  
  import kotlin.Metadata;
  import kotlin.jvm.internal.Intrinsics;
  import kotlin.ranges.CharRange;
  import kotlin.ranges.IntRange;
  import mt.Log1F380D;
  
  @Metadata(d1 = {"\u0000\u001e\n\u0000\n\u0002\u0010\f\n\u0002\u0010\b\n\u0002\b\u0006\n\u0002\u0010\u000b\n\u0002\b\u0004\n\u0002\u0010\u000e\n\u0002\b\u0002\u001a\f\u0010\u0000\u001a\u00020\u0001*\u00020\u0002H\u0007\u001a\u0014\u0010\u0000\u001a\u00020\u0001*\u00020\u00022\u0006\u0010\u0003\u001a\u00020\u0002H\u0007\u001a\f\u0010\u0004\u001a\u00020\u0002*\u00020\u0001H\u0007\u001a\u0014\u0010\u0004\u001a\u00020\u0002*\u00020\u00012\u0006\u0010\u0003\u001a\u00020\u0002H\u0007\u001a\u0013\u0010\u0005\u001a\u0004\u0018\u00010\u0002*\u00020\u0001H\u0007¢\u0006\u0002\u0010\u0006\u001a\u001b\u0010\u0005\u001a\u0004\u0018\u00010\u0002*\u00020\u00012\u0006\u0010\u0003\u001a\u00020\u0002H\u0007¢\u0006\u0002\u0010\u0007\u001a\u001c\u0010\b\u001a\u00020\t*\u00020\u00012\u0006\u0010\n\u001a\u00020\u00012\b\b\u0002\u0010\u000b\u001a\u00020\t\u001a\n\u0010\f\u001a\u00020\t*\u00020\u0001\u001a\u0015\u0010\r\u001a\u00020\u000e*\u00020\u00012\u0006\u0010\n\u001a\u00020\u000eH\n\u001a\f\u0010\u000f\u001a\u00020\u000e*\u00020\u0001H\u0007¨\u0006\u0010"}, d2 = {"digitToChar", "", "", "radix", "digitToInt", "digitToIntOrNull", "(C)Ljava/lang/Integer;", "(CI)Ljava/lang/Integer;", "equals", "", "other", "ignoreCase", "isSurrogate", "plus", "", "titlecase", "kotlin-stdlib"}, k = 5, mv = {1, 7, 1}, xi = 49, xs = "kotlin/text/CharsKt")
  /* compiled from: 0159 */
  class CharsKt__CharKt extends CharsKt__CharJVMKt {
      public static final char digitToChar(int $this$digitToChar) {
          if (new IntRange(0, 9).contains($this$digitToChar)) {
              return (char) ($this$digitToChar + 48);
          }
          throw new IllegalArgumentException("Int " + $this$digitToChar + " is not a decimal digit");
      }
  
      public static final char digitToChar(int $this$digitToChar, int radix) {
          if (!new IntRange(2, 36).contains(radix)) {
              throw new IllegalArgumentException("Invalid radix: " + radix + ". Valid radix values are in range 2..36");
          } else if ($this$digitToChar >= 0 && $this$digitToChar < radix) {
              return $this$digitToChar < 10 ? (char) ($this$digitToChar + 48) : (char) (((char) ($this$digitToChar + 65)) - 10);
          } else {
              throw new IllegalArgumentException("Digit " + $this$digitToChar + " does not represent a valid digit in radix " + radix);
          }
      }
  
      public static final int digitToInt(char $this$digitToInt) {
          int digitOf = CharsKt.digitOf($this$digitToInt, 10);
          if (digitOf >= 0) {
              return digitOf;
          }
          throw new IllegalArgumentException("Char " + $this$digitToInt + " is not a decimal digit");
      }
  
      public static final int digitToInt(char $this$digitToInt, int radix) {
          Integer digitToIntOrNull = CharsKt.digitToIntOrNull($this$digitToInt, radix);
          if (digitToIntOrNull != null) {
              return digitToIntOrNull.intValue();
          }
          throw new IllegalArgumentException("Char " + $this$digitToInt + " is not a digit in the given radix=" + radix);
      }
  
      public static final Integer digitToIntOrNull(char $this$digitToIntOrNull) {
          Integer valueOf = Integer.valueOf(CharsKt.digitOf($this$digitToIntOrNull, 10));
          if (valueOf.intValue() >= 0) {
              return valueOf;
          }
          return null;
      }
  
      public static final Integer digitToIntOrNull(char $this$digitToIntOrNull, int radix) {
          CharsKt.checkRadix(radix);
          Integer valueOf = Integer.valueOf(CharsKt.digitOf($this$digitToIntOrNull, radix));
          if (valueOf.intValue() >= 0) {
              return valueOf;
          }
          return null;
      }
  
      public static final boolean equals(char $this$equals, char other, boolean ignoreCase) {
          if ($this$equals == other) {
              return true;
          }
          if (!ignoreCase) {
              return false;
          }
          char upperCase = Character.toUpperCase($this$equals);
          char upperCase2 = Character.toUpperCase(other);
          return upperCase == upperCase2 || Character.toLowerCase(upperCase) == Character.toLowerCase(upperCase2);
      }
  
      public static /* synthetic */ boolean equals$default(char c, char c2, boolean z, int i, Object obj) {
          if ((i & 2) != 0) {
              z = false;
          }
          return CharsKt.equals(c, c2, z);
      }
  
      public static final boolean isSurrogate(char $this$isSurrogate) {
          return new CharRange(55296, 57343).contains($this$isSurrogate);
      }
  
      private static final String plus(char $this$plus, String other) {
          Intrinsics.checkNotNullParameter(other, "other");
          return $this$plus + other;
      }
  
      public static final String titlecase(char $this$titlecase) {
          String titlecaseImpl = _OneToManyTitlecaseMappingsKt.titlecaseImpl($this$titlecase);
          Log1F380D.a((Object) titlecaseImpl);
          return titlecaseImpl;
      }
  }
  