// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/io.c
// Function: parasail_matrix_from_file_internal
static parasail_matrix_t* parasail_matrix_from_file_internal(const char *filename, int case_sensitive)
{
    parasail_matrix_t *retval = NULL;
    int *matrix = NULL;
    size_t matrix_i = 0;
    size_t matrix_capacity = 0;
    int *mapper = NULL;
    char *alphabet = NULL;
    char *alphabet_query = NULL;
    size_t alphabet_query_i = 0;
    size_t alphabet_query_capacity = 0;
    parasail_file_t *pf = NULL;
    const char *T = NULL;
    off_t i = 0;
    off_t size = 0;
    int first_alpha = 1;
    size_t count = 0;
    size_t asize = 0;
    int max = INT_MIN;
    int min = INT_MAX;
    size_t c = 0;
    int type = PARASAIL_MATRIX_TYPE_SQUARE;

    if (NULL == filename) {
        fprintf(stderr, "parasail_matrix_from_file: NULL pointer\n");
        return NULL;
    }

    pf = parasail_open(filename);
    if (NULL == pf) {
        fprintf(stderr, "parasail_matrix_from_file: "
                "parasail_open(%s) failed\n", filename);
        return NULL;
    }
    T = pf->buf;
    size = pf->size;

    while (i<size) {
        if (T[i] == '#') {
            /* ignore comments */
            i = skip_line(T, i);
        }
        else if (isalnum(T[i]) || T[i] == '*' || T[i] == '-') {
            if (first_alpha) {
                first_alpha = 0;
                alphabet = get_alphabet(T, i, size);
                if (NULL == alphabet) {
                    fprintf(stderr, "parasail_matrix_from_file: "
                            "poorly formed matrix file alphabet\n");
                    parasail_close(pf);
                    return NULL;
                }
                asize = strlen(alphabet);
                matrix_capacity = asize*asize;
                matrix = (int*)malloc(sizeof(int)*matrix_capacity);
                if (NULL == matrix) {
                    perror("malloc");
                    fprintf(stderr, "parasail_matrix_from_file: "
                            "cannont malloc buffer for matrix\n");
                    free(alphabet);
                    parasail_close(pf);
                    return NULL;
                }
                alphabet_query_capacity = asize;
                alphabet_query = (char*)malloc(sizeof(char)*(alphabet_query_capacity+1));
                if (NULL == alphabet_query) {
                    perror("malloc");
                    fprintf(stderr, "parasail_matrix_from_file: "
                            "cannont malloc buffer for matrix alphabet\n");
                    free(matrix);
                    free(alphabet);
                    parasail_close(pf);
                    return NULL;
                }
                i = skip_line(T, i);
            }
            else {
                size_t j=0;
                /* store the letter */
                if (alphabet_query_i >= alphabet_query_capacity) {
                    alphabet_query_capacity *= 2;
                    alphabet_query = realloc(alphabet_query, sizeof(char)*(alphabet_query_capacity+1));
                    if (NULL == alphabet_query) {
                        perror("realloc");
                        fprintf(stderr, "parasail_matrix_from_file: "
                                "couldn't grow query size\n");
                        if (alphabet) free(alphabet);
                        if (alphabet_query) free(alphabet_query);
                        if (matrix) free(matrix);
                        parasail_close(pf);
                        return NULL;
                    }
                }
                ++count;
                /* allow PSSM matrix to omit query */
                if (isalpha(T[i]) || T[i] == '*') {
                    alphabet_query[alphabet_query_i++] = T[i];
                    ++i; /* skip over the letter */
                }
                else {
                    alphabet_query[alphabet_query_i++] = '*';
                    /* don't increment read index i */
                }
                for (j=0; j<asize; ++j) {
                    int val = 0;
                    int retcode = get_num(T, &i, &val);
                    if (-1 == retcode) {
                        fprintf(stderr, "parasail_matrix_from_file: "
                                "poorly formed matrix file\n");
                        if (alphabet) free(alphabet);
                        if (alphabet_query) free(alphabet_query);
                        if (matrix) free(matrix);
                        parasail_close(pf);
                        return NULL;
                    }
                    if (matrix_i >= matrix_capacity) {
                        matrix_capacity *= 2;
                        matrix = realloc(matrix, sizeof(int)*matrix_capacity);
                        if (NULL == matrix) {
                            perror("realloc");
                            fprintf(stderr, "parasail_matrix_from_file: "
                                    "couldn't grow matrix size\n");
                            if (alphabet) free(alphabet);
                            if (alphabet_query) free(alphabet_query);
                            if (matrix) free(matrix);
                            parasail_close(pf);
                            return NULL;
                        }
                    }
                    matrix[matrix_i++] = val;
                    max = val > max ? val : max;
                    min = val < min ? val : min;
                }
            }
        }
        else if (T[i] == '\n' || T[i] == '\r') {
            /* ignore newline */
            /* for the case of "\r\n" or "\n\r" */
            if (i+1<size && (T[i+1] == '\n' || T[i+1] == '\r')) {
                ++i;
            }
        }
        else if (T[i] == ' ' || T[i] == '\t') {
            /* ignore spaces and tabs */
        }
        else if (isprint(T[i])) {
            fprintf(stderr, "parasail_matrix_from_file: "
                    "non-alpha character in matrix file ('%c')\n", T[i]);
            if (alphabet) free(alphabet);
            if (alphabet_query) free(alphabet_query);
            if (matrix) free(matrix);
            parasail_close(pf);
            return NULL;
        }
        else {
            fprintf(stderr, "parasail_matrix_from_file: "
                    "non-printing character in matrix file ('%d')\n", T[i]);
            if (alphabet) free(alphabet);
            if (alphabet_query) free(alphabet_query);
            if (matrix) free(matrix);
            parasail_close(pf);
            return NULL;
        }
        ++i;
    }

    parasail_close(pf);

    /* we consider this a square matrix if alphabet sizes match and are identical */
    alphabet_query[alphabet_query_i] = '\0';
    if (asize == alphabet_query_i && 0 == strcmp(alphabet, alphabet_query)) {
        /* square */
        if (matrix_i != asize*asize) {
            fprintf(stderr, "parasail_matrix_from_file: "
                    "matrix is missing values\n");
            free(alphabet);
            free(alphabet_query);
            free(matrix);
            return NULL;
        }
        if (count != asize) {
            fprintf(stderr, "parasail_matrix_from_file: "
                    "matrix is missing rows\n");
            free(alphabet);
            free(alphabet_query);
            free(matrix);
            return NULL;
        }
    }
    else {
        /* PSSM */
        type = PARASAIL_MATRIX_TYPE_PSSM;
        if (matrix_i != asize*count) {
            fprintf(stderr, "parasail_matrix_from_file: "
                    "matrix is missing values\n");
            free(alphabet);
            free(alphabet_query);
            free(matrix);
            return NULL;
        }
    }

    mapper = (int*)malloc(sizeof(int)*256);
    if (NULL == mapper) {
        perror("malloc");
        fprintf(stderr, "parasail_matrix_from_file: "
                "cannont malloc mapper buffer for matrix file `%s'\n",
                filename);
        free(alphabet);
        free(alphabet_query);
        free(matrix);
        return NULL;
    }
    parasail_memset_int(mapper, asize-1, 256);
    if (case_sensitive) {
        for (c=0; c<asize; ++c) {
            mapper[(unsigned char)alphabet[c]] = (int)c;
        }
    }
    else {
        for (c=0; c<asize; ++c) {
            mapper[toupper((unsigned char)alphabet[c])] = (int)c;
            mapper[tolower((unsigned char)alphabet[c])] = (int)c;
        }
    }

    retval = (parasail_matrix_t*)malloc(sizeof(parasail_matrix_t));
    if (NULL == retval) {
        perror("malloc");
        fprintf(stderr, "parasail_matrix_from_file: "
                "cannont malloc buffer for matrix file `%s'\n", filename);
        free(matrix);
        return NULL;
    }

    retval->name = filename;
    retval->matrix = matrix;
    retval->mapper = mapper;
    retval->size = (int)asize;
    retval->max = max;
    retval->min = min;
    retval->user_matrix = matrix;
    retval->type = type;
    retval->length = (int)count;
    retval->alphabet = alphabet;
    retval->query = alphabet_query;
    return retval;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq $0x0, -0x20(%rbp)
movq $0x0, -0x28(%rbp)
movq $0x0, -0x30(%rbp)
movq $0x0, -0x38(%rbp)
movq $0x0, -0x40(%rbp)
movq $0x0, -0x48(%rbp)
movq $0x0, -0x50(%rbp)
movq $0x0, -0x58(%rbp)
movq $0x0, -0x60(%rbp)
movq $0x0, -0x68(%rbp)
movq $0x0, -0x70(%rbp)
movq $0x0, -0x78(%rbp)
movq $0x0, -0x80(%rbp)
movl $0x1, -0x84(%rbp)
movq $0x0, -0x90(%rbp)
movq $0x0, -0x98(%rbp)
movl $0x80000000, -0x9c(%rbp) # imm = 0x80000000
movl $0x7fffffff, -0xa0(%rbp) # imm = 0x7FFFFFFF
movq $0x0, -0xa8(%rbp)
movl $0x0, -0xac(%rbp)
xorl %eax, %eax
cmpq -0x10(%rbp), %rax
jne 0x1f5ec0
movq 0xc2c136(%rip), %rax    # 0xe21fd8
movq (%rax), %rdi
leaq 0xb0c546(%rip), %rsi    # 0xd023f2
movb $0x0, %al
callq 0x1f01f0
movq $0x0, -0x8(%rbp)
jmp 0x1f6997
movq -0x10(%rbp), %rdi
callq 0x1f4140
movq %rax, -0x68(%rbp)
xorl %eax, %eax
cmpq -0x68(%rbp), %rax
jne 0x1f5efe
movq 0xc2c0fc(%rip), %rax    # 0xe21fd8
movq (%rax), %rdi
movq -0x10(%rbp), %rdx
leaq 0xb0c531(%rip), %rsi    # 0xd0241b
movb $0x0, %al
callq 0x1f01f0
movq $0x0, -0x8(%rbp)
jmp 0x1f6997
movq -0x68(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x70(%rbp)
movq -0x68(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x80(%rbp)
movq -0x78(%rbp), %rax
cmpq -0x80(%rbp), %rax
jge 0x1f65cc
movq -0x70(%rbp), %rax
movq -0x78(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x23, %eax
jne 0x1f5f4b
movq -0x70(%rbp), %rdi
movq -0x78(%rbp), %rsi
callq 0x1f5000
movq %rax, -0x78(%rbp)
jmp 0x1f65bb
callq 0x1f0170
movq (%rax), %rax
movq -0x70(%rbp), %rcx
movq -0x78(%rbp), %rdx
movsbl (%rcx,%rdx), %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x8, %eax
cmpl $0x0, %eax
jne 0x1f5f94
movq -0x70(%rbp), %rax
movq -0x78(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x2a, %eax
je 0x1f5f94
movq -0x70(%rbp), %rax
movq -0x78(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x2d, %eax
jne 0x1f6430
cmpl $0x0, -0x84(%rbp)
je 0x1f60ff
movl $0x0, -0x84(%rbp)
movq -0x70(%rbp), %rdi
movq -0x78(%rbp), %rsi
movq -0x80(%rbp), %rdx
callq 0x1f6a20
movq %rax, -0x48(%rbp)
xorl %eax, %eax
cmpq -0x48(%rbp), %rax
jne 0x1f5ff6
movq 0xc2c009(%rip), %rax    # 0xe21fd8
movq (%rax), %rdi
leaq 0xb0c477(%rip), %rsi    # 0xd02450
movb $0x0, %al
callq 0x1f01f0
movq -0x68(%rbp), %rdi
callq 0x1f4320
movq $0x0, -0x8(%rbp)
jmp 0x1f6997
movq -0x48(%rbp), %rdi
callq 0x1f0080
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
imulq -0x98(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rdi
shlq $0x2, %rdi
callq 0x1f01c0
movq %rax, -0x28(%rbp)
xorl %eax, %eax
cmpq -0x28(%rbp), %rax
jne 0x1f6075
leaq 0xb0bb36(%rip), %rdi    # 0xd01b6f
callq 0x1f0120
movq 0xc2bf93(%rip), %rax    # 0xe21fd8
movq (%rax), %rdi
leaq 0xb0c440(%rip), %rsi    # 0xd0248f
movb $0x0, %al
callq 0x1f01f0
movq -0x48(%rbp), %rdi
callq 0x1f01a0
movq -0x68(%rbp), %rdi
callq 0x1f4320
movq $0x0, -0x8(%rbp)
jmp 0x1f6997
movq -0x98(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rdi
addq $0x1, %rdi
shlq $0x0, %rdi
callq 0x1f01c0
movq %rax, -0x50(%rbp)
xorl %eax, %eax
cmpq -0x50(%rbp), %rax
jne 0x1f60e9
leaq 0xb0bacb(%rip), %rdi    # 0xd01b6f
callq 0x1f0120
movq 0xc2bf28(%rip), %rax    # 0xe21fd8
movq (%rax), %rdi
leaq 0xb0c412(%rip), %rsi    # 0xd024cc
movb $0x0, %al
callq 0x1f01f0
movq -0x28(%rbp), %rdi
callq 0x1f01a0
movq -0x48(%rbp), %rdi
callq 0x1f01a0
movq -0x68(%rbp), %rdi
callq 0x1f4320
movq $0x0, -0x8(%rbp)
jmp 0x1f6997
movq -0x70(%rbp), %rdi
movq -0x78(%rbp), %rsi
callq 0x1f5000
movq %rax, -0x78(%rbp)
jmp 0x1f642b
movq $0x0, -0xb8(%rbp)
movq -0x58(%rbp), %rax
cmpq -0x60(%rbp), %rax
jb 0x1f61b0
movq -0x60(%rbp), %rax
shlq %rax
movq %rax, -0x60(%rbp)
movq -0x50(%rbp), %rdi
movq -0x60(%rbp), %rsi
addq $0x1, %rsi
shlq $0x0, %rsi
callq 0x1f0240
movq %rax, -0x50(%rbp)
xorl %eax, %eax
cmpq -0x50(%rbp), %rax
jne 0x1f61ae
leaq 0xb0c3c7(%rip), %rdi    # 0xd02512
callq 0x1f0120
movq 0xc2be81(%rip), %rax    # 0xe21fd8
movq (%rax), %rdi
leaq 0xb0c3b9(%rip), %rsi    # 0xd0251a
movb $0x0, %al
callq 0x1f01f0
cmpq $0x0, -0x48(%rbp)
je 0x1f6178
movq -0x48(%rbp), %rdi
callq 0x1f01a0
cmpq $0x0, -0x50(%rbp)
je 0x1f6188
movq -0x50(%rbp), %rdi
callq 0x1f01a0
cmpq $0x0, -0x28(%rbp)
je 0x1f6198
movq -0x28(%rbp), %rdi
callq 0x1f01a0
movq -0x68(%rbp), %rdi
callq 0x1f4320
movq $0x0, -0x8(%rbp)
jmp 0x1f6997
jmp 0x1f61b0
movq -0x90(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x90(%rbp)
callq 0x1f0170
movq (%rax), %rax
movq -0x70(%rbp), %rcx
movq -0x78(%rbp), %rdx
movsbl (%rcx,%rdx), %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x400, %eax            # imm = 0x400
cmpl $0x0, %eax
jne 0x1f61f8
movq -0x70(%rbp), %rax
movq -0x78(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x2a, %eax
jne 0x1f6227
movq -0x70(%rbp), %rax
movq -0x78(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -0x50(%rbp), %rax
movq -0x58(%rbp), %rcx
movq %rcx, %rsi
addq $0x1, %rsi
movq %rsi, -0x58(%rbp)
movb %dl, (%rax,%rcx)
movq -0x78(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x78(%rbp)
jmp 0x1f623e
movq -0x50(%rbp), %rax
movq -0x58(%rbp), %rcx
movq %rcx, %rdx
addq $0x1, %rdx
movq %rdx, -0x58(%rbp)
movb $0x2a, (%rax,%rcx)
movq $0x0, -0xb8(%rbp)
movq -0xb8(%rbp), %rax
cmpq -0x98(%rbp), %rax
jae 0x1f6429
movl $0x0, -0xbc(%rbp)
movq -0x70(%rbp), %rdi
leaq -0x78(%rbp), %rsi
leaq -0xbc(%rbp), %rdx
callq 0x1f6c80
movl %eax, -0xc0(%rbp)
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmpl -0xc0(%rbp), %eax
jne 0x1f62ec
movq 0xc2bd43(%rip), %rax    # 0xe21fd8
movq (%rax), %rdi
leaq 0xb0c2b0(%rip), %rsi    # 0xd0254f
movb $0x0, %al
callq 0x1f01f0
cmpq $0x0, -0x48(%rbp)
je 0x1f62b6
movq -0x48(%rbp), %rdi
callq 0x1f01a0
cmpq $0x0, -0x50(%rbp)
je 0x1f62c6
movq -0x50(%rbp), %rdi
callq 0x1f01a0
cmpq $0x0, -0x28(%rbp)
je 0x1f62d6
movq -0x28(%rbp), %rdi
callq 0x1f01a0
movq -0x68(%rbp), %rdi
callq 0x1f4320
movq $0x0, -0x8(%rbp)
jmp 0x1f6997
movq -0x30(%rbp), %rax
cmpq -0x38(%rbp), %rax
jb 0x1f638e
movq -0x38(%rbp), %rax
shlq %rax
movq %rax, -0x38(%rbp)
movq -0x28(%rbp), %rdi
movq -0x38(%rbp), %rsi
shlq $0x2, %rsi
callq 0x1f0240
movq %rax, -0x28(%rbp)
xorl %eax, %eax
cmpq -0x28(%rbp), %rax
jne 0x1f638c
leaq 0xb0c1e9(%rip), %rdi    # 0xd02512
callq 0x1f0120
movq 0xc2bca3(%rip), %rax    # 0xe21fd8
movq (%rax), %rdi
leaq 0xb0c246(%rip), %rsi    # 0xd02585
movb $0x0, %al
callq 0x1f01f0
cmpq $0x0, -0x48(%rbp)
je 0x1f6356
movq -0x48(%rbp), %rdi
callq 0x1f01a0
cmpq $0x0, -0x50(%rbp)
je 0x1f6366
movq -0x50(%rbp), %rdi
callq 0x1f01a0
cmpq $0x0, -0x28(%rbp)
je 0x1f6376
movq -0x28(%rbp), %rdi
callq 0x1f01a0
movq -0x68(%rbp), %rdi
callq 0x1f4320
movq $0x0, -0x8(%rbp)
jmp 0x1f6997
jmp 0x1f638e
movl -0xbc(%rbp), %edx
movq -0x28(%rbp), %rax
movq -0x30(%rbp), %rcx
movq %rcx, %rsi
addq $0x1, %rsi
movq %rsi, -0x30(%rbp)
movl %edx, (%rax,%rcx,4)
movl -0xbc(%rbp), %eax
cmpl -0x9c(%rbp), %eax
jle 0x1f63c6
movl -0xbc(%rbp), %eax
movl %eax, -0xc4(%rbp)
jmp 0x1f63d2
movl -0x9c(%rbp), %eax
movl %eax, -0xc4(%rbp)
movl -0xc4(%rbp), %eax
movl %eax, -0x9c(%rbp)
movl -0xbc(%rbp), %eax
cmpl -0xa0(%rbp), %eax
jge 0x1f63fa
movl -0xbc(%rbp), %eax
movl %eax, -0xc8(%rbp)
jmp 0x1f6406
movl -0xa0(%rbp), %eax
movl %eax, -0xc8(%rbp)
movl -0xc8(%rbp), %eax
movl %eax, -0xa0(%rbp)
movq -0xb8(%rbp), %rax
addq $0x1, %rax
movq %rax, -0xb8(%rbp)
jmp 0x1f6249
jmp 0x1f642b
jmp 0x1f65b9
movq -0x70(%rbp), %rax
movq -0x78(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0xa, %eax
je 0x1f6452
movq -0x70(%rbp), %rax
movq -0x78(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0xd, %eax
jne 0x1f6495
movq -0x78(%rbp), %rax
addq $0x1, %rax
cmpq -0x80(%rbp), %rax
jge 0x1f6490
movq -0x70(%rbp), %rax
movq -0x78(%rbp), %rcx
movsbl 0x1(%rax,%rcx), %eax
cmpl $0xa, %eax
je 0x1f6484
movq -0x70(%rbp), %rax
movq -0x78(%rbp), %rcx
movsbl 0x1(%rax,%rcx), %eax
cmpl $0xd, %eax
jne 0x1f6490
movq -0x78(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x78(%rbp)
jmp 0x1f65b7
movq -0x70(%rbp), %rax
movq -0x78(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x20, %eax
je 0x1f64b7
movq -0x70(%rbp), %rax
movq -0x78(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x9, %eax
jne 0x1f64bc
jmp 0x1f65b5
callq 0x1f0170
movq (%rax), %rax
movq -0x70(%rbp), %rcx
movq -0x78(%rbp), %rdx
movsbl (%rcx,%rdx), %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x4000, %eax           # imm = 0x4000
cmpl $0x0, %eax
je 0x1f654b
movq 0xc2baf0(%rip), %rax    # 0xe21fd8
movq (%rax), %rdi
movq -0x70(%rbp), %rax
movq -0x78(%rbp), %rcx
movsbl (%rax,%rcx), %edx
leaq 0xb0c0bd(%rip), %rsi    # 0xd025bb
movb $0x0, %al
callq 0x1f01f0
cmpq $0x0, -0x48(%rbp)
je 0x1f6515
movq -0x48(%rbp), %rdi
callq 0x1f01a0
cmpq $0x0, -0x50(%rbp)
je 0x1f6525
movq -0x50(%rbp), %rdi
callq 0x1f01a0
cmpq $0x0, -0x28(%rbp)
je 0x1f6535
movq -0x28(%rbp), %rdi
callq 0x1f01a0
movq -0x68(%rbp), %rdi
callq 0x1f4320
movq $0x0, -0x8(%rbp)
jmp 0x1f6997
movq 0xc2ba86(%rip), %rax    # 0xe21fd8
movq (%rax), %rdi
movq -0x70(%rbp), %rax
movq -0x78(%rbp), %rcx
movsbl (%rax,%rcx), %edx
leaq 0xb0c099(%rip), %rsi    # 0xd02601
movb $0x0, %al
callq 0x1f01f0
cmpq $0x0, -0x48(%rbp)
je 0x1f657f
movq -0x48(%rbp), %rdi
callq 0x1f01a0
cmpq $0x0, -0x50(%rbp)
je 0x1f658f
movq -0x50(%rbp), %rdi
callq 0x1f01a0
cmpq $0x0, -0x28(%rbp)
je 0x1f659f
movq -0x28(%rbp), %rdi
callq 0x1f01a0
movq -0x68(%rbp), %rdi
callq 0x1f4320
movq $0x0, -0x8(%rbp)
jmp 0x1f6997
jmp 0x1f65b7
jmp 0x1f65b9
jmp 0x1f65bb
movq -0x78(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x78(%rbp)
jmp 0x1f5f16
movq -0x68(%rbp), %rdi
callq 0x1f4320
movq -0x50(%rbp), %rax
movq -0x58(%rbp), %rcx
movb $0x0, (%rax,%rcx)
movq -0x98(%rbp), %rax
cmpq -0x58(%rbp), %rax
jne 0x1f66b5
movq -0x48(%rbp), %rdi
movq -0x50(%rbp), %rsi
callq 0x1f01d0
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne 0x1f66b5
movq -0x30(%rbp), %rax
movq -0x98(%rbp), %rcx
imulq -0x98(%rbp), %rcx
cmpq %rcx, %rax
je 0x1f6663
movq 0xc2b9ae(%rip), %rax    # 0xe21fd8
movq (%rax), %rdi
leaq 0xb0c016(%rip), %rsi    # 0xd0264a
movb $0x0, %al
callq 0x1f01f0
movq -0x48(%rbp), %rdi
callq 0x1f01a0
movq -0x50(%rbp), %rdi
callq 0x1f01a0
movq -0x28(%rbp), %rdi
callq 0x1f01a0
movq $0x0, -0x8(%rbp)
jmp 0x1f6997
movq -0x90(%rbp), %rax
cmpq -0x98(%rbp), %rax
je 0x1f66b3
movq 0xc2b95e(%rip), %rax    # 0xe21fd8
movq (%rax), %rdi
leaq 0xb0bffb(%rip), %rsi    # 0xd0267f
movb $0x0, %al
callq 0x1f01f0
movq -0x48(%rbp), %rdi
callq 0x1f01a0
movq -0x50(%rbp), %rdi
callq 0x1f01a0
movq -0x28(%rbp), %rdi
callq 0x1f01a0
movq $0x0, -0x8(%rbp)
jmp 0x1f6997
jmp 0x1f6719
movl $0x1, -0xac(%rbp)
movq -0x30(%rbp), %rax
movq -0x98(%rbp), %rcx
imulq -0x90(%rbp), %rcx
cmpq %rcx, %rax
je 0x1f6717
movq 0xc2b8fa(%rip), %rax    # 0xe21fd8
movq (%rax), %rdi
leaq 0xb0bf62(%rip), %rsi    # 0xd0264a
movb $0x0, %al
callq 0x1f01f0
movq -0x48(%rbp), %rdi
callq 0x1f01a0
movq -0x50(%rbp), %rdi
callq 0x1f01a0
movq -0x28(%rbp), %rdi
callq 0x1f01a0
movq $0x0, -0x8(%rbp)
jmp 0x1f6997
jmp 0x1f6719
movl $0x400, %edi            # imm = 0x400
callq 0x1f01c0
movq %rax, -0x40(%rbp)
xorl %eax, %eax
cmpq -0x40(%rbp), %rax
jne 0x1f677f
leaq 0xb0b439(%rip), %rdi    # 0xd01b6f
callq 0x1f0120
movq 0xc2b896(%rip), %rax    # 0xe21fd8
movq (%rax), %rdi
movq -0x10(%rbp), %rdx
leaq 0xb0bf62(%rip), %rsi    # 0xd026b2
movb $0x0, %al
callq 0x1f01f0
movq -0x48(%rbp), %rdi
callq 0x1f01a0
movq -0x50(%rbp), %rdi
callq 0x1f01a0
movq -0x28(%rbp), %rdi
callq 0x1f01a0
movq $0x0, -0x8(%rbp)
jmp 0x1f6997
movq -0x40(%rbp), %rdi
movq -0x98(%rbp), %rax
subq $0x1, %rax
movl %eax, %esi
movl $0x100, %edx            # imm = 0x100
callq 0x1f70d0
cmpl $0x0, -0x14(%rbp)
je 0x1f67f3
movq $0x0, -0xa8(%rbp)
movq -0xa8(%rbp), %rax
cmpq -0x98(%rbp), %rax
jae 0x1f67ee
movq -0xa8(%rbp), %rax
movl %eax, %edx
movq -0x40(%rbp), %rax
movq -0x48(%rbp), %rcx
movq -0xa8(%rbp), %rsi
movzbl (%rcx,%rsi), %ecx
movl %edx, (%rax,%rcx,4)
movq -0xa8(%rbp), %rax
addq $0x1, %rax
movq %rax, -0xa8(%rbp)
jmp 0x1f67ab
jmp 0x1f68ad
movq $0x0, -0xa8(%rbp)
movq -0xa8(%rbp), %rax
cmpq -0x98(%rbp), %rax
jae 0x1f68ab
movq -0xa8(%rbp), %rax
movl %eax, -0xe4(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0x48(%rbp), %rax
movq -0xa8(%rbp), %rcx
movzbl (%rax,%rcx), %edi
callq 0x1f0280
movl -0xe4(%rbp), %edx
movl %eax, %ecx
movq -0xe0(%rbp), %rax
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movq -0xa8(%rbp), %rax
movl %eax, -0xd4(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0x48(%rbp), %rax
movq -0xa8(%rbp), %rcx
movzbl (%rax,%rcx), %edi
callq 0x1f0210
movl -0xd4(%rbp), %edx
movl %eax, %ecx
movq -0xd0(%rbp), %rax
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movq -0xa8(%rbp), %rax
addq $0x1, %rax
movq %rax, -0xa8(%rbp)
jmp 0x1f67fe
jmp 0x1f68ad
movl $0x48, %edi
callq 0x1f01c0
movq %rax, -0x20(%rbp)
xorl %eax, %eax
cmpq -0x20(%rbp), %rax
jne 0x1f6901
leaq 0xb0b2a5(%rip), %rdi    # 0xd01b6f
callq 0x1f0120
movq 0xc2b702(%rip), %rax    # 0xe21fd8
movq (%rax), %rdi
movq -0x10(%rbp), %rdx
leaq 0xb0be1c(%rip), %rsi    # 0xd02700
movb $0x0, %al
callq 0x1f01f0
movq -0x28(%rbp), %rdi
callq 0x1f01a0
movq $0x0, -0x8(%rbp)
jmp 0x1f6997
movq -0x10(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
movq -0x28(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x40(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x98(%rbp), %rax
movl %eax, %ecx
movq -0x20(%rbp), %rax
movl %ecx, 0x18(%rax)
movl -0x9c(%rbp), %ecx
movq -0x20(%rbp), %rax
movl %ecx, 0x1c(%rax)
movl -0xa0(%rbp), %ecx
movq -0x20(%rbp), %rax
movl %ecx, 0x20(%rax)
movq -0x28(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x28(%rax)
movl -0xac(%rbp), %ecx
movq -0x20(%rbp), %rax
movl %ecx, 0x30(%rax)
movq -0x90(%rbp), %rax
movl %eax, %ecx
movq -0x20(%rbp), %rax
movl %ecx, 0x34(%rax)
movq -0x48(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x38(%rax)
movq -0x50(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x40(%rax)
movq -0x20(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0xf0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)