// File: /workspace/github_cpp_makefile_star2_O3/rofl0r[P]ascc/cc_symboltable.cpp
// Function: symbolTable::add_ex(char const*, int, char)
int symbolTable::add_ex(const char*nta,int typo,char sizee) {
	if (find(nta) >= 0) {
		return -1;
	}

	int p_value = entries.size();

	SymbolTableEntry entry = {};
	entry.sname = std::string(nta);
    entry.stype = typo;
    entry.flags = 0;
    entry.vartype = 0;
    entry.soffs = 0;
	entry.ssize = sizee;
	entry.sscope = 0;
    entry.arrsize = 0;
    entry.extends = 0;
	entry.funcparamtypes = std::vector<unsigned long>(MAX_FUNCTION_PARAMETERS + 1);
    entry.funcParamDefaultValues = std::vector<int>(MAX_FUNCTION_PARAMETERS + 1);
	entry.funcParamHasDefaultValues = std::vector<bool>(MAX_FUNCTION_PARAMETERS + 1);
	entries.push_back(entry);

    symbolTree.addEntry(nta, p_value);
    return p_value;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movl %ecx, %ebp
movl %edx, %r13d
movq %rsi, %rbx
movq %rdi, %r15
leaq 0x70(%rdi), %r14
movq %r14, %rdi
callq 0x10598
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
testl %eax, %eax
jns 0x11db6
movq %r14, 0x18(%rsp)
movq 0x30(%r15), %rax
subq 0x28(%r15), %rax
movq %rax, 0x10(%rsp)
leaq 0x30(%rsp), %r14
movq %r14, -0x10(%r14)
xorl %eax, %eax
movq %rax, -0x8(%r14)
movb $0x0, (%r14)
movw %ax, 0x10(%r14)
movq %rax, 0x18(%r14)
movw %ax, 0x20(%r14)
movl $0x0, 0x24(%r14)
movq %rax, 0x28(%r14)
movw %ax, 0x30(%r14)
movq %rax, 0x38(%r14)
movw %ax, 0x40(%r14)
xorps %xmm0, %xmm0
movups %xmm0, 0x48(%r14)
movups %xmm0, 0x58(%r14)
movups %xmm0, 0x68(%r14)
movups %xmm0, 0x78(%r14)
movups %xmm0, 0x88(%r14)
movq %rax, 0x98(%r14)
leaq 0xd0(%rsp), %rdi
leaq 0xe(%rsp), %rdx
movq %rbx, %rsi
callq 0xf964
leaq 0x20(%rsp), %rdi
leaq 0xd0(%rsp), %r12
movq %r12, %rsi
callq 0x33f0
movq (%r12), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x11b9e
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x3320
movw %r13w, 0x40(%rsp)
xorl %eax, %eax
movq %rax, 0x48(%rsp)
movw %ax, 0x50(%rsp)
movl $0x0, 0x54(%rsp)
movsbq %bpl, %rcx
movq %rcx, 0x58(%rsp)
movw %ax, 0x60(%rsp)
movq %rax, 0x68(%rsp)
movw %ax, 0x70(%rsp)
movl $0x80, %edi
callq 0x3310
movq %rax, %rcx
subq $-0x80, %rcx
xorps %xmm0, %xmm0
movups %xmm0, 0x70(%rax)
movups %xmm0, 0x60(%rax)
movups %xmm0, 0x50(%rax)
movups %xmm0, 0x40(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, (%rax)
movq 0x78(%rsp), %rdi
movq 0x88(%rsp), %rsi
movq %rax, 0x78(%rsp)
movq %rcx, 0x80(%rsp)
movq %rcx, 0x88(%rsp)
testq %rdi, %rdi
je 0x11c32
subq %rdi, %rsi
callq 0x3320
movl $0x40, %edi
callq 0x3310
movq %rax, %rcx
addq $0x40, %rcx
xorps %xmm0, %xmm0
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, (%rax)
movq 0x90(%rsp), %rdi
movq 0xa0(%rsp), %rsi
movq %rax, 0x90(%rsp)
movq %rcx, 0x98(%rsp)
movq %rcx, 0xa0(%rsp)
testq %rdi, %rdi
je 0x11c8a
subq %rdi, %rsi
callq 0x3320
leaq 0xe(%rsp), %rdx
movb $0x0, (%rdx)
leaq 0xd0(%rsp), %rdi
leaq 0xf(%rsp), %rcx
movl $0x10, %esi
callq 0x12ab6
addq $0x28, %r15
leaq 0xa8(%rsp), %r12
movq (%r12), %rdi
testq %rdi, %rdi
je 0x11cce
movq 0xc8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3320
movq 0xf0(%rsp), %rax
movq %rax, 0x20(%r12)
movups 0xd0(%rsp), %xmm0
movups 0xe0(%rsp), %xmm1
movups %xmm1, 0x10(%r12)
movups %xmm0, (%r12)
leaq 0x20(%rsp), %rsi
movq %r15, %rdi
callq 0x12640
movq 0x10(%rsp), %rax
shrq $0x4, %rax
imull $0xba2e8ba3, %eax, %r12d # imm = 0xBA2E8BA3
movq 0x18(%rsp), %rdi
movq %rbx, %rsi
movl %r12d, %edx
callq 0x1064c
movq 0xa8(%rsp), %rdi
testq %rdi, %rdi
je 0x11d68
movq 0xc8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3320
xorl %eax, %eax
movq %rax, 0xa8(%rsp)
movl %eax, 0xb0(%rsp)
movq %rax, 0xb8(%rsp)
movl %eax, 0xc0(%rsp)
movq %rax, 0xc8(%rsp)
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x11d85
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3320
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x11d9f
movq 0x88(%rsp), %rsi
subq %rdi, %rsi
callq 0x3320
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x11db6
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3320
movl %r12d, %eax
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x11dd3
jmp 0x11dd3
jmp 0x11dd3
jmp 0x11dd3
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x12670
movq %rbx, %rdi
callq 0x3560