Dear Danila,
The idea was first proposed in
V.A Rubakov M.E.Shaposhnikov Usp.Fiz.Nauk 166:493-537,1996
For our case you can also study the example of WTC model (you can find corresponding references in my reviews of this topic) as well as references of the latest paper on the related subject
A.Chaudhuri, M.Yu.Khlo;pov
Balancing Asymmetric Dark Matter with Baryon Asymmetry by Sphaleron Transitions. Phys. Sci. Forum 2021, 2, 41.
https://doi.org/10.3390/ECU2021-09269. . arXiv:2107.12611