rust-mir-optimization-explo.../cheval.s

182 lines
6.3 KiB
ArmAsm

.text
.file "cheval.434b2442-cgu.0"
.section .text._ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h41f8b7da52e89b98E,"ax",@progbits
.p2align 4, 0x90
.type _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h41f8b7da52e89b98E,@function
_ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h41f8b7da52e89b98E:
.cfi_startproc
pushq %rax
.cfi_def_cfa_offset 16
callq *%rdi
#APP
#NO_APP
popq %rax
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h41f8b7da52e89b98E, .Lfunc_end0-_ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h41f8b7da52e89b98E
.cfi_endproc
.section .text._ZN3std2rt10lang_start17he131ba9074e25360E,"ax",@progbits
.hidden _ZN3std2rt10lang_start17he131ba9074e25360E
.globl _ZN3std2rt10lang_start17he131ba9074e25360E
.p2align 4, 0x90
.type _ZN3std2rt10lang_start17he131ba9074e25360E,@function
_ZN3std2rt10lang_start17he131ba9074e25360E:
.cfi_startproc
pushq %rax
.cfi_def_cfa_offset 16
movq %rdx, %rcx
movq %rsi, %rdx
movq %rdi, (%rsp)
leaq .L__unnamed_1(%rip), %rsi
movq %rsp, %rdi
callq *_ZN3std2rt19lang_start_internal17h09bcc9fffd987f14E@GOTPCREL(%rip)
popq %rcx
.cfi_def_cfa_offset 8
retq
.Lfunc_end1:
.size _ZN3std2rt10lang_start17he131ba9074e25360E, .Lfunc_end1-_ZN3std2rt10lang_start17he131ba9074e25360E
.cfi_endproc
.section ".text._ZN3std2rt10lang_start28_$u7b$$u7b$closure$u7d$$u7d$17h4d50961104610955E","ax",@progbits
.p2align 4, 0x90
.type _ZN3std2rt10lang_start28_$u7b$$u7b$closure$u7d$$u7d$17h4d50961104610955E,@function
_ZN3std2rt10lang_start28_$u7b$$u7b$closure$u7d$$u7d$17h4d50961104610955E:
.cfi_startproc
pushq %rax
.cfi_def_cfa_offset 16
movq (%rdi), %rdi
callq _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h41f8b7da52e89b98E
xorl %eax, %eax
popq %rcx
.cfi_def_cfa_offset 8
retq
.Lfunc_end2:
.size _ZN3std2rt10lang_start28_$u7b$$u7b$closure$u7d$$u7d$17h4d50961104610955E, .Lfunc_end2-_ZN3std2rt10lang_start28_$u7b$$u7b$closure$u7d$$u7d$17h4d50961104610955E
.cfi_endproc
.section ".text._ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h59ddb332eff5b283E","ax",@progbits
.p2align 4, 0x90
.type _ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h59ddb332eff5b283E,@function
_ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h59ddb332eff5b283E:
.cfi_startproc
pushq %rax
.cfi_def_cfa_offset 16
movq (%rdi), %rdi
callq _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h41f8b7da52e89b98E
xorl %eax, %eax
popq %rcx
.cfi_def_cfa_offset 8
retq
.Lfunc_end3:
.size _ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h59ddb332eff5b283E, .Lfunc_end3-_ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h59ddb332eff5b283E
.cfi_endproc
.section ".text._ZN4core3ptr85drop_in_place$LT$std..rt..lang_start$LT$$LP$$RP$$GT$..$u7b$$u7b$closure$u7d$$u7d$$GT$17h329c60c5ef7796efE","ax",@progbits
.p2align 4, 0x90
.type _ZN4core3ptr85drop_in_place$LT$std..rt..lang_start$LT$$LP$$RP$$GT$..$u7b$$u7b$closure$u7d$$u7d$$GT$17h329c60c5ef7796efE,@function
_ZN4core3ptr85drop_in_place$LT$std..rt..lang_start$LT$$LP$$RP$$GT$..$u7b$$u7b$closure$u7d$$u7d$$GT$17h329c60c5ef7796efE:
.cfi_startproc
retq
.Lfunc_end4:
.size _ZN4core3ptr85drop_in_place$LT$std..rt..lang_start$LT$$LP$$RP$$GT$..$u7b$$u7b$closure$u7d$$u7d$$GT$17h329c60c5ef7796efE, .Lfunc_end4-_ZN4core3ptr85drop_in_place$LT$std..rt..lang_start$LT$$LP$$RP$$GT$..$u7b$$u7b$closure$u7d$$u7d$$GT$17h329c60c5ef7796efE
.cfi_endproc
.section .text._ZN6cheval4main17hb27520a1fe33142bE,"ax",@progbits
.p2align 4, 0x90
.type _ZN6cheval4main17hb27520a1fe33142bE,@function
_ZN6cheval4main17hb27520a1fe33142bE:
.cfi_startproc
subq $72, %rsp
.cfi_def_cfa_offset 80
callq _ZN6cheval9main_test17h920cf553da9b6fa6E
movq %rax, (%rsp)
movq %rsp, %rax
movq %rax, 8(%rsp)
movq _ZN4core3fmt3num3imp52_$LT$impl$u20$core..fmt..Display$u20$for$u20$i64$GT$3fmt17h7f25baa19e0cd7d8E@GOTPCREL(%rip), %rax
movq %rax, 16(%rsp)
leaq .L__unnamed_2(%rip), %rax
movq %rax, 24(%rsp)
movq $2, 32(%rsp)
movq $0, 40(%rsp)
leaq 8(%rsp), %rax
movq %rax, 56(%rsp)
movq $1, 64(%rsp)
leaq 24(%rsp), %rdi
callq *_ZN3std2io5stdio6_print17hdb1c1fab578c3488E@GOTPCREL(%rip)
addq $72, %rsp
.cfi_def_cfa_offset 8
retq
.Lfunc_end5:
.size _ZN6cheval4main17hb27520a1fe33142bE, .Lfunc_end5-_ZN6cheval4main17hb27520a1fe33142bE
.cfi_endproc
.section .text._ZN6cheval9main_test17h920cf553da9b6fa6E,"ax",@progbits
.p2align 4, 0x90
.type _ZN6cheval9main_test17h920cf553da9b6fa6E,@function
_ZN6cheval9main_test17h920cf553da9b6fa6E:
.cfi_startproc
movl $5, %eax
retq
.Lfunc_end6:
.size _ZN6cheval9main_test17h920cf553da9b6fa6E, .Lfunc_end6-_ZN6cheval9main_test17h920cf553da9b6fa6E
.cfi_endproc
.section .text.main,"ax",@progbits
.globl main
.p2align 4, 0x90
.type main,@function
main:
.cfi_startproc
pushq %rax
.cfi_def_cfa_offset 16
movq %rsi, %rcx
movslq %edi, %rdx
leaq _ZN6cheval4main17hb27520a1fe33142bE(%rip), %rax
movq %rax, (%rsp)
leaq .L__unnamed_1(%rip), %rsi
movq %rsp, %rdi
callq *_ZN3std2rt19lang_start_internal17h09bcc9fffd987f14E@GOTPCREL(%rip)
popq %rcx
.cfi_def_cfa_offset 8
retq
.Lfunc_end7:
.size main, .Lfunc_end7-main
.cfi_endproc
.type .L__unnamed_1,@object
.section .data.rel.ro..L__unnamed_1,"aw",@progbits
.p2align 3
.L__unnamed_1:
.quad _ZN4core3ptr85drop_in_place$LT$std..rt..lang_start$LT$$LP$$RP$$GT$..$u7b$$u7b$closure$u7d$$u7d$$GT$17h329c60c5ef7796efE
.asciz "\b\000\000\000\000\000\000\000\b\000\000\000\000\000\000"
.quad _ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h59ddb332eff5b283E
.quad _ZN3std2rt10lang_start28_$u7b$$u7b$closure$u7d$$u7d$17h4d50961104610955E
.quad _ZN3std2rt10lang_start28_$u7b$$u7b$closure$u7d$$u7d$17h4d50961104610955E
.size .L__unnamed_1, 48
.type .L__unnamed_3,@object
.section .rodata..L__unnamed_3,"a",@progbits
.p2align 3
.L__unnamed_3:
.size .L__unnamed_3, 0
.type .L__unnamed_4,@object
.section .rodata..L__unnamed_4,"a",@progbits
.L__unnamed_4:
.byte 10
.size .L__unnamed_4, 1
.type .L__unnamed_2,@object
.section .data.rel.ro..L__unnamed_2,"aw",@progbits
.p2align 3
.L__unnamed_2:
.quad .L__unnamed_3
.zero 8
.quad .L__unnamed_4
.asciz "\001\000\000\000\000\000\000"
.size .L__unnamed_2, 32
.section ".note.GNU-stack","",@progbits