package h4;

import android.content.Context;
import dn.l;
import java.util.List;
import kotlin.jvm.internal.t;
import kotlin.jvm.internal.v;
import sm.u;
import tp.a1;
import tp.m0;
import tp.n0;
import tp.r2;

/* loaded from: classes.dex */
public abstract class a {

    /* renamed from: h4.a$a */
    /* loaded from: classes.dex */
    public static final class C0452a extends v implements l {

        /* renamed from: p */
        public static final C0452a f20816p = new C0452a();

        C0452a() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a */
        public final List invoke(Context it) {
            List k10;
            t.g(it, "it");
            k10 = u.k();
            return k10;
        }
    }

    public static final gn.c a(String name, g4.b bVar, l produceMigrations, m0 scope) {
        t.g(name, "name");
        t.g(produceMigrations, "produceMigrations");
        t.g(scope, "scope");
        return new c(name, bVar, produceMigrations, scope);
    }

    public static /* synthetic */ gn.c b(String str, g4.b bVar, l lVar, m0 m0Var, int i10, Object obj) {
        if ((i10 & 2) != 0) {
            bVar = null;
        }
        if ((i10 & 4) != 0) {
            lVar = C0452a.f20816p;
        }
        if ((i10 & 8) != 0) {
            m0Var = n0.a(a1.b().h(r2.b(null, 1, null)));
        }
        return a(str, bVar, lVar, m0Var);
    }
}
