55 lines · plain
1 .section __TEXT,__text,regular,pure_instructions2 .build_version macos, 10, 143 .globl __Z1fi ## -- Begin function _Z1fi4 .p2align 4, 0x905__Z1fi: ## @_Z1fi6 .cfi_startproc7## %bb.0:8 pushl %ebp9 .cfi_def_cfa_offset 810 .cfi_offset %ebp, -811 movl %esp, %ebp12 .cfi_def_cfa_register %ebp13 pushl %eax14 calll L0$pb15L0$pb:16 popl %eax17 movl 8(%ebp), %ecx18 movl _x-L0$pb(%eax), %eax19 addl 8(%ebp), %eax20 movl %ecx, -4(%ebp) ## 4-byte Spill21 addl $4, %esp22 popl %ebp23 retl24 .cfi_endproc25 ## -- End function26 .globl _main ## -- Begin function main27 .p2align 4, 0x9028_main: ## @main29 .cfi_startproc30## %bb.0:31 pushl %ebp32 .cfi_def_cfa_offset 833 .cfi_offset %ebp, -834 movl %esp, %ebp35 .cfi_def_cfa_register %ebp36 subl $24, %esp37 movl $2, %eax38 movl $0, -4(%ebp)39 movl $2, (%esp)40 movl %eax, -8(%ebp) ## 4-byte Spill41 calll __Z1fi42 addl $24, %esp43 popl %ebp44 retl45 .cfi_endproc46 ## -- End function47 .section __DATA,__data48 .globl _x ## @x49 .p2align 250_x:51 .long 1 ## 0x152 53 54.subsections_via_symbols55