Mathematical modeling and bifurcation analysis of pro- and anti-tumor macrophages