package o;

import android.content.Context;
import com.google.android.datatransport.cct.CctBackendFactory;
import java.util.HashMap;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.xP, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2900xP {
    public final DH a;
    public final C3126zm0 b;
    public final HashMap c;

    public C2900xP(Context context, C3126zm0 c3126zm0) {
        DH dh = new DH(false, (Object) context);
        this.c = new HashMap();
        this.a = dh;
        this.b = c3126zm0;
    }

    public final synchronized Rg0 a(String str) {
        if (this.c.containsKey(str)) {
            return (Rg0) this.c.get(str);
        }
        CctBackendFactory cctBackendFactoryK = this.a.k(str);
        if (cctBackendFactoryK == null) {
            return null;
        }
        C3126zm0 c3126zm0 = this.b;
        Rg0 rg0Create = cctBackendFactoryK.create(new C0261Kb((Context) c3126zm0.m, (C2616uQ) c3126zm0.n, (C2616uQ) c3126zm0.f831o, str));
        this.c.put(str, rg0Create);
        return rg0Create;
    }
}
