// File: /workspace/github_c_makefile_star2_O2/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 0x28ef
movq %rax, %rbp
movq 0x4613(%rip), %rdi      # 0x6130
shlq $0x4, %rdi
addq $0x10, %rdi
callq 0x1170
movq %rax, %r15
movslq 0x45d0(%rip), %rdi      # 0x6104
shlq $0x3, %rdi
callq 0x1170
movq %rax, 0x10(%rsp)
movq 0x44af(%rip), %rax      # 0x5ff8
movq (%rax), %rcx
leaq 0x15b8(%rip), %rdi      # 0x310b
pushq $0x17
popq %rsi
pushq $0x1
popq %rdx
callq 0x11d0
cmpl $0x0, 0x459b(%rip)      # 0x6100
jg 0x22e2
leaq 0x1615(%rip), %rsi      # 0x3187
leaq 0x90(%rsp), %rdi
movl $0x3e8, %edx            # imm = 0x3E8
xorl %eax, %eax
callq 0x11b0
cmpl $0x2, 0x4573(%rip)      # 0x6100
jge 0x231e
movq 0x45a6(%rip), %rdi      # 0x6140
leaq 0x1612(%rip), %rsi      # 0x31b3
callq 0x1190
pushq $0x1
popq %rbx
testq %rax, %rax
je 0x22a6
movq %rax, %r14
movq %r15, 0x8(%rsp)
leaq 0x90(%rsp), %r15
leaq 0x180(%rsp), %r12
leaq 0x88(%rsp), %r13
movq $0x0, 0x38(%rsp)
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
movq %r13, %rcx
xorl %eax, %eax
callq 0x1070
cmpl $-0x1, %eax
je 0x1c0d
movq 0x38(%rsp), %rdx
incq %rdx
movq %rbp, %rdi
movq %r12, %rsi
movq %rdx, 0x38(%rsp)
callq 0x134f
jmp 0x1bdb
movq %r14, %rdi
callq 0x10d0
cmpl $0x2, 0x44e4(%rip)      # 0x6100
movq 0x38(%rsp), %r14
jge 0x2342
leaq 0x1(%r14), %rdi
pushq $0x8
popq %rsi
callq 0x1130
testq %rax, %rax
movq 0x8(%rsp), %r15
je 0x2362
movq %rax, %r13
movq $0x1, (%rax)
xorl %esi, %esi
movq 0x44e4(%rip), %rcx      # 0x6138
cmpq %rsi, %r14
je 0x1c7c
leaq 0x1(%rsi), %rdi
movq %rcx, %rax
cqto
idivq %rdi
cmpq %r14, %rax
jl 0x1c6d
movq %r14, %rax
addq (%r13,%rsi,8), %rax
movq %rax, 0x8(%r13,%rsi,8)
movq %rdi, %rsi
jmp 0x1c54
cmpl $0x1, 0x447d(%rip)      # 0x6100
jg 0x2383
movq (%r13,%r14,8), %r14
pushq $0x8
popq %rsi
movq %r14, %rdi
callq 0x1130
movq %rax, 0x50(%rsp)
testq %rax, %rax
je 0x23a8
movq %rbp, 0x40(%rsp)
movq 0x4325(%rip), %rax      # 0x5fd8
movq (%rax), %rax
movq %rax, 0x20(%rsp)
movq 0x4466(%rip), %rdx      # 0x6128
leaq 0x13eb(%rip), %rsi      # 0x30b4
leaq 0xb0(%rsp), %rbx
pushq $0x1
popq %r12
movq %rbx, %rdi
movl %r12d, %ecx
xorl %eax, %eax
callq 0x11b0
leaq 0x153c(%rip), %rsi      # 0x3225
movq %rbx, %rdi
callq 0x1190
movq %rax, %rbx
cmpl $0x2, 0x4405(%rip)      # 0x6100
jge 0x23d2
cmpl $0x0, 0x4400(%rip)      # 0x6108
setne %cl
movslq 0x43f2(%rip), %rax      # 0x6104
shlq %cl, %rax
movq 0x4414(%rip), %rcx      # 0x6130
subq %rax, %rcx
movq %rcx, 0x78(%rsp)
movq 0x50(%rsp), %rax
addq $-0x10, %rax
movq %rax, 0x58(%rsp)
xorl %ebp, %ebp
movq $0x0, 0x30(%rsp)
xorl %eax, %eax
movq %rax, 0x18(%rsp)
cmpq 0x78(%rsp), %rbp
jl 0x1db0
movq %r15, %rdi
movq %rbp, %rsi
pushq $0x10
popq %rdx
leaq -0x8a2(%rip), %rcx      # 0x14b9
callq 0x1090
movq %r15, %rdi
movq %rbp, %rsi
movq %rbx, %rdx
callq 0x140f
movq %rbx, %rdi
callq 0x10d0
incl %r12d
movq 0x43a8(%rip), %rdx      # 0x6128
leaq 0xb0(%rsp), %rbx
movq %rbx, %rdi
leaq 0x1322(%rip), %rsi      # 0x30b4
movl %r12d, %ecx
xorl %eax, %eax
callq 0x11b0
movq %rbx, %rdi
leaq 0x147f(%rip), %rsi      # 0x3225
callq 0x1190
movq %rax, %rbx
xorl %ebp, %ebp
leaq 0x180(%rsp), %rdi
movq 0x20(%rsp), %rsi
callq 0x2911
movl %eax, %r14d
cmpl $0x3, 0x4334(%rip)      # 0x6100
jge 0x1dff
cmpl $0x1, %r14d
jne 0x1e21
movq 0x20(%rsp), %rdi
callq 0x1160
movl 0x431c(%rip), %ecx      # 0x6100
testl %eax, %eax
jne 0x20ae
movl $0x0, %eax
cmpl $0x3, %ecx
jl 0x1d3f
jmp 0x208d
movq 0x41f2(%rip), %rax      # 0x5ff8
movq (%rax), %rdi
leaq 0x142c(%rip), %rsi      # 0x323c
leaq 0x180(%rsp), %rdx
xorl %eax, %eax
callq 0x1150
jmp 0x1dce
movq 0x30(%rsp), %rax
incq %rax
movq %rax, 0x30(%rsp)
xorl %edx, %edx
movl $0x186a0, %ecx          # imm = 0x186A0
divq %rcx
testq %rdx, %rdx
jne 0x1e4a
cmpl $0x2, 0x42bc(%rip)      # 0x6100
jge 0x206b
movq 0x40(%rsp), %rdi
leaq 0x180(%rsp), %rsi
callq 0x12dc
testq %rax, %rax
je 0x2033
movq %rbx, 0x48(%rsp)
movl %r12d, 0x4(%rsp)
movq 0x8(%rax), %rcx
movq 0x58(%rsp), %rax
leaq (%rax,%rcx,8), %rbx
movl 0x4281(%rip), %r8d      # 0x6104
movq 0x18(%rsp), %rdi
leaq 0x1(%rdi), %r9
movq %rdi, %r15
movq %rcx, 0x68(%rsp)
movq %r9, 0x60(%rsp)
movq %rbp, %r10
movq %r9, %rbp
subq %r15, %rbp
movq %r15, %r14
movslq %r8d, %rsi
movq %rdi, %rax
subq %rsi, %rax
movl $0x0, %edx
cmovleq %rdx, %rax
cmpq %rax, %r14
jle 0x2008
leaq -0x1(%r14), %r15
movq %r15, %rax
cqto
idivq %rsi
movq 0x10(%rsp), %rax
movq (%rax,%rdx,8), %r12
cmpl $0x3, 0x4224(%rip)      # 0x6100
jge 0x1f58
movq 0x4253(%rip), %rax      # 0x6138
cqto
idivq %rcx
cvtsi2sd %rbp, %xmm0
cmpq %rax, %r12
jge 0x1f98
cmpl $0x0, 0x4219(%rip)      # 0x6118
movsd 0x1101(%rip), %xmm1     # 0x3008
je 0x1f15
movsd 0x10f7(%rip), %xmm1     # 0x3008
divsd %xmm0, %xmm1
movq -0x8(%r13,%r12,8), %rax
movsd (%rbx,%rax,8), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rbx,%rax,8)
cmpl $0x0, 0x41d9(%rip)      # 0x6108
jle 0x1f4d
movq -0x8(%r13,%rcx,8), %rax
movq 0x50(%rsp), %rdx
leaq (%rdx,%rax,8), %rax
addsd -0x10(%rax,%r12,8), %xmm1
movsd %xmm1, -0x10(%rax,%r12,8)
incq %rbp
decq %r14
jmp 0x1ea5
movq 0x4099(%rip), %rax      # 0x5ff8
movq (%rax), %rdi
leaq 0x1365(%rip), %rsi      # 0x32ce
movq %r12, %rdx
xorl %eax, %eax
movq %r10, 0x70(%rsp)
callq 0x1150
movq 0x70(%rsp), %r10
movq 0x60(%rsp), %r9
movq 0x68(%rsp), %rcx
movq 0x18(%rsp), %rdi
movl 0x4171(%rip), %r8d      # 0x6104
jmp 0x1ede
movq %r10, %rax
shlq $0x4, %rax
movq 0x8(%rsp), %rdx
movl %r12d, (%rdx,%rax)
movl %ecx, 0x4(%rdx,%rax)
cmpl $0x0, 0x4165(%rip)      # 0x6118
movsd 0x104d(%rip), %xmm1     # 0x3008
je 0x1fc9
movsd 0x1043(%rip), %xmm1     # 0x3008
divsd %xmm0, %xmm1
movq 0x8(%rsp), %rdx
movsd %xmm1, 0x8(%rdx,%rax)
leaq 0x1(%r10), %rbp
cmpl $0x0, 0x4129(%rip)      # 0x6108
jle 0x1e99
shlq $0x4, %rbp
movq 0x8(%rsp), %rax
movl %ecx, (%rax,%rbp)
movl %r12d, 0x4(%rax,%rbp)
movsd %xmm1, 0x8(%rax,%rbp)
addq $0x2, %r10
movq %r10, %rbp
jmp 0x1e99
movq %rdi, %rax
cqto
idivq %rsi
movq 0x10(%rsp), %rax
movq %rcx, (%rax,%rdx,8)
movq %r10, %rbp
movq %r9, %rax
movq 0x8(%rsp), %r15
movl 0x4(%rsp), %r12d
movq 0x48(%rsp), %rbx
jmp 0x1d3f
cmpl $0x3, 0x40c6(%rip)      # 0x6100
movq 0x18(%rsp), %rax
jl 0x1d3f
movq 0x3fac(%rip), %rax      # 0x5ff8
movq (%rax), %rcx
leaq 0x124e(%rip), %rdi      # 0x32a4
pushq $0x29
popq %rsi
pushq $0x1
popq %rdx
callq 0x11d0
movq 0x18(%rsp), %rax
jmp 0x1d3f
movq 0x3f86(%rip), %rax      # 0x5ff8
movq (%rax), %rdi
leaq 0x121e(%rip), %rsi      # 0x329a
movq 0x30(%rsp), %rdx
xorl %eax, %eax
callq 0x1150
jmp 0x1e4a
movq 0x3f64(%rip), %rax      # 0x5ff8
movq (%rax), %rcx
leaq 0x11d9(%rip), %rdi      # 0x3277
pushq $0x22
popq %rsi
pushq $0x1
popq %rdx
callq 0x11d0
jmp 0x1d3d
cmpl $0x3, %ecx
jge 0x23f3
cmpl $0x2, %ecx
jge 0x241a
movl %r12d, 0x4(%rsp)
leaq -0xc13(%rip), %rcx      # 0x14b9
pushq $0x10
popq %rdx
movq %r15, %rdi
movq %rbp, %rsi
callq 0x1090
movq %r15, %rdi
movq %rbp, %rsi
movq %rbx, 0x48(%rsp)
movq %rbx, %rdx
callq 0x140f
movq 0x4034(%rip), %rdx      # 0x6128
leaq 0x121c(%rip), %rsi      # 0x3317
leaq 0xb0(%rsp), %rdi
xorl %eax, %eax
callq 0x11b0
cmpl $0x2, 0x3fef(%rip)      # 0x6100
jge 0x243c
leaq 0x1107(%rip), %rsi      # 0x3225
leaq 0xb0(%rsp), %rdi
callq 0x1190
movq %rax, %rbx
movl $0xf4240, %eax          # imm = 0xF4240
movq %rax, 0x20(%rsp)
pushq $0x1
popq %r14
pushq $0x4
popq %r15
pushq $0x1
popq %rbp
pushq $0x8
popq %r12
movl %r14d, 0x2c(%rsp)
movslq %r14d, %rcx
movq 0x38(%rsp), %rax
cmpq %rcx, %rax
jl 0x2254
cqto
idivq %rcx
cvtsi2sd %rax, %xmm0
movsd %xmm0, 0x18(%rsp)
callq 0x1110
mulsd 0xe96(%rip), %xmm0      # 0x3010
cvttsd2si %xmm0, %rax
cmpq %rax, 0x20(%rsp)
jle 0x21be
movsd 0x18(%rsp), %xmm0
callq 0x1110
mulsd 0xe77(%rip), %xmm0      # 0x3010
cvttsd2si %xmm0, %rax
movq %rax, 0x20(%rsp)
cmpl $0x2, 0x3f56(%rip)      # 0x6100
jl 0x21be
movq 0x3e45(%rip), %rax      # 0x5ff8
movq (%rax), %rsi
pushq $0x2e
popq %rdi
callq 0x1120
pushq $0x1
popq %rax
movl %eax, 0x28(%rsp)
movslq %eax, %rcx
movslq %r14d, %rsi
movq -0x8(%r13,%rsi,8), %rdx
movq (%r13,%rsi,8), %rsi
subq %rdx, %rsi
cmpq %rcx, %rsi
jl 0x224c
movq 0x58(%rsp), %rsi
leaq (%rsi,%rdx,8), %rdx
movsd (%rdx,%rcx,8), %xmm0
movsd %xmm0, 0x80(%rsp)
ucomisd 0xe1c(%rip), %xmm0      # 0x3018
jne 0x2200
jnp 0x2245
leaq 0x2c(%rsp), %rdi
movq %r15, %rsi
movq %rbp, %rdx
movq %rbx, %rcx
callq 0x11d0
leaq 0x28(%rsp), %rdi
movq %r15, %rsi
movq %rbp, %rdx
movq %rbx, %rcx
callq 0x11d0
leaq 0x80(%rsp), %rdi
movq %r12, %rsi
movq %rbp, %rdx
movq %rbx, %rcx
callq 0x11d0
movl 0x28(%rsp), %eax
movl 0x2c(%rsp), %r14d
incl %eax
jmp 0x21c1
incl %r14d
jmp 0x2147
cmpl $0x1, 0x3ea5(%rip)      # 0x6100
jg 0x245d
movl 0x4(%rsp), %ebp
incl %ebp
movq 0x40(%rsp), %r14
movq 0x8(%rsp), %r15
movq %rbx, %rdi
callq 0x10d0
movq 0x48(%rsp), %rdi
callq 0x10d0
movq %r14, %rdi
movq %r15, %rsi
movq %r13, %rdx
movq 0x10(%rsp), %rcx
movq 0x50(%rsp), %r8
callq 0x1ab9
movl %ebp, %edi
callq 0x17a3
movl %eax, %ebx
jmp 0x22ce
movq 0x3e93(%rip), %rsi      # 0x6140
leaq 0xf01(%rip), %rdi       # 0x31b5
callq 0x2ae1
movq %rbp, %rdi
movq %r15, %rsi
xorl %edx, %edx
movq 0x10(%rsp), %rcx
xorl %r8d, %r8d
callq 0x1ab9
movl %ebx, %eax
addq $0x578, %rsp            # imm = 0x578
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x3d0f(%rip), %rbx      # 0x5ff8
movq (%rbx), %rdi
movl 0x3e12(%rip), %edx      # 0x6104
leaq 0xe2a(%rip), %rsi       # 0x3123
xorl %eax, %eax
callq 0x1150
cmpl $0x0, 0x3e01(%rip)      # 0x6108
movq (%rbx), %rcx
jne 0x2482
leaq 0xe1d(%rip), %rdi       # 0x3134
pushq $0x14
jmp 0x248b
movq 0x3cd3(%rip), %rax      # 0x5ff8
movq (%rax), %rdi
movq 0x3e11(%rip), %rdx      # 0x6140
leaq 0xe5d(%rip), %rsi       # 0x3193
xorl %eax, %eax
callq 0x1150
jmp 0x1b93
movq 0x3caf(%rip), %rax      # 0x5ff8
movq (%rax), %rdi
leaq 0xe6d(%rip), %rsi       # 0x31c0
movq %r14, %rdx
xorl %eax, %eax
callq 0x1150
jmp 0x1c27
movq 0x3c8f(%rip), %rax      # 0x5ff8
movq (%rax), %rcx
leaq 0xe79(%rip), %rdi       # 0x31ec
pushq $0x19
popq %rsi
pushq $0x1
popq %rdx
callq 0x11d0
jmp 0x22b9
movq 0x3c6e(%rip), %rax      # 0x5ff8
movq (%rax), %rdi
movq (%r13,%r14,8), %r14
leaq 0xe6d(%rip), %rsi       # 0x3206
movq %r14, %rdx
xorl %eax, %eax
callq 0x1150
jmp 0x1c8e
movq 0x3c49(%rip), %rax      # 0x5ff8
movq (%rax), %rcx
leaq 0xe33(%rip), %rdi       # 0x31ec
pushq $0x19
popq %rsi
pushq $0x1
popq %rdx
callq 0x11d0
movq %rbp, %rdi
movq %r15, %rsi
movq %r13, %rdx
jmp 0x22c1
movq 0x3c1f(%rip), %rax      # 0x5ff8
movq (%rax), %rcx
leaq 0xe45(%rip), %rdi       # 0x3228
pushq $0x13
popq %rsi
pushq $0x1
popq %rdx
callq 0x11d0
jmp 0x1d01
movq 0x3bfe(%rip), %rax      # 0x5ff8
movq (%rax), %rcx
leaq 0xe54(%rip), %rdi       # 0x3258
pushq $0x1e
popq %rsi
pushq $0x1
popq %rdx
callq 0x11d0
movl 0x3ceb(%rip), %ecx      # 0x6100
jmp 0x20b7
movq 0x3bd7(%rip), %rax      # 0x5ff8
movq (%rax), %rdi
leaq 0xed0(%rip), %rsi       # 0x32fb
movq 0x30(%rsp), %rdx
xorl %eax, %eax
callq 0x1150
jmp 0x20c0
movq 0x3bb5(%rip), %rax      # 0x5ff8
movq (%rax), %rcx
leaq 0xed6(%rip), %rdi       # 0x3323
pushq $0x1d
popq %rsi
pushq $0x1
popq %rdx
callq 0x11d0
jmp 0x2117
movq 0x3b94(%rip), %rax      # 0x5ff8
movq (%rax), %rdi
movl 0x4(%rsp), %ebp
incl %ebp
leaq 0xecd(%rip), %rsi       # 0x3341
movl %ebp, %edx
xorl %eax, %eax
callq 0x1150
jmp 0x2267
leaq 0xcc0(%rip), %rdi       # 0x3149
pushq $0x13
popq %rsi
pushq $0x1
popq %rdx
callq 0x11d0
cmpl $0x2, 0x3c65(%rip)      # 0x6100
jl 0x1b6b
movq 0x3b50(%rip), %rax      # 0x5ff8
movq (%rax), %rdi
movq 0x3c86(%rip), %rdx      # 0x6138
leaq 0xca4(%rip), %rsi       # 0x315d
xorl %eax, %eax
callq 0x1150
cmpl $0x2, 0x3c39(%rip)      # 0x6100
jl 0x1b6b
movq 0x3b24(%rip), %rax      # 0x5ff8
movq (%rax), %rdi
movq 0x3c52(%rip), %rdx      # 0x6130
leaq 0xc8b(%rip), %rsi       # 0x3170
xorl %eax, %eax
callq 0x1150
jmp 0x1b6b