list.c · reverse each line, then the instructions it compiled to · lines and addresses in one column 20 while ( head ) { 1001 910 test rdi, rdi 1001 913 je 1001935 1001 915 push rbp 1001 916 mov rbp, rsp 1001 919 xor eax, eax 1001 91b nop [rax + rax] 1001 920 mov rcx, rax 1001 923 mov rax, rdi 21 struct node * next = head - > next ; 1001 926 mov rdi, [rdi + 8] 1004098 1004070 9 22 head - > next = prev ; 1001 92a mov [rax + 8], rcx 20 while (head) { again: its second run 1001 92e test rdi, rdi 1001 931 jne 1001920 1001 933 pop rbp 26 return prev ; 1001 934 ret 1001 935 xor eax, eax 1001 937 ret Line 20, while (head), comes twice: its test before the body and again after it. Lines 23 to 25 have no code of their own: no group.