// File: /workspace/github_cpp_makefile_star2_O1/Blaze2305[P]Compiler-Design-2021-Assignment/src/SymTab/SymTab.cpp
// Function: SymbolTable::addSymbolToTable(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void SymbolTable::addSymbolToTable(std::string symbolName,int lineNumber ,std::string type){
	try{
		SymTabRow tableRow = SymbolTableMap.at(symbolName); 
		std::ostringstream out;
		out << "Symbol " << symbolName << " already declared before.\n";
		out << "Previous declaration at " << tableRow.lineNumber + "\n";
		throw std::runtime_error(out.str());
	}catch(std::out_of_range err){
		this->SymbolTableMap[symbolName] = SymTabRow{symbolName,type,"",lineNumber};
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x228, %rsp            # imm = 0x228
movq %rcx, %r12
movl %edx, -0x3c(%rbp)
movq %rsi, %rbx
movq %rdi, -0x48(%rbp)
callq 0xa610
movq %rax, %r15
leaq -0xa0(%rbp), %rax
movq %rax, %r13
movq %rax, -0x10(%rax)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq -0xb0(%rbp), %rdi
callq 0x67ca
leaq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
movq %rax, -0x10(%rax)
movq 0x20(%r15), %rsi
movq 0x28(%r15), %rdx
addq %rsi, %rdx
callq 0x67ca
leaq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
movq %rax, -0x10(%rax)
movq 0x40(%r15), %rsi
movq 0x48(%r15), %rdx
addq %rsi, %rdx
callq 0x67ca
movl 0x60(%r15), %eax
movl %eax, -0x50(%rbp)
leaq -0x248(%rbp), %rdi
callq 0x2290
leaq 0x2719(%rip), %rsi      # 0xc377
leaq -0x248(%rbp), %rdi
movl $0x7, %edx
callq 0x2210
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
leaq -0x248(%rbp), %rdi
callq 0x2210
leaq 0x26f6(%rip), %rsi      # 0xc37f
movl $0x1a, %edx
movq %rax, %rdi
callq 0x2210
leaq 0x26fd(%rip), %rsi      # 0xc39a
leaq -0x248(%rbp), %rdi
movl $0x18, %edx
callq 0x2210
movslq -0x50(%rbp), %rax
leaq 0x2719(%rip), %r15      # 0xc3d2
addq %rax, %r15
movq %r15, %rdi
callq 0x20e0
leaq -0x248(%rbp), %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x2210
movl $0x10, %edi
callq 0x20f0
movq %rax, %r14
leaq -0x240(%rbp), %rsi
leaq -0xd0(%rbp), %rdi
callq 0x2310
movb $0x1, %al
movl %eax, -0x2c(%rbp)
leaq -0xd0(%rbp), %rsi
movq %r14, -0x38(%rbp)
movq %r14, %rdi
callq 0x2320
movl $0x0, -0x2c(%rbp)
movq 0x62d4(%rip), %rsi      # 0xfff0
movq 0x629d(%rip), %rdx      # 0xffc0
movq -0x38(%rbp), %rdi
callq 0x2370
movq %rdx, %r15
movq %rax, %r14
leaq -0xc0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9d51
movq -0xc0(%rbp), %rsi
incq %rsi
callq 0x21e0
movq -0x38(%rbp), %rdi
movl -0x2c(%rbp), %eax
jmp 0x9d65
movq %rdx, %r15
movq %r14, %rdi
movq %rax, %r14
movb $0x1, %al
testb %al, %al
je 0x9d76
callq 0x2160
jmp 0x9d76
movq %rdx, %r15
movq %rax, %r14
movq 0x624b(%rip), %rsi      # 0xffc8
leaq -0x248(%rbp), %rdi
callq 0x2110
leaq -0x1d8(%rbp), %rdi
callq 0x20a0
jmp 0x9d9d
movq %rdx, %r15
movq %rax, %r14
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x9dbe
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x21e0
jmp 0x9dbe
movq %rdx, %r15
movq %rax, %r14
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x9de2
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x21e0
jmp 0x9de2
movq %rdx, %r15
movq %rax, %r14
movq -0xb0(%rbp), %rdi
cmpq %r13, %rdi
je 0x9e05
movq -0xa0(%rbp), %rsi
incq %rsi
callq 0x21e0
jmp 0x9e05
movq %rdx, %r15
movq %rax, %r14
cmpl $0x1, %r15d
jne 0x9ff6
movq %r14, %rdi
callq 0x2270
leaq -0xb0(%rbp), %r15
movq %r15, %rdi
movq %rax, %rsi
callq 0x2350
movq 0x6188(%rip), %rax      # 0xffb8
addq $0x10, %rax
movq %rax, (%r15)
movq %r14, %rdi
callq 0x20c0
leaq -0x238(%rbp), %rax
movq %rax, -0x10(%rax)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq -0x248(%rbp), %rdi
callq 0x67ca
leaq -0x228(%rbp), %r15
leaq -0x218(%rbp), %rax
movq %rax, -0x10(%rax)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x67ca
leaq -0x208(%rbp), %r12
leaq -0x1f8(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x2534(%rip), %rdx      # 0xc3d3
movq %r12, %rdi
movq %rdx, %rsi
callq 0x644a
movl -0x3c(%rbp), %eax
movl %eax, -0x1e8(%rbp)
movq -0x48(%rbp), %rdi
movq %rbx, %rsi
callq 0xa6cc
movq %rax, %rbx
leaq -0x248(%rbp), %r14
movq %rax, %rdi
movq %r14, %rsi
callq 0x2260
leaq 0x20(%rbx), %rdi
movq %r15, %rsi
callq 0x2260
movq %rbx, %rdi
addq $0x40, %rdi
movq %r12, %rsi
callq 0x2260
movl 0x60(%r14), %eax
movl %eax, 0x60(%rbx)
movq 0x40(%r14), %rdi
cmpq %r13, %rdi
je 0x9f0e
movq -0x1f8(%rbp), %rsi
incq %rsi
callq 0x21e0
movq -0x228(%rbp), %rdi
leaq -0x218(%rbp), %rax
cmpq %rax, %rdi
leaq -0x238(%rbp), %rbx
je 0x9f37
movq -0x218(%rbp), %rsi
incq %rsi
callq 0x21e0
movq -0x248(%rbp), %rdi
cmpq %rbx, %rdi
je 0x9f52
movq -0x238(%rbp), %rsi
incq %rsi
callq 0x21e0
leaq -0xb0(%rbp), %rdi
callq 0x22b0
callq 0x2330
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq -0x248(%rbp), %rdi
callq 0xa66e
xorl %ebx, %ebx
jmp 0x9f8d
movq %rax, %r14
movb $0x1, %bl
testb %bl, %bl
je 0x9fba
movq -0x228(%rbp), %rdi
leaq -0x218(%rbp), %rax
cmpq %rax, %rdi
je 0x9fba
movq -0x218(%rbp), %rsi
incq %rsi
callq 0x21e0
jmp 0x9fba
movq %rax, %r14
movb $0x1, %bl
testb %bl, %bl
je 0x9fe5
movq -0x248(%rbp), %rdi
leaq -0x238(%rbp), %rax
cmpq %rax, %rdi
je 0x9fe5
movq -0x238(%rbp), %rsi
incq %rsi
callq 0x21e0
jmp 0x9fe5
movq %rax, %r14
leaq -0xb0(%rbp), %rdi
callq 0x22b0
callq 0x2330
movq %r14, %rdi
callq 0x2390
movq %rax, %rdi
callq 0x63ac