// File: Davidc2525[P]Leaf/parser/Parser.h
// Function: Parser::isVarDecl()
bool isVarDecl(){
    scanner->ResetPeek();
    string*n = new string("");
    string*n2 = new string(":");
    Token* x = la;
    LexStringtoken(x,n);
     // cout<<";t: "<<*n<<" = "<<(*n2==*n)<<endl;
    
    if(*n2==*n) {scanner->ResetPeek(); return true;}
    while(1){
    	nc:
      n = new string("");
      x = scanner->Peek();//la
      LexStringtoken(x,n);
      //cout<<";la: "<<*n<<" = "<<(*n2==*n)<<endl;
    
    if (*n=="["||*n=="]"||*n=="("||*n==")")
    {
    	//scanner->ResetPeek();return false;
    }
    if(*n2==*n) {scanner->ResetPeek();return true;}
    if(*n=="") {scanner->ResetPeek();return false;}
    if(*n=="=") {scanner->ResetPeek();return false;}
    
    //if(*n=="[") {scanner->ResetPeek();return false;}
    //if(*n=="]") {scanner->ResetPeek();return false;}
    }
   scanner->ResetPeek();
   return false;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x70(%rbp)
movq 0x18(%rax), %rdi
callq 0x12570
movl $0x20, %edi
callq 0x62e0
movq %rax, -0x60(%rbp)
movq %rax, -0x68(%rbp)
movb $0x1, -0x2d(%rbp)
leaq -0x19(%rbp), %rdi
movq %rdi, -0x58(%rbp)
callq 0x6500
movq -0x60(%rbp), %rdi
movq -0x58(%rbp), %rdx
leaq 0x1e7bb(%rip), %rsi     # 0x35b6d
callq 0xada0
jmp 0x173b9
movb $0x0, -0x2d(%rbp)
leaq -0x19(%rbp), %rdi
callq 0x6340
movq -0x68(%rbp), %rax
movq %rax, -0x18(%rbp)
movl $0x20, %edi
callq 0x62e0
movq %rax, -0x80(%rbp)
movq %rax, -0x88(%rbp)
movb $0x1, -0x3a(%rbp)
leaq -0x39(%rbp), %rdi
movq %rdi, -0x78(%rbp)
callq 0x6500
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rdx
leaq 0x1cc31(%rip), %rsi     # 0x34034
callq 0xada0
jmp 0x1740a
movb $0x0, -0x3a(%rbp)
leaq -0x39(%rbp), %rdi
callq 0x6340
movq -0x88(%rbp), %rax
movq -0x70(%rbp), %rdi
movq %rax, -0x38(%rbp)
movq 0x30(%rdi), %rax
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x17ea0
movq -0x38(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x17ff0
testb $0x1, %al
jne 0x1744e
jmp 0x174c7
movq -0x70(%rbp), %rax
movq 0x18(%rax), %rdi
callq 0x12570
movb $0x1, -0x1(%rbp)
jmp 0x17651
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0x19(%rbp), %rdi
callq 0x6340
testb $0x1, -0x2d(%rbp)
jne 0x17481
jmp 0x1748f
movq -0x68(%rbp), %rdi
movl $0x20, %esi
callq 0x62f0
jmp 0x1765f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0x39(%rbp), %rdi
callq 0x6340
testb $0x1, -0x3a(%rbp)
jne 0x174b1
jmp 0x174c2
movq -0x88(%rbp), %rdi
movl $0x20, %esi
callq 0x62f0
jmp 0x1765f
jmp 0x174c9
jmp 0x174cb
movl $0x20, %edi
callq 0x62e0
movq %rax, -0x98(%rbp)
movq %rax, -0xa0(%rbp)
movb $0x1, -0x4a(%rbp)
leaq -0x49(%rbp), %rdi
movq %rdi, -0x90(%rbp)
callq 0x6500
movq -0x98(%rbp), %rdi
movq -0x90(%rbp), %rdx
leaq 0x1e661(%rip), %rsi     # 0x35b6d
callq 0xada0
jmp 0x17513
movq -0xa0(%rbp), %rax
movb $0x0, -0x4a(%rbp)
movq %rax, -0x18(%rbp)
leaq -0x49(%rbp), %rdi
callq 0x6340
movq -0x70(%rbp), %rax
movq 0x18(%rax), %rdi
callq 0x12500
movq -0x70(%rbp), %rdi
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x17ea0
movq -0x18(%rbp), %rdi
leaq 0x1d55d(%rip), %rsi     # 0x34ab5
callq 0x18080
testb $0x1, %al
jne 0x1759f
movq -0x18(%rbp), %rdi
leaq 0x1d5ab(%rip), %rsi     # 0x34b17
callq 0x18080
testb $0x1, %al
jne 0x1759f
movq -0x18(%rbp), %rdi
leaq 0x1ead0(%rip), %rsi     # 0x36050
callq 0x18080
testb $0x1, %al
jne 0x1759f
movq -0x18(%rbp), %rdi
leaq 0x1e93c(%rip), %rsi     # 0x35ed0
callq 0x18080
testb $0x1, %al
jne 0x1759f
jmp 0x175d4
jmp 0x175d4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0x49(%rbp), %rdi
callq 0x6340
testb $0x1, -0x4a(%rbp)
jne 0x175be
jmp 0x175cf
movq -0xa0(%rbp), %rdi
movl $0x20, %esi
callq 0x62f0
jmp 0x1765f
movq -0x38(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x17ff0
testb $0x1, %al
jne 0x175e7
jmp 0x175fa
movq -0x70(%rbp), %rax
movq 0x18(%rax), %rdi
callq 0x12570
movb $0x1, -0x1(%rbp)
jmp 0x17651
movq -0x18(%rbp), %rdi
leaq 0x1e568(%rip), %rsi     # 0x35b6d
callq 0x18080
testb $0x1, %al
jne 0x17610
jmp 0x17623
movq -0x70(%rbp), %rax
movq 0x18(%rax), %rdi
callq 0x12570
movb $0x0, -0x1(%rbp)
jmp 0x17651
movq -0x18(%rbp), %rdi
leaq 0x1d4eb(%rip), %rsi     # 0x34b19
callq 0x18080
testb $0x1, %al
jne 0x17639
jmp 0x1764c
movq -0x70(%rbp), %rax
movq 0x18(%rax), %rdi
callq 0x12570
movb $0x0, -0x1(%rbp)
jmp 0x17651
jmp 0x174c9
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0xa0, %rsp
popq %rbp
retq
movq -0x28(%rbp), %rdi
callq 0x64f0
nopl (%rax,%rax)