public class org.graalvm.compiler.hotspot.stubs.ExceptionHandlerStub extends org.graalvm.compiler.hotspot.stubs.SnippetStub
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.graalvm.compiler.hotspot.stubs.ExceptionHandlerStub
  super_class: org.graalvm.compiler.hotspot.stubs.SnippetStub
{
  public static final org.graalvm.compiler.core.common.spi.ForeignCallDescriptor EXCEPTION_HANDLER_FOR_PC;
    descriptor: Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  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=7, locals=0, args_size=0
         0: .line 68
            ldc Lorg/graalvm/compiler/hotspot/stubs/ExceptionHandlerStub;
            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.hotspot.stubs.ExceptionHandlerStub.$assertionsDisabled:Z
         3: .line 146
            ldc Lorg/graalvm/compiler/hotspot/stubs/ExceptionHandlerStub;
            ldc "exceptionHandlerForPc"
            ldc Lorg/graalvm/compiler/word/Word;
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Lorg/graalvm/compiler/word/Word;
            aastore
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.newDescriptor:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
            putstatic org.graalvm.compiler.hotspot.stubs.ExceptionHandlerStub.EXCEPTION_HANDLER_FOR_PC:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(org.graalvm.compiler.options.OptionValues, org.graalvm.compiler.hotspot.meta.HotSpotProviders, org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage);
    descriptor: (Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=4
        start local 0 // org.graalvm.compiler.hotspot.stubs.ExceptionHandlerStub this
        start local 1 // org.graalvm.compiler.options.OptionValues options
        start local 2 // org.graalvm.compiler.hotspot.meta.HotSpotProviders providers
        start local 3 // org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage linkage
         0: .line 71
            aload 0 /* this */
            ldc "exceptionHandler"
            aload 1 /* options */
            aload 2 /* providers */
            aload 3 /* linkage */
            invokespecial org.graalvm.compiler.hotspot.stubs.SnippetStub.<init>:(Ljava/lang/String;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)V
         1: .line 72
            return
        end local 3 // org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage linkage
        end local 2 // org.graalvm.compiler.hotspot.meta.HotSpotProviders providers
        end local 1 // org.graalvm.compiler.options.OptionValues options
        end local 0 // org.graalvm.compiler.hotspot.stubs.ExceptionHandlerStub this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Lorg/graalvm/compiler/hotspot/stubs/ExceptionHandlerStub;
            0    2     1    options  Lorg/graalvm/compiler/options/OptionValues;
            0    2     2  providers  Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
            0    2     3    linkage  Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
    MethodParameters:
           Name  Flags
      options    
      providers  
      linkage    

  protected java.lang.Object getConstantParameterValue(int, java.lang.String);
    descriptor: (ILjava/lang/String;)Ljava/lang/Object;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // org.graalvm.compiler.hotspot.stubs.ExceptionHandlerStub this
        start local 1 // int index
        start local 2 // java.lang.String name
         0: .line 76
            iload 1 /* index */
            iconst_2
            if_icmpne 2
         1: .line 77
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.stubs.ExceptionHandlerStub.providers:Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
            invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getRegisters:()Lorg/graalvm/compiler/hotspot/meta/HotSpotRegistersProvider;
            invokeinterface org.graalvm.compiler.hotspot.meta.HotSpotRegistersProvider.getThreadRegister:()Ljdk/vm/ci/code/Register;
            areturn
         2: .line 79
      StackMap locals:
      StackMap stack:
            getstatic org.graalvm.compiler.hotspot.stubs.ExceptionHandlerStub.$assertionsDisabled:Z
            ifne 3
            iload 1 /* index */
            iconst_3
            if_icmpeq 3
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         3: .line 80
      StackMap locals:
      StackMap stack:
            getstatic org.graalvm.compiler.hotspot.stubs.StubOptions.TraceExceptionHandlerStub:Lorg/graalvm/compiler/options/OptionKey;
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.stubs.ExceptionHandlerStub.options:Lorg/graalvm/compiler/options/OptionValues;
            invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
            areturn
        end local 2 // java.lang.String name
        end local 1 // int index
        end local 0 // org.graalvm.compiler.hotspot.stubs.ExceptionHandlerStub this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Lorg/graalvm/compiler/hotspot/stubs/ExceptionHandlerStub;
            0    4     1  index  I
            0    4     2   name  Ljava/lang/String;
    MethodParameters:
       Name  Flags
      index  
      name   

  private static void exceptionHandler(java.lang.Object, org.graalvm.compiler.word.Word, jdk.vm.ci.code.Register, boolean);
    descriptor: (Ljava/lang/Object;Lorg/graalvm/compiler/word/Word;Ljdk/vm/ci/code/Register;Z)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=7, locals=6, args_size=4
        start local 0 // java.lang.Object exception
        start local 1 // org.graalvm.compiler.word.Word exceptionPc
        start local 2 // jdk.vm.ci.code.Register threadRegister
        start local 3 // boolean logging
         0: .line 85
            aload 2 /* threadRegister */
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.registerAsWord:(Ljdk/vm/ci/code/Register;)Lorg/graalvm/compiler/word/Word;
            astore 4 /* thread */
        start local 4 // org.graalvm.compiler.word.Word thread
         1: .line 86
            aload 4 /* thread */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.stubs.ExceptionHandlerStub.assertionsEnabled:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
            invokestatic org.graalvm.compiler.hotspot.stubs.ExceptionHandlerStub.checkNoExceptionInThread:(Lorg/graalvm/compiler/word/Word;Z)V
         2: .line 87
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.stubs.ExceptionHandlerStub.assertionsEnabled:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
            aload 0 /* exception */
            invokestatic org.graalvm.compiler.hotspot.stubs.ExceptionHandlerStub.checkExceptionNotNull:(ZLjava/lang/Object;)V
         3: .line 88
            aload 4 /* thread */
            aload 0 /* exception */
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.writeExceptionOop:(Lorg/graalvm/compiler/word/Word;Ljava/lang/Object;)V
         4: .line 89
            aload 4 /* thread */
            aload 1 /* exceptionPc */
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.writeExceptionPc:(Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;)V
         5: .line 90
            iload 3 /* logging */
            ifeq 11
         6: .line 91
            ldc "handling exception %p ("
            aload 0 /* exception */
            invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
            invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.printf:(Ljava/lang/String;J)V
         7: .line 92
            aload 0 /* exception */
            invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
            invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.decipher:(J)V
         8: .line 93
            ldc ") at %p ("
            aload 1 /* exceptionPc */
            invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.printf:(Ljava/lang/String;J)V
         9: .line 94
            aload 1 /* exceptionPc */
            invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.decipher:(J)V
        10: .line 95
            ldc ")\n"
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.printf:(Ljava/lang/String;)V
        11: .line 99
      StackMap locals: org.graalvm.compiler.word.Word
      StackMap stack:
            aload 1 /* exceptionPc */
            invokestatic org.graalvm.compiler.hotspot.nodes.PatchReturnAddressNode.patchReturnAddress:(Lorg/graalvm/compiler/word/Word;)V
        12: .line 101
            getstatic org.graalvm.compiler.hotspot.stubs.ExceptionHandlerStub.EXCEPTION_HANDLER_FOR_PC:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
            aload 4 /* thread */
            invokestatic org.graalvm.compiler.hotspot.stubs.ExceptionHandlerStub.exceptionHandlerForPc:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
            astore 5 /* handlerPc */
        start local 5 // org.graalvm.compiler.word.Word handlerPc
        13: .line 103
            iload 3 /* logging */
            ifeq 17
        14: .line 104
            ldc "handler for exception %p at %p is at %p ("
            aload 0 /* exception */
            invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
            invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
            aload 1 /* exceptionPc */
            invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
            aload 5 /* handlerPc */
            invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.printf:(Ljava/lang/String;JJJ)V
        15: .line 105
            aload 5 /* handlerPc */
            invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.decipher:(J)V
        16: .line 106
            ldc ")\n"
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.printf:(Ljava/lang/String;)V
        17: .line 110
      StackMap locals: org.graalvm.compiler.word.Word
      StackMap stack:
            aload 5 /* handlerPc */
            invokestatic org.graalvm.compiler.hotspot.nodes.JumpToExceptionHandlerNode.jumpToExceptionHandler:(Lorg/graalvm/compiler/word/Word;)V
        18: .line 111
            return
        end local 5 // org.graalvm.compiler.word.Word handlerPc
        end local 4 // org.graalvm.compiler.word.Word thread
        end local 3 // boolean logging
        end local 2 // jdk.vm.ci.code.Register threadRegister
        end local 1 // org.graalvm.compiler.word.Word exceptionPc
        end local 0 // java.lang.Object exception
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   19     0       exception  Ljava/lang/Object;
            0   19     1     exceptionPc  Lorg/graalvm/compiler/word/Word;
            0   19     2  threadRegister  Ljdk/vm/ci/code/Register;
            0   19     3         logging  Z
            1   19     4          thread  Lorg/graalvm/compiler/word/Word;
           13   19     5       handlerPc  Lorg/graalvm/compiler/word/Word;
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.Snippet()
    RuntimeVisibleParameterAnnotations: 
      0:
      1:
      2:
        org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
      3:
        org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
    MethodParameters:
                Name  Flags
      exception       
      exceptionPc     
      threadRegister  
      logging         

  static void checkNoExceptionInThread(org.graalvm.compiler.word.Word, boolean);
    descriptor: (Lorg/graalvm/compiler/word/Word;Z)V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // org.graalvm.compiler.word.Word thread
        start local 1 // boolean enabled
         0: .line 114
            iload 1 /* enabled */
            ifeq 8
         1: .line 115
            aload 0 /* thread */
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readExceptionOop:(Lorg/graalvm/compiler/word/Word;)Ljava/lang/Object;
            astore 2 /* currentException */
        start local 2 // java.lang.Object currentException
         2: .line 116
            aload 2 /* currentException */
            ifnull 4
         3: .line 117
            ldc "exception object in thread must be null, not %p"
            aload 2 /* currentException */
            invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
            invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.fatal:(Ljava/lang/String;J)V
         4: .line 119
      StackMap locals: java.lang.Object
      StackMap stack:
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.cAssertionsEnabled:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
            ifeq 8
         5: .line 122
            aload 0 /* thread */
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readExceptionPc:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
            astore 3 /* currentExceptionPc */
        start local 3 // org.graalvm.compiler.word.Word currentExceptionPc
         6: .line 123
            aload 3 /* currentExceptionPc */
            invokestatic jdk.internal.vm.compiler.word.WordFactory.zero:()Ljdk/internal/vm/compiler/word/WordBase;
            checkcast org.graalvm.compiler.word.Word
            invokevirtual org.graalvm.compiler.word.Word.notEqual:(Lorg/graalvm/compiler/word/Word;)Z
            ifeq 8
         7: .line 124
            ldc "exception PC in thread must be zero, not %p"
            aload 3 /* currentExceptionPc */
            invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.fatal:(Ljava/lang/String;J)V
        end local 3 // org.graalvm.compiler.word.Word currentExceptionPc
        end local 2 // java.lang.Object currentException
         8: .line 128
      StackMap locals:
      StackMap stack:
            return
        end local 1 // boolean enabled
        end local 0 // org.graalvm.compiler.word.Word thread
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0    9     0              thread  Lorg/graalvm/compiler/word/Word;
            0    9     1             enabled  Z
            2    8     2    currentException  Ljava/lang/Object;
            6    8     3  currentExceptionPc  Lorg/graalvm/compiler/word/Word;
    MethodParameters:
         Name  Flags
      thread   
      enabled  

  static void checkExceptionNotNull(boolean, java.lang.Object);
    descriptor: (ZLjava/lang/Object;)V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // boolean enabled
        start local 1 // java.lang.Object exception
         0: .line 131
            iload 0 /* enabled */
            ifeq 2
            aload 1 /* exception */
            ifnonnull 2
         1: .line 132
            ldc "exception must not be null"
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.fatal:(Ljava/lang/String;)V
         2: .line 134
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.Object exception
        end local 0 // boolean enabled
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    3     0    enabled  Z
            0    3     1  exception  Ljava/lang/Object;
    MethodParameters:
           Name  Flags
      enabled    
      exception  

  static boolean assertionsEnabled(org.graalvm.compiler.hotspot.GraalHotSpotVMConfig);
    descriptor: (Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.hotspot.GraalHotSpotVMConfig config
         0: .line 143
            invokestatic org.graalvm.compiler.debug.Assertions.assertionsEnabled:()Z
            ifne 1
            aload 0 /* config */
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.cAssertionsEnabled:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
            ifne 1
            iconst_0
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_1
            ireturn
        end local 0 // org.graalvm.compiler.hotspot.GraalHotSpotVMConfig config
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     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 native org.graalvm.compiler.word.Word exceptionHandlerForPc(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, org.graalvm.compiler.word.Word);
    descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
    flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/hotspot/nodes/StubForeignCallNode;)
    RuntimeVisibleParameterAnnotations: 
      0:
        org.graalvm.compiler.graph.Node$ConstantNodeParameter()
      1:
    MethodParameters:
                       Name  Flags
      exceptionHandlerForPc  
      thread                 
}
SourceFile: "ExceptionHandlerStub.java"
InnerClasses:
  public abstract InjectedParameter = org.graalvm.compiler.api.replacements.Fold$InjectedParameter of org.graalvm.compiler.api.replacements.Fold
  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