Selling or trade?

My current car is a 2011 Yukon Denali with 148, 000 miles and a couple of minor accidents which have been repaired but it needs a new axel in the front and likely some brake work. I'm not sure what I should do trade it in as is, fix it and sell it or fix it and trade it in, any thoughts?