// File: /workspace/github_cpp_makefile_star2_O1/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 %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x158, %rsp            # imm = 0x158
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x58(%rsi), %r12
movl 0xd0(%rsi), %eax
movl %eax, 0x3c(%rsp)
leaq 0x70(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0xb0(%rsi), %rsi
movq 0xb8(%r15), %rdx
addq %rsi, %rdx
leaq 0x60(%rsp), %rdi
callq 0x1e014
leaq 0xc0(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
callq 0x1e698
leaq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x80(%r15), %rsi
movq 0x88(%r15), %rdx
addq %rsi, %rdx
callq 0x1e014
movups 0xa0(%r15), %xmm0
leaq 0x118(%rsp), %rdi
movups %xmm0, -0x10(%rdi)
leaq 0x128(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq 0xb0(%r15), %rsi
movq 0xb8(%r15), %rdx
addq %rsi, %rdx
callq 0x1e014
movl 0xd0(%r15), %eax
movl %eax, 0x138(%rsp)
movq %r15, %rdi
callq 0x2565a
cmpl $0x28, 0xd0(%r15)
jne 0x2937f
movq %r15, %rdi
callq 0x2565a
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movq $0x0, 0x90(%rsp)
leaq 0x18(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x296b0
leaq 0x80(%rsp), %rdi
leaq 0x18(%rsp), %rsi
callq 0x382ca
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x292c1
callq 0x1e6ee
cmpl $0x2c, 0xd0(%r15)
jne 0x29304
movq %r15, %rdi
callq 0x2565a
leaq 0x18(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x296b0
leaq 0x80(%rsp), %rdi
leaq 0x18(%rsp), %rsi
callq 0x382ca
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x29304
callq 0x1e6ee
cmpl $0x29, 0xd0(%r15)
jne 0x294f9
movq %r15, %rdi
callq 0x2565a
leaq 0x20(%rsp), %rdi
movq $0x0, -0x8(%rdi)
movq %r13, (%rsp)
leaq 0x18(%rsp), %rsi
leaq 0x40(%rsp), %rdx
leaq 0x3c(%rsp), %r8
leaq 0x80(%rsp), %r9
movq %r14, %rcx
callq 0x38600
movq 0x18(%rsp), %rcx
movq 0x20(%rsp), %rax
movq %rcx, 0x40(%rsp)
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0x2942f
movq 0x8dc22(%rip), %rcx     # 0xb6f90
cmpb $0x0, (%rcx)
je 0x2942b
incl 0x8(%rax)
jmp 0x2942f
leaq 0x8e572(%rip), %r15     # 0xb78f8
movq (%r15), %rdi
movq 0x8(%r15), %rsi
leaq 0x60(%rsp), %rdx
callq 0x20e41
movq 0x8(%r15), %rsi
cmpq %rsi, %rax
je 0x293b9
movq (%r15), %r15
leaq 0x60(%rsp), %rdx
movq %r15, %rdi
callq 0x20e41
subq %r15, %rax
sarq $0x5, %rax
jmp 0x293db
leaq 0x8e538(%rip), %r15     # 0xb78f8
leaq 0x60(%rsp), %rsi
movq %r15, %rdi
callq 0x20e04
movq 0x8(%r15), %rax
subq (%r15), %rax
sarq $0x5, %rax
decq %rax
leaq 0x40(%rsp), %r8
movq %rax, (%r8)
leaq 0x20(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x18(%rsp), %rsi
leaq 0xa0(%rsp), %rdx
leaq 0xc0(%rsp), %r9
movq %r14, %rcx
callq 0x38002
movq 0x18(%rsp), %rax
movq %rax, (%rbx)
xorl %eax, %eax
movq %rax, 0x8(%rbx)
movq 0x20(%rsp), %rcx
movq %rax, 0x20(%rsp)
movq %rcx, 0x8(%rbx)
jmp 0x29479
lock
incl 0x8(%rax)
leaq 0xa0(%rsp), %r8
movb $0x1, (%r8)
leaq 0x40(%rsp), %rcx
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x28276
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x2945d
callq 0x1e6ee
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x2946c
callq 0x1e6ee
leaq 0x80(%rsp), %rdi
callq 0x37214
movq 0x118(%rsp), %rdi
cmpq %rbp, %rdi
je 0x29496
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x103d0
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x294bb
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x103d0
leaq 0xc0(%rsp), %rdi
callq 0x1d736
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x294e4
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x103d0
movq %rbx, %rax
addq $0x158, %rsp            # imm = 0x158
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x50(%rsp), %r14
movq %r14, -0x10(%r14)
movabsq $0x6465746365707845, %rax # imm = 0x6465746365707845
movq %rax, (%r14)
movabsq $0x607d307b60206465, %rax # imm = 0x607D307B60206465
movq %rax, 0x6(%r14)
movq $0xe, -0x8(%r14)
movb $0x0, 0xe(%r14)
leaq 0xb0(%rsp), %r13
movq %r13, -0x10(%r13)
movw $0x29, (%r13)
movq $0x1, -0x8(%r13)
leaq 0x140(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
leaq 0x17(%rsp), %rcx
movl $0x1, %edx
callq 0x20c5e
leaq 0x18(%rsp), %rdi
leaq 0x40(%rsp), %rsi
leaq 0x140(%rsp), %rdx
callq 0x48694
leaq 0x18(%rsp), %rdx
movq %r15, %rsi
movq %r12, %rcx
callq 0x29894
movq %rax, %rbx
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x295ae
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x295ae
movq %rax, %rbx
leaq 0x140(%rsp), %rdi
callq 0x1dca2
jmp 0x295c2
jmp 0x29610
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
cmpq %r13, %rdi
je 0x295df
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x103d0
movq 0x40(%rsp), %rdi
cmpq %r14, %rdi
je 0x29629
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x29629
jmp 0x29626
movq %rax, %rbx
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x29613
callq 0x1e6ee
jmp 0x29613
jmp 0x29626
movq %rax, %rbx
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x29629
callq 0x1e6ee
jmp 0x29629
jmp 0x29626
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x37214
jmp 0x2967e
movq %rax, %rbx
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x29665
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x29665
movq %rax, %rbx
leaq 0xc0(%rsp), %rdi
callq 0x1d736
jmp 0x2968b
movq %rax, %rbx
jmp 0x2968b
jmp 0x2967b
movq %rax, %rbx
leaq 0xc0(%rsp), %rdi
callq 0x211f6
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x296a7
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x103d0
movq %rbx, %rdi
callq 0x106f0
nop