// File: /workspace/github_cpp_makefile_star2_O3/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 0x1f458
movq 0x38(%rsp), %rax
movq (%rax), %rbx
leaq 0x68(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x63eae(%rip), %rdx     # 0x8316e
leaq 0x58(%rsp), %r14
movq %r14, %rdi
movq %rdx, %rsi
callq 0x1e698
movq (%rbx), %rax
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %edx
callq *0x10(%rax)
movq 0x58(%rsp), %rdi
cmpq %r15, %rdi
je 0x1f2f8
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 0x1f458
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 0x1f3e0
xorl %r14d, %r14d
subl $0x1, %r14d
jb 0x1f380
movq %rbx, (%rsp)
movq %rbp, %rdi
leaq 0x64005(%rip), %rsi     # 0x83350
leaq 0x63fff(%rip), %rdx     # 0x83351
callq 0x1e698
movl $0x24, 0x20(%rsp)
movq %rbp, %rdi
movq %r15, %rsi
callq 0x1d135
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x1f380
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x103d0
movq (%r13), %rax
leaq 0x9656d(%rip), %rcx     # 0xb58f8
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 0x1ded4
movl $0x24, 0x20(%rsp)
movq %rbp, %rdi
movq %r15, %rsi
callq 0x1d135
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x1f3d3
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x103d0
addq $0x8, %r13
cmpq %r12, %r13
jne 0x1f337
movl $0x3, %edx
movq 0x95bac(%rip), %r12     # 0xb4f98
movq %r12, %rdi
leaq 0x63f3d(%rip), %rsi     # 0x83333
callq 0x10490
movq 0x50(%rsp), %r14
leaq 0x18(%r14), %rsi
movq %rbp, %rdi
callq 0x42070
movl $0x24, 0x20(%rsp)
movq %rbp, %rdi
movq %r15, %rsi
callq 0x1d135
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x1f435
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x103d0
movl $0x1, %edx
movq %r12, %rdi
leaq 0x656b9(%rip), %rsi     # 0x84afd
callq 0x10490
addq $0x28, %r14
cmpq 0x48(%rsp), %r14
jne 0x1f31f
leaq 0x20(%rsp), %rbx
movq %rbx, %rdi
movq 0x38(%rsp), %rsi
callq 0x36c54
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 0x1d632
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x1f4ab
callq 0x1e5bc
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 0x1f50f
movq 0x68(%rsp), %rsi
jmp 0x1f507
movq %rax, %r14
movq %rsp, %rdi
callq 0x1d632
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x1f50f
callq 0x1e5bc
jmp 0x1f50f
jmp 0x1f4f6
movq %rax, %r14
jmp 0x1f50f
jmp 0x1f4f6
movq %rax, %r14
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x1f50f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x103d0
movq %r14, %rdi
callq 0x106f0
nop