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

  private final java.io.FileDescriptor fd;
    descriptor: Ljava/io/FileDescriptor;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final int fdVal;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.concurrent.locks.ReentrantLock writeLock;
    descriptor: Ljava/util/concurrent/locks/ReentrantLock;
    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_INUSE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 0

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

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

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

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

  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 40
            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 45
            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 63
            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 73
            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 77
            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 81
            aload 0 /* this */
            aload 1 /* sp */
            invokespecial java.nio.channels.Pipe$SinkChannel.<init>:(Ljava/nio/channels/spi/SelectorProvider;)V
         1: .line 52
            aload 0 /* this */
            new java.util.concurrent.locks.ReentrantLock
            dup
            invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
            putfield sun.nio.ch.SinkChannelImpl.writeLock:Ljava/util/concurrent/locks/ReentrantLock;
         2: .line 56
            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 82
            aload 0 /* this */
            aload 2 /* fd */
            putfield sun.nio.ch.SinkChannelImpl.fd:Ljava/io/FileDescriptor;
         4: .line 83
            aload 0 /* this */
            aload 2 /* fd */
            invokestatic sun.nio.ch.IOUtil.fdVal:(Ljava/io/FileDescriptor;)I
            putfield sun.nio.ch.SinkChannelImpl.fdVal:I
         5: .line 84
            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    6     0  this  Lsun/nio/ch/SinkChannelImpl;
            0    6     1    sp  Ljava/nio/channels/spi/SelectorProvider;
            0    6     2    fd  Ljava/io/FileDescriptor;
    MethodParameters:
      Name  Flags
      sp    
      fd    

  private boolean tryClose();
    descriptor: ()Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // sun.nio.ch.SinkChannelImpl this
         0: .line 91
            getstatic sun.nio.ch.SinkChannelImpl.$assertionsDisabled:Z
            ifne 2
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.stateLock:Ljava/lang/Object;
            invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
            ifeq 1
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.state:I
            iconst_1
            if_icmpeq 2
      StackMap locals:
      StackMap stack:
         1: new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 92
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.thread:J
            lconst_0
            lcmp
            ifne 6
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.isRegistered:()Z
            ifne 6
         3: .line 93
            aload 0 /* this */
            iconst_2
            putfield sun.nio.ch.SinkChannelImpl.state:I
         4: .line 94
            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
         5: .line 95
            iconst_1
            ireturn
         6: .line 97
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 0 // sun.nio.ch.SinkChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lsun/nio/ch/SinkChannelImpl;
    Exceptions:
      throws java.io.IOException

  private void tryFinishClose();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.nio.ch.SinkChannelImpl this
         0: .line 108
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.tryClose:()Z
            pop
         1: .line 109
            goto 3
      StackMap locals:
      StackMap stack: java.io.IOException
         2: pop
         3: .line 110
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.nio.ch.SinkChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lsun/nio/ch/SinkChannelImpl;
      Exception table:
        from    to  target  type
           0     1       2  Class java.io.IOException

  private void implCloseBlockingMode();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=4, args_size=1
        start local 0 // sun.nio.ch.SinkChannelImpl this
         0: .line 120
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.stateLock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 121
            getstatic sun.nio.ch.SinkChannelImpl.$assertionsDisabled:Z
            ifne 2
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.state:I
            iconst_1
            if_icmplt 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 122
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield sun.nio.ch.SinkChannelImpl.state:I
         3: .line 123
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.tryClose:()Z
            ifne 8
         4: .line 124
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.thread:J
            lstore 2 /* th */
        start local 2 // long th
         5: .line 125
            lload 2 /* th */
            lconst_0
            lcmp
            ifeq 8
         6: .line 126
            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
         7: .line 127
            lload 2 /* th */
            invokestatic sun.nio.ch.NativeThread.signal:(J)V
        end local 2 // long th
         8: .line 120
      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 131
      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;
            5    8     2    th  J
      Exception table:
        from    to  target  type
           1     9      10  any
          10    11      10  any
    Exceptions:
      throws java.io.IOException

  private void implCloseNonBlockingMode();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // sun.nio.ch.SinkChannelImpl this
         0: .line 140
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.stateLock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 141
            getstatic sun.nio.ch.SinkChannelImpl.$assertionsDisabled:Z
            ifne 2
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.state:I
            iconst_1
            if_icmplt 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 142
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield sun.nio.ch.SinkChannelImpl.state:I
         3: .line 140
            aload 1
            monitorexit
         4: goto 7
      StackMap locals:
      StackMap stack: java.lang.Throwable
         5: aload 1
            monitorexit
         6: athrow
         7: .line 145
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.writeLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
         8: .line 146
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.writeLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
         9: .line 147
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.stateLock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
        10: .line 148
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.state:I
            iconst_1
            if_icmpne 12
        11: .line 149
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.tryClose:()Z
            pop
        12: .line 147
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 1
            monitorexit
        13: goto 16
      StackMap locals:
      StackMap stack: java.lang.Throwable
        14: aload 1
            monitorexit
        15: athrow
        16: .line 152
      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     4       5  any
           5     6       5  any
          10    13      14  any
          14    15      14  any
    Exceptions:
      throws java.io.IOException

  protected void implCloseSelectableChannel();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.nio.ch.SinkChannelImpl this
         0: .line 159
            getstatic sun.nio.ch.SinkChannelImpl.$assertionsDisabled:Z
            ifne 1
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.isOpen:()Z
            ifeq 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 160
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.isBlocking:()Z
            ifeq 4
         2: .line 161
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.implCloseBlockingMode:()V
         3: .line 162
            goto 5
         4: .line 163
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.implCloseNonBlockingMode:()V
         5: .line 165
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.nio.ch.SinkChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lsun/nio/ch/SinkChannelImpl;
    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 169
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.stateLock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 170
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.state:I
            iconst_1
            if_icmpne 3
         2: .line 171
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.tryFinishClose:()V
         3: .line 169
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 1
            monitorexit
         4: goto 7
      StackMap locals:
      StackMap stack: java.lang.Throwable
         5: aload 1
            monitorexit
         6: athrow
         7: .line 174
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.nio.ch.SinkChannelImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lsun/nio/ch/SinkChannelImpl;
      Exception table:
        from    to  target  type
           1     4       5  any
           5     6       5  any

  protected void implConfigureBlocking(boolean);
    descriptor: (Z)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // sun.nio.ch.SinkChannelImpl this
        start local 1 // boolean block
         0: .line 178
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.writeLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
         1: .line 180
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.stateLock:Ljava/lang/Object;
            dup
            astore 2
            monitorenter
         2: .line 181
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.isOpen:()Z
            ifne 4
         3: .line 182
            new java.nio.channels.ClosedChannelException
            dup
            invokespecial java.nio.channels.ClosedChannelException.<init>:()V
            athrow
         4: .line 183
      StackMap locals: java.lang.Object
      StackMap stack:
            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
         5: .line 180
            aload 2
            monitorexit
         6: goto 12
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: aload 2
            monitorexit
         8: athrow
         9: .line 185
      StackMap locals: sun.nio.ch.SinkChannelImpl int
      StackMap stack: java.lang.Throwable
            astore 3
        10: .line 186
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.writeLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
        11: .line 187
            aload 3
            athrow
        12: .line 186
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.writeLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
        13: .line 188
            return
        end local 1 // boolean block
        end local 0 // sun.nio.ch.SinkChannelImpl this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   14     0   this  Lsun/nio/ch/SinkChannelImpl;
            0   14     1  block  Z
      Exception table:
        from    to  target  type
           2     6       7  any
           7     8       7  any
           1     9       9  any
    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 ski
         0: .line 191
            aload 3 /* ski */
            invokevirtual sun.nio.ch.SelectionKeyImpl.nioInterestOps:()I
            istore 4 /* intOps */
        start local 4 // int intOps
         1: .line 192
            aload 3 /* ski */
            invokevirtual sun.nio.ch.SelectionKeyImpl.nioReadyOps:()I
            istore 5 /* oldOps */
        start local 5 // int oldOps
         2: .line 193
            iload 2 /* initialOps */
            istore 6 /* newOps */
        start local 6 // int newOps
         3: .line 195
            iload 1 /* ops */
            getstatic sun.nio.ch.Net.POLLNVAL:S
            iand
            ifeq 5
         4: .line 196
            new java.lang.Error
            dup
            ldc "POLLNVAL detected"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 198
      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 199
            iload 4 /* intOps */
            istore 6 /* newOps */
         7: .line 200
            aload 3 /* ski */
            iload 6 /* newOps */
            invokevirtual sun.nio.ch.SelectionKeyImpl.nioReadyOps:(I)V
         8: .line 201
            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 204
      StackMap locals:
      StackMap stack:
            iload 1 /* ops */
            getstatic sun.nio.ch.Net.POLLOUT:S
            iand
            ifeq 13
        11: .line 205
            iload 4 /* intOps */
            iconst_4
            iand
            ifeq 13
        12: .line 206
            iload 6 /* newOps */
            iconst_4
            ior
            istore 6 /* newOps */
        13: .line 208
      StackMap locals:
      StackMap stack:
            aload 3 /* ski */
            iload 6 /* newOps */
            invokevirtual sun.nio.ch.SelectionKeyImpl.nioReadyOps:(I)V
        14: .line 209
            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 ski
        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         ski  Lsun/nio/ch/SelectionKeyImpl;
            1   16     4      intOps  I
            2   16     5      oldOps  I
            3   16     6      newOps  I
    MethodParameters:
            Name  Flags
      ops         
      initialOps  
      ski         

  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 ski
         0: .line 213
            aload 0 /* this */
            iload 1 /* ops */
            aload 2 /* ski */
            invokevirtual sun.nio.ch.SelectionKeyImpl.nioReadyOps:()I
            aload 2 /* ski */
            invokevirtual sun.nio.ch.SinkChannelImpl.translateReadyOps:(IILsun/nio/ch/SelectionKeyImpl;)Z
            ireturn
        end local 2 // sun.nio.ch.SelectionKeyImpl ski
        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   ski  Lsun/nio/ch/SelectionKeyImpl;
    MethodParameters:
      Name  Flags
      ops   
      ski   

  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 ski
         0: .line 217
            aload 0 /* this */
            iload 1 /* ops */
            iconst_0
            aload 2 /* ski */
            invokevirtual sun.nio.ch.SinkChannelImpl.translateReadyOps:(IILsun/nio/ch/SelectionKeyImpl;)Z
            ireturn
        end local 2 // sun.nio.ch.SelectionKeyImpl ski
        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   ski  Lsun/nio/ch/SelectionKeyImpl;
    MethodParameters:
      Name  Flags
      ops   
      ski   

  public int translateInterestOps(int);
    descriptor: (I)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // sun.nio.ch.SinkChannelImpl this
        start local 1 // int ops
         0: .line 221
            iconst_0
            istore 2 /* newOps */
        start local 2 // int newOps
         1: .line 222
            iload 1 /* ops */
            iconst_4
            if_icmpne 3
         2: .line 223
            iload 2 /* newOps */
            getstatic sun.nio.ch.Net.POLLOUT:S
            ior
            istore 2 /* newOps */
         3: .line 224
      StackMap locals: int
      StackMap stack:
            iload 2 /* newOps */
            ireturn
        end local 2 // int newOps
        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
            1    4     2  newOps  I
    MethodParameters:
      Name  Flags
      ops   

  private void beginWrite(boolean);
    descriptor: (Z)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // sun.nio.ch.SinkChannelImpl this
        start local 1 // boolean blocking
         0: .line 234
            iload 1 /* blocking */
            ifeq 2
         1: .line 236
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.begin:()V
         2: .line 238
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.stateLock:Ljava/lang/Object;
            dup
            astore 2
            monitorenter
         3: .line 239
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.isOpen:()Z
            ifne 5
         4: .line 240
            new java.nio.channels.ClosedChannelException
            dup
            invokespecial java.nio.channels.ClosedChannelException.<init>:()V
            athrow
         5: .line 241
      StackMap locals: java.lang.Object
      StackMap stack:
            iload 1 /* blocking */
            ifeq 7
         6: .line 242
            aload 0 /* this */
            invokestatic sun.nio.ch.NativeThread.current:()J
            putfield sun.nio.ch.SinkChannelImpl.thread:J
         7: .line 238
      StackMap locals:
      StackMap stack:
            aload 2
            monitorexit
         8: goto 11
      StackMap locals:
      StackMap stack: java.lang.Throwable
         9: aload 2
            monitorexit
        10: athrow
        11: .line 244
      StackMap locals:
      StackMap stack:
            return
        end local 1 // boolean blocking
        end local 0 // sun.nio.ch.SinkChannelImpl this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   12     0      this  Lsun/nio/ch/SinkChannelImpl;
            0   12     1  blocking  Z
      Exception table:
        from    to  target  type
           3     8       9  any
           9    10       9  any
    Exceptions:
      throws java.nio.channels.ClosedChannelException
    MethodParameters:
          Name  Flags
      blocking  

  private void endWrite(boolean, boolean);
    descriptor: (ZZ)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // sun.nio.ch.SinkChannelImpl this
        start local 1 // boolean blocking
        start local 2 // boolean completed
         0: .line 255
            iload 1 /* blocking */
            ifeq 10
         1: .line 256
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.stateLock:Ljava/lang/Object;
            dup
            astore 3
            monitorenter
         2: .line 257
            aload 0 /* this */
            lconst_0
            putfield sun.nio.ch.SinkChannelImpl.thread:J
         3: .line 258
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.state:I
            iconst_1
            if_icmpne 5
         4: .line 259
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.tryFinishClose:()V
         5: .line 256
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 3
            monitorexit
         6: goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: aload 3
            monitorexit
         8: athrow
         9: .line 263
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 2 /* completed */
            invokevirtual sun.nio.ch.SinkChannelImpl.end:(Z)V
        10: .line 265
      StackMap locals:
      StackMap stack:
            return
        end local 2 // boolean completed
        end local 1 // boolean blocking
        end local 0 // sun.nio.ch.SinkChannelImpl this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   11     0       this  Lsun/nio/ch/SinkChannelImpl;
            0   11     1   blocking  Z
            0   11     2  completed  Z
      Exception table:
        from    to  target  type
           2     6       7  any
           7     8       7  any
    Exceptions:
      throws java.nio.channels.AsynchronousCloseException
    MethodParameters:
           Name  Flags
      blocking   
      completed  

  public int write(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=7, args_size=2
        start local 0 // sun.nio.ch.SinkChannelImpl this
        start local 1 // java.nio.ByteBuffer src
         0: .line 269
            aload 1 /* src */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 271
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.writeLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
         2: .line 273
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.isBlocking:()Z
            istore 2 /* blocking */
        start local 2 // boolean blocking
         3: .line 274
            iconst_0
            istore 3 /* n */
        start local 3 // int n
         4: .line 276
            aload 0 /* this */
            iload 2 /* blocking */
            invokevirtual sun.nio.ch.SinkChannelImpl.beginWrite:(Z)V
         5: .line 277
            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 */
         6: .line 278
            iload 2 /* blocking */
            ifeq 18
         7: .line 279
            goto 10
         8: .line 280
      StackMap locals: int int
      StackMap stack:
            aload 0 /* this */
            getstatic sun.nio.ch.Net.POLLOUT:S
            invokevirtual sun.nio.ch.SinkChannelImpl.park:(I)V
         9: .line 281
            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 */
        10: .line 279
      StackMap locals:
      StackMap stack:
            iload 3 /* n */
            i2l
            invokestatic sun.nio.ch.IOStatus.okayToRetry:(J)Z
            ifeq 18
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.isOpen:()Z
            ifne 8
        11: .line 284
            goto 18
      StackMap locals:
      StackMap stack: java.lang.Throwable
        12: astore 4
        13: .line 285
            aload 0 /* this */
            iload 2 /* blocking */
            iload 3 /* n */
            ifle 14
            iconst_1
            goto 15
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer int int java.lang.Throwable
      StackMap stack: sun.nio.ch.SinkChannelImpl int
        14: iconst_0
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer int int java.lang.Throwable
      StackMap stack: sun.nio.ch.SinkChannelImpl int int
        15: invokevirtual sun.nio.ch.SinkChannelImpl.endWrite:(ZZ)V
        16: .line 286
            getstatic sun.nio.ch.SinkChannelImpl.$assertionsDisabled:Z
            ifne 17
            iload 3 /* n */
            invokestatic sun.nio.ch.IOStatus.check:(I)Z
            ifne 17
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        17: .line 287
      StackMap locals:
      StackMap stack:
            aload 4
            athrow
        18: .line 285
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 2 /* blocking */
            iload 3 /* n */
            ifle 19
            iconst_1
            goto 20
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer int int
      StackMap stack: sun.nio.ch.SinkChannelImpl int
        19: iconst_0
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer int int
      StackMap stack: sun.nio.ch.SinkChannelImpl int int
        20: invokevirtual sun.nio.ch.SinkChannelImpl.endWrite:(ZZ)V
        21: .line 286
            getstatic sun.nio.ch.SinkChannelImpl.$assertionsDisabled:Z
            ifne 22
            iload 3 /* n */
            invokestatic sun.nio.ch.IOStatus.check:(I)Z
            ifne 22
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        22: .line 288
      StackMap locals:
      StackMap stack:
            iload 3 /* n */
            invokestatic sun.nio.ch.IOStatus.normalize:(I)I
            istore 6
        23: .line 290
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.writeLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
        24: .line 288
            iload 6
            ireturn
        end local 3 // int n
        end local 2 // boolean blocking
        25: .line 289
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer
      StackMap stack: java.lang.Throwable
            astore 5
        26: .line 290
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.writeLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
        27: .line 291
            aload 5
            athrow
        end local 1 // java.nio.ByteBuffer src
        end local 0 // sun.nio.ch.SinkChannelImpl this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   28     0      this  Lsun/nio/ch/SinkChannelImpl;
            0   28     1       src  Ljava/nio/ByteBuffer;
            3   25     2  blocking  Z
            4   25     3         n  I
      Exception table:
        from    to  target  type
           4    12      12  any
           2    23      25  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      src   

  public long write(java.nio.ByteBuffer[], int, int);
    descriptor: ([Ljava/nio/ByteBuffer;II)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=11, 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 296
            iload 2 /* offset */
            iload 3 /* length */
            aload 1 /* srcs */
            arraylength
            invokestatic java.util.Objects.checkFromIndexSize:(III)I
            pop
         1: .line 298
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.writeLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
         2: .line 300
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.isBlocking:()Z
            istore 4 /* blocking */
        start local 4 // boolean blocking
         3: .line 301
            lconst_0
            lstore 5 /* n */
        start local 5 // long n
         4: .line 303
            aload 0 /* this */
            iload 4 /* blocking */
            invokevirtual sun.nio.ch.SinkChannelImpl.beginWrite:(Z)V
         5: .line 304
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.fd:Ljava/io/FileDescriptor;
            aload 1 /* srcs */
            iload 2 /* offset */
            iload 3 /* length */
            getstatic sun.nio.ch.SinkChannelImpl.nd:Lsun/nio/ch/NativeDispatcher;
            invokestatic sun.nio.ch.IOUtil.write:(Ljava/io/FileDescriptor;[Ljava/nio/ByteBuffer;IILsun/nio/ch/NativeDispatcher;)J
            lstore 5 /* n */
         6: .line 305
            iload 4 /* blocking */
            ifeq 18
         7: .line 306
            goto 10
         8: .line 307
      StackMap locals: int long
      StackMap stack:
            aload 0 /* this */
            getstatic sun.nio.ch.Net.POLLOUT:S
            invokevirtual sun.nio.ch.SinkChannelImpl.park:(I)V
         9: .line 308
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.fd:Ljava/io/FileDescriptor;
            aload 1 /* srcs */
            iload 2 /* offset */
            iload 3 /* length */
            getstatic sun.nio.ch.SinkChannelImpl.nd:Lsun/nio/ch/NativeDispatcher;
            invokestatic sun.nio.ch.IOUtil.write:(Ljava/io/FileDescriptor;[Ljava/nio/ByteBuffer;IILsun/nio/ch/NativeDispatcher;)J
            lstore 5 /* n */
        10: .line 306
      StackMap locals:
      StackMap stack:
            lload 5 /* n */
            invokestatic sun.nio.ch.IOStatus.okayToRetry:(J)Z
            ifeq 18
            aload 0 /* this */
            invokevirtual sun.nio.ch.SinkChannelImpl.isOpen:()Z
            ifne 8
        11: .line 311
            goto 18
      StackMap locals:
      StackMap stack: java.lang.Throwable
        12: astore 7
        13: .line 312
            aload 0 /* this */
            iload 4 /* blocking */
            lload 5 /* n */
            lconst_0
            lcmp
            ifle 14
            iconst_1
            goto 15
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer[] int int int long java.lang.Throwable
      StackMap stack: sun.nio.ch.SinkChannelImpl int
        14: iconst_0
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer[] int int int long java.lang.Throwable
      StackMap stack: sun.nio.ch.SinkChannelImpl int int
        15: invokevirtual sun.nio.ch.SinkChannelImpl.endWrite:(ZZ)V
        16: .line 313
            getstatic sun.nio.ch.SinkChannelImpl.$assertionsDisabled:Z
            ifne 17
            lload 5 /* n */
            invokestatic sun.nio.ch.IOStatus.check:(J)Z
            ifne 17
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        17: .line 314
      StackMap locals:
      StackMap stack:
            aload 7
            athrow
        18: .line 312
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 4 /* blocking */
            lload 5 /* n */
            lconst_0
            lcmp
            ifle 19
            iconst_1
            goto 20
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer[] int int int long
      StackMap stack: sun.nio.ch.SinkChannelImpl int
        19: iconst_0
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer[] int int int long
      StackMap stack: sun.nio.ch.SinkChannelImpl int int
        20: invokevirtual sun.nio.ch.SinkChannelImpl.endWrite:(ZZ)V
        21: .line 313
            getstatic sun.nio.ch.SinkChannelImpl.$assertionsDisabled:Z
            ifne 22
            lload 5 /* n */
            invokestatic sun.nio.ch.IOStatus.check:(J)Z
            ifne 22
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        22: .line 315
      StackMap locals:
      StackMap stack:
            lload 5 /* n */
            invokestatic sun.nio.ch.IOStatus.normalize:(J)J
            lstore 9
        23: .line 317
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.writeLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
        24: .line 315
            lload 9
            lreturn
        end local 5 // long n
        end local 4 // boolean blocking
        25: .line 316
      StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer[] int int
      StackMap stack: java.lang.Throwable
            astore 8
        26: .line 317
            aload 0 /* this */
            getfield sun.nio.ch.SinkChannelImpl.writeLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
        27: .line 318
            aload 8
            athrow
        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   28     0      this  Lsun/nio/ch/SinkChannelImpl;
            0   28     1      srcs  [Ljava/nio/ByteBuffer;
            0   28     2    offset  I
            0   28     3    length  I
            3   25     4  blocking  Z
            4   25     5         n  J
      Exception table:
        from    to  target  type
           4    12      12  any
           2    23      25  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      srcs    
      offset  
      length  

  public long write(java.nio.ByteBuffer[]);
    descriptor: ([Ljava/nio/ByteBuffer;)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // sun.nio.ch.SinkChannelImpl this
        start local 1 // java.nio.ByteBuffer[] srcs
         0: .line 323
            aload 0 /* this */
            aload 1 /* srcs */
            iconst_0
            aload 1 /* srcs */
            arraylength
            invokevirtual sun.nio.ch.SinkChannelImpl.write:([Ljava/nio/ByteBuffer;II)J
            lreturn
        end local 1 // java.nio.ByteBuffer[] srcs
        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  srcs  [Ljava/nio/ByteBuffer;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      srcs  
}
SourceFile: "SinkChannelImpl.java"
InnerClasses:
  public abstract SinkChannel = java.nio.channels.Pipe$SinkChannel of java.nio.channels.Pipe