Cleanup for each event loop

Remove multiple cmp instructions with epoll_wait and instead use je and jl
after a single cmp. Remove push/pop of r15 since C calling for x86-64
requires callees to save this register for the caller.