A Theory of Cash Flow-Based Financing with Distress Resolution - BizPub.ai