public final class org.graalvm.compiler.replacements.nodes.BitScanForwardNode 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.BitScanForwardNode
  super_class: org.graalvm.compiler.nodes.calc.UnaryNode
{
  public static final org.graalvm.compiler.graph.NodeClass<org.graalvm.compiler.replacements.nodes.BitScanForwardNode> 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/BitScanForwardNode;>;

  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/BitScanForwardNode;
            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.BitScanForwardNode.$assertionsDisabled:Z
         3: .line 56
            ldc Lorg/graalvm/compiler/replacements/nodes/BitScanForwardNode;
            invokestatic org.graalvm.compiler.graph.NodeClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/NodeClass;
            putstatic org.graalvm.compiler.replacements.nodes.BitScanForwardNode.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.BitScanForwardNode this
        start local 1 // org.graalvm.compiler.nodes.ValueNode value
         0: .line 59
            aload 0 /* this */
            getstatic org.graalvm.compiler.replacements.nodes.BitScanForwardNode.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.BitScanForwardNode.$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.BitScanForwardNode 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.BitScanForwardNode this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0   this  Lorg/graalvm/compiler/replacements/nodes/BitScanForwardNode;
            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=10, args_size=2
        start local 0 // org.graalvm.compiler.replacements.nodes.BitScanForwardNode this
        start local 1 // org.graalvm.compiler.core.common.type.Stamp newStamp
         0: .line 65
            getstatic org.graalvm.compiler.replacements.nodes.BitScanForwardNode.$assertionsDisabled:Z
            ifne 1
            aload 1 /* newStamp */
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.replacements.nodes.BitScanForwardNode.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.BitScanForwardNode.scan:(J)I
            istore 7 /* firstAlwaysSetBit */
        start local 7 // int firstAlwaysSetBit
         4: .line 71
            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
         5: .line 72
            iload 7 /* firstAlwaysSetBit */
            iconst_m1
            if_icmpne 10
         6: .line 73
            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 9 /* lastMaybeSetBit */
        start local 9 // int lastMaybeSetBit
         7: .line 74
            iload 8 /* firstMaybeSetBit */
            istore 3 /* min */
        start local 3 // int min
         8: .line 75
            iload 9 /* lastMaybeSetBit */
            istore 4 /* max */
        end local 9 // int lastMaybeSetBit
        start local 4 // int max
         9: .line 76
            goto 12
        end local 4 // int max
        end local 3 // int min
        10: .line 77
      StackMap locals: org.graalvm.compiler.replacements.nodes.BitScanForwardNode org.graalvm.compiler.core.common.type.Stamp org.graalvm.compiler.core.common.type.IntegerStamp top top long int int
      StackMap stack:
            iload 8 /* firstMaybeSetBit */
            istore 3 /* min */
        start local 3 // int min
        11: .line 78
            iload 7 /* firstAlwaysSetBit */
            istore 4 /* max */
        start local 4 // int max
        12: .line 80
      StackMap locals: org.graalvm.compiler.replacements.nodes.BitScanForwardNode org.graalvm.compiler.core.common.type.Stamp org.graalvm.compiler.core.common.type.IntegerStamp int int long int int
      StackMap stack:
            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 firstMaybeSetBit
        end local 7 // int firstAlwaysSetBit
        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.BitScanForwardNode this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   13     0               this  Lorg/graalvm/compiler/replacements/nodes/BitScanForwardNode;
            0   13     1           newStamp  Lorg/graalvm/compiler/core/common/type/Stamp;
            2   13     2         valueStamp  Lorg/graalvm/compiler/core/common/type/IntegerStamp;
            8   10     3                min  I
           11   13     3                min  I
            9   10     4                max  I
           12   13     4                max  I
            3   13     5               mask  J
            4   13     7  firstAlwaysSetBit  I
            5   13     8   firstMaybeSetBit  I
            7    9     9    lastMaybeSetBit  I
    MethodParameters:
          Name  Flags
      newStamp  

  public static org.graalvm.compiler.nodes.ValueNode tryFold(org.graalvm.compiler.nodes.ValueNode);
    descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // org.graalvm.compiler.nodes.ValueNode value
         0: .line 84
            aload 0 /* value */
            invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
            ifeq 6
         1: .line 85
            aload 0 /* value */
            invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
            astore 1 /* c */
        start local 1 // jdk.vm.ci.meta.JavaConstant c
         2: .line 86
            aload 1 /* c */
            invokeinterface jdk.vm.ci.meta.JavaConstant.asLong:()J
            lconst_0
            lcmp
            ifeq 6
         3: .line 87
            aload 0 /* 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_acmpne 4
            aload 1 /* c */
            invokeinterface jdk.vm.ci.meta.JavaConstant.asInt:()I
            invokestatic org.graalvm.compiler.replacements.nodes.BitScanForwardNode.scan:(I)I
            goto 5
      StackMap locals: jdk.vm.ci.meta.JavaConstant
      StackMap stack:
         4: aload 1 /* c */
            invokeinterface jdk.vm.ci.meta.JavaConstant.asLong:()J
            invokestatic org.graalvm.compiler.replacements.nodes.BitScanForwardNode.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 1 // jdk.vm.ci.meta.JavaConstant c
         6: .line 90
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 0 // org.graalvm.compiler.nodes.ValueNode value
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    7     0  value  Lorg/graalvm/compiler/nodes/ValueNode;
            2    6     1      c  Ljdk/vm/ci/meta/JavaConstant;
    MethodParameters:
       Name  Flags
      value  

  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=1, locals=4, args_size=3
        start local 0 // org.graalvm.compiler.replacements.nodes.BitScanForwardNode this
        start local 1 // org.graalvm.compiler.graph.spi.CanonicalizerTool tool
        start local 2 // org.graalvm.compiler.nodes.ValueNode forValue
         0: .line 95
            aload 2 /* forValue */
            invokestatic org.graalvm.compiler.replacements.nodes.BitScanForwardNode.tryFold:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
            astore 3 /* folded */
        start local 3 // org.graalvm.compiler.nodes.ValueNode folded
         1: .line 96
            aload 3 /* folded */
            ifnull 2
            aload 3 /* folded */
            goto 3
      StackMap locals: org.graalvm.compiler.nodes.ValueNode
      StackMap stack:
         2: aload 0 /* this */
      StackMap locals:
      StackMap stack: org.graalvm.compiler.nodes.ValueNode
         3: areturn
        end local 3 // org.graalvm.compiler.nodes.ValueNode folded
        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.BitScanForwardNode this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    4     0      this  Lorg/graalvm/compiler/replacements/nodes/BitScanForwardNode;
            0    4     1      tool  Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;
            0    4     2  forValue  Lorg/graalvm/compiler/nodes/ValueNode;
            1    4     3    folded  Lorg/graalvm/compiler/nodes/ValueNode;
    MethodParameters:
          Name  Flags
      tool      
      forValue  

  public static int scan(long);
    descriptor: (J)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // long v
         0: .line 106
            lload 0 /* v */
            lconst_0
            lcmp
            ifne 2
         1: .line 107
            iconst_m1
            ireturn
         2: .line 109
      StackMap locals:
      StackMap stack:
            lload 0 /* v */
            invokestatic java.lang.Long.numberOfTrailingZeros:(J)I
            ireturn
        end local 0 // long v
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0     v  J
    MethodParameters:
      Name  Flags
      v     

  public static int scan(int);
    descriptor: (I)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // int v
         0: .line 119
            ldc 4294967295
            iload 0 /* v */
            i2l
            land
            invokestatic org.graalvm.compiler.replacements.nodes.BitScanForwardNode.scan:(J)I
            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(long);
    descriptor: (J)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(int);
    descriptor: (I)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.BitScanForwardNode this
        start local 1 // org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool builder
        start local 2 // org.graalvm.compiler.lir.gen.ArithmeticLIRGeneratorTool gen
         0: .line 142
            aload 1 /* builder */
            aload 0 /* this */
            aload 2 /* gen */
            aload 1 /* builder */
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.replacements.nodes.BitScanForwardNode.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.emitBitScanForward:(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 143
            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.BitScanForwardNode this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lorg/graalvm/compiler/replacements/nodes/BitScanForwardNode;
            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.BitScanForwardNode.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: "BitScanForwardNode.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;)