.file "ex.c" .text .globl f .type f, @function f: pushl %ebp movl %esp, %ebp movl 12(%ebp), %edx movl 8(%ebp), %eax leal 3(%eax,%edx,4), %edx movl 16(%ebp), %eax xorl $1001, %eax leal (%edx,%eax), %eax popl %ebp ret .size f, .-f .section .rodata.str1.1,"aMS",@progbits,1 .LC0: .string "%d\n" .text .globl main .type main, @function main: pushl %ebp movl %esp, %ebp andl $-16, %esp subl $16, %esp movl $73, 8(%esp) movl $41, 4(%esp) movl $23, (%esp) call f movl %eax, 8(%esp) movl $.LC0, 4(%esp) movl $1, (%esp) call __printf_chk leave ret .size main, .-main .ident "GCC: (Ubuntu 4.4.3-4ubuntu5) 4.4.3" .section .note.GNU-stack,"",@progbits