package o; import com.scb.phone.domain.errors.RetrofitException; import o.ZI; import o.aEB; import o.wRi; /* loaded from: classes4.dex */ public class aEB extends ZI { public final JmZ a; public boolean b; @InterfaceC13391fZD public aEB(JmZ jmZ, C16903sI c16903sI) { super(c16903sI); this.b = false; this.a = jmZ; } /* loaded from: classes4.dex */ public class Sts extends wRi.LWm { private aEB e; private Sts(aEB aeb) { this.e = aeb; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onComplete() { aEB.a(this.e); aEB aeb = this.e; ZI.IeS ieS = new ZI.IeS() { // from class: o.aEG @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9104ddS) obj).I_(); } }; if (aeb.f != 0) { ieS.e(aeb.f); } this.e.b = false; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(final Throwable th) { aEB.d(this.e); if (!C15602gz.e(th, RetrofitException.RVV.OTP_FAILED, RetrofitException.RVV.OTP_REACH_MAX_LIMIT, RetrofitException.RVV.OTP_EXPIRED)) { if (!this.e.i(th)) { aEB aeb = this.e; ZI.IeS ieS = new ZI.IeS(this, th) { // from class: o.aEC private aEB.Sts b; private Throwable e; @Override // o.ZI.IeS public final void e(Object obj) { InterfaceC9104ddS interfaceC9104ddS = (InterfaceC9104ddS) obj; interfaceC9104ddS.a(this.b.e.j.e(this.e)); } { this.b = this; this.e = th; } }; if (aeb.f != 0) { ieS.e(aeb.f); } } } else { aEB aeb2 = this.e; ZI.IeS ieS2 = new ZI.IeS(this, th) { // from class: o.aED private Throwable b; private aEB.Sts d; @Override // o.ZI.IeS public final void e(Object obj) { InterfaceC9104ddS interfaceC9104ddS = (InterfaceC9104ddS) obj; interfaceC9104ddS.k_(this.d.e.j.e(this.b).c); } { this.d = this; this.b = th; } }; if (aeb2.f != 0) { ieS2.e(aeb2.f); } } this.e.b = false; } public /* synthetic */ Sts(aEB aeb, byte b) { this(aeb); } } static /* synthetic */ void a(aEB aeb) { if (aeb.f != 0) { aeb.f.ar_(); } } static /* synthetic */ void d(aEB aeb) { if (aeb.f != 0) { aeb.f.ar_(); } } }