// File: navrajsaini[P]PL_Compiler_design_project/parser.cpp
// Function: Parse::Parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
Parse::Parse(string in)
{
   file=in;
   //tokeNum=0;
   for(int i=0; i<256; i++)
   {
      ln[i][0]=0;
      ln[i][1]=0;
      ln[i][2]=0;
   }
   eraseList();
   for(int i = 0; i<10; i++)
      valLength[10] = 0;
   for(int i = 0; i<10; i++)
      levelOfCurrentBlock[i] = 3;
   
   label = 0;
   displacement = 3;
   tpVl = 0;
   currentLevel = 0;
   tempSizeRead = 0;
   tempSizeWrite = 0;
   tempSizeAsn = 0;
   startLabel = 0;
   varLabel = 0;
   listDepth = 0;
   for(int i = 0; i<10; i++)
      size[i] = 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq %rsi, -0x50(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
movq %rax, %rcx
addq $0x2000, %rcx           # imm = 0x2000
movq %rcx, -0x40(%rbp)
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rdi
movq %rdi, -0x58(%rbp)
callq 0x22a0
movq -0x58(%rbp), %rax
movq -0x40(%rbp), %rcx
addq $0x20, %rax
cmpq %rcx, %rax
movq %rax, -0x38(%rbp)
jne 0x148b1
movq -0x48(%rbp), %rdi
movl $0x0, 0x2000(%rdi)
addq $0x2008, %rdi           # imm = 0x2008
movq %rdi, -0x78(%rbp)
callq 0x22a0
movq -0x48(%rbp), %rax
movl $0x0, 0x2028(%rax)
movb $0x0, 0x202c(%rax)
movb $0x0, 0x202d(%rax)
movb $0x1, 0x2c30(%rax)
movb $0x0, 0x2c31(%rax)
addq $0x2c38, %rax           # imm = 0x2C38
movq %rax, -0x70(%rbp)
movq %rax, %rcx
addq $0x2000, %rcx           # imm = 0x2000
movq %rcx, -0x68(%rbp)
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rdi
movq %rdi, -0x80(%rbp)
callq 0x22a0
movq -0x80(%rbp), %rax
movq -0x68(%rbp), %rcx
addq $0x20, %rax
cmpq %rcx, %rax
movq %rax, -0x60(%rbp)
jne 0x14937
movq -0x48(%rbp), %rdi
addq $0x4c38, %rdi           # imm = 0x4C38
movq %rdi, -0x88(%rbp)
callq 0x19f20
jmp 0x14972
movq -0x48(%rbp), %rax
movl $0x0, 0x4d88(%rax)
movl $0x2, 0x4d8c(%rax)
movl $0x3, 0x4d90(%rax)
movl $0x0, 0x4d94(%rax)
movl $0x1, 0x4d98(%rax)
movl $0x0, 0x4d9c(%rax)
movl $0x0, 0x4da0(%rax)
movl $0x0, 0x4da4(%rax)
movb $0x0, 0x4dd0(%rax)
movl $0x0, 0x4de4(%rax)
movq %rax, %rcx
addq $0x4de8, %rcx           # imm = 0x4DE8
movl $0x1, 0x4de8(%rax)
movq %rcx, %rax
addq $0x4, %rax
addq $0x28, %rcx
movq %rcx, -0x98(%rbp)
movq %rax, -0x90(%rbp)
movq -0x90(%rbp), %rax
movq -0x98(%rbp), %rcx
movl $0x0, (%rax)
addq $0x4, %rax
cmpq %rcx, %rax
movq %rax, -0x90(%rbp)
jne 0x14a04
movq -0x48(%rbp), %rdi
addq $0x4e48, %rdi           # imm = 0x4E48
movq %rdi, -0xa0(%rbp)
callq 0x2200
jmp 0x14a41
movq -0x48(%rbp), %rax
addq $0x5050, %rax           # imm = 0x5050
movq %rax, -0xb0(%rbp)
leaq -0x1d(%rbp), %rdi
movq %rdi, -0xa8(%rbp)
callq 0x2350
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rdx
leaq 0xafea(%rip), %rsi      # 0x1fa61
callq 0x2290
jmp 0x14a7e
leaq -0x1d(%rbp), %rdi
callq 0x21e0
movq -0x48(%rbp), %rdi
addq $0x5070, %rdi           # imm = 0x5070
movq %rdi, -0xc8(%rbp)
callq 0x22a0
movq -0x48(%rbp), %rdi
addq $0x5098, %rdi           # imm = 0x5098
movq %rdi, -0xc0(%rbp)
callq 0x22a0
movq -0x48(%rbp), %rdi
movb $0x0, 0x50b8(%rdi)
addq $0x50c0, %rdi           # imm = 0x50C0
movq %rdi, -0xb8(%rbp)
callq 0x12310
jmp 0x14ad5
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdi
movl $0x0, 0x71b0(%rdi)
movl $0x0, 0x71b4(%rdi)
movl $0x3, 0x71b8(%rdi)
movl $0x0, 0x71ec(%rdi)
movl $0x0, 0x71f0(%rdi)
movl $0x0, 0x71f4(%rdi)
movl $0x0, 0x71f8(%rdi)
movl $0x0, 0x7224(%rdi)
movl $0x0, 0x7228(%rdi)
addq $0x2008, %rdi           # imm = 0x2008
callq 0x2030
jmp 0x14b45
movl $0x0, -0x24(%rbp)
cmpl $0x100, -0x24(%rbp)     # imm = 0x100
jge 0x14c21
movq -0x48(%rbp), %rax
movq %rax, %rcx
addq $0x2030, %rcx           # imm = 0x2030
movslq -0x24(%rbp), %rdx
imulq $0xc, %rdx, %rdx
addq %rdx, %rcx
movl $0x0, (%rcx)
movq %rax, %rcx
addq $0x2030, %rcx           # imm = 0x2030
movslq -0x24(%rbp), %rdx
imulq $0xc, %rdx, %rdx
addq %rdx, %rcx
movl $0x0, 0x4(%rcx)
addq $0x2030, %rax           # imm = 0x2030
movslq -0x24(%rbp), %rcx
imulq $0xc, %rcx, %rcx
addq %rcx, %rax
movl $0x0, 0x8(%rax)
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x14b4c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x14d55
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x14d49
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x1d(%rbp), %rdi
callq 0x21e0
jmp 0x14d3d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x14d19
movq -0xb8(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
callq 0x5880
jmp 0x14d19
movq -0x48(%rbp), %rdi
callq 0x14df0
jmp 0x14c2c
movl $0x0, -0x28(%rbp)
cmpl $0xa, -0x28(%rbp)
jge 0x14c52
movq -0x48(%rbp), %rax
movl $0x0, 0x71ec(%rax)
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
jmp 0x14c33
movl $0x0, -0x2c(%rbp)
cmpl $0xa, -0x2c(%rbp)
jge 0x14c7d
movq -0x48(%rbp), %rax
movslq -0x2c(%rbp), %rcx
movl $0x3, 0x71fc(%rax,%rcx,4)
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x14c59
movq -0x48(%rbp), %rax
movl $0x0, 0x71b0(%rax)
movl $0x3, 0x71b8(%rax)
movl $0x0, 0x7228(%rax)
movl $0x0, 0x7224(%rax)
movl $0x0, 0x71f0(%rax)
movl $0x0, 0x71f4(%rax)
movl $0x0, 0x71f8(%rax)
movl $0x0, 0x71c0(%rax)
movl $0x0, 0x71bc(%rax)
movl $0x0, 0x4d88(%rax)
movl $0x0, -0x30(%rbp)
cmpl $0xa, -0x30(%rbp)
jge 0x14d10
movq -0x48(%rbp), %rax
movslq -0x30(%rbp), %rcx
movl $0x1, 0x4de8(%rax,%rcx,4)
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0x14cec
addq $0xf0, %rsp
popq %rbp
retq
movq -0xc0(%rbp), %rdi
callq 0x2130
movq -0xc8(%rbp), %rdi
callq 0x2130
movq -0xb0(%rbp), %rdi
callq 0x2130
movq -0xa0(%rbp), %rdi
callq 0x2060
movq -0x88(%rbp), %rdi
callq 0x19f90
movq -0x70(%rbp), %rax
addq $0x2000, %rax           # imm = 0x2000
movq %rax, -0xd0(%rbp)
movq -0xd0(%rbp), %rdi
addq $-0x20, %rdi
movq %rdi, -0xd8(%rbp)
callq 0x2130
movq -0x70(%rbp), %rcx
movq -0xd8(%rbp), %rax
cmpq %rcx, %rax
movq %rax, -0xd0(%rbp)
jne 0x14d66
movq -0x78(%rbp), %rdi
callq 0x2130
movq -0x48(%rbp), %rax
addq $0x2000, %rax           # imm = 0x2000
movq %rax, -0xe0(%rbp)
movq -0xe0(%rbp), %rdi
addq $-0x20, %rdi
movq %rdi, -0xe8(%rbp)
callq 0x2130
movq -0x48(%rbp), %rcx
movq -0xe8(%rbp), %rax
cmpq %rcx, %rax
movq %rax, -0xe0(%rbp)
jne 0x14dae
jmp 0x14dde
movq -0x18(%rbp), %rdi
callq 0x2340
nopw (%rax,%rax)