// File: /workspace/github_cpp_makefile_star2_O1/syusui-s[P]old_rpn_language/./element.h
// Function: calclate(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
std::string calclate(std::string input){
	int length;
	std::list<std::string> strlst;
	Element *rtn;
	
	try{
		strlst = split(delsp(input)); // 入力値を文字列リストに変換
		length = strlst.size(); // 文字列リストの大きさをlengthに代入

		Element **elements = elementarray(strlst);

		rtn = calc_array(elements,length)[0];
	}
	catch(std::string errormsg){
		std::cout << "エラー: " << errormsg;
		rtn = new Element("");
	}

	return rtn->data_is();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rdi, %rbx
leaq 0x68(%rsp), %rax
movq %rax, 0x8(%rax)
movq %rax, (%rax)
movq $0x0, 0x10(%rax)
leaq 0x58(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
leaq 0x48(%rsp), %rdi
movq %rax, %rsi
callq 0x61c6
leaq 0x80(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x242c
leaq 0x8(%rsp), %rdi
leaq 0x80(%rsp), %rsi
callq 0x250b
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %r14
movq %r14, %rsi
callq 0x62e6
movq %r14, %rdi
callq 0x263a
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5a16
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x5a2d
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2190
leaq 0x68(%rsp), %rsi
movl 0x10(%rsi), %ebp
leaq 0xa0(%rsp), %rdi
callq 0x617e
leaq 0xa0(%rsp), %rdi
callq 0x33df
movq %rax, %r14
leaq 0xa0(%rsp), %rdi
callq 0x263a
movq %r14, %rdi
movl %ebp, %esi
callq 0x57e0
movq (%rax), %r15
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x61c6
leaq 0x68(%rsp), %rdi
callq 0x263a
movq %rbx, %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rdx, %r15
movq %rax, %r14
leaq 0xa0(%rsp), %rdi
callq 0x263a
jmp 0x5b1e
movq %rdx, %r15
movq %rax, %r14
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5ae8
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2190
jmp 0x5ae8
movq %rdx, %r15
movq %rax, %r14
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x5b1e
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2190
jmp 0x5b1e
movq %rax, %r14
leaq 0x68(%rsp), %rdi
callq 0x263a
movq %r14, %rdi
callq 0x22b0
jmp 0x5b18
movq %rdx, %r15
movq %rax, %r14
cmpl $0x1, %r15d
jne 0x5b04
movq %r14, %rdi
callq 0x2220
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0x61c6
movq %r14, %rdi
callq 0x20b0
movq 0x446f(%rip), %rdi      # 0x9fc8
leaq 0x172e(%rip), %rsi      # 0x728e
movl $0xb, %edx
callq 0x21d0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x444d(%rip), %rdi      # 0x9fc8
callq 0x21d0
movl $0x40, %edi
callq 0x2180
movq %rax, %r15
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x1716(%rip), %rdx      # 0x72b3
leaq 0x28(%rsp), %rdi
movq %rdx, %rsi
callq 0x6256
leaq 0x28(%rsp), %rsi
movq %r15, %rdi
callq 0x3290
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x5bce
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5be5
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2190
callq 0x2270
jmp 0x5a6c
jmp 0x5b01
movq %rax, %r14
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x5c13
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2190
jmp 0x5c13
movq %rax, %r14
movl $0x40, %esi
movq %r15, %rdi
callq 0x2190
jmp 0x5c25
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5c3c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2190
callq 0x2270
jmp 0x5b04
movq %rax, %rdi
callq 0x61ba