// File: /workspace/github_cpp_makefile_star2_O3/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 0x6078
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 0x61a4
movq %r14, %rdi
callq 0x263a
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x58c8
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x58df
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2190
leaq 0x68(%rsp), %rsi
movl 0x10(%rsi), %ebp
leaq 0xa0(%rsp), %rdi
callq 0x6030
leaq 0xa0(%rsp), %rdi
callq 0x337b
movq %rax, %r14
leaq 0xa0(%rsp), %rdi
callq 0x263a
movq %r14, %rdi
movl %ebp, %esi
callq 0x569c
movq (%rax), %r15
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x6078
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 0x59d0
movq %rdx, %r15
movq %rax, %r14
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x599a
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2190
jmp 0x599a
movq %rdx, %r15
movq %rax, %r14
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x59d0
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2190
jmp 0x59d0
movq %rax, %r14
leaq 0x68(%rsp), %rdi
callq 0x263a
movq %r14, %rdi
callq 0x22b0
jmp 0x59ca
movq %rdx, %r15
movq %rax, %r14
cmpl $0x1, %r15d
jne 0x59b6
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 0x6078
movq %r14, %rdi
callq 0x20b0
movq 0x45bd(%rip), %rdi      # 0x9fc8
leaq 0x187c(%rip), %rsi      # 0x728e
movl $0xb, %edx
callq 0x21d0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x459b(%rip), %rdi      # 0x9fc8
callq 0x21d0
movl $0x40, %edi
callq 0x2180
movq %rax, %r15
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x1864(%rip), %rdx      # 0x72b3
leaq 0x28(%rsp), %rdi
movq %rdx, %rsi
callq 0x610e
leaq 0x28(%rsp), %rsi
movq %r15, %rdi
callq 0x322c
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x5a80
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5a97
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2190
callq 0x2270
jmp 0x591e
jmp 0x59b3
movq %rax, %r14
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x5ac5
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2190
jmp 0x5ac5
movq %rax, %r14
movl $0x40, %esi
movq %r15, %rdi
callq 0x2190
jmp 0x5ad7
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5aee
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2190
callq 0x2270
jmp 0x59b6
movq %rax, %rdi
callq 0x606c