// File: /workspace/github_cpp_makefile_star2_O3/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 0x2549e
leaq 0xc8(%rsp), %rdi
callq 0x3eb74
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 0x2d369
movl $0x4, %esi
movabsq $0x346dc5d63886594b, %rdi # imm = 0x346DC5D63886594B
movq %r12, %rcx
cmpq $0x63, %rcx
jbe 0x2d362
cmpq $0x3e7, %rcx            # imm = 0x3E7
jbe 0x2d367
cmpq $0x2710, %rcx           # imm = 0x2710
jb 0x2d369
movq %rcx, %rax
mulq %rdi
shrq $0xb, %rdx
addl $0x4, %esi
cmpq $0x1869f, %rcx          # imm = 0x1869F
movq %rdx, %rcx
ja 0x2d32c
addl $-0x3, %esi
jmp 0x2d369
addl $-0x2, %esi
jmp 0x2d369
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 0x376dd
leaq 0x565b2(%rip), %rcx     # 0x83951
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 0x2d3d8
movq %rdx, 0x50(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x60(%rsp)
jmp 0x2d3e0
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 0x55f25(%rip), %rsi     # 0x83328
callq 0x10770
leaq 0x10(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2d42e
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x2d434
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rsi
movq %rsp, %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x884a3(%rip), %r12     # 0xb58f8
movq (%r12), %rdi
movq 0x8(%r12), %rsi
callq 0x20d1b
movq 0x8(%r12), %rsi
cmpq %rsi, %rax
je 0x2d485
movq (%r12), %r12
movq %rsp, %rdx
movq %r12, %rdi
callq 0x20d1b
subq %r12, %rax
sarq $0x5, %rax
jmp 0x2d4a7
leaq 0x8846c(%rip), %r12     # 0xb58f8
movq %rsp, %rsi
movq %r12, %rdi
callq 0x20cde
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 0x216b8
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x2d4dd
movq 0x48(%rsp), %rsi
subq %rdi, %rsi
callq 0x103d0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x2d4f8
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x103d0
movq 0x50(%rsp), %rdi
cmpq %r13, %rdi
je 0x2d50f
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x103d0
movq 0x70(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2d529
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x103d0
leaq 0x58(%r15), %r12
cmpl $0x7b, 0xd0(%r15)
jne 0x2d5a8
xorps %xmm0, %xmm0
movaps %xmm0, 0x70(%rsp)
movq $0x0, 0x80(%rsp)
movq %r15, %rdi
callq 0x2549e
movq %rsp, %r13
leaq 0x70(%rsp), %rbp
movl 0xd0(%r15), %eax
cmpl $0x7d, %eax
je 0x2d653
testl %eax, %eax
je 0x2d781
movq %r13, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x25dc8
cmpq $0x0, (%rsp)
je 0x2d80d
movq %rbp, %rdi
movq %r13, %rsi
callq 0x36d3e
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x2d55b
callq 0x1e5bc
jmp 0x2d55b
movq %rsp, %r13
movq %r13, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x2946a
cmpq $0x0, (%rsp)
je 0x2d83e
movq 0x8(%r14), %rax
leaq -0x20(%rax), %rcx
movq %rcx, 0x8(%r14)
movq -0x18(%rax), %rdi
testq %rdi, %rdi
je 0x2d5e5
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 0x39bcc
addq $0x20, %rsp
movaps 0x30(%rsp), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x2d725
callq 0x1e5bc
jmp 0x2d725
movq %r15, %rdi
callq 0x2549e
movq 0x8(%r14), %rax
leaq -0x20(%rax), %rcx
movq %rcx, 0x8(%r14)
movq -0x18(%rax), %rdi
testq %rdi, %rdi
je 0x2d67c
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 0x8(%rsp), %rdx
leaq 0x78(%rsp), %r8
movq %r15, %rsi
movq %r14, %rcx
pushq %r12
callq 0x37f5a
addq $0x10, %rsp
leaq 0x50(%rsp), %r8
movl $0x0, (%r8)
leaq 0x8(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x90(%rsp), %rax
leaq 0xb0(%rsp), %r10
movq %rsp, %rsi
leaq 0xe0(%rsp), %rdx
leaq 0xc8(%rsp), %r9
movq %r14, %rcx
pushq %r12
pushq %rax
pushq %r15
pushq %r10
callq 0x39daa
addq $0x20, %rsp
movaps (%rsp), %xmm0
movups %xmm0, (%rbx)
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x2d71b
callq 0x1e5bc
leaq 0x70(%rsp), %rdi
callq 0x36cf0
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x2d742
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x103d0
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x2d75f
movq 0xc0(%rsp), %rsi
subq %rdi, %rsi
callq 0x103d0
leaq 0xc8(%rsp), %rdi
callq 0x36f28
movq %rbx, %rax
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movabsq $0x6465746365707845, %rax # imm = 0x6465746365707845
movq %rax, 0x10(%rsp)
movabsq $0x607d307b60206465, %rax # imm = 0x607D307B60206465
movq %rax, 0x16(%rsp)
movq $0xe, 0x8(%rsp)
movb $0x0, 0x1e(%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 0x20b38
leaq 0x30(%rsp), %rdi
movq %rsp, %rsi
leaq 0xe0(%rsp), %rdx
callq 0x47db4
leaq 0x30(%rsp), %rdx
movq %r15, %rsi
movq %r12, %rcx
callq 0x29658
leaq 0x40(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x560fc(%rip), %rsi     # 0x83919
leaq 0x5610a(%rip), %rdx     # 0x8392e
leaq 0x30(%rsp), %rdi
callq 0x1e698
leaq 0x30(%rsp), %rdx
movq %r15, %rsi
movq %r12, %rcx
callq 0x29658
leaq 0x40(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x560cb(%rip), %rsi     # 0x83919
leaq 0x560d9(%rip), %rdx     # 0x8392e
leaq 0x30(%rsp), %rdi
callq 0x1e698
leaq 0x30(%rsp), %rdx
movq %r15, %rsi
movq %r12, %rcx
callq 0x29658
movq %rax, %r15
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x2d8ab
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x2d8ab
jmp 0x2d8a8
movq %rax, %r15
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x2d9f3
jmp 0x2d9e9
jmp 0x2d9f0
movq %rax, %r15
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x2d9fd
callq 0x1e5bc
jmp 0x2d9fd
jmp 0x2d8f0
jmp 0x2d9f0
movq %rax, %r15
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x2d8fb
movq 0x48(%rsp), %rsi
subq %rdi, %rsi
callq 0x103d0
jmp 0x2d8fb
movq %rax, %r15
jmp 0x2d916
movq %rax, %r15
jmp 0x2d92d
movq %rax, %r15
jmp 0x2d9fd
movq %rax, %r15
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x2d916
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x103d0
movq 0x50(%rsp), %rdi
cmpq %r13, %rdi
je 0x2d92d
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x103d0
movq 0x70(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2d9fd
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x2d9fd
movq %rax, %r15
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2d973
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x2d973
movq %rax, %r15
leaq 0xe0(%rsp), %rdi
callq 0x1db60
jmp 0x2d9a3
movq %rax, %r15
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x2d9df
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x2d9df
jmp 0x2d9dc
movq %rax, %r15
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x2d9bf
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x103d0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x2d9f3
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x2d9f3
movq %rax, %r15
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x2d9f3
callq 0x1e5bc
jmp 0x2d9f3
movq %rax, %r15
leaq 0x70(%rsp), %rdi
callq 0x36cf0
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x2da1a
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x103d0
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x2da37
movq 0xc0(%rsp), %rsi
subq %rdi, %rsi
callq 0x103d0
leaq 0xc8(%rsp), %rdi
callq 0x36f28
movq %r15, %rdi
callq 0x106f0