Dissecting Bankruptcy Frictions