package defpackage;

import android.content.Context;
import j$.util.DesugarCollections;
import java.nio.charset.Charset;
import java.util.Collections;
import java.util.Set;
import java.util.concurrent.Executor;

/* JADX INFO: renamed from: ᵝᵖʜ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C2933 {

    /* JADX INFO: renamed from: ᵨᵣ, reason: contains not printable characters */
    public static volatile C1581 f11276;

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public final InterfaceC4630 f11277;

    /* JADX INFO: renamed from: ːˏᵟᵯ, reason: contains not printable characters */
    public final C3804 f11278;

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public final InterfaceC4630 f11279;

    /* JADX INFO: renamed from: ᵷᵺʾᵖ, reason: contains not printable characters */
    public final C3420 f11280;

    public C2933(InterfaceC4630 interfaceC4630, InterfaceC4630 interfaceC46302, C3804 c3804, C3420 c3420, C4055 c4055) {
        this.f11279 = interfaceC4630;
        this.f11277 = interfaceC46302;
        this.f11278 = c3804;
        this.f11280 = c3420;
        ((Executor) c4055.f15558).execute(new RunnableC4972(17, c4055));
    }

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public static void m6994(Context context) {
        if (f11276 == null) {
            synchronized (C2933.class) {
                try {
                    if (f11276 == null) {
                        C2926 c2926 = new C2926();
                        context.getClass();
                        c2926.f11267 = context;
                        f11276 = c2926.m6988();
                    }
                } catch (Throwable th) {
                    throw th;
                }
            }
        }
    }

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public static C2933 m6995() {
        C1581 c1581 = f11276;
        if (c1581 != null) {
            return (C2933) c1581.f6354.get();
        }
        ᵕᵩʽᵲ.ᵪᵹᵥᵻ("Not initialized!");
        return null;
    }

    /* JADX INFO: renamed from: ːˏᵟᵯ, reason: contains not printable characters */
    public final C3987 m6996(C1252 c1252) {
        byte[] bytes;
        Set setUnmodifiableSet = c1252 instanceof C1252 ? DesugarCollections.unmodifiableSet(C1252.f5290) : Collections.singleton(new C0160("proto"));
        ᵯᵨᵲ r2 = C3147.m7252();
        c1252.getClass();
        r2.ᵜᵪʾ = "cct";
        String str = c1252.f5293;
        String str2 = c1252.f5292;
        if (str2 == null && str == null) {
            bytes = null;
        } else {
            if (str2 == null) {
                str2 = "";
            }
            bytes = AbstractC0793.m2874("1$", str, "\\", str2).getBytes(Charset.forName("UTF-8"));
        }
        r2.ᵔᵖᵹᵫ = bytes;
        return new C3987(setUnmodifiableSet, r2.ˀᵭ(), this);
    }
}
