While trying to set up Boot Camp, I received an error shortly after the process finished. Checking Disk Utility on both the software and Terminal, I was left with the space I set for my Boot Camp partition as unusable. I tried to delete/unmount/format/erase that partition but after multiple failed attempts I ended up just losing access to that space entirely. This happened twice, going from 500GB of usuable space to 250GB to 112GB. Below are screenshots from Terminal and the Disk Utility.
Below is the output from the command
gpt -r show /dev/disk0.
How do I salvage this situation?