We don't do logic problems here It depends. Want to ride it, sell it, or fix it?
Quick fix is to spoon a known good engine into the subject bike which could be done in a day. Then examine the subject engine from the subject bike and make repairs as your wallet allows. Once repaired, spoon it back in or save it for a spare.
Somewhat related, consider title issues if you spoon a used engine into a derelict bike, and then resell it.
Rick