public final class org.graalvm.compiler.replacements.nodes.BitScanReverseNode extends org.graalvm.compiler.nodes.calc.UnaryNode implements org.graalvm.compiler.nodes.spi.ArithmeticLIRLowerable
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: org.graalvm.compiler.replacements.nodes.BitScanReverseNode
  super_class: org.graalvm.compiler.nodes.calc.UnaryNode
{
  public static final org.graalvm.compiler.graph.NodeClass<org.graalvm.compiler.replacements.nodes.BitScanReverseNode> TYPE;
    descriptor: Lorg/graalvm/compiler/graph/NodeClass;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Signature: Lorg/graalvm/compiler/graph/NodeClass<Lorg/graalvm/compiler/replacements/nodes/BitScanReverseNode;>;

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 54
            ldc Lorg/graalvm/compiler/replacements/nodes/BitScanReverseNode;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic org.graalvm.compiler.replacements.nodes.BitScanReverseNode.$assertionsDisabled:Z
         3: .line 56
            ldc Lorg/graalvm/compiler/replacements/nodes/BitScanReverseNode;
            invokestatic org.graalvm.compiler.graph.NodeClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/NodeClass;
            putstatic org.graalvm.compiler.replacements.nodes.BitScanReverseNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(org.graalvm.compiler.nodes.ValueNode);
    descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.replacements.nodes.BitScanReverseNode this
        start local 1 // org.graalvm.compiler.nodes.ValueNode value
         0: .line 59
            aload 0 /* this */
            getstatic org.graalvm.compiler.replacements.nodes.BitScanReverseNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
            getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
            lconst_0
            aload 1 /* value */
            getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
            invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
            checkcast org.graalvm.compiler.core.common.type.PrimitiveStamp
            invokevirtual org.graalvm.compiler.core.common.type.PrimitiveStamp.getBits:()I
            i2l
            invokestatic org.graalvm.compiler.core.common.type.StampFactory.forInteger:(Ljdk/vm/ci/meta/JavaKind;JJ)Lorg/graalvm/compiler/core/common/type/IntegerStamp;
            aload 1 /* value */
            invokespecial org.graalvm.compiler.nodes.calc.UnaryNode.<init>:(Lorg/graalvm/compiler/graph/NodeClass;Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/nodes/ValueNode;)V
         1: .line 60
            getstatic org.graalvm.compiler.replacements.nodes.BitScanReverseNode.$assertionsDisabled:Z
            ifne 2
            aload 1 /* value */
            invokevirtual org.graalvm.compiler.nodes.ValueNode.getStackKind:()Ljdk/vm/ci/meta/JavaKind;
            getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
            if_acmpeq 2
            aload 1 /* value */
            invokevirtual org.graalvm.compiler.nodes.ValueNode.getStackKind:()Ljdk/vm/ci/meta/JavaKind;
            getstatic jdk.vm.ci.meta.JavaKind.Long:Ljdk/vm/ci/meta/JavaKind;
            if_acmpeq 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 61
      StackMap locals: org.graalvm.compiler.replacements.nodes.BitScanReverseNode org.graalvm.compiler.nodes.ValueNode
      StackMap stack:
            return
        end local 1 // org.graalvm.compiler.nodes.ValueNode value
        end local 0 // org.graalvm.compiler.replacements.nodes.BitScanReverseNode this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0   this  Lorg/graalvm/compiler/replacements/nodes/BitScanReverseNode;
            0    3     1  value  Lorg/graalvm/compiler/nodes/ValueNode;
    MethodParameters:
       Name  Flags
      value  

  public org.graalvm.compiler.core.common.type.Stamp foldStamp(org.graalvm.compiler.core.common.type.Stamp);
    descriptor: (Lorg/graalvm/compiler/core/common/type/Stamp;)Lorg/graalvm/compiler/core/common/type/Stamp;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=9, args_size=2
        start local 0 // org.graalvm.compiler.replacements.nodes.BitScanReverseNode this
        start local 1 // org.graalvm.compiler.core.common.type.Stamp newStamp
         0: .line 65
            getstatic org.graalvm.compiler.replacements.nodes.BitScanReverseNode.$assertionsDisabled:Z
            ifne 1
            aload 1 /* newStamp */
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.replacements.nodes.BitScanReverseNode.getValue:()Lorg/graalvm/compiler/nodes/ValueNode;
            getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
            invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
            invokevirtual org.graalvm.compiler.core.common.type.Stamp.isCompatible:(Lorg/graalvm/compiler/core/common/type/Stamp;)Z
            ifne 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 66
      StackMap locals:
      StackMap stack:
            aload 1 /* newStamp */
            checkcast org.graalvm.compiler.core.common.type.IntegerStamp
            astore 2 /* valueStamp */
        start local 2 // org.graalvm.compiler.core.common.type.IntegerStamp valueStamp
         2: .line 69
            aload 2 /* valueStamp */
            invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.getBits:()I
            invokestatic jdk.vm.ci.code.CodeUtil.mask:(I)J
            lstore 5 /* mask */
        start local 5 // long mask
         3: .line 70
            aload 2 /* valueStamp */
            invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.downMask:()J
            lload 5 /* mask */
            land
            invokestatic org.graalvm.compiler.replacements.nodes.BitScanReverseNode.scan:(J)I
            istore 7 /* lastAlwaysSetBit */
        start local 7 // int lastAlwaysSetBit
         4: .line 71
            iload 7 /* lastAlwaysSetBit */
            iconst_m1
            if_icmpne 8
         5: .line 72
            aload 2 /* valueStamp */
            invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.upMask:()J
            lload 5 /* mask */
            land
            invokestatic org.graalvm.compiler.replacements.nodes.BitScanForwardNode.scan:(J)I
            istore 8 /* firstMaybeSetBit */
        start local 8 // int firstMaybeSetBit
         6: .line 73
            iload 8 /* firstMaybeSetBit */
            istore 3 /* min */
        end local 8 // int firstMaybeSetBit
        start local 3 // int min
         7: .line 74
            goto 9
        end local 3 // int min
         8: .line 75
      StackMap locals: org.graalvm.compiler.replacements.nodes.BitScanReverseNode org.graalvm.compiler.core.common.type.Stamp org.graalvm.compiler.core.common.type.IntegerStamp top top long int
      StackMap stack:
            iload 7 /* lastAlwaysSetBit */
            istore 3 /* min */
        start local 3 // int min
         9: .line 77
      StackMap locals: org.graalvm.compiler.replacements.nodes.BitScanReverseNode org.graalvm.compiler.core.common.type.Stamp org.graalvm.compiler.core.common.type.IntegerStamp int top long int
      StackMap stack:
            aload 2 /* valueStamp */
            invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.upMask:()J
            lload 5 /* mask */
            land
            invokestatic org.graalvm.compiler.replacements.nodes.BitScanReverseNode.scan:(J)I
            istore 8 /* lastMaybeSetBit */
        start local 8 // int lastMaybeSetBit
        10: .line 78
            iload 8 /* lastMaybeSetBit */
            istore 4 /* max */
        start local 4 // int max
        11: .line 79
            getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
            iload 3 /* min */
            i2l
            iload 4 /* max */
            i2l
            invokestatic org.graalvm.compiler.core.common.type.StampFactory.forInteger:(Ljdk/vm/ci/meta/JavaKind;JJ)Lorg/graalvm/compiler/core/common/type/IntegerStamp;
            areturn
        end local 8 // int lastMaybeSetBit
        end local 7 // int lastAlwaysSetBit
        end local 5 // long mask
        end local 4 // int max
        end local 3 // int min
        end local 2 // org.graalvm.compiler.core.common.type.IntegerStamp valueStamp
        end local 1 // org.graalvm.compiler.core.common.type.Stamp newStamp
        end local 0 // org.graalvm.compiler.replacements.nodes.BitScanReverseNode this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   12     0              this  Lorg/graalvm/compiler/replacements/nodes/BitScanReverseNode;
            0   12     1          newStamp  Lorg/graalvm/compiler/core/common/type/Stamp;
            2   12     2        valueStamp  Lorg/graalvm/compiler/core/common/type/IntegerStamp;
            7    8     3               min  I
            9   12     3               min  I
           11   12     4               max  I
            3   12     5              mask  J
            4   12     7  lastAlwaysSetBit  I
            6    7     8  firstMaybeSetBit  I
           10   12     8   lastMaybeSetBit  I
    MethodParameters:
          Name  Flags
      newStamp  

  public org.graalvm.compiler.nodes.ValueNode canonical(org.graalvm.compiler.graph.spi.CanonicalizerTool, org.graalvm.compiler.nodes.ValueNode);
    descriptor: (Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // org.graalvm.compiler.replacements.nodes.BitScanReverseNode this
        start local 1 // org.graalvm.compiler.graph.spi.CanonicalizerTool tool
        start local 2 // org.graalvm.compiler.nodes.ValueNode forValue
         0: .line 84
            aload 2 /* forValue */
            invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
            ifeq 6
         1: .line 85
            aload 2 /* forValue */
            invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
            astore 3 /* c */
        start local 3 // jdk.vm.ci.meta.JavaConstant c
         2: .line 86
            aload 3 /* c */
            invokeinterface jdk.vm.ci.meta.JavaConstant.asLong:()J
            lconst_0
            lcmp
            ifeq 6
         3: .line 87
            aload 2 /* forValue */
            invokevirtual org.graalvm.compiler.nodes.ValueNode.getStackKind:()Ljdk/vm/ci/meta/JavaKind;
            getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
            if_acmpne 4
            aload 3 /* c */
            invokeinterface jdk.vm.ci.meta.JavaConstant.asInt:()I
            invokestatic org.graalvm.compiler.replacements.nodes.BitScanReverseNode.scan:(I)I
            goto 5
      StackMap locals: jdk.vm.ci.meta.JavaConstant
      StackMap stack:
         4: aload 3 /* c */
            invokeinterface jdk.vm.ci.meta.JavaConstant.asLong:()J
            invokestatic org.graalvm.compiler.replacements.nodes.BitScanReverseNode.scan:(J)I
      StackMap locals:
      StackMap stack: int
         5: invokestatic org.graalvm.compiler.nodes.ConstantNode.forInt:(I)Lorg/graalvm/compiler/nodes/ConstantNode;
            areturn
        end local 3 // jdk.vm.ci.meta.JavaConstant c
         6: .line 90
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            areturn
        end local 2 // org.graalvm.compiler.nodes.ValueNode forValue
        end local 1 // org.graalvm.compiler.graph.spi.CanonicalizerTool tool
        end local 0 // org.graalvm.compiler.replacements.nodes.BitScanReverseNode this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    7     0      this  Lorg/graalvm/compiler/replacements/nodes/BitScanReverseNode;
            0    7     1      tool  Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;
            0    7     2  forValue  Lorg/graalvm/compiler/nodes/ValueNode;
            2    6     3         c  Ljdk/vm/ci/meta/JavaConstant;
    MethodParameters:
          Name  Flags
      tool      
      forValue  

  public static int scan(long);
    descriptor: (J)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // long v
         0: .line 100
            bipush 63
            lload 0 /* v */
            invokestatic java.lang.Long.numberOfLeadingZeros:(J)I
            isub
            ireturn
        end local 0 // long v
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     v  J
    MethodParameters:
      Name  Flags
      v     

  public static int scan(int);
    descriptor: (I)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // int v
         0: .line 110
            bipush 31
            iload 0 /* v */
            invokestatic java.lang.Integer.numberOfLeadingZeros:(I)I
            isub
            ireturn
        end local 0 // int v
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     v  I
    MethodParameters:
      Name  Flags
      v     

  public static native int unsafeScan(int);
    descriptor: (I)I
    flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.graph.Node$NodeIntrinsic()
    MethodParameters:
      Name  Flags
      v     

  public static native int unsafeScan(long);
    descriptor: (J)I
    flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.graph.Node$NodeIntrinsic()
    MethodParameters:
      Name  Flags
      v     

  public void generate(org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool, org.graalvm.compiler.lir.gen.ArithmeticLIRGeneratorTool);
    descriptor: (Lorg/graalvm/compiler/nodes/spi/NodeLIRBuilderTool;Lorg/graalvm/compiler/lir/gen/ArithmeticLIRGeneratorTool;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // org.graalvm.compiler.replacements.nodes.BitScanReverseNode this
        start local 1 // org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool builder
        start local 2 // org.graalvm.compiler.lir.gen.ArithmeticLIRGeneratorTool gen
         0: .line 133
            aload 1 /* builder */
            aload 0 /* this */
            aload 2 /* gen */
            aload 1 /* builder */
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.replacements.nodes.BitScanReverseNode.getValue:()Lorg/graalvm/compiler/nodes/ValueNode;
            invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.operand:(Lorg/graalvm/compiler/graph/Node;)Ljdk/vm/ci/meta/Value;
            invokeinterface org.graalvm.compiler.lir.gen.ArithmeticLIRGeneratorTool.emitBitScanReverse:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/meta/Value;
            invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.setResult:(Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/meta/Value;
            pop
         1: .line 134
            return
        end local 2 // org.graalvm.compiler.lir.gen.ArithmeticLIRGeneratorTool gen
        end local 1 // org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool builder
        end local 0 // org.graalvm.compiler.replacements.nodes.BitScanReverseNode this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lorg/graalvm/compiler/replacements/nodes/BitScanReverseNode;
            0    2     1  builder  Lorg/graalvm/compiler/nodes/spi/NodeLIRBuilderTool;
            0    2     2      gen  Lorg/graalvm/compiler/lir/gen/ArithmeticLIRGeneratorTool;
    MethodParameters:
         Name  Flags
      builder  
      gen      

  public org.graalvm.compiler.graph.Node canonical(org.graalvm.compiler.graph.spi.CanonicalizerTool, org.graalvm.compiler.graph.Node);
    descriptor: (Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=3
         0: .line 1
            aload 0
            aload 1
            aload 2
            checkcast org.graalvm.compiler.nodes.ValueNode
            invokevirtual org.graalvm.compiler.replacements.nodes.BitScanReverseNode.canonical:(Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
SourceFile: "BitScanReverseNode.java"
InnerClasses:
  public abstract NodeIntrinsic = org.graalvm.compiler.graph.Node$NodeIntrinsic of org.graalvm.compiler.graph.Node
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.nodeinfo.NodeInfo(cycles = org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_2:Lorg/graalvm/compiler/nodeinfo/NodeCycles;, size = org.graalvm.compiler.nodeinfo.NodeSize.SIZE_1:Lorg/graalvm/compiler/nodeinfo/NodeSize;)