// File: /workspace/github_cpp_makefile_star2_O1/Nallantli[P]Rossa/main/rossa/node_parser/node_parser.cpp
// Function: node_parser_t::parseUntilNode(std::vector<node_scope_t, std::allocator<node_scope_t>>*, std::shared_ptr<Node> const&, bool const&)
ptr_node_t node_parser_t::parseUntilNode(std::vector<node_scope_t> *scopes, const ptr_node_t &a, const bool &inclusive)
{
	nextToken();

	auto b = parseEquNode(scopes);
	if (!b)
		return logErrorN(_FAILURE_PARSE_CODE_, currentToken);

	if (currentToken.type == ':')
	{
		nextToken();
		auto step = parseEquNode(scopes);
		if (!step)
			return logErrorN(_FAILURE_PARSE_CODE_, currentToken);

		return std::make_shared<UntilNode>(*scopes, a, b, step, inclusive, currentToken);
	}

	return std::make_shared<UntilNode>(*scopes, a, b, nullptr, inclusive, currentToken);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r8, %r15
movq %rcx, %r13
movq %rdx, %rbp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x2565a
leaq 0x38(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0x296b0
cmpq $0x0, (%r12)
je 0x2e165
leaq 0x58(%r14), %r12
cmpl $0x3a, 0xd0(%r14)
jne 0x2e0ed
movq %r14, %rdi
callq 0x2565a
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0x296b0
cmpq $0x0, 0x28(%rsp)
je 0x2e197
leaq 0x10(%rsp), %rdi
movq $0x0, -0x8(%rdi)
subq $0x8, %rsp
leaq 0x10(%rsp), %rsi
leaq 0xf(%rsp), %rdx
leaq 0x40(%rsp), %r9
movq %rbp, %rcx
movq %r13, %r8
pushq %r12
pushq %r15
leaq 0x40(%rsp), %rax
pushq %rax
callq 0x3a6f8
addq $0x20, %rsp
movq 0x8(%rsp), %rax
movq %rax, (%rbx)
xorl %eax, %eax
movq %rax, 0x8(%rbx)
movq 0x10(%rsp), %rcx
movq %rax, 0x10(%rsp)
movq %rcx, 0x8(%rbx)
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x2e144
callq 0x1e6ee
jmp 0x2e144
xorl %eax, %eax
leaq 0x28(%rsp), %r10
movq %rax, (%r10)
leaq 0x10(%rsp), %rdi
movq %rax, -0x8(%rdi)
subq $0x8, %rsp
leaq 0x10(%rsp), %rsi
leaq 0xf(%rsp), %rdx
leaq 0x40(%rsp), %r9
movq %rbp, %rcx
movq %r13, %r8
pushq %r12
pushq %r15
pushq %r10
callq 0x3a89e
addq $0x20, %rsp
movq 0x8(%rsp), %rax
movq %rax, (%rbx)
xorl %eax, %eax
movq %rax, 0x8(%rbx)
movq 0x10(%rsp), %rcx
movq %rax, 0x10(%rsp)
movq %rcx, 0x8(%rbx)
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x2e153
callq 0x1e6ee
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x56784(%rip), %rsi     # 0x848f9
leaq 0x56792(%rip), %rdx     # 0x8490e
leaq 0x8(%rsp), %rdi
callq 0x1e7ca
leaq 0x58(%r14), %rcx
leaq 0x8(%rsp), %rdx
movq %r14, %rsi
callq 0x29894
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x56752(%rip), %rsi     # 0x848f9
leaq 0x56760(%rip), %rdx     # 0x8490e
leaq 0x8(%rsp), %rdi
callq 0x1e7ca
leaq 0x8(%rsp), %rdx
movq %r14, %rsi
movq %r12, %rcx
callq 0x29894
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x2e1e9
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x2e1e9
jmp 0x2e1e6
movq %rax, %rbx
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x2e21f
callq 0x1e6ee
jmp 0x2e21f
jmp 0x2e21c
jmp 0x2e21c
jmp 0x2e21c
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x2e21f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x2e21f
movq %rax, %rbx
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x2e22e
callq 0x1e6ee
movq %rbx, %rdi
callq 0x106f0