package o; import java.io.IOException; import java.util.Enumeration; /* renamed from: o.gox, reason: case insensitive filesystem */ /* loaded from: classes6.dex */ public final class C15384gox extends AbstractC15318gnI { private int c; public C15384gox() { this.c = -1; } public C15384gox(C15343gns c15343gns) { super(c15343gns, true); this.c = -1; } /* JADX INFO: Access modifiers changed from: package-private */ public C15384gox(C15343gns c15343gns, byte b) { super(c15343gns, false); this.c = -1; } private int e() throws IOException { if (this.c < 0) { Enumeration elements = this.d.elements(); int i = 0; while (elements.hasMoreElements()) { i += ((InterfaceC15342gnr) elements.nextElement()).i().h().c(); } this.c = i; } return this.c; } /* JADX INFO: Access modifiers changed from: package-private */ @Override // o.AbstractC15315gnE public final int c() throws IOException { int e = e(); return goV.d(e) + 1 + e; } /* JADX INFO: Access modifiers changed from: package-private */ @Override // o.AbstractC15318gnI, o.AbstractC15315gnE public final void c(gnG gng) throws IOException { gnG d = gng.d(); int e = e(); gng.a(49); gng.d(e); Enumeration elements = this.d.elements(); while (elements.hasMoreElements()) { d.d((InterfaceC15342gnr) elements.nextElement()); } } }