// File: /workspace/github_cpp_makefile_star2_O1/Blaze2305[P]Compiler-Design-2021-Assignment/src/SymTab/SymTab.cpp
// Function: SymbolTable::setSymbolValue(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void SymbolTable::setSymbolValue(std::string symbolName,std::string value){
	try{
		SymTabRow tableRow = SymbolTableMap.at(symbolName); 
		SymbolTableMap[symbolName].attribute = value;
	}catch(std::out_of_range err){
		std::ostringstream out;
		out << "Symbol " << symbolName << " does not exist.\n";
		throw std::runtime_error(out.str());
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
movq %rdx, %r14
movq %rdi, %r15
movq %rsi, -0x30(%rbp)
callq 0xa610
movq %rax, %r12
leaq -0x1c8(%rbp), %rax
movq %rax, -0x10(%rax)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
leaq -0x1d8(%rbp), %rdi
callq 0x67ca
leaq -0x1b8(%rbp), %rdi
leaq -0x1a8(%rbp), %r13
movq %r13, -0x10(%r13)
movq 0x20(%r12), %rsi
movq 0x28(%r12), %rdx
addq %rsi, %rdx
callq 0x67ca
leaq -0x198(%rbp), %rdi
leaq -0x188(%rbp), %rbx
movq %rbx, -0x10(%rbx)
movq 0x40(%r12), %rsi
movq 0x48(%r12), %rdx
addq %rsi, %rdx
callq 0x67ca
movl 0x60(%r12), %eax
movl %eax, -0x178(%rbp)
movq %r15, %rdi
movq -0x30(%rbp), %rsi
callq 0xa6cc
addq $0x40, %rax
movq %rax, %rdi
movq %r14, %rsi
callq 0x2120
movq -0x198(%rbp), %rdi
cmpq %rbx, %rdi
je 0xa0d8
movq -0x188(%rbp), %rsi
incq %rsi
callq 0x21e0
movq -0x1b8(%rbp), %rdi
cmpq %r13, %rdi
leaq -0x1c8(%rbp), %rbx
je 0xa0fa
movq -0x1a8(%rbp), %rsi
incq %rsi
callq 0x21e0
movq -0x1d8(%rbp), %rdi
cmpq %rbx, %rdi
je 0xa115
movq -0x1c8(%rbp), %rsi
incq %rsi
callq 0x21e0
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rdx, %r15
movq %rax, %r14
movq -0x1b8(%rbp), %rdi
cmpq %r13, %rdi
je 0xa150
movq -0x1a8(%rbp), %rsi
incq %rsi
callq 0x21e0
jmp 0xa150
movq %rdx, %r15
movq %rax, %r14
movq -0x1d8(%rbp), %rdi
leaq -0x1c8(%rbp), %rax
cmpq %rax, %rdi
je 0xa18e
movq -0x1c8(%rbp), %rsi
incq %rsi
callq 0x21e0
jmp 0xa18e
movq %rdx, %r15
movq %rax, %r14
leaq -0x1d8(%rbp), %rdi
callq 0xa66e
jmp 0xa18e
movq %rdx, %r15
movq %rax, %r14
cmpl $0x1, %r15d
jne 0xa2c1
movq %r14, %rdi
callq 0x2270
leaq -0x60(%rbp), %r15
movq %r15, %rdi
movq %rax, %rsi
callq 0x2350
movq 0x5e02(%rip), %rax      # 0xffb8
addq $0x10, %rax
movq %rax, (%r15)
movq %r14, %rdi
callq 0x20c0
leaq -0x1d8(%rbp), %rdi
callq 0x2290
leaq 0x219f(%rip), %rsi      # 0xc377
leaq -0x1d8(%rbp), %rdi
movl $0x7, %edx
callq 0x2210
movq -0x30(%rbp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
leaq -0x1d8(%rbp), %rdi
callq 0x2210
leaq 0x21ac(%rip), %rsi      # 0xc3b3
movl $0x11, %edx
movq %rax, %rdi
callq 0x2210
movl $0x10, %edi
callq 0x20f0
movq %rax, %rbx
leaq -0x1d0(%rbp), %rsi
leaq -0x50(%rbp), %rdi
callq 0x2310
movb $0x1, %r15b
leaq -0x50(%rbp), %rsi
movq %rbx, %rdi
callq 0x2320
xorl %r15d, %r15d
movq 0x5da6(%rip), %rsi      # 0xfff0
movq 0x5d6f(%rip), %rdx      # 0xffc0
movq %rbx, %rdi
callq 0x2370
movq %rax, %r14
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa27d
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x21e0
jmp 0xa27d
movq %rax, %r14
movb $0x1, %r15b
testb %r15b, %r15b
je 0xa28f
movq %rbx, %rdi
callq 0x2160
jmp 0xa28f
movq %rax, %r14
movq 0x5d32(%rip), %rsi      # 0xffc8
leaq -0x1d8(%rbp), %rdi
callq 0x2110
leaq -0x168(%rbp), %rdi
callq 0x20a0
jmp 0xa2b3
movq %rax, %r14
leaq -0x60(%rbp), %rdi
callq 0x22b0
callq 0x2330
movq %r14, %rdi
callq 0x2390
movq %rax, %rdi
callq 0x63ac
nop