Loop-de- loop waste pipe
It looks like you have a double trap, unless I'm mistaken on how the water flows through this drain.



I've scribbled in where water will sit in the pipe, which clearly shows two traps.

The best option would be to go from the upper 90 of the P-trap, directly into the outlet pipe.



When you rebuild the trap, you should use a u-bend with a cleanout.