package defpackage;

/* renamed from: ˈⁱᵾᵡ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C1124 implements InterfaceC2765 {

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public static final Object f4835 = new Object();

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public volatile Object f4836;

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public volatile InterfaceC1783 f4837;

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public static InterfaceC2765 m3557(InterfaceC1783 interfaceC1783) {
        if (interfaceC1783 instanceof C1124) {
            return interfaceC1783;
        }
        C1124 c1124 = new C1124();
        c1124.f4836 = f4835;
        c1124.f4837 = interfaceC1783;
        return c1124;
    }

    @Override // defpackage.InterfaceC2765
    public final Object get() {
        Object obj;
        Object obj2 = this.f4836;
        Object obj3 = f4835;
        if (obj2 != obj3) {
            return obj2;
        }
        synchronized (this) {
            try {
                obj = this.f4836;
                if (obj == obj3) {
                    obj = this.f4837.get();
                    Object obj4 = this.f4836;
                    if (obj4 != obj3 && obj4 != obj) {
                        throw new IllegalStateException("Scoped provider was invoked recursively returning different results: " + obj4 + " & " + obj + ". This is likely due to a circular dependency.");
                    }
                    this.f4836 = obj;
                    this.f4837 = null;
                }
            } catch (Throwable th) {
                throw th;
            }
        }
        return obj;
    }
}
