final class jdk.incubator.http.SocketTube$InternalWriteSubscriber implements java.util.concurrent.Flow$Subscriber<java.util.List<java.nio.ByteBuffer>>
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.incubator.http.SocketTube$InternalWriteSubscriber
  super_class: java.lang.Object
{
  volatile java.util.concurrent.Flow$Subscription subscription;
    descriptor: Ljava/util/concurrent/Flow$Subscription;
    flags: (0x0040) ACC_VOLATILE

  volatile java.util.List<java.nio.ByteBuffer> current;
    descriptor: Ljava/util/List;
    flags: (0x0040) ACC_VOLATILE
    Signature: Ljava/util/List<Ljava/nio/ByteBuffer;>;

  volatile boolean completed;
    descriptor: Z
    flags: (0x0040) ACC_VOLATILE

  final jdk.incubator.http.SocketTube$InternalWriteSubscriber$WriteEvent writeEvent;
    descriptor: Ljdk/incubator/http/SocketTube$InternalWriteSubscriber$WriteEvent;
    flags: (0x0010) ACC_FINAL

  final java.util.concurrent.atomic.AtomicLong writeDemand;
    descriptor: Ljava/util/concurrent/atomic/AtomicLong;
    flags: (0x0010) ACC_FINAL

  final jdk.incubator.http.SocketTube this$0;
    descriptor: Ljdk/incubator/http/SocketTube;
    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 267
            ldc Ljdk/incubator/http/SocketTube;
            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 jdk.incubator.http.SocketTube$InternalWriteSubscriber.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>(jdk.incubator.http.SocketTube);
    descriptor: (Ljdk/incubator/http/SocketTube;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=2, args_size=2
        start local 0 // jdk.incubator.http.SocketTube$InternalWriteSubscriber this
         0: .line 267
            aload 0 /* this */
            aload 1
            putfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 273
            aload 0 /* this */
            new jdk.incubator.http.SocketTube$InternalWriteSubscriber$WriteEvent
            dup
            aload 0 /* this */
            aload 1
            getfield jdk.incubator.http.SocketTube.channel:Ljava/nio/channels/SocketChannel;
            aload 0 /* this */
            invokespecial jdk.incubator.http.SocketTube$InternalWriteSubscriber$WriteEvent.<init>:(Ljdk/incubator/http/SocketTube$InternalWriteSubscriber;Ljava/nio/channels/SocketChannel;Ljdk/incubator/http/SocketTube$InternalWriteSubscriber;)V
            putfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.writeEvent:Ljdk/incubator/http/SocketTube$InternalWriteSubscriber$WriteEvent;
         2: .line 274
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicLong
            dup
            invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
            putfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.writeDemand:Ljava/util/concurrent/atomic/AtomicLong;
         3: .line 267
            return
        end local 0 // jdk.incubator.http.SocketTube$InternalWriteSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/incubator/http/SocketTube$InternalWriteSubscriber;
    MethodParameters:
        Name  Flags
      this$0  final

  public void onSubscribe(java.util.concurrent.Flow$Subscription);
    descriptor: (Ljava/util/concurrent/Flow$Subscription;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // jdk.incubator.http.SocketTube$InternalWriteSubscriber this
        start local 1 // java.util.concurrent.Flow$Subscription subscription
         0: .line 278
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
            astore 2 /* previous */
        start local 2 // java.util.concurrent.Flow$Subscription previous
         1: .line 279
            aload 0 /* this */
            aload 1 /* subscription */
            putfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
         2: .line 280
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
            getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
            ldc "subscribed for writing"
            invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
         3: .line 281
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.current:Ljava/util/List;
            ifnonnull 10
         4: .line 282
            aload 2 /* previous */
            aload 1 /* subscription */
            if_acmpeq 5
            aload 2 /* previous */
            ifnonnull 8
         5: .line 283
      StackMap locals: java.util.concurrent.Flow$Subscription
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.writeDemand:Ljava/util/concurrent/atomic/AtomicLong;
            lconst_0
            lconst_1
            invokevirtual java.util.concurrent.atomic.AtomicLong.compareAndSet:(JJ)Z
            ifeq 10
         6: .line 284
            aload 1 /* subscription */
            lconst_1
            invokeinterface java.util.concurrent.Flow$Subscription.request:(J)V
         7: .line 286
            goto 10
         8: .line 287
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.writeDemand:Ljava/util/concurrent/atomic/AtomicLong;
            lconst_1
            invokevirtual java.util.concurrent.atomic.AtomicLong.set:(J)V
         9: .line 288
            aload 1 /* subscription */
            lconst_1
            invokeinterface java.util.concurrent.Flow$Subscription.request:(J)V
        10: .line 291
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.util.concurrent.Flow$Subscription previous
        end local 1 // java.util.concurrent.Flow$Subscription subscription
        end local 0 // jdk.incubator.http.SocketTube$InternalWriteSubscriber this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   11     0          this  Ljdk/incubator/http/SocketTube$InternalWriteSubscriber;
            0   11     1  subscription  Ljava/util/concurrent/Flow$Subscription;
            1   11     2      previous  Ljava/util/concurrent/Flow$Subscription;
    MethodParameters:
              Name  Flags
      subscription  

  public void onNext(java.util.List<java.nio.ByteBuffer>);
    descriptor: (Ljava/util/List;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.incubator.http.SocketTube$InternalWriteSubscriber this
        start local 1 // java.util.List bufs
         0: .line 295
            getstatic jdk.incubator.http.SocketTube$InternalWriteSubscriber.$assertionsDisabled:Z
            ifne 1
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.current:Ljava/util/List;
            ifnull 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 296
      StackMap locals:
      StackMap stack:
            getstatic jdk.incubator.http.SocketTube$InternalWriteSubscriber.$assertionsDisabled:Z
            ifne 2
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
            ifnonnull 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 297
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* bufs */
            putfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.current:Ljava/util/List;
         3: .line 298
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            getfield jdk.incubator.http.SocketTube.client:Ljdk/incubator/http/HttpClientImpl;
            invokevirtual jdk.incubator.http.HttpClientImpl.isSelectorThread:()Z
            invokevirtual jdk.incubator.http.SocketTube$InternalWriteSubscriber.tryFlushCurrent:(Z)V
         4: .line 306
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            ldc "leaving w.onNext"
            invokevirtual jdk.incubator.http.SocketTube.debugState:(Ljava/lang/String;)V
         5: .line 307
            return
        end local 1 // java.util.List bufs
        end local 0 // jdk.incubator.http.SocketTube$InternalWriteSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljdk/incubator/http/SocketTube$InternalWriteSubscriber;
            0    6     1  bufs  Ljava/util/List<Ljava/nio/ByteBuffer;>;
    Signature: (Ljava/util/List<Ljava/nio/ByteBuffer;>;)V
    MethodParameters:
      Name  Flags
      bufs  

  void tryFlushCurrent(boolean);
    descriptor: (Z)V
    flags: (0x0000) 
    Code:
      stack=8, locals=8, args_size=2
        start local 0 // jdk.incubator.http.SocketTube$InternalWriteSubscriber this
        start local 1 // boolean inSelectorThread
         0: .line 322
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.current:Ljava/util/List;
            astore 2 /* bufs */
        start local 2 // java.util.List bufs
         1: .line 323
            aload 2 /* bufs */
            ifnonnull 2
            return
         2: .line 325
      StackMap locals: java.util.List
      StackMap stack:
            getstatic jdk.incubator.http.SocketTube$InternalWriteSubscriber.$assertionsDisabled:Z
            ifne 9
            iload 1 /* inSelectorThread */
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            getfield jdk.incubator.http.SocketTube.client:Ljdk/incubator/http/HttpClientImpl;
            invokevirtual jdk.incubator.http.HttpClientImpl.isSelectorThread:()Z
            if_icmpeq 9
         3: new java.lang.AssertionError
            dup
         4: .line 326
            new java.lang.StringBuilder
            dup
            ldc "should "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 1 /* inSelectorThread */
            ifeq 5
            ldc ""
            goto 6
      StackMap locals: jdk.incubator.http.SocketTube$InternalWriteSubscriber int java.util.List
      StackMap stack: new 3 new 3 java.lang.StringBuilder
         5: ldc "not "
      StackMap locals: jdk.incubator.http.SocketTube$InternalWriteSubscriber int java.util.List
      StackMap stack: new 3 new 3 java.lang.StringBuilder java.lang.String
         6: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         7: .line 327
            ldc " be in the selector thread"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         8: .line 326
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
         9: .line 328
      StackMap locals:
      StackMap stack:
            aload 2 /* bufs */
            invokestatic jdk.incubator.http.internal.common.Utils.remaining:(Ljava/util/List;)J
            lstore 3 /* remaining */
        start local 3 // long remaining
        10: .line 329
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
            getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
            ldc "trying to write: %d"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            lload 3 /* remaining */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
        11: .line 330
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            aload 2 /* bufs */
            invokevirtual jdk.incubator.http.SocketTube.writeAvailable:(Ljava/util/List;)J
            lstore 5 /* written */
        start local 5 // long written
        12: .line 331
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
            getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
            ldc "wrote: %d"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            lload 3 /* remaining */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
        13: .line 332
            lload 5 /* written */
            ldc -1
            lcmp
            ifne 16
        14: .line 333
            aload 0 /* this */
            new java.io.EOFException
            dup
            ldc "EOF reached while writing"
            invokespecial java.io.EOFException.<init>:(Ljava/lang/String;)V
            invokevirtual jdk.incubator.http.SocketTube$InternalWriteSubscriber.signalError:(Ljava/lang/Throwable;)V
        15: .line 334
            return
        16: .line 336
      StackMap locals: long long
      StackMap stack:
            getstatic jdk.incubator.http.SocketTube$InternalWriteSubscriber.$assertionsDisabled:Z
            ifne 17
            lload 5 /* written */
            lload 3 /* remaining */
            lcmp
            ifle 17
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        17: .line 337
      StackMap locals:
      StackMap stack:
            lload 3 /* remaining */
            lload 5 /* written */
            lsub
            lconst_0
            lcmp
            ifne 28
        18: .line 338
            aload 0 /* this */
            aconst_null
            putfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.current:Ljava/util/List;
        19: .line 339
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.writeDemand:Ljava/util/concurrent/atomic/AtomicLong;
            invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
            pop2
        20: .line 340
            aload 0 /* this */
            invokedynamic run(Ljdk/incubator/http/SocketTube$InternalWriteSubscriber;)Ljava/lang/Runnable;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()V
                  jdk/incubator/http/SocketTube$InternalWriteSubscriber.requestMore()V (5)
                  ()V
            astore 7 /* requestMore */
        start local 7 // java.lang.Runnable requestMore
        21: .line 341
            iload 1 /* inSelectorThread */
            ifeq 25
        22: .line 342
            getstatic jdk.incubator.http.SocketTube$InternalWriteSubscriber.$assertionsDisabled:Z
            ifne 23
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            getfield jdk.incubator.http.SocketTube.client:Ljdk/incubator/http/HttpClientImpl;
            invokevirtual jdk.incubator.http.HttpClientImpl.isSelectorThread:()Z
            ifne 23
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        23: .line 343
      StackMap locals: java.lang.Runnable
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            getfield jdk.incubator.http.SocketTube.client:Ljdk/incubator/http/HttpClientImpl;
            invokevirtual jdk.incubator.http.HttpClientImpl.theExecutor:()Ljava/util/concurrent/Executor;
            aload 7 /* requestMore */
            invokeinterface java.util.concurrent.Executor.execute:(Ljava/lang/Runnable;)V
        24: .line 344
            goto 33
        25: .line 345
      StackMap locals:
      StackMap stack:
            getstatic jdk.incubator.http.SocketTube$InternalWriteSubscriber.$assertionsDisabled:Z
            ifne 26
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            getfield jdk.incubator.http.SocketTube.client:Ljdk/incubator/http/HttpClientImpl;
            invokevirtual jdk.incubator.http.HttpClientImpl.isSelectorThread:()Z
            ifeq 26
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        26: .line 346
      StackMap locals:
      StackMap stack:
            aload 7 /* requestMore */
            invokeinterface java.lang.Runnable.run:()V
        end local 7 // java.lang.Runnable requestMore
        27: .line 348
            goto 33
        28: .line 349
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* inSelectorThread */
            invokevirtual jdk.incubator.http.SocketTube$InternalWriteSubscriber.resumeWriteEvent:(Z)V
        end local 5 // long written
        end local 3 // long remaining
        29: .line 351
            goto 33
      StackMap locals: jdk.incubator.http.SocketTube$InternalWriteSubscriber int java.util.List
      StackMap stack: java.lang.Throwable
        30: astore 3 /* t */
        start local 3 // java.lang.Throwable t
        31: .line 352
            aload 0 /* this */
            aload 3 /* t */
            invokevirtual jdk.incubator.http.SocketTube$InternalWriteSubscriber.signalError:(Ljava/lang/Throwable;)V
        32: .line 353
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
            invokeinterface java.util.concurrent.Flow$Subscription.cancel:()V
        end local 3 // java.lang.Throwable t
        33: .line 355
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.util.List bufs
        end local 1 // boolean inSelectorThread
        end local 0 // jdk.incubator.http.SocketTube$InternalWriteSubscriber this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   34     0              this  Ljdk/incubator/http/SocketTube$InternalWriteSubscriber;
            0   34     1  inSelectorThread  Z
            1   34     2              bufs  Ljava/util/List<Ljava/nio/ByteBuffer;>;
           10   29     3         remaining  J
           12   29     5           written  J
           21   27     7       requestMore  Ljava/lang/Runnable;
           31   33     3                 t  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           2    15      30  Class java.lang.Throwable
          16    29      30  Class java.lang.Throwable
    MethodParameters:
                  Name  Flags
      inSelectorThread  

  void requestMore();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=8, locals=4, args_size=1
        start local 0 // jdk.incubator.http.SocketTube$InternalWriteSubscriber this
         0: .line 359
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.completed:Z
            ifeq 3
         1: .line 373
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            ldc "leaving requestMore: "
            invokevirtual jdk.incubator.http.SocketTube.debugState:(Ljava/lang/String;)V
         2: .line 359
            return
         3: .line 360
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.writeDemand:Ljava/util/concurrent/atomic/AtomicLong;
            invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
            lstore 1 /* d */
        start local 1 // long d
         4: .line 361
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.writeDemand:Ljava/util/concurrent/atomic/AtomicLong;
            lconst_0
            lconst_1
            invokevirtual java.util.concurrent.atomic.AtomicLong.compareAndSet:(JJ)Z
            ifeq 8
         5: .line 362
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
            getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
            ldc "write: requesting more..."
            invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
         6: .line 363
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
            lconst_1
            invokeinterface java.util.concurrent.Flow$Subscription.request:(J)V
         7: .line 364
            goto 18
         8: .line 365
      StackMap locals: long
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
            getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
            ldc "write: no need to request more: %d"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            lload 1 /* d */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
        end local 1 // long d
         9: .line 367
            goto 18
      StackMap locals: jdk.incubator.http.SocketTube$InternalWriteSubscriber
      StackMap stack: java.lang.Throwable
        10: astore 1 /* t */
        start local 1 // java.lang.Throwable t
        11: .line 368
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
            getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
            aload 1 /* t */
            invokedynamic get(Ljava/lang/Throwable;)Ljava/util/function/Supplier;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  jdk/incubator/http/SocketTube$InternalWriteSubscriber.lambda$1(Ljava/lang/Throwable;)Ljava/lang/String; (6)
                  ()Ljava/lang/String;
            invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/util/function/Supplier;)V
        12: .line 370
            aload 0 /* this */
            aload 1 /* t */
            invokevirtual jdk.incubator.http.SocketTube$InternalWriteSubscriber.signalError:(Ljava/lang/Throwable;)V
        13: .line 371
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
            invokeinterface java.util.concurrent.Flow$Subscription.cancel:()V
        end local 1 // java.lang.Throwable t
        14: .line 373
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            ldc "leaving requestMore: "
            invokevirtual jdk.incubator.http.SocketTube.debugState:(Ljava/lang/String;)V
            goto 19
        15: .line 372
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 3
        16: .line 373
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            ldc "leaving requestMore: "
            invokevirtual jdk.incubator.http.SocketTube.debugState:(Ljava/lang/String;)V
        17: .line 374
            aload 3
            athrow
        18: .line 373
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            ldc "leaving requestMore: "
            invokevirtual jdk.incubator.http.SocketTube.debugState:(Ljava/lang/String;)V
        19: .line 375
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.incubator.http.SocketTube$InternalWriteSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   20     0  this  Ljdk/incubator/http/SocketTube$InternalWriteSubscriber;
            4    9     1     d  J
           11   14     1     t  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           0     1      10  Class java.lang.Throwable
           3     9      10  Class java.lang.Throwable
           0     1      15  any
           3    14      15  any

  public void onError(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.incubator.http.SocketTube$InternalWriteSubscriber this
        start local 1 // java.lang.Throwable throwable
         0: .line 379
            aload 0 /* this */
            aload 1 /* throwable */
            invokevirtual jdk.incubator.http.SocketTube$InternalWriteSubscriber.signalError:(Ljava/lang/Throwable;)V
         1: .line 380
            return
        end local 1 // java.lang.Throwable throwable
        end local 0 // jdk.incubator.http.SocketTube$InternalWriteSubscriber this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Ljdk/incubator/http/SocketTube$InternalWriteSubscriber;
            0    2     1  throwable  Ljava/lang/Throwable;
    MethodParameters:
           Name  Flags
      throwable  

  public void onComplete();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=4, args_size=1
        start local 0 // jdk.incubator.http.SocketTube$InternalWriteSubscriber this
         0: .line 384
            aload 0 /* this */
            iconst_1
            putfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.completed:Z
         1: .line 387
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.current:Ljava/util/List;
            astore 1 /* bufs */
        start local 1 // java.util.List bufs
         2: .line 388
            aload 1 /* bufs */
            ifnonnull 3
            lconst_0
            goto 4
      StackMap locals: java.util.List
      StackMap stack:
         3: aload 1 /* bufs */
            invokestatic jdk.incubator.http.internal.common.Utils.remaining:(Ljava/util/List;)J
      StackMap locals:
      StackMap stack: long
         4: lstore 2 /* remaining */
        start local 2 // long remaining
         5: .line 389
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
            getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
            ldc "write completed, %d yet to send"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            lload 2 /* remaining */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
         6: .line 390
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            ldc "InternalWriteSubscriber::onComplete"
            invokevirtual jdk.incubator.http.SocketTube.debugState:(Ljava/lang/String;)V
         7: .line 391
            return
        end local 2 // long remaining
        end local 1 // java.util.List bufs
        end local 0 // jdk.incubator.http.SocketTube$InternalWriteSubscriber this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    8     0       this  Ljdk/incubator/http/SocketTube$InternalWriteSubscriber;
            2    8     1       bufs  Ljava/util/List<Ljava/nio/ByteBuffer;>;
            5    8     2  remaining  J

  void resumeWriteEvent(boolean);
    descriptor: (Z)V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.incubator.http.SocketTube$InternalWriteSubscriber this
        start local 1 // boolean inSelectorThread
         0: .line 394
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
            getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
            ldc "scheduling write event"
            invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
         1: .line 395
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.writeEvent:Ljdk/incubator/http/SocketTube$InternalWriteSubscriber$WriteEvent;
            aload 0 /* this */
            invokedynamic accept(Ljdk/incubator/http/SocketTube$InternalWriteSubscriber;)Ljava/util/function/Consumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  jdk/incubator/http/SocketTube$InternalWriteSubscriber.signalError(Ljava/lang/Throwable;)V (5)
                  (Ljava/lang/Throwable;)V
            invokevirtual jdk.incubator.http.SocketTube.resumeEvent:(Ljdk/incubator/http/SocketTube$SocketFlowEvent;Ljava/util/function/Consumer;)V
         2: .line 396
            return
        end local 1 // boolean inSelectorThread
        end local 0 // jdk.incubator.http.SocketTube$InternalWriteSubscriber this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    3     0              this  Ljdk/incubator/http/SocketTube$InternalWriteSubscriber;
            0    3     1  inSelectorThread  Z
    MethodParameters:
                  Name  Flags
      inSelectorThread  

  void signalWritable();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.incubator.http.SocketTube$InternalWriteSubscriber this
         0: .line 404
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
            getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
            ldc "channel is writable"
            invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
         1: .line 405
            aload 0 /* this */
            iconst_1
            invokevirtual jdk.incubator.http.SocketTube$InternalWriteSubscriber.tryFlushCurrent:(Z)V
         2: .line 406
            return
        end local 0 // jdk.incubator.http.SocketTube$InternalWriteSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/incubator/http/SocketTube$InternalWriteSubscriber;

  void signalError(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.incubator.http.SocketTube$InternalWriteSubscriber this
        start local 1 // java.lang.Throwable error
         0: .line 409
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
            getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
            aload 1 /* error */
            invokedynamic get(Ljava/lang/Throwable;)Ljava/util/function/Supplier;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  jdk/incubator/http/SocketTube$InternalWriteSubscriber.lambda$3(Ljava/lang/Throwable;)Ljava/lang/String; (6)
                  ()Ljava/lang/String;
            invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/util/function/Supplier;)V
         1: .line 410
            aload 0 /* this */
            iconst_1
            putfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.completed:Z
         2: .line 411
            aload 0 /* this */
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            getfield jdk.incubator.http.SocketTube.readPublisher:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
            aload 1 /* error */
            invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher.signalError:(Ljava/lang/Throwable;)V
         3: .line 412
            return
        end local 1 // java.lang.Throwable error
        end local 0 // jdk.incubator.http.SocketTube$InternalWriteSubscriber this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Ljdk/incubator/http/SocketTube$InternalWriteSubscriber;
            0    4     1  error  Ljava/lang/Throwable;
    MethodParameters:
       Name  Flags
      error  

  public void onNext(java.lang.Object);
    descriptor: (Ljava/lang/Object;)V
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            checkcast java.util.List
            invokevirtual jdk.incubator.http.SocketTube$InternalWriteSubscriber.onNext:(Ljava/util/List;)V
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  static jdk.incubator.http.SocketTube access$1(jdk.incubator.http.SocketTube$InternalWriteSubscriber);
    descriptor: (Ljdk/incubator/http/SocketTube$InternalWriteSubscriber;)Ljdk/incubator/http/SocketTube;
    flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 267
            aload 0
            getfield jdk.incubator.http.SocketTube$InternalWriteSubscriber.this$0:Ljdk/incubator/http/SocketTube;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static java.lang.String lambda$1(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)Ljava/lang/String;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=1, args_size=1
         0: .line 369
            new java.lang.StringBuilder
            dup
            ldc "write: error while requesting more: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static java.lang.String lambda$3(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)Ljava/lang/String;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=1, args_size=1
         0: .line 409
            new java.lang.StringBuilder
            dup
            ldc "write error: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
Signature: Ljava/lang/Object;Ljava/util/concurrent/Flow$Subscriber<Ljava/util/List<Ljava/nio/ByteBuffer;>;>;
SourceFile: "SocketTube.java"
NestHost: jdk.incubator.http.SocketTube
InnerClasses:
  public abstract Logger = java.lang.System$Logger of java.lang.System
  public final Level = java.lang.System$Logger$Level of java.lang.System$Logger
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public abstract Subscriber = java.util.concurrent.Flow$Subscriber of java.util.concurrent.Flow
  public abstract Subscription = java.util.concurrent.Flow$Subscription of java.util.concurrent.Flow
  private final InternalReadPublisher = jdk.incubator.http.SocketTube$InternalReadPublisher of jdk.incubator.http.SocketTube
  private final InternalWriteSubscriber = jdk.incubator.http.SocketTube$InternalWriteSubscriber of jdk.incubator.http.SocketTube
  final WriteEvent = jdk.incubator.http.SocketTube$InternalWriteSubscriber$WriteEvent of jdk.incubator.http.SocketTube$InternalWriteSubscriber
  private abstract SocketFlowEvent = jdk.incubator.http.SocketTube$SocketFlowEvent of jdk.incubator.http.SocketTube