class sun.net.httpserver.SSLStreams$EngineWrapper
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: sun.net.httpserver.SSLStreams$EngineWrapper
  super_class: java.lang.Object
{
  java.nio.channels.SocketChannel chan;
    descriptor: Ljava/nio/channels/SocketChannel;
    flags: (0x0000) 

  javax.net.ssl.SSLEngine engine;
    descriptor: Ljavax/net/ssl/SSLEngine;
    flags: (0x0000) 

  sun.net.httpserver.SelectorCache sc;
    descriptor: Lsun/net/httpserver/SelectorCache;
    flags: (0x0000) 

  java.nio.channels.Selector write_selector;
    descriptor: Ljava/nio/channels/Selector;
    flags: (0x0000) 

  java.nio.channels.Selector read_selector;
    descriptor: Ljava/nio/channels/Selector;
    flags: (0x0000) 

  java.nio.channels.SelectionKey wkey;
    descriptor: Ljava/nio/channels/SelectionKey;
    flags: (0x0000) 

  java.nio.channels.SelectionKey rkey;
    descriptor: Ljava/nio/channels/SelectionKey;
    flags: (0x0000) 

  java.lang.Object wrapLock;
    descriptor: Ljava/lang/Object;
    flags: (0x0000) 

  java.lang.Object unwrapLock;
    descriptor: Ljava/lang/Object;
    flags: (0x0000) 

  java.nio.ByteBuffer unwrap_src;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x0000) 

  java.nio.ByteBuffer wrap_dst;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x0000) 

  boolean closed;
    descriptor: Z
    flags: (0x0000) 

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

  final sun.net.httpserver.SSLStreams this$0;
    descriptor: Lsun/net/httpserver/SSLStreams;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

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

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 241
            ldc Lsun/net/httpserver/SSLStreams;
            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.net.httpserver.SSLStreams$EngineWrapper.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(sun.net.httpserver.SSLStreams, java.nio.channels.SocketChannel, javax.net.ssl.SSLEngine);
    descriptor: (Lsun/net/httpserver/SSLStreams;Ljava/nio/channels/SocketChannel;Ljavax/net/ssl/SSLEngine;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // sun.net.httpserver.SSLStreams$EngineWrapper this
        start local 2 // java.nio.channels.SocketChannel chan
        start local 3 // javax.net.ssl.SSLEngine engine
         0: .line 253
            aload 0 /* this */
            aload 1
            putfield sun.net.httpserver.SSLStreams$EngineWrapper.this$0:Lsun/net/httpserver/SSLStreams;
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 250
            aload 0 /* this */
            iconst_0
            putfield sun.net.httpserver.SSLStreams$EngineWrapper.closed:Z
         2: .line 254
            aload 0 /* this */
            aload 2 /* chan */
            putfield sun.net.httpserver.SSLStreams$EngineWrapper.chan:Ljava/nio/channels/SocketChannel;
         3: .line 255
            aload 0 /* this */
            aload 3 /* engine */
            putfield sun.net.httpserver.SSLStreams$EngineWrapper.engine:Ljavax/net/ssl/SSLEngine;
         4: .line 256
            aload 0 /* this */
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putfield sun.net.httpserver.SSLStreams$EngineWrapper.wrapLock:Ljava/lang/Object;
         5: .line 257
            aload 0 /* this */
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrapLock:Ljava/lang/Object;
         6: .line 258
            aload 0 /* this */
            aload 1
            getstatic sun.net.httpserver.SSLStreams$BufType.PACKET:Lsun/net/httpserver/SSLStreams$BufType;
            invokevirtual sun.net.httpserver.SSLStreams.allocate:(Lsun/net/httpserver/SSLStreams$BufType;)Ljava/nio/ByteBuffer;
            putfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
         7: .line 259
            aload 0 /* this */
            aload 1
            getstatic sun.net.httpserver.SSLStreams$BufType.PACKET:Lsun/net/httpserver/SSLStreams$BufType;
            invokevirtual sun.net.httpserver.SSLStreams.allocate:(Lsun/net/httpserver/SSLStreams$BufType;)Ljava/nio/ByteBuffer;
            putfield sun.net.httpserver.SSLStreams$EngineWrapper.wrap_dst:Ljava/nio/ByteBuffer;
         8: .line 260
            aload 0 /* this */
            invokestatic sun.net.httpserver.SelectorCache.getSelectorCache:()Lsun/net/httpserver/SelectorCache;
            putfield sun.net.httpserver.SSLStreams$EngineWrapper.sc:Lsun/net/httpserver/SelectorCache;
         9: .line 261
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.sc:Lsun/net/httpserver/SelectorCache;
            invokevirtual sun.net.httpserver.SelectorCache.getSelector:()Ljava/nio/channels/Selector;
            putfield sun.net.httpserver.SSLStreams$EngineWrapper.write_selector:Ljava/nio/channels/Selector;
        10: .line 262
            aload 0 /* this */
            aload 2 /* chan */
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.write_selector:Ljava/nio/channels/Selector;
            iconst_4
            invokevirtual java.nio.channels.SocketChannel.register:(Ljava/nio/channels/Selector;I)Ljava/nio/channels/SelectionKey;
            putfield sun.net.httpserver.SSLStreams$EngineWrapper.wkey:Ljava/nio/channels/SelectionKey;
        11: .line 263
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.sc:Lsun/net/httpserver/SelectorCache;
            invokevirtual sun.net.httpserver.SelectorCache.getSelector:()Ljava/nio/channels/Selector;
            putfield sun.net.httpserver.SSLStreams$EngineWrapper.read_selector:Ljava/nio/channels/Selector;
        12: .line 264
            aload 0 /* this */
            aload 2 /* chan */
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.read_selector:Ljava/nio/channels/Selector;
            iconst_1
            invokevirtual java.nio.channels.SocketChannel.register:(Ljava/nio/channels/Selector;I)Ljava/nio/channels/SelectionKey;
            putfield sun.net.httpserver.SSLStreams$EngineWrapper.wkey:Ljava/nio/channels/SelectionKey;
        13: .line 265
            return
        end local 3 // javax.net.ssl.SSLEngine engine
        end local 2 // java.nio.channels.SocketChannel chan
        end local 0 // sun.net.httpserver.SSLStreams$EngineWrapper this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   14     0    this  Lsun/net/httpserver/SSLStreams$EngineWrapper;
            0   14     2    chan  Ljava/nio/channels/SocketChannel;
            0   14     3  engine  Ljavax/net/ssl/SSLEngine;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      this$0  final
      chan    
      engine  

  void close();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.net.httpserver.SSLStreams$EngineWrapper this
         0: .line 268
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.sc:Lsun/net/httpserver/SelectorCache;
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.write_selector:Ljava/nio/channels/Selector;
            invokevirtual sun.net.httpserver.SelectorCache.freeSelector:(Ljava/nio/channels/Selector;)V
         1: .line 269
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.sc:Lsun/net/httpserver/SelectorCache;
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.read_selector:Ljava/nio/channels/Selector;
            invokevirtual sun.net.httpserver.SelectorCache.freeSelector:(Ljava/nio/channels/Selector;)V
         2: .line 270
            return
        end local 0 // sun.net.httpserver.SSLStreams$EngineWrapper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/net/httpserver/SSLStreams$EngineWrapper;
    Exceptions:
      throws java.io.IOException

  sun.net.httpserver.SSLStreams$WrapperResult wrapAndSend(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)Lsun/net/httpserver/SSLStreams$WrapperResult;
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // sun.net.httpserver.SSLStreams$EngineWrapper this
        start local 1 // java.nio.ByteBuffer src
         0: .line 278
            aload 0 /* this */
            aload 1 /* src */
            iconst_0
            invokevirtual sun.net.httpserver.SSLStreams$EngineWrapper.wrapAndSendX:(Ljava/nio/ByteBuffer;Z)Lsun/net/httpserver/SSLStreams$WrapperResult;
            areturn
        end local 1 // java.nio.ByteBuffer src
        end local 0 // sun.net.httpserver.SSLStreams$EngineWrapper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/net/httpserver/SSLStreams$EngineWrapper;
            0    1     1   src  Ljava/nio/ByteBuffer;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      src   

  sun.net.httpserver.SSLStreams$WrapperResult wrapAndSendX(java.nio.ByteBuffer, boolean);
    descriptor: (Ljava/nio/ByteBuffer;Z)Lsun/net/httpserver/SSLStreams$WrapperResult;
    flags: (0x0000) 
    Code:
      stack=5, locals=11, args_size=3
        start local 0 // sun.net.httpserver.SSLStreams$EngineWrapper this
        start local 1 // java.nio.ByteBuffer src
        start local 2 // boolean ignoreClose
         0: .line 282
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.closed:Z
            ifeq 2
            iload 2 /* ignoreClose */
            ifne 2
         1: .line 283
            new java.io.IOException
            dup
            ldc "Engine is closed"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 286
      StackMap locals:
      StackMap stack:
            new sun.net.httpserver.SSLStreams$WrapperResult
            dup
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.this$0:Lsun/net/httpserver/SSLStreams;
            invokespecial sun.net.httpserver.SSLStreams$WrapperResult.<init>:(Lsun/net/httpserver/SSLStreams;)V
            astore 4 /* r */
        start local 4 // sun.net.httpserver.SSLStreams$WrapperResult r
         3: .line 287
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.wrapLock:Ljava/lang/Object;
            dup
            astore 5
            monitorenter
         4: .line 288
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.wrap_dst:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
            pop
         5: .line 290
      StackMap locals: sun.net.httpserver.SSLStreams$EngineWrapper java.nio.ByteBuffer int top sun.net.httpserver.SSLStreams$WrapperResult java.lang.Object
      StackMap stack:
            aload 4 /* r */
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.engine:Ljavax/net/ssl/SSLEngine;
            aload 1 /* src */
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.wrap_dst:Ljava/nio/ByteBuffer;
            invokevirtual javax.net.ssl.SSLEngine.wrap:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Ljavax/net/ssl/SSLEngineResult;
            putfield sun.net.httpserver.SSLStreams$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
         6: .line 291
            aload 4 /* r */
            getfield sun.net.httpserver.SSLStreams$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
            invokevirtual javax.net.ssl.SSLEngineResult.getStatus:()Ljavax/net/ssl/SSLEngineResult$Status;
            astore 3 /* status */
        start local 3 // javax.net.ssl.SSLEngineResult$Status status
         7: .line 292
            aload 3 /* status */
            getstatic javax.net.ssl.SSLEngineResult$Status.BUFFER_OVERFLOW:Ljavax/net/ssl/SSLEngineResult$Status;
            if_acmpne 9
         8: .line 293
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.this$0:Lsun/net/httpserver/SSLStreams;
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.wrap_dst:Ljava/nio/ByteBuffer;
            iconst_1
            getstatic sun.net.httpserver.SSLStreams$BufType.PACKET:Lsun/net/httpserver/SSLStreams$BufType;
            invokevirtual sun.net.httpserver.SSLStreams.realloc:(Ljava/nio/ByteBuffer;ZLsun/net/httpserver/SSLStreams$BufType;)Ljava/nio/ByteBuffer;
            putfield sun.net.httpserver.SSLStreams$EngineWrapper.wrap_dst:Ljava/nio/ByteBuffer;
         9: .line 295
      StackMap locals: sun.net.httpserver.SSLStreams$EngineWrapper java.nio.ByteBuffer int javax.net.ssl.SSLEngineResult$Status sun.net.httpserver.SSLStreams$WrapperResult java.lang.Object
      StackMap stack:
            aload 3 /* status */
            getstatic javax.net.ssl.SSLEngineResult$Status.BUFFER_OVERFLOW:Ljavax/net/ssl/SSLEngineResult$Status;
            if_acmpeq 5
        10: .line 296
            aload 3 /* status */
            getstatic javax.net.ssl.SSLEngineResult$Status.CLOSED:Ljavax/net/ssl/SSLEngineResult$Status;
            if_acmpne 14
            iload 2 /* ignoreClose */
            ifne 14
        11: .line 297
            aload 0 /* this */
            iconst_1
            putfield sun.net.httpserver.SSLStreams$EngineWrapper.closed:Z
        12: .line 298
            aload 4 /* r */
            aload 5
            monitorexit
        13: areturn
        14: .line 300
      StackMap locals:
      StackMap stack:
            aload 4 /* r */
            getfield sun.net.httpserver.SSLStreams$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
            invokevirtual javax.net.ssl.SSLEngineResult.bytesProduced:()I
            ifle 28
        15: .line 301
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.wrap_dst:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
            pop
        16: .line 302
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.wrap_dst:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.remaining:()I
            istore 6 /* l */
        start local 6 // int l
        17: .line 303
            getstatic sun.net.httpserver.SSLStreams$EngineWrapper.$assertionsDisabled:Z
            ifne 18
            iload 6 /* l */
            aload 4 /* r */
            getfield sun.net.httpserver.SSLStreams$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
            invokevirtual javax.net.ssl.SSLEngineResult.bytesProduced:()I
            if_icmpeq 18
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        18: .line 304
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.this$0:Lsun/net/httpserver/SSLStreams;
            getfield sun.net.httpserver.SSLStreams.time:Lsun/net/httpserver/TimeSource;
            invokeinterface sun.net.httpserver.TimeSource.getTime:()J
            lstore 7 /* currtime */
        start local 7 // long currtime
        19: .line 305
            lload 7 /* currtime */
            getstatic sun.net.httpserver.SSLStreams.writeTimeout:J
            ladd
            lstore 9 /* maxtime */
        start local 9 // long maxtime
        20: .line 306
            goto 27
        21: .line 307
      StackMap locals: long long
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.write_selector:Ljava/nio/channels/Selector;
            getstatic sun.net.httpserver.SSLStreams.writeTimeout:J
            invokevirtual java.nio.channels.Selector.select:(J)I
            pop
        22: .line 308
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.this$0:Lsun/net/httpserver/SSLStreams;
            getfield sun.net.httpserver.SSLStreams.time:Lsun/net/httpserver/TimeSource;
            invokeinterface sun.net.httpserver.TimeSource.getTime:()J
            lstore 7 /* currtime */
        23: .line 309
            lload 7 /* currtime */
            lload 9 /* maxtime */
            lcmp
            ifle 25
        24: .line 310
            new java.net.SocketTimeoutException
            dup
            ldc "write timed out"
            invokespecial java.net.SocketTimeoutException.<init>:(Ljava/lang/String;)V
            athrow
        25: .line 312
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.write_selector:Ljava/nio/channels/Selector;
            invokevirtual java.nio.channels.Selector.selectedKeys:()Ljava/util/Set;
            invokeinterface java.util.Set.clear:()V
        26: .line 313
            iload 6 /* l */
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.chan:Ljava/nio/channels/SocketChannel;
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.wrap_dst:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.channels.SocketChannel.write:(Ljava/nio/ByteBuffer;)I
            isub
            istore 6 /* l */
        27: .line 306
      StackMap locals:
      StackMap stack:
            iload 6 /* l */
            ifgt 21
        end local 9 // long maxtime
        end local 7 // long currtime
        end local 6 // int l
        28: .line 287
      StackMap locals:
      StackMap stack:
            aload 5
            monitorexit
        29: goto 32
        end local 3 // javax.net.ssl.SSLEngineResult$Status status
      StackMap locals: sun.net.httpserver.SSLStreams$EngineWrapper java.nio.ByteBuffer int top sun.net.httpserver.SSLStreams$WrapperResult java.lang.Object
      StackMap stack: java.lang.Throwable
        30: aload 5
            monitorexit
        31: athrow
        start local 3 // javax.net.ssl.SSLEngineResult$Status status
        32: .line 317
      StackMap locals: sun.net.httpserver.SSLStreams$EngineWrapper java.nio.ByteBuffer int javax.net.ssl.SSLEngineResult$Status sun.net.httpserver.SSLStreams$WrapperResult
      StackMap stack:
            aload 4 /* r */
            areturn
        end local 4 // sun.net.httpserver.SSLStreams$WrapperResult r
        end local 3 // javax.net.ssl.SSLEngineResult$Status status
        end local 2 // boolean ignoreClose
        end local 1 // java.nio.ByteBuffer src
        end local 0 // sun.net.httpserver.SSLStreams$EngineWrapper this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   33     0         this  Lsun/net/httpserver/SSLStreams$EngineWrapper;
            0   33     1          src  Ljava/nio/ByteBuffer;
            0   33     2  ignoreClose  Z
            7   30     3       status  Ljavax/net/ssl/SSLEngineResult$Status;
           32   33     3       status  Ljavax/net/ssl/SSLEngineResult$Status;
            3   33     4            r  Lsun/net/httpserver/SSLStreams$WrapperResult;
           17   28     6            l  I
           19   28     7     currtime  J
           20   28     9      maxtime  J
      Exception table:
        from    to  target  type
           4    13      30  any
          14    29      30  any
          30    31      30  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
             Name  Flags
      src          
      ignoreClose  

  sun.net.httpserver.SSLStreams$WrapperResult recvAndUnwrap(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)Lsun/net/httpserver/SSLStreams$WrapperResult;
    flags: (0x0000) 
    Code:
      stack=5, locals=12, args_size=2
        start local 0 // sun.net.httpserver.SSLStreams$EngineWrapper this
        start local 1 // java.nio.ByteBuffer dst
         0: .line 326
            getstatic javax.net.ssl.SSLEngineResult$Status.OK:Ljavax/net/ssl/SSLEngineResult$Status;
            astore 2 /* status */
        start local 2 // javax.net.ssl.SSLEngineResult$Status status
         1: .line 327
            new sun.net.httpserver.SSLStreams$WrapperResult
            dup
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.this$0:Lsun/net/httpserver/SSLStreams;
            invokespecial sun.net.httpserver.SSLStreams$WrapperResult.<init>:(Lsun/net/httpserver/SSLStreams;)V
            astore 3 /* r */
        start local 3 // sun.net.httpserver.SSLStreams$WrapperResult r
         2: .line 328
            aload 3 /* r */
            aload 1 /* dst */
            putfield sun.net.httpserver.SSLStreams$WrapperResult.buf:Ljava/nio/ByteBuffer;
         3: .line 329
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.closed:Z
            ifeq 5
         4: .line 330
            new java.io.IOException
            dup
            ldc "Engine is closed"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 333
      StackMap locals: javax.net.ssl.SSLEngineResult$Status sun.net.httpserver.SSLStreams$WrapperResult
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.u_remaining:I
            ifle 10
         6: .line 334
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.compact:()Ljava/nio/ByteBuffer;
            pop
         7: .line 335
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
            pop
         8: .line 336
            iconst_0
            istore 4 /* needData */
        start local 4 // boolean needData
         9: .line 337
            goto 12
        end local 4 // boolean needData
        10: .line 338
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
            pop
        11: .line 339
            iconst_1
            istore 4 /* needData */
        start local 4 // boolean needData
        12: .line 341
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrapLock:Ljava/lang/Object;
            dup
            astore 5
            monitorenter
        13: .line 344
      StackMap locals: java.lang.Object
      StackMap stack:
            iload 4 /* needData */
            ifeq 26
        14: .line 345
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.this$0:Lsun/net/httpserver/SSLStreams;
            getfield sun.net.httpserver.SSLStreams.time:Lsun/net/httpserver/TimeSource;
            invokeinterface sun.net.httpserver.TimeSource.getTime:()J
            lstore 8 /* currTime */
        start local 8 // long currTime
        15: .line 346
            lload 8 /* currTime */
            getstatic sun.net.httpserver.SSLStreams.readTimeout:J
            ladd
            lstore 10 /* maxtime */
        start local 10 // long maxtime
        16: .line 348
      StackMap locals: sun.net.httpserver.SSLStreams$EngineWrapper java.nio.ByteBuffer javax.net.ssl.SSLEngineResult$Status sun.net.httpserver.SSLStreams$WrapperResult int java.lang.Object top top long long
      StackMap stack:
            lload 8 /* currTime */
            lload 10 /* maxtime */
            lcmp
            ifle 18
        17: .line 349
            new java.net.SocketTimeoutException
            dup
            ldc "read timedout"
            invokespecial java.net.SocketTimeoutException.<init>:(Ljava/lang/String;)V
            athrow
        18: .line 351
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.read_selector:Ljava/nio/channels/Selector;
            getstatic sun.net.httpserver.SSLStreams.readTimeout:J
            invokevirtual java.nio.channels.Selector.select:(J)I
            istore 7 /* y */
        start local 7 // int y
        19: .line 352
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.this$0:Lsun/net/httpserver/SSLStreams;
            getfield sun.net.httpserver.SSLStreams.time:Lsun/net/httpserver/TimeSource;
            invokeinterface sun.net.httpserver.TimeSource.getTime:()J
            lstore 8 /* currTime */
        20: .line 353
            iload 7 /* y */
            iconst_1
            if_icmpne 16
        21: .line 354
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.read_selector:Ljava/nio/channels/Selector;
            invokevirtual java.nio.channels.Selector.selectedKeys:()Ljava/util/Set;
            invokeinterface java.util.Set.clear:()V
        22: .line 355
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.chan:Ljava/nio/channels/SocketChannel;
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.channels.SocketChannel.read:(Ljava/nio/ByteBuffer;)I
            istore 6 /* x */
        start local 6 // int x
        23: .line 356
            iload 6 /* x */
            iconst_m1
            if_icmpne 25
        24: .line 357
            new java.io.IOException
            dup
            ldc "connection closed for reading"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        25: .line 359
      StackMap locals: sun.net.httpserver.SSLStreams$EngineWrapper java.nio.ByteBuffer javax.net.ssl.SSLEngineResult$Status sun.net.httpserver.SSLStreams$WrapperResult int java.lang.Object int int long long
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
            pop
        end local 10 // long maxtime
        end local 8 // long currTime
        end local 7 // int y
        end local 6 // int x
        26: .line 361
      StackMap locals: sun.net.httpserver.SSLStreams$EngineWrapper java.nio.ByteBuffer javax.net.ssl.SSLEngineResult$Status sun.net.httpserver.SSLStreams$WrapperResult int java.lang.Object
      StackMap stack:
            aload 3 /* r */
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.engine:Ljavax/net/ssl/SSLEngine;
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
            aload 3 /* r */
            getfield sun.net.httpserver.SSLStreams$WrapperResult.buf:Ljava/nio/ByteBuffer;
            invokevirtual javax.net.ssl.SSLEngine.unwrap:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Ljavax/net/ssl/SSLEngineResult;
            putfield sun.net.httpserver.SSLStreams$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
        27: .line 362
            aload 3 /* r */
            getfield sun.net.httpserver.SSLStreams$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
            invokevirtual javax.net.ssl.SSLEngineResult.getStatus:()Ljavax/net/ssl/SSLEngineResult$Status;
            astore 2 /* status */
        28: .line 363
            aload 2 /* status */
            getstatic javax.net.ssl.SSLEngineResult$Status.BUFFER_UNDERFLOW:Ljavax/net/ssl/SSLEngineResult$Status;
            if_acmpne 38
        29: .line 364
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.limit:()I
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.capacity:()I
            if_icmpne 34
        30: .line 366
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.this$0:Lsun/net/httpserver/SSLStreams;
        31: .line 367
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
            iconst_0
            getstatic sun.net.httpserver.SSLStreams$BufType.PACKET:Lsun/net/httpserver/SSLStreams$BufType;
        32: .line 366
            invokevirtual sun.net.httpserver.SSLStreams.realloc:(Ljava/nio/ByteBuffer;ZLsun/net/httpserver/SSLStreams$BufType;)Ljava/nio/ByteBuffer;
            putfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
        33: .line 369
            goto 36
        34: .line 374
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.limit:()I
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
            pop
        35: .line 375
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.capacity:()I
            invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
            pop
        36: .line 377
      StackMap locals:
      StackMap stack:
            iconst_1
            istore 4 /* needData */
        37: .line 378
            goto 47
      StackMap locals:
      StackMap stack:
        38: aload 2 /* status */
            getstatic javax.net.ssl.SSLEngineResult$Status.BUFFER_OVERFLOW:Ljavax/net/ssl/SSLEngineResult$Status;
            if_acmpne 42
        39: .line 379
            aload 3 /* r */
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.this$0:Lsun/net/httpserver/SSLStreams;
            aload 3 /* r */
            getfield sun.net.httpserver.SSLStreams$WrapperResult.buf:Ljava/nio/ByteBuffer;
            iconst_1
            getstatic sun.net.httpserver.SSLStreams$BufType.APPLICATION:Lsun/net/httpserver/SSLStreams$BufType;
            invokevirtual sun.net.httpserver.SSLStreams.realloc:(Ljava/nio/ByteBuffer;ZLsun/net/httpserver/SSLStreams$BufType;)Ljava/nio/ByteBuffer;
            putfield sun.net.httpserver.SSLStreams$WrapperResult.buf:Ljava/nio/ByteBuffer;
        40: .line 380
            iconst_0
            istore 4 /* needData */
        41: .line 381
            goto 47
      StackMap locals:
      StackMap stack:
        42: aload 2 /* status */
            getstatic javax.net.ssl.SSLEngineResult$Status.CLOSED:Ljavax/net/ssl/SSLEngineResult$Status;
            if_acmpne 47
        43: .line 382
            aload 0 /* this */
            iconst_1
            putfield sun.net.httpserver.SSLStreams$EngineWrapper.closed:Z
        44: .line 383
            aload 3 /* r */
            getfield sun.net.httpserver.SSLStreams$WrapperResult.buf:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
            pop
        45: .line 384
            aload 3 /* r */
            aload 5
            monitorexit
        46: areturn
        47: .line 386
      StackMap locals:
      StackMap stack:
            aload 2 /* status */
            getstatic javax.net.ssl.SSLEngineResult$Status.OK:Ljavax/net/ssl/SSLEngineResult$Status;
            if_acmpne 13
        48: .line 341
            aload 5
            monitorexit
        49: goto 52
      StackMap locals:
      StackMap stack: java.lang.Throwable
        50: aload 5
            monitorexit
        51: athrow
        52: .line 388
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.remaining:()I
            putfield sun.net.httpserver.SSLStreams$EngineWrapper.u_remaining:I
        53: .line 389
            aload 3 /* r */
            areturn
        end local 4 // boolean needData
        end local 3 // sun.net.httpserver.SSLStreams$WrapperResult r
        end local 2 // javax.net.ssl.SSLEngineResult$Status status
        end local 1 // java.nio.ByteBuffer dst
        end local 0 // sun.net.httpserver.SSLStreams$EngineWrapper this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   54     0      this  Lsun/net/httpserver/SSLStreams$EngineWrapper;
            0   54     1       dst  Ljava/nio/ByteBuffer;
            1   54     2    status  Ljavax/net/ssl/SSLEngineResult$Status;
            2   54     3         r  Lsun/net/httpserver/SSLStreams$WrapperResult;
            9   10     4  needData  Z
           12   54     4  needData  Z
           23   26     6         x  I
           19   26     7         y  I
           15   26     8  currTime  J
           16   26    10   maxtime  J
      Exception table:
        from    to  target  type
          13    46      50  any
          47    49      50  any
          50    51      50  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      dst   
}
SourceFile: "SSLStreams.java"
NestHost: sun.net.httpserver.SSLStreams
InnerClasses:
  public final Status = javax.net.ssl.SSLEngineResult$Status of javax.net.ssl.SSLEngineResult
  final BufType = sun.net.httpserver.SSLStreams$BufType of sun.net.httpserver.SSLStreams
  EngineWrapper = sun.net.httpserver.SSLStreams$EngineWrapper of sun.net.httpserver.SSLStreams
  WrapperResult = sun.net.httpserver.SSLStreams$WrapperResult of sun.net.httpserver.SSLStreams