// File: /workspace/github_cpp_makefile_star2_O3/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 0x1ded4
leaq 0xc0(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
callq 0x1e566
leaq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x80(%r15), %rsi
movq 0x88(%r15), %rdx
addq %rsi, %rdx
callq 0x1ded4
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 0x1ded4
movl 0xd0(%r15), %eax
movl %eax, 0x138(%rsp)
movq %r15, %rdi
callq 0x2549e
cmpl $0x28, 0xd0(%r15)
jne 0x2914d
movq %r15, %rdi
callq 0x2549e
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movq $0x0, 0x90(%rsp)
leaq 0x10(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x2946a
leaq 0x80(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x37da4
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x2908b
callq 0x1e5bc
movl 0xd0(%r15), %eax
cmpl $0x2c, %eax
jne 0x290d7
movq %r15, %rdi
callq 0x2549e
leaq 0x10(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x2946a
leaq 0x80(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x37da4
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x290d0
callq 0x1e5bc
movl 0xd0(%r15), %eax
cmpl $0x29, %eax
jne 0x292b3
movq %r15, %rdi
callq 0x2549e
leaq 0x18(%rsp), %rdi
movq $0x0, -0x8(%rdi)
movq %r13, (%rsp)
leaq 0x10(%rsp), %rsi
leaq 0x40(%rsp), %rdx
leaq 0x3c(%rsp), %r8
leaq 0x80(%rsp), %r9
movq %r14, %rcx
callq 0x380c0
movq 0x10(%rsp), %rcx
movq 0x18(%rsp), %rax
movq %rcx, 0x40(%rsp)
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0x291e9
movq 0x8be54(%rip), %rcx     # 0xb4f90
cmpb $0x0, (%rcx)
je 0x291e5
incl 0x8(%rax)
jmp 0x291e9
leaq 0x8c7a4(%rip), %r15     # 0xb58f8
movq (%r15), %rdi
movq 0x8(%r15), %rsi
leaq 0x60(%rsp), %rdx
callq 0x20d1b
movq 0x8(%r15), %rsi
cmpq %rsi, %rax
je 0x29187
movq (%r15), %r15
leaq 0x60(%rsp), %rdx
movq %r15, %rdi
callq 0x20d1b
subq %r15, %rax
sarq $0x5, %rax
jmp 0x291a9
leaq 0x8c76a(%rip), %r15     # 0xb58f8
leaq 0x60(%rsp), %rsi
movq %r15, %rdi
callq 0x20cde
movq 0x8(%r15), %rax
subq (%r15), %rax
sarq $0x5, %rax
decq %rax
leaq 0x40(%rsp), %r8
movq %rax, (%r8)
leaq 0x18(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x10(%rsp), %rsi
leaq 0xa0(%rsp), %rdx
leaq 0xc0(%rsp), %r9
movq %r14, %rcx
callq 0x37ae8
movaps 0x10(%rsp), %xmm0
movups %xmm0, (%rbx)
jmp 0x29233
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 0x28002
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x29217
callq 0x1e5bc
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x29226
callq 0x1e5bc
leaq 0x80(%rsp), %rdi
callq 0x36cf0
movq 0x118(%rsp), %rdi
cmpq %rbp, %rdi
je 0x29250
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x103d0
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x29275
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x103d0
leaq 0xc0(%rsp), %rdi
callq 0x1d5ee
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x2929e
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 0xf(%rsp), %rcx
movl $0x1, %edx
callq 0x20b38
leaq 0x10(%rsp), %rdi
leaq 0x40(%rsp), %rsi
leaq 0x140(%rsp), %rdx
callq 0x47db4
leaq 0x10(%rsp), %rdx
movq %r15, %rsi
movq %r12, %rcx
callq 0x29658
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x29368
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x29368
movq %rax, %rbx
leaq 0x140(%rsp), %rdi
callq 0x1db60
jmp 0x2937c
jmp 0x293ca
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
cmpq %r13, %rdi
je 0x29399
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x103d0
movq 0x40(%rsp), %rdi
cmpq %r14, %rdi
je 0x293e3
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x293e3
jmp 0x293e0
movq %rax, %rbx
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x293cd
callq 0x1e5bc
jmp 0x293cd
jmp 0x293e0
movq %rax, %rbx
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x293e3
callq 0x1e5bc
jmp 0x293e3
jmp 0x293e0
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x36cf0
jmp 0x29438
movq %rax, %rbx
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x2941f
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x2941f
movq %rax, %rbx
leaq 0xc0(%rsp), %rdi
callq 0x1d5ee
jmp 0x29445
movq %rax, %rbx
jmp 0x29445
jmp 0x29435
movq %rax, %rbx
leaq 0xc0(%rsp), %rdi
callq 0x2108a
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x29461
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x103d0
movq %rbx, %rdi
callq 0x106f0
nop