package defpackage;

import j$.util.DesugarCollections;
import java.nio.charset.Charset;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
import java.util.regex.Pattern;

/* renamed from: ᵗː, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C2444 {

    /* renamed from: ˇʼʤˎ, reason: contains not printable characters */
    public static final C2444 f9523;

    /* renamed from: ˏˋٴ, reason: contains not printable characters */
    public static final C2444 f9524;

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public static final String f9525;

    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public static final Set f9526;

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final String f9527;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final String f9528;

    static {
        String str = ˉˇʨ.ᵾᵬ("hts/frbslgiggolai.o/0clgbthfra=snpoo", "tp:/ieaeogn.ogepscmvc/o/ac?omtjo_rt3");
        f9525 = str;
        String str2 = ˉˇʨ.ᵾᵬ("hts/frbslgigp.ogepscmv/ieo/eaybtho", "tp:/ieaeogn-agolai.o/1frlglgc/aclg");
        String str3 = ˉˇʨ.ᵾᵬ("AzSCki82AwsLzKd5O8zo", "IayckHiZRO1EFl1aGoK");
        f9526 = DesugarCollections.unmodifiableSet(new HashSet(Arrays.asList(new C1928("proto"), new C1928("json"))));
        f9523 = new C2444(str, null);
        f9524 = new C2444(str2, str3);
    }

    public C2444(String str, String str2) {
        this.f9527 = str;
        this.f9528 = str2;
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public static C2444 m6242(byte[] bArr) {
        String str = new String(bArr, Charset.forName("UTF-8"));
        if (!str.startsWith("1$")) {
            ᵹˉᵞ.ˌᵜᵹᵩ("Version marker missing from extras");
            return null;
        }
        String[] strArrSplit = str.substring(2).split(Pattern.quote("\\"), 2);
        if (strArrSplit.length != 2) {
            ᵹˉᵞ.ˌᵜᵹᵩ("Extra is not a valid encoded LegacyFlgDestination");
            return null;
        }
        String str2 = strArrSplit[0];
        if (str2.isEmpty()) {
            ᵹˉᵞ.ˌᵜᵹᵩ("Missing endpoint in CCTDestination extras");
            return null;
        }
        String str3 = strArrSplit[1];
        return new C2444(str2, str3.isEmpty() ? null : str3);
    }
}
