public class jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream extends java.io.InputStream implements jdk.internal.net.http.ResponseSubscribers$TrustedSubscriber<java.io.InputStream>
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream
  super_class: java.io.InputStream
{
  static final int MAX_BUFFERS_IN_QUEUE;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 1

  private static final java.nio.ByteBuffer LAST_BUFFER;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.util.List<java.nio.ByteBuffer> LAST_LIST;
    descriptor: Ljava/util/List;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/util/List<Ljava/nio/ByteBuffer;>;

  private static final jdk.internal.net.http.common.Logger debug;
    descriptor: Ljdk/internal/net/http/common/Logger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private final java.util.concurrent.BlockingQueue<java.util.List<java.nio.ByteBuffer>> buffers;
    descriptor: Ljava/util/concurrent/BlockingQueue;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/concurrent/BlockingQueue<Ljava/util/List<Ljava/nio/ByteBuffer;>;>;

  private volatile java.util.concurrent.Flow$Subscription subscription;
    descriptor: Ljava/util/concurrent/Flow$Subscription;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private volatile boolean closed;
    descriptor: Z
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private volatile java.lang.Throwable failed;
    descriptor: Ljava/lang/Throwable;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private volatile java.util.Iterator<java.nio.ByteBuffer> currentListItr;
    descriptor: Ljava/util/Iterator;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
    Signature: Ljava/util/Iterator<Ljava/nio/ByteBuffer;>;

  private volatile java.nio.ByteBuffer currentBuffer;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private final java.util.concurrent.atomic.AtomicBoolean subscribed;
    descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  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 335
            ldc Ljdk/internal/net/http/ResponseSubscribers;
            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.internal.net.http.ResponseSubscribers$HttpResponseInputStream.$assertionsDisabled:Z
         3: .line 341
            iconst_0
            newarray 8
            invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
            putstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_BUFFER:Ljava/nio/ByteBuffer;
         4: .line 342
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_BUFFER:Ljava/nio/ByteBuffer;
            invokestatic java.util.List.of:(Ljava/lang/Object;)Ljava/util/List;
            putstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_LIST:Ljava/util/List;
         5: .line 344
            ldc "HttpResponseInputStream"
            dup
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            pop
            invokedynamic get(Ljava/lang/String;)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;
                  java/lang/String.toString()Ljava/lang/String; (5)
                  ()Ljava/lang/String;
            getstatic jdk.internal.net.http.common.Utils.DEBUG:Z
            invokestatic jdk.internal.net.http.common.Utils.getDebugLogger:(Ljava/util/function/Supplier;Z)Ljdk/internal/net/http/common/Logger;
         6: .line 343
            putstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
         7: .line 344
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
         0: .line 356
            aload 0 /* this */
            iconst_1
            invokespecial jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.<init>:(I)V
         1: .line 357
            return
        end local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/net/http/ResponseSubscribers$HttpResponseInputStream;

  void <init>(int);
    descriptor: (I)V
    flags: (0x0000) 
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
        start local 1 // int maxBuffers
         0: .line 359
            aload 0 /* this */
            invokespecial java.io.InputStream.<init>:()V
         1: .line 353
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicBoolean
            dup
            invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.subscribed:Ljava/util/concurrent/atomic/AtomicBoolean;
         2: .line 360
            iload 1 /* maxBuffers */
            ifgt 3
            iconst_1
            goto 4
      StackMap locals: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream int
      StackMap stack:
         3: iload 1 /* maxBuffers */
      StackMap locals:
      StackMap stack: int
         4: istore 2 /* capacity */
        start local 2 // int capacity
         5: .line 362
            aload 0 /* this */
            new java.util.concurrent.ArrayBlockingQueue
            dup
            iload 2 /* capacity */
            iconst_1
            iadd
            invokespecial java.util.concurrent.ArrayBlockingQueue.<init>:(I)V
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.buffers:Ljava/util/concurrent/BlockingQueue;
         6: .line 363
            return
        end local 2 // int capacity
        end local 1 // int maxBuffers
        end local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    7     0        this  Ljdk/internal/net/http/ResponseSubscribers$HttpResponseInputStream;
            0    7     1  maxBuffers  I
            5    7     2    capacity  I
    MethodParameters:
            Name  Flags
      maxBuffers  

  public java.util.concurrent.CompletionStage<java.io.InputStream> getBody();
    descriptor: ()Ljava/util/concurrent/CompletionStage;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
         0: .line 371
            aload 0 /* this */
            invokestatic java.util.concurrent.CompletableFuture.completedStage:(Ljava/lang/Object;)Ljava/util/concurrent/CompletionStage;
            areturn
        end local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/ResponseSubscribers$HttpResponseInputStream;
    Signature: ()Ljava/util/concurrent/CompletionStage<Ljava/io/InputStream;>;

  private java.nio.ByteBuffer current();
    descriptor: ()Ljava/nio/ByteBuffer;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
         0: .line 380
            goto 28
         1: .line 382
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.closed:Z
            ifne 2
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.failed:Ljava/lang/Throwable;
            ifnull 3
         2: .line 383
      StackMap locals:
      StackMap stack:
            new java.io.IOException
            dup
            ldc "closed"
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.failed:Ljava/lang/Throwable;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
         3: .line 385
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentBuffer:Ljava/nio/ByteBuffer;
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_BUFFER:Ljava/nio/ByteBuffer;
            if_acmpne 4
            goto 29
         4: .line 388
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentListItr:Ljava/util/Iterator;
            ifnull 5
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentListItr:Ljava/util/Iterator;
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 22
         5: .line 392
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 6
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            ldc "Taking list of Buffers"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
         6: .line 393
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.buffers:Ljava/util/concurrent/BlockingQueue;
            invokeinterface java.util.concurrent.BlockingQueue.take:()Ljava/lang/Object;
            checkcast java.util.List
            astore 1 /* lb */
        start local 1 // java.util.List lb
         7: .line 394
            aload 0 /* this */
            aload 1 /* lb */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentListItr:Ljava/util/Iterator;
         8: .line 395
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 9
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            ldc "List of Buffers Taken"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
         9: .line 398
      StackMap locals: java.util.List
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.closed:Z
            ifne 10
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.failed:Ljava/lang/Throwable;
            ifnull 11
        10: .line 399
      StackMap locals:
      StackMap stack:
            new java.io.IOException
            dup
            ldc "closed"
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.failed:Ljava/lang/Throwable;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        11: .line 402
      StackMap locals:
      StackMap stack:
            aload 1 /* lb */
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_LIST:Ljava/util/List;
            if_acmpne 15
        12: .line 403
            aload 0 /* this */
            aconst_null
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentListItr:Ljava/util/Iterator;
        13: .line 404
            aload 0 /* this */
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_BUFFER:Ljava/nio/ByteBuffer;
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentBuffer:Ljava/nio/ByteBuffer;
        14: .line 405
            goto 29
        15: .line 409
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.subscription:Ljava/util/concurrent/Flow$Subscription;
            astore 2 /* s */
        start local 2 // java.util.concurrent.Flow$Subscription s
        16: .line 410
            aload 2 /* s */
            ifnull 19
        17: .line 411
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 18
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            ldc "Increased demand by 1"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
        18: .line 412
      StackMap locals: java.util.concurrent.Flow$Subscription
      StackMap stack:
            aload 2 /* s */
            lconst_1
            invokeinterface java.util.concurrent.Flow$Subscription.request:(J)V
        19: .line 414
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.$assertionsDisabled:Z
            ifne 20
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentListItr:Ljava/util/Iterator;
            ifnonnull 20
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        20: .line 415
      StackMap locals:
      StackMap stack:
            aload 1 /* lb */
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 22
        21: goto 28
        end local 2 // java.util.concurrent.Flow$Subscription s
        end local 1 // java.util.List lb
        22: .line 417
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.$assertionsDisabled:Z
            ifne 23
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentListItr:Ljava/util/Iterator;
            ifnonnull 23
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        23: .line 418
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.$assertionsDisabled:Z
            ifne 24
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentListItr:Ljava/util/Iterator;
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 24
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        24: .line 419
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 25
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            ldc "Next Buffer"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
        25: .line 420
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentListItr:Ljava/util/Iterator;
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.nio.ByteBuffer
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentBuffer:Ljava/nio/ByteBuffer;
        26: .line 421
            goto 28
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
        27: pop
        28: .line 380
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentBuffer:Ljava/nio/ByteBuffer;
            ifnull 1
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifeq 1
        29: .line 425
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.$assertionsDisabled:Z
            ifne 30
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentBuffer:Ljava/nio/ByteBuffer;
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_BUFFER:Ljava/nio/ByteBuffer;
            if_acmpeq 30
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifne 30
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        30: .line 426
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentBuffer:Ljava/nio/ByteBuffer;
            areturn
        end local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   31     0  this  Ljdk/internal/net/http/ResponseSubscribers$HttpResponseInputStream;
            7   22     1    lb  Ljava/util/List<Ljava/nio/ByteBuffer;>;
           16   22     2     s  Ljava/util/concurrent/Flow$Subscription;
      Exception table:
        from    to  target  type
           4    14      27  Class java.lang.InterruptedException
          15    21      27  Class java.lang.InterruptedException
          22    26      27  Class java.lang.InterruptedException
    Exceptions:
      throws java.io.IOException

  public int read(byte[], int, int);
    descriptor: ([BII)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=6, args_size=4
        start local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
        start local 1 // byte[] bytes
        start local 2 // int off
        start local 3 // int len
         0: .line 434
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.current:()Ljava/nio/ByteBuffer;
            dup
            astore 4 /* buffer */
        start local 4 // java.nio.ByteBuffer buffer
         1: getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_BUFFER:Ljava/nio/ByteBuffer;
            if_acmpne 2
            iconst_m1
            ireturn
         2: .line 438
      StackMap locals: java.nio.ByteBuffer
      StackMap stack:
            aload 4 /* buffer */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            iload 3 /* len */
            invokestatic java.lang.Math.min:(II)I
            istore 5 /* read */
        start local 5 // int read
         3: .line 439
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.$assertionsDisabled:Z
            ifne 5
            iload 5 /* read */
            ifle 4
            iload 5 /* read */
            aload 4 /* buffer */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            if_icmple 5
      StackMap locals: int
      StackMap stack:
         4: new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         5: .line 442
      StackMap locals:
      StackMap stack:
            aload 4 /* buffer */
            aload 1 /* bytes */
            iload 2 /* off */
            iload 5 /* read */
            invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
            pop
         6: .line 443
            iload 5 /* read */
            ireturn
        end local 5 // int read
        end local 4 // java.nio.ByteBuffer buffer
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] bytes
        end local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    this  Ljdk/internal/net/http/ResponseSubscribers$HttpResponseInputStream;
            0    7     1   bytes  [B
            0    7     2     off  I
            0    7     3     len  I
            1    7     4  buffer  Ljava/nio/ByteBuffer;
            3    7     5    read  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      bytes  
      off    
      len    

  public int read();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
         0: .line 449
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.current:()Ljava/nio/ByteBuffer;
            dup
            astore 1 /* buffer */
        start local 1 // java.nio.ByteBuffer buffer
         1: getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_BUFFER:Ljava/nio/ByteBuffer;
            if_acmpne 2
            iconst_m1
            ireturn
         2: .line 450
      StackMap locals: java.nio.ByteBuffer
      StackMap stack:
            aload 1 /* buffer */
            invokevirtual java.nio.ByteBuffer.get:()B
            sipush 255
            iand
            ireturn
        end local 1 // java.nio.ByteBuffer buffer
        end local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Ljdk/internal/net/http/ResponseSubscribers$HttpResponseInputStream;
            1    3     1  buffer  Ljava/nio/ByteBuffer;
    Exceptions:
      throws java.io.IOException

  public int available();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
         0: .line 459
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.closed:Z
            ifeq 1
            iconst_0
            ireturn
         1: .line 460
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 1 /* available */
        start local 1 // int available
         2: .line 461
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentBuffer:Ljava/nio/ByteBuffer;
            astore 2 /* current */
        start local 2 // java.nio.ByteBuffer current
         3: .line 462
            aload 2 /* current */
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_BUFFER:Ljava/nio/ByteBuffer;
            if_acmpne 4
            iconst_0
            ireturn
         4: .line 463
      StackMap locals: int java.nio.ByteBuffer
      StackMap stack:
            aload 2 /* current */
            ifnull 5
            aload 2 /* current */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            istore 1 /* available */
         5: .line 464
      StackMap locals:
      StackMap stack:
            iload 1 /* available */
            ifeq 6
            iload 1 /* available */
            ireturn
         6: .line 465
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentListItr:Ljava/util/Iterator;
            astore 3 /* iterator */
        start local 3 // java.util.Iterator iterator
         7: .line 466
            aload 3 /* iterator */
            ifnull 8
            aload 3 /* iterator */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifeq 8
            iconst_1
            ireturn
         8: .line 467
      StackMap locals: java.util.Iterator
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.buffers:Ljava/util/concurrent/BlockingQueue;
            invokeinterface java.util.concurrent.BlockingQueue.isEmpty:()Z
            ifeq 9
            iconst_0
            ireturn
         9: .line 468
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        end local 3 // java.util.Iterator iterator
        end local 2 // java.nio.ByteBuffer current
        end local 1 // int available
        end local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   10     0       this  Ljdk/internal/net/http/ResponseSubscribers$HttpResponseInputStream;
            2   10     1  available  I
            3   10     2    current  Ljava/nio/ByteBuffer;
            7   10     3   iterator  Ljava/util/Iterator<*>;
    Exceptions:
      throws java.io.IOException

  public void onSubscribe(java.util.concurrent.Flow$Subscription);
    descriptor: (Ljava/util/concurrent/Flow$Subscription;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
        start local 1 // java.util.concurrent.Flow$Subscription s
         0: .line 474
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.subscribed:Ljava/util/concurrent/atomic/AtomicBoolean;
            iconst_0
            iconst_1
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
            ifne 3
         1: .line 475
            aload 1 /* s */
            invokeinterface java.util.concurrent.Flow$Subscription.cancel:()V
         2: .line 476
            goto 31
         3: .line 481
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            astore 3
            monitorenter
         4: .line 482
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.closed:Z
            istore 2 /* closed */
        start local 2 // boolean closed
         5: .line 483
            iload 2 /* closed */
            ifne 7
         6: .line 484
            aload 0 /* this */
            aload 1 /* s */
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.subscription:Ljava/util/concurrent/Flow$Subscription;
         7: .line 481
      StackMap locals: int jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream
      StackMap stack:
            aload 3
            monitorexit
         8: goto 11
        end local 2 // boolean closed
      StackMap locals: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream java.util.concurrent.Flow$Subscription top jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream
      StackMap stack: java.lang.Throwable
         9: aload 3
            monitorexit
        10: athrow
        start local 2 // boolean closed
        11: .line 487
      StackMap locals: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream java.util.concurrent.Flow$Subscription int
      StackMap stack:
            iload 2 /* closed */
            ifeq 14
        12: .line 488
            aload 1 /* s */
            invokeinterface java.util.concurrent.Flow$Subscription.cancel:()V
        13: .line 489
            return
        14: .line 491
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.$assertionsDisabled:Z
            ifne 15
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.buffers:Ljava/util/concurrent/BlockingQueue;
            invokeinterface java.util.concurrent.BlockingQueue.remainingCapacity:()I
            iconst_1
            if_icmpgt 15
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        15: .line 492
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 19
        16: .line 493
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            new java.lang.StringBuilder
            dup
            ldc "onSubscribe: requesting "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        17: .line 494
            iconst_1
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.buffers:Ljava/util/concurrent/BlockingQueue;
            invokeinterface java.util.concurrent.BlockingQueue.remainingCapacity:()I
            iconst_1
            isub
            invokestatic java.lang.Math.max:(II)I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        18: .line 493
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
        19: .line 495
      StackMap locals:
      StackMap stack:
            aload 1 /* s */
            iconst_1
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.buffers:Ljava/util/concurrent/BlockingQueue;
            invokeinterface java.util.concurrent.BlockingQueue.remainingCapacity:()I
            iconst_1
            isub
            invokestatic java.lang.Math.max:(II)I
            i2l
            invokeinterface java.util.concurrent.Flow$Subscription.request:(J)V
        end local 2 // boolean closed
        20: .line 497
            goto 31
      StackMap locals: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream java.util.concurrent.Flow$Subscription
      StackMap stack: java.lang.Throwable
        21: astore 2 /* t */
        start local 2 // java.lang.Throwable t
        22: .line 498
            aload 0 /* this */
            aload 2 /* t */
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.failed:Ljava/lang/Throwable;
        23: .line 500
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.close:()V
        24: .line 501
            goto 30
      StackMap locals: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream java.util.concurrent.Flow$Subscription java.lang.Throwable
      StackMap stack: java.io.IOException
        25: pop
        26: .line 504
            aload 0 /* this */
            aload 2 /* t */
            invokevirtual jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.onError:(Ljava/lang/Throwable;)V
            goto 31
        27: .line 503
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 3
        28: .line 504
            aload 0 /* this */
            aload 2 /* t */
            invokevirtual jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.onError:(Ljava/lang/Throwable;)V
        29: .line 505
            aload 3
            athrow
        30: .line 504
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 2 /* t */
            invokevirtual jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.onError:(Ljava/lang/Throwable;)V
        end local 2 // java.lang.Throwable t
        31: .line 507
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.util.concurrent.Flow$Subscription s
        end local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   32     0    this  Ljdk/internal/net/http/ResponseSubscribers$HttpResponseInputStream;
            0   32     1       s  Ljava/util/concurrent/Flow$Subscription;
            5    9     2  closed  Z
           11   20     2  closed  Z
           22   31     2       t  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           4     8       9  any
           9    10       9  any
           0    13      21  Class java.lang.Throwable
          14    20      21  Class java.lang.Throwable
          23    24      25  Class java.io.IOException
          23    26      27  any
    MethodParameters:
      Name  Flags
      s     

  public void onNext(java.util.List<java.nio.ByteBuffer>);
    descriptor: (Ljava/util/List;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
        start local 1 // java.util.List t
         0: .line 511
            aload 1 /* t */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 513
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 2
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            ldc "next item received"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
         2: .line 514
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.buffers:Ljava/util/concurrent/BlockingQueue;
            aload 1 /* t */
            invokeinterface java.util.concurrent.BlockingQueue.offer:(Ljava/lang/Object;)Z
            ifne 4
         3: .line 515
            new java.lang.IllegalStateException
            dup
            ldc "queue is full"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 517
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 16
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            ldc "item offered"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
         5: .line 518
            goto 16
      StackMap locals:
      StackMap stack: java.lang.Throwable
         6: astore 2 /* ex */
        start local 2 // java.lang.Throwable ex
         7: .line 519
            aload 0 /* this */
            aload 2 /* ex */
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.failed:Ljava/lang/Throwable;
         8: .line 521
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.close:()V
         9: .line 522
            goto 15
      StackMap locals: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream java.util.List java.lang.Throwable
      StackMap stack: java.io.IOException
        10: pop
        11: .line 525
            aload 0 /* this */
            aload 2 /* ex */
            invokevirtual jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.onError:(Ljava/lang/Throwable;)V
            goto 16
        12: .line 524
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 3
        13: .line 525
            aload 0 /* this */
            aload 2 /* ex */
            invokevirtual jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.onError:(Ljava/lang/Throwable;)V
        14: .line 526
            aload 3
            athrow
        15: .line 525
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 2 /* ex */
            invokevirtual jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.onError:(Ljava/lang/Throwable;)V
        end local 2 // java.lang.Throwable ex
        16: .line 528
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.util.List t
        end local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   17     0  this  Ljdk/internal/net/http/ResponseSubscribers$HttpResponseInputStream;
            0   17     1     t  Ljava/util/List<Ljava/nio/ByteBuffer;>;
            7   16     2    ex  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           1     5       6  Class java.lang.Throwable
           8     9      10  Class java.io.IOException
           8    11      12  any
    Signature: (Ljava/util/List<Ljava/nio/ByteBuffer;>;)V
    MethodParameters:
      Name  Flags
      t     

  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.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
        start local 1 // java.lang.Throwable thrwbl
         0: .line 532
            aload 0 /* this */
            aconst_null
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.subscription:Ljava/util/concurrent/Flow$Subscription;
         1: .line 533
            aload 0 /* this */
            aload 1 /* thrwbl */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.Throwable
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.failed:Ljava/lang/Throwable;
         2: .line 541
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.buffers:Ljava/util/concurrent/BlockingQueue;
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_LIST:Ljava/util/List;
            invokeinterface java.util.concurrent.BlockingQueue.offer:(Ljava/lang/Object;)Z
            pop
         3: .line 542
            return
        end local 1 // java.lang.Throwable thrwbl
        end local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Ljdk/internal/net/http/ResponseSubscribers$HttpResponseInputStream;
            0    4     1  thrwbl  Ljava/lang/Throwable;
    MethodParameters:
        Name  Flags
      thrwbl  

  public void onComplete();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
         0: .line 546
            aload 0 /* this */
            aconst_null
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.subscription:Ljava/util/concurrent/Flow$Subscription;
         1: .line 547
            aload 0 /* this */
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_LIST:Ljava/util/List;
            invokevirtual jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.onNext:(Ljava/util/List;)V
         2: .line 548
            return
        end local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/net/http/ResponseSubscribers$HttpResponseInputStream;

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
         0: .line 553
            aload 0 /* this */
            dup
            astore 2
            monitorenter
         1: .line 554
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.closed:Z
            ifeq 3
            aload 2
            monitorexit
         2: return
         3: .line 555
      StackMap locals: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream top jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.closed:Z
         4: .line 556
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.subscription:Ljava/util/concurrent/Flow$Subscription;
            astore 1 /* s */
        start local 1 // java.util.concurrent.Flow$Subscription s
         5: .line 557
            aload 0 /* this */
            aconst_null
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.subscription:Ljava/util/concurrent/Flow$Subscription;
         6: .line 553
            aload 2
            monitorexit
         7: goto 10
        end local 1 // java.util.concurrent.Flow$Subscription s
      StackMap locals:
      StackMap stack: java.lang.Throwable
         8: aload 2
            monitorexit
         9: athrow
        start local 1 // java.util.concurrent.Flow$Subscription s
        10: .line 561
      StackMap locals: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream java.util.concurrent.Flow$Subscription
      StackMap stack:
            aload 1 /* s */
            ifnull 17
        11: .line 562
            aload 1 /* s */
            invokeinterface java.util.concurrent.Flow$Subscription.cancel:()V
        12: .line 564
            goto 17
      StackMap locals:
      StackMap stack: java.lang.Throwable
        13: astore 2
        14: .line 565
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.buffers:Ljava/util/concurrent/BlockingQueue;
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_LIST:Ljava/util/List;
            invokeinterface java.util.concurrent.BlockingQueue.offer:(Ljava/lang/Object;)Z
            pop
        15: .line 566
            aload 0 /* this */
            invokespecial java.io.InputStream.close:()V
        16: .line 567
            aload 2
            athrow
        17: .line 565
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.buffers:Ljava/util/concurrent/BlockingQueue;
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_LIST:Ljava/util/List;
            invokeinterface java.util.concurrent.BlockingQueue.offer:(Ljava/lang/Object;)Z
            pop
        18: .line 566
            aload 0 /* this */
            invokespecial java.io.InputStream.close:()V
        19: .line 568
            return
        end local 1 // java.util.concurrent.Flow$Subscription s
        end local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   20     0  this  Ljdk/internal/net/http/ResponseSubscribers$HttpResponseInputStream;
            5    8     1     s  Ljava/util/concurrent/Flow$Subscription;
           10   20     1     s  Ljava/util/concurrent/Flow$Subscription;
      Exception table:
        from    to  target  type
           1     2       8  any
           3     7       8  any
           8     9       8  any
          10    13      13  any
    Exceptions:
      throws java.io.IOException

  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.internal.net.http.ResponseSubscribers$HttpResponseInputStream.onNext:(Ljava/util/List;)V
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
Signature: Ljava/io/InputStream;Ljdk/internal/net/http/ResponseSubscribers$TrustedSubscriber<Ljava/io/InputStream;>;
SourceFile: "ResponseSubscribers.java"
NestHost: jdk.internal.net.http.ResponseSubscribers
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public abstract Subscription = java.util.concurrent.Flow$Subscription of java.util.concurrent.Flow
  public HttpResponseInputStream = jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream of jdk.internal.net.http.ResponseSubscribers
  public abstract TrustedSubscriber = jdk.internal.net.http.ResponseSubscribers$TrustedSubscriber of jdk.internal.net.http.ResponseSubscribers