The clock is ticking

That is the unequivocal message of the UK’s recent EU Parliamentary and council elections. That is also what impelled British prime minister David Cameron to vehemently oppose the appointment of Federalist Jean Claude Junker as president-elect of the EU Commission. He failed in his attempt.
Suppose this happens in 2017; suppose the UK does vote to exit — where would this leave Ireland?