// File: /workspace/github_cpp_makefile_star2_O1/pranavmodx[P]modlang/src/evaluator.cpp
// Function: Evaluator::evalPrefixExpression(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, Object*)
Object *Evaluator::evalPrefixExpression(std::string operand, Object *right)
{
	if (operand == "!")
		return evalBangPrefixExpression(right);
	else if (operand == "-")
		return evalMinusPrefixExpression(right);

	Object *error = new Error("error : unknown operator for " + right->type() + " -> " + operand);
	return error;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x80, %rsp
movq %rdx, %r15
movq %rsi, %r14
leaq 0x9439(%rip), %rsi      # 0x29760
movq %r14, %rdi
callq 0x50a0
testl %eax, %eax
je 0x203a2
leaq 0x97f5(%rip), %rsi      # 0x29b2f
movq %r14, %rdi
callq 0x50a0
testl %eax, %eax
je 0x203ba
movl $0x28, %edi
callq 0x51b0
movq %rax, %rbx
movq (%r15), %rax
leaq 0x60(%rsp), %rdi
movq %r15, %rsi
callq *(%rax)
leaq 0x97a6(%rip), %rcx      # 0x29b0d
leaq 0x60(%rsp), %rdi
movl $0x1d, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x51f0
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x203d2
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x203d9
movq %r15, %rsi
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x22bbe
movq %r15, %rsi
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x22c78
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x20(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x9356(%rip), %rsi      # 0x29752
callq 0x5360
leaq 0x50(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x20429
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x20431
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x40(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
callq 0x50b0
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2047f
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x20487
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x145f2(%rip), %rax     # 0x34a98
movq %rax, (%rbx)
leaq 0x8(%rbx), %rdi
movq %rbx, %rax
addq $0x18, %rax
movq %rax, 0x8(%rbx)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
callq 0xbde8
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x204df
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x51c0
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x204f6
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x51c0
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x2050d
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x51c0
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x20528
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x51c0
movq %rbx, %rax
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x2055a
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x2055a
movq %rax, %r14
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x20576
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x20576
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x20592
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x20592
movq %rax, %r14
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x205b2
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x205b2
movq %rax, %r14
movl $0x28, %esi
movq %rbx, %rdi
callq 0x51c0
movq %r14, %rdi
callq 0x5330
nop