Not good m8, back part might be bogged n resprayed but as far as the rear side panel id say a new one and sprayed + labour be up there $$ wise..looks pretty worse for wear : (
how did that happen?
I'd smooth that bit off then use fibreglass to re-replicate the shape, an sand & paint it... Only you would know, An you could do it yourself for under $100,
new bar is maybe $300, paint it $500, repair and paint rear 1/4 $500. $1300 all up, car off road maybe 3 days or so. dunno if the brackets and reinforcements would be intact, though...