// File: /workspace/github_c_makefile_star2_O1/stanfordnlp[P]GloVe/src/cooccur.c
// Function: get_cooccurrence
int get_cooccurrence(void) {
    int flag, x, y, fidcounter = 1;
    long long a, j = 0, k, id, counter = 0, ind = 0, vocab_size, w1, w2, *lookup = NULL, *history = NULL;
    char format[20], filename[200], str[MAX_STRING_LENGTH + 1];
    FILE *fid, *foverflow;
    real *bigram_table = NULL, r;
    HASHREC *htmp, **vocab_hash = inithashtable();
    CREC *cr = malloc(sizeof(CREC) * (overflow_length + 1));
    history = malloc(sizeof(long long) * window_size);
    
    fprintf(stderr, "COUNTING COOCCURRENCES\n");
    if (verbose > 0) {
        fprintf(stderr, "window size: %d\n", window_size);
        if (symmetric == 0) fprintf(stderr, "context: asymmetric\n");
        else fprintf(stderr, "context: symmetric\n");
    }
    if (verbose > 1) fprintf(stderr, "max product: %lld\n", max_product);
    if (verbose > 1) fprintf(stderr, "overflow length: %lld\n", overflow_length);
    sprintf(format,"%%%ds %%lld", MAX_STRING_LENGTH); // Format to read from vocab file, which has (irrelevant) frequency data
    if (verbose > 1) fprintf(stderr, "Reading vocab from file \"%s\"...", vocab_file);
    fid = fopen(vocab_file,"r");
    if (fid == NULL) { 
        log_file_loading_error("vocab file", vocab_file);
        free_resources(vocab_hash, cr, lookup, history, bigram_table);
        return 1;
    }
    while (fscanf(fid, format, str, &id) != EOF) hashinsert(vocab_hash, str, ++j); // Here id is not used: inserting vocab words into hash table with their frequency rank, j
    fclose(fid);
    vocab_size = j;
    j = 0;
    if (verbose > 1) fprintf(stderr, "loaded %lld words.\nBuilding lookup table...", vocab_size);
    
    /* Build auxiliary lookup table used to index into bigram_table */
    lookup = (long long *)calloc( vocab_size + 1, sizeof(long long) );
    if (lookup == NULL) {
        fprintf(stderr, "Couldn't allocate memory!");
        free_resources(vocab_hash, cr, lookup, history, bigram_table);
        return 1;
    }
    lookup[0] = 1;
    for (a = 1; a <= vocab_size; a++) {
        if ((lookup[a] = max_product / a) < vocab_size) lookup[a] += lookup[a-1];
        else lookup[a] = lookup[a-1] + vocab_size;
    }
    if (verbose > 1) fprintf(stderr, "table contains %lld elements.\n",lookup[a-1]);
    
    /* Allocate memory for full array which will store all cooccurrence counts for words whose product of frequency ranks is less than max_product */
    bigram_table = (real *)calloc( lookup[a-1] , sizeof(real) );
    if (bigram_table == NULL) {
        fprintf(stderr, "Couldn't allocate memory!");
        free_resources(vocab_hash, cr, lookup, history, bigram_table);
        return 1;
    }
    
    fid = stdin;
    // sprintf(format,"%%%ds",MAX_STRING_LENGTH);
    sprintf(filename,"%s_%04d.bin", file_head, fidcounter);
    foverflow = fopen(filename,"wb");
    if (verbose > 1) fprintf(stderr,"Processing token: 0");

    // if symmetric > 0, we can increment ind twice per iteration,
    // meaning up to 2x window_size in one loop
    long long const overflow_threshold = symmetric == 0 ? overflow_length - window_size : overflow_length - 2 * window_size;
    
    /* For each token in input stream, calculate a weighted cooccurrence sum within window_size */
    while (1) {
        if (ind >= overflow_threshold) {
            // If overflow buffer is (almost) full, sort it and write it to temporary file
            qsort(cr, ind, sizeof(CREC), compare_crec);
            write_chunk(cr,ind,foverflow);
            fclose(foverflow);
            fidcounter++;
            sprintf(filename,"%s_%04d.bin",file_head,fidcounter);
            foverflow = fopen(filename,"wb");
            ind = 0;
        }
        flag = get_word(str, fid);
        if (verbose > 2) fprintf(stderr, "Maybe processing token: %s\n", str);
        if (flag == 1) {
            // Newline, reset line index (j); maybe eof.
            if (feof(fid)) {
                if (verbose > 2) fprintf(stderr, "Not getting coocurs as at eof\n");
                break;
            }
            j = 0;
            if (verbose > 2) fprintf(stderr, "Not getting coocurs as at newline\n");
            continue;
        }
        counter++;
        if ((counter%100000) == 0) if (verbose > 1) fprintf(stderr,"\033[19G%lld",counter);
        htmp = hashsearch(vocab_hash, str);
        if (htmp == NULL) {
            if (verbose > 2) fprintf(stderr, "Not getting coocurs as word not in vocab\n");
            continue; // Skip out-of-vocabulary words
        }
        w2 = htmp->num; // Target word (frequency rank)
        for (k = j - 1; k >= ( (j > window_size) ? j - window_size : 0 ); k--) { // Iterate over all words to the left of target word, but not past beginning of line
            w1 = history[k % window_size]; // Context word (frequency rank)
            if (verbose > 2) fprintf(stderr, "Adding cooccur between words %lld and %lld.\n", w1, w2);
            if ( w1 < max_product/w2 ) { // Product is small enough to store in a full array
                bigram_table[lookup[w1-1] + w2 - 2] += distance_weighting ? 1.0/((real)(j-k)) : 1.0; // Weight by inverse of distance between words if needed
                if (symmetric > 0) bigram_table[lookup[w2-1] + w1 - 2] += distance_weighting ? 1.0/((real)(j-k)) : 1.0; // If symmetric context is used, exchange roles of w2 and w1 (ie look at right context too)
            }
            else { // Product is too big, data is likely to be sparse. Store these entries in a temporary buffer to be sorted, merged (accumulated), and written to file when it gets full.
                cr[ind].word1 = w1;
                cr[ind].word2 = w2;
                cr[ind].val = distance_weighting ? 1.0/((real)(j-k)) : 1.0;
                ind++; // Keep track of how full temporary buffer is
                if (symmetric > 0) { // Symmetric context
                    cr[ind].word1 = w2;
                    cr[ind].word2 = w1;
                    cr[ind].val = distance_weighting ? 1.0/((real)(j-k)) : 1.0;
                    ind++;
                }
            }
        }
        history[j % window_size] = w2; // Target word is stored in circular buffer to become context word in the future
        j++;
    }
    
    /* Write out temp buffer for the final time (it may not be full) */
    if (verbose > 1) fprintf(stderr,"\033[0GProcessed %lld tokens.\n",counter);
    qsort(cr, ind, sizeof(CREC), compare_crec);
    write_chunk(cr,ind,foverflow);
    sprintf(filename,"%s_0000.bin",file_head);
    
    /* Write out full bigram_table, skipping zeros */
    if (verbose > 1) fprintf(stderr, "Writing cooccurrences to disk");
    fid = fopen(filename,"wb");
    j = 1e6;
    for (x = 1; x <= vocab_size; x++) {
        if ( (long long) (0.75*log(vocab_size / x)) < j) {
            j = (long long) (0.75*log(vocab_size / x));
            if (verbose > 1) fprintf(stderr,".");
        } // log's to make it look (sort of) pretty
        for (y = 1; y <= (lookup[x] - lookup[x-1]); y++) {
            if ((r = bigram_table[lookup[x-1] - 2 + y]) != 0) {
                fwrite(&x, sizeof(int), 1, fid);
                fwrite(&y, sizeof(int), 1, fid);
                fwrite(&r, sizeof(real), 1, fid);
            }
        }
    }
    
    if (verbose > 1) fprintf(stderr,"%d files in total.\n",fidcounter + 1);
    fclose(fid);
    fclose(foverflow);
    free_resources(vocab_hash, cr, lookup, history, bigram_table);
    return merge_files(fidcounter + 1); // Merge the sorted temporary files
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x578, %rsp            # imm = 0x578
callq 0x2b3a
movq %rax, %r15
movq 0x4f18(%rip), %rdi      # 0x6138
shlq $0x4, %rdi
addq $0x10, %rdi
callq 0x1180
movq %rax, %r13
movslq 0x4ed5(%rip), %rdi      # 0x610c
shlq $0x3, %rdi
callq 0x1180
movq %rax, 0x20(%rsp)
movq 0x4dac(%rip), %rax      # 0x5ff8
movq (%rax), %rcx
leaq 0x1ec5(%rip), %rdi      # 0x311b
pushq $0x17
popq %rsi
pushq $0x1
popq %rbx
movq %rbx, %rdx
callq 0x11e0
cmpl $0x0, 0x4e9d(%rip)      # 0x6108
jg 0x1a2c
cmpl $0x2, 0x4e90(%rip)      # 0x6108
jge 0x1a68
cmpl $0x2, 0x4e83(%rip)      # 0x6108
jge 0x1a8c
leaq 0x1f05(%rip), %rsi      # 0x3197
leaq 0x90(%rsp), %rdi
movl $0x3e8, %edx            # imm = 0x3E8
xorl %eax, %eax
callq 0x11c0
cmpl $0x2, 0x4e5b(%rip)      # 0x6108
jge 0x1ab0
movq 0x4e8e(%rip), %rdi      # 0x6148
leaq 0x1f02(%rip), %rsi      # 0x31c3
callq 0x11a0
pushq $0x1
popq %rbp
testq %rax, %rax
je 0x19f0
movq %rax, %r14
movq %r15, 0x28(%rsp)
xorl %r12d, %r12d
leaq 0x90(%rsp), %rsi
leaq 0x180(%rsp), %rdx
leaq 0x88(%rsp), %rcx
movq %rax, %rdi
xorl %eax, %eax
callq 0x1070
cmpl $-0x1, %eax
movq %r13, 0x30(%rsp)
je 0x134f
leaq 0x180(%rsp), %r15
leaq 0x88(%rsp), %r13
xorl %r12d, %r12d
movq 0x28(%rsp), %rbp
incq %r12
movq %rbp, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x20f7
movq %r14, %rdi
leaq 0x90(%rsp), %rsi
movq %r15, %rdx
movq %r13, %rcx
xorl %eax, %eax
callq 0x1070
cmpl $-0x1, %eax
jne 0x1321
movq %r14, %rdi
callq 0x10d0
cmpl $0x2, 0x4daa(%rip)      # 0x6108
movq 0x30(%rsp), %r15
jge 0x1ad4
leaq 0x1(%r12), %rdi
pushq $0x8
popq %rsi
callq 0x1140
testq %rax, %rax
je 0x1af4
movq %rax, %r13
movq $0x1, (%rax)
testq %r12, %r12
je 0x13c8
movq 0x4dab(%rip), %rcx      # 0x6140
movq %r12, %rsi
negq %rsi
pushq $0x1
popq %rbx
movq %rcx, %rax
cqto
idivq %rbx
cmpq %r12, %rax
jl 0x13ae
movq %r12, %rax
addq -0x8(%r13,%rbx,8), %rax
movq %rax, (%r13,%rbx,8)
leaq (%rsi,%rbx), %rax
incq %rax
incq %rbx
cmpq $0x1, %rax
jne 0x139e
cmpl $0x2, 0x4d39(%rip)      # 0x6108
jge 0x1b1c
movq -0x8(%r13,%rbx,8), %rdi
pushq $0x8
popq %rsi
callq 0x1140
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0x1b3e
movq 0x4be1(%rip), %rax      # 0x5fd8
movq (%rax), %rbx
movq 0x4d2f(%rip), %rdx      # 0x6130
leaq 0x1cbc(%rip), %rsi      # 0x30c4
leaq 0xb0(%rsp), %r14
pushq $0x1
popq %rcx
movq %r14, %rdi
movq %rcx, 0x58(%rsp)
xorl %eax, %eax
callq 0x11c0
leaq 0x1e0c(%rip), %rsi      # 0x3235
movq %r14, %rdi
callq 0x11a0
movq %rax, 0x40(%rsp)
cmpl $0x2, 0x4ccb(%rip)      # 0x6108
jge 0x1b7a
cmpl $0x0, 0x4cc6(%rip)      # 0x6110
setne %cl
movslq 0x4cb8(%rip), %rax      # 0x610c
shlq %cl, %rax
movq 0x4cda(%rip), %rcx      # 0x6138
subq %rax, %rcx
movq %rcx, 0x50(%rsp)
movq 0x48(%rsp), %rax
addq $-0x10, %rax
movq %rax, 0x68(%rsp)
xorl %r14d, %r14d
movq $0x0, 0x38(%rsp)
xorl %esi, %esi
movq %r12, 0x60(%rsp)
movq %rsi, 0x10(%rsp)
cmpq 0x50(%rsp), %r14
jl 0x1506
movq %r15, %rdi
movq %r14, %rsi
pushq $0x10
popq %rdx
leaq 0xdaf(%rip), %rcx       # 0x2252
callq 0x1090
movq %r15, %rdi
movq %r14, %rsi
movq 0x40(%rsp), %r14
movq %r14, %rdx
callq 0x21ab
movq %r14, %rdi
callq 0x10d0
movq 0x58(%rsp), %rcx
incl %ecx
movq 0x4c5f(%rip), %rdx      # 0x6130
leaq 0xb0(%rsp), %r14
movq %r14, %rdi
leaq 0x1be1(%rip), %rsi      # 0x30c4
movq %rcx, 0x58(%rsp)
xorl %eax, %eax
callq 0x11c0
movq %r14, %rdi
leaq 0x1d3c(%rip), %rsi      # 0x3235
callq 0x11a0
movq %rax, 0x40(%rsp)
xorl %r14d, %r14d
leaq 0x180(%rsp), %rdi
movq %rbx, %rsi
callq 0x2b55
movl %eax, %ebp
cmpl $0x3, 0x4be9(%rip)      # 0x6108
jge 0x156d
cmpl $0x1, %ebp
jne 0x158f
movq %rbx, %rdi
callq 0x1170
movl 0x4bd4(%rip), %ecx      # 0x6108
testl %eax, %eax
jne 0x17dc
movl $0x0, %esi
cmpl $0x3, %ecx
jl 0x1487
movq 0x4aa7(%rip), %rax      # 0x5ff8
movq (%rax), %rcx
leaq 0x1d2c(%rip), %rdi      # 0x3287
pushq $0x22
popq %rsi
pushq $0x1
popq %rdx
callq 0x11e0
xorl %esi, %esi
jmp 0x1487
movq 0x4a84(%rip), %rax      # 0x5ff8
movq (%rax), %rdi
leaq 0x1cce(%rip), %rsi      # 0x324c
leaq 0x180(%rsp), %rdx
xorl %eax, %eax
callq 0x1160
jmp 0x1521
movq 0x38(%rsp), %rax
incq %rax
movq %rax, 0x38(%rsp)
xorl %edx, %edx
movl $0x186a0, %ecx          # imm = 0x186A0
divq %rcx
testq %rdx, %rdx
jne 0x15b8
cmpl $0x2, 0x4b56(%rip)      # 0x6108
jge 0x17ba
movq 0x28(%rsp), %rdi
leaq 0x180(%rsp), %rsi
callq 0x205c
testq %rax, %rax
je 0x1782
movq 0x8(%rax), %r8
movslq 0x4b2e(%rip), %rcx      # 0x610c
movq 0x10(%rsp), %rsi
movq %rsi, %rax
subq %rcx, %rax
movl $0x0, %edx
cmovleq %rdx, %rax
cmpq %rax, %rsi
jle 0x175f
movq 0x68(%rsp), %rax
leaq (%rax,%r8,8), %rdi
pushq $0x1
popq %r15
movq %rsi, %r12
movq %r8, 0x78(%rsp)
movq %rdi, 0x70(%rsp)
decq %r12
movq %r12, %rax
cqto
idivq %rcx
movq 0x20(%rsp), %rax
movq (%rax,%rdx,8), %rbp
cmpl $0x3, 0x4ad8(%rip)      # 0x6108
jge 0x172d
movq 0x4b03(%rip), %rax      # 0x6140
cqto
idivq %r8
cvtsi2sd %r15, %xmm0
cmpq %rax, %rbp
jge 0x16a5
cmpl $0x0, 0x4acd(%rip)      # 0x6120
movsd 0x19ad(%rip), %xmm1     # 0x3008
je 0x1669
movsd 0x19a3(%rip), %xmm1     # 0x3008
divsd %xmm0, %xmm1
movq -0x8(%r13,%rbp,8), %rax
movsd (%rdi,%rax,8), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rdi,%rax,8)
cmpl $0x0, 0x4a8d(%rip)      # 0x6110
jle 0x1709
movq -0x8(%r13,%r8,8), %rax
movq 0x48(%rsp), %rcx
leaq (%rcx,%rax,8), %rax
addsd -0x10(%rax,%rbp,8), %xmm1
movsd %xmm1, -0x10(%rax,%rbp,8)
jmp 0x1709
movq %r14, %rax
shlq $0x4, %rax
movq 0x30(%rsp), %rcx
movl %ebp, (%rcx,%rax)
movl %r8d, 0x4(%rcx,%rax)
cmpl $0x0, 0x4a60(%rip)      # 0x6120
movsd 0x1940(%rip), %xmm1     # 0x3008
je 0x16d6
movsd 0x1936(%rip), %xmm1     # 0x3008
divsd %xmm0, %xmm1
movq 0x30(%rsp), %rcx
movsd %xmm1, 0x8(%rcx,%rax)
leaq 0x1(%r14), %rax
cmpl $0x0, 0x4a24(%rip)      # 0x6110
jle 0x1706
shlq $0x4, %rax
movl %r8d, (%rcx,%rax)
movl %ebp, 0x4(%rcx,%rax)
movsd %xmm1, 0x8(%rcx,%rax)
addq $0x2, %r14
jmp 0x1709
movq %rax, %r14
movslq 0x49fc(%rip), %rcx      # 0x610c
movq %rsi, %rax
subq %rcx, %rax
movl $0x0, %edx
cmovleq %rdx, %rax
incq %r15
cmpq %rax, %r12
jg 0x1615
jmp 0x175f
movq 0x48c4(%rip), %rax      # 0x5ff8
movq (%rax), %rdi
leaq 0x1ba0(%rip), %rsi      # 0x32de
movq %rbp, %rdx
movq %r8, %rcx
xorl %eax, %eax
callq 0x1160
movq 0x70(%rsp), %rdi
movq 0x78(%rsp), %r8
movq 0x10(%rsp), %rsi
jmp 0x1636
movq %rsi, %rax
cqto
idivq %rcx
movq 0x20(%rsp), %rax
movq %r8, (%rax,%rdx,8)
incq %rsi
movq 0x30(%rsp), %r15
movq 0x60(%rsp), %r12
jmp 0x1487
cmpl $0x3, 0x497f(%rip)      # 0x6108
movq 0x10(%rsp), %rsi
jl 0x1487
movq 0x485d(%rip), %rax      # 0x5ff8
movq (%rax), %rcx
leaq 0x1b0f(%rip), %rdi      # 0x32b4
pushq $0x29
popq %rsi
pushq $0x1
popq %rdx
callq 0x11e0
movq 0x10(%rsp), %rsi
jmp 0x1487
movq 0x4837(%rip), %rax      # 0x5ff8
movq (%rax), %rdi
leaq 0x1adf(%rip), %rsi      # 0x32aa
movq 0x38(%rsp), %rdx
xorl %eax, %eax
callq 0x1160
jmp 0x15b8
cmpl $0x3, %ecx
jge 0x1b9b
cmpl $0x2, 0x491c(%rip)      # 0x6108
jge 0x1bbc
leaq 0xa59(%rip), %rcx       # 0x2252
pushq $0x10
popq %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x1090
movq %r15, %rdi
movq %r14, %rsi
movq 0x40(%rsp), %rdx
callq 0x21ab
movq 0x4912(%rip), %rdx      # 0x6130
leaq 0x1b02(%rip), %rsi      # 0x3327
leaq 0xb0(%rsp), %rdi
xorl %eax, %eax
callq 0x11c0
cmpl $0x2, 0x48cd(%rip)      # 0x6108
jge 0x1bde
leaq 0x19ed(%rip), %rsi      # 0x3235
leaq 0xb0(%rsp), %rdi
callq 0x11a0
movq %rax, %rbx
movl $0x1, 0xc(%rsp)
testq %r12, %r12
jle 0x19a1
movq %r12, %rax
movl $0xf4240, %ecx          # imm = 0xF4240
movq %rcx, 0x10(%rsp)
pushq $0x1
popq %r14
pushq $0x4
popq %rbp
leaq 0x80(%rsp), %r15
pushq $0x8
popq %r12
movq %r14, %rcx
cqto
idivq %rcx
cvtsi2sd %rax, %xmm0
movsd %xmm0, 0x50(%rsp)
callq 0x1120
mulsd 0x1767(%rip), %xmm0     # 0x3010
cvttsd2si %xmm0, %rax
cmpq %rax, 0x10(%rsp)
jle 0x18ed
movsd 0x50(%rsp), %xmm0
callq 0x1120
mulsd 0x1748(%rip), %xmm0     # 0x3010
cvttsd2si %xmm0, %rax
movq %rax, 0x10(%rsp)
cmpl $0x2, 0x482f(%rip)      # 0x6108
jl 0x18ed
movq 0x4716(%rip), %rax      # 0x5ff8
movq (%rax), %rsi
pushq $0x2e
popq %rdi
callq 0x1130
movl $0x1, 0x1c(%rsp)
movslq 0xc(%rsp), %rax
movq -0x8(%r13,%rax,8), %rcx
cmpq %rcx, (%r13,%rax,8)
jle 0x198a
movq %r14, %rdx
movq 0x68(%rsp), %rax
leaq (%rax,%rcx,8), %rax
movsd (%rax,%rdx,8), %xmm0
movsd %xmm0, 0x80(%rsp)
ucomisd 0x16ec(%rip), %xmm0     # 0x3018
jne 0x1930
jnp 0x1967
leaq 0xc(%rsp), %rdi
movq %rbp, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x11e0
leaq 0x1c(%rsp), %rdi
movq %rbp, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x11e0
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x11e0
movslq 0x1c(%rsp), %rdx
incq %rdx
movl %edx, 0x1c(%rsp)
movslq 0xc(%rsp), %rax
movq -0x8(%r13,%rax,8), %rcx
movq (%r13,%rax,8), %rsi
subq %rcx, %rsi
cmpq %rdx, %rsi
jge 0x190d
incl %eax
movl %eax, 0xc(%rsp)
movslq %eax, %rcx
movq 0x60(%rsp), %rax
cmpq %rcx, %rax
jge 0x188c
cmpl $0x2, 0x4760(%rip)      # 0x6108
movq 0x58(%rsp), %r14
jge 0x1bff
movq %rbx, %rdi
callq 0x10d0
movq 0x40(%rsp), %rdi
callq 0x10d0
movq 0x28(%rsp), %rdi
movq 0x30(%rsp), %rsi
movq %r13, %rdx
movq 0x20(%rsp), %rcx
movq 0x48(%rsp), %r8
callq 0x2912
incl %r14d
movl %r14d, %edi
callq 0x255f
movl %eax, %ebp
jmp 0x1a18
movq 0x4751(%rip), %rsi      # 0x6148
leaq 0x17c7(%rip), %rdi      # 0x31c5
callq 0x1eed
movq %r15, %rdi
movq %r13, %rsi
xorl %edx, %edx
movq 0x20(%rsp), %rcx
xorl %r8d, %r8d
callq 0x2912
movl %ebp, %eax
addq $0x578, %rsp            # imm = 0x578
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x45c5(%rip), %r14      # 0x5ff8
movq (%r14), %rdi
movl 0x46d0(%rip), %edx      # 0x610c
leaq 0x16f0(%rip), %rsi      # 0x3133
xorl %eax, %eax
callq 0x1160
cmpl $0x0, 0x46bf(%rip)      # 0x6110
movq (%r14), %rcx
jne 0x1c20
leaq 0x16e3(%rip), %rdi      # 0x3144
pushq $0x14
jmp 0x1c29
movq 0x4589(%rip), %rax      # 0x5ff8
movq (%rax), %rdi
movq 0x46c7(%rip), %rdx      # 0x6140
leaq 0x16ed(%rip), %rsi      # 0x316d
xorl %eax, %eax
callq 0x1160
jmp 0x127e
movq 0x4565(%rip), %rax      # 0x5ff8
movq (%rax), %rdi
movq 0x469b(%rip), %rdx      # 0x6138
leaq 0x16dc(%rip), %rsi      # 0x3180
xorl %eax, %eax
callq 0x1160
jmp 0x128b
movq 0x4541(%rip), %rax      # 0x5ff8
movq (%rax), %rdi
movq 0x4687(%rip), %rdx      # 0x6148
leaq 0x16db(%rip), %rsi      # 0x31a3
xorl %eax, %eax
callq 0x1160
jmp 0x12b3
movq 0x451d(%rip), %rax      # 0x5ff8
movq (%rax), %rdi
leaq 0x16eb(%rip), %rsi      # 0x31d0
movq %r12, %rdx
xorl %eax, %eax
callq 0x1160
jmp 0x1369
movq 0x44fd(%rip), %rax      # 0x5ff8
movq (%rax), %rcx
leaq 0x16f7(%rip), %rdi      # 0x31fc
pushq $0x19
popq %rsi
pushq $0x1
popq %rdx
callq 0x11e0
movq 0x28(%rsp), %rdi
movq %r15, %rsi
xorl %edx, %edx
jmp 0x1b65
movq 0x44d5(%rip), %rax      # 0x5ff8
movq (%rax), %rdi
movq -0x8(%r13,%rbx,8), %rdx
leaq 0x16e4(%rip), %rsi      # 0x3216
xorl %eax, %eax
callq 0x1160
jmp 0x13d5
movq 0x44b3(%rip), %rax      # 0x5ff8
movq (%rax), %rcx
leaq 0x16ad(%rip), %rdi      # 0x31fc
pushq $0x19
popq %rsi
pushq $0x1
popq %rdx
callq 0x11e0
movq 0x28(%rsp), %rdi
movq %r15, %rsi
movq %r13, %rdx
movq 0x20(%rsp), %rcx
xorl %r8d, %r8d
callq 0x2912
pushq $0x1
popq %rbp
jmp 0x1a18
movq 0x4477(%rip), %rax      # 0x5ff8
movq (%rax), %rcx
leaq 0x16ad(%rip), %rdi      # 0x3238
pushq $0x13
popq %rsi
pushq $0x1
popq %rdx
callq 0x11e0
jmp 0x1443
movq 0x4456(%rip), %rax      # 0x5ff8
movq (%rax), %rcx
leaq 0x16bc(%rip), %rdi      # 0x3268
pushq $0x1e
popq %rsi
pushq $0x1
popq %rdx
callq 0x11e0
jmp 0x17e5
movq 0x4435(%rip), %rax      # 0x5ff8
movq (%rax), %rdi
leaq 0x173e(%rip), %rsi      # 0x330b
movq 0x38(%rsp), %rdx
xorl %eax, %eax
callq 0x1160
jmp 0x17f2
movq 0x4413(%rip), %rax      # 0x5ff8
movq (%rax), %rcx
leaq 0x1744(%rip), %rdi      # 0x3333
pushq $0x1d
popq %rsi
pushq $0x1
popq %rdx
callq 0x11e0
jmp 0x1841
movq 0x43f2(%rip), %rax      # 0x5ff8
movq (%rax), %rdi
leal 0x1(%r14), %edx
leaq 0x173d(%rip), %rsi      # 0x3351
xorl %eax, %eax
callq 0x1160
jmp 0x19b3
leaq 0x1532(%rip), %rdi      # 0x3159
pushq $0x13
popq %rsi
pushq $0x1
popq %rdx
callq 0x11e0
jmp 0x1271