package N2;

/* JADX INFO: loaded from: classes.dex */
public final class o implements Z2.a {

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public static final Object f2218c = new Object();

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public volatile Object f2219a = f2218c;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public volatile Z2.a f2220b;

    public o(Z2.a aVar) {
        this.f2220b = aVar;
    }

    @Override // Z2.a
    public final Object get() {
        Object obj;
        Object obj2 = this.f2219a;
        Object obj3 = f2218c;
        if (obj2 != obj3) {
            return obj2;
        }
        synchronized (this) {
            try {
                obj = this.f2219a;
                if (obj == obj3) {
                    obj = this.f2220b.get();
                    this.f2219a = obj;
                    this.f2220b = null;
                }
            } catch (Throwable th) {
                throw th;
            }
        }
        return obj;
    }
}
