package o; /* loaded from: classes6.dex */ public final class gpT extends AbstractC15346gnv { public C15350gnz a; public C15367gog b; public C15423gpz c; private C15314gnC e; /* JADX INFO: Access modifiers changed from: package-private */ public gpT(AbstractC15317gnH abstractC15317gnH) { C15423gpz c15423gpz; if (abstractC15317gnH.e() > 4 || abstractC15317gnH.e() < 3) { StringBuilder sb = new StringBuilder("Bad sequence size: "); sb.append(abstractC15317gnH.e()); throw new IllegalArgumentException(sb.toString()); } int i = 0; this.a = C15350gnz.a(abstractC15317gnH.d(0)); if (abstractC15317gnH.e() == 4) { i = 1; this.e = C15314gnC.d(abstractC15317gnH.d(1)); } InterfaceC15342gnr d = abstractC15317gnH.d(i + 1); if (d instanceof C15423gpz) { c15423gpz = (C15423gpz) d; } else { c15423gpz = d != null ? new C15423gpz(AbstractC15317gnH.a(d)) : null; } this.c = c15423gpz; this.b = C15367gog.c(abstractC15317gnH.d(i + 2)); } @Override // o.AbstractC15346gnv, o.InterfaceC15342gnr public final AbstractC15315gnE i() { C15343gns c15343gns = new C15343gns(); c15343gns.a.addElement(this.a); C15314gnC c15314gnC = this.e; if (c15314gnC != null) { c15343gns.a.addElement(c15314gnC); } c15343gns.a.addElement(this.c); c15343gns.a.addElement(this.b); return new C15385goy(c15343gns); } }