// File: /workspace/github_cpp_makefile_star2_O3/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 0x965b(%rip), %rsi      # 0x29770
movq %r14, %rdi
callq 0x50a0
testl %eax, %eax
je 0x2018f
leaq 0x9a17(%rip), %rsi      # 0x29b3f
movq %r14, %rdi
callq 0x50a0
testl %eax, %eax
je 0x201a7
movl $0x28, %edi
callq 0x51b0
movq %rax, %rbx
movq (%r15), %rax
leaq 0x60(%rsp), %rdi
movq %r15, %rsi
callq *(%rax)
leaq 0x99c8(%rip), %rcx      # 0x29b1d
leaq 0x60(%rsp), %rdi
movl $0x1d, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x51f0
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x201bf
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x201c6
movq %r15, %rsi
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x228c2
movq %r15, %rsi
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x22986
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rsp, %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x957b(%rip), %rsi      # 0x29762
callq 0x5360
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x20214
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x2021c
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x20(%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 0x50(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x2026b
movq %rsi, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x20276
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq %r13, %rsi
movq 0x8(%rax), %rdx
movq %rdx, 0x48(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x14803(%rip), %rax     # 0x34a98
movq %rax, (%rbx)
leaq 0x8(%rbx), %rdi
movq %rbx, %rax
addq $0x18, %rax
movq %rax, 0x8(%rbx)
addq %rsi, %rdx
callq 0xbdc6
movq 0x40(%rsp), %rdi
cmpq %r13, %rdi
je 0x202c6
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x51c0
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x202dd
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x51c0
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x202f3
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x51c0
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2030e
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 0x40(%rsp), %rdi
cmpq %r13, %rdi
je 0x20341
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x20341
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x2035d
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x2035d
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x20378
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x20378
movq %rax, %r14
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x20398
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x20398
movq %rax, %r14
movl $0x28, %esi
movq %rbx, %rdi
callq 0x51c0
movq %r14, %rdi
callq 0x5330
nop