package o; import android.app.Activity; /* loaded from: classes.dex */ public final class qie implements InterfaceC11781eln { private final DvF b; private final InterfaceC0372FdA d; public qie(DvF dvF, InterfaceC0372FdA interfaceC0372FdA) { C14957gcv.e(dvF, ""); C14957gcv.e(interfaceC0372FdA, ""); this.b = dvF; this.d = interfaceC0372FdA; } @Override // o.InterfaceC11781eln public final InterfaceC15089ggq CY_(Activity activity) { C14957gcv.e(activity, ""); return new C15093ggu(new RVV(this, activity, null)); } /* loaded from: classes.dex */ public static final class IeS { private IeS() { } public /* synthetic */ IeS(byte b) { this(); } } /* loaded from: classes.dex */ static final class RVV extends AbstractC14924gbz implements InterfaceC14937gcb, InterfaceC14907gbi, Object> { private Object a; private Object b; final qie c; private Object d; final Activity e; private int i; public static /* synthetic */ void d(InterfaceC15078ggf interfaceC15078ggf, oEt oet) { C14957gcv.c(oet, ""); interfaceC15078ggf.d(oet); } @Override // o.InterfaceC14937gcb public final /* synthetic */ Object invoke(InterfaceC15095ggw interfaceC15095ggw, InterfaceC14907gbi interfaceC14907gbi) { return ((RVV) create(interfaceC15095ggw, interfaceC14907gbi)).invokeSuspend(C14866gag.c); } /* JADX WARN: Not initialized variable reg: 4, insn: 0x00b4: INVOKE (r0v2 ?? I:o.FdA), (r4 I:o.QUU) INTERFACE call: o.FdA.a(o.QUU):void A[MD:(o.QUU):void (m)], block:B:38:0x00ae */ /* JADX WARN: Removed duplicated region for block: B:16:0x0089 A[Catch: all -> 0x00ad, TRY_LEAVE, TryCatch #0 {all -> 0x00ad, blocks: (B:7:0x0018, B:10:0x006f, B:14:0x0081, B:16:0x0089, B:21:0x001d, B:22:0x0021, B:26:0x0036, B:29:0x003b, B:30:0x003f, B:34:0x006b), top: B:2:0x0006 }] */ /* JADX WARN: Removed duplicated region for block: B:19:0x00a1 */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:17:0x009e -> B:10:0x006f). Please report as a decompilation issue!!! */ @Override // o.AbstractC14913gbo /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final java.lang.Object invokeSuspend(java.lang.Object r9) { /* r8 = this; o.gbl r0 = o.EnumC14910gbl.COROUTINE_SUSPENDED int r1 = r8.i r2 = 2 r3 = 1 if (r1 == 0) goto L40 if (r1 == r3) goto L2a if (r1 != r2) goto L22 java.lang.Object r1 = r8.a o.ggh r1 = (o.InterfaceC15080ggh) r1 java.lang.Object r4 = r8.b o.QUU r4 = (o.QUU) r4 java.lang.Object r5 = r8.d o.ggw r5 = (o.InterfaceC15095ggw) r5 boolean r6 = r9 instanceof o.C13395fZS.LWm // Catch: java.lang.Throwable -> Lad if (r6 != 0) goto L1d goto L6f L1d: o.fZS$LWm r9 = (o.C13395fZS.LWm) r9 // Catch: java.lang.Throwable -> Lad java.lang.Throwable r9 = r9.d // Catch: java.lang.Throwable -> Lad throw r9 // Catch: java.lang.Throwable -> Lad L22: java.lang.IllegalStateException r9 = new java.lang.IllegalStateException java.lang.String r0 = "call to 'resume' before 'invoke' with coroutine" r9.(r0) throw r9 L2a: java.lang.Object r1 = r8.a o.ggh r1 = (o.InterfaceC15080ggh) r1 java.lang.Object r4 = r8.b o.QUU r4 = (o.QUU) r4 java.lang.Object r5 = r8.d o.ggw r5 = (o.InterfaceC15095ggw) r5 boolean r6 = r9 instanceof o.C13395fZS.LWm // Catch: java.lang.Throwable -> Lad if (r6 != 0) goto L3b goto L81 L3b: o.fZS$LWm r9 = (o.C13395fZS.LWm) r9 // Catch: java.lang.Throwable -> Lad java.lang.Throwable r9 = r9.d // Catch: java.lang.Throwable -> Lad throw r9 // Catch: java.lang.Throwable -> Lad L40: boolean r1 = r9 instanceof o.C13395fZS.LWm if (r1 != 0) goto Lb8 java.lang.Object r9 = r8.d r5 = r9 o.ggw r5 = (o.InterfaceC15095ggw) r5 o.gge r9 = o.EnumC15077gge.DROP_OLDEST o.ggd r1 = new o.ggd r4 = 10 r1.(r4, r9) o.gfZ r1 = (o.gfZ) r1 o.ggf r1 = (o.InterfaceC15078ggf) r1 o.Dqe r4 = new o.Dqe r4.(r1) o.qie r9 = r8.c o.FdA r9 = o.qie.a(r9) android.app.Activity r6 = r8.e o.lJr r7 = new o.lJr r7.() r9.CW_(r6, r7, r4) o.ggh r1 = r1.b() // Catch: java.lang.Throwable -> Lad L6f: r9 = r8 o.gbi r9 = (o.InterfaceC14907gbi) r9 // Catch: java.lang.Throwable -> Lad r8.d = r5 // Catch: java.lang.Throwable -> Lad r8.b = r4 // Catch: java.lang.Throwable -> Lad r8.a = r1 // Catch: java.lang.Throwable -> Lad r8.i = r3 // Catch: java.lang.Throwable -> Lad java.lang.Object r9 = r1.d(r9) // Catch: java.lang.Throwable -> Lad if (r9 != r0) goto L81 return r0 L81: java.lang.Boolean r9 = (java.lang.Boolean) r9 // Catch: java.lang.Throwable -> Lad boolean r9 = r9.booleanValue() // Catch: java.lang.Throwable -> Lad if (r9 == 0) goto La1 java.lang.Object r9 = r1.e() // Catch: java.lang.Throwable -> Lad o.oEt r9 = (o.oEt) r9 // Catch: java.lang.Throwable -> Lad r6 = r8 o.gbi r6 = (o.InterfaceC14907gbi) r6 // Catch: java.lang.Throwable -> Lad r8.d = r5 // Catch: java.lang.Throwable -> Lad r8.b = r4 // Catch: java.lang.Throwable -> Lad r8.a = r1 // Catch: java.lang.Throwable -> Lad r8.i = r2 // Catch: java.lang.Throwable -> Lad java.lang.Object r9 = r5.a(r9, r6) // Catch: java.lang.Throwable -> Lad if (r9 != r0) goto L6f return r0 La1: o.qie r9 = r8.c o.FdA r9 = o.qie.a(r9) r9.a(r4) o.gag r9 = o.C14866gag.c return r9 Lad: r9 = move-exception o.qie r0 = r8.c o.FdA r0 = o.qie.a(r0) r0.a(r4) throw r9 Lb8: o.fZS$LWm r9 = (o.C13395fZS.LWm) r9 java.lang.Throwable r9 = r9.d throw r9 */ throw new UnsupportedOperationException("Method not decompiled: o.qie.RVV.invokeSuspend(java.lang.Object):java.lang.Object"); } @Override // o.AbstractC14913gbo public final InterfaceC14907gbi create(Object obj, InterfaceC14907gbi interfaceC14907gbi) { RVV rvv = new RVV(this.c, this.e, interfaceC14907gbi); rvv.d = obj; return rvv; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ RVV(qie qieVar, Activity activity, InterfaceC14907gbi interfaceC14907gbi) { super(2, interfaceC14907gbi); this.c = qieVar; this.e = activity; } } static { new IeS((byte) 0); } }