.section __TEXT,__text,regular,pure_instructions .section __DWARF,__debug_frame,regular,debug Lsection_debug_frame: .section __DWARF,__debug_info,regular,debug Lsection_info: .section __DWARF,__debug_abbrev,regular,debug Lsection_abbrev: .section __DWARF,__debug_aranges,regular,debug Lsection_aranges: .section __DWARF,__debug_macinfo,regular,debug Lsection_macinfo: Lsection_line: .section __DWARF,__debug_loc,regular,debug Lsection_loc: .section __DWARF,__debug_pubnames,regular,debug Lsection_pubnames: .section __DWARF,__debug_pubtypes,regular,debug Lsection_pubtypes: .section __DWARF,__debug_str,regular,debug Lsection_str: .section __DWARF,__debug_ranges,regular,debug Lsection_ranges: .section __TEXT,__text,regular,pure_instructions Ltext_begin: .section __DATA,__data Ldata_begin: .section __TEXT,__text,regular,pure_instructions .globl _swap .align 4, 0x90 _swap: Leh_func_begin1: Lfunc_begin1: Ltmp2: pushq %rbp Ltmp0: movq %rsp, %rbp Ltmp1: Ltmp3: Ltmp4: Ltmp5: movl (%rdi), %eax Ltmp6: movl (%rsi), %ecx movl %ecx, (%rdi) Ltmp7: movl %eax, (%rsi) Ltmp8: popq %rbp ret Ltmp9: Lfunc_end1: Leh_func_end1: .globl _swap_l .align 4, 0x90 _swap_l: Leh_func_begin2: Lfunc_begin2: Ltmp12: pushq %rbp Ltmp10: movq %rsp, %rbp Ltmp11: Ltmp13: Ltmp14: Ltmp15: movq (%rdi), %rax Ltmp16: movq (%rsi), %rcx movq %rcx, (%rdi) Ltmp17: movq %rax, (%rsi) Ltmp18: popq %rbp ret Ltmp19: Lfunc_end2: Leh_func_end2: .globl _call_swap .align 4, 0x90 _call_swap: Leh_func_begin3: Lfunc_begin3: Ltmp22: pushq %rbp Ltmp20: movq %rsp, %rbp Ltmp21: leaq _course1(%rip), %rdi leaq _course2(%rip), %rsi Ltmp23: popq %rbp jmp _swap # TAILCALL Ltmp24: Lfunc_end3: Leh_func_end3: .globl _main .align 4, 0x90 _main: Leh_func_begin4: Lfunc_begin4: Ltmp27: pushq %rbp Ltmp25: movq %rsp, %rbp Ltmp26: Ltmp28: movl _course2(%rip), %edx movl _course1(%rip), %esi leaq L_.str(%rip), %rdi xorb %al, %al callq _printf Ltmp29: callq _call_swap Ltmp30: movl _course2(%rip), %edx movl _course1(%rip), %esi leaq L_.str1(%rip), %rdi xorb %al, %al callq _printf xorl %eax, %eax Ltmp31: popq %rbp ret Ltmp32: Lfunc_end4: Leh_func_end4: .section __DATA,__data .globl _course1 .align 2 _course1: .long 15213 .globl _course2 .align 2 _course2: .long 18243 .section __TEXT,__cstring,cstring_literals .align 3 L_.str: .asciz "Initially: course1 = %d, course2 = %d\n" .align 3 L_.str1: .asciz "Finally: course1 = %d, course2 = %d\n" .section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support EH_frame0: Lsection_eh_frame: Leh_frame_common: Lset0 = Leh_frame_common_end-Leh_frame_common_begin .long Lset0 Leh_frame_common_begin: .long 0 .byte 1 .asciz "zR" .byte 1 .byte 120 .byte 16 .byte 1 .byte 16 .byte 12 .byte 7 .byte 8 .byte 144 .byte 1 .align 3 Leh_frame_common_end: .globl _swap.eh _swap.eh: Lset1 = Leh_frame_end1-Leh_frame_begin1 .long Lset1 Leh_frame_begin1: Lset2 = Leh_frame_begin1-Leh_frame_common .long Lset2 Ltmp33: .quad Leh_func_begin1-Ltmp33 Lset3 = Leh_func_end1-Leh_func_begin1 .quad Lset3 .byte 0 .byte 4 Lset4 = Ltmp0-Leh_func_begin1 .long Lset4 .byte 14 .byte 16 .byte 134 .byte 2 .byte 4 Lset5 = Ltmp1-Ltmp0 .long Lset5 .byte 13 .byte 6 .align 3 Leh_frame_end1: .globl _swap_l.eh _swap_l.eh: Lset6 = Leh_frame_end2-Leh_frame_begin2 .long Lset6 Leh_frame_begin2: Lset7 = Leh_frame_begin2-Leh_frame_common .long Lset7 Ltmp34: .quad Leh_func_begin2-Ltmp34 Lset8 = Leh_func_end2-Leh_func_begin2 .quad Lset8 .byte 0 .byte 4 Lset9 = Ltmp10-Leh_func_begin2 .long Lset9 .byte 14 .byte 16 .byte 134 .byte 2 .byte 4 Lset10 = Ltmp11-Ltmp10 .long Lset10 .byte 13 .byte 6 .align 3 Leh_frame_end2: .globl _call_swap.eh _call_swap.eh: Lset11 = Leh_frame_end3-Leh_frame_begin3 .long Lset11 Leh_frame_begin3: Lset12 = Leh_frame_begin3-Leh_frame_common .long Lset12 Ltmp35: .quad Leh_func_begin3-Ltmp35 Lset13 = Leh_func_end3-Leh_func_begin3 .quad Lset13 .byte 0 .byte 4 Lset14 = Ltmp20-Leh_func_begin3 .long Lset14 .byte 14 .byte 16 .byte 134 .byte 2 .byte 4 Lset15 = Ltmp21-Ltmp20 .long Lset15 .byte 13 .byte 6 .align 3 Leh_frame_end3: .globl _main.eh _main.eh: Lset16 = Leh_frame_end4-Leh_frame_begin4 .long Lset16 Leh_frame_begin4: Lset17 = Leh_frame_begin4-Leh_frame_common .long Lset17 Ltmp36: .quad Leh_func_begin4-Ltmp36 Lset18 = Leh_func_end4-Leh_func_begin4 .quad Lset18 .byte 0 .byte 4 Lset19 = Ltmp25-Leh_func_begin4 .long Lset19 .byte 14 .byte 16 .byte 134 .byte 2 .byte 4 Lset20 = Ltmp26-Ltmp25 .long Lset20 .byte 13 .byte 6 .align 3 Leh_frame_end4: .section __TEXT,__text,regular,pure_instructions Ltext_end: .section __DATA,__data Ldata_end: .section __TEXT,__text,regular,pure_instructions Lsection_end1: .section __DWARF,__debug_frame,regular,debug Ldebug_frame_common: Lset21 = Ldebug_frame_common_end-Ldebug_frame_common_begin .long Lset21 Ldebug_frame_common_begin: .long 4294967295 .byte 1 .byte 0 .byte 1 .byte 120 .byte 16 .byte 12 .byte 7 .byte 8 .byte 144 .byte 1 .align 2 Ldebug_frame_common_end: Lset22 = Ldebug_frame_end1-Ldebug_frame_begin1 .long Lset22 Ldebug_frame_begin1: Lset23 = Ldebug_frame_common-Lsection_debug_frame .long Lset23 .quad Lfunc_begin1 Lset24 = Lfunc_end1-Lfunc_begin1 .quad Lset24 .byte 4 Lset25 = Ltmp0-Lfunc_begin1 .long Lset25 .byte 14 .byte 16 .byte 134 .byte 2 .byte 4 Lset26 = Ltmp1-Ltmp0 .long Lset26 .byte 13 .byte 6 .align 2 Ldebug_frame_end1: Lset27 = Ldebug_frame_end2-Ldebug_frame_begin2 .long Lset27 Ldebug_frame_begin2: Lset28 = Ldebug_frame_common-Lsection_debug_frame .long Lset28 .quad Lfunc_begin2 Lset29 = Lfunc_end2-Lfunc_begin2 .quad Lset29 .byte 4 Lset30 = Ltmp10-Lfunc_begin2 .long Lset30 .byte 14 .byte 16 .byte 134 .byte 2 .byte 4 Lset31 = Ltmp11-Ltmp10 .long Lset31 .byte 13 .byte 6 .align 2 Ldebug_frame_end2: Lset32 = Ldebug_frame_end3-Ldebug_frame_begin3 .long Lset32 Ldebug_frame_begin3: Lset33 = Ldebug_frame_common-Lsection_debug_frame .long Lset33 .quad Lfunc_begin3 Lset34 = Lfunc_end3-Lfunc_begin3 .quad Lset34 .byte 4 Lset35 = Ltmp20-Lfunc_begin3 .long Lset35 .byte 14 .byte 16 .byte 134 .byte 2 .byte 4 Lset36 = Ltmp21-Ltmp20 .long Lset36 .byte 13 .byte 6 .align 2 Ldebug_frame_end3: Lset37 = Ldebug_frame_end4-Ldebug_frame_begin4 .long Lset37 Ldebug_frame_begin4: Lset38 = Ldebug_frame_common-Lsection_debug_frame .long Lset38 .quad Lfunc_begin4 Lset39 = Lfunc_end4-Lfunc_begin4 .quad Lset39 .byte 4 Lset40 = Ltmp25-Lfunc_begin4 .long Lset40 .byte 14 .byte 16 .byte 134 .byte 2 .byte 4 Lset41 = Ltmp26-Ltmp25 .long Lset41 .byte 13 .byte 6 .align 2 Ldebug_frame_end4: .section __DWARF,__debug_info,regular,debug Linfo_begin1: .long 597 .short 2 Lset42 = Labbrev_begin-Lsection_abbrev .long Lset42 .byte 8 .byte 1 .ascii "4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)" .byte 0 .byte 1 .ascii "swap.c" .byte 0 .quad 0 .long 0 .ascii "/Users/aykut/Documents/Academic/Courses/Hacettepe/BIL220/2012/codes/asm-procedures/" .byte 0 .byte 1 .byte 2 .long 280 .ascii "swap" .byte 0 .ascii "swap" .byte 0 .byte 1 .byte 5 .byte 1 .byte 1 .quad Lfunc_begin1 .quad Lfunc_end1 .byte 1 .byte 86 .byte 3 .byte 112 .byte 0 .byte 1 .byte 4 .long 568 Lset43 = Ldebug_loc-Lsection_loc .long Lset43 .byte 3 .byte 113 .byte 0 .byte 1 .byte 4 .long 568 Lset44 = Ldebug_loc3-Lsection_loc .long Lset44 .byte 4 .quad Ltmp5 .quad Ltmp9 .byte 5 .byte 116 .byte 0 .byte 1 .byte 6 .long 450 .byte 1 .byte 80 .quad Ltmp5 .byte 0 .byte 0 .byte 2 .long 385 .ascii "swap_l" .byte 0 .ascii "swap_l" .byte 0 .byte 1 .byte 12 .byte 1 .byte 1 .quad Lfunc_begin2 .quad Lfunc_end2 .byte 1 .byte 86 .byte 3 .byte 112 .byte 0 .byte 1 .byte 11 .long 588 Lset45 = Ldebug_loc6-Lsection_loc .long Lset45 .byte 3 .byte 113 .byte 0 .byte 1 .byte 11 .long 588 Lset46 = Ldebug_loc9-Lsection_loc .long Lset46 .byte 4 .quad Ltmp15 .quad Ltmp19 .byte 5 .byte 116 .byte 0 .byte 1 .byte 13 .long 576 .byte 1 .byte 80 .quad Ltmp15 .byte 0 .byte 0 .byte 2 .long 450 .ascii "call_swap" .byte 0 .ascii "call_swap" .byte 0 .byte 1 .byte 21 .byte 1 .byte 1 .quad Lfunc_begin3 .quad Lfunc_end3 .byte 1 .byte 86 .byte 6 .quad Ltmp23 .quad Ltmp24 .byte 0 .byte 7 .byte 5 .ascii "int" .byte 0 .byte 4 .byte 8 .long 516 .ascii "main" .byte 0 .ascii "main" .byte 0 .byte 1 .byte 25 .byte 1 .long 450 .byte 1 .quad Lfunc_begin4 .quad Lfunc_end4 .byte 1 .byte 86 .byte 6 .quad Ltmp28 .quad Ltmp32 .byte 0 .byte 9 .ascii "course1" .byte 0 .long 450 .byte 1 .byte 1 .byte 18 .byte 9 .byte 3 .quad _course1 .byte 9 .ascii "course2" .byte 0 .long 450 .byte 1 .byte 1 .byte 19 .byte 9 .byte 3 .quad _course2 .byte 10 .long 450 .byte 8 .byte 1 .byte 0 .byte 7 .byte 5 .ascii "long int" .byte 0 .byte 8 .byte 10 .long 576 .byte 8 .byte 1 .byte 0 .byte 0 .byte 0 .byte 0 .byte 0 .byte 0 Linfo_end1: .section __DWARF,__debug_abbrev,regular,debug Labbrev_begin: .byte 1 .byte 17 .byte 1 .byte 37 .byte 8 .byte 19 .byte 11 .byte 3 .byte 8 .byte 82 .byte 1 .byte 16 .byte 6 .byte 27 .byte 8 .byte 225 .byte 127 .byte 12 .byte 0 .byte 0 .byte 2 .byte 46 .byte 1 .byte 1 .byte 19 .byte 3 .byte 8 .byte 135 .byte 64 .byte 8 .byte 58 .byte 11 .byte 59 .byte 11 .byte 39 .byte 12 .byte 63 .byte 12 .byte 17 .byte 1 .byte 18 .byte 1 .byte 64 .byte 10 .byte 0 .byte 0 .byte 3 .byte 5 .byte 0 .byte 3 .byte 8 .byte 58 .byte 11 .byte 59 .byte 11 .byte 73 .byte 19 .byte 2 .byte 6 .byte 0 .byte 0 .byte 4 .byte 11 .byte 1 .byte 17 .byte 1 .byte 18 .byte 1 .byte 0 .byte 0 .byte 5 .byte 52 .byte 0 .byte 3 .byte 8 .byte 58 .byte 11 .byte 59 .byte 11 .byte 73 .byte 19 .byte 2 .byte 10 .byte 44 .byte 1 .byte 0 .byte 0 .byte 6 .byte 11 .byte 0 .byte 17 .byte 1 .byte 18 .byte 1 .byte 0 .byte 0 .byte 7 .byte 36 .byte 0 .byte 62 .byte 11 .byte 3 .byte 8 .byte 11 .byte 11 .byte 0 .byte 0 .byte 8 .byte 46 .byte 1 .byte 1 .byte 19 .byte 3 .byte 8 .byte 135 .byte 64 .byte 8 .byte 58 .byte 11 .byte 59 .byte 11 .byte 39 .byte 12 .byte 73 .byte 19 .byte 63 .byte 12 .byte 17 .byte 1 .byte 18 .byte 1 .byte 64 .byte 10 .byte 0 .byte 0 .byte 9 .byte 52 .byte 0 .byte 3 .byte 8 .byte 73 .byte 19 .byte 63 .byte 12 .byte 58 .byte 11 .byte 59 .byte 11 .byte 2 .byte 10 .byte 0 .byte 0 .byte 10 .byte 15 .byte 0 .byte 73 .byte 19 .byte 11 .byte 11 .byte 58 .byte 11 .byte 59 .byte 11 .byte 0 .byte 0 .byte 0 Labbrev_end: .section __DWARF,__debug_line,regular,debug Lset47 = Lline_end-Lline_begin .long Lset47 Lline_begin: .short 2 Lset48 = Lline_prolog_end-Lline_prolog_begin .long Lset48 Lline_prolog_begin: .byte 1 .byte 1 .byte 246 .byte 245 .byte 10 .byte 0 .byte 1 .byte 1 .byte 1 .byte 1 .byte 0 .byte 0 .byte 0 .byte 1 .asciz "/Users/aykut/Documents/Academic/Courses/Hacettepe/BIL220/2012/codes/asm-procedures/" .byte 0 .asciz "swap.c" .byte 1 .byte 0 .byte 0 .byte 0 Lline_prolog_end: .byte 0 .byte 9 .byte 2 .quad Ltmp2 .byte 24 .byte 0 .byte 9 .byte 2 .quad Ltmp3 .byte 19 .byte 0 .byte 9 .byte 2 .quad Ltmp4 .byte 1 .byte 0 .byte 9 .byte 2 .quad Ltmp5 .byte 22 .byte 0 .byte 9 .byte 2 .quad Ltmp6 .byte 21 .byte 0 .byte 9 .byte 2 .quad Ltmp7 .byte 21 .byte 0 .byte 9 .byte 2 .quad Ltmp8 .byte 21 .byte 0 .byte 9 .byte 2 .quad Ltmp12 .byte 23 .byte 0 .byte 9 .byte 2 .quad Ltmp13 .byte 19 .byte 0 .byte 9 .byte 2 .quad Ltmp14 .byte 1 .byte 0 .byte 9 .byte 2 .quad Ltmp15 .byte 22 .byte 0 .byte 9 .byte 2 .quad Ltmp16 .byte 21 .byte 0 .byte 9 .byte 2 .quad Ltmp17 .byte 21 .byte 0 .byte 9 .byte 2 .quad Ltmp18 .byte 21 .byte 0 .byte 9 .byte 2 .quad Ltmp22 .byte 25 .byte 0 .byte 9 .byte 2 .quad Ltmp23 .byte 21 .byte 0 .byte 9 .byte 2 .quad Ltmp27 .byte 23 .byte 0 .byte 9 .byte 2 .quad Ltmp28 .byte 21 .byte 0 .byte 9 .byte 2 .quad Ltmp29 .byte 21 .byte 0 .byte 9 .byte 2 .quad Ltmp30 .byte 21 .byte 0 .byte 9 .byte 2 .quad Ltmp31 .byte 21 .byte 0 .byte 9 .byte 2 .quad Lsection_end1 .byte 0 .byte 1 .byte 1 Lline_end: .section __DWARF,__debug_pubnames,regular,debug Lset49 = Lpubnames_end1-Lpubnames_begin1 .long Lset49 Lpubnames_begin1: .short 2 Lset50 = Linfo_begin1-Lsection_info .long Lset50 Lset51 = Linfo_end1-Linfo_begin1 .long Lset51 .long 516 .asciz "course1" .long 542 .asciz "course2" .long 457 .asciz "main" .long 280 .asciz "swap_l" .long 385 .asciz "call_swap" .long 179 .asciz "swap" .long 0 Lpubnames_end1: .section __DWARF,__debug_pubtypes,regular,debug Lset52 = Lpubtypes_end1-Lpubtypes_begin1 .long Lset52 Lpubtypes_begin1: .short 2 Lset53 = Linfo_begin1-Lsection_info .long Lset53 Lset54 = Linfo_end1-Linfo_begin1 .long Lset54 .long 0 Lpubtypes_end1: .section __DWARF,__debug_loc,regular,debug Ldebug_loc: .quad Lfunc_begin1 .quad Ltmp4 .short 1 .byte 85 .quad Ltmp4 .quad Lfunc_end1 .short 1 .byte 85 .quad 0 .quad 0 Ldebug_loc3: .quad Lfunc_begin1 .quad Ltmp3 .short 1 .byte 84 .quad Ltmp3 .quad Lfunc_end1 .short 1 .byte 84 .quad 0 .quad 0 Ldebug_loc6: .quad Lfunc_begin2 .quad Ltmp14 .short 1 .byte 85 .quad Ltmp14 .quad Lfunc_end2 .short 1 .byte 85 .quad 0 .quad 0 Ldebug_loc9: .quad Lfunc_begin2 .quad Ltmp13 .short 1 .byte 84 .quad Ltmp13 .quad Lfunc_end2 .short 1 .byte 84 .quad 0 .quad 0 Ldebug_loc12: .section __DWARF,__debug_aranges,regular,debug .section __DWARF,__debug_ranges,regular,debug .section __DWARF,__debug_macinfo,regular,debug .section __DWARF,__debug_inlined,regular,debug Lset55 = Ldebug_inlined_end1-Ldebug_inlined_begin1 .long Lset55 Ldebug_inlined_begin1: .short 2 .byte 8 Ldebug_inlined_end1: .subsections_via_symbols