// File: jsteemann[P]jshund/src/./Tokenizer.h
// Function: jshund::Tokenizer::handleId()
Token handleId () {
        // name/keyword
        std::string name;
        bool canBeKeyword = true;
        size_t now = _position;
        
        while (true) {
          char n = _input[now];

          if (n >= 'a' && n <= 'z') {
            name.push_back(n);
          } 
          else if (n >= 'A' && n <= 'Z') {
            name.push_back(n);
            canBeKeyword = false;
          }
          else if (n >= '0' && n <= '9') {
            name.push_back(n);
            canBeKeyword = false;
          }
          else if (n == '_' || n == '$') {
            name.push_back(n);
          }
          else {
            break;
          }
          ++now;
        }
          
        if (canBeKeyword) {
          std::map<std::string, TokenType>::const_iterator it = _keywordMap.find(name);
          if (it != _keywordMap.end()) {
            return makeToken((*it).second, std::string(_input + _position, name.size()));
          }
        }
          
        return makeToken(TOKEN_NAME, std::string(_input + _position, name.size()));
      }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
movq %rdi, -0xe0(%rbp)
movq %rdi, %rax
movq %rax, -0xd8(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xd0(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x33a0
movq -0xd0(%rbp), %rax
movb $0x1, -0x31(%rbp)
movq 0x90(%rax), %rax
movq %rax, -0x40(%rbp)
jmp 0xea40
movq -0xd0(%rbp), %rax
movq 0x80(%rax), %rax
movq -0x40(%rbp), %rcx
movb (%rax,%rcx), %al
movb %al, -0x41(%rbp)
movsbl -0x41(%rbp), %eax
cmpl $0x61, %eax
jl 0xea8f
movsbl -0x41(%rbp), %eax
cmpl $0x7a, %eax
jg 0xea8f
movsbl -0x41(%rbp), %esi
leaq -0x30(%rbp), %rdi
callq 0x3200
jmp 0xea79
jmp 0xeb08
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
jmp 0xed7f
movsbl -0x41(%rbp), %eax
cmpl $0x41, %eax
jl 0xeab6
movsbl -0x41(%rbp), %eax
cmpl $0x5a, %eax
jg 0xeab6
movsbl -0x41(%rbp), %esi
leaq -0x30(%rbp), %rdi
callq 0x3200
jmp 0xeab0
movb $0x0, -0x31(%rbp)
jmp 0xeb06
movsbl -0x41(%rbp), %eax
cmpl $0x30, %eax
jl 0xeadd
movsbl -0x41(%rbp), %eax
cmpl $0x39, %eax
jg 0xeadd
movsbl -0x41(%rbp), %esi
leaq -0x30(%rbp), %rdi
callq 0x3200
jmp 0xead7
movb $0x0, -0x31(%rbp)
jmp 0xeb04
movsbl -0x41(%rbp), %eax
cmpl $0x5f, %eax
je 0xeaef
movsbl -0x41(%rbp), %eax
cmpl $0x24, %eax
jne 0xeb00
movsbl -0x41(%rbp), %esi
leaq -0x30(%rbp), %rdi
callq 0x3200
jmp 0xeafe
jmp 0xeb02
jmp 0xeb19
jmp 0xeb04
jmp 0xeb06
jmp 0xeb08
movq -0x40(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x40(%rbp)
jmp 0xea3e
testb $0x1, -0x31(%rbp)
je 0xec88
movq -0xd0(%rbp), %rdi
addq $0x30, %rdi
leaq -0x30(%rbp), %rsi
callq 0xf4c0
movq %rax, -0xe8(%rbp)
jmp 0xeb40
movq -0xe8(%rbp), %rax
movq %rax, -0x68(%rbp)
leaq -0x60(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x9fc0
movq -0xd0(%rbp), %rdi
addq $0x30, %rdi
callq 0x9de0
movq %rax, -0x78(%rbp)
leaq -0x70(%rbp), %rdi
leaq -0x78(%rbp), %rsi
callq 0x9fc0
leaq -0x60(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0xf2e0
testb $0x1, %al
jne 0xeb8f
jmp 0xec86
leaq -0x60(%rbp), %rdi
callq 0xf310
movq -0xd0(%rbp), %rcx
movl 0x20(%rax), %eax
movl %eax, -0x104(%rbp)
movq 0x80(%rcx), %rax
movq 0x90(%rcx), %rcx
addq %rcx, %rax
movq %rax, -0x100(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x31b0
movq %rax, -0xf8(%rbp)
leaq -0x99(%rbp), %rdi
movq %rdi, -0xf0(%rbp)
callq 0x3470
movq -0x100(%rbp), %rsi
movq -0xf8(%rbp), %rdx
movq -0xf0(%rbp), %rcx
leaq -0x98(%rbp), %rdi
callq 0x32f0
jmp 0xec06
movl -0x104(%rbp), %edx
movq -0xd0(%rbp), %rsi
movq -0xe0(%rbp), %rdi
leaq -0x98(%rbp), %rcx
callq 0xf330
jmp 0xec28
leaq -0x98(%rbp), %rdi
callq 0x3170
leaq -0x99(%rbp), %rdi
callq 0x32c0
movl $0x1, -0xa0(%rbp)
jmp 0xed66
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
jmp 0xec75
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x98(%rbp), %rdi
callq 0x3170
leaq -0x99(%rbp), %rdi
callq 0x32c0
jmp 0xed7f
jmp 0xec88
movq -0xd0(%rbp), %rcx
movq 0x80(%rcx), %rax
movq 0x90(%rcx), %rcx
addq %rcx, %rax
movq %rax, -0x120(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x31b0
movq %rax, -0x118(%rbp)
leaq -0xc1(%rbp), %rdi
movq %rdi, -0x110(%rbp)
callq 0x3470
movq -0x120(%rbp), %rsi
movq -0x118(%rbp), %rdx
movq -0x110(%rbp), %rcx
leaq -0xc0(%rbp), %rdi
callq 0x32f0
jmp 0xeced
movq -0xd0(%rbp), %rsi
movq -0xe0(%rbp), %rdi
movl $0x4b, %edx
leaq -0xc0(%rbp), %rcx
callq 0xf330
jmp 0xed0e
leaq -0xc0(%rbp), %rdi
callq 0x3170
leaq -0xc1(%rbp), %rdi
callq 0x32c0
movl $0x1, -0xa0(%rbp)
jmp 0xed66
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
jmp 0xed58
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0xc0(%rbp), %rdi
callq 0x3170
leaq -0xc1(%rbp), %rdi
callq 0x32c0
jmp 0xed7f
leaq -0x30(%rbp), %rdi
callq 0x3170
movq -0xd8(%rbp), %rax
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
leaq -0x30(%rbp), %rdi
callq 0x3170
movq -0x50(%rbp), %rdi
callq 0x3460
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)