// File: Nallantli[P]Rossa/main/rossa/instruction/instruction.cpp
// Function: ParseI::evaluate(object_t const*, std::vector<std::pair<token_t, function_t>, std::allocator<std::pair<token_t, function_t>>>&) const
const symbol_t ParseI::evaluate(const object_t *scope, trace_t &stack_trace) const
{
	const std::string evalA = a->evaluate(scope, stack_trace).getString(&token, stack_trace);

	const std::vector<token_t> tokens = lexString(evalA, std::filesystem::current_path() / KEYWORD_NIL);
	node_parser_t np(tokens, std::filesystem::current_path() / KEYWORD_NIL);

	std::vector<std::pair<std::vector<hash_ull>, symbol_t>> consts;
	std::vector<node_scope_t> scopes;
	return np.parse(&scopes, &consts)->fold(consts)->genParser()->evaluate(scope, stack_trace);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2d0, %rsp            # imm = 0x2D0
movq %rdi, -0x2c0(%rbp)
movq %rdi, %rax
movq %rax, -0x2b8(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x2b0(%rbp)
addq $0x90, %rdi
callq 0x2d300
movq %rax, %rsi
movq -0x18(%rbp), %rdx
movq -0x20(%rbp), %rcx
movq (%rsi), %rax
movq (%rax), %rax
leaq -0x50(%rbp), %rdi
movq %rdi, -0x2a8(%rbp)
callq *%rax
movq -0x2b0(%rbp), %rdx
movq -0x2a8(%rbp), %rsi
addq $0x8, %rdx
movq -0x20(%rbp), %rcx
leaq -0x40(%rbp), %rdi
callq 0x880d0
jmp 0x133322
leaq -0x50(%rbp), %rdi
callq 0x86dc0
leaq -0xc8(%rbp), %rdi
callq 0x11890
jmp 0x133339
leaq 0x1ee8f(%rip), %rsi     # 0x1521cf
leaq -0xf0(%rbp), %rdi
movl $0x2, %edx
callq 0xc9a30
jmp 0x133353
leaq -0xa0(%rbp), %rdi
leaq -0xc8(%rbp), %rsi
leaq -0xf0(%rbp), %rdx
callq 0x249c0
jmp 0x13336f
leaq -0x78(%rbp), %rdi
leaq -0x40(%rbp), %rsi
leaq -0xa0(%rbp), %rdx
callq 0x35510
jmp 0x133385
leaq -0xa0(%rbp), %rdi
callq 0x24b40
leaq -0xf0(%rbp), %rdi
callq 0x24b40
leaq -0xc8(%rbp), %rdi
callq 0x24b40
leaq -0x218(%rbp), %rdi
callq 0x11890
jmp 0x1333b7
leaq 0x1ee11(%rip), %rsi     # 0x1521cf
leaq -0x240(%rbp), %rdi
movl $0x2, %edx
callq 0xc9a30
jmp 0x1333d1
leaq -0x1f0(%rbp), %rdi
leaq -0x218(%rbp), %rsi
leaq -0x240(%rbp), %rdx
callq 0x249c0
jmp 0x1333ed
leaq -0x1c8(%rbp), %rdi
leaq -0x78(%rbp), %rsi
leaq -0x1f0(%rbp), %rdx
callq 0x38f50
jmp 0x133406
leaq -0x1f0(%rbp), %rdi
callq 0x24b40
leaq -0x240(%rbp), %rdi
callq 0x24b40
leaq -0x218(%rbp), %rdi
callq 0x24b40
leaq -0x258(%rbp), %rdi
movq %rdi, -0x2c8(%rbp)
callq 0x2cbf0
leaq -0x270(%rbp), %rdi
movq %rdi, -0x2d0(%rbp)
callq 0x2cc10
movq -0x2d0(%rbp), %rdx
movq -0x2c8(%rbp), %rcx
leaq -0x2a0(%rbp), %rdi
leaq -0x1c8(%rbp), %rsi
callq 0x56dd0
jmp 0x133473
leaq -0x2a0(%rbp), %rdi
callq 0x2d030
movq %rax, %rsi
movq (%rsi), %rax
movq 0x18(%rax), %rax
leaq -0x290(%rbp), %rdi
leaq -0x258(%rbp), %rdx
callq *%rax
jmp 0x13349b
leaq -0x290(%rbp), %rdi
callq 0x2d030
movq %rax, %rsi
movq (%rsi), %rax
movq (%rax), %rax
leaq -0x280(%rbp), %rdi
callq *%rax
jmp 0x1334bb
leaq -0x280(%rbp), %rdi
callq 0x2d300
movq -0x2c0(%rbp), %rdi
movq %rax, %rsi
movq -0x18(%rbp), %rdx
movq -0x20(%rbp), %rcx
movq (%rsi), %rax
movq (%rax), %rax
callq *%rax
jmp 0x1334e3
leaq -0x280(%rbp), %rdi
callq 0x2a4e0
leaq -0x290(%rbp), %rdi
callq 0x24b20
leaq -0x2a0(%rbp), %rdi
callq 0x24b20
leaq -0x270(%rbp), %rdi
callq 0x2cf70
leaq -0x258(%rbp), %rdi
callq 0x2cfd0
leaq -0x1c8(%rbp), %rdi
callq 0x2d050
leaq -0x78(%rbp), %rdi
callq 0x2d090
leaq -0x40(%rbp), %rdi
callq 0x11360
movq -0x2b8(%rbp), %rax
addq $0x2d0, %rsp            # imm = 0x2D0
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x86dc0
jmp 0x1336b8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x1336af
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x1335b8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x1335ac
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0xa0(%rbp), %rdi
callq 0x24b40
leaq -0xf0(%rbp), %rdi
callq 0x24b40
leaq -0xc8(%rbp), %rdi
callq 0x24b40
jmp 0x1336af
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x1336a6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13361a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13360e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x1f0(%rbp), %rdi
callq 0x24b40
leaq -0x240(%rbp), %rdi
callq 0x24b40
leaq -0x218(%rbp), %rdi
callq 0x24b40
jmp 0x1336a6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x133682
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x133676
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13366a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x280(%rbp), %rdi
callq 0x2a4e0
leaq -0x290(%rbp), %rdi
callq 0x24b20
leaq -0x2a0(%rbp), %rdi
callq 0x24b20
leaq -0x270(%rbp), %rdi
callq 0x2cf70
leaq -0x258(%rbp), %rdi
callq 0x2cfd0
leaq -0x1c8(%rbp), %rdi
callq 0x2d050
leaq -0x78(%rbp), %rdi
callq 0x2d090
leaq -0x40(%rbp), %rdi
callq 0x11360
movq -0x58(%rbp), %rdi
callq 0x119c0
nopw %cs:(%rax,%rax)