package androidx.lifecycle;

import androidx.lifecycle.c1;
import s4.a;

/* loaded from: classes.dex */
public final class b1 implements rm.o {

    /* renamed from: p, reason: collision with root package name */
    private final kn.d f4751p;

    /* renamed from: q, reason: collision with root package name */
    private final dn.a f4752q;

    /* renamed from: r, reason: collision with root package name */
    private final dn.a f4753r;

    /* renamed from: s, reason: collision with root package name */
    private final dn.a f4754s;

    /* renamed from: t, reason: collision with root package name */
    private z0 f4755t;

    /* JADX INFO: Access modifiers changed from: package-private */
    /* loaded from: classes.dex */
    public static final class a extends kotlin.jvm.internal.v implements dn.a {

        /* renamed from: p, reason: collision with root package name */
        public static final a f4756p = new a();

        a() {
            super(0);
        }

        @Override // dn.a
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final a.C0830a invoke() {
            return a.C0830a.f35416b;
        }
    }

    /* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
    public b1(kn.d viewModelClass, dn.a storeProducer, dn.a factoryProducer) {
        this(viewModelClass, storeProducer, factoryProducer, null, 8, null);
        kotlin.jvm.internal.t.g(viewModelClass, "viewModelClass");
        kotlin.jvm.internal.t.g(storeProducer, "storeProducer");
        kotlin.jvm.internal.t.g(factoryProducer, "factoryProducer");
    }

    @Override // rm.o
    /* renamed from: a, reason: merged with bridge method [inline-methods] */
    public z0 getValue() {
        z0 z0Var = this.f4755t;
        if (z0Var != null) {
            return z0Var;
        }
        z0 c10 = c1.f4774b.a((d1) this.f4752q.invoke(), (c1.c) this.f4753r.invoke(), (s4.a) this.f4754s.invoke()).c(this.f4751p);
        this.f4755t = c10;
        return c10;
    }

    @Override // rm.o
    public boolean isInitialized() {
        return this.f4755t != null;
    }

    public b1(kn.d viewModelClass, dn.a storeProducer, dn.a factoryProducer, dn.a extrasProducer) {
        kotlin.jvm.internal.t.g(viewModelClass, "viewModelClass");
        kotlin.jvm.internal.t.g(storeProducer, "storeProducer");
        kotlin.jvm.internal.t.g(factoryProducer, "factoryProducer");
        kotlin.jvm.internal.t.g(extrasProducer, "extrasProducer");
        this.f4751p = viewModelClass;
        this.f4752q = storeProducer;
        this.f4753r = factoryProducer;
        this.f4754s = extrasProducer;
    }

    public /* synthetic */ b1(kn.d dVar, dn.a aVar, dn.a aVar2, dn.a aVar3, int i10, kotlin.jvm.internal.k kVar) {
        this(dVar, aVar, aVar2, (i10 & 8) != 0 ? a.f4756p : aVar3);
    }
}
