// File: mrexodia[P]AsmParser/AsmParser.cpp
// Function: AsmParser::Tokenize()
void Tokenize()
    {
        mCur.reserve(mLine.length());
        for(size_t i = 0; i < mLine.length(); i++)
        {
            char ch = mLine[i];
            switch(ch)
            {
                case ' ':
                case '\t':
                    appendCurToken();
                    break;
                case ',':
                    appendCurToken();
                    appendToken(Token::Comma, ",");
                    break;
                case ':':
                    appendCurToken();
                    appendToken(Token::Colon, ":");
                    break;
                case '[':
                    appendCurToken();
                    appendToken(Token::Memopen, "[");
                    break;
                case ']':
                    appendCurToken();
                    appendToken(Token::Memclose, "]");
                    break;
                case '+':
                    appendCurToken();
                    appendToken(Token::Plus, "+");
                    break;
                case '-':
                    appendCurToken();
                    appendToken(Token::Minus, "+");
                    break;
                case '*':
                    appendCurToken();
                    appendToken(Token::Mult, "*");
                    break;
                default:
                    mCur.push_back(ch);
                    break;

            }
        }
        appendCurToken();
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1a0, %rsp            # imm = 0x1A0
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x150(%rbp)
movq %rdi, %rax
addq $0x20, %rax
movq %rax, -0x148(%rbp)
callq 0x21e0
movq -0x148(%rbp), %rdi
movq %rax, %rsi
callq 0x2200
movq $0x0, -0x10(%rbp)
movq -0x150(%rbp), %rdi
movq -0x10(%rbp), %rax
movq %rax, -0x158(%rbp)
callq 0x21e0
movq %rax, %rcx
movq -0x158(%rbp), %rax
cmpq %rcx, %rax
jae 0x3d6a
movq -0x150(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x2250
movb (%rax), %al
movb %al, -0x11(%rbp)
movsbl -0x11(%rbp), %eax
addl $-0x9, %eax
movl %eax, %ecx
movq %rcx, -0x160(%rbp)
subl $0x54, %eax
ja 0x3d43
movq -0x160(%rbp), %rax
leaq 0x374a(%rip), %rcx      # 0x7004
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x150(%rbp), %rdi
callq 0x5a30
jmp 0x3d57
movq -0x150(%rbp), %rdi
callq 0x5a30
leaq -0x39(%rbp), %rdi
movq %rdi, -0x168(%rbp)
callq 0x2240
movq -0x168(%rbp), %rdx
leaq 0x392b(%rip), %rsi      # 0x7229
leaq -0x38(%rbp), %rdi
callq 0x21b0
jmp 0x3909
movq -0x150(%rbp), %rdi
movl $0x4, %esi
leaq -0x38(%rbp), %rdx
callq 0x5a90
jmp 0x3920
leaq -0x38(%rbp), %rdi
callq 0x2100
leaq -0x39(%rbp), %rdi
callq 0x2170
jmp 0x3d57
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x395a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x2100
leaq -0x39(%rbp), %rdi
callq 0x2170
jmp 0x3d7f
movq -0x150(%rbp), %rdi
callq 0x5a30
leaq -0x71(%rbp), %rdi
movq %rdi, -0x170(%rbp)
callq 0x2240
movq -0x170(%rbp), %rdx
leaq 0x3899(%rip), %rsi      # 0x722b
leaq -0x70(%rbp), %rdi
callq 0x21b0
jmp 0x399d
movq -0x150(%rbp), %rdi
movl $0xa, %esi
leaq -0x70(%rbp), %rdx
callq 0x5a90
jmp 0x39b4
leaq -0x70(%rbp), %rdi
callq 0x2100
leaq -0x71(%rbp), %rdi
callq 0x2170
jmp 0x3d57
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x39ee
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x70(%rbp), %rdi
callq 0x2100
leaq -0x71(%rbp), %rdi
callq 0x2170
jmp 0x3d7f
movq -0x150(%rbp), %rdi
callq 0x5a30
leaq -0x99(%rbp), %rdi
movq %rdi, -0x178(%rbp)
callq 0x2240
movq -0x178(%rbp), %rdx
leaq 0x3804(%rip), %rsi      # 0x722d
leaq -0x98(%rbp), %rdi
callq 0x21b0
jmp 0x3a37
movq -0x150(%rbp), %rdi
movl $0x8, %esi
leaq -0x98(%rbp), %rdx
callq 0x5a90
jmp 0x3a51
leaq -0x98(%rbp), %rdi
callq 0x2100
leaq -0x99(%rbp), %rdi
callq 0x2170
jmp 0x3d57
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x3a94
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x98(%rbp), %rdi
callq 0x2100
leaq -0x99(%rbp), %rdi
callq 0x2170
jmp 0x3d7f
movq -0x150(%rbp), %rdi
callq 0x5a30
leaq -0xc1(%rbp), %rdi
movq %rdi, -0x180(%rbp)
callq 0x2240
movq -0x180(%rbp), %rdx
leaq 0x36f9(%rip), %rsi      # 0x71cb
leaq -0xc0(%rbp), %rdi
callq 0x21b0
jmp 0x3ae0
movq -0x150(%rbp), %rdi
movl $0x9, %esi
leaq -0xc0(%rbp), %rdx
callq 0x5a90
jmp 0x3afa
leaq -0xc0(%rbp), %rdi
callq 0x2100
leaq -0xc1(%rbp), %rdi
callq 0x2170
jmp 0x3d57
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x3b3d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0xc0(%rbp), %rdi
callq 0x2100
leaq -0xc1(%rbp), %rdi
callq 0x2170
jmp 0x3d7f
movq -0x150(%rbp), %rdi
callq 0x5a30
leaq -0xe9(%rbp), %rdi
movq %rdi, -0x188(%rbp)
callq 0x2240
movq -0x188(%rbp), %rdx
leaq 0x36b4(%rip), %rsi      # 0x722f
leaq -0xe8(%rbp), %rdi
callq 0x21b0
jmp 0x3b89
movq -0x150(%rbp), %rdi
movl $0xb, %esi
leaq -0xe8(%rbp), %rdx
callq 0x5a90
jmp 0x3ba3
leaq -0xe8(%rbp), %rdi
callq 0x2100
leaq -0xe9(%rbp), %rdi
callq 0x2170
jmp 0x3d57
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x3be6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0xe8(%rbp), %rdi
callq 0x2100
leaq -0xe9(%rbp), %rdi
callq 0x2170
jmp 0x3d7f
movq -0x150(%rbp), %rdi
callq 0x5a30
leaq -0x111(%rbp), %rdi
movq %rdi, -0x190(%rbp)
callq 0x2240
movq -0x190(%rbp), %rdx
leaq 0x360b(%rip), %rsi      # 0x722f
leaq -0x110(%rbp), %rdi
callq 0x21b0
jmp 0x3c32
movq -0x150(%rbp), %rdi
movl $0xc, %esi
leaq -0x110(%rbp), %rdx
callq 0x5a90
jmp 0x3c4c
leaq -0x110(%rbp), %rdi
callq 0x2100
leaq -0x111(%rbp), %rdi
callq 0x2170
jmp 0x3d57
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x3c8f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x110(%rbp), %rdi
callq 0x2100
leaq -0x111(%rbp), %rdi
callq 0x2170
jmp 0x3d7f
movq -0x150(%rbp), %rdi
callq 0x5a30
leaq -0x139(%rbp), %rdi
movq %rdi, -0x198(%rbp)
callq 0x2240
movq -0x198(%rbp), %rdx
leaq 0x3564(%rip), %rsi      # 0x7231
leaq -0x138(%rbp), %rdi
callq 0x21b0
jmp 0x3cdb
movq -0x150(%rbp), %rdi
movl $0xd, %esi
leaq -0x138(%rbp), %rdx
callq 0x5a90
jmp 0x3cf5
leaq -0x138(%rbp), %rdi
callq 0x2100
leaq -0x139(%rbp), %rdi
callq 0x2170
jmp 0x3d57
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x3d35
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x138(%rbp), %rdi
callq 0x2100
leaq -0x139(%rbp), %rdi
callq 0x2170
jmp 0x3d7f
movq -0x150(%rbp), %rdi
addq $0x20, %rdi
movsbl -0x11(%rbp), %esi
callq 0x2130
jmp 0x3d59
movq -0x10(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rbp)
jmp 0x3854
movq -0x150(%rbp), %rdi
callq 0x5a30
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbp
retq
movq -0x48(%rbp), %rdi
callq 0x2230
nopl (%rax,%rax)