// File: /workspace/github_cpp_makefile_star2_O3/Nallantli[P]Rossa/main/rossa/operation/operation.cpp
// Function: operation::unadd(object_t const*, symbol_t const&, token_t const*, std::vector<std::pair<token_t, function_t>, std::allocator<std::pair<token_t, function_t>>>&)
const symbol_t operation::unadd(const object_t *scope, const symbol_t &evalA, const token_t *token, trace_t &stack_trace)
{
	if (evalA.getValueType() == value_type_enum::OBJECT)
	{
		const auto &o = evalA.getObject(token, stack_trace);
		if (o->hasValue(parser_t::HASH_ADD))
			return o->getVariable(parser_t::HASH_ADD, token, stack_trace).call({}, token, stack_trace);

		if (scope != NULL)
			return scope->getVariable(parser_t::HASH_ADD, token, stack_trace).call({evalA}, token, stack_trace);

		throw rossa_error_t(util::format(_UNDECLARED_OPERATOR_ERROR_, {"+"}), *token, stack_trace);
	}
	symbol_t temp;
	temp.set(&evalA, token, stack_trace);
	return temp;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
movq %rdx, %rdi
callq 0x40b5a
cmpl $-0x8, %eax
jne 0x80810
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x40a9e
movq %rax, %rbp
leaq 0x35174(%rip), %rsi     # 0xb5930
movq %rax, %rdi
callq 0x3ce6c
testb %al, %al
je 0x8082b
leaq 0x35161(%rip), %rsi     # 0xb5930
movq %rbp, %rdi
movq %r15, %rdx
movq %r14, %rcx
callq 0x3ced2
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rdx
movaps %xmm0, (%rdx)
movq $0x0, 0x10(%rdx)
movq %rbx, %rdi
movq %rax, %rsi
movq %r15, %rcx
movq %r14, %r8
callq 0x41ffe
leaq 0x10(%rsp), %rdi
callq 0x20952
jmp 0x80898
movq %rbx, %rdi
callq 0x3f9d0
movq %rbx, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0x3ff88
jmp 0x80898
testq %r13, %r13
je 0x808ad
leaq 0x350f9(%rip), %rsi     # 0xb5930
movq %r13, %rdi
movq %r15, %rdx
movq %r14, %rcx
callq 0x3ced2
movq %rax, %r13
leaq 0x30(%rsp), %rdi
movq %r12, %rsi
callq 0x3fdf4
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rsi
leaq 0x50(%rsp), %rcx
movl $0x1, %edx
callq 0x436ac
leaq 0x10(%rsp), %rdx
movq %rbx, %rdi
movq %r13, %rsi
movq %r15, %rcx
movq %r14, %r8
callq 0x41ffe
leaq 0x10(%rsp), %rdi
callq 0x20952
leaq 0x30(%rsp), %rdi
callq 0x3fe06
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0xa8, %edi
callq 0x101e0
movq %rax, %rbx
leaq 0x40(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x7000(%rip), %rsi      # 0x878cb
leaq 0x702b(%rip), %rdx      # 0x878fd
leaq 0x30(%rsp), %rdi
callq 0x1e698
leaq 0x60(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x52bb(%rip), %rsi      # 0x85ba7
leaq 0x52b5(%rip), %rdx      # 0x85ba8
leaq 0x50(%rsp), %rdi
callq 0x1e698
leaq 0x70(%rsp), %rdi
leaq 0x50(%rsp), %rsi
leaq 0xf(%rsp), %rcx
movl $0x1, %edx
callq 0x20b38
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rsi
leaq 0x70(%rsp), %rdx
callq 0x47db4
movb $0x1, %bpl
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
movq %r15, %rdx
movq %r14, %rcx
callq 0x46e88
xorl %ebp, %ebp
leaq 0x303d7(%rip), %rsi     # 0xb0d20
leaq -0x496ac(%rip), %rdx    # 0x372a4
movq %rbx, %rdi
callq 0x106d0
movq %rax, %r14
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8097e
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x8097e
movq %rax, %r14
movb $0x1, %bpl
leaq 0x70(%rsp), %rdi
callq 0x1db60
jmp 0x80990
movq %rax, %r14
movb $0x1, %bpl
movq 0x50(%rsp), %rdi
cmpq %r13, %rdi
je 0x809a7
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x103d0
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0x809be
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x103d0
testb %bpl, %bpl
jne 0x809e4
jmp 0x80a26
movq %rax, %r14
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0x809e4
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x809e4
movq %rax, %r14
movq %rbx, %rdi
callq 0x102d0
jmp 0x80a26
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x20952
jmp 0x80a00
movq %rax, %r14
leaq 0x30(%rsp), %rdi
jmp 0x80a21
movq %rax, %r14
jmp 0x80a26
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x20952
jmp 0x80a26
movq %rax, %r14
movq %rbx, %rdi
callq 0x3fe06
movq %r14, %rdi
callq 0x106f0