// File: syusui-s[P]old_rpn_language/./element.h
// Function: op_plus(Element*, Element*)
Element* op_plus(Element* op1,Element* op2){
	long a;
	double b;
	Element *rtn;
	
	if(op1->type_is() == "int" && op2->type_is() == "int"){
		a = atol(op1->data_is().c_str()) + atol(op2->data_is().c_str());
		rtn = new Element(ltoa(a));
	}else if(op1->type_is() == "float" || op2->type_is() == "float"){
		b = atof(op1->data_is().c_str()) + atof(op2->data_is().c_str());
		rtn = new Element(ftoa(b));
	}
	return rtn;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x200, %rsp            # imm = 0x200
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rsi
leaq -0x48(%rbp), %rdi
movq %rdi, -0x1a0(%rbp)
callq 0x5910
movq -0x1a0(%rbp), %rdi
movb $0x0, -0x79(%rbp)
leaq 0x3fa1(%rip), %rsi      # 0xa15a
callq 0x9340
movb %al, -0x192(%rbp)
jmp 0x61c6
movb -0x192(%rbp), %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, -0x1a1(%rbp)
jne 0x61db
jmp 0x6214
movq -0x10(%rbp), %rsi
leaq -0x78(%rbp), %rdi
callq 0x5910
jmp 0x61ea
movb $0x1, -0x79(%rbp)
leaq 0x3f65(%rip), %rsi      # 0xa15a
leaq -0x78(%rbp), %rdi
callq 0x9340
movb %al, -0x1a2(%rbp)
jmp 0x6206
movb -0x1a2(%rbp), %al
movb %al, -0x1a1(%rbp)
jmp 0x6214
movb -0x1a1(%rbp), %al
movb %al, -0x1a3(%rbp)
testb $0x1, -0x79(%rbp)
jne 0x6228
jmp 0x6231
leaq -0x78(%rbp), %rdi
callq 0x3448
leaq -0x48(%rbp), %rdi
callq 0x3448
movb -0x1a3(%rbp), %al
testb $0x1, %al
jne 0x6249
jmp 0x63d2
movq -0x8(%rbp), %rsi
leaq -0xa0(%rbp), %rdi
movq %rdi, -0x1b8(%rbp)
callq 0x58e0
movq -0x1b8(%rbp), %rdi
callq 0x30f0
movq %rax, %rdi
callq 0x32b0
movq %rax, -0x1b0(%rbp)
movq -0x10(%rbp), %rsi
leaq -0xc0(%rbp), %rdi
callq 0x58e0
jmp 0x628d
leaq -0xc0(%rbp), %rdi
movq %rdi, -0x1c8(%rbp)
callq 0x30f0
movq %rax, %rdi
callq 0x32b0
movq -0x1c8(%rbp), %rdi
movq %rax, %rcx
movq -0x1b0(%rbp), %rax
addq %rcx, %rax
movq %rax, -0x18(%rbp)
callq 0x3448
leaq -0xa0(%rbp), %rdi
callq 0x3448
movl $0x40, %edi
callq 0x3230
movq %rax, -0x1c0(%rbp)
movb $0x1, -0xe1(%rbp)
movq -0x18(%rbp), %rsi
leaq -0xe0(%rbp), %rdi
callq 0x3f60
jmp 0x62fb
movq -0x1c0(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
callq 0x5800
jmp 0x6310
movq -0x1c0(%rbp), %rax
movb $0x0, -0xe1(%rbp)
movq %rax, -0x28(%rbp)
leaq -0xe0(%rbp), %rdi
callq 0x3448
jmp 0x6630
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
jmp 0x6360
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
testb $0x1, -0x79(%rbp)
jne 0x6355
jmp 0x635e
leaq -0x78(%rbp), %rdi
callq 0x3448
jmp 0x6360
leaq -0x48(%rbp), %rdi
callq 0x3448
jmp 0x663d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0xa0(%rbp), %rdi
callq 0x3448
jmp 0x663d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
jmp 0x63b1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0xe0(%rbp), %rdi
callq 0x3448
testb $0x1, -0xe1(%rbp)
jne 0x63bc
jmp 0x63cd
movq -0x1c0(%rbp), %rdi
movl $0x40, %esi
callq 0x3240
jmp 0x663d
movq -0x8(%rbp), %rsi
leaq -0x108(%rbp), %rdi
movq %rdi, -0x1d8(%rbp)
callq 0x5910
movq -0x1d8(%rbp), %rdi
movb $0x0, -0x129(%rbp)
leaq 0x3d6b(%rip), %rsi      # 0xa169
callq 0x9340
movb %al, -0x1c9(%rbp)
jmp 0x640b
movb -0x1c9(%rbp), %cl
movb $0x1, %al
testb $0x1, %cl
movb %al, -0x1d9(%rbp)
jne 0x6462
jmp 0x6420
movq -0x10(%rbp), %rsi
leaq -0x128(%rbp), %rdi
callq 0x5910
jmp 0x6432
movb $0x1, -0x129(%rbp)
leaq 0x3d29(%rip), %rsi      # 0xa169
leaq -0x128(%rbp), %rdi
callq 0x9340
movb %al, -0x1da(%rbp)
jmp 0x6454
movb -0x1da(%rbp), %al
movb %al, -0x1d9(%rbp)
jmp 0x6462
movb -0x1d9(%rbp), %al
movb %al, -0x1db(%rbp)
testb $0x1, -0x129(%rbp)
jne 0x6479
jmp 0x6485
leaq -0x128(%rbp), %rdi
callq 0x3448
leaq -0x108(%rbp), %rdi
callq 0x3448
movb -0x1db(%rbp), %al
testb $0x1, %al
jne 0x64a0
jmp 0x662e
movq -0x8(%rbp), %rsi
leaq -0x150(%rbp), %rdi
movq %rdi, -0x1f0(%rbp)
callq 0x58e0
movq -0x1f0(%rbp), %rdi
callq 0x30f0
movq %rax, %rdi
callq 0x32f0
movsd %xmm0, -0x1e8(%rbp)
movq -0x10(%rbp), %rsi
leaq -0x170(%rbp), %rdi
callq 0x58e0
jmp 0x64e5
leaq -0x170(%rbp), %rdi
movq %rdi, -0x200(%rbp)
callq 0x30f0
movq %rax, %rdi
callq 0x32f0
movq -0x200(%rbp), %rdi
movaps %xmm0, %xmm1
movsd -0x1e8(%rbp), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x20(%rbp)
callq 0x3448
leaq -0x150(%rbp), %rdi
callq 0x3448
movl $0x40, %edi
callq 0x3230
movq %rax, -0x1f8(%rbp)
movb $0x1, -0x191(%rbp)
movsd -0x20(%rbp), %xmm0
leaq -0x190(%rbp), %rdi
callq 0x4000
jmp 0x6557
movq -0x1f8(%rbp), %rdi
leaq -0x190(%rbp), %rsi
callq 0x5800
jmp 0x656c
movq -0x1f8(%rbp), %rax
movb $0x0, -0x191(%rbp)
movq %rax, -0x28(%rbp)
leaq -0x190(%rbp), %rdi
callq 0x3448
jmp 0x662e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
jmp 0x65c2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
testb $0x1, -0x129(%rbp)
jne 0x65b4
jmp 0x65c0
leaq -0x128(%rbp), %rdi
callq 0x3448
jmp 0x65c2
leaq -0x108(%rbp), %rdi
callq 0x3448
jmp 0x663d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x150(%rbp), %rdi
callq 0x3448
jmp 0x663d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
jmp 0x6610
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x190(%rbp), %rdi
callq 0x3448
testb $0x1, -0x191(%rbp)
jne 0x661b
jmp 0x662c
movq -0x1f8(%rbp), %rdi
movl $0x40, %esi
callq 0x3240
jmp 0x663d
jmp 0x6630
movq -0x28(%rbp), %rax
addq $0x200, %rsp            # imm = 0x200
popq %rbp
retq
movq -0x50(%rbp), %rdi
callq 0x33b0
nopw %cs:(%rax,%rax)