[entry: main] const SYS_EXIT = 60 proc main { rbx = 0 rcx = 5 while .countdown rcx > 0 { rbx += rcx rcx -= 1 } rdi = rbx rax = SYS_EXIT syscall }