package rm;

import java.io.Serializable;

/* loaded from: classes3.dex */
public final class o0 implements o, Serializable {

    /* renamed from: p, reason: collision with root package name */
    private dn.a f34905p;

    /* renamed from: q, reason: collision with root package name */
    private Object f34906q;

    public o0(dn.a initializer) {
        kotlin.jvm.internal.t.g(initializer, "initializer");
        this.f34905p = initializer;
        this.f34906q = j0.f34891a;
    }

    @Override // rm.o
    public Object getValue() {
        if (this.f34906q == j0.f34891a) {
            dn.a aVar = this.f34905p;
            kotlin.jvm.internal.t.d(aVar);
            this.f34906q = aVar.invoke();
            this.f34905p = null;
        }
        return this.f34906q;
    }

    @Override // rm.o
    public boolean isInitialized() {
        return this.f34906q != j0.f34891a;
    }

    public String toString() {
        return isInitialized() ? String.valueOf(getValue()) : "Lazy value not initialized yet.";
    }
}
