public class org.graalvm.compiler.hotspot.stubs.ForeignCallSnippets 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.stubs.ForeignCallSnippets
  super_class: java.lang.Object
{
  public static final jdk.internal.vm.compiler.word.LocationIdentity OBJECT_RESULT_LOCATION;
    descriptor: Ljdk/internal/vm/compiler/word/LocationIdentity;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 133
            ldc "ObjectResult"
            invokestatic org.graalvm.compiler.nodes.NamedLocationIdentity.mutable:(Ljava/lang/String;)Lorg/graalvm/compiler/nodes/NamedLocationIdentity;
            putstatic org.graalvm.compiler.hotspot.stubs.ForeignCallSnippets.OBJECT_RESULT_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.hotspot.stubs.ForeignCallSnippets this
         0: .line 59
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.graalvm.compiler.hotspot.stubs.ForeignCallSnippets this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/hotspot/stubs/ForeignCallSnippets;

  public static void handlePendingException(org.graalvm.compiler.word.Word, boolean, boolean);
    descriptor: (Lorg/graalvm/compiler/word/Word;ZZ)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // org.graalvm.compiler.word.Word thread
        start local 1 // boolean shouldClearException
        start local 2 // boolean isObjectResult
         0: .line 77
            iload 1 /* shouldClearException */
            ifeq 1
            aload 0 /* thread */
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.clearPendingException:(Lorg/graalvm/compiler/word/Word;)Ljava/lang/Object;
            ifnonnull 2
      StackMap locals:
      StackMap stack:
         1: iload 1 /* shouldClearException */
            ifne 5
            aload 0 /* thread */
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.getPendingException:(Lorg/graalvm/compiler/word/Word;)Ljava/lang/Object;
            ifnull 5
         2: .line 78
      StackMap locals:
      StackMap stack:
            iload 2 /* isObjectResult */
            ifeq 4
         3: .line 79
            aload 0 /* thread */
            invokestatic org.graalvm.compiler.hotspot.stubs.ForeignCallSnippets.getAndClearObjectResult:(Lorg/graalvm/compiler/word/Word;)Ljava/lang/Object;
            pop
         4: .line 81
      StackMap locals:
      StackMap stack:
            getstatic jdk.vm.ci.meta.DeoptimizationAction.None:Ljdk/vm/ci/meta/DeoptimizationAction;
            getstatic jdk.vm.ci.meta.DeoptimizationReason.RuntimeConstraint:Ljdk/vm/ci/meta/DeoptimizationReason;
            invokestatic org.graalvm.compiler.hotspot.nodes.DeoptimizeCallerNode.deopt:(Ljdk/vm/ci/meta/DeoptimizationAction;Ljdk/vm/ci/meta/DeoptimizationReason;)V
         5: .line 83
      StackMap locals:
      StackMap stack:
            return
        end local 2 // boolean isObjectResult
        end local 1 // boolean shouldClearException
        end local 0 // org.graalvm.compiler.word.Word thread
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0    6     0                thread  Lorg/graalvm/compiler/word/Word;
            0    6     1  shouldClearException  Z
            0    6     2        isObjectResult  Z
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.Snippet()
    MethodParameters:
                      Name  Flags
      thread                
      shouldClearException  
      isObjectResult        

  public static java.lang.Object verifyObject(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=5, args_size=1
        start local 0 // java.lang.Object object
         0: .line 90
            invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.verifyOops:()Z
            ifeq 11
         1: .line 91
            invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.verifyOopCounterAddress:()J
            invokestatic jdk.internal.vm.compiler.word.WordFactory.unsigned:(J)Ljdk/internal/vm/compiler/word/UnsignedWord;
            checkcast org.graalvm.compiler.word.Word
            astore 1 /* verifyOopCounter */
        start local 1 // org.graalvm.compiler.word.Word verifyOopCounter
         2: .line 92
            aload 1 /* verifyOopCounter */
            iconst_0
            aload 1 /* verifyOopCounter */
            iconst_0
            invokevirtual org.graalvm.compiler.word.Word.readInt:(I)I
            iconst_1
            iadd
            invokevirtual org.graalvm.compiler.word.Word.writeInt:(II)V
         3: .line 94
            aload 0 /* object */
            invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
            astore 2 /* oop */
        start local 2 // jdk.internal.vm.compiler.word.Pointer oop
         4: .line 95
            aload 0 /* object */
            ifnull 11
         5: .line 96
            invokestatic org.graalvm.compiler.nodes.SnippetAnchorNode.anchor:()Lorg/graalvm/compiler/nodes/extended/GuardingNode;
            astore 3 /* anchorNode */
        start local 3 // org.graalvm.compiler.nodes.extended.GuardingNode anchorNode
         6: .line 98
            aload 2 /* oop */
            invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.verifyOopMask:()J
            invokestatic jdk.internal.vm.compiler.word.WordFactory.unsigned:(J)Ljdk/internal/vm/compiler/word/UnsignedWord;
            invokeinterface jdk.internal.vm.compiler.word.Pointer.and:(Ljdk/internal/vm/compiler/word/UnsignedWord;)Ljdk/internal/vm/compiler/word/Pointer;
            invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.verifyOopBits:()J
            invokestatic jdk.internal.vm.compiler.word.WordFactory.unsigned:(J)Ljdk/internal/vm/compiler/word/UnsignedWord;
            invokeinterface jdk.internal.vm.compiler.word.Pointer.equal:(Ljdk/internal/vm/compiler/word/UnsignedWord;)Z
            ifne 8
         7: .line 99
            ldc "oop not in heap: %p"
            aload 2 /* oop */
            invokeinterface jdk.internal.vm.compiler.word.Pointer.rawValue:()J
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.fatal:(Ljava/lang/String;J)V
         8: .line 102
      StackMap locals: org.graalvm.compiler.word.Word jdk.internal.vm.compiler.word.Pointer org.graalvm.compiler.nodes.extended.GuardingNode
      StackMap stack:
            aload 0 /* object */
            aload 3 /* anchorNode */
            invokestatic org.graalvm.compiler.nodes.PiNode.piCastNonNull:(Ljava/lang/Object;Lorg/graalvm/compiler/nodes/extended/GuardingNode;)Ljava/lang/Object;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.loadHubIntrinsic:(Ljava/lang/Object;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
            astore 4 /* klass */
        start local 4 // org.graalvm.compiler.hotspot.word.KlassPointer klass
         9: .line 103
            aload 4 /* klass */
            invokevirtual org.graalvm.compiler.hotspot.word.KlassPointer.isNull:()Z
            ifeq 11
        10: .line 104
            ldc "klass for oop %p is null"
            aload 2 /* oop */
            invokeinterface jdk.internal.vm.compiler.word.Pointer.rawValue:()J
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.fatal:(Ljava/lang/String;J)V
        end local 4 // org.graalvm.compiler.hotspot.word.KlassPointer klass
        end local 3 // org.graalvm.compiler.nodes.extended.GuardingNode anchorNode
        end local 2 // jdk.internal.vm.compiler.word.Pointer oop
        end local 1 // org.graalvm.compiler.word.Word verifyOopCounter
        11: .line 108
      StackMap locals:
      StackMap stack:
            aload 0 /* object */
            areturn
        end local 0 // java.lang.Object object
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   12     0            object  Ljava/lang/Object;
            2   11     1  verifyOopCounter  Lorg/graalvm/compiler/word/Word;
            4   11     2               oop  Ljdk/internal/vm/compiler/word/Pointer;
            6   11     3        anchorNode  Lorg/graalvm/compiler/nodes/extended/GuardingNode;
            9   11     4             klass  Lorg/graalvm/compiler/hotspot/word/KlassPointer;
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.Snippet()
    MethodParameters:
        Name  Flags
      object  

  static long verifyOopMask(org.graalvm.compiler.hotspot.GraalHotSpotVMConfig);
    descriptor: (Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)J
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.hotspot.GraalHotSpotVMConfig config
         0: .line 113
            aload 0 /* config */
            getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.verifyOopMask:J
            lreturn
        end local 0 // org.graalvm.compiler.hotspot.GraalHotSpotVMConfig config
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0  config  Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.Fold()
    RuntimeVisibleParameterAnnotations: 
      0:
        org.graalvm.compiler.api.replacements.Fold$InjectedParameter()
    MethodParameters:
        Name  Flags
      config  

  static long verifyOopBits(org.graalvm.compiler.hotspot.GraalHotSpotVMConfig);
    descriptor: (Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)J
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.hotspot.GraalHotSpotVMConfig config
         0: .line 118
            aload 0 /* config */
            getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.verifyOopBits:J
            lreturn
        end local 0 // org.graalvm.compiler.hotspot.GraalHotSpotVMConfig config
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0  config  Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.Fold()
    RuntimeVisibleParameterAnnotations: 
      0:
        org.graalvm.compiler.api.replacements.Fold$InjectedParameter()
    MethodParameters:
        Name  Flags
      config  

  public static java.lang.Object getAndClearObjectResult(org.graalvm.compiler.word.Word);
    descriptor: (Lorg/graalvm/compiler/word/Word;)Ljava/lang/Object;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // org.graalvm.compiler.word.Word thread
         0: .line 128
            aload 0 /* thread */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.stubs.ForeignCallSnippets.objectResultOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            getstatic org.graalvm.compiler.hotspot.stubs.ForeignCallSnippets.OBJECT_RESULT_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.word.Word.readObject:(ILjdk/internal/vm/compiler/word/LocationIdentity;)Ljava/lang/Object;
            astore 1 /* result */
        start local 1 // java.lang.Object result
         1: .line 129
            aload 0 /* thread */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.stubs.ForeignCallSnippets.objectResultOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            aconst_null
            getstatic org.graalvm.compiler.hotspot.stubs.ForeignCallSnippets.OBJECT_RESULT_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.word.Word.writeObject:(ILjava/lang/Object;Ljdk/internal/vm/compiler/word/LocationIdentity;)V
         2: .line 130
            aload 1 /* result */
            areturn
        end local 1 // java.lang.Object result
        end local 0 // org.graalvm.compiler.word.Word thread
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0  thread  Lorg/graalvm/compiler/word/Word;
            1    3     1  result  Ljava/lang/Object;
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.Snippet()
    MethodParameters:
        Name  Flags
      thread  

  static int objectResultOffset(org.graalvm.compiler.hotspot.GraalHotSpotVMConfig);
    descriptor: (Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.hotspot.GraalHotSpotVMConfig config
         0: .line 137
            aload 0 /* config */
            getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.threadObjectResultOffset:I
            ireturn
        end local 0 // org.graalvm.compiler.hotspot.GraalHotSpotVMConfig config
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0  config  Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.Fold()
    RuntimeVisibleParameterAnnotations: 
      0:
        org.graalvm.compiler.api.replacements.Fold$InjectedParameter()
    MethodParameters:
        Name  Flags
      config  
}
SourceFile: "ForeignCallSnippets.java"
NestMembers:
  org.graalvm.compiler.hotspot.stubs.ForeignCallSnippets$Templates
InnerClasses:
  public abstract InjectedParameter = org.graalvm.compiler.api.replacements.Fold$InjectedParameter of org.graalvm.compiler.api.replacements.Fold
  public Templates = org.graalvm.compiler.hotspot.stubs.ForeignCallSnippets$Templates of org.graalvm.compiler.hotspot.stubs.ForeignCallSnippets