what-the-bank/sources/o/gpG.java

46 lines
1.6 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.Enumeration;
/* loaded from: classes6.dex */
public final class gpG extends AbstractC15346gnv {
public C15389gpD d;
public C15389gpD e;
public gpG(AbstractC15317gnH abstractC15317gnH) {
if (abstractC15317gnH.e() != 1 && abstractC15317gnH.e() != 2) {
StringBuilder sb = new StringBuilder("Bad sequence size: ");
sb.append(abstractC15317gnH.e());
throw new IllegalArgumentException(sb.toString());
}
Enumeration b = abstractC15317gnH.b();
while (b.hasMoreElements()) {
AbstractC15321gnP d = AbstractC15321gnP.d(b.nextElement());
if (d.e == 0) {
AbstractC15317gnH b2 = AbstractC15317gnH.b(d, true);
this.d = b2 != null ? new C15389gpD(AbstractC15317gnH.a(b2)) : null;
} else {
if (d.e != 1) {
StringBuilder sb2 = new StringBuilder("Bad tag number: ");
sb2.append(d.e);
throw new IllegalArgumentException(sb2.toString());
}
AbstractC15317gnH b3 = AbstractC15317gnH.b(d, true);
this.e = b3 != null ? new C15389gpD(AbstractC15317gnH.a(b3)) : 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(1, this.e));
}
return new C15385goy(c15343gns);
}
}