Bifurcation and asymptotic bifurcation for equations involving A-proper mappings with applications to differential equations