Default cyanogen need samsung stock with odin mobile and reset flash counter MAC!!!

Okay, I have been having problems with my phone and I need to take it into my carrier. First of all, I need to get rid of cyanogen to get back onto samsung stock and unroot it... I downloaded mobile odin pro but I need to reset flash counter... but I must be rooted and on samsung stock in order to do this and how can I get rid of cyanogenmod to get samsung stock... and I dont have windows.... Im on a mac!!!! this is stressful... I dont even know what to being now.. help me out please