package defpackage;

import j$.util.DesugarCollections;
import java.util.LinkedHashMap;
import java.util.Map;

/* JADX INFO: renamed from: ᵴˆˉ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public abstract class AbstractC4640 {

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public static final Map f17638;

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public static final C5511[] f17639;

    static {
        C5511 c5511 = new C5511(C5511.f20813, "");
        C1054 c1054 = C5511.f20814;
        C5511 c55112 = new C5511(c1054, "GET");
        C5511 c55113 = new C5511(c1054, "POST");
        C1054 c10542 = C5511.f20811;
        C5511 c55114 = new C5511(c10542, "/");
        C5511 c55115 = new C5511(c10542, "/index.html");
        C1054 c10543 = C5511.f20809;
        C5511 c55116 = new C5511(c10543, "http");
        C5511 c55117 = new C5511(c10543, "https");
        C1054 c10544 = C5511.f20810;
        C5511[] c5511Arr = {c5511, c55112, c55113, c55114, c55115, c55116, c55117, new C5511(c10544, "200"), new C5511(c10544, "204"), new C5511(c10544, "206"), new C5511(c10544, "304"), new C5511(c10544, "400"), new C5511(c10544, "404"), new C5511(c10544, "500"), new C5511("accept-charset", ""), new C5511("accept-encoding", "gzip, deflate"), new C5511("accept-language", ""), new C5511("accept-ranges", ""), new C5511("accept", ""), new C5511("access-control-allow-origin", ""), new C5511("age", ""), new C5511("allow", ""), new C5511("authorization", ""), new C5511("cache-control", ""), new C5511("content-disposition", ""), new C5511("content-encoding", ""), new C5511("content-language", ""), new C5511("content-length", ""), new C5511("content-location", ""), new C5511("content-range", ""), new C5511("content-type", ""), new C5511("cookie", ""), new C5511("date", ""), new C5511("etag", ""), new C5511("expect", ""), new C5511("expires", ""), new C5511("from", ""), new C5511("host", ""), new C5511("if-match", ""), new C5511("if-modified-since", ""), new C5511("if-none-match", ""), new C5511("if-range", ""), new C5511("if-unmodified-since", ""), new C5511("last-modified", ""), new C5511("link", ""), new C5511("location", ""), new C5511("max-forwards", ""), new C5511("proxy-authenticate", ""), new C5511("proxy-authorization", ""), new C5511("range", ""), new C5511("referer", ""), new C5511("refresh", ""), new C5511("retry-after", ""), new C5511("server", ""), new C5511("set-cookie", ""), new C5511("strict-transport-security", ""), new C5511("transfer-encoding", ""), new C5511("user-agent", ""), new C5511("vary", ""), new C5511("via", ""), new C5511("www-authenticate", "")};
        f17639 = c5511Arr;
        LinkedHashMap linkedHashMap = new LinkedHashMap(61, 1.0f);
        for (int i = 0; i < 61; i++) {
            if (!linkedHashMap.containsKey(c5511Arr[i].f20817)) {
                linkedHashMap.put(c5511Arr[i].f20817, Integer.valueOf(i));
            }
        }
        f17638 = DesugarCollections.unmodifiableMap(linkedHashMap);
    }

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public static void m9771(C1054 c1054) {
        int iMo3458 = c1054.mo3458();
        for (int i = 0; i < iMo3458; i++) {
            byte bMo3456 = c1054.mo3456(i);
            if (65 <= bMo3456 && bMo3456 < 91) {
                C1685.m4568("PROTOCOL_ERROR response malformed: mixed case name: ".concat(c1054.m3463()));
                return;
            }
        }
    }
}
