package o; import com.scb.phone.domain.errors.RetrofitException; import java.util.Objects; import o.C0690Mh; import o.C3510ays; import o.ZI; import o.wRi; /* renamed from: o.ays, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public class C3510ays extends ZI { public final TiQ b; public boolean e; @InterfaceC13391fZD public C3510ays(TiQ tiQ, C16903sI c16903sI) { super(c16903sI); this.e = false; this.b = tiQ; } /* renamed from: o.ays$IeS */ /* loaded from: classes4.dex */ public class IeS extends wRi.LWm { private C3510ays c; private IeS(C3510ays c3510ays) { this.c = c3510ays; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onComplete() { C3510ays.b(this.c); C3510ays c3510ays = this.c; ZI.IeS ieS = new ZI.IeS() { // from class: o.ayy @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9134ddw) obj).I_(); } }; if (c3510ays.f != 0) { ieS.e(c3510ays.f); } this.c.e = false; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(final Throwable th) { C3510ays.e(this.c); if (C15602gz.e(th, RetrofitException.RVV.OTP_FAILED, RetrofitException.RVV.OTP_REACH_MAX_LIMIT, RetrofitException.RVV.OTP_EXPIRED)) { C3510ays c3510ays = this.c; ZI.IeS ieS = new ZI.IeS(this, th) { // from class: o.ayt private C3510ays.IeS c; private Throwable d; @Override // o.ZI.IeS public final void e(Object obj) { InterfaceC9134ddw interfaceC9134ddw = (InterfaceC9134ddw) obj; interfaceC9134ddw.k_(this.c.c.j.e(this.d).c); } { this.c = this; this.d = th; } }; if (c3510ays.f != 0) { ieS.e(c3510ays.f); } } else if (C15602gz.c(th, "3004")) { C3510ays c3510ays2 = this.c; ZI.IeS ieS2 = new ZI.IeS(this, th) { // from class: o.ayx private C3510ays.IeS b; private Throwable d; @Override // o.ZI.IeS public final void e(Object obj) { C3510ays.IeS.e(this.b, this.d, (InterfaceC9134ddw) obj); } { this.b = this; this.d = th; } }; if (c3510ays2.f != 0) { ieS2.e(c3510ays2.f); } } else if (C15602gz.c(th, "6000", "7001", "9000", "3003", "3011")) { C3510ays c3510ays3 = this.c; ZI.IeS ieS3 = new ZI.IeS(this, th) { // from class: o.ayB private C3510ays.IeS a; private Throwable e; @Override // o.ZI.IeS public final void e(Object obj) { C3510ays.IeS.d(this.a, this.e, (InterfaceC9134ddw) obj); } { this.a = this; this.e = th; } }; if (c3510ays3.f != 0) { ieS3.e(c3510ays3.f); } } else { C3510ays c3510ays4 = this.c; ZI.IeS ieS4 = new ZI.IeS(this, th) { // from class: o.ayz private C3510ays.IeS a; private Throwable c; @Override // o.ZI.IeS public final void e(Object obj) { InterfaceC9134ddw interfaceC9134ddw = (InterfaceC9134ddw) obj; interfaceC9134ddw.e(this.a.c.j.d(this.c, C0690Mh.IeS.NAVIGATE_BACK)); } { this.a = this; this.c = th; } }; if (c3510ays4.f != 0) { ieS4.e(c3510ays4.f); } } this.c.e = false; } public static /* synthetic */ void d(IeS ieS, Throwable th, final InterfaceC9134ddw interfaceC9134ddw) { C16903sI c16903sI = ieS.c.j; Objects.requireNonNull(interfaceC9134ddw); interfaceC9134ddw.e(c16903sI.c(th, new Runnable(interfaceC9134ddw) { // from class: o.ayD private InterfaceC9134ddw c; @Override // java.lang.Runnable public final void run() { this.c.e(); } { this.c = interfaceC9134ddw; } })); } public static /* synthetic */ void e(IeS ieS, Throwable th, final InterfaceC9134ddw interfaceC9134ddw) { C16903sI c16903sI = ieS.c.j; Objects.requireNonNull(interfaceC9134ddw); interfaceC9134ddw.e(c16903sI.c(th, new Runnable(interfaceC9134ddw) { // from class: o.ayw private InterfaceC9134ddw a; @Override // java.lang.Runnable public final void run() { this.a.b(); } { this.a = interfaceC9134ddw; } })); } public /* synthetic */ IeS(C3510ays c3510ays, byte b) { this(c3510ays); } } static /* synthetic */ void b(C3510ays c3510ays) { if (c3510ays.f != 0) { c3510ays.f.ar_(); } } static /* synthetic */ void e(C3510ays c3510ays) { if (c3510ays.f != 0) { c3510ays.f.ar_(); } } }