package o; /* renamed from: o.gpL, reason: case insensitive filesystem */ /* loaded from: classes6.dex */ public final class C15395gpL extends AbstractC15346gnv implements InterfaceC15341gnq { public InterfaceC15342gnr c; public int e; public static C15395gpL b(Object obj) { if (obj == null) { return (C15395gpL) obj; } if (obj instanceof AbstractC15321gnP) { return new C15395gpL((AbstractC15321gnP) obj); } StringBuilder sb = new StringBuilder("unknown object in factory: "); sb.append(obj.getClass().getName()); throw new IllegalArgumentException(sb.toString()); } public C15395gpL(InterfaceC15342gnr interfaceC15342gnr) { this.e = 0; this.c = interfaceC15342gnr; } private C15395gpL(AbstractC15321gnP abstractC15321gnP) { int i = abstractC15321gnP.e; this.e = i; if (i != 0) { this.c = AbstractC15318gnI.b(abstractC15321gnP); } else { AbstractC15317gnH b = AbstractC15317gnH.b(abstractC15321gnP, false); this.c = b != null ? new gpP(AbstractC15317gnH.a(b)) : null; } } @Override // o.AbstractC15346gnv, o.InterfaceC15342gnr public final AbstractC15315gnE i() { return new C15355goI(false, this.e, this.c); } public final String toString() { String b = grR.b(); StringBuffer stringBuffer = new StringBuffer(); stringBuffer.append("DistributionPointName: ["); stringBuffer.append(b); if (this.e == 0) { c(stringBuffer, b, "fullName", this.c.toString()); } else { c(stringBuffer, b, "nameRelativeToCRLIssuer", this.c.toString()); } stringBuffer.append("]"); stringBuffer.append(b); return stringBuffer.toString(); } private static void c(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); } }