final class io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber<T, B> extends java.util.concurrent.atomic.AtomicInteger implements io.reactivex.FlowableSubscriber<T>, org.reactivestreams.Subscription, java.lang.Runnable
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber
  super_class: java.util.concurrent.atomic.AtomicInteger
{
  private static final long serialVersionUID;
    descriptor: J
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 2233020065421370272

  final org.reactivestreams.Subscriber<? super io.reactivex.Flowable<T>> downstream;
    descriptor: Lorg/reactivestreams/Subscriber;
    flags: (0x0010) ACC_FINAL
    Signature: Lorg/reactivestreams/Subscriber<-Lio/reactivex/Flowable<TT;>;>;

  final int capacityHint;
    descriptor: I
    flags: (0x0010) ACC_FINAL

  final io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryInnerSubscriber<T, B> boundarySubscriber;
    descriptor: Lio/reactivex/internal/operators/flowable/FlowableWindowBoundary$WindowBoundaryInnerSubscriber;
    flags: (0x0010) ACC_FINAL
    Signature: Lio/reactivex/internal/operators/flowable/FlowableWindowBoundary$WindowBoundaryInnerSubscriber<TT;TB;>;

  final java.util.concurrent.atomic.AtomicReference<org.reactivestreams.Subscription> upstream;
    descriptor: Ljava/util/concurrent/atomic/AtomicReference;
    flags: (0x0010) ACC_FINAL
    Signature: Ljava/util/concurrent/atomic/AtomicReference<Lorg/reactivestreams/Subscription;>;

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

  final io.reactivex.internal.queue.MpscLinkedQueue<java.lang.Object> queue;
    descriptor: Lio/reactivex/internal/queue/MpscLinkedQueue;
    flags: (0x0010) ACC_FINAL
    Signature: Lio/reactivex/internal/queue/MpscLinkedQueue<Ljava/lang/Object;>;

  final io.reactivex.internal.util.AtomicThrowable errors;
    descriptor: Lio/reactivex/internal/util/AtomicThrowable;
    flags: (0x0010) ACC_FINAL

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

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

  static final java.lang.Object NEXT_WINDOW;
    descriptor: Ljava/lang/Object;
    flags: (0x0018) ACC_STATIC, ACC_FINAL

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

  io.reactivex.processors.UnicastProcessor<T> window;
    descriptor: Lio/reactivex/processors/UnicastProcessor;
    flags: (0x0000) 
    Signature: Lio/reactivex/processors/UnicastProcessor<TT;>;

  long emitted;
    descriptor: J
    flags: (0x0000) 

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 76
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putstatic io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.NEXT_WINDOW:Ljava/lang/Object;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(org.reactivestreams.Subscriber<? super io.reactivex.Flowable<T>>, );
    descriptor: (Lorg/reactivestreams/Subscriber;I)V
    flags: (0x0000) 
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber this
        start local 1 // org.reactivestreams.Subscriber downstream
        start local 2 // int capacityHint
         0: .line 84
            aload 0 /* this */
            invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
         1: .line 85
            aload 0 /* this */
            aload 1 /* downstream */
            putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.downstream:Lorg/reactivestreams/Subscriber;
         2: .line 86
            aload 0 /* this */
            iload 2 /* capacityHint */
            putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.capacityHint:I
         3: .line 87
            aload 0 /* this */
            new io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryInnerSubscriber
            dup
            aload 0 /* this */
            invokespecial io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryInnerSubscriber.<init>:(Lio/reactivex/internal/operators/flowable/FlowableWindowBoundary$WindowBoundaryMainSubscriber;)V
            putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.boundarySubscriber:Lio/reactivex/internal/operators/flowable/FlowableWindowBoundary$WindowBoundaryInnerSubscriber;
         4: .line 88
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicReference
            dup
            invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
            putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
         5: .line 89
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicInteger
            dup
            iconst_1
            invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
            putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.windows:Ljava/util/concurrent/atomic/AtomicInteger;
         6: .line 90
            aload 0 /* this */
            new io.reactivex.internal.queue.MpscLinkedQueue
            dup
            invokespecial io.reactivex.internal.queue.MpscLinkedQueue.<init>:()V
            putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.queue:Lio/reactivex/internal/queue/MpscLinkedQueue;
         7: .line 91
            aload 0 /* this */
            new io.reactivex.internal.util.AtomicThrowable
            dup
            invokespecial io.reactivex.internal.util.AtomicThrowable.<init>:()V
            putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.errors:Lio/reactivex/internal/util/AtomicThrowable;
         8: .line 92
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicBoolean
            dup
            invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
            putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.stopWindows:Ljava/util/concurrent/atomic/AtomicBoolean;
         9: .line 93
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicLong
            dup
            invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
            putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
        10: .line 94
            return
        end local 2 // int capacityHint
        end local 1 // org.reactivestreams.Subscriber downstream
        end local 0 // io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   11     0          this  Lio/reactivex/internal/operators/flowable/FlowableWindowBoundary$WindowBoundaryMainSubscriber<TT;TB;>;
            0   11     1    downstream  Lorg/reactivestreams/Subscriber<-Lio/reactivex/Flowable<TT;>;>;
            0   11     2  capacityHint  I
    Signature: (Lorg/reactivestreams/Subscriber<-Lio/reactivex/Flowable<TT;>;>;I)V
    MethodParameters:
              Name  Flags
      downstream    
      capacityHint  

  public void onSubscribe(org.reactivestreams.Subscription);
    descriptor: (Lorg/reactivestreams/Subscription;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber this
        start local 1 // org.reactivestreams.Subscription s
         0: .line 98
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
            aload 1 /* s */
            ldc 9223372036854775807
            invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.setOnce:(Ljava/util/concurrent/atomic/AtomicReference;Lorg/reactivestreams/Subscription;J)Z
            pop
         1: .line 99
            return
        end local 1 // org.reactivestreams.Subscription s
        end local 0 // io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/reactivex/internal/operators/flowable/FlowableWindowBoundary$WindowBoundaryMainSubscriber<TT;TB;>;
            0    2     1     s  Lorg/reactivestreams/Subscription;
    MethodParameters:
      Name  Flags
      s     

  public void onNext();
    descriptor: (Ljava/lang/Object;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber this
        start local 1 // java.lang.Object t
         0: .line 103
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.queue:Lio/reactivex/internal/queue/MpscLinkedQueue;
            aload 1 /* t */
            invokevirtual io.reactivex.internal.queue.MpscLinkedQueue.offer:(Ljava/lang/Object;)Z
            pop
         1: .line 104
            aload 0 /* this */
            invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.drain:()V
         2: .line 105
            return
        end local 1 // java.lang.Object t
        end local 0 // io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lio/reactivex/internal/operators/flowable/FlowableWindowBoundary$WindowBoundaryMainSubscriber<TT;TB;>;
            0    3     1     t  TT;
    Signature: (TT;)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 // io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber this
        start local 1 // java.lang.Throwable e
         0: .line 109
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.boundarySubscriber:Lio/reactivex/internal/operators/flowable/FlowableWindowBoundary$WindowBoundaryInnerSubscriber;
            invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryInnerSubscriber.dispose:()V
         1: .line 110
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.errors:Lio/reactivex/internal/util/AtomicThrowable;
            aload 1 /* e */
            invokevirtual io.reactivex.internal.util.AtomicThrowable.addThrowable:(Ljava/lang/Throwable;)Z
            ifeq 5
         2: .line 111
            aload 0 /* this */
            iconst_1
            putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.done:Z
         3: .line 112
            aload 0 /* this */
            invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.drain:()V
         4: .line 113
            goto 6
         5: .line 114
      StackMap locals:
      StackMap stack:
            aload 1 /* e */
            invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
         6: .line 116
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.Throwable e
        end local 0 // io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lio/reactivex/internal/operators/flowable/FlowableWindowBoundary$WindowBoundaryMainSubscriber<TT;TB;>;
            0    7     1     e  Ljava/lang/Throwable;
    MethodParameters:
      Name  Flags
      e     

  public void onComplete();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber this
         0: .line 120
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.boundarySubscriber:Lio/reactivex/internal/operators/flowable/FlowableWindowBoundary$WindowBoundaryInnerSubscriber;
            invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryInnerSubscriber.dispose:()V
         1: .line 121
            aload 0 /* this */
            iconst_1
            putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.done:Z
         2: .line 122
            aload 0 /* this */
            invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.drain:()V
         3: .line 123
            return
        end local 0 // io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lio/reactivex/internal/operators/flowable/FlowableWindowBoundary$WindowBoundaryMainSubscriber<TT;TB;>;

  public void cancel();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber this
         0: .line 127
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.stopWindows:Ljava/util/concurrent/atomic/AtomicBoolean;
            iconst_0
            iconst_1
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
            ifeq 4
         1: .line 128
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.boundarySubscriber:Lio/reactivex/internal/operators/flowable/FlowableWindowBoundary$WindowBoundaryInnerSubscriber;
            invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryInnerSubscriber.dispose:()V
         2: .line 129
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.windows:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
            ifne 4
         3: .line 130
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
            invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.cancel:(Ljava/util/concurrent/atomic/AtomicReference;)Z
            pop
         4: .line 133
      StackMap locals:
      StackMap stack:
            return
        end local 0 // io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lio/reactivex/internal/operators/flowable/FlowableWindowBoundary$WindowBoundaryMainSubscriber<TT;TB;>;

  public void request(long);
    descriptor: (J)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber this
        start local 1 // long n
         0: .line 137
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
            lload 1 /* n */
            invokestatic io.reactivex.internal.util.BackpressureHelper.add:(Ljava/util/concurrent/atomic/AtomicLong;J)J
            pop2
         1: .line 138
            return
        end local 1 // long n
        end local 0 // io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/reactivex/internal/operators/flowable/FlowableWindowBoundary$WindowBoundaryMainSubscriber<TT;TB;>;
            0    2     1     n  J
    MethodParameters:
      Name  Flags
      n     

  public void run();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber this
         0: .line 142
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.windows:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
            ifne 2
         1: .line 143
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
            invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.cancel:(Ljava/util/concurrent/atomic/AtomicReference;)Z
            pop
         2: .line 145
      StackMap locals:
      StackMap stack:
            return
        end local 0 // io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lio/reactivex/internal/operators/flowable/FlowableWindowBoundary$WindowBoundaryMainSubscriber<TT;TB;>;

  void innerNext();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber this
         0: .line 148
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.queue:Lio/reactivex/internal/queue/MpscLinkedQueue;
            getstatic io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.NEXT_WINDOW:Ljava/lang/Object;
            invokevirtual io.reactivex.internal.queue.MpscLinkedQueue.offer:(Ljava/lang/Object;)Z
            pop
         1: .line 149
            aload 0 /* this */
            invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.drain:()V
         2: .line 150
            return
        end local 0 // io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lio/reactivex/internal/operators/flowable/FlowableWindowBoundary$WindowBoundaryMainSubscriber<TT;TB;>;

  void innerError(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber this
        start local 1 // java.lang.Throwable e
         0: .line 153
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
            invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.cancel:(Ljava/util/concurrent/atomic/AtomicReference;)Z
            pop
         1: .line 154
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.errors:Lio/reactivex/internal/util/AtomicThrowable;
            aload 1 /* e */
            invokevirtual io.reactivex.internal.util.AtomicThrowable.addThrowable:(Ljava/lang/Throwable;)Z
            ifeq 5
         2: .line 155
            aload 0 /* this */
            iconst_1
            putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.done:Z
         3: .line 156
            aload 0 /* this */
            invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.drain:()V
         4: .line 157
            goto 6
         5: .line 158
      StackMap locals:
      StackMap stack:
            aload 1 /* e */
            invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
         6: .line 160
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.Throwable e
        end local 0 // io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lio/reactivex/internal/operators/flowable/FlowableWindowBoundary$WindowBoundaryMainSubscriber<TT;TB;>;
            0    7     1     e  Ljava/lang/Throwable;
    MethodParameters:
      Name  Flags
      e     

  void innerComplete();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber this
         0: .line 163
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
            invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.cancel:(Ljava/util/concurrent/atomic/AtomicReference;)Z
            pop
         1: .line 164
            aload 0 /* this */
            iconst_1
            putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.done:Z
         2: .line 165
            aload 0 /* this */
            invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.drain:()V
         3: .line 166
            return
        end local 0 // io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lio/reactivex/internal/operators/flowable/FlowableWindowBoundary$WindowBoundaryMainSubscriber<TT;TB;>;

  void drain();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=4, locals=12, args_size=1
        start local 0 // io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber this
         0: .line 170
            aload 0 /* this */
            invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.getAndIncrement:()I
            ifeq 2
         1: .line 171
            return
         2: .line 174
      StackMap locals:
      StackMap stack:
            iconst_1
            istore 1 /* missed */
        start local 1 // int missed
         3: .line 175
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.downstream:Lorg/reactivestreams/Subscriber;
            astore 2 /* downstream */
        start local 2 // org.reactivestreams.Subscriber downstream
         4: .line 176
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.queue:Lio/reactivex/internal/queue/MpscLinkedQueue;
            astore 3 /* queue */
        start local 3 // io.reactivex.internal.queue.MpscLinkedQueue queue
         5: .line 177
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.errors:Lio/reactivex/internal/util/AtomicThrowable;
            astore 4 /* errors */
        start local 4 // io.reactivex.internal.util.AtomicThrowable errors
         6: .line 178
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.emitted:J
            lstore 5 /* emitted */
        start local 5 // long emitted
         7: .line 183
      StackMap locals: io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber int org.reactivestreams.Subscriber io.reactivex.internal.queue.MpscLinkedQueue io.reactivex.internal.util.AtomicThrowable long
      StackMap stack:
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.windows:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
            ifne 11
         8: .line 184
            aload 3 /* queue */
            invokevirtual io.reactivex.internal.queue.MpscLinkedQueue.clear:()V
         9: .line 185
            aload 0 /* this */
            aconst_null
            putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.window:Lio/reactivex/processors/UnicastProcessor;
        10: .line 186
            return
        11: .line 189
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.window:Lio/reactivex/processors/UnicastProcessor;
            astore 7 /* w */
        start local 7 // io.reactivex.processors.UnicastProcessor w
        12: .line 191
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.done:Z
            istore 8 /* d */
        start local 8 // boolean d
        13: .line 193
            iload 8 /* d */
            ifeq 21
            aload 4 /* errors */
            invokevirtual io.reactivex.internal.util.AtomicThrowable.get:()Ljava/lang/Object;
            ifnull 21
        14: .line 194
            aload 3 /* queue */
            invokevirtual io.reactivex.internal.queue.MpscLinkedQueue.clear:()V
        15: .line 195
            aload 4 /* errors */
            invokevirtual io.reactivex.internal.util.AtomicThrowable.terminate:()Ljava/lang/Throwable;
            astore 9 /* ex */
        start local 9 // java.lang.Throwable ex
        16: .line 196
            aload 7 /* w */
            ifnull 19
        17: .line 197
            aload 0 /* this */
            aconst_null
            putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.window:Lio/reactivex/processors/UnicastProcessor;
        18: .line 198
            aload 7 /* w */
            aload 9 /* ex */
            invokevirtual io.reactivex.processors.UnicastProcessor.onError:(Ljava/lang/Throwable;)V
        19: .line 200
      StackMap locals: io.reactivex.processors.UnicastProcessor int java.lang.Throwable
      StackMap stack:
            aload 2 /* downstream */
            aload 9 /* ex */
            invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
        20: .line 201
            return
        end local 9 // java.lang.Throwable ex
        21: .line 204
      StackMap locals:
      StackMap stack:
            aload 3 /* queue */
            invokevirtual io.reactivex.internal.queue.MpscLinkedQueue.poll:()Ljava/lang/Object;
            astore 9 /* v */
        start local 9 // java.lang.Object v
        22: .line 206
            aload 9 /* v */
            ifnonnull 23
            iconst_1
            goto 24
      StackMap locals: java.lang.Object
      StackMap stack:
        23: iconst_0
      StackMap locals:
      StackMap stack: int
        24: istore 10 /* empty */
        start local 10 // boolean empty
        25: .line 208
            iload 8 /* d */
            ifeq 38
            iload 10 /* empty */
            ifeq 38
        26: .line 209
            aload 4 /* errors */
            invokevirtual io.reactivex.internal.util.AtomicThrowable.terminate:()Ljava/lang/Throwable;
            astore 11 /* ex */
        start local 11 // java.lang.Throwable ex
        27: .line 210
            aload 11 /* ex */
            ifnonnull 33
        28: .line 211
            aload 7 /* w */
            ifnull 31
        29: .line 212
            aload 0 /* this */
            aconst_null
            putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.window:Lio/reactivex/processors/UnicastProcessor;
        30: .line 213
            aload 7 /* w */
            invokevirtual io.reactivex.processors.UnicastProcessor.onComplete:()V
        31: .line 215
      StackMap locals: int java.lang.Throwable
      StackMap stack:
            aload 2 /* downstream */
            invokeinterface org.reactivestreams.Subscriber.onComplete:()V
        32: .line 216
            goto 37
        33: .line 217
      StackMap locals:
      StackMap stack:
            aload 7 /* w */
            ifnull 36
        34: .line 218
            aload 0 /* this */
            aconst_null
            putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.window:Lio/reactivex/processors/UnicastProcessor;
        35: .line 219
            aload 7 /* w */
            aload 11 /* ex */
            invokevirtual io.reactivex.processors.UnicastProcessor.onError:(Ljava/lang/Throwable;)V
        36: .line 221
      StackMap locals:
      StackMap stack:
            aload 2 /* downstream */
            aload 11 /* ex */
            invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
        37: .line 223
      StackMap locals:
      StackMap stack:
            return
        end local 11 // java.lang.Throwable ex
        38: .line 226
      StackMap locals:
      StackMap stack:
            iload 10 /* empty */
            ifeq 40
        39: .line 227
            goto 59
        40: .line 230
      StackMap locals:
      StackMap stack:
            aload 9 /* v */
            getstatic io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.NEXT_WINDOW:Ljava/lang/Object;
            if_acmpeq 43
        41: .line 231
            aload 7 /* w */
            aload 9 /* v */
            invokevirtual io.reactivex.processors.UnicastProcessor.onNext:(Ljava/lang/Object;)V
        42: .line 232
            goto 7
        43: .line 235
      StackMap locals:
      StackMap stack:
            aload 7 /* w */
            ifnull 46
        44: .line 236
            aload 0 /* this */
            aconst_null
            putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.window:Lio/reactivex/processors/UnicastProcessor;
        45: .line 237
            aload 7 /* w */
            invokevirtual io.reactivex.processors.UnicastProcessor.onComplete:()V
        46: .line 240
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.stopWindows:Ljava/util/concurrent/atomic/AtomicBoolean;
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
            ifne 7
        47: .line 241
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.capacityHint:I
            aload 0 /* this */
            invokestatic io.reactivex.processors.UnicastProcessor.create:(ILjava/lang/Runnable;)Lio/reactivex/processors/UnicastProcessor;
            astore 7 /* w */
        48: .line 242
            aload 0 /* this */
            aload 7 /* w */
            putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.window:Lio/reactivex/processors/UnicastProcessor;
        49: .line 243
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.windows:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndIncrement:()I
            pop
        50: .line 245
            lload 5 /* emitted */
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
            invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
            lcmp
            ifeq 54
        51: .line 246
            lload 5 /* emitted */
            lconst_1
            ladd
            lstore 5 /* emitted */
        52: .line 247
            aload 2 /* downstream */
            aload 7 /* w */
            invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
        53: .line 248
            goto 7
        54: .line 249
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
            invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.cancel:(Ljava/util/concurrent/atomic/AtomicReference;)Z
            pop
        55: .line 250
            aload 0 /* this */
            getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.boundarySubscriber:Lio/reactivex/internal/operators/flowable/FlowableWindowBoundary$WindowBoundaryInnerSubscriber;
            invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryInnerSubscriber.dispose:()V
        56: .line 251
            aload 4 /* errors */
            new io.reactivex.exceptions.MissingBackpressureException
            dup
            ldc "Could not deliver a window due to lack of requests"
            invokespecial io.reactivex.exceptions.MissingBackpressureException.<init>:(Ljava/lang/String;)V
            invokevirtual io.reactivex.internal.util.AtomicThrowable.addThrowable:(Ljava/lang/Throwable;)Z
            pop
        57: .line 252
            aload 0 /* this */
            iconst_1
            putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.done:Z
        end local 10 // boolean empty
        end local 9 // java.lang.Object v
        end local 8 // boolean d
        end local 7 // io.reactivex.processors.UnicastProcessor w
        58: .line 182
            goto 7
        59: .line 257
      StackMap locals: io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber int org.reactivestreams.Subscriber io.reactivex.internal.queue.MpscLinkedQueue io.reactivex.internal.util.AtomicThrowable long
      StackMap stack:
            aload 0 /* this */
            lload 5 /* emitted */
            putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.emitted:J
        60: .line 258
            aload 0 /* this */
            iload 1 /* missed */
            ineg
            invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.addAndGet:(I)I
            istore 1 /* missed */
        61: .line 259
            iload 1 /* missed */
            ifne 7
        62: .line 263
            return
        end local 5 // long emitted
        end local 4 // io.reactivex.internal.util.AtomicThrowable errors
        end local 3 // io.reactivex.internal.queue.MpscLinkedQueue queue
        end local 2 // org.reactivestreams.Subscriber downstream
        end local 1 // int missed
        end local 0 // io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   63     0        this  Lio/reactivex/internal/operators/flowable/FlowableWindowBoundary$WindowBoundaryMainSubscriber<TT;TB;>;
            3   63     1      missed  I
            4   63     2  downstream  Lorg/reactivestreams/Subscriber<-Lio/reactivex/Flowable<TT;>;>;
            5   63     3       queue  Lio/reactivex/internal/queue/MpscLinkedQueue<Ljava/lang/Object;>;
            6   63     4      errors  Lio/reactivex/internal/util/AtomicThrowable;
            7   63     5     emitted  J
           12   58     7           w  Lio/reactivex/processors/UnicastProcessor<TT;>;
           13   58     8           d  Z
           16   21     9          ex  Ljava/lang/Throwable;
           22   58     9           v  Ljava/lang/Object;
           25   58    10       empty  Z
           27   38    11          ex  Ljava/lang/Throwable;
}
Signature: <T:Ljava/lang/Object;B:Ljava/lang/Object;>Ljava/util/concurrent/atomic/AtomicInteger;Lio/reactivex/FlowableSubscriber<TT;>;Lorg/reactivestreams/Subscription;Ljava/lang/Runnable;
SourceFile: "FlowableWindowBoundary.java"
NestHost: io.reactivex.internal.operators.flowable.FlowableWindowBoundary
InnerClasses:
  final WindowBoundaryInnerSubscriber = io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryInnerSubscriber of io.reactivex.internal.operators.flowable.FlowableWindowBoundary
  final WindowBoundaryMainSubscriber = io.reactivex.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber of io.reactivex.internal.operators.flowable.FlowableWindowBoundary