// File: /workspace/github_cpp_makefile_star2_O2/Nallantli[P]Rossa/main/rossa/node_parser/node_parser.cpp
// Function: node_parser_t::parseThenNode(std::vector<node_scope_t, std::allocator<node_scope_t>>*, std::shared_ptr<Node> const&)
ptr_node_t node_parser_t::parseThenNode(std::vector<node_scope_t> *scopes, const ptr_node_t &a)
{
	scopes->push_back({ROSSA_HASH("<IFI@" + std::to_string(scope_i++) + ">")});
	nextToken();
	auto b = parseEquNode(scopes);
	if (!b)
		return logErrorN(util::format(_EXPECTED_AFTER_, {"?"}), currentToken);
	if (currentToken.type != ':')
		return logErrorN(util::format(_EXPECTED_ERROR_, {":"}), currentToken);
	nextToken();
	auto c = parseEquNode(scopes);
	if (!c)
	{
		scopes->pop_back();
		return logErrorN(util::format(_EXPECTED_AFTER_, {":"}), currentToken);
	}
	auto ret = std::make_shared<IfElseNode>(*scopes, a, b, currentToken);
	ret->setElse(c);
	scopes->pop_back();
	return ret;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb0, %rsp
movq %rcx, %r13
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
leaq 0x1(%rsi), %rax
movq %rax, (%rbx)
leaq 0x80(%rsp), %r15
movq %r15, %rdi
callq 0x2ecd6
leaq 0x4afda(%rip), %rsi     # 0x76a57
leaq 0x40(%rsp), %rdi
movq %r15, %rdx
callq 0x1ca9c
leaq 0x4a8dd(%rip), %rdx     # 0x7636e
leaq 0x60(%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0x1ca7d
leaq 0x8ae61(%rip), %rdi     # 0xb6908
leaq 0x60(%rsp), %rsi
callq 0x1efb0
leaq 0x18(%rsp), %r15
movq %rax, -0x8(%r15)
xorps %xmm0, %xmm0
movups %xmm0, (%r15)
andq $0x0, 0x10(%r15)
leaq 0x10(%rsp), %rsi
movq %r12, %rdi
callq 0x1fe52
movq %r15, %rdi
callq 0x1f5c4
leaq 0x60(%rsp), %rdi
callq 0x101d0
leaq 0x40(%rsp), %rdi
callq 0x101d0
leaq 0x80(%rsp), %rdi
callq 0x101d0
movq %rbx, %rdi
callq 0x22e24
leaq 0xa0(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x25798
cmpq $0x0, (%r15)
je 0x2bbd1
leaq 0x58(%rbx), %r15
cmpl $0x3a, 0xd0(%rbx)
jne 0x2bc3f
movq %rbx, %rdi
callq 0x22e24
leaq 0x30(%rsp), %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x25798
cmpq $0x0, 0x30(%rsp)
je 0x2bcac
leaq 0x10(%rsp), %rdi
leaq 0xa0(%rsp), %rcx
movq %r12, %rsi
movq %r13, %rdx
movq %r15, %r8
callq 0x2f0b0
movq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x557b4
movq %r12, %rdi
callq 0x2eb8e
leaq 0x18(%rsp), %rdi
movaps -0x8(%rdi), %xmm0
andq $0x0, (%rdi)
movups %xmm0, (%r14)
andq $0x0, -0x8(%rdi)
callq 0x1d786
leaq 0x38(%rsp), %rdi
callq 0x1d786
leaq 0xa8(%rsp), %rdi
callq 0x1d786
movq %r14, %rax
addq $0xb0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x4ae5d(%rip), %rsi     # 0x76a35
leaq 0x60(%rsp), %rdi
leaq 0x30(%rsp), %rdx
callq 0x1c814
leaq 0x4ae6f(%rip), %rsi     # 0x76a5d
leaq 0x40(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0x1c814
leaq 0x80(%rsp), %rdi
leaq 0x40(%rsp), %rsi
pushq $0x1
popq %rdx
leaq 0xd(%rsp), %rcx
callq 0x1f298
leaq 0x10(%rsp), %rdi
leaq 0x60(%rsp), %rsi
leaq 0x80(%rsp), %rdx
callq 0x3f724
leaq 0x58(%rbx), %rcx
leaq 0x10(%rsp), %rdx
movq %rbx, %rsi
callq 0x25932
leaq 0x4ac5e(%rip), %rsi     # 0x768a4
leaq 0x60(%rsp), %rdi
leaq 0x30(%rsp), %rdx
callq 0x1c814
leaq 0x4eb5a(%rip), %rsi     # 0x7a7b6
leaq 0x40(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0x1c814
leaq 0x80(%rsp), %rdi
leaq 0x40(%rsp), %rsi
pushq $0x1
popq %rdx
leaq 0xd(%rsp), %rcx
callq 0x1f298
leaq 0x10(%rsp), %rdi
leaq 0x60(%rsp), %rsi
leaq 0x80(%rsp), %rdx
callq 0x3f724
leaq 0x10(%rsp), %rdx
movq %rbx, %rsi
movq %r15, %rcx
callq 0x25932
movq %r12, %rdi
callq 0x2eb8e
leaq 0x4ad7a(%rip), %rsi     # 0x76a35
leaq 0x60(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0x1c814
leaq 0x4eae5(%rip), %rsi     # 0x7a7b6
leaq 0x40(%rsp), %rdi
leaq 0xd(%rsp), %rdx
callq 0x1c814
leaq 0x80(%rsp), %rdi
leaq 0x40(%rsp), %rsi
pushq $0x1
popq %rdx
leaq 0xf(%rsp), %rcx
callq 0x1f298
leaq 0x10(%rsp), %rdi
leaq 0x60(%rsp), %rsi
leaq 0x80(%rsp), %rdx
callq 0x3f724
leaq 0x10(%rsp), %rdx
movq %rbx, %rsi
movq %r15, %rcx
callq 0x25932
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x101d0
jmp 0x2bd33
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x1cea0
jmp 0x2bd6a
jmp 0x2bd46
jmp 0x2bd55
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x101d0
jmp 0x2bd58
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x1cea0
jmp 0x2bd7b
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x101d0
jmp 0x2bd8a
jmp 0x2bd78
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x101d0
jmp 0x2bd9b
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0x101d0
jmp 0x2bdbf
jmp 0x2bd98
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0x101d0
jmp 0x2bdd0
jmp 0x2bdbc
jmp 0x2bdcd
jmp 0x2bdcd
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x1d786
jmp 0x2bdbf
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x1d786
jmp 0x2bdd0
jmp 0x2bdcd
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
callq 0x1d786
jmp 0x2be1a
movq %rax, %rbx
movq %r15, %rdi
callq 0x1f5c4
jmp 0x2bdef
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0x101d0
jmp 0x2bdfe
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x101d0
jmp 0x2be0d
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x101d0
movq %rbx, %rdi
callq 0x106f0