public final class io.netty.internal.tcnative.Library
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: io.netty.internal.tcnative.Library
  super_class: java.lang.Object
{
  private static final java.lang.String[] NAMES;
    descriptor: [Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.lang.String PROVIDED;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "provided"

  private static io.netty.internal.tcnative.Library _instance;
    descriptor: Lio/netty/internal/tcnative/Library;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=0, args_size=0
         0: .line 40
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
         1: .line 41
            ldc "netty_tcnative"
            aastore
            dup
            iconst_1
         2: .line 42
            ldc "libnetty_tcnative"
            aastore
         3: .line 40
            putstatic io.netty.internal.tcnative.Library.NAMES:[Ljava/lang/String;
         4: .line 50
            aconst_null
            putstatic io.netty.internal.tcnative.Library._instance:Lio/netty/internal/tcnative/Library;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=10, args_size=1
        start local 0 // io.netty.internal.tcnative.Library this
         0: .line 52
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 53
            iconst_0
            istore 1 /* loaded */
        start local 1 // boolean loaded
         2: .line 54
            ldc "java.library.path"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            astore 2 /* path */
        start local 2 // java.lang.String path
         3: .line 55
            aload 2 /* path */
            getstatic java.io.File.pathSeparator:Ljava/lang/String;
            invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
            astore 3 /* paths */
        start local 3 // java.lang.String[] paths
         4: .line 56
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 4 /* err */
        start local 4 // java.lang.StringBuilder err
         5: .line 57
            iconst_0
            istore 5 /* i */
        start local 5 // int i
         6: goto 29
         7: .line 59
      StackMap locals: io.netty.internal.tcnative.Library int java.lang.String java.lang.String[] java.lang.StringBuilder int
      StackMap stack:
            getstatic io.netty.internal.tcnative.Library.NAMES:[Ljava/lang/String;
            iload 5 /* i */
            aaload
            invokestatic io.netty.internal.tcnative.Library.loadLibrary:(Ljava/lang/String;)V
         8: .line 60
            iconst_1
            istore 1 /* loaded */
         9: .line 61
            goto 26
      StackMap locals:
      StackMap stack: java.lang.ThreadDeath
        10: astore 6 /* t */
        start local 6 // java.lang.ThreadDeath t
        11: .line 62
            aload 6 /* t */
            athrow
        end local 6 // java.lang.ThreadDeath t
        12: .line 63
      StackMap locals:
      StackMap stack: java.lang.VirtualMachineError
            astore 6 /* t */
        start local 6 // java.lang.VirtualMachineError t
        13: .line 64
            aload 6 /* t */
            athrow
        end local 6 // java.lang.VirtualMachineError t
        14: .line 65
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 6 /* t */
        start local 6 // java.lang.Throwable t
        15: .line 66
            getstatic io.netty.internal.tcnative.Library.NAMES:[Ljava/lang/String;
            iload 5 /* i */
            aaload
            invokestatic java.lang.System.mapLibraryName:(Ljava/lang/String;)Ljava/lang/String;
            astore 7 /* name */
        start local 7 // java.lang.String name
        16: .line 67
            iconst_0
            istore 8 /* j */
        start local 8 // int j
        17: goto 22
        18: .line 68
      StackMap locals: java.lang.Throwable java.lang.String int
      StackMap stack:
            new java.io.File
            dup
            aload 3 /* paths */
            iload 8 /* j */
            aaload
            aload 7 /* name */
            invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
            astore 9 /* fd */
        start local 9 // java.io.File fd
        19: .line 69
            aload 9 /* fd */
            invokevirtual java.io.File.exists:()Z
            ifeq 21
        20: .line 71
            new java.lang.RuntimeException
            dup
            aload 6 /* t */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 9 // java.io.File fd
        21: .line 67
      StackMap locals:
      StackMap stack:
            iinc 8 /* j */ 1
      StackMap locals:
      StackMap stack:
        22: iload 8 /* j */
            aload 3 /* paths */
            arraylength
            if_icmplt 18
        end local 8 // int j
        23: .line 74
            iload 5 /* i */
            ifle 25
        24: .line 75
            aload 4 /* err */
            ldc ", "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        25: .line 77
      StackMap locals:
      StackMap stack:
            aload 4 /* err */
            aload 6 /* t */
            invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        end local 7 // java.lang.String name
        end local 6 // java.lang.Throwable t
        26: .line 79
      StackMap locals:
      StackMap stack:
            iload 1 /* loaded */
            ifeq 28
        27: .line 80
            goto 30
        28: .line 57
      StackMap locals:
      StackMap stack:
            iinc 5 /* i */ 1
      StackMap locals:
      StackMap stack:
        29: iload 5 /* i */
            getstatic io.netty.internal.tcnative.Library.NAMES:[Ljava/lang/String;
            arraylength
            if_icmplt 7
        end local 5 // int i
        30: .line 83
      StackMap locals:
      StackMap stack:
            iload 1 /* loaded */
            ifne 32
        31: .line 84
            new java.lang.UnsatisfiedLinkError
            dup
            aload 4 /* err */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.UnsatisfiedLinkError.<init>:(Ljava/lang/String;)V
            athrow
        32: .line 86
      StackMap locals:
      StackMap stack:
            return
        end local 4 // java.lang.StringBuilder err
        end local 3 // java.lang.String[] paths
        end local 2 // java.lang.String path
        end local 1 // boolean loaded
        end local 0 // io.netty.internal.tcnative.Library this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   33     0    this  Lio/netty/internal/tcnative/Library;
            2   33     1  loaded  Z
            3   33     2    path  Ljava/lang/String;
            4   33     3   paths  [Ljava/lang/String;
            5   33     4     err  Ljava/lang/StringBuilder;
            6   30     5       i  I
           11   12     6       t  Ljava/lang/ThreadDeath;
           13   14     6       t  Ljava/lang/VirtualMachineError;
           15   26     6       t  Ljava/lang/Throwable;
           16   26     7    name  Ljava/lang/String;
           17   23     8       j  I
           19   21     9      fd  Ljava/io/File;
      Exception table:
        from    to  target  type
           7     9      10  Class java.lang.ThreadDeath
           7     9      12  Class java.lang.VirtualMachineError
           7     9      14  Class java.lang.Throwable
    Exceptions:
      throws java.lang.Exception

  private void <init>(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.netty.internal.tcnative.Library this
        start local 1 // java.lang.String libraryName
         0: .line 88
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 89
            ldc "provided"
            aload 1 /* libraryName */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 3
         2: .line 90
            aload 1 /* libraryName */
            invokestatic io.netty.internal.tcnative.Library.loadLibrary:(Ljava/lang/String;)V
         3: .line 92
      StackMap locals: io.netty.internal.tcnative.Library java.lang.String
      StackMap stack:
            return
        end local 1 // java.lang.String libraryName
        end local 0 // io.netty.internal.tcnative.Library this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    4     0         this  Lio/netty/internal/tcnative/Library;
            0    4     1  libraryName  Ljava/lang/String;
    MethodParameters:
             Name  Flags
      libraryName  

  private static void loadLibrary(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // java.lang.String libraryName
         0: .line 95
            new java.lang.StringBuilder
            dup
            invokestatic io.netty.internal.tcnative.Library.calculatePackagePrefix:()Ljava/lang/String;
            bipush 46
            bipush 95
            invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* libraryName */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic java.lang.System.loadLibrary:(Ljava/lang/String;)V
         1: .line 96
            return
        end local 0 // java.lang.String libraryName
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    2     0  libraryName  Ljava/lang/String;
    MethodParameters:
             Name  Flags
      libraryName  

  private static java.lang.String calculatePackagePrefix();
    descriptor: ()Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=7, locals=2, args_size=0
         0: .line 104
            ldc Lio/netty/internal/tcnative/Library;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            astore 0 /* maybeShaded */
        start local 0 // java.lang.String maybeShaded
         1: .line 106
            ldc "io!netty!internal!tcnative!Library"
            bipush 33
            bipush 46
            invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
            astore 1 /* expected */
        start local 1 // java.lang.String expected
         2: .line 107
            aload 0 /* maybeShaded */
            aload 1 /* expected */
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifne 7
         3: .line 108
            new java.lang.UnsatisfiedLinkError
            dup
         4: .line 109
            ldc "Could not find prefix added to %s to get %s. When shading, only adding a package prefix is supported"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         5: .line 110
            aload 1 /* expected */
            aastore
            dup
            iconst_1
            aload 0 /* maybeShaded */
            aastore
         6: .line 108
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.UnsatisfiedLinkError.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 112
      StackMap locals: java.lang.String java.lang.String
      StackMap stack:
            aload 0 /* maybeShaded */
            iconst_0
            aload 0 /* maybeShaded */
            invokevirtual java.lang.String.length:()I
            aload 1 /* expected */
            invokevirtual java.lang.String.length:()I
            isub
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            areturn
        end local 1 // java.lang.String expected
        end local 0 // java.lang.String maybeShaded
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            1    8     0  maybeShaded  Ljava/lang/String;
            2    8     1     expected  Ljava/lang/String;

  private static native boolean initialize0();
    descriptor: ()Z
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE

  private static native boolean aprHasThreads();
    descriptor: ()Z
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE

  private static native int aprMajorVersion();
    descriptor: ()I
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE

  private static native java.lang.String aprVersionString();
    descriptor: ()Ljava/lang/String;
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE

  public static boolean initialize();
    descriptor: ()Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 134
            ldc "provided"
            aconst_null
            invokestatic io.netty.internal.tcnative.Library.initialize:(Ljava/lang/String;Ljava/lang/String;)Z
            ireturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Exceptions:
      throws java.lang.Exception

  public static boolean initialize(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // java.lang.String libraryName
        start local 1 // java.lang.String engine
         0: .line 146
            getstatic io.netty.internal.tcnative.Library._instance:Lio/netty/internal/tcnative/Library;
            ifnonnull 10
         1: .line 147
            aload 0 /* libraryName */
            ifnonnull 2
            new io.netty.internal.tcnative.Library
            dup
            invokespecial io.netty.internal.tcnative.Library.<init>:()V
            goto 3
      StackMap locals:
      StackMap stack:
         2: new io.netty.internal.tcnative.Library
            dup
            aload 0 /* libraryName */
            invokespecial io.netty.internal.tcnative.Library.<init>:(Ljava/lang/String;)V
      StackMap locals:
      StackMap stack: io.netty.internal.tcnative.Library
         3: putstatic io.netty.internal.tcnative.Library._instance:Lio/netty/internal/tcnative/Library;
         4: .line 149
            invokestatic io.netty.internal.tcnative.Library.aprMajorVersion:()I
            iconst_1
            if_icmpge 8
         5: .line 150
            new java.lang.UnsatisfiedLinkError
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unsupported APR Version ("
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         6: .line 151
            invokestatic io.netty.internal.tcnative.Library.aprVersionString:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc ")"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         7: .line 150
            invokespecial java.lang.UnsatisfiedLinkError.<init>:(Ljava/lang/String;)V
            athrow
         8: .line 154
      StackMap locals:
      StackMap stack:
            invokestatic io.netty.internal.tcnative.Library.aprHasThreads:()Z
            ifne 10
         9: .line 155
            new java.lang.UnsatisfiedLinkError
            dup
            ldc "Missing APR_HAS_THREADS"
            invokespecial java.lang.UnsatisfiedLinkError.<init>:(Ljava/lang/String;)V
            athrow
        10: .line 158
      StackMap locals:
      StackMap stack:
            invokestatic io.netty.internal.tcnative.Library.initialize0:()Z
            ifeq 11
            aload 1 /* engine */
            invokestatic io.netty.internal.tcnative.SSL.initialize:(Ljava/lang/String;)I
            ifne 11
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
        11: iconst_0
            ireturn
        end local 1 // java.lang.String engine
        end local 0 // java.lang.String libraryName
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   12     0  libraryName  Ljava/lang/String;
            0   12     1       engine  Ljava/lang/String;
    Exceptions:
      throws java.lang.Exception
    MethodParameters:
             Name  Flags
      libraryName  
      engine       
}
SourceFile: "Library.java"