// File: /workspace/github_c_makefile_star2_O0/gregtour[P]minimal-compiler/lexer.c
// Function: LexSource
L_TOKEN* LexSource(const char*    file,
                   char**         stripped,
                   GRAMMAR_TABLE  table)
{
    FILE* input;
    char* buffer;
    char* format;
    int*  lineNumbers;
    int   line;
    int   size;
    int   read;
    int   i, j;
    int   a, b;

    L_TOKEN* start = NULL;
    L_TOKEN* end = NULL;

    // read source file
    // printf("Loading source file from %s...\n", file);
    input = fopen(file, "rb");
    if (input == 0) {
        printf("Could not open source file.\n");
        return 0;
    }
    fseek(input, 0, SEEK_END);
    size = ftell(input);
    rewind(input);
    buffer = (char*)malloc(size+1);
    read = fread(buffer, 1, size, input);
    buffer[size] = 0;
    fclose(input);
    
    // printf("Read %i of %i bytes.\n", read, size);

    if (size == 0) {
        printf("Unable to read source file.\n");
        return 0;
    }
    
    // count lines
    lineNumbers = (int*)malloc((size+1)*sizeof(int));
    line = 0;
    for (i = 0; i <= size; i++)
    {
        lineNumbers[i] = line;
        if (buffer[i] == '\n')
            line++;
    }

    // strip clean
    format = (char*)malloc(size+1);
    j = 0;
    for (i = 0; i < size; i++)
    {
        if (buffer[i] == '/' &&
            buffer[i+1] == '/')
        {
            // inline comments
            while (i < size && buffer[i] != '\n') i++;
            i--;
        }
        else if (buffer[i] == '/' &&
                 buffer[i+1] == '*')
        {
            // multiline comments
            i++; i++;
            while (i < size - 1 &&
                   (buffer[i] != '*' ||
                    buffer[i+1] != '/'))
            {
                i++;
            }
            i++;
        }
#ifdef IGNORE_MACROS
        else if (buffer[i] == '#')
        {
            while (i < size && buffer[i] != '\n') i++;
            i--;
        }
#endif
        else if (isSpace(buffer[i]))
        {
            // whitespace
            format[j] = ' ';
            lineNumbers[j] = lineNumbers[i];

            while (i < size && isSpace(buffer[i]))
            {
                if (buffer[i] == '\n') {
                    format[j] = '\n';
                    lineNumbers[j] = lineNumbers[i];
                }
                i++;
            }
            i--;
            j++;
        }
        else if (buffer[i] == '"' ||
                 buffer[i] == '\'')
        {
            char quote = buffer[i];
            // string
            format[j++] = buffer[i++];
            while (i < size - 1 && buffer[i] != quote)
            {
                if (buffer[i] == '\\')
                {
                    lineNumbers[j] = lineNumbers[i];
                    format[j++] = buffer[i++];
                }
                lineNumbers[j] = lineNumbers[i];
                format[j++] = buffer[i++];
            }
            lineNumbers[j] = lineNumbers[i];
            format[j++] = buffer[i];
        }
        else
        {
            // character
            lineNumbers[j] = lineNumbers[i];
            format[j] = buffer[i];
            j++;
        }
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
leaq 0x10(%rbp), %rax
movq %rax, -0x80(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq $0x0, -0x60(%rbp)
movq $0x0, -0x68(%rbp)
movq -0x10(%rbp), %rdi
leaq 0x4fec(%rip), %rsi      # 0xb142
callq 0x2100
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x6181
leaq 0x53b7(%rip), %rdi      # 0xb524
movb $0x0, %al
callq 0x2070
movq $0x0, -0x8(%rbp)
jmp 0x6bcc
movq -0x20(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $0x2, %edx
callq 0x20f0
movq -0x20(%rbp), %rdi
callq 0x20d0
movl %eax, -0x40(%rbp)
movq -0x20(%rbp), %rdi
callq 0x2080
movl -0x40(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rdi
callq 0x20e0
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rdi
movslq -0x40(%rbp), %rdx
movq -0x20(%rbp), %rcx
movl $0x1, %esi
callq 0x2040
movl %eax, -0x44(%rbp)
movq -0x28(%rbp), %rax
movslq -0x40(%rbp), %rcx
movb $0x0, (%rax,%rcx)
movq -0x20(%rbp), %rdi
callq 0x2050
cmpl $0x0, -0x40(%rbp)
jne 0x6209
leaq 0x534c(%rip), %rdi      # 0xb541
movb $0x0, %al
callq 0x2070
movq $0x0, -0x8(%rbp)
jmp 0x6bcc
movl -0x40(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rdi
shlq $0x2, %rdi
callq 0x20e0
movq %rax, -0x38(%rbp)
movl $0x0, -0x3c(%rbp)
movl $0x0, -0x48(%rbp)
movl -0x48(%rbp), %eax
cmpl -0x40(%rbp), %eax
jg 0x626a
movl -0x3c(%rbp), %edx
movq -0x38(%rbp), %rax
movslq -0x48(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -0x28(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0xa, %eax
jne 0x625d
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
jmp 0x625f
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x622d
movl -0x40(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rdi
callq 0x20e0
movq %rax, -0x30(%rbp)
movl $0x0, -0x4c(%rbp)
movl $0x0, -0x48(%rbp)
movl -0x48(%rbp), %eax
cmpl -0x40(%rbp), %eax
jge 0x66ab
movq -0x28(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x2f, %eax
jne 0x630c
movq -0x28(%rbp), %rax
movl -0x48(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x2f, %eax
jne 0x630c
jmp 0x62bf
movl -0x48(%rbp), %ecx
xorl %eax, %eax
cmpl -0x40(%rbp), %ecx
movb %al, -0x81(%rbp)
jge 0x62e7
movq -0x28(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0xa, %eax
setne %al
movb %al, -0x81(%rbp)
movb -0x81(%rbp), %al
testb $0x1, %al
jne 0x62f3
jmp 0x62fe
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x62bf
movl -0x48(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x669b
movq -0x28(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x2f, %eax
jne 0x63c9
movq -0x28(%rbp), %rax
movl -0x48(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x2a, %eax
jne 0x63c9
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
movl -0x48(%rbp), %ecx
movl -0x40(%rbp), %edx
subl $0x1, %edx
xorl %eax, %eax
cmpl %edx, %ecx
movb %al, -0x82(%rbp)
jge 0x63a4
movq -0x28(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
movb $0x1, %al
cmpl $0x2a, %ecx
movb %al, -0x83(%rbp)
jne 0x6398
movq -0x28(%rbp), %rax
movl -0x48(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x2f, %eax
setne %al
movb %al, -0x83(%rbp)
movb -0x83(%rbp), %al
movb %al, -0x82(%rbp)
movb -0x82(%rbp), %al
testb $0x1, %al
jne 0x63b0
jmp 0x63bb
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x634d
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x6699
movq -0x28(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x23, %eax
jne 0x6429
jmp 0x63dc
movl -0x48(%rbp), %ecx
xorl %eax, %eax
cmpl -0x40(%rbp), %ecx
movb %al, -0x84(%rbp)
jge 0x6404
movq -0x28(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0xa, %eax
setne %al
movb %al, -0x84(%rbp)
movb -0x84(%rbp), %al
testb $0x1, %al
jne 0x6410
jmp 0x641b
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x63dc
movl -0x48(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x6697
movq -0x28(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6070
cmpl $0x0, %eax
je 0x64f3
movq -0x30(%rbp), %rax
movslq -0x4c(%rbp), %rcx
movb $0x20, (%rax,%rcx)
movq -0x38(%rbp), %rax
movslq -0x48(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -0x38(%rbp), %rax
movslq -0x4c(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x48(%rbp), %ecx
xorl %eax, %eax
cmpl -0x40(%rbp), %ecx
movb %al, -0x85(%rbp)
jge 0x6492
movq -0x28(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6070
cmpl $0x0, %eax
setne %al
movb %al, -0x85(%rbp)
movb -0x85(%rbp), %al
testb $0x1, %al
jne 0x649e
jmp 0x64dc
movq -0x28(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0xa, %eax
jne 0x64d1
movq -0x30(%rbp), %rax
movslq -0x4c(%rbp), %rcx
movb $0xa, (%rax,%rcx)
movq -0x38(%rbp), %rax
movslq -0x48(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -0x38(%rbp), %rax
movslq -0x4c(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x6465
movl -0x48(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x48(%rbp)
movl -0x4c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4c(%rbp)
jmp 0x6695
movq -0x28(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x22, %eax
je 0x6519
movq -0x28(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x27, %eax
jne 0x665e
movq -0x28(%rbp), %rax
movslq -0x48(%rbp), %rcx
movb (%rax,%rcx), %al
movb %al, -0x69(%rbp)
movq -0x28(%rbp), %rax
movl -0x48(%rbp), %ecx
movl %ecx, %edx
addl $0x1, %edx
movl %edx, -0x48(%rbp)
movslq %ecx, %rcx
movb (%rax,%rcx), %dl
movq -0x30(%rbp), %rax
movl -0x4c(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x4c(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movl -0x48(%rbp), %ecx
movl -0x40(%rbp), %edx
subl $0x1, %edx
xorl %eax, %eax
cmpl %edx, %ecx
movb %al, -0x86(%rbp)
jge 0x6581
movq -0x28(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movsbl -0x69(%rbp), %ecx
cmpl %ecx, %eax
setne %al
movb %al, -0x86(%rbp)
movb -0x86(%rbp), %al
testb $0x1, %al
jne 0x6590
jmp 0x6626
movq -0x28(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x5c, %eax
jne 0x65e1
movq -0x38(%rbp), %rax
movslq -0x48(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -0x38(%rbp), %rax
movslq -0x4c(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -0x28(%rbp), %rax
movl -0x48(%rbp), %ecx
movl %ecx, %edx
addl $0x1, %edx
movl %edx, -0x48(%rbp)
movslq %ecx, %rcx
movb (%rax,%rcx), %dl
movq -0x30(%rbp), %rax
movl -0x4c(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x4c(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movq -0x38(%rbp), %rax
movslq -0x48(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -0x38(%rbp), %rax
movslq -0x4c(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -0x28(%rbp), %rax
movl -0x48(%rbp), %ecx
movl %ecx, %edx
addl $0x1, %edx
movl %edx, -0x48(%rbp)
movslq %ecx, %rcx
movb (%rax,%rcx), %dl
movq -0x30(%rbp), %rax
movl -0x4c(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x4c(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
jmp 0x6551
movq -0x38(%rbp), %rax
movslq -0x48(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -0x38(%rbp), %rax
movslq -0x4c(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -0x28(%rbp), %rax
movslq -0x48(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -0x30(%rbp), %rax
movl -0x4c(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x4c(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
jmp 0x6693
movq -0x38(%rbp), %rax
movslq -0x48(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -0x38(%rbp), %rax
movslq -0x4c(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -0x28(%rbp), %rax
movslq -0x48(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -0x30(%rbp), %rax
movslq -0x4c(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -0x4c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4c(%rbp)
jmp 0x6695
jmp 0x6697
jmp 0x6699
jmp 0x669b
jmp 0x669d
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x628a
movq -0x28(%rbp), %rdi
callq 0x2030
movq -0x30(%rbp), %rax
movslq -0x4c(%rbp), %rcx
movb $0x0, (%rax,%rcx)
movl -0x4c(%rbp), %eax
movl %eax, -0x40(%rbp)
movl $0x0, -0x48(%rbp)
movl -0x48(%rbp), %eax
cmpl -0x40(%rbp), %eax
jge 0x6b98
movq -0x38(%rbp), %rax
movslq -0x48(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x3c(%rbp)
movq -0x30(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x5fd0
cmpl $0x0, %eax
je 0x67e8
movl -0x48(%rbp), %eax
movl %eax, -0x50(%rbp)
movl -0x48(%rbp), %ecx
xorl %eax, %eax
cmpl -0x40(%rbp), %ecx
movb %al, -0x87(%rbp)
jge 0x677b
movq -0x30(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x5fd0
movl %eax, %ecx
movb $0x1, %al
cmpl $0x0, %ecx
movb %al, -0x88(%rbp)
jne 0x676f
movq -0x30(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6030
movl %eax, %ecx
movb $0x1, %al
cmpl $0x0, %ecx
movb %al, -0x88(%rbp)
jne 0x676f
movq -0x30(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x5f, %eax
sete %al
movb %al, -0x88(%rbp)
movb -0x88(%rbp), %al
movb %al, -0x87(%rbp)
movb -0x87(%rbp), %al
testb $0x1, %al
jne 0x6787
jmp 0x6795
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x6707
movq -0x80(%rbp), %rax
movl -0x48(%rbp), %ecx
movl %ecx, -0x54(%rbp)
movq -0x30(%rbp), %rdi
movl -0x50(%rbp), %esi
movl -0x54(%rbp), %edx
movl -0x3c(%rbp), %ecx
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movups 0x20(%rax), %xmm2
movq %rsp, %rax
movups %xmm2, 0x20(%rax)
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
callq 0x5ed0
movq %rax, %rdx
leaq -0x60(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x5a90
movl -0x48(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x6b88
movq -0x30(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6030
cmpl $0x0, %eax
je 0x691e
movl $0x0, -0x70(%rbp)
movl -0x48(%rbp), %eax
movl %eax, -0x50(%rbp)
movl -0x48(%rbp), %ecx
xorl %eax, %eax
cmpl -0x40(%rbp), %ecx
movb %al, -0x89(%rbp)
jge 0x683c
movq -0x30(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6030
cmpl $0x0, %eax
setne %al
movb %al, -0x89(%rbp)
movb -0x89(%rbp), %al
testb $0x1, %al
jne 0x6848
jmp 0x6853
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x680f
movq -0x30(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x2e, %eax
jne 0x68e8
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
movl -0x48(%rbp), %ecx
xorl %eax, %eax
cmpl -0x40(%rbp), %ecx
movb %al, -0x8a(%rbp)
jge 0x689e
movq -0x30(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6030
cmpl $0x0, %eax
setne %al
movb %al, -0x8a(%rbp)
movb -0x8a(%rbp), %al
testb $0x1, %al
jne 0x68aa
jmp 0x68b5
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x6871
movl -0x48(%rbp), %eax
movl %eax, -0x54(%rbp)
movq -0x30(%rbp), %rdi
movl -0x50(%rbp), %esi
movl -0x54(%rbp), %edx
movl -0x3c(%rbp), %ecx
callq 0x5ca0
movq %rax, %rdx
leaq -0x60(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x5a90
movl -0x48(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x6919
movl -0x48(%rbp), %eax
movl %eax, -0x54(%rbp)
movq -0x30(%rbp), %rdi
movl -0x50(%rbp), %esi
movl -0x54(%rbp), %edx
movl -0x3c(%rbp), %ecx
callq 0x5c20
movq %rax, %rdx
leaq -0x60(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x5a90
movl -0x48(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x6b86
movq -0x30(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x22, %eax
je 0x6944
movq -0x30(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x27, %eax
jne 0x69e3
movq -0x30(%rbp), %rax
movslq -0x48(%rbp), %rcx
movb (%rax,%rcx), %al
movb %al, -0x71(%rbp)
movl -0x48(%rbp), %eax
movl %eax, %ecx
addl $0x1, %ecx
movl %ecx, -0x48(%rbp)
movl %eax, -0x50(%rbp)
movl -0x48(%rbp), %ecx
xorl %eax, %eax
cmpl -0x40(%rbp), %ecx
movb %al, -0x8b(%rbp)
jge 0x698b
movq -0x30(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movsbl -0x71(%rbp), %ecx
cmpl %ecx, %eax
setne %al
movb %al, -0x8b(%rbp)
movb -0x8b(%rbp), %al
testb $0x1, %al
jne 0x6997
jmp 0x69a2
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x6960
movl -0x48(%rbp), %eax
movl %eax, %ecx
addl $0x1, %ecx
movl %ecx, -0x48(%rbp)
movl %eax, -0x54(%rbp)
movq -0x30(%rbp), %rdi
movl -0x50(%rbp), %esi
movl -0x54(%rbp), %edx
addl $0x1, %edx
movl -0x3c(%rbp), %ecx
callq 0x5d20
movq %rax, %rdx
leaq -0x60(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x5a90
movl -0x48(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x6b84
movq -0x30(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x60c0
cmpl $0x0, %eax
je 0x6aff
movl -0x48(%rbp), %eax
movl %eax, -0x50(%rbp)
movl $0x0, -0x54(%rbp)
movl -0x48(%rbp), %ecx
xorl %eax, %eax
cmpl -0x40(%rbp), %ecx
movb %al, -0x8c(%rbp)
jge 0x6a37
movq -0x30(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x60c0
cmpl $0x0, %eax
setne %al
movb %al, -0x8c(%rbp)
movb -0x8c(%rbp), %al
testb $0x1, %al
jne 0x6a43
jmp 0x6a8f
movq -0x80(%rbp), %rax
movl -0x48(%rbp), %ecx
addl $0x1, %ecx
movl %ecx, -0x48(%rbp)
movq -0x30(%rbp), %rdi
movslq -0x50(%rbp), %rcx
addq %rcx, %rdi
movl -0x48(%rbp), %esi
subl -0x50(%rbp), %esi
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movups 0x20(%rax), %xmm2
movq %rsp, %rax
movups %xmm2, 0x20(%rax)
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
callq 0x47d0
cmpl $0x0, %eax
je 0x6a8a
movl -0x48(%rbp), %eax
movl %eax, -0x54(%rbp)
jmp 0x6a0a
cmpl $0x0, -0x54(%rbp)
je 0x6aa0
movl -0x54(%rbp), %eax
movl %eax, -0x90(%rbp)
jmp 0x6aa9
movl -0x48(%rbp), %eax
movl %eax, -0x90(%rbp)
movq -0x80(%rbp), %rax
movl -0x90(%rbp), %ecx
movl %ecx, -0x54(%rbp)
movq -0x30(%rbp), %rdi
movl -0x50(%rbp), %esi
movl -0x54(%rbp), %edx
movl -0x3c(%rbp), %ecx
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movups 0x20(%rax), %xmm2
movq %rsp, %rax
movups %xmm2, 0x20(%rax)
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
callq 0x5da0
movq %rax, %rdx
leaq -0x60(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x5a90
movl -0x54(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x6b82
movq -0x30(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0xa, %eax
jne 0x6b12
jmp 0x6b80
movq -0x30(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x20, %eax
jne 0x6b25
jmp 0x6b7e
movq -0x60(%rbp), %rdi
callq 0x6be0
movl -0x3c(%rbp), %esi
addl $0x1, %esi
leaq 0x4a23(%rip), %rdi      # 0xb55e
movb $0x0, %al
callq 0x2070
movq -0x30(%rbp), %rax
movslq -0x48(%rbp), %rcx
movsbl (%rax,%rcx), %esi
leaq 0x4a23(%rip), %rdi      # 0xb578
movb $0x0, %al
callq 0x2070
movq -0x60(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0x6ce0
movq -0x18(%rbp), %rax
movq $0x0, (%rax)
movq $0x0, -0x8(%rbp)
jmp 0x6bcc
jmp 0x6b80
jmp 0x6b82
jmp 0x6b84
jmp 0x6b86
jmp 0x6b88
jmp 0x6b8a
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x66cd
movl -0x3c(%rbp), %edi
callq 0x5b60
movq %rax, %rdx
leaq -0x60(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x5a90
movq -0x38(%rbp), %rdi
callq 0x2030
movq -0x30(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
movq -0x60(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0xc0, %rsp
popq %rbp
retq
nopl (%rax)