48 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 pushq %rbp9 .cfi_def_cfa_offset 1610 .cfi_offset %rbp, -1611 movq %rsp, %rbp12 .cfi_def_cfa_register %rbp13 movl %edi, -4(%rbp)14 movl _x(%rip), %edi15 addl -4(%rbp), %edi16 movl %edi, %eax17 popq %rbp18 retq19 .cfi_endproc20 ## -- End function21 .globl _main ## -- Begin function main22 .p2align 4, 0x9023_main: ## @main24 .cfi_startproc25## %bb.0:26 pushq %rbp27 .cfi_def_cfa_offset 1628 .cfi_offset %rbp, -1629 movq %rsp, %rbp30 .cfi_def_cfa_register %rbp31 subq $16, %rsp32 movl $2, %edi33 movl $0, -4(%rbp)34 callq __Z1fi35 addq $16, %rsp36 popq %rbp37 retq38 .cfi_endproc39 ## -- End function40 .section __DATA,__data41 .globl _x ## @x42 .p2align 243_x:44 .long 1 ## 0x145 46 47.subsections_via_symbols48