hack up

Intermédiaire supérieur (B2) informal

To cut something into rough pieces, or to cough a lot in a difficult, unpleasant way.

"She hacked up the fallen tree and stacked the wood by the shed."