.class public abstract Lfi/c; .super Ljava/util/concurrent/CountDownLatch; .source "BlockingBaseObserver.java" # interfaces .implements Lai/n0; .implements Lio/reactivex/rxjava3/disposables/c; # annotations .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/util/concurrent/CountDownLatch;", "Lai/n0<", "TT;>;", "Lio/reactivex/rxjava3/disposables/c;" } .end annotation # instance fields .field public a:Ljava/lang/Object; .annotation system Ldalvik/annotation/Signature; value = { "TT;" } .end annotation .end field .field public b:Ljava/lang/Throwable; .field public c:Lio/reactivex/rxjava3/disposables/c; .field public volatile d:Z # direct methods .method public constructor ()V .locals 1 const/4 v0, 0x1 .line 1 invoke-direct {p0, v0}, Ljava/util/concurrent/CountDownLatch;->(I)V return-void .end method # virtual methods .method public final a()Ljava/lang/Object; .locals 4 .annotation system Ldalvik/annotation/Signature; value = { "()TT;" } .end annotation .line 1 invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->getCount()J move-result-wide v0 const-wide/16 v2, 0x0 cmp-long v0, v0, v2 if-eqz v0, :cond_0 .line 2 :try_start_0 invoke-static {}, Lio/reactivex/rxjava3/internal/util/c;->b()V .line 3 invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->await()V :try_end_0 .catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0 goto :goto_0 :catch_0 move-exception v0 .line 4 invoke-virtual {p0}, Lfi/c;->dispose()V .line 5 invoke-static {v0}, Lio/reactivex/rxjava3/internal/util/ExceptionHelper;->i(Ljava/lang/Throwable;)Ljava/lang/RuntimeException; move-result-object v0 throw v0 .line 6 :cond_0 :goto_0 iget-object v0, p0, Lfi/c;->b:Ljava/lang/Throwable; if-nez v0, :cond_1 .line 7 iget-object v0, p0, Lfi/c;->a:Ljava/lang/Object; return-object v0 .line 8 :cond_1 invoke-static {v0}, Lio/reactivex/rxjava3/internal/util/ExceptionHelper;->i(Ljava/lang/Throwable;)Ljava/lang/RuntimeException; move-result-object v0 throw v0 .end method .method public final dispose()V .locals 1 const/4 v0, 0x1 .line 1 iput-boolean v0, p0, Lfi/c;->d:Z .line 2 iget-object v0, p0, Lfi/c;->c:Lio/reactivex/rxjava3/disposables/c; if-eqz v0, :cond_0 .line 3 invoke-interface {v0}, Lio/reactivex/rxjava3/disposables/c;->dispose()V :cond_0 return-void .end method .method public final isDisposed()Z .locals 1 .line 1 iget-boolean v0, p0, Lfi/c;->d:Z return v0 .end method .method public final onComplete()V .locals 0 .line 1 invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->countDown()V return-void .end method .method public final onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V .locals 1 .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "d" } .end annotation .line 1 iput-object p1, p0, Lfi/c;->c:Lio/reactivex/rxjava3/disposables/c; .line 2 iget-boolean v0, p0, Lfi/c;->d:Z if-eqz v0, :cond_0 .line 3 invoke-interface {p1}, Lio/reactivex/rxjava3/disposables/c;->dispose()V :cond_0 return-void .end method