public class org.graalvm.compiler.hotspot.replacements.ThreadSubstitutions
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.graalvm.compiler.hotspot.replacements.ThreadSubstitutions
  super_class: java.lang.Object
{
  public static final org.graalvm.compiler.core.common.spi.ForeignCallDescriptor THREAD_IS_INTERRUPTED;
    descriptor: Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=8, locals=0, args_size=0
         0: .line 68
            new org.graalvm.compiler.core.common.spi.ForeignCallDescriptor
            dup
            ldc "thread_is_interrupted"
            getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
            iconst_2
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Ljava/lang/Thread;
            aastore
            dup
            iconst_1
            getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
            aastore
            invokespecial org.graalvm.compiler.core.common.spi.ForeignCallDescriptor.<init>:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)V
            putstatic org.graalvm.compiler.hotspot.replacements.ThreadSubstitutions.THREAD_IS_INTERRUPTED:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
            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.replacements.ThreadSubstitutions this
         0: .line 48
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.graalvm.compiler.hotspot.replacements.ThreadSubstitutions this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/hotspot/replacements/ThreadSubstitutions;

  public static boolean isInterrupted(java.lang.Thread, boolean);
    descriptor: (Ljava/lang/Thread;Z)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=6, args_size=2
        start local 0 // java.lang.Thread thisObject
        start local 1 // boolean clearInterrupted
         0: .line 55
            invokestatic org.graalvm.compiler.hotspot.nodes.CurrentJavaThreadNode.get:()Lorg/graalvm/compiler/word/Word;
            astore 2 /* javaThread */
        start local 2 // org.graalvm.compiler.word.Word javaThread
         1: .line 56
            aload 2 /* javaThread */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.threadObjectOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.JAVA_THREAD_THREAD_OBJECT_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.word.Word.readObject:(ILjdk/internal/vm/compiler/word/LocationIdentity;)Ljava/lang/Object;
            astore 3 /* thread */
        start local 3 // java.lang.Object thread
         2: .line 57
            aload 0 /* thisObject */
            aload 3 /* thread */
            if_acmpne 9
         3: .line 58
            aload 2 /* javaThread */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.osThreadOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.JAVA_THREAD_OSTHREAD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.word.Word.readWord:(ILjdk/internal/vm/compiler/word/LocationIdentity;)Ljdk/internal/vm/compiler/word/WordBase;
            checkcast org.graalvm.compiler.word.Word
            astore 4 /* osThread */
        start local 4 // org.graalvm.compiler.word.Word osThread
         4: .line 59
            aload 4 /* osThread */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.osThreadInterruptedOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            invokestatic jdk.internal.vm.compiler.word.LocationIdentity.any:()Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.word.Word.readInt:(ILjdk/internal/vm/compiler/word/LocationIdentity;)I
            ifeq 5
            iconst_1
            goto 6
      StackMap locals: org.graalvm.compiler.word.Word java.lang.Object org.graalvm.compiler.word.Word
      StackMap stack:
         5: iconst_0
      StackMap locals:
      StackMap stack: int
         6: istore 5 /* interrupted */
        start local 5 // boolean interrupted
         7: .line 60
            iload 5 /* interrupted */
            ifeq 8
            iload 1 /* clearInterrupted */
            ifne 9
         8: .line 61
      StackMap locals: int
      StackMap stack:
            iload 5 /* interrupted */
            ireturn
        end local 5 // boolean interrupted
        end local 4 // org.graalvm.compiler.word.Word osThread
         9: .line 65
      StackMap locals:
      StackMap stack:
            getstatic org.graalvm.compiler.hotspot.replacements.ThreadSubstitutions.THREAD_IS_INTERRUPTED:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
            aload 0 /* thisObject */
            iload 1 /* clearInterrupted */
            invokestatic org.graalvm.compiler.hotspot.replacements.ThreadSubstitutions.threadIsInterruptedStub:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Thread;Z)Z
            ireturn
        end local 3 // java.lang.Object thread
        end local 2 // org.graalvm.compiler.word.Word javaThread
        end local 1 // boolean clearInterrupted
        end local 0 // java.lang.Thread thisObject
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   10     0        thisObject  Ljava/lang/Thread;
            0   10     1  clearInterrupted  Z
            1   10     2        javaThread  Lorg/graalvm/compiler/word/Word;
            2   10     3            thread  Ljava/lang/Object;
            4    9     4          osThread  Lorg/graalvm/compiler/word/Word;
            7    9     5       interrupted  Z
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.MethodSubstitution(isStatic = false, optional = true)
    MethodParameters:
                  Name  Flags
      thisObject        final
      clearInterrupted  

  private static native boolean threadIsInterruptedStub(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, java.lang.Thread, boolean);
    descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Thread;Z)Z
    flags: (0x010a) ACC_PRIVATE, 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:
    MethodParameters:
                    Name  Flags
      descriptor          
      thread              
      clearIsInterrupted  
}
SourceFile: "ThreadSubstitutions.java"
InnerClasses:
  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
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.ClassSubstitution(value = Ljava/lang/Thread;)