// File: /workspace/github_cpp_makefile_star2_O3/pranavmodx[P]modlang/src/evaluator.cpp
// Function: Evaluator::evalStringInfixExpression(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, Object*, Object*)
Object *Evaluator::evalStringInfixExpression(std::string operand, Object *left, Object *right)
{
	std::string leftVal = ((String *)left)->value;
	std::string rightVal = ((String *)right)->value;

	Object *res;

	if (operand == "+")
		res = new String(leftVal + rightVal);
	else
		return new Error("error: unknown operator -> " + left->type() + " " + operand + " " + right->type());

	return res;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x148, %rsp            # imm = 0x148
movq %rcx, %r14
movq %rdx, %r12
movq %rsi, %r15
leaq 0x98(%rsp), %r13
movq %r13, -0x10(%r13)
movq 0x8(%rdx), %rsi
movq 0x10(%rdx), %rdx
addq %rsi, %rdx
leaq 0x88(%rsp), %rdi
callq 0xbdc6
leaq 0x118(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
leaq 0x108(%rsp), %rdi
callq 0xbdc6
leaq 0x6601(%rip), %rsi      # 0x2976e
movq %r15, %rdi
callq 0x50a0
testl %eax, %eax
je 0x231e3
movl $0x28, %edi
callq 0x51b0
movq %rax, %rbx
movq (%r12), %rax
leaq 0x128(%rsp), %rdi
movq %r12, %rsi
callq *(%rax)
leaq 0x69bc(%rip), %rcx      # 0x29b5a
leaq 0x128(%rsp), %rdi
movl $0x1b, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x51f0
leaq 0x78(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x23260
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0x23266
movl $0x28, %edi
callq 0x51b0
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0x108(%rsp), %rdx
callq 0x24665
leaq 0x11964(%rip), %rax     # 0x34b78
movq %rax, (%rbx)
leaq 0x8(%rbx), %rdi
movq %rbx, %rax
addq $0x18, %rax
movq %rax, 0x8(%rbx)
movq 0xe8(%rsp), %rsi
movq 0xf0(%rsp), %rdx
addq %rsi, %rdx
callq 0xbdc6
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2354d
movq 0xf8(%rsp), %rsi
jmp 0x23545
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x68(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x5f2d(%rip), %rsi      # 0x291b6
callq 0x5360
leaq 0xb8(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x232c1
movq %rsi, %r13
movq %rdx, 0xa8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb8(%rsp)
jmp 0x232ca
movups (%rcx), %xmm0
movq %rsi, %r13
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0xa8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
callq 0x50b0
leaq 0xd8(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x23325
movq %rdx, 0xc8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd8(%rsp)
jmp 0x2332c
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq %rbp, %r12
movq 0x8(%rax), %rdx
leaq 0xc8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x5e61(%rip), %rsi      # 0x291b6
callq 0x5360
leaq 0x38(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x23381
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x23388
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%r14), %rax
leaq 0x48(%rsp), %rdi
movq %r14, %rsi
callq *(%rax)
movq 0x28(%rsp), %rcx
movq 0x30(%rsp), %r8
movq 0x50(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %rbp, %rcx
je 0x233cf
movq 0x38(%rsp), %rdi
movq 0x48(%rsp), %rsi
cmpq %rdi, %rax
jbe 0x233f2
leaq 0x58(%rsp), %r9
movl $0xf, %edi
cmpq %r9, %rsi
je 0x233ed
movq 0x58(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x233fe
leaq 0x28(%rsp), %rdi
callq 0x50b0
jmp 0x2340c
leaq 0x48(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x51f0
leaq 0x18(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x23430
movq %rsi, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x23436
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x1163e(%rip), %rax     # 0x34a98
movq %rax, (%rbx)
leaq 0x8(%rbx), %rdi
movq %rbx, %rax
addq $0x18, %rax
movq %rax, 0x8(%rbx)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
callq 0xbdc6
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x23499
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x51c0
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x234b4
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x51c0
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x234cb
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x51c0
movq 0xc8(%rsp), %rdi
cmpq %r15, %rdi
movq %r12, %rbp
je 0x234eb
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x51c0
movq 0xa8(%rsp), %rdi
cmpq %r13, %rdi
je 0x23508
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x51c0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
leaq 0x98(%rsp), %r13
je 0x2352c
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x51c0
leaq 0x138(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2354d
movq 0x138(%rsp), %rsi
incq %rsi
callq 0x51c0
movq 0x108(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2356a
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x51c0
movq 0x88(%rsp), %rdi
cmpq %r13, %rdi
je 0x23587
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x51c0
movq %rbx, %rax
addq $0x148, %rsp            # imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbp, %r12
movq %rax, %r14
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x236bf
movq 0xf8(%rsp), %rsi
jmp 0x236af
jmp 0x236b9
movq %rax, %r14
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x235ec
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x235ec
movq %rax, %r14
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2360c
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x2360c
movq %rax, %r14
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x23628
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x23628
movq %rax, %r14
movq 0xc8(%rsp), %rdi
cmpq %r15, %rdi
je 0x2364d
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x2364d
movq %rbp, %r12
movq %rax, %r14
movq 0xa8(%rsp), %rdi
cmpq %r13, %rdi
je 0x23672
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x23672
movq %rbp, %r12
movq %rax, %r14
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x23696
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x23696
movq %rbp, %r12
movq %rax, %r14
leaq 0x138(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x236bf
movq 0x138(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x236bf
movq %rbp, %r12
movq %rax, %r14
movl $0x28, %esi
movq %rbx, %rdi
callq 0x51c0
movq 0x108(%rsp), %rdi
cmpq %r12, %rdi
je 0x236f6
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x236f6
movq %rbp, %r12
movq %rax, %r14
jmp 0x236cc
movq %rax, %r14
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x2371b
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x51c0
movq %r14, %rdi
callq 0x5330
nop