// File: /workspace/github_cpp_makefile_star2_O3/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 %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rcx, %r12
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %r13
leaq 0x1(%r13), %rax
movq %rax, (%rsi)
movl $0x1, %esi
cmpq $0xa, %r13
jb 0x324f3
movl $0x4, %esi
movabsq $0x346dc5d63886594b, %rdi # imm = 0x346DC5D63886594B
movq %r13, %rcx
cmpq $0x63, %rcx
jbe 0x324ec
cmpq $0x3e7, %rcx            # imm = 0x3E7
jbe 0x324f1
cmpq $0x2710, %rcx           # imm = 0x2710
jb 0x324f3
movq %rcx, %rax
mulq %rdi
shrq $0xb, %rdx
addl $0x4, %esi
cmpq $0x1869f, %rcx          # imm = 0x1869F
movq %rdx, %rcx
ja 0x324b6
addl $-0x3, %esi
jmp 0x324f3
addl $-0x2, %esi
jmp 0x324f3
decl %esi
movl %esi, %esi
leaq 0x88(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x78(%rsp), %rbp
movq %rbp, %rdi
xorl %edx, %edx
callq 0x104c0
movq (%rbp), %rdi
movl 0x8(%rbp), %esi
movq %r13, %rdx
callq 0x376dd
leaq 0x51510(%rip), %rcx     # 0x83a36
movl $0x5, %r8d
movq %rbp, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x10460
leaq 0x40(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3255f
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x32565
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x30(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x50da0(%rip), %rsi     # 0x83328
callq 0x10770
leaq 0x20(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x325b7
movq %rsi, %rbp
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0x325c0
movups (%rcx), %xmm0
movq %rsi, %rbp
movups %xmm0, (%rsi)
movq 0x8(%rax), %rsi
leaq 0x10(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x83315(%rip), %r13     # 0xb58f8
movq (%r13), %rdi
movq 0x8(%r13), %rsi
callq 0x20d1b
movq 0x8(%r13), %rsi
cmpq %rsi, %rax
je 0x32613
movq (%r13), %r13
leaq 0x10(%rsp), %rdx
movq %r13, %rdi
callq 0x20d1b
subq %r13, %rax
sarq $0x5, %rax
jmp 0x32636
leaq 0x832de(%rip), %r13     # 0xb58f8
leaq 0x10(%rsp), %rsi
movq %r13, %rdi
callq 0x20cde
movq 0x8(%r13), %rax
subq (%r13), %rax
sarq $0x5, %rax
decq %rax
leaq 0x50(%rsp), %rsi
movq %rax, (%rsi)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rsi)
movq $0x0, 0x18(%rsi)
movq %r15, %rdi
callq 0x216b8
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x3266c
movq 0x68(%rsp), %rsi
subq %rdi, %rsi
callq 0x103d0
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
je 0x32683
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x103d0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x3269f
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x103d0
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x326c1
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x103d0
movq %rbx, %rdi
callq 0x2549e
leaq 0xa8(%rsp), %r13
movq %r13, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x2946a
cmpq $0x0, (%r13)
je 0x327c8
leaq 0x58(%rbx), %r13
cmpl $0x3a, 0xd0(%rbx)
jne 0x3283a
movq %rbx, %rdi
callq 0x2549e
leaq 0x98(%rsp), %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x2946a
cmpq $0x0, 0x98(%rsp)
je 0x328c1
leaq 0x58(%rsp), %rdi
movq $0x0, -0x8(%rdi)
movq %r13, (%rsp)
leaq 0x50(%rsp), %rsi
leaq 0x10(%rsp), %rdx
leaq 0xa8(%rsp), %r9
movq %r15, %rcx
movq %r12, %r8
callq 0x3b0dc
movq 0x50(%rsp), %rdi
leaq 0x98(%rsp), %rsi
callq 0x62810
movq 0x8(%r15), %rax
leaq -0x20(%rax), %rcx
movq %rcx, 0x8(%r15)
movq -0x18(%rax), %rdi
testq %rdi, %rdi
je 0x32786
movq -0x8(%rax), %rsi
subq %rdi, %rsi
callq 0x103d0
movaps 0x50(%rsp), %xmm0
movups %xmm0, (%r14)
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x327a1
callq 0x1e5bc
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x327b3
callq 0x1e5bc
movq %r14, %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x10(%rsp), %rdi
movq %rbp, (%rdi)
leaq 0x5123d(%rip), %rsi     # 0x83a14
leaq 0x51255(%rip), %rdx     # 0x83a33
callq 0x1e698
leaq 0x30(%rsp), %rsi
leaq 0x40(%rsp), %rax
movq %rax, (%rsi)
movw $0x3f, 0x10(%rsi)
movq $0x1, 0x8(%rsi)
leaq 0x78(%rsp), %rdi
leaq 0x98(%rsp), %rcx
movl $0x1, %edx
callq 0x20b38
leaq 0x50(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x78(%rsp), %rdx
callq 0x47db4
leaq 0x58(%rbx), %rcx
leaq 0x50(%rsp), %rdx
movq %rbx, %rsi
callq 0x29658
movq %rbp, 0x10(%rsp)
movabsq $0x6465746365707845, %rax # imm = 0x6465746365707845
movq %rax, 0x20(%rsp)
movabsq $0x607d307b60206465, %rax # imm = 0x607D307B60206465
movq %rax, 0x26(%rsp)
movq $0xe, 0x18(%rsp)
movb $0x0, 0x2e(%rsp)
leaq 0x30(%rsp), %rsi
leaq 0x40(%rsp), %rax
movq %rax, (%rsi)
movw $0x3a, 0x10(%rsi)
movq $0x1, 0x8(%rsi)
leaq 0x78(%rsp), %rdi
leaq 0x98(%rsp), %rcx
movl $0x1, %edx
callq 0x20b38
leaq 0x50(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x78(%rsp), %rdx
callq 0x47db4
leaq 0x50(%rsp), %rdx
movq %rbx, %rsi
movq %r13, %rcx
callq 0x29658
movq 0x8(%r15), %rax
leaq -0x20(%rax), %rcx
movq %rcx, 0x8(%r15)
movq -0x18(%rax), %rdi
testq %rdi, %rdi
je 0x328e2
movq -0x8(%rax), %rsi
subq %rdi, %rsi
callq 0x103d0
leaq 0x10(%rsp), %rdi
movq %rbp, (%rdi)
leaq 0x51123(%rip), %rsi     # 0x83a14
leaq 0x5113b(%rip), %rdx     # 0x83a33
callq 0x1e698
leaq 0x30(%rsp), %rsi
leaq 0x40(%rsp), %rax
movq %rax, (%rsi)
movw $0x3a, 0x10(%rsi)
movq $0x1, 0x8(%rsi)
leaq 0x78(%rsp), %rdi
leaq 0xf(%rsp), %rcx
movl $0x1, %edx
callq 0x20b38
leaq 0x50(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x78(%rsp), %rdx
callq 0x47db4
leaq 0x50(%rsp), %rdx
movq %rbx, %rsi
movq %r13, %rcx
callq 0x29658
movq %rax, %rbx
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x32973
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x32973
movq %rax, %rbx
leaq 0x78(%rsp), %rdi
callq 0x1db60
jmp 0x32986
jmp 0x329c2
jmp 0x329e2
movq %rax, %rbx
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x329a2
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x103d0
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
je 0x32a46
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x32a46
movq %rax, %rbx
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x329e5
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x329e5
movq %rax, %rbx
leaq 0x78(%rsp), %rdi
callq 0x1db60
jmp 0x329f8
jmp 0x329f5
jmp 0x32a43
movq %rax, %rbx
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x32a14
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x103d0
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
je 0x32a5f
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x32a5f
jmp 0x32a5c
movq %rax, %rbx
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x32a46
callq 0x1e5bc
jmp 0x32a46
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x32a5f
callq 0x1e5bc
jmp 0x32a5f
jmp 0x32a5c
movq %rax, %rbx
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x32af5
callq 0x1e5bc
jmp 0x32af5
movq %rax, %rbx
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x32aa0
movq 0x68(%rsp), %rsi
subq %rdi, %rsi
callq 0x103d0
jmp 0x32aa0
movq %rax, %rbx
jmp 0x32ab7
movq %rax, %rbx
jmp 0x32ad3
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
je 0x32ab7
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x103d0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x32ad3
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x103d0
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x32af5
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x103d0
movq %rbx, %rdi
callq 0x106f0
nop