Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- std::sys_common::backtrace::__rust_begin_short_backtrace:
- pushq %rax
- callq *%rdi
- #APP
- #NO_APP
- popq %rcx
- retq
- std::rt::lang_start:
- pushq %rax
- movq %rdx, %rcx
- movq %rsi, %rdx
- movq %rdi, (%rsp)
- leaq .L__unnamed_1(%rip), %rsi
- movq %rsp, %rdi
- callq *std::rt::lang_start_internal@GOTPCREL(%rip)
- popq %rcx
- retq
- std::rt::lang_start::{{closure}}:
- pushq %rbx
- subq $80, %rsp
- movq (%rdi), %rdi
- callq std::sys_common::backtrace::__rust_begin_short_backtrace
- testq %rax, %rax
- je .LBB2_1
- movq %rax, (%rsp)
- movq %rdx, 8(%rsp)
- movq %rsp, %rax
- movq %rax, 16(%rsp)
- leaq <alloc::boxed::Box<T,A> as core::fmt::Debug>::fmt(%rip), %rax
- movq %rax, 24(%rsp)
- leaq .L__unnamed_2(%rip), %rax
- movq %rax, 32(%rsp)
- movq $2, 40(%rsp)
- movq $0, 48(%rsp)
- leaq 16(%rsp), %rax
- movq %rax, 64(%rsp)
- movq $1, 72(%rsp)
- leaq 32(%rsp), %rdi
- callq *std::io::stdio::_eprint@GOTPCREL(%rip)
- movq (%rsp), %rdi
- movq 8(%rsp), %rax
- callq *(%rax)
- movq 8(%rsp), %rax
- movq 8(%rax), %rsi
- testq %rsi, %rsi
- je .LBB2_8
- movq (%rsp), %rdi
- movq 16(%rax), %rdx
- callq *__rust_dealloc@GOTPCREL(%rip)
- .LBB2_8:
- movl $1, %eax
- addq $80, %rsp
- popq %rbx
- retq
- .LBB2_1:
- xorl %eax, %eax
- addq $80, %rsp
- popq %rbx
- retq
- movq %rax, %rbx
- movq (%rsp), %rdi
- movq 8(%rsp), %rsi
- callq alloc::alloc::box_free
- jmp .LBB2_3
- movq %rax, %rbx
- movq %rsp, %rdi
- callq core::ptr::drop_in_place<alloc::boxed::Box<dyn std::error::Error>>
- .LBB2_3:
- movq %rbx, %rdi
- callq _Unwind_Resume@PLT
- ud2
- core::ops::function::FnOnce::call_once{{vtable.shim}}:
- pushq %rbx
- subq $80, %rsp
- movq (%rdi), %rdi
- callq std::sys_common::backtrace::__rust_begin_short_backtrace
- testq %rax, %rax
- je .LBB3_1
- movq %rax, (%rsp)
- movq %rdx, 8(%rsp)
- movq %rsp, %rax
- movq %rax, 16(%rsp)
- leaq <alloc::boxed::Box<T,A> as core::fmt::Debug>::fmt(%rip), %rax
- movq %rax, 24(%rsp)
- leaq .L__unnamed_2(%rip), %rax
- movq %rax, 32(%rsp)
- movq $2, 40(%rsp)
- movq $0, 48(%rsp)
- leaq 16(%rsp), %rax
- movq %rax, 64(%rsp)
- movq $1, 72(%rsp)
- leaq 32(%rsp), %rdi
- callq *std::io::stdio::_eprint@GOTPCREL(%rip)
- movq (%rsp), %rdi
- movq 8(%rsp), %rax
- callq *(%rax)
- movq 8(%rsp), %rax
- movq 8(%rax), %rsi
- testq %rsi, %rsi
- je .LBB3_8
- movq (%rsp), %rdi
- movq 16(%rax), %rdx
- callq *__rust_dealloc@GOTPCREL(%rip)
- .LBB3_8:
- movl $1, %eax
- addq $80, %rsp
- popq %rbx
- retq
- .LBB3_1:
- xorl %eax, %eax
- addq $80, %rsp
- popq %rbx
- retq
- movq %rax, %rbx
- movq (%rsp), %rdi
- movq 8(%rsp), %rsi
- callq alloc::alloc::box_free
- jmp .LBB3_3
- movq %rax, %rbx
- movq %rsp, %rdi
- callq core::ptr::drop_in_place<alloc::boxed::Box<dyn std::error::Error>>
- .LBB3_3:
- movq %rbx, %rdi
- callq _Unwind_Resume@PLT
- ud2
- core::ptr::drop_in_place<std::rt::lang_start<core::result::Result<(),alloc::boxed::Box<dyn std::error::Error>>>::{{closure}}>:
- retq
- core::ptr::drop_in_place<alloc::string::String>:
- movq 8(%rdi), %rsi
- testq %rsi, %rsi
- je .LBB5_2
- movq (%rdi), %rdi
- testq %rdi, %rdi
- je .LBB5_2
- movl $1, %edx
- jmpq *__rust_dealloc@GOTPCREL(%rip)
- .LBB5_2:
- retq
- core::ptr::drop_in_place<std::io::error::Error>:
- pushq %r15
- pushq %r14
- pushq %rbx
- cmpb $3, (%rdi)
- jne .LBB6_5
- movq %rdi, %r15
- movq 8(%rdi), %rbx
- movq (%rbx), %rdi
- movq 8(%rbx), %rax
- callq *(%rax)
- movq 8(%rbx), %rax
- movq 8(%rax), %rsi
- testq %rsi, %rsi
- je .LBB6_4
- movq (%rbx), %rdi
- movq 16(%rax), %rdx
- callq *__rust_dealloc@GOTPCREL(%rip)
- .LBB6_4:
- movq 8(%r15), %rdi
- movl $24, %esi
- movl $8, %edx
- popq %rbx
- popq %r14
- popq %r15
- jmpq *__rust_dealloc@GOTPCREL(%rip)
- .LBB6_5:
- popq %rbx
- popq %r14
- popq %r15
- retq
- movq %rax, %r14
- movq (%rbx), %rdi
- movq 8(%rbx), %rsi
- callq alloc::alloc::box_free
- movq 8(%r15), %rdi
- callq alloc::alloc::box_free
- movq %r14, %rdi
- callq _Unwind_Resume@PLT
- ud2
- core::ptr::drop_in_place<alloc::boxed::Box<dyn std::error::Error>>:
- pushq %r14
- pushq %rbx
- pushq %rax
- movq %rdi, %rbx
- movq (%rdi), %rdi
- movq 8(%rbx), %rax
- callq *(%rax)
- movq 8(%rbx), %rax
- movq 8(%rax), %rsi
- testq %rsi, %rsi
- je .LBB7_2
- movq (%rbx), %rdi
- movq 16(%rax), %rdx
- addq $8, %rsp
- popq %rbx
- popq %r14
- jmpq *__rust_dealloc@GOTPCREL(%rip)
- .LBB7_2:
- addq $8, %rsp
- popq %rbx
- popq %r14
- retq
- movq %rax, %r14
- movq (%rbx), %rdi
- movq 8(%rbx), %rsi
- callq alloc::alloc::box_free
- movq %r14, %rdi
- callq _Unwind_Resume@PLT
- ud2
- alloc::alloc::box_free:
- movl $24, %esi
- movl $8, %edx
- jmpq *__rust_dealloc@GOTPCREL(%rip)
- alloc::alloc::box_free:
- movq %rsi, %rax
- movq 8(%rsi), %rsi
- testq %rsi, %rsi
- je .LBB9_1
- movq 16(%rax), %rdx
- jmpq *__rust_dealloc@GOTPCREL(%rip)
- .LBB9_1:
- retq
- <alloc::boxed::Box<T,A> as core::fmt::Debug>::fmt:
- movq (%rdi), %rax
- movq 8(%rdi), %rcx
- movq 24(%rcx), %rcx
- movq %rax, %rdi
- jmpq *%rcx
- playground::main:
- pushq %rbp
- pushq %r15
- pushq %r14
- pushq %r13
- pushq %r12
- pushq %rbx
- subq $120, %rsp
- movq .L__unnamed_3(%rip), %r14
- xorl %ebx, %ebx
- leaq 16(%rsp), %r15
- leaq 48(%rsp), %rbp
- jmp .LBB11_2
- .LBB11_1:
- shrq $32, %rbx
- addl 4(%rsp), %ebx
- .LBB11_2:
- movl %ebx, 4(%rsp)
- leaq 4(%rsp), %rax
- movq %rax, 16(%rsp)
- movq core::fmt::num::imp::<impl core::fmt::Display for u32>::fmt@GOTPCREL(%rip), %rax
- movq %rax, 24(%rsp)
- leaq .L__unnamed_4(%rip), %rax
- movq %rax, 48(%rsp)
- movq $2, 56(%rsp)
- movq $0, 64(%rsp)
- movq %r15, 80(%rsp)
- movq $1, 88(%rsp)
- movq %rbp, %rdi
- callq *std::io::stdio::_print@GOTPCREL(%rip)
- leaq 24(%rsp), %rax
- xorps %xmm0, %xmm0
- movups %xmm0, (%rax)
- movq %r14, 16(%rsp)
- callq *std::io::stdio::stdin@GOTPCREL(%rip)
- movq %rax, 40(%rsp)
- movq %rbp, %rdi
- leaq 40(%rsp), %rsi
- movq %r15, %rdx
- callq *std::io::stdio::Stdin::read_line@GOTPCREL(%rip)
- cmpl $1, 48(%rsp)
- je .LBB11_48
- movq 16(%rsp), %r12
- movq 32(%rsp), %rax
- leaq (%r12,%rax), %rbp
- xorl %ebx, %ebx
- movq %r12, %r13
- testq %rax, %rax
- jne .LBB11_10
- xorl %eax, %eax
- movq %rax, 8(%rsp)
- xorl %r15d, %r15d
- cmpq %rbp, %r13
- jne .LBB11_24
- jmp .LBB11_41
- .LBB11_9:
- cmpq %rbp, %r13
- je .LBB11_40
- .LBB11_10:
- movq %r13, %rax
- movq %rbx, %r15
- movzbl (%r13), %edi
- testb %dil, %dil
- js .LBB11_12
- leaq 1(%rax), %r13
- jmp .LBB11_17
- .LBB11_12:
- movl %edi, %ecx
- andl $31, %ecx
- movzbl 1(%rax), %esi
- andl $63, %esi
- cmpb $-33, %dil
- jbe .LBB11_15
- movzbl 2(%rax), %edx
- shll $6, %esi
- andl $63, %edx
- orl %esi, %edx
- cmpb $-16, %dil
- jb .LBB11_16
- leaq 4(%rax), %r13
- movzbl 3(%rax), %edi
- andl $7, %ecx
- shll $18, %ecx
- shll $6, %edx
- andl $63, %edi
- orl %edx, %edi
- orl %ecx, %edi
- cmpl $1114112, %edi
- jne .LBB11_17
- jmp .LBB11_47
- .LBB11_15:
- leaq 2(%rax), %r13
- shll $6, %ecx
- orl %esi, %ecx
- movl %ecx, %edi
- jmp .LBB11_17
- .LBB11_16:
- leaq 3(%rax), %r13
- shll $12, %ecx
- orl %ecx, %edx
- movl %edx, %edi
- .LBB11_17:
- movq %r13, %rbx
- subq %rax, %rbx
- addq %r15, %rbx
- leal -9(%rdi), %eax
- cmpl $5, %eax
- jb .LBB11_9
- cmpl $32, %edi
- je .LBB11_9
- cmpl $128, %edi
- jb .LBB11_46
- callq *core::unicode::unicode_data::white_space::lookup@GOTPCREL(%rip)
- testb %al, %al
- jne .LBB11_9
- .LBB11_46:
- movq %rbx, 8(%rsp)
- cmpq %rbp, %r13
- jne .LBB11_24
- jmp .LBB11_41
- .LBB11_40:
- xorl %r15d, %r15d
- xorl %ebx, %ebx
- jmp .LBB11_41
- .LBB11_47:
- xorl %ebx, %ebx
- movq %r15, 8(%rsp)
- xorl %r15d, %r15d
- cmpq %rbp, %r13
- jne .LBB11_24
- jmp .LBB11_41
- .LBB11_23:
- cmpq %rbp, %r13
- je .LBB11_39
- .LBB11_24:
- movq %rbp, %r14
- movzbl -1(%rbp), %edi
- testb %dil, %dil
- js .LBB11_26
- leaq -1(%r14), %rbp
- jmp .LBB11_33
- .LBB11_26:
- movzbl -2(%r14), %eax
- cmpb $-64, %al
- jge .LBB11_29
- movzbl -3(%r14), %ecx
- cmpb $-64, %cl
- jge .LBB11_30
- leaq -4(%r14), %rbp
- movzbl -4(%r14), %edx
- andl $7, %edx
- shll $6, %edx
- andl $63, %ecx
- orl %edx, %ecx
- jmp .LBB11_31
- .LBB11_29:
- leaq -2(%r14), %rbp
- andl $31, %eax
- jmp .LBB11_32
- .LBB11_30:
- leaq -3(%r14), %rbp
- andl $15, %ecx
- .LBB11_31:
- shll $6, %ecx
- andl $63, %eax
- orl %ecx, %eax
- .LBB11_32:
- shll $6, %eax
- andl $63, %edi
- orl %eax, %edi
- cmpl $1114112, %edi
- je .LBB11_39
- .LBB11_33:
- leal -9(%rdi), %eax
- cmpl $5, %eax
- jb .LBB11_23
- cmpl $32, %edi
- je .LBB11_23
- cmpl $128, %edi
- jb .LBB11_38
- callq *core::unicode::unicode_data::white_space::lookup@GOTPCREL(%rip)
- testb %al, %al
- jne .LBB11_23
- .LBB11_38:
- movq 8(%rsp), %rbx
- subq %r13, %rbx
- addq %r14, %rbx
- .LBB11_39:
- movq .L__unnamed_3(%rip), %r14
- .LBB11_41:
- addq %r15, %r12
- subq %r15, %rbx
- movq %r12, %rdi
- movq %rbx, %rsi
- callq *core::num::<impl core::str::traits::FromStr for u32>::from_str@GOTPCREL(%rip)
- leaq 16(%rsp), %r15
- leaq 48(%rsp), %rbp
- movq %rax, %rbx
- testb $1, %bl
- jne .LBB11_49
- movq 24(%rsp), %rsi
- testq %rsi, %rsi
- je .LBB11_1
- movq 16(%rsp), %rdi
- testq %rdi, %rdi
- je .LBB11_1
- movl $1, %edx
- callq *__rust_dealloc@GOTPCREL(%rip)
- jmp .LBB11_1
- .LBB11_48:
- movups 56(%rsp), %xmm0
- movaps %xmm0, 96(%rsp)
- leaq .L__unnamed_5(%rip), %rdi
- leaq .L__unnamed_6(%rip), %rcx
- leaq .L__unnamed_7(%rip), %r8
- leaq 96(%rsp), %rdx
- movl $43, %esi
- callq *core::result::unwrap_failed@GOTPCREL(%rip)
- jmp .LBB11_50
- .LBB11_49:
- movb %bh, 48(%rsp)
- leaq .L__unnamed_8(%rip), %rdi
- leaq .L__unnamed_9(%rip), %rcx
- leaq .L__unnamed_10(%rip), %r8
- leaq 48(%rsp), %rdx
- movl $10, %esi
- callq *core::result::unwrap_failed@GOTPCREL(%rip)
- .LBB11_50:
- ud2
- jmp .LBB11_56
- movq %rax, %rbx
- leaq 96(%rsp), %rdi
- callq core::ptr::drop_in_place<std::io::error::Error>
- jmp .LBB11_57
- jmp .LBB11_56
- jmp .LBB11_56
- .LBB11_56:
- movq %rax, %rbx
- .LBB11_57:
- leaq 16(%rsp), %rdi
- callq core::ptr::drop_in_place<alloc::string::String>
- movq %rbx, %rdi
- callq _Unwind_Resume@PLT
- ud2
- main:
- pushq %rax
- movq %rsi, %rcx
- movslq %edi, %rdx
- leaq playground::main(%rip), %rax
- movq %rax, (%rsp)
- leaq .L__unnamed_1(%rip), %rsi
- movq %rsp, %rdi
- callq *std::rt::lang_start_internal@GOTPCREL(%rip)
- popq %rcx
- retq
- .L__unnamed_1:
- .quad core::ptr::drop_in_place<std::rt::lang_start<core::result::Result<(),alloc::boxed::Box<dyn std::error::Error>>>::{{closure}}>
- .asciz "\b\000\000\000\000\000\000\000\b\000\000\000\000\000\000"
- .quad core::ops::function::FnOnce::call_once{{vtable.shim}}
- .quad std::rt::lang_start::{{closure}}
- .quad std::rt::lang_start::{{closure}}
- .L__unnamed_9:
- .quad core::ptr::drop_in_place<std::rt::lang_start<core::result::Result<(),alloc::boxed::Box<dyn std::error::Error>>>::{{closure}}>
- .asciz "\001\000\000\000\000\000\000\000\001\000\000\000\000\000\000"
- .quad <core::num::error::ParseIntError as core::fmt::Debug>::fmt
- .L__unnamed_5:
- .ascii "called `Result::unwrap()` on an `Err` value"
- .L__unnamed_6:
- .quad core::ptr::drop_in_place<std::io::error::Error>
- .asciz "\020\000\000\000\000\000\000\000\b\000\000\000\000\000\000"
- .quad <std::io::error::Error as core::fmt::Debug>::fmt
- .L__unnamed_3:
- .asciz "\001\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
- .L__unnamed_11:
- .ascii "Error: "
- .L__unnamed_12:
- .byte 10
- .L__unnamed_2:
- .quad .L__unnamed_11
- .asciz "\007\000\000\000\000\000\000"
- .quad .L__unnamed_12
- .asciz "\001\000\000\000\000\000\000"
- .L__unnamed_13:
- .ascii "src/main.rs"
- .L__unnamed_7:
- .quad .L__unnamed_13
- .asciz "\013\000\000\000\000\000\000\000\b\000\000\000-\000\000"
- .L__unnamed_8:
- .ascii "bad number"
- .L__unnamed_10:
- .quad .L__unnamed_13
- .asciz "\013\000\000\000\000\000\000\000\t\000\000\000%\000\000"
- .L__unnamed_14:
- .ascii "current value: "
- .L__unnamed_15:
- .ascii " >> \n"
- .L__unnamed_4:
- .quad .L__unnamed_14
- .asciz "\017\000\000\000\000\000\000"
- .quad .L__unnamed_15
- .asciz "\005\000\000\000\000\000\000"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement