// File: /workspace/github_cpp_makefile_star2_O1/Nallantli[P]Rossa/main/rossa/parser/parser.cpp
// Function: parser_t::runCode(std::shared_ptr<Node> const&, bool const&)
const symbol_t parser_t::runCode(const ptr_node_t &entry, const bool &tree)
{
	if (tree)
	{
		entry->printTree("", true);
		for (auto &c : consts)
		{
			int i = 0;
			for (auto &p : c.first)
			{
				if (i++ > 0)
				{
					printc(".", CYAN_TEXT);
				}
				printc(ROSSA_DEHASH(p), CYAN_TEXT);
			}
			std::cout << " = ";
			printc(c.second.toCodeString(), CYAN_TEXT);
			std::cout << "\n";
		}
	}

	auto g = node_parser_t::genParser(entry);

	trace_t stack_trace;
	return g->evaluate(&main, stack_trace);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdx, 0x38(%rsp)
movq %rsi, 0x30(%rsp)
movq %rdi, 0x40(%rsp)
cmpb $0x1, (%rcx)
jne 0x1f584
movq 0x38(%rsp), %rax
movq (%rax), %rbx
leaq 0x68(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x64d82(%rip), %rdx     # 0x8416e
leaq 0x58(%rsp), %r14
movq %r14, %rdi
movq %rdx, %rsi
callq 0x1e7ca
movq (%rbx), %rax
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %edx
callq *0x10(%rax)
movq 0x58(%rsp), %rdi
cmpq %r15, %rdi
je 0x1f424
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x103d0
movq 0x30(%rsp), %rax
movq (%rax), %r14
movq 0x8(%rax), %rax
movq %rax, 0x48(%rsp)
cmpq %rax, %r14
je 0x1f584
leaq 0x10(%rsp), %rbx
movq %rsp, %rbp
leaq 0x20(%rsp), %r15
movq (%r14), %r13
movq %r14, 0x50(%rsp)
movq 0x8(%r14), %r12
cmpq %r12, %r13
je 0x1f50c
xorl %r14d, %r14d
subl $0x1, %r14d
jb 0x1f4ac
movq %rbx, (%rsp)
movq %rbp, %rdi
leaq 0x64ed9(%rip), %rsi     # 0x84350
leaq 0x64ed3(%rip), %rdx     # 0x84351
callq 0x1e7ca
movl $0x24, 0x20(%rsp)
movq %rbp, %rdi
movq %r15, %rsi
callq 0x1d275
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x1f4ac
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x103d0
movq (%r13), %rax
leaq 0x98441(%rip), %rcx     # 0xb78f8
movq (%rcx), %rcx
shlq $0x5, %rax
movq %rbx, (%rsp)
movq (%rcx,%rax), %rsi
movq 0x8(%rcx,%rax), %rdx
addq %rsi, %rdx
movq %rbp, %rdi
callq 0x1e014
movl $0x24, 0x20(%rsp)
movq %rbp, %rdi
movq %r15, %rsi
callq 0x1d275
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x1f4ff
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x103d0
addq $0x8, %r13
cmpq %r12, %r13
jne 0x1f463
movl $0x3, %edx
movq 0x97a80(%rip), %r12     # 0xb6f98
movq %r12, %rdi
leaq 0x64e11(%rip), %rsi     # 0x84333
callq 0x10490
movq 0x50(%rsp), %r14
leaq 0x18(%r14), %rsi
movq %rbp, %rdi
callq 0x427a8
movl $0x24, 0x20(%rsp)
movq %rbp, %rdi
movq %r15, %rsi
callq 0x1d275
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x1f561
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x103d0
movl $0x1, %edx
movq %r12, %rdi
leaq 0x6656d(%rip), %rsi     # 0x85add
callq 0x10490
addq $0x28, %r14
cmpq 0x48(%rsp), %r14
jne 0x1f44b
leaq 0x20(%rsp), %rbx
movq %rbx, %rdi
movq 0x38(%rsp), %rsi
callq 0x37178
xorps %xmm0, %xmm0
movq %rsp, %rcx
movaps %xmm0, (%rcx)
movq $0x0, 0x10(%rcx)
movq (%rbx), %rsi
movq 0x30(%rsp), %rdx
addq $0x30, %rdx
movq (%rsi), %rax
movq 0x40(%rsp), %rbx
movq %rbx, %rdi
callq *(%rax)
movq %rsp, %rdi
callq 0x1d77a
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x1f5d7
callq 0x1e6ee
movq %rbx, %rax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq 0x58(%rsp), %rdi
cmpq %r15, %rdi
je 0x1f63b
movq 0x68(%rsp), %rsi
jmp 0x1f633
movq %rax, %r14
movq %rsp, %rdi
callq 0x1d77a
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x1f63b
callq 0x1e6ee
jmp 0x1f63b
jmp 0x1f622
movq %rax, %r14
jmp 0x1f63b
jmp 0x1f622
movq %rax, %r14
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x1f63b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x103d0
movq %r14, %rdi
callq 0x106f0
nop