// File: navrajsaini[P]PL_Compiler_design_project/administration.cpp
// Function: Admin::parse()
void Admin::parse()
{
   Parse parser(out);
   if(tst == 0);
   {
      cout<<"Would you like to see the parser functions and info as they are called?";
      cout<<endl<<"Y(y)/N(n): ";
      string yn, yn2;
      cin>>yn;
      cout<<"Would you like to see completed block table before it is popped";
      cout<<endl<<"Y(y)/N(n): ";
      cin>>yn2;
      if(yn=="Y"||yn=="y")
	 parser.yn=1;
      if(yn2=="Y"||yn2=="y")
	 parser.yn2=1;
   }
   string tempStr;
   for(int i=1; i<256; i++)
   {
      parser.asn(i, 0, (view.lineToke[i][0] + 1));
      parser.asn(i, 1, view.lineToke[i][1]);
      parser.asn(i, 2, view.lineToke[i][2]);
      //tempStr = view.symbolTable.htable[(view.lineToke[i][1])].getLexeme();
      //parser.asnS(i, tempStr);
   }
   input.open(parser.file.c_str());
   string lex;
   int value;
   while(!input.eof())
   {
      input>>value;
      parser.tokens(parserAsn(value));
   }
   input.close();
   parser.parseIt();
   ctd = parser.ctd;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x7360, %rsp           # imm = 0x7360
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rsi
movq %rsi, -0x7328(%rbp)
addq $0x630, %rsi            # imm = 0x630
leaq -0x7258(%rbp), %rdi
movq %rdi, -0x7320(%rbp)
callq 0x20d0
movq -0x7320(%rbp), %rsi
leaq -0x7238(%rbp), %rdi
callq 0x14880
jmp 0x12a19
leaq -0x7258(%rbp), %rdi
callq 0x2130
movq -0x7328(%rbp), %rax
movb 0x2(%rax), %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x0, %eax
jne 0x12a5e
jmp 0x12a5e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x7260(%rbp)
movl %eax, -0x7264(%rbp)
leaq -0x7258(%rbp), %rdi
callq 0x2130
jmp 0x12ea0
movq 0x14563(%rip), %rdi     # 0x26fc8
leaq 0xc954(%rip), %rsi      # 0x1f3c0
callq 0x21b0
jmp 0x12a73
movq 0x1454e(%rip), %rdi     # 0x26fc8
movq 0x14537(%rip), %rsi     # 0x26fb8
callq 0x21d0
movq %rax, -0x7330(%rbp)
jmp 0x12a8f
movq -0x7330(%rbp), %rdi
leaq 0xc6a8(%rip), %rsi      # 0x1f145
callq 0x21b0
jmp 0x12aa4
leaq -0x7288(%rbp), %rdi
movq %rdi, -0x7338(%rbp)
callq 0x22a0
leaq -0x72a8(%rbp), %rdi
callq 0x22a0
movq -0x7338(%rbp), %rsi
movq 0x14507(%rip), %rdi     # 0x26fd8
callq 0x2250
jmp 0x12ad8
movq 0x144e9(%rip), %rdi     # 0x26fc8
leaq 0xc922(%rip), %rsi      # 0x1f408
callq 0x21b0
jmp 0x12aed
movq 0x144d4(%rip), %rdi     # 0x26fc8
movq 0x144bd(%rip), %rsi     # 0x26fb8
callq 0x21d0
movq %rax, -0x7340(%rbp)
jmp 0x12b09
movq -0x7340(%rbp), %rdi
leaq 0xc62e(%rip), %rsi      # 0x1f145
callq 0x21b0
jmp 0x12b1e
movq 0x144b3(%rip), %rdi     # 0x26fd8
leaq -0x72a8(%rbp), %rsi
callq 0x2250
jmp 0x12b33
leaq 0xcf6c(%rip), %rsi      # 0x1faa6
leaq -0x7288(%rbp), %rdi
callq 0x10ea0
movb %al, -0x7341(%rbp)
jmp 0x12b4e
movb -0x7341(%rbp), %al
testb $0x1, %al
jne 0x12b81
jmp 0x12b5a
leaq 0xcd4d(%rip), %rsi      # 0x1f8ae
leaq -0x7288(%rbp), %rdi
callq 0x10ea0
movb %al, -0x7342(%rbp)
jmp 0x12b75
movb -0x7342(%rbp), %al
testb $0x1, %al
jne 0x12b81
jmp 0x12bd0
movb $0x1, -0x520c(%rbp)
jmp 0x12bd0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x7260(%rbp)
movl %eax, -0x7264(%rbp)
jmp 0x12e94
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x7260(%rbp)
movl %eax, -0x7264(%rbp)
leaq -0x72a8(%rbp), %rdi
callq 0x2130
leaq -0x7288(%rbp), %rdi
callq 0x2130
jmp 0x12e94
leaq 0xcecf(%rip), %rsi      # 0x1faa6
leaq -0x72a8(%rbp), %rdi
callq 0x10ea0
movb %al, -0x7343(%rbp)
jmp 0x12beb
movb -0x7343(%rbp), %al
testb $0x1, %al
jne 0x12c1e
jmp 0x12bf7
leaq 0xccb0(%rip), %rsi      # 0x1f8ae
leaq -0x72a8(%rbp), %rdi
callq 0x10ea0
movb %al, -0x7344(%rbp)
jmp 0x12c12
movb -0x7344(%rbp), %al
testb $0x1, %al
jne 0x12c1e
jmp 0x12c25
movb $0x1, -0x520b(%rbp)
leaq -0x72a8(%rbp), %rdi
callq 0x2130
leaq -0x7288(%rbp), %rdi
callq 0x2130
leaq -0x72c8(%rbp), %rdi
callq 0x22a0
movl $0x1, -0x72cc(%rbp)
cmpl $0x100, -0x72cc(%rbp)   # imm = 0x100
jge 0x12d19
movq -0x7328(%rbp), %rax
movslq -0x72cc(%rbp), %rcx
movl %ecx, %esi
leaq (%rcx,%rcx,2), %rcx
movl 0x698(%rax,%rcx,4), %ecx
incl %ecx
leaq -0x7238(%rbp), %rdi
xorl %edx, %edx
callq 0x14e70
jmp 0x12c90
movq -0x7328(%rbp), %rax
movslq -0x72cc(%rbp), %rcx
movl %ecx, %esi
leaq (%rcx,%rcx,2), %rcx
movl 0x69c(%rax,%rcx,4), %ecx
leaq -0x7238(%rbp), %rdi
movl $0x1, %edx
callq 0x14e70
jmp 0x12cbe
movq -0x7328(%rbp), %rax
movslq -0x72cc(%rbp), %rcx
movl %ecx, %esi
leaq (%rcx,%rcx,2), %rcx
movl 0x6a0(%rax,%rcx,4), %ecx
leaq -0x7238(%rbp), %rdi
movl $0x2, %edx
callq 0x14e70
jmp 0x12cec
jmp 0x12cee
movl -0x72cc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x72cc(%rbp)
jmp 0x12c53
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x7260(%rbp)
movl %eax, -0x7264(%rbp)
jmp 0x12e88
movq -0x7328(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x7350(%rbp)
leaq -0x5230(%rbp), %rdi
callq 0x20c0
movq -0x7350(%rbp), %rdi
movq %rax, %rsi
movl $0x8, %edx
callq 0x2140
jmp 0x12d4d
leaq -0x72f0(%rbp), %rdi
callq 0x22a0
movq -0x7328(%rbp), %rax
movq 0x8(%rax), %rcx
movq -0x18(%rcx), %rcx
leaq 0x8(%rax,%rcx), %rdi
callq 0x2380
movb %al, -0x7351(%rbp)
jmp 0x12d7a
movb -0x7351(%rbp), %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x12d8b
jmp 0x12e1c
movq -0x7328(%rbp), %rdi
addq $0x8, %rdi
leaq -0x72f4(%rbp), %rsi
callq 0x2120
jmp 0x12da4
movq -0x7328(%rbp), %rsi
movl -0x72f4(%rbp), %edx
leaq -0x7318(%rbp), %rdi
callq 0x12eb0
jmp 0x12dbf
leaq -0x7238(%rbp), %rdi
leaq -0x7318(%rbp), %rsi
callq 0x15030
jmp 0x12dd4
leaq -0x7318(%rbp), %rdi
callq 0x2130
jmp 0x12d59
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x7260(%rbp)
movl %eax, -0x7264(%rbp)
jmp 0x12e7c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x7260(%rbp)
movl %eax, -0x7264(%rbp)
leaq -0x7318(%rbp), %rdi
callq 0x2130
jmp 0x12e7c
movq -0x7328(%rbp), %rdi
addq $0x8, %rdi
callq 0x2050
jmp 0x12e2e
leaq -0x7238(%rbp), %rdi
callq 0x14ef0
jmp 0x12e3c
movq -0x7328(%rbp), %rax
movb -0x4608(%rbp), %cl
andb $0x1, %cl
movb %cl, 0x1(%rax)
leaq -0x72f0(%rbp), %rdi
callq 0x2130
leaq -0x72c8(%rbp), %rdi
callq 0x2130
leaq -0x7238(%rbp), %rdi
callq 0x13160
addq $0x7360, %rsp           # imm = 0x7360
popq %rbp
retq
leaq -0x72f0(%rbp), %rdi
callq 0x2130
leaq -0x72c8(%rbp), %rdi
callq 0x2130
leaq -0x7238(%rbp), %rdi
callq 0x13160
movq -0x7260(%rbp), %rdi
callq 0x2340
nopl (%rax)