// File: Nallantli[P]Rossa/main/rossa/node/node.cpp
// Function: UnOpNode::genParser() const
ptr_instruction_t UnOpNode::genParser() const
{
	if (op == "+")
		return std::make_shared<UnAddI>(a->genParser(), token);
	if (op == "-")
		return std::make_shared<NegI>(a->genParser(), token);
	if (op == "!")
		return std::make_shared<NotI>(a->genParser(), token);
	if (op == "$")
		return std::make_shared<TypeI>(a->genParser(), token);
	if (op == "~")
		return std::make_shared<BNotI>(a->genParser(), token);
	if (op == "@")
		return std::make_shared<HashI>(a->genParser(), token);

	trace_t stack_trace;
	throw rossa_error_t(util::format(_UNKNOWN_UNARY_OP_, {op}), token, stack_trace);
	return nullptr;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x220, %rsp            # imm = 0x220
movq %rdi, -0x1b0(%rbp)
movq %rdi, %rax
movq %rax, -0x1a8(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x1a0(%rbp)
addq $0xa8, %rdi
leaq 0x72156(%rip), %rsi     # 0x150013
callq 0x24630
testb $0x1, %al
jne 0xddecb
jmp 0xddf52
movq -0x1a0(%rbp), %rdi
addq $0xc8, %rdi
callq 0x2d030
movq %rax, %rsi
movq (%rsi), %rax
movq (%rax), %rax
leaq -0x30(%rbp), %rdi
movq %rdi, -0x1b8(%rbp)
callq *%rax
movq -0x1a0(%rbp), %rdx
movq -0x1b8(%rbp), %rsi
addq $0x28, %rdx
leaq -0x20(%rbp), %rdi
callq 0xe8cd0
jmp 0xddf11
movq -0x1b0(%rbp), %rdi
leaq -0x20(%rbp), %rsi
callq 0xe8d50
leaq -0x20(%rbp), %rdi
callq 0xe8d80
leaq -0x30(%rbp), %rdi
callq 0x2a4e0
jmp 0xde54a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x2a4e0
jmp 0xde55a
movq -0x1a0(%rbp), %rdi
addq $0xa8, %rdi
leaq 0x720ae(%rip), %rsi     # 0x150015
callq 0x24630
testb $0x1, %al
jne 0xddf75
jmp 0xddffc
movq -0x1a0(%rbp), %rdi
addq $0xc8, %rdi
callq 0x2d030
movq %rax, %rsi
movq (%rsi), %rax
movq (%rax), %rax
leaq -0x60(%rbp), %rdi
movq %rdi, -0x1c0(%rbp)
callq *%rax
movq -0x1a0(%rbp), %rdx
movq -0x1c0(%rbp), %rsi
addq $0x28, %rdx
leaq -0x50(%rbp), %rdi
callq 0xe8da0
jmp 0xddfbb
movq -0x1b0(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0xe8e20
leaq -0x50(%rbp), %rdi
callq 0xe8e50
leaq -0x60(%rbp), %rdi
callq 0x2a4e0
jmp 0xde54a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x2a4e0
jmp 0xde55a
movq -0x1a0(%rbp), %rdi
addq $0xa8, %rdi
leaq 0x7201a(%rip), %rsi     # 0x15002b
callq 0x24630
testb $0x1, %al
jne 0xde01f
jmp 0xde0a6
movq -0x1a0(%rbp), %rdi
addq $0xc8, %rdi
callq 0x2d030
movq %rax, %rsi
movq (%rsi), %rax
movq (%rax), %rax
leaq -0x80(%rbp), %rdi
movq %rdi, -0x1c8(%rbp)
callq *%rax
movq -0x1a0(%rbp), %rdx
movq -0x1c8(%rbp), %rsi
addq $0x28, %rdx
leaq -0x70(%rbp), %rdi
callq 0xe8e70
jmp 0xde065
movq -0x1b0(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0xe8ef0
leaq -0x70(%rbp), %rdi
callq 0xe8f20
leaq -0x80(%rbp), %rdi
callq 0x2a4e0
jmp 0xde54a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x80(%rbp), %rdi
callq 0x2a4e0
jmp 0xde55a
movq -0x1a0(%rbp), %rdi
addq $0xa8, %rdi
leaq 0x74405(%rip), %rsi     # 0x1524c0
callq 0x24630
testb $0x1, %al
jne 0xde0c9
jmp 0xde162
movq -0x1a0(%rbp), %rdi
addq $0xc8, %rdi
callq 0x2d030
movq %rax, %rsi
movq (%rsi), %rax
movq (%rax), %rax
leaq -0xa0(%rbp), %rdi
movq %rdi, -0x1d0(%rbp)
callq *%rax
movq -0x1a0(%rbp), %rdx
movq -0x1d0(%rbp), %rsi
addq $0x28, %rdx
leaq -0x90(%rbp), %rdi
callq 0xe8f40
jmp 0xde115
movq -0x1b0(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0xe8fc0
leaq -0x90(%rbp), %rdi
callq 0xe8ff0
leaq -0xa0(%rbp), %rdi
callq 0x2a4e0
jmp 0xde54a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0xa0(%rbp), %rdi
callq 0x2a4e0
jmp 0xde55a
movq -0x1a0(%rbp), %rdi
addq $0xa8, %rdi
leaq 0x71ef6(%rip), %rsi     # 0x15006d
callq 0x24630
testb $0x1, %al
jne 0xde185
jmp 0xde21e
movq -0x1a0(%rbp), %rdi
addq $0xc8, %rdi
callq 0x2d030
movq %rax, %rsi
movq (%rsi), %rax
movq (%rax), %rax
leaq -0xc0(%rbp), %rdi
movq %rdi, -0x1d8(%rbp)
callq *%rax
movq -0x1a0(%rbp), %rdx
movq -0x1d8(%rbp), %rsi
addq $0x28, %rdx
leaq -0xb0(%rbp), %rdi
callq 0xe9010
jmp 0xde1d1
movq -0x1b0(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
callq 0xe9090
leaq -0xb0(%rbp), %rdi
callq 0xe90c0
leaq -0xc0(%rbp), %rdi
callq 0x2a4e0
jmp 0xde54a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0xc0(%rbp), %rdi
callq 0x2a4e0
jmp 0xde55a
movq -0x1a0(%rbp), %rdi
addq $0xa8, %rdi
leaq 0x7302f(%rip), %rsi     # 0x151262
callq 0x24630
testb $0x1, %al
jne 0xde241
jmp 0xde2da
movq -0x1a0(%rbp), %rdi
addq $0xc8, %rdi
callq 0x2d030
movq %rax, %rsi
movq (%rsi), %rax
movq (%rax), %rax
leaq -0xe0(%rbp), %rdi
movq %rdi, -0x1e0(%rbp)
callq *%rax
movq -0x1a0(%rbp), %rdx
movq -0x1e0(%rbp), %rsi
addq $0x28, %rdx
leaq -0xd0(%rbp), %rdi
callq 0xe90e0
jmp 0xde28d
movq -0x1b0(%rbp), %rdi
leaq -0xd0(%rbp), %rsi
callq 0xe9160
leaq -0xd0(%rbp), %rdi
callq 0xe9190
leaq -0xe0(%rbp), %rdi
callq 0x2a4e0
jmp 0xde54a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0xe0(%rbp), %rdi
callq 0x2a4e0
jmp 0xde55a
leaq -0xf8(%rbp), %rdi
callq 0x24b80
movb $0x1, -0x192(%rbp)
movl $0xa8, %edi
callq 0x112b0
movq %rax, -0x1f0(%rbp)
leaq -0x139(%rbp), %rdi
movq %rdi, -0x1e8(%rbp)
callq 0x119d0
movq -0x1e8(%rbp), %rdx
leaq 0x755bc(%rip), %rsi     # 0x1538db
leaq -0x138(%rbp), %rdi
callq 0x24740
jmp 0xde32d
movq -0x1a0(%rbp), %rsi
leaq -0x188(%rbp), %rdi
movq %rdi, -0x190(%rbp)
addq $0xa8, %rsi
callq 0x11250
jmp 0xde350
leaq -0x188(%rbp), %rax
movq %rax, -0x168(%rbp)
movq $0x1, -0x160(%rbp)
leaq -0x191(%rbp), %rdi
movq %rdi, -0x1f8(%rbp)
callq 0x26e30
movq -0x1f8(%rbp), %rcx
movq -0x168(%rbp), %rsi
movq -0x160(%rbp), %rdx
leaq -0x158(%rbp), %rdi
callq 0x2d6a0
jmp 0xde39f
leaq -0x118(%rbp), %rdi
leaq -0x138(%rbp), %rsi
leaq -0x158(%rbp), %rdx
callq 0x9e250
jmp 0xde3bb
movq -0x1f0(%rbp), %rdi
movq -0x1a0(%rbp), %rdx
addq $0x28, %rdx
leaq -0x118(%rbp), %rsi
leaq -0xf8(%rbp), %rcx
callq 0x9c360
jmp 0xde3e2
movq -0x1f0(%rbp), %rdi
movb $0x0, -0x192(%rbp)
leaq 0x102889(%rip), %rsi    # 0x1e0c80
leaq -0x83a5e(%rip), %rdx    # 0x5a9a0
callq 0x11970
jmp 0xde563
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0xde519
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
movq -0x190(%rbp), %rax
leaq -0x188(%rbp), %rcx
cmpq %rax, %rcx
movq %rax, -0x200(%rbp)
je 0xde470
movq -0x200(%rbp), %rdi
addq $-0x20, %rdi
movq %rdi, -0x208(%rbp)
callq 0x11360
movq -0x208(%rbp), %rax
leaq -0x188(%rbp), %rcx
cmpq %rcx, %rax
movq %rax, -0x200(%rbp)
jne 0xde43f
jmp 0xde50d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0xde4b5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0xde4a9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x118(%rbp), %rdi
callq 0x11360
leaq -0x158(%rbp), %rdi
callq 0x25b00
leaq -0x191(%rbp), %rdi
callq 0x279c0
leaq -0x188(%rbp), %rax
movq %rax, -0x218(%rbp)
addq $0x20, %rax
movq %rax, -0x210(%rbp)
movq -0x210(%rbp), %rdi
addq $-0x20, %rdi
movq %rdi, -0x220(%rbp)
callq 0x11360
movq -0x218(%rbp), %rcx
movq -0x220(%rbp), %rax
cmpq %rcx, %rax
movq %rax, -0x210(%rbp)
jne 0xde4da
jmp 0xde50d
leaq -0x138(%rbp), %rdi
callq 0x11360
leaq -0x139(%rbp), %rdi
callq 0x11600
testb $0x1, -0x192(%rbp)
jne 0xde530
jmp 0xde53c
movq -0x1f0(%rbp), %rdi
callq 0x11420
leaq -0xf8(%rbp), %rdi
callq 0x24e60
jmp 0xde55a
movq -0x1a8(%rbp), %rax
addq $0x220, %rsp            # imm = 0x220
popq %rbp
retq
movq -0x38(%rbp), %rdi
callq 0x119c0
nopw %cs:(%rax,%rax)