| 1 |
.section __TEXT,__text,regular,pure_instructions |
| 2 |
.build_version macos, 10, 14 |
| 3 |
.globl __Z1fi ## -- Begin function _Z1fi |
| 4 |
.p2align 4, 0x90 |
| 5 |
__Z1fi: ## @_Z1fi |
| 6 |
.cfi_startproc |
| 7 |
## %bb.0: |
| 8 |
pushq %rbp |
| 9 |
.cfi_def_cfa_offset 16 |
| 10 |
.cfi_offset %rbp, -16 |
| 11 |
movq %rsp, %rbp |
| 12 |
.cfi_def_cfa_register %rbp |
| 13 |
movl %edi, -4(%rbp) |
| 14 |
movl _x(%rip), %edi |
| 15 |
addl -4(%rbp), %edi |
| 16 |
movl %edi, %eax |
| 17 |
popq %rbp |
| 18 |
retq |
| 19 |
.cfi_endproc |
| 20 |
## -- End function |
| 21 |
.globl _main ## -- Begin function main |
| 22 |
.p2align 4, 0x90 |
| 23 |
_main: ## @main |
| 24 |
.cfi_startproc |
| 25 |
## %bb.0: |
| 26 |
pushq %rbp |
| 27 |
.cfi_def_cfa_offset 16 |
| 28 |
.cfi_offset %rbp, -16 |
| 29 |
movq %rsp, %rbp |
| 30 |
.cfi_def_cfa_register %rbp |
| 31 |
subq $16, %rsp |
| 32 |
movl $2, %edi |
| 33 |
movl $0, -4(%rbp) |
| 34 |
callq __Z1fi |
| 35 |
addq $16, %rsp |
| 36 |
popq %rbp |
| 37 |
retq |
| 38 |
.cfi_endproc |
| 39 |
## -- End function |
| 40 |
.section __DATA,__data |
| 41 |
.globl _x ## @x |
| 42 |
.p2align 2 |
| 43 |
_x: |
| 44 |
.long 1 ## 0x1 |
| 45 |
|
| 46 |
|
| 47 |
.subsections_via_symbols |