public final class org.graalvm.compiler.lir.hashing.IntHasher
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: org.graalvm.compiler.lir.hashing.IntHasher
  super_class: java.lang.Object
{
  public final int cardinality;
    descriptor: I
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL

  public final short factor;
    descriptor: S
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL

  public final byte shift;
    descriptor: B
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL

  private static final java.lang.Short[] factors;
    descriptor: [Ljava/lang/Short;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final double log2;
    descriptor: D
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=4, args_size=0
         0: .line 49
            sipush 1000
            anewarray java.lang.Short
            putstatic org.graalvm.compiler.lir.hashing.IntHasher.factors:[Ljava/lang/Short;
         1: .line 53
            iconst_0
            istore 0 /* pos */
        start local 0 // int pos
         2: .line 54
            iconst_1
            istore 1 /* i */
        start local 1 // short i
         3: .line 55
            goto 16
         4: .line 56
      StackMap locals: int int
      StackMap stack:
            iconst_1
            istore 2 /* factor */
        start local 2 // boolean factor
         5: .line 57
            iconst_2
            istore 3 /* j */
        start local 3 // int j
         6: goto 11
         7: .line 60
      StackMap locals: int int
      StackMap stack:
            iload 1 /* i */
            iload 3 /* j */
            irem
            ifne 10
         8: .line 61
            iconst_0
            istore 2 /* factor */
         9: .line 62
            goto 12
        10: .line 57
      StackMap locals:
      StackMap stack:
            iinc 3 /* j */ 1
      StackMap locals:
      StackMap stack:
        11: iload 3 /* j */
            iload 1 /* i */
            if_icmplt 7
        end local 3 // int j
        12: .line 65
      StackMap locals:
      StackMap stack:
            iload 2 /* factor */
            ifeq 15
        13: .line 66
            getstatic org.graalvm.compiler.lir.hashing.IntHasher.factors:[Ljava/lang/Short;
            iload 0 /* pos */
            iload 1 /* i */
            invokestatic java.lang.Short.valueOf:(S)Ljava/lang/Short;
            aastore
        14: .line 67
            iinc 0 /* pos */ 1
        15: .line 69
      StackMap locals:
      StackMap stack:
            iload 1 /* i */
            iconst_1
            iadd
            i2s
            istore 1 /* i */
        end local 2 // boolean factor
        16: .line 55
      StackMap locals:
      StackMap stack:
            iload 0 /* pos */
            getstatic org.graalvm.compiler.lir.hashing.IntHasher.factors:[Ljava/lang/Short;
            arraylength
            if_icmplt 4
        17: .line 73
            getstatic org.graalvm.compiler.lir.hashing.IntHasher.factors:[Ljava/lang/Short;
            invokedynamic compare()Ljava/util/Comparator;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;Ljava/lang/Object;)I
                  org/graalvm/compiler/lir/hashing/IntHasher.lambda$0(Ljava/lang/Short;Ljava/lang/Short;)I (6)
                  (Ljava/lang/Short;Ljava/lang/Short;)I
            invokestatic java.util.Arrays.sort:([Ljava/lang/Object;Ljava/util/Comparator;)V
        end local 1 // short i
        end local 0 // int pos
        18: .line 93
            ldc 2.0
            invokestatic java.lang.Math.log:(D)D
            putstatic org.graalvm.compiler.lir.hashing.IntHasher.log2:D
            return
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            2   18     0     pos  I
            3   18     1       i  S
            5   16     2  factor  Z
            6   12     3       j  I

  private void <init>(int, short, byte);
    descriptor: (ISB)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // org.graalvm.compiler.lir.hashing.IntHasher this
        start local 1 // int cardinality
        start local 2 // short factor
        start local 3 // byte shift
         0: .line 42
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 43
            aload 0 /* this */
            iload 1 /* cardinality */
            putfield org.graalvm.compiler.lir.hashing.IntHasher.cardinality:I
         2: .line 44
            aload 0 /* this */
            iload 2 /* factor */
            putfield org.graalvm.compiler.lir.hashing.IntHasher.factor:S
         3: .line 45
            aload 0 /* this */
            iload 3 /* shift */
            putfield org.graalvm.compiler.lir.hashing.IntHasher.shift:B
         4: .line 46
            return
        end local 3 // byte shift
        end local 2 // short factor
        end local 1 // int cardinality
        end local 0 // org.graalvm.compiler.lir.hashing.IntHasher this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    5     0         this  Lorg/graalvm/compiler/lir/hashing/IntHasher;
            0    5     1  cardinality  I
            0    5     2       factor  S
            0    5     3        shift  B
    MethodParameters:
             Name  Flags
      cardinality  
      factor       
      shift        

  private static boolean canSimplify(short);
    descriptor: (S)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // short factor
         0: .line 86
            iload 0 /* factor */
            iconst_1
            isub
            invokestatic org.graalvm.compiler.lir.hashing.IntHasher.isPowerOf2:(I)Z
            ifne 1
            iload 0 /* factor */
            iconst_1
            iadd
            invokestatic org.graalvm.compiler.lir.hashing.IntHasher.isPowerOf2:(I)Z
            ifne 1
            iload 0 /* factor */
            ineg
            invokestatic org.graalvm.compiler.lir.hashing.IntHasher.isPowerOf2:(I)Z
            ifne 1
            iconst_0
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_1
            ireturn
        end local 0 // short factor
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0  factor  S
    MethodParameters:
        Name  Flags
      factor  

  private static boolean isPowerOf2(int);
    descriptor: (I)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // int n
         0: .line 90
            iload 0 /* n */
            iload 0 /* n */
            iconst_1
            isub
            iand
            ifne 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // int n
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0     n  I
    MethodParameters:
      Name  Flags
      n     

  public static java.util.Optional<org.graalvm.compiler.lir.hashing.IntHasher> forKeys(int[]);
    descriptor: ([I)Ljava/util/Optional;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=13, args_size=1
        start local 0 // int[] keys
         0: .line 97
            aload 0 /* keys */
            arraylength
            istore 1 /* length */
        start local 1 // int length
         1: .line 100
            iconst_1
            aload 0 /* keys */
            arraylength
            iconst_1
            isub
            i2d
            invokestatic java.lang.Math.log:(D)D
            getstatic org.graalvm.compiler.lir.hashing.IntHasher.log2:D
            ddiv
            d2i
            iconst_1
            iadd
            ishl
            istore 2 /* cardinality */
        start local 2 // int cardinality
         2: .line 103
            iload 2 /* cardinality */
            i2d
            invokestatic java.lang.Math.log:(D)D
            getstatic org.graalvm.compiler.lir.hashing.IntHasher.log2:D
            ddiv
            dconst_1
            dadd
            d2i
            istore 3 /* maskBits */
        start local 3 // int maskBits
         3: .line 105
            iload 1 /* length */
            newarray 10
            astore 4 /* scratch */
        start local 4 // int[] scratch
         4: .line 106
            iload 2 /* cardinality */
            newarray 4
            astore 5 /* seen */
        start local 5 // boolean[] seen
         5: .line 108
            getstatic org.graalvm.compiler.lir.hashing.IntHasher.factors:[Ljava/lang/Short;
            dup
            astore 9
            arraylength
            istore 8
            iconst_0
            istore 7
            goto 26
      StackMap locals: int[] int int int int[] boolean[] top int int java.lang.Short[]
      StackMap stack:
         6: aload 9
            iload 7
            aaload
            invokevirtual java.lang.Short.shortValue:()S
            istore 6 /* factor */
        start local 6 // short factor
         7: .line 111
            iconst_0
            istore 10 /* i */
        start local 10 // int i
         8: goto 11
         9: .line 112
      StackMap locals: int[] int int int int[] boolean[] int int int java.lang.Short[] int
      StackMap stack:
            aload 4 /* scratch */
            iload 10 /* i */
            aload 0 /* keys */
            iload 10 /* i */
            iaload
            iload 6 /* factor */
            imul
            iastore
        10: .line 111
            iinc 10 /* i */ 1
      StackMap locals:
      StackMap stack:
        11: iload 10 /* i */
            iload 1 /* length */
            if_icmplt 9
        end local 10 // int i
        12: .line 116
            iconst_0
            istore 10 /* shift */
        start local 10 // byte shift
        13: goto 24
        14: .line 117
      StackMap locals: int[] int int int int[] boolean[] int int int java.lang.Short[] int
      StackMap stack:
            aload 5 /* seen */
            iconst_0
            invokestatic java.util.Arrays.fill:([ZZ)V
        15: .line 118
            iconst_0
            istore 11 /* h */
        start local 11 // int h
        16: goto 21
        17: .line 119
      StackMap locals: int
      StackMap stack:
            aload 4 /* scratch */
            iload 11 /* h */
            iaload
            iload 10 /* shift */
            ishr
            iload 2 /* cardinality */
            iconst_1
            isub
            iand
            istore 12 /* idx */
        start local 12 // int idx
        18: .line 120
            aload 5 /* seen */
            iload 12 /* idx */
            baload
            ifne 23
        19: .line 121
            aload 5 /* seen */
            iload 12 /* idx */
            iconst_1
            bastore
        end local 12 // int idx
        20: .line 118
            iinc 11 /* h */ 1
      StackMap locals:
      StackMap stack:
        21: iload 11 /* h */
            iload 1 /* length */
            if_icmplt 17
        end local 11 // int h
        22: .line 126
            new org.graalvm.compiler.lir.hashing.IntHasher
            dup
            iload 2 /* cardinality */
            iload 6 /* factor */
            iload 10 /* shift */
            invokespecial org.graalvm.compiler.lir.hashing.IntHasher.<init>:(ISB)V
            invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
            areturn
        23: .line 116
      StackMap locals:
      StackMap stack:
            iload 10 /* shift */
            iconst_1
            iadd
            i2b
            istore 10 /* shift */
      StackMap locals:
      StackMap stack:
        24: iload 10 /* shift */
            bipush 32
            iload 3 /* maskBits */
            isub
            if_icmplt 14
        end local 10 // byte shift
        end local 6 // short factor
        25: .line 108
            iinc 7 1
      StackMap locals: int[] int int int int[] boolean[] top int int java.lang.Short[]
      StackMap stack:
        26: iload 7
            iload 8
            if_icmplt 6
        27: .line 129
            invokestatic java.util.Optional.empty:()Ljava/util/Optional;
            areturn
        end local 5 // boolean[] seen
        end local 4 // int[] scratch
        end local 3 // int maskBits
        end local 2 // int cardinality
        end local 1 // int length
        end local 0 // int[] keys
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   28     0         keys  [I
            1   28     1       length  I
            2   28     2  cardinality  I
            3   28     3     maskBits  I
            4   28     4      scratch  [I
            5   28     5         seen  [Z
            7   25     6       factor  S
            8   12    10            i  I
           13   25    10        shift  B
           16   22    11            h  I
           18   20    12          idx  I
    Signature: ([I)Ljava/util/Optional<Lorg/graalvm/compiler/lir/hashing/IntHasher;>;
    MethodParameters:
      Name  Flags
      keys  

  public int hash(int);
    descriptor: (I)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.lir.hashing.IntHasher this
        start local 1 // int value
         0: .line 133
            iload 1 /* value */
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.hashing.IntHasher.factor:S
            imul
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.hashing.IntHasher.shift:B
            ishr
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.hashing.IntHasher.cardinality:I
            iconst_1
            isub
            iand
            ireturn
        end local 1 // int value
        end local 0 // org.graalvm.compiler.lir.hashing.IntHasher this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0   this  Lorg/graalvm/compiler/lir/hashing/IntHasher;
            0    1     1  value  I
    MethodParameters:
       Name  Flags
      value  

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.lir.hashing.IntHasher this
         0: .line 138
            new java.lang.StringBuilder
            dup
            ldc "IntHasher [cardinality="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.hashing.IntHasher.cardinality:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc ", factor="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.hashing.IntHasher.factor:S
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc ", shift="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.hashing.IntHasher.shift:B
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc "]"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 0 // org.graalvm.compiler.lir.hashing.IntHasher this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/lir/hashing/IntHasher;

  private static int lambda$0(java.lang.Short, java.lang.Short);
    descriptor: (Ljava/lang/Short;Ljava/lang/Short;)I
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // java.lang.Short a
        start local 1 // java.lang.Short b
         0: .line 74
            aload 0 /* a */
            invokevirtual java.lang.Short.shortValue:()S
            invokestatic org.graalvm.compiler.lir.hashing.IntHasher.canSimplify:(S)Z
            ifeq 2
            aload 1 /* b */
            invokevirtual java.lang.Short.shortValue:()S
            invokestatic org.graalvm.compiler.lir.hashing.IntHasher.canSimplify:(S)Z
            ifne 2
         1: .line 75
            iconst_m1
            ireturn
         2: .line 76
      StackMap locals:
      StackMap stack:
            aload 0 /* a */
            invokevirtual java.lang.Short.shortValue:()S
            invokestatic org.graalvm.compiler.lir.hashing.IntHasher.canSimplify:(S)Z
            ifne 4
            aload 1 /* b */
            invokevirtual java.lang.Short.shortValue:()S
            invokestatic org.graalvm.compiler.lir.hashing.IntHasher.canSimplify:(S)Z
            ifeq 4
         3: .line 77
            iconst_1
            ireturn
         4: .line 79
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 1 // java.lang.Short b
        end local 0 // java.lang.Short a
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0     a  Ljava/lang/Short;
            0    5     1     b  Ljava/lang/Short;
}
SourceFile: "IntHasher.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles