package o; import java.util.Enumeration; /* renamed from: o.gpe, reason: case insensitive filesystem */ /* loaded from: classes6.dex */ public final class C15402gpe extends AbstractC15346gnv implements InterfaceC15405gph { private InterfaceC15342gnr f; private C15314gnC g; private boolean n; /* JADX INFO: Access modifiers changed from: package-private */ public C15402gpe(AbstractC15317gnH abstractC15317gnH) { this.n = true; Enumeration b = abstractC15317gnH.b(); this.g = (C15314gnC) b.nextElement(); if (b.hasMoreElements()) { InterfaceC15342gnr interfaceC15342gnr = ((AbstractC15321gnP) b.nextElement()).d; this.f = interfaceC15342gnr != null ? interfaceC15342gnr.i() : null; } this.n = abstractC15317gnH instanceof gnX; } public C15402gpe(C15314gnC c15314gnC, InterfaceC15342gnr interfaceC15342gnr) { this.n = true; this.g = c15314gnC; this.f = interfaceC15342gnr; } @Override // o.AbstractC15346gnv, o.InterfaceC15342gnr public final AbstractC15315gnE i() { C15343gns c15343gns = new C15343gns(); c15343gns.a.addElement(this.g); InterfaceC15342gnr interfaceC15342gnr = this.f; if (interfaceC15342gnr != null) { c15343gns.a.addElement(new C15361goa(true, 0, interfaceC15342gnr)); } if (this.n) { return new gnX(c15343gns); } return new goL(c15343gns); } }