.class public final Lio/reactivex/internal/operators/flowable/c0$b; .super Lth/b; .source "FlowableFilter.java" # interfaces .implements Lrh/a; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lio/reactivex/internal/operators/flowable/c0; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "b" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Lth/b<", "TT;TT;>;", "Lrh/a<", "TT;>;" } .end annotation # instance fields .field public final f:Lph/r; .annotation system Ldalvik/annotation/Signature; value = { "Lph/r<", "-TT;>;" } .end annotation .end field # direct methods .method public constructor (Lok/d;Lph/r;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lok/d<", "-TT;>;", "Lph/r<", "-TT;>;)V" } .end annotation .line 1 invoke-direct {p0, p1}, Lth/b;->(Lok/d;)V .line 2 iput-object p2, p0, Lio/reactivex/internal/operators/flowable/c0$b;->f:Lph/r; return-void .end method # virtual methods .method public onNext(Ljava/lang/Object;)V .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(TT;)V" } .end annotation .line 1 invoke-virtual {p0, p1}, Lio/reactivex/internal/operators/flowable/c0$b;->tryOnNext(Ljava/lang/Object;)Z move-result p1 if-nez p1, :cond_0 .line 2 iget-object p1, p0, Lth/b;->b:Lok/e; const-wide/16 v0, 0x1 invoke-interface {p1, v0, v1}, Lok/e;->request(J)V :cond_0 return-void .end method .method public poll()Ljava/lang/Object; .locals 4 .annotation system Ldalvik/annotation/Signature; value = { "()TT;" } .end annotation .annotation system Ldalvik/annotation/Throws; value = { Ljava/lang/Exception; } .end annotation .annotation build Lio/reactivex/annotations/Nullable; .end annotation .line 1 iget-object v0, p0, Lth/b;->c:Lrh/l; .line 2 iget-object v1, p0, Lio/reactivex/internal/operators/flowable/c0$b;->f:Lph/r; .line 3 :cond_0 :goto_0 invoke-interface {v0}, Lrh/o;->poll()Ljava/lang/Object; move-result-object v2 if-nez v2, :cond_1 const/4 v0, 0x0 return-object v0 .line 4 :cond_1 invoke-interface {v1, v2}, Lph/r;->test(Ljava/lang/Object;)Z move-result v3 if-eqz v3, :cond_2 return-object v2 .line 5 :cond_2 iget v2, p0, Lth/b;->e:I const/4 v3, 0x2 if-ne v2, v3, :cond_0 const-wide/16 v2, 0x1 .line 6 invoke-interface {v0, v2, v3}, Lok/e;->request(J)V goto :goto_0 .end method .method public requestFusion(I)I .locals 0 .line 1 invoke-virtual {p0, p1}, Lth/b;->d(I)I move-result p1 return p1 .end method .method public tryOnNext(Ljava/lang/Object;)Z .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(TT;)Z" } .end annotation .line 1 iget-boolean v0, p0, Lth/b;->d:Z if-eqz v0, :cond_0 const/4 p1, 0x0 return p1 .line 2 :cond_0 iget v0, p0, Lth/b;->e:I const/4 v1, 0x1 if-eqz v0, :cond_1 .line 3 iget-object p1, p0, Lth/b;->a:Lok/d; const/4 v0, 0x0 invoke-interface {p1, v0}, Lok/d;->onNext(Ljava/lang/Object;)V return v1 .line 4 :cond_1 :try_start_0 iget-object v0, p0, Lio/reactivex/internal/operators/flowable/c0$b;->f:Lph/r; invoke-interface {v0, p1}, Lph/r;->test(Ljava/lang/Object;)Z move-result v0 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 if-eqz v0, :cond_2 .line 5 iget-object v1, p0, Lth/b;->a:Lok/d; invoke-interface {v1, p1}, Lok/d;->onNext(Ljava/lang/Object;)V :cond_2 return v0 :catchall_0 move-exception p1 .line 6 invoke-virtual {p0, p1}, Lth/b;->c(Ljava/lang/Throwable;)V return v1 .end method