.file "foo.cpp" .intel_syntax noprefix .text .globl main .type main, @function main: .LFB0: .cfi_startproc push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov DWORD PTR [rbp-4], 0 .L3: cmp DWORD PTR [rbp-4], 9 jg .L2 mov eax, DWORD PTR [rbp-4] cdqe mov eax, DWORD PTR [rbp-48+rax*4] lea edx, [rax+1] mov eax, DWORD PTR [rbp-4] cdqe mov DWORD PTR [rbp-48+rax*4], edx add DWORD PTR [rbp-4], 1 jmp .L3 .L2: mov eax, 0 pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size main, .-main .ident "GCC: (GNU) 9.3.1 20200408 (Red Hat 9.3.1-2)" .section .note.GNU-stack,"",@progbits