672 lines
		
	
	
		
			17 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			672 lines
		
	
	
		
			17 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public final Lio/reactivex/rxjava3/subjects/PublishSubject;
 | |
| .super Lio/reactivex/rxjava3/subjects/c;
 | |
| .source "PublishSubject.java"
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation system Ldalvik/annotation/MemberClasses;
 | |
|     value = {
 | |
|         Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/Signature;
 | |
|     value = {
 | |
|         "<T:",
 | |
|         "Ljava/lang/Object;",
 | |
|         ">",
 | |
|         "Lio/reactivex/rxjava3/subjects/c<",
 | |
|         "TT;>;"
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # static fields
 | |
| .field public static final c:[Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
| .field public static final d:[Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field public final a:Ljava/util/concurrent/atomic/AtomicReference;
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "Ljava/util/concurrent/atomic/AtomicReference<",
 | |
|             "[",
 | |
|             "Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable<",
 | |
|             "TT;>;>;"
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field public b:Ljava/lang/Throwable;
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public static constructor <clinit>()V
 | |
|     .locals 2
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     new-array v1, v0, [Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
|     .line 1
 | |
|     sput-object v1, Lio/reactivex/rxjava3/subjects/PublishSubject;->c:[Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
|     new-array v0, v0, [Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
|     .line 2
 | |
|     sput-object v0, Lio/reactivex/rxjava3/subjects/PublishSubject;->d:[Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>()V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0}, Lio/reactivex/rxjava3/subjects/c;-><init>()V
 | |
| 
 | |
|     .line 2
 | |
|     new-instance v0, Ljava/util/concurrent/atomic/AtomicReference;
 | |
| 
 | |
|     sget-object v1, Lio/reactivex/rxjava3/subjects/PublishSubject;->d:[Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
|     invoke-direct {v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;-><init>(Ljava/lang/Object;)V
 | |
| 
 | |
|     iput-object v0, p0, Lio/reactivex/rxjava3/subjects/PublishSubject;->a:Ljava/util/concurrent/atomic/AtomicReference;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public static O8()Lio/reactivex/rxjava3/subjects/PublishSubject;
 | |
|     .locals 1
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "<T:",
 | |
|             "Ljava/lang/Object;",
 | |
|             ">()",
 | |
|             "Lio/reactivex/rxjava3/subjects/PublishSubject<",
 | |
|             "TT;>;"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation runtime Lio/reactivex/rxjava3/annotations/CheckReturnValue;
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation build Lio/reactivex/rxjava3/annotations/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     new-instance v0, Lio/reactivex/rxjava3/subjects/PublishSubject;
 | |
| 
 | |
|     invoke-direct {v0}, Lio/reactivex/rxjava3/subjects/PublishSubject;-><init>()V
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public I8()Ljava/lang/Throwable;
 | |
|     .locals 2
 | |
|     .annotation runtime Lio/reactivex/rxjava3/annotations/CheckReturnValue;
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation build Lio/reactivex/rxjava3/annotations/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lio/reactivex/rxjava3/subjects/PublishSubject;->a:Ljava/util/concurrent/atomic/AtomicReference;
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     sget-object v1, Lio/reactivex/rxjava3/subjects/PublishSubject;->c:[Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
|     if-ne v0, v1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lio/reactivex/rxjava3/subjects/PublishSubject;->b:Ljava/lang/Throwable;
 | |
| 
 | |
|     return-object v0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public J8()Z
 | |
|     .locals 2
 | |
|     .annotation runtime Lio/reactivex/rxjava3/annotations/CheckReturnValue;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lio/reactivex/rxjava3/subjects/PublishSubject;->a:Ljava/util/concurrent/atomic/AtomicReference;
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     sget-object v1, Lio/reactivex/rxjava3/subjects/PublishSubject;->c:[Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
|     if-ne v0, v1, :cond_0
 | |
| 
 | |
|     iget-object v0, p0, Lio/reactivex/rxjava3/subjects/PublishSubject;->b:Ljava/lang/Throwable;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public K8()Z
 | |
|     .locals 1
 | |
|     .annotation runtime Lio/reactivex/rxjava3/annotations/CheckReturnValue;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lio/reactivex/rxjava3/subjects/PublishSubject;->a:Ljava/util/concurrent/atomic/AtomicReference;
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, [Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
|     array-length v0, v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public L8()Z
 | |
|     .locals 2
 | |
|     .annotation runtime Lio/reactivex/rxjava3/annotations/CheckReturnValue;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lio/reactivex/rxjava3/subjects/PublishSubject;->a:Ljava/util/concurrent/atomic/AtomicReference;
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     sget-object v1, Lio/reactivex/rxjava3/subjects/PublishSubject;->c:[Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
|     if-ne v0, v1, :cond_0
 | |
| 
 | |
|     iget-object v0, p0, Lio/reactivex/rxjava3/subjects/PublishSubject;->b:Ljava/lang/Throwable;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public N8(Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;)Z
 | |
|     .locals 4
 | |
|     .annotation system Ldalvik/annotation/MethodParameters;
 | |
|         accessFlags = {
 | |
|             0x0
 | |
|         }
 | |
|         names = {
 | |
|             "ps"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "(",
 | |
|             "Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable<",
 | |
|             "TT;>;)Z"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Lio/reactivex/rxjava3/subjects/PublishSubject;->a:Ljava/util/concurrent/atomic/AtomicReference;
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, [Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
|     .line 2
 | |
|     sget-object v1, Lio/reactivex/rxjava3/subjects/PublishSubject;->c:[Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     if-ne v0, v1, :cond_1
 | |
| 
 | |
|     return v2
 | |
| 
 | |
|     .line 3
 | |
|     :cond_1
 | |
|     array-length v1, v0
 | |
| 
 | |
|     add-int/lit8 v3, v1, 0x1
 | |
| 
 | |
|     .line 4
 | |
|     new-array v3, v3, [Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
|     .line 5
 | |
|     invoke-static {v0, v2, v3, v2, v1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
 | |
| 
 | |
|     .line 6
 | |
|     aput-object p1, v3, v1
 | |
| 
 | |
|     .line 7
 | |
|     iget-object v1, p0, Lio/reactivex/rxjava3/subjects/PublishSubject;->a:Ljava/util/concurrent/atomic/AtomicReference;
 | |
| 
 | |
|     invoke-virtual {v1, v0, v3}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     return p1
 | |
| .end method
 | |
| 
 | |
| .method public P8(Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;)V
 | |
|     .locals 6
 | |
|     .annotation system Ldalvik/annotation/MethodParameters;
 | |
|         accessFlags = {
 | |
|             0x0
 | |
|         }
 | |
|         names = {
 | |
|             "ps"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "(",
 | |
|             "Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable<",
 | |
|             "TT;>;)V"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Lio/reactivex/rxjava3/subjects/PublishSubject;->a:Ljava/util/concurrent/atomic/AtomicReference;
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, [Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
|     .line 2
 | |
|     sget-object v1, Lio/reactivex/rxjava3/subjects/PublishSubject;->c:[Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
|     if-eq v0, v1, :cond_6
 | |
| 
 | |
|     sget-object v1, Lio/reactivex/rxjava3/subjects/PublishSubject;->d:[Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
|     if-ne v0, v1, :cond_1
 | |
| 
 | |
|     goto :goto_3
 | |
| 
 | |
|     .line 3
 | |
|     :cond_1
 | |
|     array-length v1, v0
 | |
| 
 | |
|     const/4 v2, -0x1
 | |
| 
 | |
|     const/4 v3, 0x0
 | |
| 
 | |
|     move v4, v3
 | |
| 
 | |
|     :goto_0
 | |
|     if-ge v4, v1, :cond_3
 | |
| 
 | |
|     .line 4
 | |
|     aget-object v5, v0, v4
 | |
| 
 | |
|     if-ne v5, p1, :cond_2
 | |
| 
 | |
|     move v2, v4
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_2
 | |
|     add-int/lit8 v4, v4, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_3
 | |
|     :goto_1
 | |
|     if-gez v2, :cond_4
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     :cond_4
 | |
|     const/4 v4, 0x1
 | |
| 
 | |
|     if-ne v1, v4, :cond_5
 | |
| 
 | |
|     .line 5
 | |
|     sget-object v1, Lio/reactivex/rxjava3/subjects/PublishSubject;->d:[Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
|     goto :goto_2
 | |
| 
 | |
|     :cond_5
 | |
|     add-int/lit8 v5, v1, -0x1
 | |
| 
 | |
|     .line 6
 | |
|     new-array v5, v5, [Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
|     .line 7
 | |
|     invoke-static {v0, v3, v5, v3, v2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
 | |
| 
 | |
|     add-int/lit8 v3, v2, 0x1
 | |
| 
 | |
|     sub-int/2addr v1, v2
 | |
| 
 | |
|     sub-int/2addr v1, v4
 | |
| 
 | |
|     .line 8
 | |
|     invoke-static {v0, v3, v5, v2, v1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
 | |
| 
 | |
|     move-object v1, v5
 | |
| 
 | |
|     .line 9
 | |
|     :goto_2
 | |
|     iget-object v2, p0, Lio/reactivex/rxjava3/subjects/PublishSubject;->a:Ljava/util/concurrent/atomic/AtomicReference;
 | |
| 
 | |
|     invoke-virtual {v2, v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     :cond_6
 | |
|     :goto_3
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public l6(Lai/n0;)V
 | |
|     .locals 2
 | |
|     .annotation system Ldalvik/annotation/MethodParameters;
 | |
|         accessFlags = {
 | |
|             0x0
 | |
|         }
 | |
|         names = {
 | |
|             "t"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "(",
 | |
|             "Lai/n0<",
 | |
|             "-TT;>;)V"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     new-instance v0, Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
|     invoke-direct {v0, p1, p0}, Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;-><init>(Lai/n0;Lio/reactivex/rxjava3/subjects/PublishSubject;)V
 | |
| 
 | |
|     .line 2
 | |
|     invoke-interface {p1, v0}, Lai/n0;->onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/subjects/PublishSubject;->N8(Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;)Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-eqz v1, :cond_0
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {v0}, Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;->isDisposed()Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     if-eqz p1, :cond_2
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/subjects/PublishSubject;->P8(Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 6
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Lio/reactivex/rxjava3/subjects/PublishSubject;->b:Ljava/lang/Throwable;
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 7
 | |
|     invoke-interface {p1, v0}, Lai/n0;->onError(Ljava/lang/Throwable;)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 8
 | |
|     :cond_1
 | |
|     invoke-interface {p1}, Lai/n0;->onComplete()V
 | |
| 
 | |
|     :cond_2
 | |
|     :goto_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onComplete()V
 | |
|     .locals 4
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lio/reactivex/rxjava3/subjects/PublishSubject;->a:Ljava/util/concurrent/atomic/AtomicReference;
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     sget-object v1, Lio/reactivex/rxjava3/subjects/PublishSubject;->c:[Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
|     if-ne v0, v1, :cond_0
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Lio/reactivex/rxjava3/subjects/PublishSubject;->a:Ljava/util/concurrent/atomic/AtomicReference;
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->getAndSet(Ljava/lang/Object;)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, [Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
|     array-length v1, v0
 | |
| 
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     if-ge v2, v1, :cond_1
 | |
| 
 | |
|     aget-object v3, v0, v2
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {v3}, Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;->onComplete()V
 | |
| 
 | |
|     add-int/lit8 v2, v2, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_1
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onError(Ljava/lang/Throwable;)V
 | |
|     .locals 4
 | |
|     .annotation system Ldalvik/annotation/MethodParameters;
 | |
|         accessFlags = {
 | |
|             0x0
 | |
|         }
 | |
|         names = {
 | |
|             "t"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     const-string v0, "onError called with a null Throwable."
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static {p1, v0}, Lio/reactivex/rxjava3/internal/util/ExceptionHelper;->d(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lio/reactivex/rxjava3/subjects/PublishSubject;->a:Ljava/util/concurrent/atomic/AtomicReference;
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     sget-object v1, Lio/reactivex/rxjava3/subjects/PublishSubject;->c:[Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
|     if-ne v0, v1, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     iput-object p1, p0, Lio/reactivex/rxjava3/subjects/PublishSubject;->b:Ljava/lang/Throwable;
 | |
| 
 | |
|     .line 5
 | |
|     iget-object v0, p0, Lio/reactivex/rxjava3/subjects/PublishSubject;->a:Ljava/util/concurrent/atomic/AtomicReference;
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->getAndSet(Ljava/lang/Object;)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, [Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
|     array-length v1, v0
 | |
| 
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     if-ge v2, v1, :cond_1
 | |
| 
 | |
|     aget-object v3, v0, v2
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {v3, p1}, Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;->onError(Ljava/lang/Throwable;)V
 | |
| 
 | |
|     add-int/lit8 v2, v2, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_1
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onNext(Ljava/lang/Object;)V
 | |
|     .locals 4
 | |
|     .annotation system Ldalvik/annotation/MethodParameters;
 | |
|         accessFlags = {
 | |
|             0x0
 | |
|         }
 | |
|         names = {
 | |
|             "t"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "(TT;)V"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     const-string v0, "onNext called with a null value."
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static {p1, v0}, Lio/reactivex/rxjava3/internal/util/ExceptionHelper;->d(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lio/reactivex/rxjava3/subjects/PublishSubject;->a:Ljava/util/concurrent/atomic/AtomicReference;
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, [Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
|     array-length v1, v0
 | |
| 
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     if-ge v2, v1, :cond_0
 | |
| 
 | |
|     aget-object v3, v0, v2
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {v3, p1}, Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;->onNext(Ljava/lang/Object;)V
 | |
| 
 | |
|     add-int/lit8 v2, v2, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
 | |
|     .locals 2
 | |
|     .annotation system Ldalvik/annotation/MethodParameters;
 | |
|         accessFlags = {
 | |
|             0x0
 | |
|         }
 | |
|         names = {
 | |
|             "d"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lio/reactivex/rxjava3/subjects/PublishSubject;->a:Ljava/util/concurrent/atomic/AtomicReference;
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     sget-object v1, Lio/reactivex/rxjava3/subjects/PublishSubject;->c:[Lio/reactivex/rxjava3/subjects/PublishSubject$PublishDisposable;
 | |
| 
 | |
|     if-ne v0, v1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-interface {p1}, Lio/reactivex/rxjava3/disposables/c;->dispose()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 |