Case 580k backhoe needing some engine help smokes badly

Any thoughts on what is causing the power loss and excessive black smoke?