I felt that way at a month out as well. I know it can be hard to deal with the shame and regret, and wishing to go back in time and make different decisions. However, these thoughts and feelings, while normal (and hopefully only temporarily overwhelming), are not productive. It sounds like you are doing the right things with going to IC and trying to work on yourself and your M. Try to focus on that.
There are also other posts on here that can help with letting go of the outcome (recovery and reconciliation vs divorce), which can help relieve some of that anxiety and fear you may be feeling (might seem impossible, I know. But it's not.) One thing that I've read that has been helpful is that even if your BS chooses divorce, you should aim to know that you did everything you could to try to assist with her recovery and to repair the marriage. All you can do is give it your all, at this point...
And it doesn't have to negatively affect your children if you and their mum either demonstrate to them how to overcome really hard things in relationships, effective communication, loving behavior, exercising forgiveness, introspection and self-improvement, etc.... Or, worse comes to worst, you do your very best to separate amicably, coparent cohesively, and mitigate the potential turbulence of change in their lives. Listen to their feelings and be there for them no matter what, and make sure they feel extra loved during this time. Make sure that you are not allowing your high emotions to affect the way you treat them, and allow them to have as much control as possible in their day-to-day lives (even if it's just letting them choose what to have for dinner, activities to do on weekends, or what they wear to school), which can help them to feel safer when things are rough or uncertain.
Try to stay positive! We are here for you, and we are rooting for you.
[This message edited by DayByDay96 at 5:26 PM, Monday, October 13th]