// File: /workspace/github_c_makefile_star2_O1/c-zhou[P]oatk/syncerr.c
// Function: read_error_correction_analysis_thread
static void read_error_correction_analysis_thread(void *_data, long i, int tid) // kt_for() callback
{
    ec_shared_t *shared = (ec_shared_t *) _data;
    sr_t *sr;
    asmg_t *asmg;
    syncmer_t *scms;
    uint32_t *m_pos, beg_pos, end_pos;
    uint64_t *k_mer, beg_utg, end_utg;
    int32_t j, l, r, n, n_scm, kmer_size, beg, end;
    int updated;
    double max_edist;
    long *stats;
    FILE *fo;
    wf_config_t *conf;
    dfs_info_t *dfs;
    kstring_t *seq, *c_seq;
    kvec64_t *c_kmer;
    kvec32_t *c_mpos;

    asmg = shared->g->utg_asmg;
    scms = shared->g->scm_db->a;
    kmer_size = shared->sr_db->k;
    sr = &shared->sr_db->a[i];
    k_mer = sr->k_mer;
    m_pos = sr->m_pos;
    n_scm = sr->n;
    max_edist = shared->max_edist;
    fo = shared->fo;
    stats = shared->cache[tid].stats;
    conf = shared->cache[tid].conf;
    dfs = shared->cache[tid].dfs;
    seq = shared->cache[tid].seq;
    c_seq = shared->cache[tid].c_seq;
    c_kmer = shared->cache[tid].c_kmer;
    c_mpos = shared->cache[tid].c_mpos;

#ifdef DEBUG_SYNCMER_CORRECTION
    // read information for debugging
    fprintf(stderr, "[DEBUG_SYNCMER_CORRECTION::%s] %lu %s %u %u:", __func__, 
            sr->sid, sr->sname, sr->hoco_l, sr->n);
    for (j = 0; j < n_scm; ++j) {
        if (j > 0) { // print arc coverage
            fprintf(stderr, " [%u]", asmg_arc(asmg, 
                        (k_mer[j-1]&MASK_ONE) | (m_pos[j-1]&1),
                        (k_mer[j]&MASK_ONE) | (m_pos[j]&1))->cov);
        }
        fprintf(stderr, " (%d u%lu%c %u)", j, k_mer[j]>>1, "+-"[m_pos[j]&1], scms[k_mer[j]>>1].cov);
    }
    fputc('\n', stderr);
    // position of syncmers on read
    fprintf(stderr, "[DEBUG_SYNCMER_CORRECTION::%s] %lu %s %u %u:", __func__,
            sr->sid, sr->sname, sr->hoco_l, sr->n);
    for (j = 0; j < n_scm; ++j) fprintf(stderr, " %u", m_pos[j]>>1);
    fputc('\n', stderr);
#endif

    // find error syncmer blocks and do correction
    int err_c1;
    // reset preallocated sequence and path for corrections
    c_seq->l = 0;
    c_kmer->n = 0;
    c_mpos->n = 0;
    updated = 1;
#ifdef DEBUG_SYNCMER_CORRECTION
    int err_block = 0, edist = 0;
#endif
    beg = -1; // beg is a bad syncmer
    while (1) {
        beg_pos = beg < 1? 0 : ((m_pos[beg - 1] >> 1) + kmer_size);
        beg_pos += MIN_ERR_SEQ_LEN;

        // find the rigth boundary - end is a good syncmer
        // the distance between beg and end syncmer is no less than MIN_ERR_SEQ_LEN
        // with this restriction a good syncmer could be included for error correction
        for (end = beg + 1; end < n_scm; ++end)
            if (!scms[k_mer[end]>>1].del && !(k_mer[end]&1) && (m_pos[end] >> 1) >= beg_pos) // good syncmer
                break;

#ifdef DEBUG_SYNCMER_CORRECTION
        fprintf(stderr, "[DEBUG_SYNCMER_CORRECTION::%s] RID %lu ERROR BLOCK %d: %d %d\n", __func__, sr->sid, ++err_block, beg, end);
#endif

        // do error correction for reads with at least one syncmer anchor
        if (beg >= 0 || end < n_scm) {
            // do graph search for error correction
            // with restrictions in distance and source and sink utg nodes
            // here assembly utgs are syncmer singletons, i.e., utg_id is scm_id
            // always guarantee the source utg exist
            if (beg < 0) {
                // no left boundary
                // start from end instead
                // also do reverse complementary
                beg = end; // now beg is a good syncmer
                beg_utg = (k_mer[beg]&MASK_ONE) | (!(m_pos[beg]&1));
                beg_pos = 0;
                end_utg = UINT64_MAX;
                l = m_pos[beg] >> 1;
                r = 1;
            } else {
                // beg >= 0
                // in fact beg > 0
                --beg; // now beg is a good syncmer
                beg_utg = (k_mer[beg]&MASK_ONE) | (m_pos[beg]&1);
                // beg is a correct syncmer
                // start from the next base after this sycnmer
                beg_pos = (m_pos[beg]>>1) + kmer_size;
                if (end >= n_scm) {
                    // no right boundary
                    end_utg = UINT64_MAX;
                    l = (int) sr->hoco_l - beg_pos;
                } else {
                    // bounded by correct syncmer
                    end_utg = (k_mer[end]&MASK_ONE) | (m_pos[end]&1);
                    l = (int) (m_pos[end]>>1) - beg_pos;
                }
                r = 0;
            }
            
            // the error sequence to correct
            assert(l >= 0);
            ks_resize(seq, l);
            get_kmer_dna_seq(sr->hoco_s, beg_pos, l, r, seq->s);
            seq->l = l;
            if (l >= MIN_ERR_SEQ_LEN) {
                // do error correction
                // edit distance configuration
                conf->ts = seq->s;
                conf->tl = seq->l;
                conf->score = 0;
                conf->qs = 0;
                conf->ql = 0;
                conf->is_ext = 1;
                conf->bw = ceil(l * max_edist);
                // TODO is this good?
                if (conf->bw < MIN_ERR_BASE)
                    conf->bw = MIN_ERR_BASE;
                if (!conf->wf_diag)
                    MYCALLOC(conf->wf_diag, 1);
                if (conf->wf_diag->m < l * 4) {
                    conf->wf_diag->m = l * 4;
                    MYREALLOC(conf->wf_diag->a, l * 4);
                }
                conf->wf_diag->n = 1;
                conf->wf_diag->a[0].d =  0;
                conf->wf_diag->a[0].k = -1;

                err_c1 = error_correction_by_graph_path_search(asmg, scms, beg_utg, end_utg, conf, dfs);

#ifdef DEBUG_SYNCMER_CORRECTION
                fprintf(stderr, "[DEBUG_SYNCMER_CORRECTION::%s] RID %lu ERROR BLOCK %d [%s] (PATH = %d): %u %d (u%lu%c u%lu%c) %.*s\n",
                        __func__, sr->sid, err_block, EC_STATUS[err_c1], dfs->n_path, 
                        beg_pos, l, beg_utg>>1, "+-"[beg_utg&1], end_utg>>1, "+-"[end_utg&1], l, seq->s);
#endif
                if (err_c1)
                    assert(beg_utg == dfs->opt_path.a[0] && (end_utg == UINT64_MAX || end_utg == dfs->opt_path.a[dfs->opt_path.n-1]));

                if (end_utg == UINT64_MAX) {
                    ++stats[0];
                    ++stats[1 + err_c1];
                } else {
                    ++stats[5];
                    ++stats[6 + err_c1];
                }
            } else {
                err_c1 = EC_FAILURE;
                ++stats[10];
#ifdef DEBUG_SYNCMER_CORRECTION
                fprintf(stderr, "[DEBUG_SYNCMER_CORRECTION::WARN::%s] RID %lu ERROR BLOCK %d FLANKING SYNCMER OVERLAPPED: %u %d (%lu%c %lu%c)\n",
                        __func__, sr->sid, err_block, beg_pos, l, beg_utg>>1, "+-"[beg_utg&1], end_utg>>1, "+-"[end_utg&1]);
                print_aligned_syncmers_on_seq(sr, kmer_size, 0, UINT32_MAX, stderr);
#endif
            }

            // update c_path
            if (err_c1 == EC_SUCCESS) {
                n = dfs->opt_path.n; // n > 0
                // append the corrected syncmer list
                if (r) {
                    // end_utg == UINT64_MAX
                    for (j = n - 1; j > 0; --j) {
                        kv_push(uint64_t, *c_kmer, (dfs->opt_path.a[j]&MASK_ONE) | 1);
                        kv_push(uint32_t, *c_mpos, UINT32_MAX ^ (dfs->opt_path.a[j]&1));
                    }
                } else {
                    for (j = 1; j < n - 1; ++j) {
                        kv_push(uint64_t, *c_kmer, (dfs->opt_path.a[j]&MASK_ONE) | 1);
                        kv_push(uint32_t, *c_mpos, MASK_ONE | (dfs->opt_path.a[j]&1));
                    }
                    if (end_utg == UINT64_MAX && n > 1) {
                        // j == n-1
                        kv_push(uint64_t, *c_kmer, (dfs->opt_path.a[j]&MASK_ONE) | 1);
                        kv_push(uint32_t, *c_mpos, MASK_ONE | (dfs->opt_path.a[j]&1));
                    }
                }
            } else {
                // append the original sycnmer list
                if (r) {
                    kv_pushn(uint64_t, *c_kmer, k_mer, beg);
                    kv_pushn(uint32_t, *c_mpos, m_pos, beg);
                } else if (beg + 1 < n_scm) {
                    kv_pushn(uint64_t, *c_kmer, &k_mer[beg + 1], end - beg - 1);
                    kv_pushn(uint32_t, *c_mpos, &m_pos[beg + 1], end - beg - 1);
                }
            }
            // update c_seq if necessary
            if (fo) {
                if (err_c1 == EC_SUCCESS || err_c1 == EC_AMBISNQ) {
                    // append the corrected sequence
                    if (r)
                        kputsn_rev(dfs->opt_seq.s, dfs->opt_seq.l, c_seq);
                    else
                        kputsn(dfs->opt_seq.s, dfs->opt_seq.l, c_seq);
                } else {
                    // append the original sequence
                    if (r)
                        kputsn_rev(seq->s, seq->l, c_seq);
                    else
                        kputsn(seq->s, seq->l, c_seq);
                }
            }

#ifdef DEBUG_SYNCMER_CORRECTION
            if (err_c1 == EC_SUCCESS || err_c1 == EC_AMBISNQ)
                edist += dfs->edist;
#endif
        } else {
            // no good syncmers on the read
#ifdef DEBUG_SYNCMER_CORRECTION
            pthread_mutex_lock(&mutex);
            fprintf(stderr, "[DEBUG_SYNCMER_CORRECTION::%s] %s RID %lu no correct syncmers L=%u N=%u:", __func__, sr->sname, sr->sid, sr->hoco_l, sr->n);
            for (j = 0; j < n_scm; ++j) fprintf(stderr, " %u", scms[k_mer[j]>>1].cov);
            fputc('\n', stderr);
            pthread_mutex_unlock(&mutex);
#endif
            updated = 0;
        }

        // end is always a good syncmer
        // find next bad syncmer as beg
        for (beg = end + 1; beg < n_scm; ++beg)
            if (scms[k_mer[beg]>>1].del || (k_mer[end]&1))
                // bad syncmer
                break;
        
        if (beg > n_scm) break;

        // append kmer and mpos between [end, beg-1]
        kv_pushn(uint64_t, *c_kmer, &k_mer[end], beg - end);
        kv_pushn(uint32_t, *c_mpos, &m_pos[end], beg - end);

        // append sequence between [end, beg-1]
        if (fo) {
            beg_pos = m_pos[end] >> 1;
            end_pos = m_pos[beg-1] >> 1;
            l = end_pos + kmer_size - beg_pos;
            ks_resize(c_seq, c_seq->l + l);
            get_kmer_dna_seq(sr->hoco_s, beg_pos, l, 0, &c_seq->s[c_seq->l]);
            c_seq->l += l;
        }
    }
    
    if (updated) {
        // here is to update syncmer seq for the read
        // TODO need to consider data consistency
        size_t s, n_c = c_kmer->n;
        MYREALLOC(sr->k_mer, n_c);
        memcpy(sr->k_mer, c_kmer->a, sizeof(uint64_t) * n_c);
        MYREALLOC(sr->m_pos, n_c);
        memcpy(sr->m_pos, c_mpos->a, sizeof(uint32_t) * n_c);
        MYREALLOC(sr->s_mer, n_c);
        for (s = 0; s < n_c; ++s)
            sr->s_mer[s] = scms[sr->k_mer[s]>>1].s;
        sr->n = n_c;
    }

    if (fo) {
        if (!updated) {
            l = sr->hoco_l;
            ks_resize(c_seq, l);
            get_kmer_dna_seq(sr->hoco_s, 0, l, 0, c_seq->s);
            c_seq->l = l;
        }
        pthread_mutex_lock(&mutex);
        fprintf(fo, ">%s\n%.*s\n", sr->sname, (int) c_seq->l, c_seq->s);
        pthread_mutex_unlock(&mutex);
    }

#ifdef DEBUG_SYNCMER_CORRECTION
    // read information for debugging
    fprintf(stderr, "[DEBUG_SYNCMER_CORRECTION::%s] ERROR CORRECTION RESULT - %lu %s %u %u:", __func__,
            sr->sid, sr->sname, sr->hoco_l, sr->n);
    n_scm = sr->n;
    k_mer = sr->k_mer;
    m_pos = sr->m_pos;
    for (j = 0; j < n_scm; ++j) {
        if (j > 0) { // print arc coverage
            fprintf(stderr, " [%u]", asmg_arc(asmg,
                        (k_mer[j-1]&MASK_ONE) | (m_pos[j-1]&1),
                        (k_mer[j]&MASK_ONE) | (m_pos[j]&1))->cov);
        }
        fprintf(stderr, " (%d u%lu%c %u)", j, k_mer[j]>>1, "+-"[m_pos[j]&1], scms[k_mer[j]>>1].cov);
    }
    fputc('\n', stderr);
    // position of syncmers on read
    fprintf(stderr, "[DEBUG_SYNCMER_CORRECTION::%s] ERROR CORRECTION RESULT - %lu %s %u %u:", __func__,
            sr->sid, sr->sname, sr->hoco_l, sr->n);
    for (j = 0; j < n_scm; ++j) fprintf(stderr, " %u", m_pos[j]>>1);
    fputc('\n', stderr);

    if (fo) {
        int score = 0, t_end = 0, q_end = 0, n_cigar = 0;
        l = sr->hoco_l;
        ks_resize(seq, l);
        get_kmer_dna_seq(sr->hoco_s, 0, l, 0, seq->s);
        seq->l = l;
        uint32_t *cigar = wf_ed(seq->l, seq->s, c_seq->l, c_seq->s, 1, -1, &score, &t_end, &q_end, &n_cigar);
        fprintf(stderr, "[DEBUG_SYNCMER_CORRECTION::%s] ERROR CORRECTION RESULT - ", __func__);
        wf_print_cigar(cigar, n_cigar, stderr);
        fprintf(stderr, "[DEBUG_SYNCMER_CORRECTION::%s] ED_ALIGNMENT: ED=%d BW=%d tL=%d t_EN=%d qL=%d q_EN=%d\n",
                __func__, score, -1, (int) seq->l, t_end, (int) c_seq->l, q_end);
        wf_print_alignment(seq->s, seq->l, c_seq->s, c_seq->l, cigar, n_cigar, 0, stderr);
        free(cigar);
        if (score != edist)
            fprintf(stderr, "[DEBUG_SYNCMER_CORRECTION::WARN::%s] RID %lu INCONSISTENT ERROR CORRECTION RESULT - EC=%d, EDIST=%d\n", 
                    __func__, sr->sid, score, edist);
    }
#endif

    return;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq (%rdi), %rax
movq 0x8(%rdi), %rcx
movq (%rcx), %r8
movq 0x8(%rcx), %rcx
movq %rcx, 0xc0(%rsp)
movq 0x10(%r8), %rcx
movq %rcx, 0x58(%rsp)
movl 0x18(%rax), %r8d
movq 0x10(%rax), %rax
imulq $0x58, %rsi, %rcx
leaq (%rax,%rcx), %rsi
movq %rsi, 0x20(%rsp)
movq 0x50(%rax,%rcx), %rsi
movq %rsi, 0x40(%rsp)
movq 0x40(%rax,%rcx), %rsi
movq %rsi, 0x28(%rsp)
movl 0x38(%rax,%rcx), %r9d
movsd 0x10(%rdi), %xmm0
movsd %xmm0, 0xb8(%rsp)
movq 0x20(%rdi), %rax
movq %rax, 0x50(%rsp)
movq 0x18(%rdi), %rax
movslq %edx, %rcx
movq %rcx, %rdx
shlq $0x7, %rdx
leaq (%rdx,%rcx,8), %rcx
leaq (%rax,%rcx), %rdx
addq $0x30, %rdx
movq -0x30(%rdx), %rsi
movq %rsi, 0xd0(%rsp)
leaq 0x60(%rax,%rcx), %rsi
movq %rsi, 0xb0(%rsp)
leaq 0x38(%rax,%rcx), %rsi
movq %rsi, 0x78(%rsp)
leaq 0x80(%rax,%rcx), %rsi
movq %rsi, 0xc8(%rsp)
leaq 0x58(%rax,%rcx), %rax
movq %rax, 0xa8(%rsp)
movq -0x28(%rdx), %rax
movq %rax, 0x30(%rsp)
movq -0x8(%rdx), %rax
movq %rax, 0x18(%rsp)
movq -0x20(%rdx), %rsi
movq -0x18(%rdx), %r15
movq %rdx, 0x80(%rsp)
movq -0x10(%rdx), %rbp
xorl %eax, %eax
movq %rax, (%rsi)
movq %rax, (%r15)
movq %rax, (%rbp)
movq %r8, 0x90(%rsp)
leal 0xa(%r8), %eax
movl %eax, 0x74(%rsp)
movl %r9d, 0x14(%rsp)
movslq %r9d, %rax
movq %rax, 0xa0(%rsp)
decl %eax
movl %eax, 0x70(%rsp)
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl $0x1, %eax
movq %rsi, 0x8(%rsp)
movl %eax, 0x48(%rsp)
testl %edx, %edx
jle 0x129ea
movl %edx, %eax
movq 0x28(%rsp), %rcx
movl -0x4(%rcx,%rax,4), %ecx
shrl %ecx
addl 0x74(%rsp), %ecx
jmp 0x129ef
movl $0xa, %ecx
movq %rdx, %r8
incl %edx
cmpl 0x14(%rsp), %edx
setl %al
movq 0x58(%rsp), %rbx
movq 0x40(%rsp), %r14
movq 0xa0(%rsp), %r12
movq %r8, 0x38(%rsp)
jge 0x12a7e
movslq %edx, %rsi
leaq (%r14,%rsi,8), %rdi
movq 0x28(%rsp), %rdx
leaq (%rdx,%rsi,4), %r8
movq %r12, %r9
subq %rsi, %r9
xorl %edx, %edx
movq (%rdi,%rdx,8), %r10
movq %r10, %r11
shlq $0x4, %r11
andq $-0x20, %r11
cmpl $0x0, 0x10(%rbx,%r11)
js 0x12a55
andl $0x1, %r10d
jne 0x12a55
movl (%r8,%rdx,4), %r10d
shrl %r10d
cmpl %ecx, %r10d
jae 0x12a83
leaq (%rdx,%rsi), %rax
incq %rax
cmpq %r12, %rax
setl %al
incq %rdx
cmpq %rdx, %r9
jne 0x12a2c
movl 0x70(%rsp), %ecx
movl 0x14(%rsp), %edx
movq 0x8(%rsp), %rsi
movq 0x38(%rsp), %r8
jmp 0x12a96
movl %r8d, %ecx
jmp 0x12a96
movq 0x38(%rsp), %r8
leal (%r8,%rdx), %ecx
addl %r8d, %edx
incl %edx
movq 0x8(%rsp), %rsi
movl %edx, 0x4c(%rsp)
movslq %edx, %rdi
testl %r8d, %r8d
jns 0x12aad
xorl %r12d, %r12d
testb $0x1, %al
je 0x13358
testl %r8d, %r8d
movl %ecx, 0x10(%rsp)
js 0x12add
testb $0x1, %al
movq 0x28(%rsp), %rdx
movq 0x30(%rsp), %rsi
je 0x12b20
movq (%r14,%rdi,8), %rax
andq $-0x2, %rax
movl (%rdx,%rdi,4), %ebx
movl %ebx, %r12d
andl $0x1, %r12d
orq %rax, %r12
shrl %ebx
jmp 0x12b2f
movq (%r14,%rdi,8), %rax
andq $-0x2, %rax
movq 0x28(%rsp), %rcx
movl (%rcx,%rdi,4), %ebx
movl %ebx, %ecx
notl %ecx
andl $0x1, %ecx
orq %rax, %rcx
movq %rcx, 0x88(%rsp)
shrl %ebx
xorl %r14d, %r14d
movq $-0x1, %r12
movl $0x1, %ecx
movl 0x4c(%rsp), %eax
movq %rax, 0x68(%rsp)
movq 0x30(%rsp), %rsi
jmp 0x12b6d
movq 0x20(%rsp), %rax
movl 0x10(%rax), %ebx
movq $-0x1, %r12
movq 0x38(%rsp), %rax
leal -0x1(%rax), %ecx
movq %rcx, 0x68(%rsp)
cltq
movq -0x8(%r14,%rax,8), %rcx
andq $-0x2, %rcx
movl -0x4(%rdx,%rax,4), %r14d
movl %r14d, %eax
andl $0x1, %eax
orq %rcx, %rax
movq %rax, 0x88(%rsp)
shrl %r14d
addl 0x90(%rsp), %r14d
subl %r14d, %ebx
xorl %ecx, %ecx
movq %rdi, 0x98(%rsp)
testl %ebx, %ebx
js 0x1389f
movl %ebx, %r13d
cmpq %r13, 0x8(%rsi)
jae 0x12bee
leaq -0x1(%r13), %rax
movq %r12, 0x60(%rsp)
movl %ecx, %r12d
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rsi
shrq $0x10, %rsi
orq %rax, %rsi
incq %rsi
movq 0x30(%rsp), %rax
movq %rsi, 0x8(%rax)
movq 0x30(%rsp), %rax
movq 0x10(%rax), %rdi
callq 0x2360
movl %r12d, %ecx
movq 0x60(%rsp), %r12
movq 0x30(%rsp), %rsi
movq %rax, 0x10(%rsi)
movq 0x20(%rsp), %rax
movq 0x18(%rax), %rdi
movq 0x10(%rsi), %r8
movl %r14d, %esi
movl %ebx, %edx
callq 0xee23
movq 0x30(%rsp), %rcx
movq %r13, (%rcx)
xorl %r13d, %r13d
movq 0xc8(%rsp), %rax
cmpl $0xa, %ebx
movq 0xd0(%rsp), %r14
jl 0x12d63
movq 0x10(%rcx), %rax
movq %rax, (%r14)
movl %ebx, 0x10(%r14)
xorl %eax, %eax
movl %eax, 0x30(%r14)
movq $0x0, 0x8(%r14)
movl %eax, 0x14(%r14)
movl $0x1, 0x28(%r14)
cvtsi2sd %ebx, %xmm0
mulsd 0xb8(%rsp), %xmm0
callq 0x24f0
cvttsd2si %xmm0, %eax
cmpl $0x7, %eax
movl $0x6, %ecx
cmovll %ecx, %eax
movl %eax, 0x2c(%r14)
cmpq $0x0, 0x18(%r14)
jne 0x12c8d
movl $0x1, %edi
movl $0x18, %esi
callq 0x2250
movq %rax, 0x18(%r14)
movq 0x18(%r14), %rax
shll $0x2, %ebx
cmpq %rbx, 0x8(%rax)
jae 0x12cb7
movq %rbx, 0x8(%rax)
movq 0x10(%rax), %rdi
shlq $0x2, %rbx
leaq (%rbx,%rbx,2), %rsi
callq 0x2360
movq 0x18(%r14), %rcx
movq %rax, 0x10(%rcx)
movq 0x18(%r14), %rax
movq $0x1, (%rax)
movq 0x10(%rax), %rax
movabsq $-0x100000000, %rcx     # imm = 0xFFFFFFFF00000000
movq %rcx, (%rax)
movq 0xc0(%rsp), %rdi
movq 0x88(%rsp), %rbx
movq %rbx, %rdx
movq %r12, %rcx
movq %r14, %r8
movq 0x18(%rsp), %r9
callq 0x122ac
movl %eax, %r13d
testl %eax, %eax
je 0x12d36
movq 0x18(%rsp), %rax
movq 0x68(%rax), %rdx
cmpq (%rdx), %rbx
jne 0x138be
movq 0x80(%rsp), %rax
movq 0x78(%rsp), %rcx
cmpq $-0x1, %r12
je 0x12d59
movq 0x18(%rsp), %rax
movq 0x58(%rax), %rax
cmpq -0x8(%rdx,%rax,8), %r12
jne 0x138be
cmpq $-0x1, %r12
movq 0xa8(%rsp), %rax
cmoveq 0x80(%rsp), %rax
movq 0xb0(%rsp), %rcx
cmoveq 0x78(%rsp), %rcx
incq (%rax)
movslq %r13d, %rax
leaq (%rcx,%rax,8), %rax
incq (%rax)
cmpl $0x1, %r13d
leaq 0xb11f(%rip), %rdi      # 0x1de90
movq 0x38(%rsp), %rcx
jne 0x12f35
movq 0x18(%rsp), %rax
movq 0x58(%rax), %rbx
testl %ecx, %ecx
js 0x1305e
movl $0x1, %r14d
cmpl $0x3, %ebx
jl 0x12e6c
movq %r12, 0x60(%rsp)
movl %ebx, %r12d
decl %r12d
movq 0x8(%r15), %rax
cmpq %rax, (%r15)
jne 0x12ddc
leaq (%rax,%rax), %rsi
testq %rax, %rax
movl $0x2, %eax
cmoveq %rax, %rsi
movq %rsi, 0x8(%r15)
movq 0x10(%r15), %rdi
shlq $0x3, %rsi
callq 0x2360
leaq 0xb0b8(%rip), %rdi      # 0x1de90
movq %rax, 0x10(%r15)
movq 0x18(%rsp), %rax
movq 0x68(%rax), %rax
movq (%rax,%r14,8), %rax
orq $0x1, %rax
movq (%r15), %rcx
movq 0x10(%r15), %rdx
leaq 0x1(%rcx), %rsi
movq %rsi, (%r15)
movq %rax, (%rdx,%rcx,8)
movq 0x8(%rbp), %rax
cmpq %rax, (%rbp)
jne 0x12e35
leaq (%rax,%rax), %rsi
testq %rax, %rax
movl $0x2, %eax
cmoveq %rax, %rsi
movq %rsi, 0x8(%rbp)
movq 0x10(%rbp), %rdi
shlq $0x2, %rsi
callq 0x2360
leaq 0xb05f(%rip), %rdi      # 0x1de90
movq %rax, 0x10(%rbp)
movq 0x18(%rsp), %rax
movq 0x68(%rax), %rax
movl (%rax,%r14,8), %eax
orl $-0x2, %eax
movq (%rbp), %rcx
movq 0x10(%rbp), %rdx
leaq 0x1(%rcx), %rsi
movq %rsi, (%rbp)
movl %eax, (%rdx,%rcx,4)
incq %r14
cmpq %r14, %r12
jne 0x12da7
movl %r14d, %r14d
movq 0x60(%rsp), %r12
cmpq $-0x1, %r12
jne 0x1323f
cmpl $0x2, %ebx
jl 0x1323f
movq 0x8(%r15), %rax
cmpq %rax, (%r15)
jne 0x12eb4
leaq (%rax,%rax), %rsi
testq %rax, %rax
movl $0x2, %eax
cmoveq %rax, %rsi
movq %rsi, 0x8(%r15)
movq 0x10(%r15), %rdi
shlq $0x3, %rsi
callq 0x2360
leaq 0xafe0(%rip), %rdi      # 0x1de90
movq %rax, 0x10(%r15)
movq 0x18(%rsp), %rax
movq 0x68(%rax), %rax
movq (%rax,%r14,8), %rax
orq $0x1, %rax
movq (%r15), %rcx
movq 0x10(%r15), %rdx
leaq 0x1(%rcx), %rsi
movq %rsi, (%r15)
movq %rax, (%rdx,%rcx,8)
movq 0x8(%rbp), %rax
cmpq %rax, (%rbp)
jne 0x12f0d
leaq (%rax,%rax), %rsi
testq %rax, %rax
movl $0x2, %eax
cmoveq %rax, %rsi
movq %rsi, 0x8(%rbp)
movq 0x10(%rbp), %rdi
shlq $0x2, %rsi
callq 0x2360
leaq 0xaf87(%rip), %rdi      # 0x1de90
movq %rax, 0x10(%rbp)
movq 0x18(%rsp), %rax
movq 0x68(%rax), %rax
movl (%rax,%r14,8), %eax
orl $-0x2, %eax
movq (%rbp), %rcx
movq 0x10(%rbp), %rdx
leaq 0x1(%rcx), %rsi
movq %rsi, (%rbp)
movl %eax, (%rdx,%rcx,4)
jmp 0x1323f
testl %ecx, %ecx
js 0x13136
movq 0x68(%rsp), %rcx
leal 0x1(%rcx), %r14d
cmpl 0x14(%rsp), %r14d
jge 0x1323f
movl 0x10(%rsp), %eax
subl %ecx, %eax
movslq %eax, %rbx
movq (%r15), %rax
addq %rbx, %rax
cmpq 0x8(%r15), %rax
jbe 0x12fb7
decq %rax
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x10, %rcx
orq %rax, %rcx
leaq 0x1(%rcx), %rax
movq %rax, 0x8(%r15)
movq 0x10(%r15), %rdi
leaq 0x8(,%rcx,8), %rsi
callq 0x2360
movq %rax, 0x10(%r15)
movq (%r15), %rdi
shlq $0x3, %rdi
addq 0x10(%r15), %rdi
movslq %r14d, %r14
movq 0x40(%rsp), %rax
leaq (%rax,%r14,8), %rsi
leaq (,%rbx,8), %rdx
callq 0x22c0
addq %rbx, (%r15)
movq (%rbp), %rax
addq %rbx, %rax
cmpq 0x8(%rbp), %rax
jbe 0x1303c
decq %rax
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x10, %rcx
orq %rax, %rcx
leaq 0x1(%rcx), %rax
movq %rax, 0x8(%rbp)
movq 0x10(%rbp), %rdi
leaq 0x4(,%rcx,4), %rsi
callq 0x2360
movq %rax, 0x10(%rbp)
movq (%rbp), %rdi
shlq $0x2, %rdi
addq 0x10(%rbp), %rdi
movq 0x28(%rsp), %rax
leaq (%rax,%r14,4), %rsi
leaq (,%rbx,4), %rdx
jmp 0x1322f
cmpl $0x2, %ebx
jl 0x1323f
andl $0x7fffffff, %ebx       # imm = 0x7FFFFFFF
incq %rbx
movq 0x8(%r15), %rax
cmpq %rax, (%r15)
jne 0x130a5
leaq (%rax,%rax), %rsi
testq %rax, %rax
movl $0x2, %eax
cmoveq %rax, %rsi
movq %rsi, 0x8(%r15)
movq 0x10(%r15), %rdi
shlq $0x3, %rsi
callq 0x2360
leaq 0xadef(%rip), %rdi      # 0x1de90
movq %rax, 0x10(%r15)
movq 0x18(%rsp), %rax
movq 0x68(%rax), %rax
movq -0x10(%rax,%rbx,8), %rax
orq $0x1, %rax
movq (%r15), %rcx
movq 0x10(%r15), %rdx
leaq 0x1(%rcx), %rsi
movq %rsi, (%r15)
movq %rax, (%rdx,%rcx,8)
movq 0x8(%rbp), %rax
cmpq %rax, (%rbp)
jne 0x130ff
leaq (%rax,%rax), %rsi
testq %rax, %rax
movl $0x2, %eax
cmoveq %rax, %rsi
movq %rsi, 0x8(%rbp)
movq 0x10(%rbp), %rdi
shlq $0x2, %rsi
callq 0x2360
leaq 0xad95(%rip), %rdi      # 0x1de90
movq %rax, 0x10(%rbp)
movq 0x18(%rsp), %rax
movq 0x68(%rax), %rax
movl -0x10(%rax,%rbx,8), %eax
notl %eax
orl $-0x2, %eax
movq (%rbp), %rcx
movq 0x10(%rbp), %rdx
leaq 0x1(%rcx), %rsi
movq %rsi, (%rbp)
movl %eax, (%rdx,%rcx,4)
decq %rbx
cmpq $0x2, %rbx
jg 0x13070
jmp 0x1323f
movslq 0x68(%rsp), %rbx
movq (%r15), %rax
addq %rbx, %rax
cmpq 0x8(%r15), %rax
jbe 0x13198
decq %rax
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x10, %rcx
orq %rax, %rcx
leaq 0x1(%rcx), %rax
movq %rax, 0x8(%r15)
movq 0x10(%r15), %rdi
leaq 0x8(,%rcx,8), %rsi
callq 0x2360
movq %rax, 0x10(%r15)
movq (%r15), %rdi
shlq $0x3, %rdi
addq 0x10(%r15), %rdi
leaq (,%rbx,8), %rdx
movq 0x40(%rsp), %rsi
callq 0x22c0
addq %rbx, (%r15)
movq (%rbp), %rax
addq %rbx, %rax
cmpq 0x8(%rbp), %rax
jbe 0x13216
decq %rax
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x10, %rcx
orq %rax, %rcx
leaq 0x1(%rcx), %rax
movq %rax, 0x8(%rbp)
movq 0x10(%rbp), %rdi
leaq 0x4(,%rcx,4), %rsi
callq 0x2360
movq %rax, 0x10(%rbp)
movq (%rbp), %rdi
shlq $0x2, %rdi
addq 0x10(%rbp), %rdi
leaq (,%rbx,4), %rdx
movq 0x28(%rsp), %rsi
callq 0x22c0
addq %rbx, (%rbp)
leaq 0xac51(%rip), %rdi      # 0x1de90
cmpq $0x0, 0x50(%rsp)
je 0x13276
decl %r13d
cmpl $0x1, %r13d
movq 0x8(%rsp), %rsi
movl 0x10(%rsp), %ecx
ja 0x1329b
cmpl $0x0, 0x38(%rsp)
js 0x13598
movq 0x18(%rsp), %rax
movq 0x38(%rax), %r14
movslq 0x28(%rax), %rbx
movq (%rsi), %rax
jmp 0x132b8
movl 0x48(%rsp), %r12d
movq 0x8(%rsp), %rsi
movq 0x58(%rsp), %rbx
movq 0x40(%rsp), %r14
movq 0x98(%rsp), %rdi
movl 0x10(%rsp), %ecx
jmp 0x13358
movq 0x30(%rsp), %rax
movq (%rax), %r12
movq 0x10(%rax), %r14
cmpl $0x0, 0x38(%rsp)
js 0x1364d
movq (%rsi), %rax
movslq %r12d, %rbx
addq %rbx, %rax
incq %rax
cmpq 0x8(%rsi), %rax
jb 0x13318
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rsi
shrq $0x10, %rsi
orq %rax, %rsi
incq %rsi
movq 0x8(%rsp), %rax
movq %rsi, 0x8(%rax)
movq 0x8(%rsp), %rax
movq 0x10(%rax), %rdi
callq 0x2360
movq 0x8(%rsp), %rsi
movq %rax, 0x10(%rsi)
movq 0x10(%rsi), %rdi
addq (%rsi), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x22c0
movq 0x8(%rsp), %rsi
movl 0x10(%rsp), %ecx
addq (%rsi), %rbx
movq %rbx, (%rsi)
movq 0x10(%rsi), %rax
movb $0x0, (%rax,%rbx)
movl 0x48(%rsp), %r12d
movq 0x58(%rsp), %rbx
movq 0x40(%rsp), %r14
movq 0x98(%rsp), %rdi
addl $0x2, %ecx
cmpl 0x14(%rsp), %ecx
jge 0x133a0
movl %ecx, %r8d
movslq %ecx, %rax
leaq (%r14,%rax,8), %rcx
movq 0xa0(%rsp), %rdx
subq %rax, %rdx
xorl %eax, %eax
movq (%rcx,%rax,8), %rsi
shlq $0x4, %rsi
andq $-0x20, %rsi
cmpl $0x0, 0x10(%rbx,%rsi)
js 0x133a4
testb $0x1, (%r14,%rdi,8)
jne 0x133a4
incq %rax
cmpq %rax, %rdx
jne 0x13378
movl 0x14(%rsp), %eax
jmp 0x133aa
movl %ecx, %eax
jmp 0x133af
addl %eax, %r8d
movl %r8d, %eax
movq 0x8(%rsp), %rsi
cmpl 0x14(%rsp), %eax
jg 0x136f5
movq %rdi, %rbx
movq %rax, %r13
subl 0x4c(%rsp), %eax
movslq %eax, %r14
movq (%r15), %rax
addq %r14, %rax
cmpq 0x8(%r15), %rax
jbe 0x13423
decq %rax
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x10, %rcx
orq %rax, %rcx
leaq 0x1(%rcx), %rax
movq %rax, 0x8(%r15)
movq 0x10(%r15), %rdi
leaq 0x8(,%rcx,8), %rsi
callq 0x2360
movq %rax, 0x10(%r15)
movq (%r15), %rdi
shlq $0x3, %rdi
addq 0x10(%r15), %rdi
movq 0x40(%rsp), %rax
leaq (%rax,%rbx,8), %rsi
leaq (,%r14,8), %rdx
callq 0x22c0
addq %r14, (%r15)
movq (%rbp), %rax
addq %r14, %rax
cmpq 0x8(%rbp), %rax
jbe 0x134a5
decq %rax
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x10, %rcx
orq %rax, %rcx
leaq 0x1(%rcx), %rax
movq %rax, 0x8(%rbp)
movq 0x10(%rbp), %rdi
leaq 0x4(,%rcx,4), %rsi
callq 0x2360
movq %rax, 0x10(%rbp)
movq (%rbp), %rdi
shlq $0x2, %rdi
addq 0x10(%rbp), %rdi
movq 0x28(%rsp), %rax
leaq (%rax,%rbx,4), %rbx
leaq (,%r14,4), %rdx
movq %rbx, %rsi
callq 0x22c0
addq %r14, (%rbp)
movl %r12d, %eax
cmpq $0x0, 0x50(%rsp)
movq 0x8(%rsp), %rsi
movq %r13, %rdx
je 0x129cf
movl (%rbx), %ebx
shrl %ebx
movslq %edx, %rax
movq 0x28(%rsp), %rcx
movl -0x4(%rcx,%rax,4), %eax
shrl %eax
movq 0x90(%rsp), %rcx
subl %ebx, %ecx
addl %eax, %ecx
movslq %ecx, %r14
movq (%rsi), %rax
addq %r14, %rax
cmpq %rax, 0x8(%rsi)
jae 0x13569
decq %rax
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rsi
shrq $0x10, %rsi
orq %rax, %rsi
incq %rsi
movq 0x8(%rsp), %rax
movq %rsi, 0x8(%rax)
movq 0x8(%rsp), %rax
movq 0x10(%rax), %rdi
callq 0x2360
movq 0x8(%rsp), %rsi
movq %rax, 0x10(%rsi)
movq 0x20(%rsp), %rax
movq 0x18(%rax), %rdi
movq 0x10(%rsi), %r8
addq (%rsi), %r8
movl %ebx, %esi
movl %r14d, %edx
xorl %ecx, %ecx
callq 0xee23
movq 0x8(%rsp), %rsi
addq %r14, (%rsi)
movl %r12d, %eax
movq %r13, %rdx
jmp 0x129cf
movq 0x18(%rsp), %rax
movq 0x28(%rax), %r14
movq 0x38(%rax), %r12
movq (%rsi), %rax
movslq %r14d, %rbx
addq %rbx, %rax
incq %rax
cmpq 0x8(%rsi), %rax
jb 0x13616
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rsi
shrq $0x10, %rsi
orq %rax, %rsi
incq %rsi
movq 0x8(%rsp), %rax
movq %rsi, 0x8(%rax)
movq 0x8(%rsp), %rax
movq 0x10(%rax), %rdi
callq 0x2360
movl 0x10(%rsp), %ecx
leaq 0xa883(%rip), %rdi      # 0x1de90
movq 0x8(%rsp), %rsi
movq %rax, 0x10(%rsi)
testl %r14d, %r14d
jle 0x13333
movslq (%rsi), %rax
andl $0x7fffffff, %r14d      # imm = 0x7FFFFFFF
incq %r14
movsbq -0x2(%r12,%r14), %rcx
movb (%rdi,%rcx), %cl
movq 0x10(%rsi), %rdx
movb %cl, (%rdx,%rax)
incq %rax
decq %r14
cmpq $0x1, %r14
jg 0x1362c
jmp 0x1332f
movq (%rsi), %rax
movslq %r12d, %rbx
addq %rbx, %rax
incq %rax
cmpq 0x8(%rsi), %rax
jb 0x136be
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rsi
shrq $0x10, %rsi
orq %rax, %rsi
incq %rsi
movq 0x8(%rsp), %rax
movq %rsi, 0x8(%rax)
movq 0x8(%rsp), %rax
movq 0x10(%rax), %rdi
callq 0x2360
movl 0x10(%rsp), %ecx
leaq 0xa7db(%rip), %rdi      # 0x1de90
movq 0x8(%rsp), %rsi
movq %rax, 0x10(%rsi)
testl %r12d, %r12d
jle 0x13333
movslq (%rsi), %rax
andl $0x7fffffff, %r12d      # imm = 0x7FFFFFFF
incq %r12
movsbq -0x2(%r14,%r12), %rcx
movb (%rdi,%rcx), %cl
movq 0x10(%rsi), %rdx
movb %cl, (%rdx,%rax)
incq %rax
decq %r12
cmpq $0x1, %r12
jg 0x136d4
jmp 0x1332f
testl %r12d, %r12d
je 0x137a3
movq (%r15), %rbx
movq 0x20(%rsp), %r14
movq 0x50(%r14), %rdi
leaq (,%rbx,8), %r13
movq %r13, %rsi
callq 0x2360
movq %rax, 0x50(%r14)
movq 0x10(%r15), %rsi
movq %rax, %rdi
movq %r13, %rdx
callq 0x22c0
movq 0x40(%r14), %rdi
leaq (,%rbx,4), %r15
movq %r15, %rsi
callq 0x2360
movq %rax, 0x40(%r14)
movq 0x10(%rbp), %rsi
movq %rax, %rdi
movq %r15, %rdx
callq 0x22c0
movq 0x48(%r14), %rdi
movq %r13, %rsi
callq 0x2360
movq %rax, 0x48(%r14)
movq 0x58(%rsp), %rdi
testq %rbx, %rbx
je 0x13796
movq 0x20(%rsp), %rcx
movq 0x50(%rcx), %rcx
xorl %edx, %edx
movq (%rcx,%rdx,8), %rsi
shlq $0x4, %rsi
andq $-0x20, %rsi
movq 0x8(%rdi,%rsi), %rsi
movq %rsi, (%rax,%rdx,8)
incq %rdx
cmpq %rdx, %rbx
jne 0x13779
movq 0x20(%rsp), %rax
movl %ebx, 0x38(%rax)
movq 0x8(%rsp), %rsi
cmpq $0x0, 0x50(%rsp)
je 0x1388d
testl %r12d, %r12d
jne 0x1383f
movq 0x20(%rsp), %rax
movslq 0x10(%rax), %rbx
cmpq %rbx, 0x8(%rsi)
jae 0x1381f
leaq -0x1(%rbx), %rax
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rsi
shrq $0x10, %rsi
orq %rax, %rsi
incq %rsi
movq 0x8(%rsp), %rax
movq %rsi, 0x8(%rax)
movq 0x8(%rsp), %rax
movq 0x10(%rax), %rdi
callq 0x2360
movq 0x8(%rsp), %rsi
movq %rax, 0x10(%rsi)
movq 0x20(%rsp), %rax
movq 0x18(%rax), %rdi
movq 0x10(%rsi), %r8
xorl %esi, %esi
movl %ebx, %edx
xorl %ecx, %ecx
callq 0xee23
movq 0x8(%rsp), %rsi
movq %rbx, (%rsi)
leaq 0x10a7a(%rip), %rbx     # 0x242c0
movq %rbx, %rdi
movq %rsi, %r14
callq 0x2510
movq 0x20(%rsp), %rax
movq 0x8(%rax), %rdx
movl (%r14), %ecx
movq 0x10(%r14), %r8
leaq 0xb153(%rip), %rsi      # 0x1e9bb
movq 0x50(%rsp), %rdi
xorl %eax, %eax
callq 0x2290
movq %rbx, %rdi
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2300
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xb05c(%rip), %rdi      # 0x1e902
leaq 0xb05c(%rip), %rsi      # 0x1e909
leaq 0xb05f(%rip), %rcx      # 0x1e913
movl $0x1ca, %edx            # imm = 0x1CA
callq 0x21d0
leaq 0xb08c(%rip), %rdi      # 0x1e951
leaq 0xb03d(%rip), %rsi      # 0x1e909
leaq 0xb040(%rip), %rcx      # 0x1e913
movl $0x1ed, %edx            # imm = 0x1ED
callq 0x21d0
nopl (%rax)