package X6FRs_4.KQgRr5e_0.YghfZG_14.XnFJ5_9;

import android.content.Context;
import android.os.Build;
import android.view.Menu;
import android.view.MenuItem;
import android.view.SubMenu;
/* compiled from: MenuWrapperFactory.java */
/* loaded from: classes.dex */
public final class JZJr_16 {
    public static Menu KQgRr5e_0(Context context, X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.KQgRr5e_0 kQgRr5e_0) {
        return new NQvZgp_17(context, kQgRr5e_0);
    }

    public static MenuItem KQgRr5e_0(Context context, X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1 qxJ9d_1) {
        if (Build.VERSION.SDK_INT >= 16) {
            return new KNBe_11(context, qxJ9d_1);
        }
        return new Nm6q_10(context, qxJ9d_1);
    }

    public static SubMenu KQgRr5e_0(Context context, X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.PGPF6hQ_2 pGPF6hQ_2) {
        return new RfjZ_21(context, pGPF6hQ_2);
    }
}
