package o; /* renamed from: o.gpI, reason: case insensitive filesystem */ /* loaded from: classes6.dex */ public final class C15392gpI extends AbstractC15346gnv { public gpP c; public C15395gpL d; public gpX e; public C15392gpI(AbstractC15317gnH abstractC15317gnH) { for (int i = 0; i != abstractC15317gnH.e(); i++) { AbstractC15321gnP d = AbstractC15321gnP.d(abstractC15317gnH.d(i)); int i2 = d.e; if (i2 == 0) { InterfaceC15342gnr interfaceC15342gnr = d.d; this.d = C15395gpL.b((AbstractC15321gnP) (interfaceC15342gnr != null ? interfaceC15342gnr.i() : null)); } else if (i2 == 1) { this.e = new gpX(C15367gog.a(d)); } else if (i2 == 2) { AbstractC15317gnH b = AbstractC15317gnH.b(d, false); this.c = b != null ? new gpP(AbstractC15317gnH.a(b)) : null; } } } public C15392gpI(C15395gpL c15395gpL) { this.d = c15395gpL; this.e = null; this.c = null; } @Override // o.AbstractC15346gnv, o.InterfaceC15342gnr public final AbstractC15315gnE i() { C15343gns c15343gns = new C15343gns(); if (this.d != null) { c15343gns.a.addElement(new C15355goI(0, this.d)); } if (this.e != null) { c15343gns.a.addElement(new C15355goI(false, 1, this.e)); } if (this.c != null) { c15343gns.a.addElement(new C15355goI(false, 2, this.c)); } return new C15385goy(c15343gns); } public final String toString() { String b = grR.b(); StringBuffer stringBuffer = new StringBuffer(); stringBuffer.append("DistributionPoint: ["); stringBuffer.append(b); C15395gpL c15395gpL = this.d; if (c15395gpL != null) { a(stringBuffer, b, "distributionPoint", c15395gpL.toString()); } gpX gpx = this.e; if (gpx != null) { a(stringBuffer, b, "reasons", gpx.toString()); } gpP gpp = this.c; if (gpp != null) { a(stringBuffer, b, "cRLIssuer", gpp.toString()); } stringBuffer.append("]"); stringBuffer.append(b); return stringBuffer.toString(); } private static void a(StringBuffer stringBuffer, String str, String str2, String str3) { stringBuffer.append(" "); stringBuffer.append(str2); stringBuffer.append(":"); stringBuffer.append(str); stringBuffer.append(" "); stringBuffer.append(" "); stringBuffer.append(str3); stringBuffer.append(str); } }