Bankruptcy Jones energy

What is involved with my significant cash investment in a well as a royalty owner participant when the operating company goes bankrupt after the well goes on line.