package com.google.firebase.components;

/* JADX INFO: loaded from: classes2.dex */
public final class m implements gb.a {

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

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

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

    public m(gb.a aVar) {
        this.f24033b = aVar;
    }

    @Override // gb.a
    public final Object get() {
        Object obj = this.f24032a;
        Object obj2 = f24031c;
        if (obj == obj2) {
            synchronized (this) {
                try {
                    obj = this.f24032a;
                    if (obj == obj2) {
                        obj = this.f24033b.get();
                        this.f24032a = obj;
                        this.f24033b = null;
                    }
                } finally {
                }
            }
        }
        return obj;
    }
}
