Explanation
This structure indicates that regardless of whether one does (verb) or not, the outcome/attitude remains unchanged.
Formation
Verb-volitional + と + Verb-negative volitional (~まい) + と
Detailed explanation
The expression 'Verb-volitional form + と + Verb-negative volitional (~まい) + と' means 'regardless of whether one does X or not, it doesn't change the situation'. It shows the speaker's firm stance or the unchanging nature of some outcome.
Examples
Anata ga koyou to kuru mai to, paatii wa yotei doori ni hajimarimasu.
Whether you come or not, the party will start as scheduled.
Kare ga asoko ni ikou to iku mai to, watashitachi wa tomeru koto ga dekimasen.
Whether he tries to go there or not, we can't stop him.
Kanojo ga ayamarou to ayamaru mai to, jijitsu wa kawaranai.
Whether she apologizes or not, the fact won't change.
Shiken o ukeyou to ukeru mai to, oya to shite watashi wa anata o sasaemasu.
Whether you take the exam or not, I will support you as your parent.
Practice
Grammar content sourced from hanabira.org.