package defpackage;

import android.content.Context;
import java.util.Collections;
import java.util.List;

/* renamed from: ᵠᵡˊˆ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C3139 {

    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public static final /* synthetic */ InterfaceC4302[] f11934;

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final InterfaceC2715 f11935;

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

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final ThreadLocal f11937 = new ThreadLocal();

    static {
        C2623 c2623 = new C2623(C3373.f12616, C3139.class, "dataStore", "getDataStore(Landroid/content/Context;)Landroidx/datastore/core/DataStore;", 0);
        AbstractC1641.f6557.getClass();
        f11934 = new InterfaceC4302[]{c2623};
    }

    public C3139(Context context, String str) {
        C0152 c0152;
        this.f11936 = str;
        ˊʘ r0 = new ˊʘ(15, new ᵙʢʽ(17, this));
        ᵡᵘˎʽ r1 = new ᵡᵘˎʽ(9, this);
        C1980 c1980 = AbstractC4021.f15114;
        C3611 c3611 = ᵳʿˉ.ᵥᵯˎ(ˁˈᵸ.ˎˑː(ExecutorC0120.f1436, ˏᵭᵔᵬ.ᵥᵯˎ()));
        C5081 c5081 = new C5081(str, r0, r1, c3611);
        int i = 0;
        InterfaceC4302 interfaceC4302 = f11934[0];
        C0152 c01522 = (C0152) c5081.f19003;
        if (c01522 == null) {
            synchronized (c5081.f19005) {
                try {
                    if (((C0152) c5081.f19003) == null) {
                        Context applicationContext = context.getApplicationContext();
                        List list = (List) r1.mo1588(applicationContext);
                        c5081.f19003 = new C0152(new C0152(new C5293(new C4383(ᵥᵵ.ˑᵥˁ, new C1654(2, new C0216(applicationContext, c5081, i))), Collections.singletonList(new ᵣᵽᵮ(list, (InterfaceC4943) null, 18)), r0, c3611)));
                    }
                    c0152 = (C0152) c5081.f19003;
                } catch (Throwable th) {
                    throw th;
                }
            }
            c01522 = c0152;
        }
        this.f11935 = c01522;
    }
}
