On the keto diet (low carb, high fat) I've gone from a 4xl to an xl (L with a compression shirt to retain loose skin). I'm 6' and 240 lbs. I want to lose another 20-40 lbs. I'm doing SL5x5 again and I'm about 2 months in.

However, I feel like I'm half heartedly attempting both. My weight has been slowly creeping up, and not a lot of it is muscle (I was 15 lbs lighter at one point).

I don't want to use lifting as an excuse to eat garbage, but i was wondering if I'd make more progress if I wasn't trying to balance a low carb diet and lifting.

Should I focus on dropping weight? Should I focus on building muscle? Or do I need to just try harder to find an equilibrium?