package o; import org.spongycastle.asn1.ASN1Integer; /* renamed from: o.gpM, reason: case insensitive filesystem */ /* loaded from: classes6.dex */ public final class C15396gpM extends AbstractC15346gnv { public gpP c; private C15367gog d; public ASN1Integer e; /* JADX INFO: Access modifiers changed from: package-private */ public C15396gpM(AbstractC15317gnH abstractC15317gnH) { gpP gpp; if (abstractC15317gnH.e() != 2 && abstractC15317gnH.e() != 3) { StringBuilder sb = new StringBuilder("Bad sequence size: "); sb.append(abstractC15317gnH.e()); throw new IllegalArgumentException(sb.toString()); } InterfaceC15342gnr d = abstractC15317gnH.d(0); if (d instanceof gpP) { gpp = (gpP) d; } else { gpp = d != null ? new gpP(AbstractC15317gnH.a(d)) : null; } this.c = gpp; this.e = ASN1Integer.e(abstractC15317gnH.d(1)); if (abstractC15317gnH.e() == 3) { this.d = C15367gog.c(abstractC15317gnH.d(2)); } } @Override // o.AbstractC15346gnv, o.InterfaceC15342gnr public final AbstractC15315gnE i() { C15343gns c15343gns = new C15343gns(); c15343gns.a.addElement(this.c); c15343gns.a.addElement(this.e); C15367gog c15367gog = this.d; if (c15367gog != null) { c15343gns.a.addElement(c15367gog); } return new C15385goy(c15343gns); } }