final class com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport extends com.oracle.svm.truffle.nfi.TruffleNFISupport
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport
  super_class: com.oracle.svm.truffle.nfi.TruffleNFISupport
{
  private static final int ISOLATED_NAMESPACE_FLAG;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 65536

  private static final int ISOLATED_NAMESPACE_NOT_SUPPORTED_FLAG;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 0

  static int isolatedNamespaceFlag;
    descriptor: I
    flags: (0x0008) ACC_STATIC

  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 64
            ldc Lcom/oracle/svm/truffle/nfi/posix/PosixTruffleNFISupport;
            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 com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport.$assertionsDisabled:Z
         3: .line 69
            iconst_0
            putstatic com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport.isolatedNamespaceFlag:I
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  static void initialize();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=0, args_size=0
         0: .line 72
            ldc Lorg/graalvm/nativeimage/Platform$LINUX;
            invokestatic org.graalvm.nativeimage.Platform.includedIn:(Ljava/lang/Class;)Z
            ifeq 4
         1: .line 73
            invokestatic com.oracle.svm.core.c.libc.LibCBase.singleton:()Lcom/oracle/svm/core/c/libc/LibCBase;
            invokeinterface com.oracle.svm.core.c.libc.LibCBase.hasIsolatedNamespaces:()Z
            ifeq 2
            ldc 65536
            goto 3
      StackMap locals:
      StackMap stack:
         2: iconst_0
      StackMap locals:
      StackMap stack: int
         3: putstatic com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport.isolatedNamespaceFlag:I
         4: .line 75
      StackMap locals:
      StackMap stack:
            ldc Lcom/oracle/svm/truffle/nfi/TruffleNFISupport;
            new com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport
            dup
            invokespecial com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport.<init>:()V
            invokestatic org.graalvm.nativeimage.ImageSingletons.add:(Ljava/lang/Class;Ljava/lang/Object;)V
         5: .line 76
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport this
         0: .line 79
            aload 0 /* this */
            invokestatic com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport.getErrnoGetterFunctionName:()Ljava/lang/String;
            invokespecial com.oracle.svm.truffle.nfi.TruffleNFISupport.<init>:(Ljava/lang/String;)V
         1: .line 80
            return
        end local 0 // com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/svm/truffle/nfi/posix/PosixTruffleNFISupport;

  private static java.lang.String getErrnoGetterFunctionName();
    descriptor: ()Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 83
            ldc Lorg/graalvm/nativeimage/Platform$LINUX;
            invokestatic org.graalvm.nativeimage.Platform.includedIn:(Ljava/lang/Class;)Z
            ifeq 2
         1: .line 84
            ldc "__errno_location"
            areturn
         2: .line 86
      StackMap locals:
      StackMap stack:
            ldc Lorg/graalvm/nativeimage/Platform$DARWIN;
            invokestatic org.graalvm.nativeimage.Platform.includedIn:(Ljava/lang/Class;)Z
            ifeq 4
         3: .line 87
            ldc "__error"
            areturn
         4: .line 89
      StackMap locals:
      StackMap stack:
            ldc "unsupported platform for TruffleNFIFeature"
            invokestatic com.oracle.svm.core.util.VMError.unsupportedFeature:(Ljava/lang/String;)Ljava/lang/RuntimeException;
            athrow
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  protected org.graalvm.nativeimage.c.type.CCharPointer strdupImpl(org.graalvm.nativeimage.c.type.CCharPointer);
    descriptor: (Lorg/graalvm/nativeimage/c/type/CCharPointer;)Lorg/graalvm/nativeimage/c/type/CCharPointer;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport this
        start local 1 // org.graalvm.nativeimage.c.type.CCharPointer src
         0: .line 94
            aload 1 /* src */
            invokestatic com.oracle.svm.core.posix.headers.LibC.strdup:(Lorg/graalvm/nativeimage/c/type/CCharPointer;)Lorg/graalvm/nativeimage/c/type/CCharPointer;
            areturn
        end local 1 // org.graalvm.nativeimage.c.type.CCharPointer src
        end local 0 // com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/svm/truffle/nfi/posix/PosixTruffleNFISupport;
            0    1     1   src  Lorg/graalvm/nativeimage/c/type/CCharPointer;
    MethodParameters:
      Name  Flags
      src   

  private static org.graalvm.word.PointerBase dlmopen(com.oracle.svm.core.posix.headers.Dlfcn$GNUExtensions$Lmid_t, java.lang.String, int);
    descriptor: (Lcom/oracle/svm/core/posix/headers/Dlfcn$GNUExtensions$Lmid_t;Ljava/lang/String;I)Lorg/graalvm/word/PointerBase;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=7, args_size=3
        start local 0 // com.oracle.svm.core.posix.headers.Dlfcn$GNUExtensions$Lmid_t lmid
        start local 1 // java.lang.String filename
        start local 2 // int mode
         0: .line 98
            aconst_null
            astore 3
            aconst_null
            astore 4
         1: aload 1 /* filename */
            invokestatic org.graalvm.nativeimage.c.type.CTypeConversion.toCString:(Ljava/lang/CharSequence;)Lorg/graalvm/nativeimage/c/type/CTypeConversion$CCharPointerHolder;
            astore 5 /* pathPin */
        start local 5 // org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerHolder pathPin
         2: .line 99
            aload 5 /* pathPin */
            invokeinterface org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerHolder.get:()Lorg/graalvm/nativeimage/c/type/CCharPointer;
            astore 6 /* pathPtr */
        start local 6 // org.graalvm.nativeimage.c.type.CCharPointer pathPtr
         3: .line 100
            aload 0 /* lmid */
            aload 6 /* pathPtr */
            iload 2 /* mode */
            invokestatic com.oracle.svm.core.posix.headers.Dlfcn$GNUExtensions.dlmopen:(Lcom/oracle/svm/core/posix/headers/Dlfcn$GNUExtensions$Lmid_t;Lorg/graalvm/nativeimage/c/type/CCharPointer;I)Lorg/graalvm/word/PointerBase;
         4: .line 101
            aload 5 /* pathPin */
            ifnull 5
            aload 5 /* pathPin */
            invokeinterface org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerHolder.close:()V
         5: .line 100
      StackMap locals: com.oracle.svm.core.posix.headers.Dlfcn$GNUExtensions$Lmid_t java.lang.String int java.lang.Throwable java.lang.Throwable org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerHolder org.graalvm.nativeimage.c.type.CCharPointer
      StackMap stack: org.graalvm.word.PointerBase
            areturn
        end local 6 // org.graalvm.nativeimage.c.type.CCharPointer pathPtr
      StackMap locals: com.oracle.svm.core.posix.headers.Dlfcn$GNUExtensions$Lmid_t java.lang.String int java.lang.Throwable java.lang.Throwable org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerHolder
      StackMap stack: java.lang.Throwable
         6: astore 3
         7: .line 101
            aload 5 /* pathPin */
            ifnull 8
            aload 5 /* pathPin */
            invokeinterface org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerHolder.close:()V
        end local 5 // org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerHolder pathPin
      StackMap locals:
      StackMap stack:
         8: aload 3
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
         9: astore 4
            aload 3
            ifnonnull 10
            aload 4
            astore 3
            goto 11
      StackMap locals:
      StackMap stack:
        10: aload 3
            aload 4
            if_acmpeq 11
            aload 3
            aload 4
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        11: aload 3
            athrow
        end local 2 // int mode
        end local 1 // java.lang.String filename
        end local 0 // com.oracle.svm.core.posix.headers.Dlfcn$GNUExtensions$Lmid_t lmid
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   12     0      lmid  Lcom/oracle/svm/core/posix/headers/Dlfcn$GNUExtensions$Lmid_t;
            0   12     1  filename  Ljava/lang/String;
            0   12     2      mode  I
            2    8     5   pathPin  Lorg/graalvm/nativeimage/c/type/CTypeConversion$CCharPointerHolder;
            3    6     6   pathPtr  Lorg/graalvm/nativeimage/c/type/CCharPointer;
      Exception table:
        from    to  target  type
           2     4       6  any
           1     5       9  any
           6     9       9  any
    MethodParameters:
          Name  Flags
      lmid      
      filename  
      mode      

  private static org.graalvm.word.PointerBase loadLibraryInNamespace(long, java.lang.String, int);
    descriptor: (JLjava/lang/String;I)Lorg/graalvm/word/PointerBase;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=12, args_size=3
        start local 0 // long nativeContext
        start local 2 // java.lang.String name
        start local 3 // int mode
         0: .line 108
            getstatic com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport.$assertionsDisabled:Z
            ifne 1
            iload 3 /* mode */
            getstatic com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport.isolatedNamespaceFlag:I
            iand
            ifeq 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 110
      StackMap locals:
      StackMap stack:
            lload 0 /* nativeContext */
            invokestatic com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport.getContext:(J)Lcom/oracle/svm/truffle/nfi/Target_com_oracle_truffle_nfi_impl_NFIContext;
            ldc Lcom/oracle/svm/truffle/nfi/posix/Target_com_oracle_truffle_nfi_impl_NFIContextLinux;
            invokestatic com.oracle.svm.core.snippets.KnownIntrinsics.convertUnknownValue:(Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
            checkcast com.oracle.svm.truffle.nfi.posix.Target_com_oracle_truffle_nfi_impl_NFIContextLinux
         2: .line 109
            astore 4 /* context */
        start local 4 // com.oracle.svm.truffle.nfi.posix.Target_com_oracle_truffle_nfi_impl_NFIContextLinux context
         3: .line 113
            aload 4 /* context */
            getfield com.oracle.svm.truffle.nfi.posix.Target_com_oracle_truffle_nfi_impl_NFIContextLinux.isolatedNamespaceId:J
            lstore 5 /* namespaceId */
        start local 5 // long namespaceId
         4: .line 114
            lload 5 /* namespaceId */
            lconst_0
            lcmp
            ifne 27
         5: .line 116
            aload 4 /* context */
            dup
            astore 7
            monitorenter
         6: .line 117
            aload 4 /* context */
            getfield com.oracle.svm.truffle.nfi.posix.Target_com_oracle_truffle_nfi_impl_NFIContextLinux.isolatedNamespaceId:J
            lstore 5 /* namespaceId */
         7: .line 118
            lload 5 /* namespaceId */
            lconst_0
            lcmp
            ifne 23
         8: .line 119
            invokestatic com.oracle.svm.core.posix.headers.Dlfcn$GNUExtensions.LM_ID_NEWLM:()I
            invokestatic org.graalvm.word.WordFactory.signed:(I)Lorg/graalvm/word/SignedWord;
            checkcast com.oracle.svm.core.posix.headers.Dlfcn$GNUExtensions$Lmid_t
            aload 2 /* name */
            iload 3 /* mode */
            invokestatic com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport.dlmopen:(Lcom/oracle/svm/core/posix/headers/Dlfcn$GNUExtensions$Lmid_t;Ljava/lang/String;I)Lorg/graalvm/word/PointerBase;
            astore 8 /* handle */
        start local 8 // org.graalvm.word.PointerBase handle
         9: .line 120
            aload 8 /* handle */
            invokestatic org.graalvm.word.WordFactory.zero:()Lorg/graalvm/word/WordBase;
            checkcast org.graalvm.word.ComparableWord
            invokeinterface org.graalvm.word.PointerBase.equal:(Lorg/graalvm/word/ComparableWord;)Z
            ifeq 12
        10: .line 121
            aload 8 /* handle */
            aload 7
            monitorexit
        11: areturn
        12: .line 124
      StackMap locals: long java.lang.String int com.oracle.svm.truffle.nfi.posix.Target_com_oracle_truffle_nfi_impl_NFIContextLinux long com.oracle.svm.truffle.nfi.posix.Target_com_oracle_truffle_nfi_impl_NFIContextLinux org.graalvm.word.PointerBase
      StackMap stack:
            ldc Lcom/oracle/svm/core/posix/headers/Dlfcn$GNUExtensions$Lmid_tPointer;
            invokestatic org.graalvm.nativeimage.StackValue.get:(Ljava/lang/Class;)Lorg/graalvm/word/PointerBase;
            checkcast com.oracle.svm.core.posix.headers.Dlfcn$GNUExtensions$Lmid_tPointer
            astore 9 /* namespacePtr */
        start local 9 // com.oracle.svm.core.posix.headers.Dlfcn$GNUExtensions$Lmid_tPointer namespacePtr
        13: .line 125
            aload 8 /* handle */
            invokestatic com.oracle.svm.core.posix.headers.Dlfcn$GNUExtensions.RTLD_DI_LMID:()I
            aload 9 /* namespacePtr */
            invokestatic com.oracle.svm.core.posix.headers.Dlfcn$GNUExtensions.dlinfo:(Lorg/graalvm/word/PointerBase;ILorg/graalvm/word/PointerBase;)I
            istore 10 /* ret */
        start local 10 // int ret
        14: .line 126
            iload 10 /* ret */
            ifeq 18
        15: .line 127
            invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreter:()V
        16: .line 128
            invokestatic com.oracle.svm.core.posix.PosixUtils.dlerror:()Ljava/lang/String;
            astore 11 /* error */
        start local 11 // java.lang.String error
        17: .line 129
            new java.lang.StringBuilder
            dup
            ldc "dlinfo failed to obtain link-map list (namespace) of '"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* name */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "': "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 11 /* error */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic com.oracle.svm.core.util.VMError.shouldNotReachHere:(Ljava/lang/String;)Ljava/lang/RuntimeException;
            athrow
        end local 11 // java.lang.String error
        18: .line 131
      StackMap locals: com.oracle.svm.core.posix.headers.Dlfcn$GNUExtensions$Lmid_tPointer int
      StackMap stack:
            aload 9 /* namespacePtr */
            invokeinterface com.oracle.svm.core.posix.headers.Dlfcn$GNUExtensions$Lmid_tPointer.read:()Lcom/oracle/svm/core/posix/headers/Dlfcn$GNUExtensions$Lmid_t;
            invokeinterface com.oracle.svm.core.posix.headers.Dlfcn$GNUExtensions$Lmid_t.rawValue:()J
            lstore 5 /* namespaceId */
        19: .line 132
            getstatic com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport.$assertionsDisabled:Z
            ifne 20
            lload 5 /* namespaceId */
            lconst_0
            lcmp
            ifne 20
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        20: .line 133
      StackMap locals:
      StackMap stack:
            aload 4 /* context */
            lload 5 /* namespaceId */
            putfield com.oracle.svm.truffle.nfi.posix.Target_com_oracle_truffle_nfi_impl_NFIContextLinux.isolatedNamespaceId:J
        21: .line 134
            aload 8 /* handle */
            aload 7
            monitorexit
        22: areturn
        end local 10 // int ret
        end local 9 // com.oracle.svm.core.posix.headers.Dlfcn$GNUExtensions$Lmid_tPointer namespacePtr
        end local 8 // org.graalvm.word.PointerBase handle
        23: .line 116
      StackMap locals:
      StackMap stack:
            aload 7
            monitorexit
        24: goto 27
      StackMap locals:
      StackMap stack: java.lang.Throwable
        25: aload 7
            monitorexit
        26: athrow
        27: .line 140
      StackMap locals:
      StackMap stack:
            getstatic com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport.$assertionsDisabled:Z
            ifne 28
            lload 5 /* namespaceId */
            lconst_0
            lcmp
            ifne 28
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        28: .line 141
      StackMap locals:
      StackMap stack:
            lload 5 /* namespaceId */
            invokestatic org.graalvm.word.WordFactory.signed:(J)Lorg/graalvm/word/SignedWord;
            checkcast com.oracle.svm.core.posix.headers.Dlfcn$GNUExtensions$Lmid_t
            aload 2 /* name */
            iload 3 /* mode */
            invokestatic com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport.dlmopen:(Lcom/oracle/svm/core/posix/headers/Dlfcn$GNUExtensions$Lmid_t;Ljava/lang/String;I)Lorg/graalvm/word/PointerBase;
            areturn
        end local 5 // long namespaceId
        end local 4 // com.oracle.svm.truffle.nfi.posix.Target_com_oracle_truffle_nfi_impl_NFIContextLinux context
        end local 3 // int mode
        end local 2 // java.lang.String name
        end local 0 // long nativeContext
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   29     0  nativeContext  J
            0   29     2           name  Ljava/lang/String;
            0   29     3           mode  I
            3   29     4        context  Lcom/oracle/svm/truffle/nfi/posix/Target_com_oracle_truffle_nfi_impl_NFIContextLinux;
            4   29     5    namespaceId  J
            9   23     8         handle  Lorg/graalvm/word/PointerBase;
           13   23     9   namespacePtr  Lcom/oracle/svm/core/posix/headers/Dlfcn$GNUExtensions$Lmid_tPointer;
           14   23    10            ret  I
           17   18    11          error  Ljava/lang/String;
      Exception table:
        from    to  target  type
           6    11      25  any
          12    22      25  any
          23    24      25  any
          25    26      25  any
    MethodParameters:
               Name  Flags
      nativeContext  
      name           
      mode           

  protected long loadLibraryImpl(long, java.lang.String, int);
    descriptor: (JLjava/lang/String;I)J
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=6, locals=7, args_size=4
        start local 0 // com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport this
        start local 1 // long nativeContext
        start local 3 // java.lang.String name
        start local 4 // int flags
         0: .line 147
            ldc Lorg/graalvm/nativeimage/Platform$LINUX;
            invokestatic org.graalvm.nativeimage.Platform.includedIn:(Ljava/lang/Class;)Z
            ifeq 3
            ldc Lcom/oracle/svm/core/posix/linux/libc/GLibC;
            invokestatic com.oracle.svm.core.c.libc.LibCBase.targetLibCIs:(Ljava/lang/Class;)Z
            ifeq 3
            iload 4 /* flags */
            getstatic com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport.isolatedNamespaceFlag:I
            iand
            ifeq 3
         1: .line 148
            lload 1 /* nativeContext */
            aload 3 /* name */
            iload 4 /* flags */
            getstatic com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport.isolatedNamespaceFlag:I
            iconst_m1
            ixor
            iand
            invokestatic com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport.loadLibraryInNamespace:(JLjava/lang/String;I)Lorg/graalvm/word/PointerBase;
            astore 5 /* handle */
        start local 5 // org.graalvm.word.PointerBase handle
         2: .line 149
            goto 4
        end local 5 // org.graalvm.word.PointerBase handle
         3: .line 150
      StackMap locals:
      StackMap stack:
            aload 3 /* name */
            iload 4 /* flags */
            invokestatic com.oracle.svm.core.posix.PosixUtils.dlopen:(Ljava/lang/String;I)Lorg/graalvm/word/PointerBase;
            astore 5 /* handle */
        start local 5 // org.graalvm.word.PointerBase handle
         4: .line 152
      StackMap locals: org.graalvm.word.PointerBase
      StackMap stack:
            aload 5 /* handle */
            invokestatic org.graalvm.word.WordFactory.zero:()Lorg/graalvm/word/WordBase;
            checkcast org.graalvm.word.ComparableWord
            invokeinterface org.graalvm.word.PointerBase.equal:(Lorg/graalvm/word/ComparableWord;)Z
            ifeq 8
         5: .line 153
            invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreter:()V
         6: .line 154
            invokestatic com.oracle.svm.core.posix.PosixUtils.dlerror:()Ljava/lang/String;
            astore 6 /* error */
        start local 6 // java.lang.String error
         7: .line 155
            new com.oracle.svm.truffle.nfi.Target_com_oracle_truffle_nfi_impl_NFIUnsatisfiedLinkError
            dup
            aload 6 /* error */
            invokespecial com.oracle.svm.truffle.nfi.Target_com_oracle_truffle_nfi_impl_NFIUnsatisfiedLinkError.<init>:(Ljava/lang/String;)V
            ldc Ljava/lang/RuntimeException;
            invokestatic com.oracle.svm.core.snippets.KnownIntrinsics.convertUnknownValue:(Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
            checkcast java.lang.RuntimeException
            athrow
        end local 6 // java.lang.String error
         8: .line 157
      StackMap locals:
      StackMap stack:
            aload 5 /* handle */
            invokeinterface org.graalvm.word.PointerBase.rawValue:()J
            lreturn
        end local 5 // org.graalvm.word.PointerBase handle
        end local 4 // int flags
        end local 3 // java.lang.String name
        end local 1 // long nativeContext
        end local 0 // com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    9     0           this  Lcom/oracle/svm/truffle/nfi/posix/PosixTruffleNFISupport;
            0    9     1  nativeContext  J
            0    9     3           name  Ljava/lang/String;
            0    9     4          flags  I
            2    3     5         handle  Lorg/graalvm/word/PointerBase;
            4    9     5         handle  Lorg/graalvm/word/PointerBase;
            7    8     6          error  Ljava/lang/String;
    MethodParameters:
               Name  Flags
      nativeContext  
      name           
      flags          

  protected void freeLibraryImpl(long);
    descriptor: (J)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport this
        start local 1 // long library
         0: .line 162
            lload 1 /* library */
            invokestatic org.graalvm.word.WordFactory.pointer:(J)Lorg/graalvm/word/PointerBase;
            invokestatic com.oracle.svm.core.posix.headers.Dlfcn.dlclose:(Lorg/graalvm/word/PointerBase;)I
            pop
         1: .line 163
            return
        end local 1 // long library
        end local 0 // com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lcom/oracle/svm/truffle/nfi/posix/PosixTruffleNFISupport;
            0    2     1  library  J
    MethodParameters:
         Name  Flags
      library  

  protected long lookupImpl(long, long, java.lang.String);
    descriptor: (JJLjava/lang/String;)J
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=9, args_size=4
        start local 0 // com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport this
        start local 1 // long nativeContext
        start local 3 // long library
        start local 5 // java.lang.String name
         0: .line 168
            invokestatic com.oracle.svm.core.posix.headers.Dlfcn.dlerror:()Lorg/graalvm/nativeimage/c/type/CCharPointer;
            pop
         1: .line 169
            invokestatic com.oracle.svm.core.jdk.PlatformNativeLibrarySupport.singleton:()Lcom/oracle/svm/core/jdk/PlatformNativeLibrarySupport;
            astore 6 /* nativeLibrarySupport */
        start local 6 // com.oracle.svm.core.jdk.PlatformNativeLibrarySupport nativeLibrarySupport
         2: .line 172
            lload 3 /* library */
            lconst_0
            lcmp
            ifne 5
         3: .line 173
            aload 6 /* nativeLibrarySupport */
            aload 5 /* name */
            invokevirtual com.oracle.svm.core.jdk.PlatformNativeLibrarySupport.findBuiltinSymbol:(Ljava/lang/String;)Lorg/graalvm/word/PointerBase;
            astore 7 /* ret */
        start local 7 // org.graalvm.word.PointerBase ret
         4: .line 174
            goto 6
        end local 7 // org.graalvm.word.PointerBase ret
         5: .line 175
      StackMap locals: com.oracle.svm.core.jdk.PlatformNativeLibrarySupport
      StackMap stack:
            lload 3 /* library */
            invokestatic org.graalvm.word.WordFactory.pointer:(J)Lorg/graalvm/word/PointerBase;
            aload 5 /* name */
            invokestatic com.oracle.svm.core.posix.PosixUtils.dlsym:(Lorg/graalvm/word/PointerBase;Ljava/lang/String;)Lorg/graalvm/word/PointerBase;
            astore 7 /* ret */
        start local 7 // org.graalvm.word.PointerBase ret
         6: .line 178
      StackMap locals: org.graalvm.word.PointerBase
      StackMap stack:
            aload 7 /* ret */
            invokestatic org.graalvm.word.WordFactory.zero:()Lorg/graalvm/word/WordBase;
            checkcast org.graalvm.word.ComparableWord
            invokeinterface org.graalvm.word.PointerBase.equal:(Lorg/graalvm/word/ComparableWord;)Z
            ifeq 11
         7: .line 179
            invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreter:()V
         8: .line 180
            invokestatic com.oracle.svm.core.posix.PosixUtils.dlerror:()Ljava/lang/String;
            astore 8 /* error */
        start local 8 // java.lang.String error
         9: .line 181
            aload 8 /* error */
            ifnull 11
        10: .line 182
            new com.oracle.svm.truffle.nfi.Target_com_oracle_truffle_nfi_impl_NFIUnsatisfiedLinkError
            dup
            aload 8 /* error */
            invokespecial com.oracle.svm.truffle.nfi.Target_com_oracle_truffle_nfi_impl_NFIUnsatisfiedLinkError.<init>:(Ljava/lang/String;)V
            ldc Ljava/lang/RuntimeException;
            invokestatic com.oracle.svm.core.snippets.KnownIntrinsics.convertUnknownValue:(Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
            checkcast java.lang.RuntimeException
            athrow
        end local 8 // java.lang.String error
        11: .line 185
      StackMap locals:
      StackMap stack:
            aload 7 /* ret */
            invokeinterface org.graalvm.word.PointerBase.rawValue:()J
            lreturn
        end local 7 // org.graalvm.word.PointerBase ret
        end local 6 // com.oracle.svm.core.jdk.PlatformNativeLibrarySupport nativeLibrarySupport
        end local 5 // java.lang.String name
        end local 3 // long library
        end local 1 // long nativeContext
        end local 0 // com.oracle.svm.truffle.nfi.posix.PosixTruffleNFISupport this
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0   12     0                  this  Lcom/oracle/svm/truffle/nfi/posix/PosixTruffleNFISupport;
            0   12     1         nativeContext  J
            0   12     3               library  J
            0   12     5                  name  Ljava/lang/String;
            2   12     6  nativeLibrarySupport  Lcom/oracle/svm/core/jdk/PlatformNativeLibrarySupport;
            4    5     7                   ret  Lorg/graalvm/word/PointerBase;
            6   12     7                   ret  Lorg/graalvm/word/PointerBase;
            9   11     8                 error  Ljava/lang/String;
    MethodParameters:
               Name  Flags
      nativeContext  
      library        
      name           
}
SourceFile: "PosixTruffleNFIFeature.java"
InnerClasses:
  public GNUExtensions = com.oracle.svm.core.posix.headers.Dlfcn$GNUExtensions of com.oracle.svm.core.posix.headers.Dlfcn
  public abstract Lmid_t = com.oracle.svm.core.posix.headers.Dlfcn$GNUExtensions$Lmid_t of com.oracle.svm.core.posix.headers.Dlfcn$GNUExtensions
  public abstract Lmid_tPointer = com.oracle.svm.core.posix.headers.Dlfcn$GNUExtensions$Lmid_tPointer of com.oracle.svm.core.posix.headers.Dlfcn$GNUExtensions
  public abstract DARWIN = org.graalvm.nativeimage.Platform$DARWIN of org.graalvm.nativeimage.Platform
  public abstract LINUX = org.graalvm.nativeimage.Platform$LINUX of org.graalvm.nativeimage.Platform
  public abstract CCharPointerHolder = org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerHolder of org.graalvm.nativeimage.c.type.CTypeConversion