// File: /workspace/github_cpp_makefile_star2_O1/RuiDGPires[P]CrimLang/src/semantic_analiser.cpp
// Function: sc_Tracker::unary(crl::Node*)
void _sc_Tracker::unary(crl::Node *node){
	crl::Node *ident = node->get_child(0);
	ASSERT(ident->type == crl::Node::Type::LEAF, "Node must be leaf");
	
	crl::Token t = get_token(ident);

	Context::Item item = this->context->seek(t.str);
	ASSERT(item.type == Context::Item::Type::VAR, "Identifier has not been defined: " + item.name);
	ASSERT(item._mutable, "Variable must be mutable");
	ASSERT(item.subtype == "i32" || item.subtype == "u32" || item.subtype == "char" || item.subtype == "i64" || item.subtype == "u64" || item.subtype == "f32" || item.subtype == "f64", "Must have numeric type");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x140, %rsp            # imm = 0x140
movq %rdi, %rbx
movq (%rsi), %rax
movq %rsi, %rdi
xorl %esi, %esi
callq *0x18(%rax)
cmpl $0x10, 0x8(%rax)
jne 0x17a9b
movq %rax, %r14
leaq -0xe0(%rbp), %rax
movq %rax, -0x10(%rax)
movq 0x58(%r14), %rsi
movq 0x60(%r14), %rdx
addq %rsi, %rdx
leaq -0xf0(%rbp), %r15
movq %r15, %rdi
callq 0x4d4a
movl 0x80(%r14), %eax
movl %eax, 0x28(%r15)
movq 0x78(%r14), %rax
movq %rax, 0x20(%r15)
movq 0x8(%rbx), %rbx
leaq -0x30(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq -0x40(%rbp), %rdi
callq 0x4d4a
leaq -0x160(%rbp), %rdi
leaq -0x40(%rbp), %rdx
movq %rbx, %rsi
callq 0x442e
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x179c9
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x3230
cmpl $0x3, -0x160(%rbp)
jne 0x17b08
cmpb $0x0, -0x110(%rbp)
je 0x17b69
leaq -0x138(%rbp), %rbx
leaq 0x38dd(%rip), %rsi      # 0x1b2ce
movq %rbx, %rdi
callq 0x30a0
testl %eax, %eax
je 0x17a73
leaq 0x3c8f(%rip), %rsi      # 0x1b693
movq %rbx, %rdi
callq 0x30a0
testl %eax, %eax
je 0x17a73
leaq 0x3c84(%rip), %rsi      # 0x1b69b
movq %rbx, %rdi
callq 0x30a0
testl %eax, %eax
je 0x17a73
leaq 0x3c76(%rip), %rsi      # 0x1b6a0
movq %rbx, %rdi
callq 0x30a0
testl %eax, %eax
je 0x17a73
leaq 0x3c67(%rip), %rsi      # 0x1b6a4
movq %rbx, %rdi
callq 0x30a0
testl %eax, %eax
je 0x17a73
leaq 0x3c47(%rip), %rsi      # 0x1b697
movq %rbx, %rdi
callq 0x30a0
testl %eax, %eax
je 0x17a73
leaq 0x3c45(%rip), %rsi      # 0x1b6a8
movq %rbx, %rdi
callq 0x30a0
testl %eax, %eax
jne 0x17bca
leaq -0x160(%rbp), %rdi
callq 0x4816
leaq -0xf0(%rbp), %rdi
callq 0x192b0
addq $0x140, %rsp            # imm = 0x140
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl $0x50, %edi
callq 0x3120
movq %rax, %rbx
leaq -0x90(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x422d(%rip), %rsi      # 0x1bce8
leaq 0x4237(%rip), %rdx      # 0x1bcf9
leaq -0xa0(%rbp), %rdi
callq 0x433a
movb $0x1, %r15b
leaq -0xa0(%rbp), %rcx
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x5470
xorl %r15d, %r15d
leaq 0xb284(%rip), %rsi      # 0x22d78
leaq -0x12515(%rip), %rdx    # 0x55e6
movq %rbx, %rdi
callq 0x33d0
jmp 0x17c29
movl $0x50, %edi
callq 0x3120
movq %rax, %rbx
leaq -0x158(%rbp), %rdx
leaq 0x410f(%rip), %rsi      # 0x1bc32
leaq -0xc0(%rbp), %rdi
callq 0x40f6
movb $0x1, %r15b
leaq -0xc0(%rbp), %rcx
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x5470
xorl %r15d, %r15d
leaq 0xb223(%rip), %rsi      # 0x22d78
leaq -0x12576(%rip), %rdx    # 0x55e6
movq %rbx, %rdi
callq 0x33d0
jmp 0x17c29
movl $0x50, %edi
callq 0x3120
movq %rax, %rbx
leaq -0x70(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x40ce(%rip), %rsi      # 0x1bc54
leaq 0x40df(%rip), %rdx      # 0x1bc6c
leaq -0x80(%rbp), %rdi
callq 0x433a
movb $0x1, %r15b
leaq -0x80(%rbp), %rcx
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x5470
xorl %r15d, %r15d
leaq 0xb1bf(%rip), %rsi      # 0x22d78
leaq -0x125da(%rip), %rdx    # 0x55e6
movq %rbx, %rdi
callq 0x33d0
jmp 0x17c29
movl $0x50, %edi
callq 0x3120
movq %rax, %rbx
leaq -0x50(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x4113(%rip), %rsi      # 0x1bcfa
leaq 0x4122(%rip), %rdx      # 0x1bd10
leaq -0x60(%rbp), %rdi
callq 0x433a
movb $0x1, %r15b
leaq -0x60(%rbp), %rcx
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x5470
xorl %r15d, %r15d
leaq 0xb15e(%rip), %rsi      # 0x22d78
leaq -0x1263b(%rip), %rdx    # 0x55e6
movq %rbx, %rdi
callq 0x33d0
movq %rax, %r14
movq -0x60(%rbp), %rdi
cmpq %r12, %rdi
je 0x17c7b
movq -0x50(%rbp), %rsi
jmp 0x17c6b
jmp 0x17c75
movq %rax, %r14
movq -0x80(%rbp), %rdi
cmpq %r12, %rdi
je 0x17c7b
movq -0x70(%rbp), %rsi
jmp 0x17c6b
jmp 0x17c75
movq %rax, %r14
leaq -0xb0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x17c7b
movq -0xb0(%rbp), %rsi
incq %rsi
callq 0x3230
jmp 0x17c7b
movq %rax, %r14
movb $0x1, %r15b
testb %r15b, %r15b
je 0x17c88
movq %rbx, %rdi
callq 0x31a0
leaq -0x160(%rbp), %rdi
callq 0x4816
jmp 0x17ce8
movq %rax, %r14
movq -0xa0(%rbp), %rdi
cmpq %r12, %rdi
je 0x17cbc
movq -0x90(%rbp), %rsi
incq %rsi
callq 0x3230
jmp 0x17cbc
movq %rax, %r14
movb $0x1, %r15b
testb %r15b, %r15b
je 0x17cf4
movq %rbx, %rdi
callq 0x31a0
jmp 0x17cf4
movq %rax, %r14
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x17ce8
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x3230
jmp 0x17ce8
movq %rax, %r14
leaq -0xf0(%rbp), %rdi
callq 0x192b0
movq %r14, %rdi
callq 0x33f0