package o;

import java.io.Serializable;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.xb0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2914xb0 implements InterfaceC2819wb0, Serializable {
    private static final long serialVersionUID = 0;
    public final C0507To l;
    public volatile transient boolean m;
    public transient Object n;

    public C2914xb0(C0507To c0507To) {
        this.l = c0507To;
    }

    @Override // o.InterfaceC2819wb0
    public final Object get() {
        if (!this.m) {
            synchronized (this) {
                try {
                    if (!this.m) {
                        Object obj = this.l.get();
                        this.n = obj;
                        this.m = true;
                        return obj;
                    }
                } finally {
                }
            }
        }
        return this.n;
    }

    public final String toString() {
        Object string;
        if (this.m) {
            String strValueOf = String.valueOf(this.n);
            StringBuilder sb = new StringBuilder(strValueOf.length() + 25);
            sb.append("<supplier that returned ");
            sb.append(strValueOf);
            sb.append(">");
            string = sb.toString();
        } else {
            string = this.l;
        }
        String strValueOf2 = String.valueOf(string);
        StringBuilder sb2 = new StringBuilder(strValueOf2.length() + 19);
        sb2.append("Suppliers.memoize(");
        sb2.append(strValueOf2);
        sb2.append(")");
        return sb2.toString();
    }
}
