class sun.nio.ch.SinkChannelImpl extends java.nio.channels.Pipe$SinkChannel implements sun.nio.ch.SelChImpl
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: sun.nio.ch.SinkChannelImpl
  super_class: java.nio.channels.Pipe$SinkChannel
{
  private static final sun.nio.ch.NativeDispatcher nd;
    descriptor: Lsun/nio/ch/NativeDispatcher;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  java.io.FileDescriptor fd;
    descriptor: Ljava/io/FileDescriptor;
    flags: (0x0000) 

  int fdVal;
    descriptor: I
    flags: (0x0000) 

  private volatile long thread;
    descriptor: J
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private final java.lang.Object lock;
    descriptor: Ljava/lang/Object;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.Object stateLock;
    descriptor: Ljava/lang/Object;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

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

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

  private volatile int state;
    descriptor: I
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 34
            ldc Lsun/nio/ch/SinkChannelImpl;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic sun.nio.ch.SinkChannelImpl.$assertionsDisabled:Z
         3: .line 40
            new sun.nio.ch.FileDispatcherImpl
            dup
            invokespecial sun.nio.ch.FileDispatcherImpl.<init>:()V
            putstatic sun.nio.ch.SinkChannelImpl.nd:Lsun/nio/ch/NativeDispatcher;
         4: .line 64
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public java.io.FileDescriptor getFD();
    descriptor: ()Ljava/io/FileDescriptor;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.nio.ch.SinkChannelImpl this
         0: .line 71
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.fd:Ljava/io/FileDescriptor;
            areturn
        end local 0 // sun.nio.ch.SinkChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/nio/ch/SinkChannelImpl;

  public int getFDVal();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.nio.ch.SinkChannelImpl this
         0: .line 75
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.fdVal:I
            ireturn
        end local 0 // sun.nio.ch.SinkChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/nio/ch/SinkChannelImpl;

  void <init>(java.nio.channels.spi.SelectorProvider, java.io.FileDescriptor);
    descriptor: (Ljava/nio/channels/spi/SelectorProvider;Ljava/io/FileDescriptor;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // sun.nio.ch.SinkChannelImpl this
        start local 1 // java.nio.channels.spi.SelectorProvider sp
        start local 2 // java.io.FileDescriptor fd
         0: .line 79
            aload 0 /* this */
            aload 1 /* sp */
            invokespecial java.nio.channels.Pipe$SinkChannel.<init>:(Ljava/nio/channels/spi/SelectorProvider;)V
         1: .line 53
            aload 0 /* this */
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putfield sun.nio.ch.SinkChannelImpl.lock:Ljava/lang/Object;
         2: .line 57
            aload 0 /* this */
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putfield sun.nio.ch.SinkChannelImpl.stateLock:Ljava/lang/Object;
         3: .line 65
            aload 0 /* this */
            iconst_m1
            putfield sun.nio.ch.SinkChannelImpl.state:I
         4: .line 80
            aload 0 /* this */
            aload 2 /* fd */
            putfield sun.nio.ch.SinkChannelImpl.fd:Ljava/io/FileDescriptor;
         5: .line 81
            aload 0 /* this */
            aload 2 /* fd */
            invokestatic sun.nio.ch.IOUtil.fdVal:(Ljava/io/FileDescriptor;)I
            putfield sun.nio.ch.SinkChannelImpl.fdVal:I
         6: .line 82
            aload 0 /* this */
            iconst_0
            putfield sun.nio.ch.SinkChannelImpl.state:I
         7: .line 83
            return
        end local 2 // java.io.FileDescriptor fd
        end local 1 // java.nio.channels.spi.SelectorProvider sp
        end local 0 // sun.nio.ch.SinkChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lsun/nio/ch/SinkChannelImpl;
            0    8     1    sp  Ljava/nio/channels/spi/SelectorProvider;
            0    8     2    fd  Ljava/io/FileDescriptor;
    MethodParameters:
      Name  Flags
      sp    
      fd    

  protected void implCloseSelectableChannel();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=4, args_size=1
        start local 0 // sun.nio.ch.SinkChannelImpl this
         0: .line 86
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.stateLock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 87
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.state:I
            iconst_1
            if_icmpeq 3
         2: .line 88
            getstatic sun.nio.ch.SinkChannelImpl.nd:Lsun/nio/ch/NativeDispatcher;
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.fd:Ljava/io/FileDescriptor;
            invokevirtual sun.nio.ch.NativeDispatcher.preClose:(Ljava/io/FileDescriptor;)V
         3: .line 89
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.thread:J
            lstore 2 /* th */
        start local 2 // long th
         4: .line 90
            lload 2 /* th */
            lconst_0
            lcmp
            ifeq 6
         5: .line 91
            lload 2 /* th */
            invokestatic sun.nio.ch.NativeThread.signal:(J)V
         6: .line 92
      StackMap locals: long
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.isRegistered:()Z
            ifne 8
         7: .line 93
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.kill:()V
        end local 2 // long th
         8: .line 86
      StackMap locals:
      StackMap stack:
            aload 1
            monitorexit
         9: goto 12
      StackMap locals:
      StackMap stack: java.lang.Throwable
        10: aload 1
            monitorexit
        11: athrow
        12: .line 95
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.nio.ch.SinkChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   13     0  this  Lsun/nio/ch/SinkChannelImpl;
            4    8     2    th  J
      Exception table:
        from    to  target  type
           1     9      10  any
          10    11      10  any
    Exceptions:
      throws java.io.IOException

  public void kill();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // sun.nio.ch.SinkChannelImpl this
         0: .line 98
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.stateLock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 99
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.state:I
            iconst_1
            if_icmpne 4
         2: .line 100
            aload 1
            monitorexit
         3: return
         4: .line 101
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.state:I
            iconst_m1
            if_icmpne 8
         5: .line 102
            aload 0 /* this */
            iconst_1
            putfield sun.nio.ch.SinkChannelImpl.state:I
         6: .line 103
            aload 1
            monitorexit
         7: return
         8: .line 105
      StackMap locals:
      StackMap stack:
            getstatic sun.nio.ch.SinkChannelImpl.$assertionsDisabled:Z
            ifne 10
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.isOpen:()Z
            ifne 9
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.isRegistered:()Z
            ifeq 10
      StackMap locals:
      StackMap stack:
         9: new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        10: .line 106
      StackMap locals:
      StackMap stack:
            getstatic sun.nio.ch.SinkChannelImpl.nd:Lsun/nio/ch/NativeDispatcher;
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.fd:Ljava/io/FileDescriptor;
            invokevirtual sun.nio.ch.NativeDispatcher.close:(Ljava/io/FileDescriptor;)V
        11: .line 107
            aload 0 /* this */
            iconst_1
            putfield sun.nio.ch.SinkChannelImpl.state:I
        12: .line 98
            aload 1
            monitorexit
        13: goto 16
      StackMap locals:
      StackMap stack: java.lang.Throwable
        14: aload 1
            monitorexit
        15: athrow
        16: .line 109
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.nio.ch.SinkChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   17     0  this  Lsun/nio/ch/SinkChannelImpl;
      Exception table:
        from    to  target  type
           1     3      14  any
           4     7      14  any
           8    13      14  any
          14    15      14  any
    Exceptions:
      throws java.io.IOException

  protected void implConfigureBlocking(boolean);
    descriptor: (Z)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.nio.ch.SinkChannelImpl this
        start local 1 // boolean block
         0: .line 112
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.fd:Ljava/io/FileDescriptor;
            iload 1 /* block */
            invokestatic sun.nio.ch.IOUtil.configureBlocking:(Ljava/io/FileDescriptor;Z)V
         1: .line 113
            return
        end local 1 // boolean block
        end local 0 // sun.nio.ch.SinkChannelImpl this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Lsun/nio/ch/SinkChannelImpl;
            0    2     1  block  Z
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      block  

  public boolean translateReadyOps(int, int, sun.nio.ch.SelectionKeyImpl);
    descriptor: (IILsun/nio/ch/SelectionKeyImpl;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=7, args_size=4
        start local 0 // sun.nio.ch.SinkChannelImpl this
        start local 1 // int ops
        start local 2 // int initialOps
        start local 3 // sun.nio.ch.SelectionKeyImpl sk
         0: .line 117
            aload 3 /* sk */
            invokevirtual sun.nio.ch.SelectionKeyImpl.nioInterestOps:()I
            istore 4 /* intOps */
        start local 4 // int intOps
         1: .line 118
            aload 3 /* sk */
            invokevirtual sun.nio.ch.SelectionKeyImpl.nioReadyOps:()I
            istore 5 /* oldOps */
        start local 5 // int oldOps
         2: .line 119
            iload 2 /* initialOps */
            istore 6 /* newOps */
        start local 6 // int newOps
         3: .line 121
            iload 1 /* ops */
            getstatic sun.nio.ch.Net.POLLNVAL:S
            iand
            ifeq 5
         4: .line 122
            new java.lang.Error
            dup
            ldc "POLLNVAL detected"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 124
      StackMap locals: int int int
      StackMap stack:
            iload 1 /* ops */
            getstatic sun.nio.ch.Net.POLLERR:S
            getstatic sun.nio.ch.Net.POLLHUP:S
            ior
            iand
            ifeq 10
         6: .line 125
            iload 4 /* intOps */
            istore 6 /* newOps */
         7: .line 126
            aload 3 /* sk */
            iload 6 /* newOps */
            invokevirtual sun.nio.ch.SelectionKeyImpl.nioReadyOps:(I)V
         8: .line 127
            iload 6 /* newOps */
            iload 5 /* oldOps */
            iconst_m1
            ixor
            iand
            ifeq 9
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         9: iconst_0
            ireturn
        10: .line 130
      StackMap locals:
      StackMap stack:
            iload 1 /* ops */
            getstatic sun.nio.ch.Net.POLLOUT:S
            iand
            ifeq 13
        11: .line 131
            iload 4 /* intOps */
            iconst_4
            iand
            ifeq 13
        12: .line 132
            iload 6 /* newOps */
            iconst_4
            ior
            istore 6 /* newOps */
        13: .line 134
      StackMap locals:
      StackMap stack:
            aload 3 /* sk */
            iload 6 /* newOps */
            invokevirtual sun.nio.ch.SelectionKeyImpl.nioReadyOps:(I)V
        14: .line 135
            iload 6 /* newOps */
            iload 5 /* oldOps */
            iconst_m1
            ixor
            iand
            ifeq 15
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
        15: iconst_0
            ireturn
        end local 6 // int newOps
        end local 5 // int oldOps
        end local 4 // int intOps
        end local 3 // sun.nio.ch.SelectionKeyImpl sk
        end local 2 // int initialOps
        end local 1 // int ops
        end local 0 // sun.nio.ch.SinkChannelImpl this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   16     0        this  Lsun/nio/ch/SinkChannelImpl;
            0   16     1         ops  I
            0   16     2  initialOps  I
            0   16     3          sk  Lsun/nio/ch/SelectionKeyImpl;
            1   16     4      intOps  I
            2   16     5      oldOps  I
            3   16     6      newOps  I
    MethodParameters:
            Name  Flags
      ops         
      initialOps  
      sk          

  public boolean translateAndUpdateReadyOps(int, sun.nio.ch.SelectionKeyImpl);
    descriptor: (ILsun/nio/ch/SelectionKeyImpl;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // sun.nio.ch.SinkChannelImpl this
        start local 1 // int ops
        start local 2 // sun.nio.ch.SelectionKeyImpl sk
         0: .line 139
            aload 0 /* this */
            iload 1 /* ops */
            aload 2 /* sk */
            invokevirtual sun.nio.ch.SelectionKeyImpl.nioReadyOps:()I
            aload 2 /* sk */
            invokevirtual sun.nio.ch.SinkChannelImpl.translateReadyOps:(IILsun/nio/ch/SelectionKeyImpl;)Z
            ireturn
        end local 2 // sun.nio.ch.SelectionKeyImpl sk
        end local 1 // int ops
        end local 0 // sun.nio.ch.SinkChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/nio/ch/SinkChannelImpl;
            0    1     1   ops  I
            0    1     2    sk  Lsun/nio/ch/SelectionKeyImpl;
    MethodParameters:
      Name  Flags
      ops   
      sk    

  public boolean translateAndSetReadyOps(int, sun.nio.ch.SelectionKeyImpl);
    descriptor: (ILsun/nio/ch/SelectionKeyImpl;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // sun.nio.ch.SinkChannelImpl this
        start local 1 // int ops
        start local 2 // sun.nio.ch.SelectionKeyImpl sk
         0: .line 143
            aload 0 /* this */
            iload 1 /* ops */
            iconst_0
            aload 2 /* sk */
            invokevirtual sun.nio.ch.SinkChannelImpl.translateReadyOps:(IILsun/nio/ch/SelectionKeyImpl;)Z
            ireturn
        end local 2 // sun.nio.ch.SelectionKeyImpl sk
        end local 1 // int ops
        end local 0 // sun.nio.ch.SinkChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/nio/ch/SinkChannelImpl;
            0    1     1   ops  I
            0    1     2    sk  Lsun/nio/ch/SelectionKeyImpl;
    MethodParameters:
      Name  Flags
      ops   
      sk    

  public void translateAndSetInterestOps(int, sun.nio.ch.SelectionKeyImpl);
    descriptor: (ILsun/nio/ch/SelectionKeyImpl;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // sun.nio.ch.SinkChannelImpl this
        start local 1 // int ops
        start local 2 // sun.nio.ch.SelectionKeyImpl sk
         0: .line 147
            iload 1 /* ops */
            iconst_4
            if_icmpne 2
         1: .line 148
            getstatic sun.nio.ch.Net.POLLOUT:S
            istore 1 /* ops */
         2: .line 149
      StackMap locals:
      StackMap stack:
            aload 2 /* sk */
            getfield sun.nio.ch.SelectionKeyImpl.selector:Lsun/nio/ch/SelectorImpl;
            aload 2 /* sk */
            iload 1 /* ops */
            invokevirtual sun.nio.ch.SelectorImpl.putEventOps:(Lsun/nio/ch/SelectionKeyImpl;I)V
         3: .line 150
            return
        end local 2 // sun.nio.ch.SelectionKeyImpl sk
        end local 1 // int ops
        end local 0 // sun.nio.ch.SinkChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lsun/nio/ch/SinkChannelImpl;
            0    4     1   ops  I
            0    4     2    sk  Lsun/nio/ch/SelectionKeyImpl;
    MethodParameters:
      Name  Flags
      ops   
      sk    

  private void ensureOpen();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.nio.ch.SinkChannelImpl this
         0: .line 153
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.isOpen:()Z
            ifne 2
         1: .line 154
            new java.nio.channels.ClosedChannelException
            dup
            invokespecial java.nio.channels.ClosedChannelException.<init>:()V
            athrow
         2: .line 155
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.nio.ch.SinkChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/nio/ch/SinkChannelImpl;
    Exceptions:
      throws java.io.IOException

  public int write(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=6, args_size=2
        start local 0 // sun.nio.ch.SinkChannelImpl this
        start local 1 // java.nio.ByteBuffer src
         0: .line 158
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.ensureOpen:()V
         1: .line 159
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.lock:Ljava/lang/Object;
            dup
            astore 2
            monitorenter
         2: .line 160
            iconst_0
            istore 3 /* n */
        start local 3 // int n
         3: .line 162
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.begin:()V
         4: .line 163
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.isOpen:()Z
            ifne 12
         5: .line 171
            aload 0 /* this */
            lconst_0
            putfield sun.nio.ch.SinkChannelImpl.thread:J
         6: .line 172
            aload 0 /* this */
            iload 3 /* n */
            ifgt 7
            iload 3 /* n */
            bipush -2
            if_icmpeq 7
            iconst_0
            goto 8
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer java.lang.Object int
      StackMap stack: sun.nio.ch.SinkChannelImpl
         7: iconst_1
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer java.lang.Object int
      StackMap stack: sun.nio.ch.SinkChannelImpl int
         8: invokevirtual sun.nio.ch.SinkChannelImpl.end:(Z)V
         9: .line 173
            getstatic sun.nio.ch.SinkChannelImpl.$assertionsDisabled:Z
            ifne 10
            iload 3 /* n */
            invokestatic sun.nio.ch.IOStatus.check:(I)Z
            ifne 10
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
      StackMap locals:
      StackMap stack:
        10: aload 2
            monitorexit
        11: .line 164
            iconst_0
            ireturn
        12: .line 165
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokestatic sun.nio.ch.NativeThread.current:()J
            putfield sun.nio.ch.SinkChannelImpl.thread:J
        13: .line 167
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.fd:Ljava/io/FileDescriptor;
            aload 1 /* src */
            ldc -1
            getstatic sun.nio.ch.SinkChannelImpl.nd:Lsun/nio/ch/NativeDispatcher;
            invokestatic sun.nio.ch.IOUtil.write:(Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JLsun/nio/ch/NativeDispatcher;)I
            istore 3 /* n */
        14: .line 168
            iload 3 /* n */
            bipush -3
            if_icmpne 15
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.isOpen:()Z
            ifne 13
        15: .line 169
      StackMap locals:
      StackMap stack:
            iload 3 /* n */
            invokestatic sun.nio.ch.IOStatus.normalize:(I)I
            istore 5
        16: .line 171
            aload 0 /* this */
            lconst_0
            putfield sun.nio.ch.SinkChannelImpl.thread:J
        17: .line 172
            aload 0 /* this */
            iload 3 /* n */
            ifgt 18
            iload 3 /* n */
            bipush -2
            if_icmpeq 18
            iconst_0
            goto 19
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer java.lang.Object int top int
      StackMap stack: sun.nio.ch.SinkChannelImpl
        18: iconst_1
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer java.lang.Object int top int
      StackMap stack: sun.nio.ch.SinkChannelImpl int
        19: invokevirtual sun.nio.ch.SinkChannelImpl.end:(Z)V
        20: .line 173
            getstatic sun.nio.ch.SinkChannelImpl.$assertionsDisabled:Z
            ifne 21
            iload 3 /* n */
            invokestatic sun.nio.ch.IOStatus.check:(I)Z
            ifne 21
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        21: .line 169
      StackMap locals:
      StackMap stack:
            aload 2
            monitorexit
        22: iload 5
            ireturn
        23: .line 170
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer java.lang.Object int
      StackMap stack: java.lang.Throwable
            astore 4
        24: .line 171
            aload 0 /* this */
            lconst_0
            putfield sun.nio.ch.SinkChannelImpl.thread:J
        25: .line 172
            aload 0 /* this */
            iload 3 /* n */
            ifgt 26
            iload 3 /* n */
            bipush -2
            if_icmpeq 26
            iconst_0
            goto 27
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer java.lang.Object int java.lang.Throwable
      StackMap stack: sun.nio.ch.SinkChannelImpl
        26: iconst_1
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer java.lang.Object int java.lang.Throwable
      StackMap stack: sun.nio.ch.SinkChannelImpl int
        27: invokevirtual sun.nio.ch.SinkChannelImpl.end:(Z)V
        28: .line 173
            getstatic sun.nio.ch.SinkChannelImpl.$assertionsDisabled:Z
            ifne 29
            iload 3 /* n */
            invokestatic sun.nio.ch.IOStatus.check:(I)Z
            ifne 29
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        29: .line 174
      StackMap locals:
      StackMap stack:
            aload 4
            athrow
        end local 3 // int n
        30: .line 159
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer java.lang.Object
      StackMap stack: java.lang.Throwable
            aload 2
            monitorexit
        31: athrow
        end local 1 // java.nio.ByteBuffer src
        end local 0 // sun.nio.ch.SinkChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   32     0  this  Lsun/nio/ch/SinkChannelImpl;
            0   32     1   src  Ljava/nio/ByteBuffer;
            3   30     3     n  I
      Exception table:
        from    to  target  type
           3     5      23  any
          12    16      23  any
           2    11      30  any
          12    22      30  any
          23    31      30  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      src   

  public long write(java.nio.ByteBuffer[]);
    descriptor: ([Ljava/nio/ByteBuffer;)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=8, args_size=2
        start local 0 // sun.nio.ch.SinkChannelImpl this
        start local 1 // java.nio.ByteBuffer[] srcs
         0: .line 179
            aload 1 /* srcs */
            ifnonnull 2
         1: .line 180
            new java.lang.NullPointerException
            dup
            invokespecial java.lang.NullPointerException.<init>:()V
            athrow
         2: .line 181
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.ensureOpen:()V
         3: .line 182
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.lock:Ljava/lang/Object;
            dup
            astore 2
            monitorenter
         4: .line 183
            lconst_0
            lstore 3 /* n */
        start local 3 // long n
         5: .line 185
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.begin:()V
         6: .line 186
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.isOpen:()Z
            ifne 14
         7: .line 194
            aload 0 /* this */
            lconst_0
            putfield sun.nio.ch.SinkChannelImpl.thread:J
         8: .line 195
            aload 0 /* this */
            lload 3 /* n */
            lconst_0
            lcmp
            ifgt 9
            lload 3 /* n */
            ldc -2
            lcmp
            ifeq 9
            iconst_0
            goto 10
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer[] java.lang.Object long
      StackMap stack: sun.nio.ch.SinkChannelImpl
         9: iconst_1
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer[] java.lang.Object long
      StackMap stack: sun.nio.ch.SinkChannelImpl int
        10: invokevirtual sun.nio.ch.SinkChannelImpl.end:(Z)V
        11: .line 196
            getstatic sun.nio.ch.SinkChannelImpl.$assertionsDisabled:Z
            ifne 12
            lload 3 /* n */
            invokestatic sun.nio.ch.IOStatus.check:(J)Z
            ifne 12
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
      StackMap locals:
      StackMap stack:
        12: aload 2
            monitorexit
        13: .line 187
            lconst_0
            lreturn
        14: .line 188
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokestatic sun.nio.ch.NativeThread.current:()J
            putfield sun.nio.ch.SinkChannelImpl.thread:J
        15: .line 190
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.fd:Ljava/io/FileDescriptor;
            aload 1 /* srcs */
            getstatic sun.nio.ch.SinkChannelImpl.nd:Lsun/nio/ch/NativeDispatcher;
            invokestatic sun.nio.ch.IOUtil.write:(Ljava/io/FileDescriptor;[Ljava/nio/ByteBuffer;Lsun/nio/ch/NativeDispatcher;)J
            lstore 3 /* n */
        16: .line 191
            lload 3 /* n */
            ldc -3
            lcmp
            ifne 17
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.isOpen:()Z
            ifne 15
        17: .line 192
      StackMap locals:
      StackMap stack:
            lload 3 /* n */
            invokestatic sun.nio.ch.IOStatus.normalize:(J)J
            lstore 6
        18: .line 194
            aload 0 /* this */
            lconst_0
            putfield sun.nio.ch.SinkChannelImpl.thread:J
        19: .line 195
            aload 0 /* this */
            lload 3 /* n */
            lconst_0
            lcmp
            ifgt 20
            lload 3 /* n */
            ldc -2
            lcmp
            ifeq 20
            iconst_0
            goto 21
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer[] java.lang.Object long top long
      StackMap stack: sun.nio.ch.SinkChannelImpl
        20: iconst_1
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer[] java.lang.Object long top long
      StackMap stack: sun.nio.ch.SinkChannelImpl int
        21: invokevirtual sun.nio.ch.SinkChannelImpl.end:(Z)V
        22: .line 196
            getstatic sun.nio.ch.SinkChannelImpl.$assertionsDisabled:Z
            ifne 23
            lload 3 /* n */
            invokestatic sun.nio.ch.IOStatus.check:(J)Z
            ifne 23
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        23: .line 192
      StackMap locals:
      StackMap stack:
            aload 2
            monitorexit
        24: lload 6
            lreturn
        25: .line 193
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer[] java.lang.Object long
      StackMap stack: java.lang.Throwable
            astore 5
        26: .line 194
            aload 0 /* this */
            lconst_0
            putfield sun.nio.ch.SinkChannelImpl.thread:J
        27: .line 195
            aload 0 /* this */
            lload 3 /* n */
            lconst_0
            lcmp
            ifgt 28
            lload 3 /* n */
            ldc -2
            lcmp
            ifeq 28
            iconst_0
            goto 29
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer[] java.lang.Object long java.lang.Throwable
      StackMap stack: sun.nio.ch.SinkChannelImpl
        28: iconst_1
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer[] java.lang.Object long java.lang.Throwable
      StackMap stack: sun.nio.ch.SinkChannelImpl int
        29: invokevirtual sun.nio.ch.SinkChannelImpl.end:(Z)V
        30: .line 196
            getstatic sun.nio.ch.SinkChannelImpl.$assertionsDisabled:Z
            ifne 31
            lload 3 /* n */
            invokestatic sun.nio.ch.IOStatus.check:(J)Z
            ifne 31
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        31: .line 197
      StackMap locals:
      StackMap stack:
            aload 5
            athrow
        end local 3 // long n
        32: .line 182
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer[] java.lang.Object
      StackMap stack: java.lang.Throwable
            aload 2
            monitorexit
        33: athrow
        end local 1 // java.nio.ByteBuffer[] srcs
        end local 0 // sun.nio.ch.SinkChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   34     0  this  Lsun/nio/ch/SinkChannelImpl;
            0   34     1  srcs  [Ljava/nio/ByteBuffer;
            5   32     3     n  J
      Exception table:
        from    to  target  type
           5     7      25  any
          14    18      25  any
           4    13      32  any
          14    24      32  any
          25    33      32  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      srcs  

  public long write(java.nio.ByteBuffer[], int, int);
    descriptor: ([Ljava/nio/ByteBuffer;II)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // sun.nio.ch.SinkChannelImpl this
        start local 1 // java.nio.ByteBuffer[] srcs
        start local 2 // int offset
        start local 3 // int length
         0: .line 204
            iload 2 /* offset */
            iflt 1
            iload 3 /* length */
            iflt 1
            iload 2 /* offset */
            aload 1 /* srcs */
            arraylength
            iload 3 /* length */
            isub
            if_icmple 2
         1: .line 205
      StackMap locals:
      StackMap stack:
            new java.lang.IndexOutOfBoundsException
            dup
            invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
            athrow
         2: .line 206
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* srcs */
            iload 2 /* offset */
            iload 3 /* length */
            invokestatic sun.nio.ch.Util.subsequence:([Ljava/nio/ByteBuffer;II)[Ljava/nio/ByteBuffer;
            invokevirtual sun.nio.ch.SinkChannelImpl.write:([Ljava/nio/ByteBuffer;)J
            lreturn
        end local 3 // int length
        end local 2 // int offset
        end local 1 // java.nio.ByteBuffer[] srcs
        end local 0 // sun.nio.ch.SinkChannelImpl this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lsun/nio/ch/SinkChannelImpl;
            0    3     1    srcs  [Ljava/nio/ByteBuffer;
            0    3     2  offset  I
            0    3     3  length  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      srcs    
      offset  
      length  
}
SourceFile: "SinkChannelImpl.java"
InnerClasses:
  public abstract SinkChannel = java.nio.channels.Pipe$SinkChannel of java.nio.channels.Pipe