package o; import com.huawei.hms.android.SystemUtils; import java.math.BigInteger; import java.util.Hashtable; /* loaded from: classes6.dex */ public final class gpF extends AbstractC15346gnv { private C15350gnz a; private static final String[] e = {"unspecified", "keyCompromise", "cACompromise", "affiliationChanged", "superseded", "cessationOfOperation", "certificateHold", SystemUtils.UNKNOWN, "removeFromCRL", "privilegeWithdrawn", "aACompromise"}; private static final Hashtable b = new Hashtable(); public static gpF d(Object obj) { if (obj == null) { return null; } int intValue = new BigInteger(C15350gnz.a(obj).a).intValue(); Integer valueOf = Integer.valueOf(intValue); Hashtable hashtable = b; if (!hashtable.containsKey(valueOf)) { hashtable.put(valueOf, new gpF(intValue)); } return (gpF) hashtable.get(valueOf); } private gpF(int i) { this.a = new C15350gnz(i); } public final String toString() { int intValue = new BigInteger(this.a.a).intValue(); return "CRLReason: ".concat(String.valueOf((intValue < 0 || intValue > 10) ? "invalid" : e[intValue])); } @Override // o.AbstractC15346gnv, o.InterfaceC15342gnr public final AbstractC15315gnE i() { return this.a; } }