// File: /workspace/github_cpp_makefile_star2_O1/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 0xbde8
leaq 0x118(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
leaq 0x108(%rsp), %rdi
callq 0xbde8
leaq 0x62f9(%rip), %rsi      # 0x2975e
movq %r15, %rdi
callq 0x50a0
testl %eax, %eax
je 0x234db
movl $0x28, %edi
callq 0x51b0
movq %rax, %rbx
movq (%r12), %rax
leaq 0x128(%rsp), %rdi
movq %r12, %rsi
callq *(%rax)
leaq 0x66b4(%rip), %rcx      # 0x29b4a
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 0x23558
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0x2355e
movl $0x28, %edi
callq 0x51b0
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0x108(%rsp), %rdx
callq 0x24969
leaq 0x1166c(%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 0xbde8
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x23846
movq 0xf8(%rsp), %rsi
jmp 0x2383e
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 0x5c31(%rip), %rsi      # 0x291b2
callq 0x5360
leaq 0xb8(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x235b9
movq %rsi, %r13
movq %rdx, 0xa8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb8(%rsp)
jmp 0x235c2
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 0x2361d
movq %rdx, 0xc8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd8(%rsp)
jmp 0x23624
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 0x5b65(%rip), %rsi      # 0x291b2
callq 0x5360
leaq 0x38(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x23679
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x23680
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, %esi
cmpq %rbp, %rcx
je 0x236c7
movq 0x38(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x236e6
leaq 0x58(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x236e1
movq 0x58(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x236f7
movq 0x48(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x50b0
jmp 0x23705
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 0x23729
movq %rsi, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x2372f
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 0x11345(%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 0xbde8
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x23792
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x51c0
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x237ad
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x51c0
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x237c4
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x51c0
movq 0xc8(%rsp), %rdi
cmpq %r15, %rdi
movq %r12, %rbp
je 0x237e4
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x51c0
movq 0xa8(%rsp), %rdi
cmpq %r13, %rdi
je 0x23801
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x51c0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
leaq 0x98(%rsp), %r13
je 0x23825
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x51c0
leaq 0x138(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x23846
movq 0x138(%rsp), %rsi
incq %rsi
callq 0x51c0
movq 0x108(%rsp), %rdi
cmpq %rbp, %rdi
je 0x23863
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x51c0
movq 0x88(%rsp), %rdi
cmpq %r13, %rdi
je 0x23880
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 0x239b8
movq 0xf8(%rsp), %rsi
jmp 0x239a8
jmp 0x239b2
movq %rax, %r14
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x238e5
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x238e5
movq %rax, %r14
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x23905
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x23905
movq %rax, %r14
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x23921
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x23921
movq %rax, %r14
movq 0xc8(%rsp), %rdi
cmpq %r15, %rdi
je 0x23946
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x23946
movq %rbp, %r12
movq %rax, %r14
movq 0xa8(%rsp), %rdi
cmpq %r13, %rdi
je 0x2396b
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x2396b
movq %rbp, %r12
movq %rax, %r14
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x2398f
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x2398f
movq %rbp, %r12
movq %rax, %r14
leaq 0x138(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x239b8
movq 0x138(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x239b8
movq %rbp, %r12
movq %rax, %r14
movl $0x28, %esi
movq %rbx, %rdi
callq 0x51c0
movq 0x108(%rsp), %rdi
cmpq %r12, %rdi
je 0x239ef
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x239ef
movq %rbp, %r12
movq %rax, %r14
jmp 0x239c5
movq %rax, %r14
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x23a14
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x51c0
movq %r14, %rdi
callq 0x5330