// File: /workspace/github_cpp_makefile_star2_O2/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, %rbx
movq %rcx, %r14
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %r15
movq %rdx, %rdi
callq 0x39ca6
cmpl $-0x8, %eax
jne 0x746a0
movq %r12, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x39c02
movq %rax, %rbp
leaq 0x422f1(%rip), %rsi     # 0xb6940
movq %rax, %rdi
callq 0x366b2
testb %al, %al
je 0x746bb
leaq 0x422de(%rip), %rsi     # 0xb6940
movq %rbp, %rdi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x366ec
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rdx
movaps %xmm0, (%rdx)
andq $0x0, 0x10(%rdx)
movq %r15, %rdi
movq %rax, %rsi
movq %r14, %rcx
movq %rbx, %r8
callq 0x3aa8c
leaq 0x10(%rsp), %rdi
callq 0x1f0b8
jmp 0x74726
movq %r15, %rdi
callq 0x38d00
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x3927a
jmp 0x74726
testq %r13, %r13
je 0x7473b
leaq 0x42279(%rip), %rsi     # 0xb6940
movq %r13, %rdi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x366ec
movq %rax, %r13
leaq 0x30(%rsp), %rdi
movq %r12, %rsi
callq 0x390f0
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rsi
pushq $0x1
popq %rdx
leaq 0x50(%rsp), %rcx
callq 0x3ba84
leaq 0x10(%rsp), %rdx
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rcx
movq %rbx, %r8
callq 0x3aa8c
leaq 0x10(%rsp), %rdi
callq 0x1f0b8
leaq 0x30(%rsp), %rdi
callq 0x39102
movq %r15, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0xa8, %edi
callq 0x101f0
movq %rax, %r15
leaq 0x6174(%rip), %rsi      # 0x7a8c3
leaq 0x30(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1c814
leaq 0x18ca(%rip), %rsi      # 0x7602f
leaq 0x50(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0x1c814
leaq 0x70(%rsp), %rdi
leaq 0x50(%rsp), %rsi
pushq $0x1
popq %rdx
leaq 0xd(%rsp), %rcx
callq 0x1f298
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rsi
leaq 0x70(%rsp), %rdx
callq 0x3f724
movb $0x1, %bpl
leaq 0x10(%rsp), %rsi
movq %r15, %rdi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x3ebb8
xorl %ebp, %ebp
leaq 0x3d4e2(%rip), %rsi     # 0xb1ca0
leaq -0x45353(%rip), %rdx    # 0x2f472
movq %r15, %rdi
callq 0x106c0
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x101d0
jmp 0x747e2
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x70(%rsp), %rdi
callq 0x1cea0
jmp 0x747f4
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x50(%rsp), %rdi
callq 0x101d0
jmp 0x74806
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x30(%rsp), %rdi
callq 0x101d0
testb %bpl, %bpl
jne 0x7481a
jmp 0x7485c
movq %rax, %rbx
movq %r15, %rdi
callq 0x102e0
jmp 0x7485c
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x1f0b8
jmp 0x74836
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
jmp 0x74857
movq %rax, %rbx
jmp 0x7485c
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x1f0b8
jmp 0x7485c
movq %rax, %rbx
movq %r15, %rdi
callq 0x39102
movq %rbx, %rdi
callq 0x106f0