package j0.l.a; import c.q.a.k.a; import rx.Subscriber; import rx.functions.Func2; /* compiled from: OperatorSkipWhile */ public class u1 extends Subscriber { public boolean i = true; public int j; public final /* synthetic */ Subscriber k; public final /* synthetic */ w1 l; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public u1(w1 w1Var, Subscriber subscriber, Subscriber subscriber2) { super(subscriber); this.l = w1Var; this.k = subscriber2; } @Override // j0.g public void onCompleted() { this.k.onCompleted(); } @Override // j0.g public void onError(Throwable th) { this.k.onError(th); } @Override // j0.g public void onNext(T t) { if (!this.i) { this.k.onNext(t); return; } try { Func2 func2 = this.l.i; int i = this.j; this.j = i + 1; if (!func2.call(t, Integer.valueOf(i)).booleanValue()) { this.i = false; this.k.onNext(t); return; } request(1); } catch (Throwable th) { a.b0(th, this.k, t); } } }