package o; import java.util.Objects; import kotlin.NoWhenBranchMatchedException; /* renamed from: o.emE, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C11799emE extends wRi { final InterfaceC0773Ogw a; private final InterfaceC16691qQA b; private final tQD e; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C11799emE(yRw yrw, yRw yrw2, InterfaceC16691qQA interfaceC16691qQA, InterfaceC0773Ogw interfaceC0773Ogw, tQD tqd) { super(yrw, yrw2); C14957gcv.e(yrw, ""); C14957gcv.e(yrw2, ""); C14957gcv.e(interfaceC16691qQA, ""); C14957gcv.e(interfaceC0773Ogw, ""); C14957gcv.e(tqd, ""); this.b = interfaceC16691qQA; this.a = interfaceC0773Ogw; this.e = tqd; } public final AbstractC13163fSk a(String str) { AbstractC13163fSk o2; int i = LWm.e[this.e.f().ordinal()]; if (i == 1) { o2 = this.b.o(str); } else { if (i != 2) { throw new NoWhenBranchMatchedException(); } o2 = this.b.g(str); } final IeS ieS = new IeS(this); AbstractC13163fSk flatMap = o2.flatMap(new fSS(ieS) { // from class: o.WLC private InterfaceC14894gbR a; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.a; C14957gcv.e(interfaceC14894gbR, ""); return (InterfaceC13169fSq) interfaceC14894gbR.invoke(obj); } { this.a = ieS; } }); e(flatMap); C14957gcv.c(flatMap, ""); return flatMap; } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.emE$IeS */ /* loaded from: classes3.dex */ public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR> { private C11799emE a; @Override // o.InterfaceC14894gbR public final /* synthetic */ InterfaceC13169fSq invoke(WuY wuY) { WuY wuY2 = wuY; fRY r = this.a.a.r(wuY2.c); Objects.requireNonNull(wuY2, "completionValue is null"); return new C13377fYp(new C13242fUu(r, wuY2)); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ IeS(C11799emE c11799emE) { super(1); this.a = c11799emE; } } /* renamed from: o.emE$LWm */ /* loaded from: classes3.dex */ public final /* synthetic */ class LWm { public static final int[] e; static { int[] iArr = new int[bTI.values().length]; try { iArr[bTI.CONSUMER.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { iArr[bTI.BUSINESS_OWNER.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } e = iArr; } } }