// File: /workspace/github_cpp_makefile_star2_O1/Blaze2305[P]Compiler-Design-2021-Assignment/src/Parser/Parser.cpp
// Function: Parser::parseStmt()
void Parser::parseStmt(){
	tabNum+=1;
	printParseEnters(tabNum,tabChar,"parseStmt");
	if(checkToken(Identifier)){
		parseAssignementStmt();
	}else if(checkToken(Read)){
		parseReadStmt();
	}else if(checkToken(Print)){
		parsePrintStmt();
	}else if(checkToken(If)){
		parseIfStmt();
	}else if(checkToken(While)){
		parseWhileStmt();
	}else{
		std::ostringstream out;
		out << "Syntax error on line ";
		out << currentToken.lineNumber;
		throw  std::runtime_error(out.str());
	}
	tabNum-=1;
	printParseExits(tabNum,tabChar,"parseStmt");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1d8, %rsp            # imm = 0x1D8
movq %rdi, %rbx
movl 0x8306(%rip), %r14d     # 0x1020c
incl %r14d
movl %r14d, 0x82fc(%rip)     # 0x1020c
movsbl 0x82f0(%rip), %r15d     # 0x10208
leaq -0x58(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x4395(%rip), %rsi      # 0xc2bc
leaq 0x4397(%rip), %rdx      # 0xc2c5
leaq -0x68(%rbp), %r12
movq %r12, %rdi
callq 0x644a
movl %r14d, %edi
movl %r15d, %esi
movq %r12, %rdx
callq 0xb315
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0x7f5d
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x21e0
movl (%rbx), %ecx
leal -0x10(%rcx), %eax
cmpl $0x4, %eax
ja 0x7f81
leaq 0x422e(%rip), %rcx      # 0xc19c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %rbx, %rdi
callq 0x85ae
jmp 0x7faf
testl %ecx, %ecx
jne 0x801c
movq %rbx, %rdi
callq 0x8254
jmp 0x7faf
movq %rbx, %rdi
callq 0x8494
jmp 0x7faf
movq %rbx, %rdi
callq 0x8378
jmp 0x7faf
movq %rbx, %rdi
callq 0x86f2
movl 0x8257(%rip), %ebx      # 0x1020c
decl %ebx
movl %ebx, 0x824f(%rip)      # 0x1020c
movsbl 0x8243(%rip), %r14d     # 0x10208
leaq -0x38(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x42e7(%rip), %rsi      # 0xc2bc
leaq 0x42e9(%rip), %rdx      # 0xc2c5
leaq -0x48(%rbp), %r15
movq %r15, %rdi
callq 0x644a
movl %ebx, %edi
movl %r14d, %esi
movq %r15, %rdx
callq 0xb31b
movq -0x48(%rbp), %rdi
cmpq %r12, %rdi
je 0x800a
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x21e0
addq $0x1d8, %rsp            # imm = 0x1D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq -0x200(%rbp), %r14
movq %r14, %rdi
callq 0x2290
leaq 0x417e(%rip), %rsi      # 0xc1b0
movl $0x15, %edx
movq %r14, %rdi
callq 0x2210
movl 0x28(%rbx), %esi
leaq -0x200(%rbp), %rdi
callq 0x2380
movl $0x10, %edi
callq 0x20f0
movq %rax, %r14
leaq -0x1f8(%rbp), %rsi
leaq -0x88(%rbp), %rdi
callq 0x2310
movb $0x1, %r15b
leaq -0x88(%rbp), %rsi
movq %r14, %rdi
callq 0x2320
xorl %r15d, %r15d
movq 0x7f66(%rip), %rsi      # 0xfff0
movq 0x7f2f(%rip), %rdx      # 0xffc0
movq %r14, %rdi
callq 0x2370
movq %rax, %rbx
leaq -0x78(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x80bd
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x21e0
jmp 0x80bd
movq %rax, %rbx
movb $0x1, %r15b
testb %r15b, %r15b
je 0x80cf
movq %r14, %rdi
callq 0x2160
jmp 0x80cf
movq %rax, %rbx
movq 0x7ef2(%rip), %rsi      # 0xffc8
leaq -0x200(%rbp), %rdi
callq 0x2110
leaq -0x190(%rbp), %rdi
callq 0x20a0
jmp 0x811a
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r12, %rdi
je 0x811a
movq -0x38(%rbp), %rsi
jmp 0x8112
movq %rax, %rbx
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0x811a
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x21e0
movq %rbx, %rdi
callq 0x2390