// File: /workspace/github_cpp_makefile_star2_O3/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 0x17975
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 0x4d52
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 0x4d52
leaq -0x160(%rbp), %rdi
leaq -0x40(%rbp), %rdx
movq %rbx, %rsi
callq 0x442e
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x178a3
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x3230
cmpl $0x3, -0x160(%rbp)
jne 0x179e1
cmpb $0x0, -0x110(%rbp)
je 0x17a42
leaq -0x138(%rbp), %rbx
leaq 0x3a03(%rip), %rsi      # 0x1b2ce
movq %rbx, %rdi
callq 0x30a0
testl %eax, %eax
je 0x1794d
leaq 0x3db5(%rip), %rsi      # 0x1b693
movq %rbx, %rdi
callq 0x30a0
testl %eax, %eax
je 0x1794d
leaq 0x3daa(%rip), %rsi      # 0x1b69b
movq %rbx, %rdi
callq 0x30a0
testl %eax, %eax
je 0x1794d
leaq 0x3d9c(%rip), %rsi      # 0x1b6a0
movq %rbx, %rdi
callq 0x30a0
testl %eax, %eax
je 0x1794d
leaq 0x3d8d(%rip), %rsi      # 0x1b6a4
movq %rbx, %rdi
callq 0x30a0
testl %eax, %eax
je 0x1794d
leaq 0x3d6d(%rip), %rsi      # 0x1b697
movq %rbx, %rdi
callq 0x30a0
testl %eax, %eax
je 0x1794d
leaq 0x3d6b(%rip), %rsi      # 0x1b6a8
movq %rbx, %rdi
callq 0x30a0
testl %eax, %eax
jne 0x17aa2
leaq -0x160(%rbp), %rdi
callq 0x4824
leaq -0xf0(%rbp), %rdi
callq 0x191f8
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), %r15
movq %r15, -0x10(%r15)
leaq 0x4394(%rip), %rsi      # 0x1bd28
leaq 0x439e(%rip), %rdx      # 0x1bd39
leaq -0xa0(%rbp), %rdi
callq 0x4336
movb $0x1, %r12b
leaq -0xa0(%rbp), %rcx
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x5470
xorl %r12d, %r12d
leaq 0xb3ab(%rip), %rsi      # 0x22d78
leaq -0x123ee(%rip), %rdx    # 0x55e6
movq %rbx, %rdi
callq 0x33d0
jmp 0x17b00
movl $0x50, %edi
callq 0x3120
movq %rax, %rbx
leaq -0x158(%rbp), %rdx
leaq 0x4276(%rip), %rsi      # 0x1bc72
leaq -0xc0(%rbp), %rdi
callq 0x40f1
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 0xb34a(%rip), %rsi      # 0x22d78
leaq -0x1244f(%rip), %rdx    # 0x55e6
movq %rbx, %rdi
callq 0x33d0
jmp 0x17b00
movl $0x50, %edi
callq 0x3120
movq %rax, %rbx
leaq -0x70(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x4236(%rip), %rsi      # 0x1bc94
leaq 0x4247(%rip), %rdx      # 0x1bcac
leaq -0x80(%rbp), %rdi
callq 0x4336
movb $0x1, %r12b
leaq -0x80(%rbp), %rcx
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x5470
xorl %r12d, %r12d
leaq 0xb2e7(%rip), %rsi      # 0x22d78
leaq -0x124b2(%rip), %rdx    # 0x55e6
movq %rbx, %rdi
callq 0x33d0
jmp 0x17b00
movl $0x50, %edi
callq 0x3120
movq %rax, %rbx
leaq -0x50(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x427c(%rip), %rsi      # 0x1bd3a
leaq 0x428b(%rip), %rdx      # 0x1bd50
leaq -0x60(%rbp), %rdi
callq 0x4336
movb $0x1, %r12b
leaq -0x60(%rbp), %rcx
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x5470
xorl %r12d, %r12d
leaq 0xb287(%rip), %rsi      # 0x22d78
leaq -0x12512(%rip), %rdx    # 0x55e6
movq %rbx, %rdi
callq 0x33d0
movq %rax, %r14
movq -0x60(%rbp), %rdi
cmpq %r15, %rdi
je 0x17b2c
movq -0x50(%rbp), %rsi
jmp 0x17b24
jmp 0x17b5e
movq %rax, %r14
movq -0x80(%rbp), %rdi
cmpq %r15, %rdi
je 0x17b2c
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x3230
testb %r12b, %r12b
jne 0x17b61
jmp 0x17b69
jmp 0x17b5e
movq %rax, %r14
leaq -0xb0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x17b57
movq -0xb0(%rbp), %rsi
incq %rsi
callq 0x3230
testb %r15b, %r15b
jne 0x17b61
jmp 0x17b69
movq %rax, %r14
movq %rbx, %rdi
callq 0x31a0
leaq -0x160(%rbp), %rdi
callq 0x4824
jmp 0x17bc6
movq %rax, %r14
movq -0xa0(%rbp), %rdi
cmpq %r15, %rdi
je 0x17b95
movq -0x90(%rbp), %rsi
incq %rsi
callq 0x3230
testb %r12b, %r12b
jne 0x17b9f
jmp 0x17bd2
movq %rax, %r14
movq %rbx, %rdi
callq 0x31a0
jmp 0x17bd2
movq %rax, %r14
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x17bc6
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x3230
jmp 0x17bc6
movq %rax, %r14
leaq -0xf0(%rbp), %rdi
callq 0x191f8
movq %r14, %rdi
callq 0x33f0