.section __TEXT,__text,regular,pure_instructions .globl _swap .align 4, 0x90 _swap: Leh_func_begin1: pushq %rbp Ltmp0: movq %rsp, %rbp Ltmp1: movq (%rdi), %rax movq (%rsi), %rcx movq %rcx, (%rdi) movq %rax, (%rsi) popq %rbp ret Leh_func_end1: .globl _call_swap .align 4, 0x90 _call_swap: Leh_func_begin2: pushq %rbp Ltmp2: movq %rsp, %rbp Ltmp3: leaq _course1(%rip), %rdi leaq _course2(%rip), %rsi popq %rbp jmp _swap # TAILCALL Leh_func_end2: .globl _swap_a .align 4, 0x90 _swap_a: Leh_func_begin3: pushq %rbp Ltmp4: movq %rsp, %rbp Ltmp5: movq (%rdi), %rax movq %rax, -16(%rbp) movq (%rsi), %rax movq %rax, -8(%rbp) movq -8(%rbp), %rax movq %rax, (%rdi) movq -16(%rbp), %rax movq %rax, (%rsi) popq %rbp ret Leh_func_end3: .globl _swap_ele_se .align 4, 0x90 _swap_ele_se: Leh_func_begin4: pushq %rbp Ltmp6: movq %rsp, %rbp Ltmp7: movslq %esi, %rax leal 1(%rax), %ecx movslq %ecx, %rcx leaq (%rdi,%rcx,8), %rsi leaq (%rdi,%rax,8), %rdi callq _swap incq _scount(%rip) popq %rbp ret Leh_func_end4: .globl _swap_ele .align 4, 0x90 _swap_ele: Leh_func_begin5: pushq %rbp Ltmp8: movq %rsp, %rbp Ltmp9: movslq %esi, %rax leal 1(%rax), %ecx movslq %ecx, %rcx leaq (%rdi,%rcx,8), %rsi leaq (%rdi,%rax,8), %rdi popq %rbp jmp _swap # TAILCALL Leh_func_end5: .globl _swap_ele_su .align 4, 0x90 _swap_ele_su: Leh_func_begin6: pushq %rbp Ltmp10: movq %rsp, %rbp Ltmp11: pushq %r15 pushq %r14 pushq %rbx subq $8, %rsp Ltmp12: movq %rdi, %rbx movslq %esi, %r14 leal 1(%r14), %eax movslq %eax, %r15 leaq (%rbx,%r15,8), %rsi leaq (%rbx,%r14,8), %rdi callq _swap movq (%rbx,%r15,8), %rax imulq (%rbx,%r14,8), %rax addq %rax, _sum(%rip) addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp ret Leh_func_end6: .globl _main .align 4, 0x90 _main: Leh_func_begin7: pushq %rbp Ltmp13: movq %rsp, %rbp Ltmp14: movq _course2(%rip), %rdx movq _course1(%rip), %rsi leaq L_.str(%rip), %rdi xorb %al, %al callq _printf callq _call_swap movq _course2(%rip), %rdx movq _course1(%rip), %rsi leaq L_.str1(%rip), %rdi xorb %al, %al callq _printf xorl %eax, %eax popq %rbp ret Leh_func_end7: .section __DATA,__data .globl _course1 .align 3 _course1: .quad 15213 .globl _course2 .align 3 _course2: .quad 18243 .globl _scount .zerofill __DATA,__common,_scount,8,3 .globl _sum .zerofill __DATA,__common,_sum,8,3 .section __TEXT,__cstring,cstring_literals .align 3 L_.str: .asciz "Initially: course1 = %ld, course2 = %ld\n" .align 3 L_.str1: .asciz "Finally: course1 = %ld, course2 = %ld\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 Ltmp15: .quad Leh_func_begin1-Ltmp15 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 _call_swap.eh _call_swap.eh: Lset6 = Leh_frame_end2-Leh_frame_begin2 .long Lset6 Leh_frame_begin2: Lset7 = Leh_frame_begin2-Leh_frame_common .long Lset7 Ltmp16: .quad Leh_func_begin2-Ltmp16 Lset8 = Leh_func_end2-Leh_func_begin2 .quad Lset8 .byte 0 .byte 4 Lset9 = Ltmp2-Leh_func_begin2 .long Lset9 .byte 14 .byte 16 .byte 134 .byte 2 .byte 4 Lset10 = Ltmp3-Ltmp2 .long Lset10 .byte 13 .byte 6 .align 3 Leh_frame_end2: .globl _swap_a.eh _swap_a.eh: Lset11 = Leh_frame_end3-Leh_frame_begin3 .long Lset11 Leh_frame_begin3: Lset12 = Leh_frame_begin3-Leh_frame_common .long Lset12 Ltmp17: .quad Leh_func_begin3-Ltmp17 Lset13 = Leh_func_end3-Leh_func_begin3 .quad Lset13 .byte 0 .byte 4 Lset14 = Ltmp4-Leh_func_begin3 .long Lset14 .byte 14 .byte 16 .byte 134 .byte 2 .byte 4 Lset15 = Ltmp5-Ltmp4 .long Lset15 .byte 13 .byte 6 .align 3 Leh_frame_end3: .globl _swap_ele_se.eh _swap_ele_se.eh: Lset16 = Leh_frame_end4-Leh_frame_begin4 .long Lset16 Leh_frame_begin4: Lset17 = Leh_frame_begin4-Leh_frame_common .long Lset17 Ltmp18: .quad Leh_func_begin4-Ltmp18 Lset18 = Leh_func_end4-Leh_func_begin4 .quad Lset18 .byte 0 .byte 4 Lset19 = Ltmp6-Leh_func_begin4 .long Lset19 .byte 14 .byte 16 .byte 134 .byte 2 .byte 4 Lset20 = Ltmp7-Ltmp6 .long Lset20 .byte 13 .byte 6 .align 3 Leh_frame_end4: .globl _swap_ele.eh _swap_ele.eh: Lset21 = Leh_frame_end5-Leh_frame_begin5 .long Lset21 Leh_frame_begin5: Lset22 = Leh_frame_begin5-Leh_frame_common .long Lset22 Ltmp19: .quad Leh_func_begin5-Ltmp19 Lset23 = Leh_func_end5-Leh_func_begin5 .quad Lset23 .byte 0 .byte 4 Lset24 = Ltmp8-Leh_func_begin5 .long Lset24 .byte 14 .byte 16 .byte 134 .byte 2 .byte 4 Lset25 = Ltmp9-Ltmp8 .long Lset25 .byte 13 .byte 6 .align 3 Leh_frame_end5: .globl _swap_ele_su.eh _swap_ele_su.eh: Lset26 = Leh_frame_end6-Leh_frame_begin6 .long Lset26 Leh_frame_begin6: Lset27 = Leh_frame_begin6-Leh_frame_common .long Lset27 Ltmp20: .quad Leh_func_begin6-Ltmp20 Lset28 = Leh_func_end6-Leh_func_begin6 .quad Lset28 .byte 0 .byte 4 Lset29 = Ltmp10-Leh_func_begin6 .long Lset29 .byte 14 .byte 16 .byte 134 .byte 2 .byte 4 Lset30 = Ltmp11-Ltmp10 .long Lset30 .byte 13 .byte 6 .byte 4 Lset31 = Ltmp12-Ltmp11 .long Lset31 .byte 131 .byte 5 .byte 142 .byte 4 .byte 143 .byte 3 .align 3 Leh_frame_end6: .globl _main.eh _main.eh: Lset32 = Leh_frame_end7-Leh_frame_begin7 .long Lset32 Leh_frame_begin7: Lset33 = Leh_frame_begin7-Leh_frame_common .long Lset33 Ltmp21: .quad Leh_func_begin7-Ltmp21 Lset34 = Leh_func_end7-Leh_func_begin7 .quad Lset34 .byte 0 .byte 4 Lset35 = Ltmp13-Leh_func_begin7 .long Lset35 .byte 14 .byte 16 .byte 134 .byte 2 .byte 4 Lset36 = Ltmp14-Ltmp13 .long Lset36 .byte 13 .byte 6 .align 3 Leh_frame_end7: .subsections_via_symbols