package ap;

import kotlin.jvm.internal.t;
import kotlin.jvm.internal.v;

/* loaded from: classes3.dex */
public final class g extends ap.a {

    /* renamed from: b, reason: collision with root package name */
    private final gp.i f6142b;

    /* loaded from: classes3.dex */
    static final class a extends v implements dn.a {

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ dn.a f6143p;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        a(dn.a aVar) {
            super(0);
            this.f6143p = aVar;
        }

        @Override // dn.a
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final h invoke() {
            h hVar = (h) this.f6143p.invoke();
            return hVar instanceof ap.a ? ((ap.a) hVar).h() : hVar;
        }
    }

    /* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
    /* JADX WARN: Multi-variable type inference failed */
    public g(dn.a getScope) {
        this(null, getScope, 1, 0 == true ? 1 : 0);
        t.g(getScope, "getScope");
    }

    @Override // ap.a
    protected h i() {
        return (h) this.f6142b.invoke();
    }

    /* JADX WARN: Illegal instructions before constructor call */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public /* synthetic */ g(gp.n NO_LOCKS, dn.a aVar, int i10, kotlin.jvm.internal.k kVar) {
        this(NO_LOCKS, aVar);
        if ((i10 & 1) != 0) {
            NO_LOCKS = gp.f.f20113e;
            t.f(NO_LOCKS, "NO_LOCKS");
        }
    }

    public g(gp.n storageManager, dn.a getScope) {
        t.g(storageManager, "storageManager");
        t.g(getScope, "getScope");
        this.f6142b = storageManager.b(new a(getScope));
    }
}
