1# static int i; // A local symbol. 2# int f(void) { return i; } // An external symbol. 3 4 .section __TEXT,__text,regular,pure_instructions 5 .build_version macos, 10, 14 6 .globl _f ## -- Begin function f 7 .p2align 4, 0x90 8_f: ## @f 9 .cfi_startproc 10## %bb.0: 11 pushq %rbp 12 .cfi_def_cfa_offset 16 13 .cfi_offset %rbp, -16 14 movq %rsp, %rbp 15 .cfi_def_cfa_register %rbp 16 movl _i(%rip), %eax 17 popq %rbp 18 retq 19 .cfi_endproc 20 ## -- End function 21.zerofill __DATA,__bss,_i,4,2 ## @i 22 23.subsections_via_symbols 24