McFarland man pleads guilty to meth distribution, firearm charges