content: package kotlin;
  
  import kotlin.jvm.internal.DefaultConstructorMarker;
  import kotlin.jvm.internal.Intrinsics;
  import kotlin.ranges.IntRange;
  
  @Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0010\u000f\n\u0000\n\u0002\u0010\b\n\u0002\b\f\n\u0002\u0010\u000b\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0003\b\u0007\u0018\u0000 \u00172\b\u0012\u0004\u0012\u00020\u00000\u0001:\u0001\u0017B\u0017\b\u0016\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003¢\u0006\u0002\u0010\u0005B\u001d\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0003¢\u0006\u0002\u0010\u0007J\u0011\u0010\r\u001a\u00020\u00032\u0006\u0010\u000e\u001a\u00020\u0000H\u0002J\u0013\u0010\u000f\u001a\u00020\u00102\b\u0010\u000e\u001a\u0004\u0018\u00010\u0011H\u0002J\b\u0010\u0012\u001a\u00020\u0003H\u0016J\u0016\u0010\u0013\u001a\u00020\u00102\u0006\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0003J\u001e\u0010\u0013\u001a\u00020\u00102\u0006\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u00032\u0006\u0010\u0006\u001a\u00020\u0003J\b\u0010\u0014\u001a\u00020\u0015H\u0016J \u0010\u0016\u001a\u00020\u00032\u0006\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u00032\u0006\u0010\u0006\u001a\u00020\u0003H\u0002R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\tR\u0011\u0010\u0006\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\tR\u000e\u0010\f\u001a\u00020\u0003X\u0004¢\u0006\u0002\n\u0000¨\u0006\u0018"}, d2 = {"Lkotlin/KotlinVersion;", "", "major", "", "minor", "(II)V", "patch", "(III)V", "getMajor", "()I", "getMinor", "getPatch", "version", "compareTo", "other", "equals", "", "", "hashCode", "isAtLeast", "toString", "", "versionOf", "Companion", "kotlin-stdlib"}, k = 1, mv = {1, 7, 1}, xi = 48)
  /* compiled from: KotlinVersion.kt */
  public final class KotlinVersion implements Comparable<KotlinVersion> {
      public static final KotlinVersion CURRENT = KotlinVersionCurrentValue.get();
      public static final Companion Companion = new Companion((DefaultConstructorMarker) null);
      public static final int MAX_COMPONENT_VALUE = 255;
      private final int major;
      private final int minor;
      private final int patch;
      private final int version;
  
      @Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\b\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0010\u0010\u0003\u001a\u00020\u00048\u0006X\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0006XT¢\u0006\u0002\n\u0000¨\u0006\u0007"}, d2 = {"Lkotlin/KotlinVersion$Companion;", "", "()V", "CURRENT", "Lkotlin/KotlinVersion;", "MAX_COMPONENT_VALUE", "", "kotlin-stdlib"}, k = 1, mv = {1, 7, 1}, xi = 48)
      /* compiled from: KotlinVersion.kt */
      public static final class Companion {
          private Companion() {
          }
  
          public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
              this();
          }
      }
  
      public KotlinVersion(int major2, int minor2) {
          this(major2, minor2, 0);
      }
  
      public KotlinVersion(int major2, int minor2, int patch2) {
          this.major = major2;
          this.minor = minor2;
          this.patch = patch2;
          this.version = versionOf(major2, minor2, patch2);
      }
  
      private final int versionOf(int major2, int minor2, int patch2) {
          boolean z = false;
          if (new IntRange(0, 255).contains(major2) && new IntRange(0, 255).contains(minor2) && new IntRange(0, 255).contains(patch2)) {
              z = true;
          }
          if (z) {
              return (major2 << 16) + (minor2 << 8) + patch2;
          }
          throw new IllegalArgumentException(("Version components are out of range: " + major2 + '.' + minor2 + '.' + patch2).toString());
      }
  
      public int compareTo(KotlinVersion other) {
          Intrinsics.checkNotNullParameter(other, "other");
          return this.version - other.version;
      }
  
      public boolean equals(Object other) {
          if (this == other) {
              return true;
          }
          KotlinVersion kotlinVersion = other instanceof KotlinVersion ? (KotlinVersion) other : null;
          if (kotlinVersion == null) {
              return false;
          }
          return this.version == kotlinVersion.version;
      }
  
      public final int getMajor() {
          return this.major;
      }
  
      public final int getMinor() {
          return this.minor;
      }
  
      public final int getPatch() {
          return this.patch;
      }
  
      public int hashCode() {
          return this.version;
      }
  
      public final boolean isAtLeast(int major2, int minor2) {
          int i = this.major;
          return i > major2 || (i == major2 && this.minor >= minor2);
      }
  
      /* JADX WARNING: Code restructure failed: missing block: B:3:0x0006, code lost:
          r0 = r1.minor;
       */
      /* Code decompiled incorrectly, please refer to instructions dump. */
      public final boolean isAtLeast(int r2, int r3, int r4) {
          /*
              r1 = this;
              int r0 = r1.major
              if (r0 > r2) goto L_0x0013
              if (r0 != r2) goto L_0x0011
              int r0 = r1.minor
              if (r0 > r3) goto L_0x0013
              if (r0 != r3) goto L_0x0011
              int r0 = r1.patch
              if (r0 < r4) goto L_0x0011
              goto L_0x0013
          L_0x0011:
              r0 = 0
              goto L_0x0014
          L_0x0013:
              r0 = 1
          L_0x0014:
              return r0
          */
          throw new UnsupportedOperationException("Method not decompiled: kotlin.KotlinVersion.isAtLeast(int, int, int):boolean");
      }
  
      public String toString() {
          return new StringBuilder().append(this.major).append('.').append(this.minor).append('.').append(this.patch).toString();
      }
  }
  