public class org.graalvm.compiler.hotspot.replacements.profiling.ProbabilisticProfileSnippets implements org.graalvm.compiler.replacements.Snippets
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.graalvm.compiler.hotspot.replacements.profiling.ProbabilisticProfileSnippets
  super_class: java.lang.Object
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.hotspot.replacements.profiling.ProbabilisticProfileSnippets this
         0: .line 66
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.graalvm.compiler.hotspot.replacements.profiling.ProbabilisticProfileSnippets this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/hotspot/replacements/profiling/ProbabilisticProfileSnippets;

  public static boolean shouldProfile(int, int);
    descriptor: (II)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // int probLog
        start local 1 // int random
         0: .line 69
            iconst_1
            iload 0 /* probLog */
            ishl
            iconst_1
            isub
            istore 2 /* probabilityMask */
        start local 2 // int probabilityMask
         1: .line 70
            iload 1 /* random */
            iload 2 /* probabilityMask */
            iand
            ifne 2
            iconst_1
            ireturn
      StackMap locals: int
      StackMap stack:
         2: iconst_0
            ireturn
        end local 2 // int probabilityMask
        end local 1 // int random
        end local 0 // int probLog
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    3     0          probLog  I
            0    3     1           random  I
            1    3     2  probabilityMask  I
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.Snippet()
    RuntimeVisibleParameterAnnotations: 
      0:
        org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
      1:
    MethodParameters:
         Name  Flags
      probLog  
      random   

  public static int notificationMask(int, int, int);
    descriptor: (III)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=5, args_size=3
        start local 0 // int freqLog
        start local 1 // int probLog
        start local 2 // int stepLog
         0: .line 75
            iconst_1
            iload 0 /* freqLog */
            ishl
            iconst_1
            isub
            istore 3 /* frequencyMask */
        start local 3 // int frequencyMask
         1: .line 76
            iconst_1
            iload 2 /* stepLog */
            iload 1 /* probLog */
            iadd
            ishl
            iconst_1
            isub
            istore 4 /* stepMask */
        start local 4 // int stepMask
         2: .line 77
            iload 3 /* frequencyMask */
            iload 4 /* stepMask */
            iconst_m1
            ixor
            iand
            ireturn
        end local 4 // int stepMask
        end local 3 // int frequencyMask
        end local 2 // int stepLog
        end local 1 // int probLog
        end local 0 // int freqLog
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    3     0        freqLog  I
            0    3     1        probLog  I
            0    3     2        stepLog  I
            1    3     3  frequencyMask  I
            2    3     4       stepMask  I
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.Snippet()
    MethodParameters:
         Name  Flags
      freqLog  
      probLog  
      stepLog  

  public static native void methodInvocationEvent(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, org.graalvm.compiler.hotspot.word.MethodCountersPointer);
    descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/MethodCountersPointer;)V
    flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/nodes/extended/ForeignCallNode;)
    RuntimeVisibleParameterAnnotations: 
      0:
        org.graalvm.compiler.graph.Node$ConstantNodeParameter()
      1:
    MethodParameters:
            Name  Flags
      descriptor  
      counters    

  public static void profileMethodEntryWithProbability(org.graalvm.compiler.hotspot.word.MethodCountersPointer, int, int, int, int, int);
    descriptor: (Lorg/graalvm/compiler/hotspot/word/MethodCountersPointer;IIIII)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=8, args_size=6
        start local 0 // org.graalvm.compiler.hotspot.word.MethodCountersPointer counters
        start local 1 // int random
        start local 2 // int step
        start local 3 // int stepLog
        start local 4 // int freqLog
        start local 5 // int probLog
         0: .line 85
            dconst_1
            iconst_1
            iload 5 /* probLog */
            ishl
            i2d
            ddiv
            iload 5 /* probLog */
            iload 1 /* random */
            invokestatic org.graalvm.compiler.hotspot.replacements.profiling.ProbabilisticProfileSnippets.shouldProfile:(II)Z
            invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
            ifeq 9
         1: .line 86
            aload 0 /* counters */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.invocationCounterOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            getstatic org.graalvm.compiler.hotspot.replacements.profiling.ProfileSnippets.METHOD_COUNTERS:Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.hotspot.word.MethodCountersPointer.readInt:(ILjdk/internal/vm/compiler/word/LocationIdentity;)I
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.invocationCounterIncrement:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            iload 2 /* step */
            imul
            iload 5 /* probLog */
            ishl
            iadd
            istore 6 /* counterValue */
        start local 6 // int counterValue
         2: .line 87
            aload 0 /* counters */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.invocationCounterOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            iload 6 /* counterValue */
            getstatic org.graalvm.compiler.hotspot.replacements.profiling.ProfileSnippets.METHOD_COUNTERS:Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.hotspot.word.MethodCountersPointer.writeIntSideEffectFree:(IILjdk/internal/vm/compiler/word/LocationIdentity;)V
         3: .line 88
            iload 4 /* freqLog */
            iflt 9
         4: .line 89
            iload 4 /* freqLog */
            iload 5 /* probLog */
            iload 3 /* stepLog */
            invokestatic org.graalvm.compiler.hotspot.replacements.profiling.ProbabilisticProfileSnippets.notificationMask:(III)I
            istore 7 /* mask */
        start local 7 // int mask
         5: .line 90
            ldc 0.010000000000000009
            iload 6 /* counterValue */
            iload 7 /* mask */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.invocationCounterShift:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            ishl
            iand
            ifne 6
            iconst_1
            goto 7
      StackMap locals: org.graalvm.compiler.hotspot.word.MethodCountersPointer int int int int int int int
      StackMap stack: double
         6: iconst_0
      StackMap locals: org.graalvm.compiler.hotspot.word.MethodCountersPointer int int int int int int int
      StackMap stack: double int
         7: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
            ifeq 9
         8: .line 91
            getstatic org.graalvm.compiler.hotspot.HotSpotBackend.INVOCATION_EVENT:Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallDescriptor;
            aload 0 /* counters */
            invokestatic org.graalvm.compiler.hotspot.replacements.profiling.ProbabilisticProfileSnippets.methodInvocationEvent:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/MethodCountersPointer;)V
        end local 7 // int mask
        end local 6 // int counterValue
         9: .line 95
      StackMap locals:
      StackMap stack:
            return
        end local 5 // int probLog
        end local 4 // int freqLog
        end local 3 // int stepLog
        end local 2 // int step
        end local 1 // int random
        end local 0 // org.graalvm.compiler.hotspot.word.MethodCountersPointer counters
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   10     0      counters  Lorg/graalvm/compiler/hotspot/word/MethodCountersPointer;
            0   10     1        random  I
            0   10     2          step  I
            0   10     3       stepLog  I
            0   10     4       freqLog  I
            0   10     5       probLog  I
            2    9     6  counterValue  I
            5    9     7          mask  I
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.Snippet()
    RuntimeVisibleParameterAnnotations: 
      0:
      1:
      2:
      3:
      4:
        org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
      5:
        org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
    MethodParameters:
          Name  Flags
      counters  
      random    
      step      
      stepLog   
      freqLog   
      probLog   

  public static native void methodBackedgeEvent(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, org.graalvm.compiler.hotspot.word.MethodCountersPointer, int, int);
    descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/MethodCountersPointer;II)V
    flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/nodes/extended/ForeignCallNode;)
    RuntimeVisibleParameterAnnotations: 
      0:
        org.graalvm.compiler.graph.Node$ConstantNodeParameter()
      1:
      2:
      3:
    MethodParameters:
            Name  Flags
      descriptor  
      counters    
      bci         
      targetBci   

  public static void profileBackedgeWithProbability(org.graalvm.compiler.hotspot.word.MethodCountersPointer, int, int, int, int, int, int, int);
    descriptor: (Lorg/graalvm/compiler/hotspot/word/MethodCountersPointer;IIIIIII)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=10, args_size=8
        start local 0 // org.graalvm.compiler.hotspot.word.MethodCountersPointer counters
        start local 1 // int random
        start local 2 // int step
        start local 3 // int stepLog
        start local 4 // int freqLog
        start local 5 // int probLog
        start local 6 // int bci
        start local 7 // int targetBci
         0: .line 103
            dconst_1
            iconst_1
            iload 5 /* probLog */
            ishl
            i2d
            ddiv
            iload 5 /* probLog */
            iload 1 /* random */
            invokestatic org.graalvm.compiler.hotspot.replacements.profiling.ProbabilisticProfileSnippets.shouldProfile:(II)Z
            invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
            ifeq 8
         1: .line 104
            aload 0 /* counters */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.backedgeCounterOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            getstatic org.graalvm.compiler.hotspot.replacements.profiling.ProfileSnippets.METHOD_COUNTERS:Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.hotspot.word.MethodCountersPointer.readInt:(ILjdk/internal/vm/compiler/word/LocationIdentity;)I
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.invocationCounterIncrement:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            iload 2 /* step */
            imul
            iload 5 /* probLog */
            ishl
            iadd
            istore 8 /* counterValue */
        start local 8 // int counterValue
         2: .line 105
            aload 0 /* counters */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.backedgeCounterOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            iload 8 /* counterValue */
            getstatic org.graalvm.compiler.hotspot.replacements.profiling.ProfileSnippets.METHOD_COUNTERS:Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.hotspot.word.MethodCountersPointer.writeIntSideEffectFree:(IILjdk/internal/vm/compiler/word/LocationIdentity;)V
         3: .line 106
            iload 4 /* freqLog */
            iload 5 /* probLog */
            iload 3 /* stepLog */
            invokestatic org.graalvm.compiler.hotspot.replacements.profiling.ProbabilisticProfileSnippets.notificationMask:(III)I
            istore 9 /* mask */
        start local 9 // int mask
         4: .line 107
            ldc 0.010000000000000009
            iload 8 /* counterValue */
            iload 9 /* mask */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.invocationCounterShift:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            ishl
            iand
            ifne 5
            iconst_1
            goto 6
      StackMap locals: org.graalvm.compiler.hotspot.word.MethodCountersPointer int int int int int int int int int
      StackMap stack: double
         5: iconst_0
      StackMap locals: org.graalvm.compiler.hotspot.word.MethodCountersPointer int int int int int int int int int
      StackMap stack: double int
         6: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
            ifeq 8
         7: .line 108
            getstatic org.graalvm.compiler.hotspot.HotSpotBackend.BACKEDGE_EVENT:Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallDescriptor;
            aload 0 /* counters */
            iload 6 /* bci */
            iload 7 /* targetBci */
            invokestatic org.graalvm.compiler.hotspot.replacements.profiling.ProbabilisticProfileSnippets.methodBackedgeEvent:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/MethodCountersPointer;II)V
        end local 9 // int mask
        end local 8 // int counterValue
         8: .line 111
      StackMap locals:
      StackMap stack:
            return
        end local 7 // int targetBci
        end local 6 // int bci
        end local 5 // int probLog
        end local 4 // int freqLog
        end local 3 // int stepLog
        end local 2 // int step
        end local 1 // int random
        end local 0 // org.graalvm.compiler.hotspot.word.MethodCountersPointer counters
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    9     0      counters  Lorg/graalvm/compiler/hotspot/word/MethodCountersPointer;
            0    9     1        random  I
            0    9     2          step  I
            0    9     3       stepLog  I
            0    9     4       freqLog  I
            0    9     5       probLog  I
            0    9     6           bci  I
            0    9     7     targetBci  I
            2    8     8  counterValue  I
            4    8     9          mask  I
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.Snippet()
    RuntimeVisibleParameterAnnotations: 
      0:
      1:
      2:
      3:
      4:
        org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
      5:
        org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
      6:
      7:
    MethodParameters:
           Name  Flags
      counters   
      random     
      step       
      stepLog    
      freqLog    
      probLog    
      bci        
      targetBci  

  public static void profileConditionalBackedgeWithProbability(org.graalvm.compiler.hotspot.word.MethodCountersPointer, int, int, int, int, int, boolean, int, int);
    descriptor: (Lorg/graalvm/compiler/hotspot/word/MethodCountersPointer;IIIIIZII)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=8, locals=9, args_size=9
        start local 0 // org.graalvm.compiler.hotspot.word.MethodCountersPointer counters
        start local 1 // int random
        start local 2 // int step
        start local 3 // int stepLog
        start local 4 // int freqLog
        start local 5 // int probLog
        start local 6 // boolean branchCondition
        start local 7 // int bci
        start local 8 // int targetBci
         0: .line 117
            iload 6 /* branchCondition */
            ifeq 2
         1: .line 118
            aload 0 /* counters */
            iload 1 /* random */
            iload 2 /* step */
            iload 3 /* stepLog */
            iload 4 /* freqLog */
            iload 5 /* probLog */
            iload 7 /* bci */
            iload 8 /* targetBci */
            invokestatic org.graalvm.compiler.hotspot.replacements.profiling.ProbabilisticProfileSnippets.profileBackedgeWithProbability:(Lorg/graalvm/compiler/hotspot/word/MethodCountersPointer;IIIIIII)V
         2: .line 120
      StackMap locals:
      StackMap stack:
            return
        end local 8 // int targetBci
        end local 7 // int bci
        end local 6 // boolean branchCondition
        end local 5 // int probLog
        end local 4 // int freqLog
        end local 3 // int stepLog
        end local 2 // int step
        end local 1 // int random
        end local 0 // org.graalvm.compiler.hotspot.word.MethodCountersPointer counters
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    3     0         counters  Lorg/graalvm/compiler/hotspot/word/MethodCountersPointer;
            0    3     1           random  I
            0    3     2             step  I
            0    3     3          stepLog  I
            0    3     4          freqLog  I
            0    3     5          probLog  I
            0    3     6  branchCondition  Z
            0    3     7              bci  I
            0    3     8        targetBci  I
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.Snippet()
    RuntimeVisibleParameterAnnotations: 
      0:
      1:
      2:
      3:
      4:
        org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
      5:
        org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
      6:
      7:
      8:
    MethodParameters:
                 Name  Flags
      counters         
      random           
      step             
      stepLog          
      freqLog          
      probLog          
      branchCondition  
      bci              
      targetBci        
}
SourceFile: "ProbabilisticProfileSnippets.java"
NestMembers:
  org.graalvm.compiler.hotspot.replacements.profiling.ProbabilisticProfileSnippets$Templates
InnerClasses:
  public abstract ConstantParameter = org.graalvm.compiler.api.replacements.Snippet$ConstantParameter of org.graalvm.compiler.api.replacements.Snippet
  public abstract ConstantNodeParameter = org.graalvm.compiler.graph.Node$ConstantNodeParameter of org.graalvm.compiler.graph.Node
  public abstract NodeIntrinsic = org.graalvm.compiler.graph.Node$NodeIntrinsic of org.graalvm.compiler.graph.Node
  public Templates = org.graalvm.compiler.hotspot.replacements.profiling.ProbabilisticProfileSnippets$Templates of org.graalvm.compiler.hotspot.replacements.profiling.ProbabilisticProfileSnippets