// File: /workspace/github_cpp_makefile_star2_O3/Nallantli[P]Rossa/main/rossa/node_parser/node_parser.cpp
// Function: node_parser_t::parseUnOpNode(std::vector<node_scope_t, std::allocator<node_scope_t>>*)
ptr_node_t node_parser_t::parseUnOpNode(std::vector<node_scope_t> *scopes)
{
	std::string opStr = currentToken.valueString;
	auto marker = currentToken;
	nextToken();
	if (UNARY_OPERATORS.find(opStr) != UNARY_OPERATORS.end())
	{
		if (auto a = parseUnitNode(scopes))
			return std::make_shared<UnOpNode>(*scopes, opStr, a, marker);
		return logErrorN(_FAILURE_PARSE_CODE_, currentToken);
	}
	else
	{
		return logErrorN(_NOT_UNARY_OP_, marker);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x58(%rsi), %r15
leaq 0x40(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0xb0(%rsi), %rsi
movq 0xb8(%r14), %rdx
addq %rsi, %rdx
leaq 0x30(%rsp), %rdi
callq 0x1ded4
leaq 0x68(%rsp), %r13
movq %r13, %rdi
movq %r15, %rsi
callq 0x1e566
leaq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x80(%r14), %rsi
movq 0x88(%r14), %rdx
addq %rsi, %rdx
callq 0x1ded4
movups 0xa0(%r14), %xmm0
leaq 0xc0(%rsp), %rdi
movups %xmm0, -0x10(%rdi)
leaq 0xd0(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq 0xb0(%r14), %rsi
movq 0xb8(%r14), %rdx
addq %rsi, %rdx
callq 0x1ded4
movl 0xd0(%r14), %eax
movl %eax, 0xe0(%rsp)
movq %r14, %rdi
callq 0x2549e
leaq 0x85a2f(%rip), %rdi     # 0xb5b28
leaq 0x30(%rsp), %rsi
callq 0x241f8
leaq 0x85a26(%rip), %rcx     # 0xb5b30
cmpq %rcx, %rax
je 0x301f0
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x2c34e
cmpq $0x0, 0x10(%rsp)
je 0x30223
leaq 0x58(%rsp), %rdi
movq $0x0, -0x8(%rdi)
movq %r13, (%rsp)
leaq 0x50(%rsp), %rsi
leaq 0xf(%rsp), %rdx
leaq 0x30(%rsp), %r8
leaq 0x10(%rsp), %r9
movq %r12, %rcx
callq 0x3a520
movaps 0x50(%rsp), %xmm0
movups %xmm0, (%rbx)
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x30173
callq 0x1e5bc
movq 0xc0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x30190
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x103d0
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x301b5
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x103d0
leaq 0x68(%rsp), %rdi
callq 0x1d5ee
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x301db
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x103d0
movq %rbx, %rax
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x20(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x537aa(%rip), %rsi     # 0x839aa
leaq 0x537d0(%rip), %rdx     # 0x839d7
leaq 0x10(%rsp), %rdi
callq 0x1e698
leaq 0x10(%rsp), %rdx
leaq 0x68(%rsp), %rcx
movq %r14, %rsi
callq 0x29658
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x30232
callq 0x1e5bc
leaq 0x20(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x536d6(%rip), %rsi     # 0x83919
leaq 0x536e4(%rip), %rdx     # 0x8392e
leaq 0x10(%rsp), %rdi
callq 0x1e698
leaq 0x10(%rsp), %rdx
movq %r14, %rsi
movq %r15, %rcx
callq 0x29658
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
jne 0x30282
jmp 0x302ae
jmp 0x302ab
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x302ae
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x302ae
jmp 0x302ab
movq %rax, %rbx
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x302ae
callq 0x1e5bc
jmp 0x302ae
jmp 0x302ab
jmp 0x302ab
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0x2108a
jmp 0x302f6
movq %rax, %rbx
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x302e7
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x302e7
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0x1d5ee
jmp 0x302f6
movq %rax, %rbx
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x30312
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x103d0
movq %rbx, %rdi
callq 0x106f0