package o; import java.security.GeneralSecurityException; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.List; import o.DJW; import o.FdT; import o.InterfaceC17129uEO; /* loaded from: classes2.dex */ public final class MWX { public static final InterfaceC17129uEO.IeS b = new Sts(0); /* loaded from: classes2.dex */ static class Sts implements InterfaceC17129uEO.IeS { private Sts() { } /* synthetic */ Sts(byte b) { this(); } } /* renamed from: o.MWX$2, reason: invalid class name */ /* loaded from: classes2.dex */ static /* synthetic */ class AnonymousClass2 { static final int[] a; static { int[] iArr = new int[NzM.values().length]; a = iArr; try { iArr[NzM.ENABLED.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { a[NzM.DISABLED.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } try { a[NzM.DESTROYED.ordinal()] = 3; } catch (NoSuchFieldError unused3) { } } } public static
DJW d(FdT
fdT) {
C0189BJj c0189BJj;
DJW.IeS ieS = new DJW.IeS();
yiD yid = fdT.e;
if (ieS.d != null) {
ieS.b = yid;
Iterator hBt : it.next()) {
int i = AnonymousClass2.a[hBt.g.ordinal()];
if (i == 1) {
c0189BJj = C0189BJj.c;
} else if (i == 2) {
c0189BJj = C0189BJj.a;
} else if (i == 3) {
c0189BJj = C0189BJj.e;
} else {
throw new IllegalStateException("Unknown key status");
}
int i2 = hBt.d;
HeE e = hBt.a.e();
ArrayList>> it = fdT.c.values().iterator();
while (it.hasNext()) {
for (FdT.HBt