When Shiro's train of thoughts continued to run wild, Ryo took his leave, to prepare for the final day. He needs to be ready for any outcome. For better, for worse. Although, all he wants is that she ends up succeeding.
If things turn out for the better, and that boy manages to make a successful move, then it's all fine, and she can move ahead. But if not, Airi is going to be lost forever, with no way of returning, or to be free.
He hopes the second one doesn't happen. For her, and for himself as well. So what he is being selfish? All he wants is for her to be successful now, only that can bring out possibilities for him. And if that happens, he swears to do everything right. So that he can change her fate. So that he can make her smile once and for always. So that he can make her life give a total flip to a happy one, where there would be no place for sadness, no place for those people who can cause her sadness. And if possible, occupy a little space in her life for himself.