public final class io.reactivex.internal.operators.observable.ObservablePublish<T> extends io.reactivex.observables.ConnectableObservable<T> implements io.reactivex.internal.fuseable.HasUpstreamObservableSource<T>, io.reactivex.internal.operators.observable.ObservablePublishClassic<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: io.reactivex.internal.operators.observable.ObservablePublish
  super_class: io.reactivex.observables.ConnectableObservable
{
  final io.reactivex.ObservableSource<T> source;
    descriptor: Lio/reactivex/ObservableSource;
    flags: (0x0010) ACC_FINAL
    Signature: Lio/reactivex/ObservableSource<TT;>;

  final java.util.concurrent.atomic.AtomicReference<io.reactivex.internal.operators.observable.ObservablePublish$PublishObserver<T>> current;
    descriptor: Ljava/util/concurrent/atomic/AtomicReference;
    flags: (0x0010) ACC_FINAL
    Signature: Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/internal/operators/observable/ObservablePublish$PublishObserver<TT;>;>;

  final io.reactivex.ObservableSource<T> onSubscribe;
    descriptor: Lio/reactivex/ObservableSource;
    flags: (0x0010) ACC_FINAL
    Signature: Lio/reactivex/ObservableSource<TT;>;

  public static <T> io.reactivex.observables.ConnectableObservable<T> create(io.reactivex.ObservableSource<T>);
    descriptor: (Lio/reactivex/ObservableSource;)Lio/reactivex/observables/ConnectableObservable;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=3, args_size=1
        start local 0 // io.reactivex.ObservableSource source
         0: .line 50
            new java.util.concurrent.atomic.AtomicReference
            dup
            invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
            astore 1 /* curr */
        start local 1 // java.util.concurrent.atomic.AtomicReference curr
         1: .line 51
            new io.reactivex.internal.operators.observable.ObservablePublish$PublishSource
            dup
            aload 1 /* curr */
            invokespecial io.reactivex.internal.operators.observable.ObservablePublish$PublishSource.<init>:(Ljava/util/concurrent/atomic/AtomicReference;)V
            astore 2 /* onSubscribe */
        start local 2 // io.reactivex.ObservableSource onSubscribe
         2: .line 52
            new io.reactivex.internal.operators.observable.ObservablePublish
            dup
            aload 2 /* onSubscribe */
            aload 0 /* source */
            aload 1 /* curr */
            invokespecial io.reactivex.internal.operators.observable.ObservablePublish.<init>:(Lio/reactivex/ObservableSource;Lio/reactivex/ObservableSource;Ljava/util/concurrent/atomic/AtomicReference;)V
            invokestatic io.reactivex.plugins.RxJavaPlugins.onAssembly:(Lio/reactivex/observables/ConnectableObservable;)Lio/reactivex/observables/ConnectableObservable;
            areturn
        end local 2 // io.reactivex.ObservableSource onSubscribe
        end local 1 // java.util.concurrent.atomic.AtomicReference curr
        end local 0 // io.reactivex.ObservableSource source
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    3     0       source  Lio/reactivex/ObservableSource<TT;>;
            1    3     1         curr  Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/internal/operators/observable/ObservablePublish$PublishObserver<TT;>;>;
            2    3     2  onSubscribe  Lio/reactivex/ObservableSource<TT;>;
    Signature: <T:Ljava/lang/Object;>(Lio/reactivex/ObservableSource<TT;>;)Lio/reactivex/observables/ConnectableObservable<TT;>;
    MethodParameters:
        Name  Flags
      source  

  private void <init>(io.reactivex.ObservableSource<T>, io.reactivex.ObservableSource<T>, java.util.concurrent.atomic.AtomicReference<io.reactivex.internal.operators.observable.ObservablePublish$PublishObserver<T>>);
    descriptor: (Lio/reactivex/ObservableSource;Lio/reactivex/ObservableSource;Ljava/util/concurrent/atomic/AtomicReference;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // io.reactivex.internal.operators.observable.ObservablePublish this
        start local 1 // io.reactivex.ObservableSource onSubscribe
        start local 2 // io.reactivex.ObservableSource source
        start local 3 // java.util.concurrent.atomic.AtomicReference current
         0: .line 55
            aload 0 /* this */
            invokespecial io.reactivex.observables.ConnectableObservable.<init>:()V
         1: .line 57
            aload 0 /* this */
            aload 1 /* onSubscribe */
            putfield io.reactivex.internal.operators.observable.ObservablePublish.onSubscribe:Lio/reactivex/ObservableSource;
         2: .line 58
            aload 0 /* this */
            aload 2 /* source */
            putfield io.reactivex.internal.operators.observable.ObservablePublish.source:Lio/reactivex/ObservableSource;
         3: .line 59
            aload 0 /* this */
            aload 3 /* current */
            putfield io.reactivex.internal.operators.observable.ObservablePublish.current:Ljava/util/concurrent/atomic/AtomicReference;
         4: .line 60
            return
        end local 3 // java.util.concurrent.atomic.AtomicReference current
        end local 2 // io.reactivex.ObservableSource source
        end local 1 // io.reactivex.ObservableSource onSubscribe
        end local 0 // io.reactivex.internal.operators.observable.ObservablePublish this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    5     0         this  Lio/reactivex/internal/operators/observable/ObservablePublish<TT;>;
            0    5     1  onSubscribe  Lio/reactivex/ObservableSource<TT;>;
            0    5     2       source  Lio/reactivex/ObservableSource<TT;>;
            0    5     3      current  Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/internal/operators/observable/ObservablePublish$PublishObserver<TT;>;>;
    Signature: (Lio/reactivex/ObservableSource<TT;>;Lio/reactivex/ObservableSource<TT;>;Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/internal/operators/observable/ObservablePublish$PublishObserver<TT;>;>;)V
    MethodParameters:
             Name  Flags
      onSubscribe  
      source       
      current      final

  public io.reactivex.ObservableSource<T> source();
    descriptor: ()Lio/reactivex/ObservableSource;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.reactivex.internal.operators.observable.ObservablePublish this
         0: .line 64
            aload 0 /* this */
            getfield io.reactivex.internal.operators.observable.ObservablePublish.source:Lio/reactivex/ObservableSource;
            areturn
        end local 0 // io.reactivex.internal.operators.observable.ObservablePublish this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/reactivex/internal/operators/observable/ObservablePublish<TT;>;
    Signature: ()Lio/reactivex/ObservableSource<TT;>;

  public io.reactivex.ObservableSource<T> publishSource();
    descriptor: ()Lio/reactivex/ObservableSource;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.reactivex.internal.operators.observable.ObservablePublish this
         0: .line 69
            aload 0 /* this */
            getfield io.reactivex.internal.operators.observable.ObservablePublish.source:Lio/reactivex/ObservableSource;
            areturn
        end local 0 // io.reactivex.internal.operators.observable.ObservablePublish this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/reactivex/internal/operators/observable/ObservablePublish<TT;>;
    Signature: ()Lio/reactivex/ObservableSource<TT;>;

  protected void subscribeActual(io.reactivex.Observer<? super T>);
    descriptor: (Lio/reactivex/Observer;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.reactivex.internal.operators.observable.ObservablePublish this
        start local 1 // io.reactivex.Observer observer
         0: .line 74
            aload 0 /* this */
            getfield io.reactivex.internal.operators.observable.ObservablePublish.onSubscribe:Lio/reactivex/ObservableSource;
            aload 1 /* observer */
            invokeinterface io.reactivex.ObservableSource.subscribe:(Lio/reactivex/Observer;)V
         1: .line 75
            return
        end local 1 // io.reactivex.Observer observer
        end local 0 // io.reactivex.internal.operators.observable.ObservablePublish this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Lio/reactivex/internal/operators/observable/ObservablePublish<TT;>;
            0    2     1  observer  Lio/reactivex/Observer<-TT;>;
    Signature: (Lio/reactivex/Observer<-TT;>;)V
    MethodParameters:
          Name  Flags
      observer  

  public void connect(io.reactivex.functions.Consumer<? super io.reactivex.disposables.Disposable>);
    descriptor: (Lio/reactivex/functions/Consumer;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=5, args_size=2
        start local 0 // io.reactivex.internal.operators.observable.ObservablePublish this
        start local 1 // io.reactivex.functions.Consumer connection
         0: .line 84
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.reactivex.internal.operators.observable.ObservablePublish.current:Ljava/util/concurrent/atomic/AtomicReference;
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            checkcast io.reactivex.internal.operators.observable.ObservablePublish$PublishObserver
            astore 3 /* ps */
        start local 3 // io.reactivex.internal.operators.observable.ObservablePublish$PublishObserver ps
         1: .line 86
            aload 3 /* ps */
            ifnull 2
            aload 3 /* ps */
            invokevirtual io.reactivex.internal.operators.observable.ObservablePublish$PublishObserver.isDisposed:()Z
            ifeq 6
         2: .line 88
      StackMap locals: io.reactivex.internal.operators.observable.ObservablePublish io.reactivex.functions.Consumer top io.reactivex.internal.operators.observable.ObservablePublish$PublishObserver
      StackMap stack:
            new io.reactivex.internal.operators.observable.ObservablePublish$PublishObserver
            dup
            aload 0 /* this */
            getfield io.reactivex.internal.operators.observable.ObservablePublish.current:Ljava/util/concurrent/atomic/AtomicReference;
            invokespecial io.reactivex.internal.operators.observable.ObservablePublish$PublishObserver.<init>:(Ljava/util/concurrent/atomic/AtomicReference;)V
            astore 4 /* u */
        start local 4 // io.reactivex.internal.operators.observable.ObservablePublish$PublishObserver u
         3: .line 90
            aload 0 /* this */
            getfield io.reactivex.internal.operators.observable.ObservablePublish.current:Ljava/util/concurrent/atomic/AtomicReference;
            aload 3 /* ps */
            aload 4 /* u */
            invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
            ifne 5
         4: .line 93
            goto 0
         5: .line 95
      StackMap locals: io.reactivex.internal.operators.observable.ObservablePublish$PublishObserver
      StackMap stack:
            aload 4 /* u */
            astore 3 /* ps */
        end local 4 // io.reactivex.internal.operators.observable.ObservablePublish$PublishObserver u
         6: .line 99
      StackMap locals:
      StackMap stack:
            aload 3 /* ps */
            getfield io.reactivex.internal.operators.observable.ObservablePublish$PublishObserver.shouldConnect:Ljava/util/concurrent/atomic/AtomicBoolean;
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
            ifne 7
            aload 3 /* ps */
            getfield io.reactivex.internal.operators.observable.ObservablePublish$PublishObserver.shouldConnect:Ljava/util/concurrent/atomic/AtomicBoolean;
            iconst_0
            iconst_1
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
            ifeq 7
            iconst_1
            goto 8
      StackMap locals:
      StackMap stack:
         7: iconst_0
      StackMap locals:
      StackMap stack: int
         8: istore 2 /* doConnect */
        start local 2 // boolean doConnect
         9: .line 116
            aload 1 /* connection */
            aload 3 /* ps */
            invokeinterface io.reactivex.functions.Consumer.accept:(Ljava/lang/Object;)V
        10: .line 117
            goto 14
      StackMap locals: io.reactivex.internal.operators.observable.ObservablePublish io.reactivex.functions.Consumer int io.reactivex.internal.operators.observable.ObservablePublish$PublishObserver
      StackMap stack: java.lang.Throwable
        11: astore 4 /* ex */
        start local 4 // java.lang.Throwable ex
        12: .line 118
            aload 4 /* ex */
            invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
        13: .line 119
            aload 4 /* ex */
            invokestatic io.reactivex.internal.util.ExceptionHelper.wrapOrThrow:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
            athrow
        end local 4 // java.lang.Throwable ex
        14: .line 121
      StackMap locals:
      StackMap stack:
            iload 2 /* doConnect */
            ifeq 16
        15: .line 122
            aload 0 /* this */
            getfield io.reactivex.internal.operators.observable.ObservablePublish.source:Lio/reactivex/ObservableSource;
            aload 3 /* ps */
            invokeinterface io.reactivex.ObservableSource.subscribe:(Lio/reactivex/Observer;)V
        16: .line 124
      StackMap locals:
      StackMap stack:
            return
        end local 3 // io.reactivex.internal.operators.observable.ObservablePublish$PublishObserver ps
        end local 2 // boolean doConnect
        end local 1 // io.reactivex.functions.Consumer connection
        end local 0 // io.reactivex.internal.operators.observable.ObservablePublish this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   17     0        this  Lio/reactivex/internal/operators/observable/ObservablePublish<TT;>;
            0   17     1  connection  Lio/reactivex/functions/Consumer<-Lio/reactivex/disposables/Disposable;>;
            9   17     2   doConnect  Z
            1   17     3          ps  Lio/reactivex/internal/operators/observable/ObservablePublish$PublishObserver<TT;>;
            3    6     4           u  Lio/reactivex/internal/operators/observable/ObservablePublish$PublishObserver<TT;>;
           12   14     4          ex  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           9    10      11  Class java.lang.Throwable
    Signature: (Lio/reactivex/functions/Consumer<-Lio/reactivex/disposables/Disposable;>;)V
    MethodParameters:
            Name  Flags
      connection  
}
Signature: <T:Ljava/lang/Object;>Lio/reactivex/observables/ConnectableObservable<TT;>;Lio/reactivex/internal/fuseable/HasUpstreamObservableSource<TT;>;Lio/reactivex/internal/operators/observable/ObservablePublishClassic<TT;>;
SourceFile: "ObservablePublish.java"
NestMembers:
  io.reactivex.internal.operators.observable.ObservablePublish$InnerDisposable  io.reactivex.internal.operators.observable.ObservablePublish$PublishObserver  io.reactivex.internal.operators.observable.ObservablePublish$PublishSource
InnerClasses:
  final InnerDisposable = io.reactivex.internal.operators.observable.ObservablePublish$InnerDisposable of io.reactivex.internal.operators.observable.ObservablePublish
  final PublishObserver = io.reactivex.internal.operators.observable.ObservablePublish$PublishObserver of io.reactivex.internal.operators.observable.ObservablePublish
  final PublishSource = io.reactivex.internal.operators.observable.ObservablePublish$PublishSource of io.reactivex.internal.operators.observable.ObservablePublish