package o; /* renamed from: o.fNk, reason: case insensitive filesystem */ /* loaded from: classes5.dex */ public enum EnumC12998fNk { TLS_1_2("TLSv1.2"), TLS_1_1("TLSv1.1"), TLS_1_0("TLSv1"), SSL_3_0("SSLv3"); public final String javaName; EnumC12998fNk(String str) { this.javaName = str; } /* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */ public static EnumC12998fNk d(String str) { char c; str.hashCode(); switch (str.hashCode()) { case -503070503: if (str.equals("TLSv1.1")) { c = 0; break; } c = 65535; break; case -503070502: if (str.equals("TLSv1.2")) { c = 1; break; } c = 65535; break; case 79201641: if (str.equals("SSLv3")) { c = 2; break; } c = 65535; break; case 79923350: if (str.equals("TLSv1")) { c = 3; break; } c = 65535; break; default: c = 65535; break; } if (c == 0) { return TLS_1_1; } if (c == 1) { return TLS_1_2; } if (c == 2) { return SSL_3_0; } if (c == 3) { return TLS_1_0; } throw new IllegalArgumentException("Unexpected TLS version: ".concat(String.valueOf(str))); } }