package o;

import java.util.Objects;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.yb0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C3009yb0 implements InterfaceC2819wb0 {
    public volatile C0507To l;
    public volatile boolean m;
    public Object n;

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

    public final String toString() {
        Object string = this.l;
        if (string == null) {
            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();
        }
        String strValueOf2 = String.valueOf(string);
        StringBuilder sb2 = new StringBuilder(strValueOf2.length() + 19);
        sb2.append("Suppliers.memoize(");
        sb2.append(strValueOf2);
        sb2.append(")");
        return sb2.toString();
    }
}
