public class io.vertx.core.file.impl.AsyncFileImpl implements io.vertx.core.file.AsyncFile
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: io.vertx.core.file.impl.AsyncFileImpl
  super_class: java.lang.Object
{
  private static final io.vertx.core.logging.Logger log;
    descriptor: Lio/vertx/core/logging/Logger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  public static final int DEFAULT_READ_BUFFER_SIZE;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 8192

  private final io.vertx.core.impl.VertxInternal vertx;
    descriptor: Lio/vertx/core/impl/VertxInternal;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.nio.channels.AsynchronousFileChannel ch;
    descriptor: Ljava/nio/channels/AsynchronousFileChannel;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final io.vertx.core.impl.ContextInternal context;
    descriptor: Lio/vertx/core/impl/ContextInternal;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private boolean closed;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private java.lang.Runnable closedDeferred;
    descriptor: Ljava/lang/Runnable;
    flags: (0x0002) ACC_PRIVATE

  private long writesOutstanding;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private io.vertx.core.Handler<java.lang.Throwable> exceptionHandler;
    descriptor: Lio/vertx/core/Handler;
    flags: (0x0002) ACC_PRIVATE
    Signature: Lio/vertx/core/Handler<Ljava/lang/Throwable;>;

  private io.vertx.core.Handler<java.lang.Void> drainHandler;
    descriptor: Lio/vertx/core/Handler;
    flags: (0x0002) ACC_PRIVATE
    Signature: Lio/vertx/core/Handler<Ljava/lang/Void;>;

  private long writePos;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private int maxWrites;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int lwm;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int readBufferSize;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private io.vertx.core.streams.impl.InboundBuffer<io.vertx.core.buffer.Buffer> queue;
    descriptor: Lio/vertx/core/streams/impl/InboundBuffer;
    flags: (0x0002) ACC_PRIVATE
    Signature: Lio/vertx/core/streams/impl/InboundBuffer<Lio/vertx/core/buffer/Buffer;>;

  private io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler;
    descriptor: Lio/vertx/core/Handler;
    flags: (0x0002) ACC_PRIVATE
    Signature: Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;

  private io.vertx.core.Handler<java.lang.Void> endHandler;
    descriptor: Lio/vertx/core/Handler;
    flags: (0x0002) ACC_PRIVATE
    Signature: Lio/vertx/core/Handler<Ljava/lang/Void;>;

  private long readPos;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 56
            ldc Lio/vertx/core/file/AsyncFile;
            invokestatic io.vertx.core.logging.LoggerFactory.getLogger:(Ljava/lang/Class;)Lio/vertx/core/logging/Logger;
            putstatic io.vertx.core.file.impl.AsyncFileImpl.log:Lio/vertx/core/logging/Logger;
         1: .line 58
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(io.vertx.core.impl.VertxInternal, java.lang.String, io.vertx.core.file.OpenOptions, io.vertx.core.impl.ContextInternal);
    descriptor: (Lio/vertx/core/impl/VertxInternal;Ljava/lang/String;Lio/vertx/core/file/OpenOptions;Lio/vertx/core/impl/ContextInternal;)V
    flags: (0x0000) 
    Code:
      stack=8, locals=8, args_size=5
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // io.vertx.core.impl.VertxInternal vertx
        start local 2 // java.lang.String path
        start local 3 // io.vertx.core.file.OpenOptions options
        start local 4 // io.vertx.core.impl.ContextInternal context
         0: .line 77
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 69
            aload 0 /* this */
            ldc 131072
            putfield io.vertx.core.file.impl.AsyncFileImpl.maxWrites:I
         2: .line 70
            aload 0 /* this */
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.maxWrites:I
            iconst_2
            idiv
            putfield io.vertx.core.file.impl.AsyncFileImpl.lwm:I
         3: .line 71
            aload 0 /* this */
            sipush 8192
            putfield io.vertx.core.file.impl.AsyncFileImpl.readBufferSize:I
         4: .line 78
            aload 3 /* options */
            invokevirtual io.vertx.core.file.OpenOptions.isRead:()Z
            ifne 6
            aload 3 /* options */
            invokevirtual io.vertx.core.file.OpenOptions.isWrite:()Z
            ifne 6
         5: .line 79
            new io.vertx.core.file.FileSystemException
            dup
            ldc "Cannot open file for neither reading nor writing"
            invokespecial io.vertx.core.file.FileSystemException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 81
      StackMap locals: io.vertx.core.file.impl.AsyncFileImpl io.vertx.core.impl.VertxInternal java.lang.String io.vertx.core.file.OpenOptions io.vertx.core.impl.ContextInternal
      StackMap stack:
            aload 0 /* this */
            aload 1 /* vertx */
            putfield io.vertx.core.file.impl.AsyncFileImpl.vertx:Lio/vertx/core/impl/VertxInternal;
         7: .line 82
            aload 2 /* path */
            iconst_0
            anewarray java.lang.String
            invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
            astore 5 /* file */
        start local 5 // java.nio.file.Path file
         8: .line 83
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            astore 6 /* opts */
        start local 6 // java.util.HashSet opts
         9: .line 84
            aload 3 /* options */
            invokevirtual io.vertx.core.file.OpenOptions.isRead:()Z
            ifeq 10
            aload 6 /* opts */
            getstatic java.nio.file.StandardOpenOption.READ:Ljava/nio/file/StandardOpenOption;
            invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
            pop
        10: .line 85
      StackMap locals: java.nio.file.Path java.util.HashSet
      StackMap stack:
            aload 3 /* options */
            invokevirtual io.vertx.core.file.OpenOptions.isWrite:()Z
            ifeq 11
            aload 6 /* opts */
            getstatic java.nio.file.StandardOpenOption.WRITE:Ljava/nio/file/StandardOpenOption;
            invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
            pop
        11: .line 86
      StackMap locals:
      StackMap stack:
            aload 3 /* options */
            invokevirtual io.vertx.core.file.OpenOptions.isCreate:()Z
            ifeq 12
            aload 6 /* opts */
            getstatic java.nio.file.StandardOpenOption.CREATE:Ljava/nio/file/StandardOpenOption;
            invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
            pop
        12: .line 87
      StackMap locals:
      StackMap stack:
            aload 3 /* options */
            invokevirtual io.vertx.core.file.OpenOptions.isCreateNew:()Z
            ifeq 13
            aload 6 /* opts */
            getstatic java.nio.file.StandardOpenOption.CREATE_NEW:Ljava/nio/file/StandardOpenOption;
            invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
            pop
        13: .line 88
      StackMap locals:
      StackMap stack:
            aload 3 /* options */
            invokevirtual io.vertx.core.file.OpenOptions.isSync:()Z
            ifeq 14
            aload 6 /* opts */
            getstatic java.nio.file.StandardOpenOption.SYNC:Ljava/nio/file/StandardOpenOption;
            invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
            pop
        14: .line 89
      StackMap locals:
      StackMap stack:
            aload 3 /* options */
            invokevirtual io.vertx.core.file.OpenOptions.isDsync:()Z
            ifeq 15
            aload 6 /* opts */
            getstatic java.nio.file.StandardOpenOption.DSYNC:Ljava/nio/file/StandardOpenOption;
            invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
            pop
        15: .line 90
      StackMap locals:
      StackMap stack:
            aload 3 /* options */
            invokevirtual io.vertx.core.file.OpenOptions.isDeleteOnClose:()Z
            ifeq 16
            aload 6 /* opts */
            getstatic java.nio.file.StandardOpenOption.DELETE_ON_CLOSE:Ljava/nio/file/StandardOpenOption;
            invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
            pop
        16: .line 91
      StackMap locals:
      StackMap stack:
            aload 3 /* options */
            invokevirtual io.vertx.core.file.OpenOptions.isSparse:()Z
            ifeq 17
            aload 6 /* opts */
            getstatic java.nio.file.StandardOpenOption.SPARSE:Ljava/nio/file/StandardOpenOption;
            invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
            pop
        17: .line 92
      StackMap locals:
      StackMap stack:
            aload 3 /* options */
            invokevirtual io.vertx.core.file.OpenOptions.isTruncateExisting:()Z
            ifeq 18
            aload 6 /* opts */
            getstatic java.nio.file.StandardOpenOption.TRUNCATE_EXISTING:Ljava/nio/file/StandardOpenOption;
            invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
            pop
        18: .line 94
      StackMap locals:
      StackMap stack:
            aload 3 /* options */
            invokevirtual io.vertx.core.file.OpenOptions.getPerms:()Ljava/lang/String;
            ifnull 22
        19: .line 95
            aload 3 /* options */
            invokevirtual io.vertx.core.file.OpenOptions.getPerms:()Ljava/lang/String;
            invokestatic java.nio.file.attribute.PosixFilePermissions.fromString:(Ljava/lang/String;)Ljava/util/Set;
            invokestatic java.nio.file.attribute.PosixFilePermissions.asFileAttribute:(Ljava/util/Set;)Ljava/nio/file/attribute/FileAttribute;
            astore 7 /* attrs */
        start local 7 // java.nio.file.attribute.FileAttribute attrs
        20: .line 96
            aload 0 /* this */
            aload 5 /* file */
            aload 6 /* opts */
            aload 1 /* vertx */
            invokeinterface io.vertx.core.impl.VertxInternal.getWorkerPool:()Ljava/util/concurrent/ExecutorService;
            iconst_1
            anewarray java.nio.file.attribute.FileAttribute
            dup
            iconst_0
            aload 7 /* attrs */
            aastore
            invokestatic java.nio.channels.AsynchronousFileChannel.open:(Ljava/nio/file/Path;Ljava/util/Set;Ljava/util/concurrent/ExecutorService;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/channels/AsynchronousFileChannel;
            putfield io.vertx.core.file.impl.AsyncFileImpl.ch:Ljava/nio/channels/AsynchronousFileChannel;
        end local 7 // java.nio.file.attribute.FileAttribute attrs
        21: .line 97
            goto 23
        22: .line 98
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 5 /* file */
            aload 6 /* opts */
            aload 1 /* vertx */
            invokeinterface io.vertx.core.impl.VertxInternal.getWorkerPool:()Ljava/util/concurrent/ExecutorService;
            iconst_0
            anewarray java.nio.file.attribute.FileAttribute
            invokestatic java.nio.channels.AsynchronousFileChannel.open:(Ljava/nio/file/Path;Ljava/util/Set;Ljava/util/concurrent/ExecutorService;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/channels/AsynchronousFileChannel;
            putfield io.vertx.core.file.impl.AsyncFileImpl.ch:Ljava/nio/channels/AsynchronousFileChannel;
        23: .line 100
      StackMap locals:
      StackMap stack:
            aload 3 /* options */
            invokevirtual io.vertx.core.file.OpenOptions.isAppend:()Z
            ifeq 27
            aload 0 /* this */
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.ch:Ljava/nio/channels/AsynchronousFileChannel;
            invokevirtual java.nio.channels.AsynchronousFileChannel.size:()J
            putfield io.vertx.core.file.impl.AsyncFileImpl.writePos:J
        24: .line 101
            goto 27
      StackMap locals:
      StackMap stack: java.io.IOException
        25: astore 7 /* e */
        start local 7 // java.io.IOException e
        26: .line 102
            new io.vertx.core.file.FileSystemException
            dup
            aload 7 /* e */
            invokespecial io.vertx.core.file.FileSystemException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 7 // java.io.IOException e
        27: .line 104
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 4 /* context */
            putfield io.vertx.core.file.impl.AsyncFileImpl.context:Lio/vertx/core/impl/ContextInternal;
        28: .line 105
            aload 0 /* this */
            new io.vertx.core.streams.impl.InboundBuffer
            dup
            aload 4 /* context */
            lconst_0
            invokespecial io.vertx.core.streams.impl.InboundBuffer.<init>:(Lio/vertx/core/Context;J)V
            putfield io.vertx.core.file.impl.AsyncFileImpl.queue:Lio/vertx/core/streams/impl/InboundBuffer;
        29: .line 106
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.queue:Lio/vertx/core/streams/impl/InboundBuffer;
            aload 0 /* this */
            invokedynamic handle(Lio/vertx/core/file/impl/AsyncFileImpl;)Lio/vertx/core/Handler;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  io/vertx/core/file/impl/AsyncFileImpl.lambda$0(Lio/vertx/core/buffer/Buffer;)V (7)
                  (Lio/vertx/core/buffer/Buffer;)V
            invokevirtual io.vertx.core.streams.impl.InboundBuffer.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/impl/InboundBuffer;
            pop
        30: .line 113
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.queue:Lio/vertx/core/streams/impl/InboundBuffer;
            aload 0 /* this */
            invokedynamic handle(Lio/vertx/core/file/impl/AsyncFileImpl;)Lio/vertx/core/Handler;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  io/vertx/core/file/impl/AsyncFileImpl.lambda$1(Ljava/lang/Void;)V (7)
                  (Ljava/lang/Void;)V
            invokevirtual io.vertx.core.streams.impl.InboundBuffer.drainHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/impl/InboundBuffer;
            pop
        31: .line 116
            return
        end local 6 // java.util.HashSet opts
        end local 5 // java.nio.file.Path file
        end local 4 // io.vertx.core.impl.ContextInternal context
        end local 3 // io.vertx.core.file.OpenOptions options
        end local 2 // java.lang.String path
        end local 1 // io.vertx.core.impl.VertxInternal vertx
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   32     0     this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0   32     1    vertx  Lio/vertx/core/impl/VertxInternal;
            0   32     2     path  Ljava/lang/String;
            0   32     3  options  Lio/vertx/core/file/OpenOptions;
            0   32     4  context  Lio/vertx/core/impl/ContextInternal;
            8   32     5     file  Ljava/nio/file/Path;
            9   32     6     opts  Ljava/util/HashSet<Ljava/nio/file/OpenOption;>;
           20   21     7    attrs  Ljava/nio/file/attribute/FileAttribute<*>;
           26   27     7        e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
          18    24      25  Class java.io.IOException
    MethodParameters:
         Name  Flags
      vertx    
      path     
      options  
      context  

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
         0: .line 120
            aload 0 /* this */
            aconst_null
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.closeInternal:(Lio/vertx/core/Handler;)V
         1: .line 121
            return
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/vertx/core/file/impl/AsyncFileImpl;

  public void close(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
    descriptor: (Lio/vertx/core/Handler;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // io.vertx.core.Handler handler
         0: .line 125
            aload 0 /* this */
            aload 1 /* handler */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.closeInternal:(Lio/vertx/core/Handler;)V
         1: .line 126
            return
        end local 1 // io.vertx.core.Handler handler
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    2     1  handler  Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
    Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
    MethodParameters:
         Name  Flags
      handler  

  public void end();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
         0: .line 130
            aload 0 /* this */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.close:()V
         1: .line 131
            return
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/vertx/core/file/impl/AsyncFileImpl;

  public void end(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
    descriptor: (Lio/vertx/core/Handler;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // io.vertx.core.Handler handler
         0: .line 135
            aload 0 /* this */
            aload 1 /* handler */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.close:(Lio/vertx/core/Handler;)V
         1: .line 136
            return
        end local 1 // io.vertx.core.Handler handler
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    2     1  handler  Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
    Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
    MethodParameters:
         Name  Flags
      handler  

  public synchronized io.vertx.core.file.AsyncFile read(io.vertx.core.buffer.Buffer, int, long, int, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.buffer.Buffer>>);
    descriptor: (Lio/vertx/core/buffer/Buffer;IJILio/vertx/core/Handler;)Lio/vertx/core/file/AsyncFile;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=7, locals=8, args_size=6
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // io.vertx.core.buffer.Buffer buffer
        start local 2 // int offset
        start local 3 // long position
        start local 5 // int length
        start local 6 // io.vertx.core.Handler handler
         0: .line 140
            aload 1 /* buffer */
            ldc "buffer"
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            pop
         1: .line 141
            aload 6 /* handler */
            ldc "handler"
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            pop
         2: .line 142
            iload 2 /* offset */
            iflt 3
            iconst_1
            goto 4
      StackMap locals:
      StackMap stack:
         3: iconst_0
      StackMap locals:
      StackMap stack: int
         4: ldc "offset must be >= 0"
            invokestatic io.vertx.core.impl.Arguments.require:(ZLjava/lang/String;)V
         5: .line 143
            lload 3 /* position */
            lconst_0
            lcmp
            iflt 6
            iconst_1
            goto 7
      StackMap locals:
      StackMap stack:
         6: iconst_0
      StackMap locals:
      StackMap stack: int
         7: ldc "position must be >= 0"
            invokestatic io.vertx.core.impl.Arguments.require:(ZLjava/lang/String;)V
         8: .line 144
            iload 5 /* length */
            iflt 9
            iconst_1
            goto 10
      StackMap locals:
      StackMap stack:
         9: iconst_0
      StackMap locals:
      StackMap stack: int
        10: ldc "length must be >= 0"
            invokestatic io.vertx.core.impl.Arguments.require:(ZLjava/lang/String;)V
        11: .line 145
            aload 0 /* this */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.check:()V
        12: .line 146
            iload 5 /* length */
            invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
            astore 7 /* bb */
        start local 7 // java.nio.ByteBuffer bb
        13: .line 147
            aload 0 /* this */
            aload 1 /* buffer */
            iload 2 /* offset */
            aload 7 /* bb */
            lload 3 /* position */
            aload 6 /* handler */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.doRead:(Lio/vertx/core/buffer/Buffer;ILjava/nio/ByteBuffer;JLio/vertx/core/Handler;)V
        14: .line 148
            aload 0 /* this */
            areturn
        end local 7 // java.nio.ByteBuffer bb
        end local 6 // io.vertx.core.Handler handler
        end local 5 // int length
        end local 3 // long position
        end local 2 // int offset
        end local 1 // io.vertx.core.buffer.Buffer buffer
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   15     0      this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0   15     1    buffer  Lio/vertx/core/buffer/Buffer;
            0   15     2    offset  I
            0   15     3  position  J
            0   15     5    length  I
            0   15     6   handler  Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/buffer/Buffer;>;>;
           13   15     7        bb  Ljava/nio/ByteBuffer;
    Signature: (Lio/vertx/core/buffer/Buffer;IJILio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/buffer/Buffer;>;>;)Lio/vertx/core/file/AsyncFile;
    MethodParameters:
          Name  Flags
      buffer    
      offset    
      position  
      length    
      handler   

  public io.vertx.core.file.AsyncFile fetch(long);
    descriptor: (J)Lio/vertx/core/file/AsyncFile;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // long amount
         0: .line 153
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.queue:Lio/vertx/core/streams/impl/InboundBuffer;
            lload 1 /* amount */
            invokevirtual io.vertx.core.streams.impl.InboundBuffer.fetch:(J)Z
            pop
         1: .line 154
            aload 0 /* this */
            areturn
        end local 1 // long amount
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    2     1  amount  J
    MethodParameters:
        Name  Flags
      amount  

  public io.vertx.core.file.AsyncFile write(io.vertx.core.buffer.Buffer, long, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
    descriptor: (Lio/vertx/core/buffer/Buffer;JLio/vertx/core/Handler;)Lio/vertx/core/file/AsyncFile;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=4
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // io.vertx.core.buffer.Buffer buffer
        start local 2 // long position
        start local 4 // io.vertx.core.Handler handler
         0: .line 159
            aload 4 /* handler */
            ldc "handler"
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            pop
         1: .line 160
            aload 0 /* this */
            aload 1 /* buffer */
            lload 2 /* position */
            aload 4 /* handler */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.doWrite:(Lio/vertx/core/buffer/Buffer;JLio/vertx/core/Handler;)Lio/vertx/core/file/AsyncFile;
            areturn
        end local 4 // io.vertx.core.Handler handler
        end local 2 // long position
        end local 1 // io.vertx.core.buffer.Buffer buffer
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    2     1    buffer  Lio/vertx/core/buffer/Buffer;
            0    2     2  position  J
            0    2     4   handler  Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
    Signature: (Lio/vertx/core/buffer/Buffer;JLio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)Lio/vertx/core/file/AsyncFile;
    MethodParameters:
          Name  Flags
      buffer    
      position  
      handler   

  private synchronized io.vertx.core.file.AsyncFile doWrite(io.vertx.core.buffer.Buffer, long, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
    descriptor: (Lio/vertx/core/buffer/Buffer;JLio/vertx/core/Handler;)Lio/vertx/core/file/AsyncFile;
    flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
    Code:
      stack=7, locals=8, args_size=4
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // io.vertx.core.buffer.Buffer buffer
        start local 2 // long position
        start local 4 // io.vertx.core.Handler handler
         0: .line 164
            aload 1 /* buffer */
            ldc "buffer"
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            pop
         1: .line 165
            lload 2 /* position */
            lconst_0
            lcmp
            iflt 2
            iconst_1
            goto 3
      StackMap locals:
      StackMap stack:
         2: iconst_0
      StackMap locals:
      StackMap stack: int
         3: ldc "position must be >= 0"
            invokestatic io.vertx.core.impl.Arguments.require:(ZLjava/lang/String;)V
         4: .line 166
            aload 0 /* this */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.check:()V
         5: .line 167
            aload 0 /* this */
            aload 4 /* handler */
            invokedynamic handle(Lio/vertx/core/file/impl/AsyncFileImpl;Lio/vertx/core/Handler;)Lio/vertx/core/Handler;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  io/vertx/core/file/impl/AsyncFileImpl.lambda$2(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (7)
                  (Lio/vertx/core/AsyncResult;)V
            astore 5 /* wrapped */
        start local 5 // io.vertx.core.Handler wrapped
         6: .line 190
            aload 1 /* buffer */
            invokeinterface io.vertx.core.buffer.Buffer.getByteBuf:()Lio/netty/buffer/ByteBuf;
            astore 6 /* buf */
        start local 6 // io.netty.buffer.ByteBuf buf
         7: .line 191
            aload 6 /* buf */
            invokevirtual io.netty.buffer.ByteBuf.nioBufferCount:()I
            iconst_1
            if_icmple 10
         8: .line 192
            aload 0 /* this */
            aload 6 /* buf */
            invokevirtual io.netty.buffer.ByteBuf.nioBuffers:()[Ljava/nio/ByteBuffer;
            lload 2 /* position */
            aload 5 /* wrapped */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.doWrite:([Ljava/nio/ByteBuffer;JLio/vertx/core/Handler;)V
         9: .line 193
            goto 12
        10: .line 194
      StackMap locals: io.vertx.core.Handler io.netty.buffer.ByteBuf
      StackMap stack:
            aload 6 /* buf */
            invokevirtual io.netty.buffer.ByteBuf.nioBuffer:()Ljava/nio/ByteBuffer;
            astore 7 /* bb */
        start local 7 // java.nio.ByteBuffer bb
        11: .line 195
            aload 0 /* this */
            aload 7 /* bb */
            lload 2 /* position */
            aload 7 /* bb */
            invokevirtual java.nio.ByteBuffer.limit:()I
            i2l
            aload 5 /* wrapped */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.doWrite:(Ljava/nio/ByteBuffer;JJLio/vertx/core/Handler;)V
        end local 7 // java.nio.ByteBuffer bb
        12: .line 197
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            areturn
        end local 6 // io.netty.buffer.ByteBuf buf
        end local 5 // io.vertx.core.Handler wrapped
        end local 4 // io.vertx.core.Handler handler
        end local 2 // long position
        end local 1 // io.vertx.core.buffer.Buffer buffer
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   13     0      this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0   13     1    buffer  Lio/vertx/core/buffer/Buffer;
            0   13     2  position  J
            0   13     4   handler  Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
            6   13     5   wrapped  Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
            7   13     6       buf  Lio/netty/buffer/ByteBuf;
           11   12     7        bb  Ljava/nio/ByteBuffer;
    Signature: (Lio/vertx/core/buffer/Buffer;JLio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)Lio/vertx/core/file/AsyncFile;
    MethodParameters:
          Name  Flags
      buffer    
      position  
      handler   

  public io.vertx.core.file.AsyncFile write(io.vertx.core.buffer.Buffer);
    descriptor: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/file/AsyncFile;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // io.vertx.core.buffer.Buffer buffer
         0: .line 202
            aload 0 /* this */
            aload 1 /* buffer */
            aconst_null
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.write:(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)Lio/vertx/core/file/AsyncFile;
            areturn
        end local 1 // io.vertx.core.buffer.Buffer buffer
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0    this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    1     1  buffer  Lio/vertx/core/buffer/Buffer;
    MethodParameters:
        Name  Flags
      buffer  

  public synchronized io.vertx.core.file.AsyncFile write(io.vertx.core.buffer.Buffer, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
    descriptor: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)Lio/vertx/core/file/AsyncFile;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=5, locals=4, args_size=3
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // io.vertx.core.buffer.Buffer buffer
        start local 2 // io.vertx.core.Handler handler
         0: .line 207
            aload 1 /* buffer */
            invokeinterface io.vertx.core.buffer.Buffer.length:()I
            istore 3 /* length */
        start local 3 // int length
         1: .line 208
            aload 0 /* this */
            aload 1 /* buffer */
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.writePos:J
            aload 2 /* handler */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.doWrite:(Lio/vertx/core/buffer/Buffer;JLio/vertx/core/Handler;)Lio/vertx/core/file/AsyncFile;
            pop
         2: .line 209
            aload 0 /* this */
            dup
            getfield io.vertx.core.file.impl.AsyncFileImpl.writePos:J
            iload 3 /* length */
            i2l
            ladd
            putfield io.vertx.core.file.impl.AsyncFileImpl.writePos:J
         3: .line 210
            aload 0 /* this */
            areturn
        end local 3 // int length
        end local 2 // io.vertx.core.Handler handler
        end local 1 // io.vertx.core.buffer.Buffer buffer
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    4     1   buffer  Lio/vertx/core/buffer/Buffer;
            0    4     2  handler  Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
            1    4     3   length  I
    Signature: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)Lio/vertx/core/file/AsyncFile;
    MethodParameters:
         Name  Flags
      buffer   
      handler  

  public synchronized io.vertx.core.file.AsyncFile setWriteQueueMaxSize(int);
    descriptor: (I)Lio/vertx/core/file/AsyncFile;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // int maxSize
         0: .line 215
            iload 1 /* maxSize */
            iconst_2
            if_icmplt 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: ldc "maxSize must be >= 2"
            invokestatic io.vertx.core.impl.Arguments.require:(ZLjava/lang/String;)V
         3: .line 216
            aload 0 /* this */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.check:()V
         4: .line 217
            aload 0 /* this */
            iload 1 /* maxSize */
            putfield io.vertx.core.file.impl.AsyncFileImpl.maxWrites:I
         5: .line 218
            aload 0 /* this */
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.maxWrites:I
            iconst_2
            idiv
            putfield io.vertx.core.file.impl.AsyncFileImpl.lwm:I
         6: .line 219
            aload 0 /* this */
            areturn
        end local 1 // int maxSize
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    7     0     this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    7     1  maxSize  I
    MethodParameters:
         Name  Flags
      maxSize  

  public synchronized io.vertx.core.file.AsyncFile setReadBufferSize(int);
    descriptor: (I)Lio/vertx/core/file/AsyncFile;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // int readBufferSize
         0: .line 224
            aload 0 /* this */
            iload 1 /* readBufferSize */
            putfield io.vertx.core.file.impl.AsyncFileImpl.readBufferSize:I
         1: .line 225
            aload 0 /* this */
            areturn
        end local 1 // int readBufferSize
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    2     0            this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    2     1  readBufferSize  I
    MethodParameters:
                Name  Flags
      readBufferSize  

  public synchronized boolean writeQueueFull();
    descriptor: ()Z
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
         0: .line 230
            aload 0 /* this */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.check:()V
         1: .line 231
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.writesOutstanding:J
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.maxWrites:I
            i2l
            lcmp
            iflt 2
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         2: iconst_0
            ireturn
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lio/vertx/core/file/impl/AsyncFileImpl;

  public synchronized io.vertx.core.file.AsyncFile drainHandler(io.vertx.core.Handler<java.lang.Void>);
    descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/file/AsyncFile;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // io.vertx.core.Handler handler
         0: .line 236
            aload 0 /* this */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.check:()V
         1: .line 237
            aload 0 /* this */
            aload 1 /* handler */
            putfield io.vertx.core.file.impl.AsyncFileImpl.drainHandler:Lio/vertx/core/Handler;
         2: .line 238
            aload 0 /* this */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.checkDrained:()V
         3: .line 239
            aload 0 /* this */
            areturn
        end local 1 // io.vertx.core.Handler handler
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    4     1  handler  Lio/vertx/core/Handler<Ljava/lang/Void;>;
    Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)Lio/vertx/core/file/AsyncFile;
    MethodParameters:
         Name  Flags
      handler  

  public synchronized io.vertx.core.file.AsyncFile exceptionHandler(io.vertx.core.Handler<java.lang.Throwable>);
    descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/file/AsyncFile;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // io.vertx.core.Handler handler
         0: .line 244
            aload 0 /* this */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.check:()V
         1: .line 245
            aload 0 /* this */
            aload 1 /* handler */
            putfield io.vertx.core.file.impl.AsyncFileImpl.exceptionHandler:Lio/vertx/core/Handler;
         2: .line 246
            aload 0 /* this */
            areturn
        end local 1 // io.vertx.core.Handler handler
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0     this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    3     1  handler  Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
    Signature: (Lio/vertx/core/Handler<Ljava/lang/Throwable;>;)Lio/vertx/core/file/AsyncFile;
    MethodParameters:
         Name  Flags
      handler  

  public synchronized io.vertx.core.file.AsyncFile handler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer>);
    descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/file/AsyncFile;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // io.vertx.core.Handler handler
         0: .line 251
            aload 0 /* this */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.check:()V
         1: .line 252
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.closed:Z
            ifeq 3
         2: .line 253
            aload 0 /* this */
            areturn
         3: .line 255
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* handler */
            putfield io.vertx.core.file.impl.AsyncFileImpl.handler:Lio/vertx/core/Handler;
         4: .line 256
            aload 1 /* handler */
            ifnull 7
         5: .line 257
            aload 0 /* this */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.doRead:()V
         6: .line 258
            goto 8
         7: .line 259
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.queue:Lio/vertx/core/streams/impl/InboundBuffer;
            invokevirtual io.vertx.core.streams.impl.InboundBuffer.clear:()Lio/vertx/core/streams/impl/InboundBuffer;
            pop
         8: .line 261
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            areturn
        end local 1 // io.vertx.core.Handler handler
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    9     0     this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    9     1  handler  Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;
    Signature: (Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;)Lio/vertx/core/file/AsyncFile;
    MethodParameters:
         Name  Flags
      handler  

  public synchronized io.vertx.core.file.AsyncFile endHandler(io.vertx.core.Handler<java.lang.Void>);
    descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/file/AsyncFile;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // io.vertx.core.Handler handler
         0: .line 266
            aload 0 /* this */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.check:()V
         1: .line 267
            aload 0 /* this */
            aload 1 /* handler */
            putfield io.vertx.core.file.impl.AsyncFileImpl.endHandler:Lio/vertx/core/Handler;
         2: .line 268
            aload 0 /* this */
            areturn
        end local 1 // io.vertx.core.Handler handler
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0     this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    3     1  handler  Lio/vertx/core/Handler<Ljava/lang/Void;>;
    Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)Lio/vertx/core/file/AsyncFile;
    MethodParameters:
         Name  Flags
      handler  

  public synchronized io.vertx.core.file.AsyncFile pause();
    descriptor: ()Lio/vertx/core/file/AsyncFile;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
         0: .line 273
            aload 0 /* this */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.check:()V
         1: .line 274
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.queue:Lio/vertx/core/streams/impl/InboundBuffer;
            invokevirtual io.vertx.core.streams.impl.InboundBuffer.pause:()Lio/vertx/core/streams/impl/InboundBuffer;
            pop
         2: .line 275
            aload 0 /* this */
            areturn
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lio/vertx/core/file/impl/AsyncFileImpl;

  public synchronized io.vertx.core.file.AsyncFile resume();
    descriptor: ()Lio/vertx/core/file/AsyncFile;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
         0: .line 280
            aload 0 /* this */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.check:()V
         1: .line 281
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.closed:Z
            ifne 3
         2: .line 282
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.queue:Lio/vertx/core/streams/impl/InboundBuffer;
            invokevirtual io.vertx.core.streams.impl.InboundBuffer.resume:()Z
            pop
         3: .line 284
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            areturn
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lio/vertx/core/file/impl/AsyncFileImpl;

  public io.vertx.core.file.AsyncFile flush();
    descriptor: ()Lio/vertx/core/file/AsyncFile;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
         0: .line 290
            aload 0 /* this */
            aconst_null
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.doFlush:(Lio/vertx/core/Handler;)V
         1: .line 291
            aload 0 /* this */
            areturn
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/vertx/core/file/impl/AsyncFileImpl;

  public io.vertx.core.file.AsyncFile flush(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
    descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/file/AsyncFile;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // io.vertx.core.Handler handler
         0: .line 296
            aload 0 /* this */
            aload 1 /* handler */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.doFlush:(Lio/vertx/core/Handler;)V
         1: .line 297
            aload 0 /* this */
            areturn
        end local 1 // io.vertx.core.Handler handler
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    2     1  handler  Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
    Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)Lio/vertx/core/file/AsyncFile;
    MethodParameters:
         Name  Flags
      handler  

  public synchronized io.vertx.core.file.AsyncFile setReadPos(long);
    descriptor: (J)Lio/vertx/core/file/AsyncFile;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // long readPos
         0: .line 302
            aload 0 /* this */
            lload 1 /* readPos */
            putfield io.vertx.core.file.impl.AsyncFileImpl.readPos:J
         1: .line 303
            aload 0 /* this */
            areturn
        end local 1 // long readPos
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    2     1  readPos  J
    MethodParameters:
         Name  Flags
      readPos  

  public synchronized io.vertx.core.file.AsyncFile setWritePos(long);
    descriptor: (J)Lio/vertx/core/file/AsyncFile;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // long writePos
         0: .line 308
            aload 0 /* this */
            lload 1 /* writePos */
            putfield io.vertx.core.file.impl.AsyncFileImpl.writePos:J
         1: .line 309
            aload 0 /* this */
            areturn
        end local 1 // long writePos
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    2     1  writePos  J
    MethodParameters:
          Name  Flags
      writePos  

  public synchronized long getWritePos();
    descriptor: ()J
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
         0: .line 314
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.writePos:J
            lreturn
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/vertx/core/file/impl/AsyncFileImpl;

  private synchronized void checkDrained();
    descriptor: ()V
    flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
         0: .line 318
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.drainHandler:Lio/vertx/core/Handler;
            ifnull 4
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.writesOutstanding:J
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.lwm:I
            i2l
            lcmp
            ifgt 4
         1: .line 319
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.drainHandler:Lio/vertx/core/Handler;
            astore 1 /* handler */
        start local 1 // io.vertx.core.Handler handler
         2: .line 320
            aload 0 /* this */
            aconst_null
            putfield io.vertx.core.file.impl.AsyncFileImpl.drainHandler:Lio/vertx/core/Handler;
         3: .line 321
            aload 1 /* handler */
            aconst_null
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
        end local 1 // io.vertx.core.Handler handler
         4: .line 323
      StackMap locals:
      StackMap stack:
            return
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0     this  Lio/vertx/core/file/impl/AsyncFileImpl;
            2    4     1  handler  Lio/vertx/core/Handler<Ljava/lang/Void;>;

  private void handleException(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // java.lang.Throwable t
         0: .line 326
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.exceptionHandler:Lio/vertx/core/Handler;
            ifnull 3
            aload 1 /* t */
            instanceof java.lang.Exception
            ifeq 3
         1: .line 327
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.exceptionHandler:Lio/vertx/core/Handler;
            aload 1 /* t */
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
         2: .line 328
            goto 4
         3: .line 329
      StackMap locals:
      StackMap stack:
            getstatic io.vertx.core.file.impl.AsyncFileImpl.log:Lio/vertx/core/logging/Logger;
            ldc "Unhandled exception"
            aload 1 /* t */
            invokevirtual io.vertx.core.logging.Logger.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
         4: .line 332
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.Throwable t
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    5     1     t  Ljava/lang/Throwable;
    MethodParameters:
      Name  Flags
      t     

  private synchronized void doWrite(java.nio.ByteBuffer[], long, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
    descriptor: ([Ljava/nio/ByteBuffer;JLio/vertx/core/Handler;)V
    flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
    Code:
      stack=10, locals=12, args_size=4
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // java.nio.ByteBuffer[] buffers
        start local 2 // long position
        start local 4 // io.vertx.core.Handler handler
         0: .line 335
            new java.util.concurrent.atomic.AtomicInteger
            dup
            invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
            astore 5 /* cnt */
        start local 5 // java.util.concurrent.atomic.AtomicInteger cnt
         1: .line 336
            new java.util.concurrent.atomic.AtomicBoolean
            dup
            invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
            astore 6 /* sentFailure */
        start local 6 // java.util.concurrent.atomic.AtomicBoolean sentFailure
         2: .line 337
            aload 1 /* buffers */
            dup
            astore 10
            arraylength
            istore 9
            iconst_0
            istore 8
            goto 8
      StackMap locals: io.vertx.core.file.impl.AsyncFileImpl java.nio.ByteBuffer[] long io.vertx.core.Handler java.util.concurrent.atomic.AtomicInteger java.util.concurrent.atomic.AtomicBoolean top int int java.nio.ByteBuffer[]
      StackMap stack:
         3: aload 10
            iload 8
            aaload
            astore 7 /* b */
        start local 7 // java.nio.ByteBuffer b
         4: .line 338
            aload 7 /* b */
            invokevirtual java.nio.ByteBuffer.limit:()I
            istore 11 /* limit */
        start local 11 // int limit
         5: .line 339
            aload 0 /* this */
            aload 7 /* b */
            lload 2 /* position */
            iload 11 /* limit */
            i2l
            aload 5 /* cnt */
            aload 1 /* buffers */
            aload 4 /* handler */
            aload 6 /* sentFailure */
            invokedynamic handle(Ljava/util/concurrent/atomic/AtomicInteger;[Ljava/nio/ByteBuffer;Lio/vertx/core/Handler;Ljava/util/concurrent/atomic/AtomicBoolean;)Lio/vertx/core/Handler;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  io/vertx/core/file/impl/AsyncFileImpl.lambda$4(Ljava/util/concurrent/atomic/AtomicInteger;[Ljava/nio/ByteBuffer;Lio/vertx/core/Handler;Ljava/util/concurrent/atomic/AtomicBoolean;Lio/vertx/core/AsyncResult;)V (6)
                  (Lio/vertx/core/AsyncResult;)V
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.doWrite:(Ljava/nio/ByteBuffer;JJLio/vertx/core/Handler;)V
         6: .line 350
            lload 2 /* position */
            iload 11 /* limit */
            i2l
            ladd
            lstore 2 /* position */
        end local 11 // int limit
        end local 7 // java.nio.ByteBuffer b
         7: .line 337
            iinc 8 1
      StackMap locals:
      StackMap stack:
         8: iload 8
            iload 9
            if_icmplt 3
         9: .line 352
            return
        end local 6 // java.util.concurrent.atomic.AtomicBoolean sentFailure
        end local 5 // java.util.concurrent.atomic.AtomicInteger cnt
        end local 4 // io.vertx.core.Handler handler
        end local 2 // long position
        end local 1 // java.nio.ByteBuffer[] buffers
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   10     0         this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0   10     1      buffers  [Ljava/nio/ByteBuffer;
            0   10     2     position  J
            0   10     4      handler  Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
            1   10     5          cnt  Ljava/util/concurrent/atomic/AtomicInteger;
            2   10     6  sentFailure  Ljava/util/concurrent/atomic/AtomicBoolean;
            4    7     7            b  Ljava/nio/ByteBuffer;
            5    7    11        limit  I
    Signature: ([Ljava/nio/ByteBuffer;JLio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
    MethodParameters:
          Name  Flags
      buffers   
      position  
      handler   

  private void doRead();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
         0: .line 355
            aload 0 /* this */
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.readBufferSize:I
            invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.doRead:(Ljava/nio/ByteBuffer;)V
         1: .line 356
            return
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/vertx/core/file/impl/AsyncFileImpl;

  private synchronized void doRead(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)V
    flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
    Code:
      stack=8, locals=3, args_size=2
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // java.nio.ByteBuffer bb
         0: .line 359
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.readBufferSize:I
            invokestatic io.vertx.core.buffer.Buffer.buffer:(I)Lio/vertx/core/buffer/Buffer;
            astore 2 /* buff */
        start local 2 // io.vertx.core.buffer.Buffer buff
         1: .line 360
            aload 0 /* this */
            aload 2 /* buff */
            iconst_0
            aload 1 /* bb */
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.readPos:J
            aload 0 /* this */
            aload 1 /* bb */
            invokedynamic handle(Lio/vertx/core/file/impl/AsyncFileImpl;Ljava/nio/ByteBuffer;)Lio/vertx/core/Handler;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  io/vertx/core/file/impl/AsyncFileImpl.lambda$5(Ljava/nio/ByteBuffer;Lio/vertx/core/AsyncResult;)V (7)
                  (Lio/vertx/core/AsyncResult;)V
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.doRead:(Lio/vertx/core/buffer/Buffer;ILjava/nio/ByteBuffer;JLio/vertx/core/Handler;)V
         2: .line 372
            return
        end local 2 // io.vertx.core.buffer.Buffer buff
        end local 1 // java.nio.ByteBuffer bb
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    3     1    bb  Ljava/nio/ByteBuffer;
            1    3     2  buff  Lio/vertx/core/buffer/Buffer;
    MethodParameters:
      Name  Flags
      bb    

  private synchronized void handleBuffer(io.vertx.core.buffer.Buffer);
    descriptor: (Lio/vertx/core/buffer/Buffer;)V
    flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // io.vertx.core.buffer.Buffer buff
         0: .line 375
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.handler:Lio/vertx/core/Handler;
            ifnull 3
         1: .line 376
            aload 0 /* this */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.checkContext:()V
         2: .line 377
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.handler:Lio/vertx/core/Handler;
            aload 1 /* buff */
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
         3: .line 379
      StackMap locals:
      StackMap stack:
            return
        end local 1 // io.vertx.core.buffer.Buffer buff
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    4     1  buff  Lio/vertx/core/buffer/Buffer;
    MethodParameters:
      Name  Flags
      buff  

  private synchronized void handleEnd();
    descriptor: ()V
    flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
         0: .line 382
            aload 0 /* this */
            aconst_null
            putfield io.vertx.core.file.impl.AsyncFileImpl.handler:Lio/vertx/core/Handler;
         1: .line 383
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.endHandler:Lio/vertx/core/Handler;
            ifnull 4
         2: .line 384
            aload 0 /* this */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.checkContext:()V
         3: .line 385
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.endHandler:Lio/vertx/core/Handler;
            aconst_null
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
         4: .line 387
      StackMap locals:
      StackMap stack:
            return
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lio/vertx/core/file/impl/AsyncFileImpl;

  private synchronized void doFlush(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
    descriptor: (Lio/vertx/core/Handler;)V
    flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // io.vertx.core.Handler handler
         0: .line 391
            aload 0 /* this */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.checkClosed:()V
         1: .line 392
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.context:Lio/vertx/core/impl/ContextInternal;
            aload 0 /* this */
            invokedynamic handle(Lio/vertx/core/file/impl/AsyncFileImpl;)Lio/vertx/core/Handler;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  io/vertx/core/file/impl/AsyncFileImpl.lambda$6(Lio/vertx/core/Promise;)V (7)
                  (Lio/vertx/core/Promise;)V
         2: .line 399
            aload 1 /* handler */
         3: .line 392
            invokeinterface io.vertx.core.impl.ContextInternal.executeBlockingInternal:(Lio/vertx/core/Handler;Lio/vertx/core/Handler;)V
         4: .line 400
            return
        end local 1 // io.vertx.core.Handler handler
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0     this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    5     1  handler  Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
    Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
    MethodParameters:
         Name  Flags
      handler  

  private void doWrite(java.nio.ByteBuffer, long, long, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
    descriptor: (Ljava/nio/ByteBuffer;JJLio/vertx/core/Handler;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=8, args_size=5
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // java.nio.ByteBuffer buff
        start local 2 // long position
        start local 4 // long toWrite
        start local 6 // io.vertx.core.Handler handler
         0: .line 403
            lload 4 /* toWrite */
            lconst_0
            lcmp
            ifle 9
         1: .line 404
            aload 0 /* this */
            dup
            astore 7
            monitorenter
         2: .line 405
            aload 0 /* this */
            dup
            getfield io.vertx.core.file.impl.AsyncFileImpl.writesOutstanding:J
            lload 4 /* toWrite */
            ladd
            putfield io.vertx.core.file.impl.AsyncFileImpl.writesOutstanding:J
         3: .line 404
            aload 7
            monitorexit
         4: goto 7
      StackMap locals: io.vertx.core.file.impl.AsyncFileImpl java.nio.ByteBuffer long long io.vertx.core.Handler io.vertx.core.file.impl.AsyncFileImpl
      StackMap stack: java.lang.Throwable
         5: aload 7
            monitorexit
         6: athrow
         7: .line 407
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* buff */
            lload 2 /* position */
            aload 6 /* handler */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.writeInternal:(Ljava/nio/ByteBuffer;JLio/vertx/core/Handler;)V
         8: .line 408
            goto 10
         9: .line 409
      StackMap locals:
      StackMap stack:
            aload 6 /* handler */
            invokestatic io.vertx.core.Future.succeededFuture:()Lio/vertx/core/Future;
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
        10: .line 411
      StackMap locals:
      StackMap stack:
            return
        end local 6 // io.vertx.core.Handler handler
        end local 4 // long toWrite
        end local 2 // long position
        end local 1 // java.nio.ByteBuffer buff
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   11     0      this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0   11     1      buff  Ljava/nio/ByteBuffer;
            0   11     2  position  J
            0   11     4   toWrite  J
            0   11     6   handler  Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
      Exception table:
        from    to  target  type
           2     4       5  any
           5     6       5  any
    Signature: (Ljava/nio/ByteBuffer;JJLio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
    MethodParameters:
          Name  Flags
      buff      
      position  
      toWrite   
      handler   

  private void writeInternal(java.nio.ByteBuffer, long, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
    descriptor: (Ljava/nio/ByteBuffer;JLio/vertx/core/Handler;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=12, locals=5, args_size=4
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // java.nio.ByteBuffer buff
        start local 2 // long position
        start local 4 // io.vertx.core.Handler handler
         0: .line 415
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.ch:Ljava/nio/channels/AsynchronousFileChannel;
            aload 1 /* buff */
            lload 2 /* position */
            aconst_null
            new io.vertx.core.file.impl.AsyncFileImpl$1
            dup
            aload 0 /* this */
            lload 2 /* position */
            aload 1 /* buff */
            aload 4 /* handler */
            invokespecial io.vertx.core.file.impl.AsyncFileImpl$1.<init>:(Lio/vertx/core/file/impl/AsyncFileImpl;JLjava/nio/ByteBuffer;Lio/vertx/core/Handler;)V
            invokevirtual java.nio.channels.AsynchronousFileChannel.write:(Ljava/nio/ByteBuffer;JLjava/lang/Object;Ljava/nio/channels/CompletionHandler;)V
         1: .line 445
            return
        end local 4 // io.vertx.core.Handler handler
        end local 2 // long position
        end local 1 // java.nio.ByteBuffer buff
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    2     1      buff  Ljava/nio/ByteBuffer;
            0    2     2  position  J
            0    2     4   handler  Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
    Signature: (Ljava/nio/ByteBuffer;JLio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
    MethodParameters:
          Name  Flags
      buff      
      position  
      handler   

  private void doRead(io.vertx.core.buffer.Buffer, int, java.nio.ByteBuffer, long, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.buffer.Buffer>>);
    descriptor: (Lio/vertx/core/buffer/Buffer;ILjava/nio/ByteBuffer;JLio/vertx/core/Handler;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=14, locals=7, args_size=6
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // io.vertx.core.buffer.Buffer writeBuff
        start local 2 // int offset
        start local 3 // java.nio.ByteBuffer buff
        start local 4 // long position
        start local 6 // io.vertx.core.Handler handler
         0: .line 449
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.ch:Ljava/nio/channels/AsynchronousFileChannel;
            aload 3 /* buff */
            lload 4 /* position */
            aconst_null
            new io.vertx.core.file.impl.AsyncFileImpl$2
            dup
            aload 0 /* this */
            lload 4 /* position */
            aload 3 /* buff */
            aload 1 /* writeBuff */
            iload 2 /* offset */
            aload 6 /* handler */
            invokespecial io.vertx.core.file.impl.AsyncFileImpl$2.<init>:(Lio/vertx/core/file/impl/AsyncFileImpl;JLjava/nio/ByteBuffer;Lio/vertx/core/buffer/Buffer;ILio/vertx/core/Handler;)V
            invokevirtual java.nio.channels.AsynchronousFileChannel.read:(Ljava/nio/ByteBuffer;JLjava/lang/Object;Ljava/nio/channels/CompletionHandler;)V
         1: .line 481
            return
        end local 6 // io.vertx.core.Handler handler
        end local 4 // long position
        end local 3 // java.nio.ByteBuffer buff
        end local 2 // int offset
        end local 1 // io.vertx.core.buffer.Buffer writeBuff
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    2     1  writeBuff  Lio/vertx/core/buffer/Buffer;
            0    2     2     offset  I
            0    2     3       buff  Ljava/nio/ByteBuffer;
            0    2     4   position  J
            0    2     6    handler  Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/buffer/Buffer;>;>;
    Signature: (Lio/vertx/core/buffer/Buffer;ILjava/nio/ByteBuffer;JLio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/buffer/Buffer;>;>;)V
    MethodParameters:
           Name  Flags
      writeBuff  
      offset     
      buff       
      position   
      handler    

  private void check();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
         0: .line 484
            aload 0 /* this */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.checkClosed:()V
         1: .line 485
            return
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/vertx/core/file/impl/AsyncFileImpl;

  private void checkClosed();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
         0: .line 488
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.closed:Z
            ifeq 2
         1: .line 489
            new java.lang.IllegalStateException
            dup
            ldc "File handle is closed"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 491
      StackMap locals:
      StackMap stack:
            return
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lio/vertx/core/file/impl/AsyncFileImpl;

  private void checkContext();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
         0: .line 494
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.vertx:Lio/vertx/core/impl/VertxInternal;
            invokeinterface io.vertx.core.impl.VertxInternal.getContext:()Lio/vertx/core/impl/ContextInternal;
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.context:Lio/vertx/core/impl/ContextInternal;
            invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
            ifne 4
         1: .line 495
            new java.lang.IllegalStateException
            dup
            new java.lang.StringBuilder
            dup
            ldc "AsyncFile must only be used in the context that created it, expected: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         2: .line 496
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.context:Lio/vertx/core/impl/ContextInternal;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc " actual "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.vertx:Lio/vertx/core/impl/VertxInternal;
            invokeinterface io.vertx.core.impl.VertxInternal.getContext:()Lio/vertx/core/impl/ContextInternal;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         3: .line 495
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 498
      StackMap locals:
      StackMap stack:
            return
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lio/vertx/core/file/impl/AsyncFileImpl;

  private void doClose(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
    descriptor: (Lio/vertx/core/Handler;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // io.vertx.core.Handler handler
         0: .line 501
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.vertx:Lio/vertx/core/impl/VertxInternal;
            invokeinterface io.vertx.core.impl.VertxInternal.getOrCreateContext:()Lio/vertx/core/impl/ContextInternal;
            astore 2 /* handlerContext */
        start local 2 // io.vertx.core.impl.ContextInternal handlerContext
         1: .line 502
            aload 2 /* handlerContext */
            aload 0 /* this */
            invokedynamic handle(Lio/vertx/core/file/impl/AsyncFileImpl;)Lio/vertx/core/Handler;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  io/vertx/core/file/impl/AsyncFileImpl.lambda$7(Lio/vertx/core/Promise;)V (7)
                  (Lio/vertx/core/Promise;)V
         2: .line 509
            aload 1 /* handler */
         3: .line 502
            invokeinterface io.vertx.core.impl.ContextInternal.executeBlockingInternal:(Lio/vertx/core/Handler;Lio/vertx/core/Handler;)V
         4: .line 510
            return
        end local 2 // io.vertx.core.impl.ContextInternal handlerContext
        end local 1 // io.vertx.core.Handler handler
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    5     0            this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    5     1         handler  Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
            1    5     2  handlerContext  Lio/vertx/core/impl/ContextInternal;
    Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
    MethodParameters:
         Name  Flags
      handler  

  private synchronized void closeInternal(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
    descriptor: (Lio/vertx/core/Handler;)V
    flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // io.vertx.core.Handler handler
         0: .line 513
            aload 0 /* this */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.check:()V
         1: .line 515
            aload 0 /* this */
            iconst_1
            putfield io.vertx.core.file.impl.AsyncFileImpl.closed:Z
         2: .line 517
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.writesOutstanding:J
            lconst_0
            lcmp
            ifne 5
         3: .line 518
            aload 0 /* this */
            aload 1 /* handler */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.doClose:(Lio/vertx/core/Handler;)V
         4: .line 519
            goto 6
         5: .line 520
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            aload 1 /* handler */
            invokedynamic run(Lio/vertx/core/file/impl/AsyncFileImpl;Lio/vertx/core/Handler;)Ljava/lang/Runnable;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()V
                  io/vertx/core/file/impl/AsyncFileImpl.lambda$8(Lio/vertx/core/Handler;)V (7)
                  ()V
            putfield io.vertx.core.file.impl.AsyncFileImpl.closedDeferred:Ljava/lang/Runnable;
         6: .line 522
      StackMap locals:
      StackMap stack:
            return
        end local 1 // io.vertx.core.Handler handler
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    7     0     this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    7     1  handler  Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
    Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
    MethodParameters:
         Name  Flags
      handler  

  public io.vertx.core.streams.ReadStream pause();
    descriptor: ()Lio/vertx/core/streams/ReadStream;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 1
            aload 0
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.pause:()Lio/vertx/core/file/AsyncFile;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public io.vertx.core.streams.ReadStream handler(io.vertx.core.Handler);
    descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            checkcast io.vertx.core.Handler
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/file/AsyncFile;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public io.vertx.core.streams.ReadStream endHandler(io.vertx.core.Handler);
    descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/file/AsyncFile;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public io.vertx.core.streams.WriteStream write(java.lang.Object, io.vertx.core.Handler);
    descriptor: (Ljava/lang/Object;Lio/vertx/core/Handler;)Lio/vertx/core/streams/WriteStream;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=3
         0: .line 1
            aload 0
            aload 1
            checkcast io.vertx.core.buffer.Buffer
            aload 2
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.write:(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)Lio/vertx/core/file/AsyncFile;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public io.vertx.core.streams.WriteStream write(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Lio/vertx/core/streams/WriteStream;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            checkcast io.vertx.core.buffer.Buffer
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.write:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/file/AsyncFile;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public io.vertx.core.streams.WriteStream setWriteQueueMaxSize(int);
    descriptor: (I)Lio/vertx/core/streams/WriteStream;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            iload 1
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.setWriteQueueMaxSize:(I)Lio/vertx/core/file/AsyncFile;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public io.vertx.core.streams.ReadStream resume();
    descriptor: ()Lio/vertx/core/streams/ReadStream;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 1
            aload 0
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.resume:()Lio/vertx/core/file/AsyncFile;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public io.vertx.core.streams.ReadStream fetch(long);
    descriptor: (J)Lio/vertx/core/streams/ReadStream;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=2
         0: .line 1
            aload 0
            lload 1
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.fetch:(J)Lio/vertx/core/file/AsyncFile;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public io.vertx.core.streams.StreamBase exceptionHandler(io.vertx.core.Handler);
    descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/StreamBase;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/file/AsyncFile;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public io.vertx.core.streams.ReadStream exceptionHandler(io.vertx.core.Handler);
    descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/file/AsyncFile;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public io.vertx.core.streams.WriteStream exceptionHandler(io.vertx.core.Handler);
    descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/WriteStream;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/file/AsyncFile;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public io.vertx.core.streams.WriteStream drainHandler(io.vertx.core.Handler);
    descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/WriteStream;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.drainHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/file/AsyncFile;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void lambda$0(io.vertx.core.buffer.Buffer);
    descriptor: (Lio/vertx/core/buffer/Buffer;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // io.vertx.core.buffer.Buffer buff
         0: .line 107
            aload 1 /* buff */
            invokeinterface io.vertx.core.buffer.Buffer.length:()I
            ifle 3
         1: .line 108
            aload 0 /* this */
            aload 1 /* buff */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.handleBuffer:(Lio/vertx/core/buffer/Buffer;)V
         2: .line 109
            goto 4
         3: .line 110
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.handleEnd:()V
         4: .line 112
      StackMap locals:
      StackMap stack:
            return
        end local 1 // io.vertx.core.buffer.Buffer buff
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    5     1  buff  Lio/vertx/core/buffer/Buffer;

  private void lambda$1(java.lang.Void);
    descriptor: (Ljava/lang/Void;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // java.lang.Void v
         0: .line 114
            aload 0 /* this */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.doRead:()V
         1: .line 115
            return
        end local 1 // java.lang.Void v
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    2     1     v  Ljava/lang/Void;

  private void lambda$2(io.vertx.core.Handler, io.vertx.core.AsyncResult);
    descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=4, locals=5, args_size=3
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 2 // io.vertx.core.AsyncResult ar
         0: .line 168
            aload 2 /* ar */
            invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
            ifeq 15
         1: .line 169
            aload 0 /* this */
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.checkContext:()V
         2: .line 171
            aload 0 /* this */
            dup
            astore 4
            monitorenter
         3: .line 172
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.writesOutstanding:J
            lconst_0
            lcmp
            ifne 6
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.closedDeferred:Ljava/lang/Runnable;
            ifnull 6
         4: .line 173
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.closedDeferred:Ljava/lang/Runnable;
            astore 3 /* action */
        start local 3 // java.lang.Runnable action
         5: .line 174
            goto 7
        end local 3 // java.lang.Runnable action
         6: .line 175
      StackMap locals: io.vertx.core.file.impl.AsyncFileImpl io.vertx.core.Handler io.vertx.core.AsyncResult top io.vertx.core.file.impl.AsyncFileImpl
      StackMap stack:
            aload 0 /* this */
            invokedynamic run(Lio/vertx/core/file/impl/AsyncFileImpl;)Ljava/lang/Runnable;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()V
                  io/vertx/core/file/impl/AsyncFileImpl.checkDrained()V (7)
                  ()V
            astore 3 /* action */
        start local 3 // java.lang.Runnable action
         7: .line 171
      StackMap locals: io.vertx.core.file.impl.AsyncFileImpl io.vertx.core.Handler io.vertx.core.AsyncResult java.lang.Runnable io.vertx.core.file.impl.AsyncFileImpl
      StackMap stack:
            aload 4
            monitorexit
         8: goto 11
        end local 3 // java.lang.Runnable action
      StackMap locals: io.vertx.core.file.impl.AsyncFileImpl io.vertx.core.Handler io.vertx.core.AsyncResult top io.vertx.core.file.impl.AsyncFileImpl
      StackMap stack: java.lang.Throwable
         9: aload 4
            monitorexit
        10: athrow
        start local 3 // java.lang.Runnable action
        11: .line 178
      StackMap locals: io.vertx.core.file.impl.AsyncFileImpl io.vertx.core.Handler io.vertx.core.AsyncResult java.lang.Runnable
      StackMap stack:
            aload 3 /* action */
            invokeinterface java.lang.Runnable.run:()V
        12: .line 179
            aload 1
            ifnull 19
        13: .line 180
            aload 1
            aload 2 /* ar */
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
        end local 3 // java.lang.Runnable action
        14: .line 182
            goto 19
        15: .line 183
      StackMap locals:
      StackMap stack:
            aload 1
            ifnull 18
        16: .line 184
            aload 1
            aload 2 /* ar */
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
        17: .line 185
            goto 19
        18: .line 186
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 2 /* ar */
            invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.handleException:(Ljava/lang/Throwable;)V
        19: .line 189
      StackMap locals:
      StackMap stack:
            return
        end local 2 // io.vertx.core.AsyncResult ar
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   20     0    this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0   20     2      ar  Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
            5    6     3  action  Ljava/lang/Runnable;
            7    9     3  action  Ljava/lang/Runnable;
           11   14     3  action  Ljava/lang/Runnable;
      Exception table:
        from    to  target  type
           3     8       9  any
           9    10       9  any

  private static void lambda$4(java.util.concurrent.atomic.AtomicInteger, java.nio.ByteBuffer[], io.vertx.core.Handler, java.util.concurrent.atomic.AtomicBoolean, io.vertx.core.AsyncResult);
    descriptor: (Ljava/util/concurrent/atomic/AtomicInteger;[Ljava/nio/ByteBuffer;Lio/vertx/core/Handler;Ljava/util/concurrent/atomic/AtomicBoolean;Lio/vertx/core/AsyncResult;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=5, args_size=5
        start local 4 // io.vertx.core.AsyncResult ar
         0: .line 340
            aload 4 /* ar */
            invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
            ifeq 4
         1: .line 341
            aload 0
            invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
            aload 1
            arraylength
            if_icmpne 6
         2: .line 342
            aload 2
            aload 4 /* ar */
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
         3: .line 344
            goto 6
         4: .line 345
      StackMap locals:
      StackMap stack:
            aload 3
            iconst_0
            iconst_1
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
            ifeq 6
         5: .line 346
            aload 2
            aload 4 /* ar */
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
         6: .line 349
      StackMap locals:
      StackMap stack:
            return
        end local 4 // io.vertx.core.AsyncResult ar
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     4    ar  Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;

  private void lambda$5(java.nio.ByteBuffer, io.vertx.core.AsyncResult);
    descriptor: (Ljava/nio/ByteBuffer;Lio/vertx/core/AsyncResult;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=5, locals=4, args_size=3
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 2 // io.vertx.core.AsyncResult ar
         0: .line 361
            aload 2 /* ar */
            invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
            ifeq 6
         1: .line 362
            aload 2 /* ar */
            invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
            checkcast io.vertx.core.buffer.Buffer
            astore 3 /* buffer */
        start local 3 // io.vertx.core.buffer.Buffer buffer
         2: .line 363
            aload 0 /* this */
            dup
            getfield io.vertx.core.file.impl.AsyncFileImpl.readPos:J
            aload 3 /* buffer */
            invokeinterface io.vertx.core.buffer.Buffer.length:()I
            i2l
            ladd
            putfield io.vertx.core.file.impl.AsyncFileImpl.readPos:J
         3: .line 365
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.queue:Lio/vertx/core/streams/impl/InboundBuffer;
            aload 3 /* buffer */
            invokevirtual io.vertx.core.streams.impl.InboundBuffer.write:(Ljava/lang/Object;)Z
            ifeq 7
            aload 3 /* buffer */
            invokeinterface io.vertx.core.buffer.Buffer.length:()I
            ifle 7
         4: .line 366
            aload 0 /* this */
            aload 1
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.doRead:(Ljava/nio/ByteBuffer;)V
        end local 3 // io.vertx.core.buffer.Buffer buffer
         5: .line 368
            goto 7
         6: .line 369
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 2 /* ar */
            invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.handleException:(Ljava/lang/Throwable;)V
         7: .line 371
      StackMap locals:
      StackMap stack:
            return
        end local 2 // io.vertx.core.AsyncResult ar
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    8     0    this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    8     2      ar  Lio/vertx/core/AsyncResult<Lio/vertx/core/buffer/Buffer;>;
            2    5     3  buffer  Lio/vertx/core/buffer/Buffer;

  private void lambda$6(io.vertx.core.Promise);
    descriptor: (Lio/vertx/core/Promise;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // io.vertx.core.Promise fut
         0: .line 394
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.ch:Ljava/nio/channels/AsynchronousFileChannel;
            iconst_0
            invokevirtual java.nio.channels.AsynchronousFileChannel.force:(Z)V
         1: .line 395
            aload 1 /* fut */
            invokeinterface io.vertx.core.Promise.complete:()V
         2: .line 396
            goto 5
      StackMap locals:
      StackMap stack: java.io.IOException
         3: astore 2 /* e */
        start local 2 // java.io.IOException e
         4: .line 397
            new io.vertx.core.file.FileSystemException
            dup
            aload 2 /* e */
            invokespecial io.vertx.core.file.FileSystemException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.io.IOException e
         5: .line 399
      StackMap locals:
      StackMap stack:
            return
        end local 1 // io.vertx.core.Promise fut
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    6     1   fut  Lio/vertx/core/Promise<Ljava/lang/Void;>;
            4    5     2     e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           0     2       3  Class java.io.IOException

  private void lambda$7(io.vertx.core.Promise);
    descriptor: (Lio/vertx/core/Promise;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
        start local 1 // io.vertx.core.Promise res
         0: .line 504
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl.ch:Ljava/nio/channels/AsynchronousFileChannel;
            invokevirtual java.nio.channels.AsynchronousFileChannel.close:()V
         1: .line 505
            aload 1 /* res */
            aconst_null
            invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
         2: .line 506
            goto 5
      StackMap locals:
      StackMap stack: java.io.IOException
         3: astore 2 /* e */
        start local 2 // java.io.IOException e
         4: .line 507
            aload 1 /* res */
            aload 2 /* e */
            invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
        end local 2 // java.io.IOException e
         5: .line 509
      StackMap locals:
      StackMap stack:
            return
        end local 1 // io.vertx.core.Promise res
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lio/vertx/core/file/impl/AsyncFileImpl;
            0    6     1   res  Lio/vertx/core/Promise<Ljava/lang/Void;>;
            4    5     2     e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           0     2       3  Class java.io.IOException

  private void lambda$8(io.vertx.core.Handler);
    descriptor: (Lio/vertx/core/Handler;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl this
         0: .line 520
            aload 0 /* this */
            aload 1
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.doClose:(Lio/vertx/core/Handler;)V
            return
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/vertx/core/file/impl/AsyncFileImpl;
}
SourceFile: "AsyncFileImpl.java"
NestMembers:
  io.vertx.core.file.impl.AsyncFileImpl$1  io.vertx.core.file.impl.AsyncFileImpl$2
InnerClasses:
  io.vertx.core.file.impl.AsyncFileImpl$1
  io.vertx.core.file.impl.AsyncFileImpl$2
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles