// File: /workspace/github_cpp_makefile_star2_O2/Nallantli[P]Rossa/main/rossa/node_parser/node_parser.cpp
// Function: node_parser_t::parseCallBuiltNode(std::vector<node_scope_t, std::allocator<node_scope_t>>*)
ptr_node_t node_parser_t::parseCallBuiltNode(std::vector<node_scope_t> *scopes)
{
	token_type_enum t = static_cast<token_type_enum>(currentToken.type);
	std::string temp = currentToken.valueString;
	auto marker = currentToken;
	nextToken();
	if (currentToken.type != '(')
		return std::make_shared<IDNode>(*scopes, ROSSA_HASH(temp), marker);
	nextToken();
	std::vector<ptr_node_t> args;
	args.push_back(parseEquNode(scopes));
	if (currentToken.type == ',')
	{
		nextToken();
		args.push_back(parseEquNode(scopes));
	}
	if (currentToken.type != ')')
		return logErrorN(util::format(_EXPECTED_ERROR_, {")"}), currentToken);
	nextToken();
	auto ret = std::make_shared<CallBuiltNode>(*scopes, t, args, marker);
	return parseTrailingNode(scopes, ret, true);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x158, %rsp            # imm = 0x158
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x58(%rsi), %r12
movl 0xd0(%rsi), %eax
movl %eax, 0x3c(%rsp)
addq $0xb0, %rsi
leaq 0xb8(%rsp), %rdi
callq 0x10550
leaq 0xd8(%rsp), %rdi
movq %r12, %rsi
callq 0x1f71a
movq %r14, %rdi
callq 0x22e24
cmpl $0x28, 0xd0(%r14)
jne 0x25609
movq %r14, %rdi
callq 0x22e24
xorps %xmm0, %xmm0
movaps %xmm0, 0x40(%rsp)
andq $0x0, 0x50(%rsp)
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x25798
leaq 0x40(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x30406
leaq 0x18(%rsp), %rdi
callq 0x1d786
movl 0xd0(%r14), %eax
cmpl $0x2c, %eax
jne 0x2558a
movq %r14, %rdi
callq 0x22e24
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x25798
leaq 0x40(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x30406
leaq 0x18(%rsp), %rdi
callq 0x1d786
movl 0xd0(%r14), %eax
cmpl $0x29, %eax
jne 0x25680
movq %r14, %rdi
callq 0x22e24
leaq 0x10(%rsp), %rdi
leaq 0x3c(%rsp), %rdx
leaq 0x40(%rsp), %rcx
leaq 0xd8(%rsp), %r8
movq %r15, %rsi
callq 0x2e859
leaq 0x60(%rsp), %r12
leaq 0x10(%rsp), %rsi
movq %r12, %rdi
callq 0x30994
leaq 0x80(%rsp), %r8
movb $0x1, (%r8)
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %r12, %rcx
callq 0x24b08
leaq 0x68(%rsp), %rdi
callq 0x1d786
leaq 0x18(%rsp), %rdi
callq 0x1d786
leaq 0x40(%rsp), %rdi
callq 0x2e838
jmp 0x25654
leaq 0x912f8(%rip), %rdi     # 0xb6908
leaq 0xb8(%rsp), %rsi
callq 0x1efb0
leaq 0x60(%rsp), %rdx
movq %rax, (%rdx)
leaq 0x10(%rsp), %rdi
leaq 0xd8(%rsp), %rcx
movq %r15, %rsi
callq 0x2e7c9
leaq 0x18(%rsp), %rdi
movaps -0x8(%rdi), %xmm0
andq $0x0, (%rdi)
movups %xmm0, (%rbx)
andq $0x0, -0x8(%rdi)
callq 0x1d786
leaq 0xd8(%rsp), %rdi
callq 0x1df38
leaq 0xb8(%rsp), %rdi
callq 0x101d0
movq %rbx, %rax
addq $0x158, %rsp            # imm = 0x158
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x5121d(%rip), %rsi     # 0x768a4
leaq 0x60(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1c814
leaq 0x52c94(%rip), %rsi     # 0x78331
leaq 0x80(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0x1c814
leaq 0xa0(%rsp), %rdi
leaq 0x80(%rsp), %rsi
pushq $0x1
popq %rdx
leaq 0xd(%rsp), %rcx
callq 0x1f298
leaq 0x10(%rsp), %rdi
leaq 0x60(%rsp), %rsi
leaq 0xa0(%rsp), %rdx
callq 0x3f724
leaq 0x10(%rsp), %rdx
movq %r14, %rsi
movq %r12, %rcx
callq 0x25932
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x101d0
jmp 0x25705
movq %rax, %rbx
leaq 0xa0(%rsp), %rdi
callq 0x1cea0
jmp 0x25717
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x101d0
jmp 0x25729
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0x101d0
jmp 0x25760
jmp 0x2574c
jmp 0x2575d
jmp 0x2575d
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0x1d786
jmp 0x2574f
jmp 0x2575d
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x1d786
jmp 0x25760
jmp 0x2575d
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x2e838
jmp 0x25776
jmp 0x25773
movq %rax, %rbx
jmp 0x25783
movq %rax, %rbx
leaq 0xd8(%rsp), %rdi
callq 0x1df38
leaq 0xb8(%rsp), %rdi
callq 0x101d0
movq %rbx, %rdi
callq 0x106f0