// File: /workspace/github_cpp_makefile_star2_O1/Nallantli[P]Rossa/main/rossa/node_parser/node_parser.cpp
// Function: node_parser_t::parseNPLambdaNode(std::vector<node_scope_t, std::allocator<node_scope_t>>*)
ptr_node_t node_parser_t::parseNPLambdaNode(std::vector<node_scope_t> *scopes)
{
	nextToken();

	signature_t sig;
	std::vector<std::pair<bool, hash_ull>> p;
	std::vector<hash_ull> c;

	scopes->push_back({ROSSA_HASH("<LM2@" + std::to_string(scope_i++) + ">")});
	if (currentToken.type != '{')
	{
		auto body = parseEquNode(scopes);

		if (!body)
			return logErrorN(_FAILURE_PARSE_CODE_, currentToken);

		scopes->pop_back();
		return std::make_shared<DefineNode>(*scopes, 0, sig, p, body, c, currentToken);
	}
	else
	{
		std::vector<ptr_node_t> vbody;

		nextToken();
		while (currentToken.type != NULL_TOK)
		{
			if (currentToken.type == NULL_TOK || currentToken.type == '}')
				break;

			if (auto e = parseExprNode(scopes))
				vbody.push_back(e);
			else
				return logErrorN(_FAILURE_PARSE_CODE_, currentToken);
		}
		if (currentToken.type != '}')
			return logErrorN(util::format(_EXPECTED_ERROR_, {"}"}), currentToken);
		nextToken();

		scopes->pop_back();
		auto body = std::make_shared<VectorNode>(*scopes, vbody, true, currentToken);
		return std::make_shared<DefineNode>(*scopes, 0, sig, p, body, c, currentToken);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x2565a
leaq 0xc8(%rsp), %rdi
callq 0x3f22c
xorl %eax, %eax
movq %rax, 0xc0(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0xb0(%rsp)
movq %rax, 0xa0(%rsp)
movaps %xmm0, 0x90(%rsp)
movq (%r15), %r12
leaq 0x1(%r12), %rax
movq %rax, (%r15)
movl $0x1, %esi
cmpq $0xa, %r12
jb 0x2d6a3
movl $0x4, %esi
movabsq $0x346dc5d63886594b, %rdi # imm = 0x346DC5D63886594B
movq %r12, %rcx
cmpq $0x63, %rcx
jbe 0x2d69c
cmpq $0x3e7, %rcx            # imm = 0x3E7
jbe 0x2d6a1
cmpq $0x2710, %rcx           # imm = 0x2710
jb 0x2d6a3
movq %rcx, %rax
mulq %rdi
shrq $0xb, %rdx
addl $0x4, %esi
cmpq $0x1869f, %rcx          # imm = 0x1869F
movq %rdx, %rcx
ja 0x2d666
addl $-0x3, %esi
jmp 0x2d6a3
addl $-0x2, %esi
jmp 0x2d6a3
decl %esi
movl %esi, %esi
leaq 0x80(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x70(%rsp), %rdi
xorl %edx, %edx
callq 0x104c0
leaq 0x70(%rsp), %r13
movq (%r13), %rdi
movl 0x8(%r13), %esi
movq %r12, %rdx
callq 0x37bed
leaq 0x57258(%rip), %rcx     # 0x84931
movl $0x5, %r8d
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x10460
leaq 0x60(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2d712
movq %rdx, 0x50(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x60(%rsp)
jmp 0x2d71a
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq 0x50(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x56beb(%rip), %rsi     # 0x84328
callq 0x10770
leaq 0x18(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2d769
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x2d76f
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rsi
leaq 0x8(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x8a166(%rip), %r12     # 0xb78f8
movq (%r12), %rdi
movq 0x8(%r12), %rsi
callq 0x20e41
movq 0x8(%r12), %rsi
cmpq %rsi, %rax
je 0x2d7c4
movq (%r12), %r12
leaq 0x8(%rsp), %rdx
movq %r12, %rdi
callq 0x20e41
subq %r12, %rax
sarq $0x5, %rax
jmp 0x2d7e8
leaq 0x8a12d(%rip), %r12     # 0xb78f8
leaq 0x8(%rsp), %rsi
movq %r12, %rdi
callq 0x20e04
movq 0x8(%r12), %rax
subq (%r12), %rax
sarq $0x5, %rax
decq %rax
leaq 0x30(%rsp), %rsi
movq %rax, (%rsi)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rsi)
movq $0x0, 0x18(%rsi)
movq %r14, %rdi
callq 0x21808
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x2d81e
movq 0x48(%rsp), %rsi
subq %rdi, %rsi
callq 0x103d0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x2d83a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x103d0
movq 0x50(%rsp), %rdi
cmpq %r13, %rdi
je 0x2d851
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x103d0
movq 0x70(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2d86b
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x103d0
leaq 0x58(%r15), %r12
cmpl $0x7b, 0xd0(%r15)
jne 0x2d8ed
xorps %xmm0, %xmm0
movaps %xmm0, 0x70(%rsp)
movq $0x0, 0x80(%rsp)
movq %r15, %rdi
callq 0x2565a
leaq 0x8(%rsp), %r13
leaq 0x70(%rsp), %rbp
movl 0xd0(%r15), %eax
cmpl $0x7d, %eax
je 0x2d9af
testl %eax, %eax
je 0x2daf4
movq %r13, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x25fda
cmpq $0x0, 0x8(%rsp)
je 0x2db83
movq %rbp, %rdi
movq %r13, %rsi
callq 0x3725c
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x2d89f
callq 0x1e6ee
jmp 0x2d89f
leaq 0x8(%rsp), %r13
movq %r13, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x296b0
cmpq $0x0, 0x8(%rsp)
je 0x2dbb4
movq 0x8(%r14), %rax
leaq -0x20(%rax), %rcx
movq %rcx, 0x8(%r14)
movq -0x18(%rax), %rdi
testq %rdi, %rdi
je 0x2d92d
movq -0x8(%rax), %rsi
subq %rdi, %rsi
callq 0x103d0
leaq 0x50(%rsp), %r8
movl $0x0, (%r8)
leaq 0x38(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x90(%rsp), %rax
leaq 0xb0(%rsp), %r10
leaq 0x30(%rsp), %rsi
leaq 0x70(%rsp), %rdx
leaq 0xc8(%rsp), %r9
movq %r14, %rcx
pushq %r12
pushq %rax
pushq %r13
pushq %r10
callq 0x3a16c
addq $0x20, %rsp
movq 0x30(%rsp), %rax
movq %rax, (%rbx)
xorl %eax, %eax
movq %rax, 0x8(%rbx)
movq 0x38(%rsp), %rcx
movq %rax, 0x38(%rsp)
movq %rcx, 0x8(%rbx)
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x2da98
callq 0x1e6ee
jmp 0x2da98
movq %r15, %rdi
callq 0x2565a
movq 0x8(%r14), %rax
leaq -0x20(%rax), %rcx
movq %rcx, 0x8(%r14)
movq -0x18(%rax), %rdi
testq %rdi, %rdi
je 0x2d9d8
movq -0x8(%rax), %rsi
subq %rdi, %rsi
callq 0x103d0
leaq 0x50(%rsp), %r9
movb $0x1, (%r9)
leaq 0x38(%rsp), %rdi
movq $0x0, -0x8(%rdi)
subq $0x8, %rsp
leaq 0x38(%rsp), %r15
leaq 0x10(%rsp), %rdx
leaq 0x78(%rsp), %r8
movq %r15, %rsi
movq %r14, %rcx
pushq %r12
callq 0x38494
addq $0x10, %rsp
leaq 0x50(%rsp), %r8
movl $0x0, (%r8)
leaq 0x10(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x90(%rsp), %rax
leaq 0xb0(%rsp), %r10
leaq 0x8(%rsp), %rsi
leaq 0xe0(%rsp), %rdx
leaq 0xc8(%rsp), %r9
movq %r14, %rcx
pushq %r12
pushq %rax
pushq %r15
pushq %r10
callq 0x3a34a
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 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x2da8e
callq 0x1e6ee
leaq 0x70(%rsp), %rdi
callq 0x37214
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x2dab5
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x103d0
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x2dad2
movq 0xc0(%rsp), %rsi
subq %rdi, %rsi
callq 0x103d0
leaq 0xc8(%rsp), %rdi
callq 0x3743a
movq %rbx, %rax
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movabsq $0x6465746365707845, %rax # imm = 0x6465746365707845
movq %rax, 0x18(%rsp)
movabsq $0x607d307b60206465, %rax # imm = 0x607D307B60206465
movq %rax, 0x1e(%rsp)
movq $0xe, 0x10(%rsp)
movb $0x0, 0x26(%rsp)
leaq 0x50(%rsp), %rsi
leaq 0x60(%rsp), %rax
movq %rax, (%rsi)
movw $0x7d, 0x10(%rsi)
movq $0x1, 0x8(%rsi)
leaq 0xe0(%rsp), %rdi
leaq 0x2f(%rsp), %rcx
movl $0x1, %edx
callq 0x20c5e
leaq 0x30(%rsp), %rdi
leaq 0x8(%rsp), %rsi
leaq 0xe0(%rsp), %rdx
callq 0x48694
leaq 0x30(%rsp), %rdx
movq %r15, %rsi
movq %r12, %rcx
callq 0x29894
leaq 0x40(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x56d66(%rip), %rsi     # 0x848f9
leaq 0x56d74(%rip), %rdx     # 0x8490e
leaq 0x30(%rsp), %rdi
callq 0x1e7ca
leaq 0x30(%rsp), %rdx
movq %r15, %rsi
movq %r12, %rcx
callq 0x29894
leaq 0x40(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x56d35(%rip), %rsi     # 0x848f9
leaq 0x56d43(%rip), %rdx     # 0x8490e
leaq 0x30(%rsp), %rdi
callq 0x1e7ca
leaq 0x30(%rsp), %rdx
movq %r15, %rsi
movq %r12, %rcx
callq 0x29894
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x2dc21
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x2dc21
jmp 0x2dc1e
movq %rax, %rbx
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x2dd6b
jmp 0x2dd61
jmp 0x2dd68
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x2dd75
callq 0x1e6ee
jmp 0x2dd75
jmp 0x2dc66
jmp 0x2dd68
movq %rax, %rbx
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x2dc71
movq 0x48(%rsp), %rsi
subq %rdi, %rsi
callq 0x103d0
jmp 0x2dc71
movq %rax, %rbx
jmp 0x2dc8d
movq %rax, %rbx
jmp 0x2dca4
movq %rax, %rbx
jmp 0x2dd75
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x2dc8d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x103d0
movq 0x50(%rsp), %rdi
cmpq %r13, %rdi
je 0x2dca4
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x103d0
movq 0x70(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2dd75
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x2dd75
movq %rax, %rbx
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2dcea
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x2dcea
movq %rax, %rbx
leaq 0xe0(%rsp), %rdi
callq 0x1dca2
jmp 0x2dd1a
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x2dd57
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x2dd57
jmp 0x2dd54
movq %rax, %rbx
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x2dd36
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x103d0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x2dd6b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x2dd6b
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x2dd6b
callq 0x1e6ee
jmp 0x2dd6b
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x37214
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x2dd92
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x103d0
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x2ddaf
movq 0xc0(%rsp), %rsi
subq %rdi, %rsi
callq 0x103d0
leaq 0xc8(%rsp), %rdi
callq 0x3743a
movq %rbx, %rdi
callq 0x106f0