// File: /workspace/github_c_makefile_star2_O1/xiongxu[P]bam2bedGraph2/samtools-0.1.19/misc/bamcheck.c
// Function: output_stats
void output_stats(stats_t *stats)
{
    // Calculate average insert size and standard deviation (from the main bulk data only)
    int isize, ibulk=0;
    uint64_t nisize=0, nisize_inward=0, nisize_outward=0, nisize_other=0;
    for (isize=0; isize<stats->nisize; isize++)
    {
        // Each pair was counted twice
        stats->isize_inward[isize] *= 0.5;
        stats->isize_outward[isize] *= 0.5;
        stats->isize_other[isize] *= 0.5;

        nisize_inward += stats->isize_inward[isize];
        nisize_outward += stats->isize_outward[isize];
        nisize_other += stats->isize_other[isize];
        nisize += stats->isize_inward[isize] + stats->isize_outward[isize] + stats->isize_other[isize];
    }

    double bulk=0, avg_isize=0, sd_isize=0;
    for (isize=0; isize<stats->nisize; isize++)
    {
        bulk += stats->isize_inward[isize] + stats->isize_outward[isize] + stats->isize_other[isize];
        avg_isize += isize * (stats->isize_inward[isize] + stats->isize_outward[isize] + stats->isize_other[isize]);

        if ( bulk/nisize > stats->isize_main_bulk )
        {
            ibulk  = isize+1;
            nisize = bulk;
            break;
        }
    }
    avg_isize /= nisize ? nisize : 1;
    for (isize=1; isize<ibulk; isize++)
        sd_isize += (stats->isize_inward[isize] + stats->isize_outward[isize] + stats->isize_other[isize]) * (isize-avg_isize)*(isize-avg_isize) / nisize;
    sd_isize = sqrt(sd_isize);


    printf("# This file was produced by bamcheck (%s)\n",BAMCHECK_VERSION);
    printf("# The command line was:  %s",stats->argv[0]);
    int i;
    for (i=1; i<stats->argc; i++)
        printf(" %s",stats->argv[i]);
    printf("\n");
    printf("# Summary Numbers. Use `grep ^SN | cut -f 2-` to extract this part.\n");
    printf("SN\traw total sequences:\t%ld\n", (long)(stats->nreads_filtered+stats->nreads_1st+stats->nreads_2nd));
    printf("SN\tfiltered sequences:\t%ld\n", (long)stats->nreads_filtered);
    printf("SN\tsequences:\t%ld\n", (long)(stats->nreads_1st+stats->nreads_2nd));
    printf("SN\tis paired:\t%d\n", stats->nreads_1st&&stats->nreads_2nd ? 1 : 0);
    printf("SN\tis sorted:\t%d\n", stats->is_sorted ? 1 : 0);
    printf("SN\t1st fragments:\t%ld\n", (long)stats->nreads_1st);
    printf("SN\tlast fragments:\t%ld\n", (long)stats->nreads_2nd);
    printf("SN\treads mapped:\t%ld\n", (long)(stats->nreads_paired+stats->nreads_unpaired));
    printf("SN\treads unmapped:\t%ld\n", (long)stats->nreads_unmapped);
    printf("SN\treads unpaired:\t%ld\n", (long)stats->nreads_unpaired);
    printf("SN\treads paired:\t%ld\n", (long)stats->nreads_paired);
    printf("SN\treads duplicated:\t%ld\n", (long)stats->nreads_dup);
    printf("SN\treads MQ0:\t%ld\n", (long)stats->nreads_mq0);
    printf("SN\treads QC failed:\t%ld\n", (long)stats->nreads_QCfailed);
    printf("SN\tnon-primary alignments:\t%ld\n", (long)stats->nreads_secondary);
    printf("SN\ttotal length:\t%ld\n", (long)stats->total_len);
    printf("SN\tbases mapped:\t%ld\n", (long)stats->nbases_mapped);
    printf("SN\tbases mapped (cigar):\t%ld\n", (long)stats->nbases_mapped_cigar);
    printf("SN\tbases trimmed:\t%ld\n", (long)stats->nbases_trimmed);
    printf("SN\tbases duplicated:\t%ld\n", (long)stats->total_len_dup);
    printf("SN\tmismatches:\t%ld\n", (long)stats->nmismatches);
    printf("SN\terror rate:\t%e\n", (float)stats->nmismatches/stats->nbases_mapped_cigar);
    float avg_read_length = (stats->nreads_1st+stats->nreads_2nd)?stats->total_len/(stats->nreads_1st+stats->nreads_2nd):0;
    printf("SN\taverage length:\t%.0f\n", avg_read_length);
    printf("SN\tmaximum length:\t%d\n", stats->max_len);
    printf("SN\taverage quality:\t%.1f\n", stats->total_len?stats->sum_qual/stats->total_len:0);
    printf("SN\tinsert size average:\t%.1f\n", avg_isize);
    printf("SN\tinsert size standard deviation:\t%.1f\n", sd_isize);
    printf("SN\tinward oriented pairs:\t%ld\n", (long)nisize_inward);
    printf("SN\toutward oriented pairs:\t%ld\n", (long)nisize_outward);
    printf("SN\tpairs with other orientation:\t%ld\n", (long)nisize_other);
    printf("SN\tpairs on different chromosomes:\t%ld\n", (long)stats->nreads_anomalous/2);

    int ibase,iqual;
    if ( stats->max_len<stats->nbases ) stats->max_len++;
    if ( stats->max_qual+1<stats->nquals ) stats->max_qual++;
    printf("# First Fragment Qualitites. Use `grep ^FFQ | cut -f 2-` to extract this part.\n");
    printf("# Columns correspond to qualities and rows to cycles. First column is the cycle number.\n");
    for (ibase=0; ibase<stats->max_len; ibase++)
    {
        printf("FFQ\t%d",ibase+1);
        for (iqual=0; iqual<=stats->max_qual; iqual++)
        {
            printf("\t%ld", (long)stats->quals_1st[ibase*stats->nquals+iqual]);
        }
        printf("\n");
    }
    printf("# Last Fragment Qualitites. Use `grep ^LFQ | cut -f 2-` to extract this part.\n");
    printf("# Columns correspond to qualities and rows to cycles. First column is the cycle number.\n");
    for (ibase=0; ibase<stats->max_len; ibase++)
    {
        printf("LFQ\t%d",ibase+1);
        for (iqual=0; iqual<=stats->max_qual; iqual++)
        {
            printf("\t%ld", (long)stats->quals_2nd[ibase*stats->nquals+iqual]);
        }
        printf("\n");
    }
    if ( stats->mpc_buf )
    {
        printf("# Mismatches per cycle and quality. Use `grep ^MPC | cut -f 2-` to extract this part.\n");
        printf("# Columns correspond to qualities, rows to cycles. First column is the cycle number, second\n");
        printf("# is the number of N's and the rest is the number of mismatches\n");
        for (ibase=0; ibase<stats->max_len; ibase++)
        {
            printf("MPC\t%d",ibase+1);
            for (iqual=0; iqual<=stats->max_qual; iqual++)
            {
                printf("\t%ld", (long)stats->mpc_buf[ibase*stats->nquals+iqual]);
            }
            printf("\n");
        }
    }
    printf("# GC Content of first fragments. Use `grep ^GCF | cut -f 2-` to extract this part.\n");
    int ibase_prev = 0;
    for (ibase=0; ibase<stats->ngc; ibase++)
    {
        if ( stats->gc_1st[ibase]==stats->gc_1st[ibase_prev] ) continue;
        printf("GCF\t%.2f\t%ld\n", (ibase+ibase_prev)*0.5*100./(stats->ngc-1), (long)stats->gc_1st[ibase_prev]);
        ibase_prev = ibase;
    }
    printf("# GC Content of last fragments. Use `grep ^GCL | cut -f 2-` to extract this part.\n");
    ibase_prev = 0;
    for (ibase=0; ibase<stats->ngc; ibase++)
    {
        if ( stats->gc_2nd[ibase]==stats->gc_2nd[ibase_prev] ) continue;
        printf("GCL\t%.2f\t%ld\n", (ibase+ibase_prev)*0.5*100./(stats->ngc-1), (long)stats->gc_2nd[ibase_prev]);
        ibase_prev = ibase;
    }
    printf("# ACGT content per cycle. Use `grep ^GCC | cut -f 2-` to extract this part. The columns are: cycle, and A,C,G,T counts [%%]\n");
    for (ibase=0; ibase<stats->max_len; ibase++)
    {
        uint64_t *ptr = &(stats->acgt_cycles[ibase*4]);
        uint64_t  sum = ptr[0]+ptr[1]+ptr[2]+ptr[3];
        if ( ! sum ) continue;
        printf("GCC\t%d\t%.2f\t%.2f\t%.2f\t%.2f\n", ibase,100.*ptr[0]/sum,100.*ptr[1]/sum,100.*ptr[2]/sum,100.*ptr[3]/sum);
    }
    printf("# Insert sizes. Use `grep ^IS | cut -f 2-` to extract this part. The columns are: pairs total, inward oriented pairs, outward oriented pairs, other pairs\n");
    for (isize=0; isize<ibulk; isize++)
        printf("IS\t%d\t%ld\t%ld\t%ld\t%ld\n", isize, (long)(stats->isize_inward[isize]+stats->isize_outward[isize]+stats->isize_other[isize]),
            (long)stats->isize_inward[isize], (long)stats->isize_outward[isize], (long)stats->isize_other[isize]);

    printf("# Read lengths. Use `grep ^RL | cut -f 2-` to extract this part. The columns are: read length, count\n");
    int ilen;
    for (ilen=0; ilen<stats->max_len; ilen++)
    {
        if ( stats->read_lengths[ilen]>0 )
            printf("RL\t%d\t%ld\n", ilen, (long)stats->read_lengths[ilen]);
    }

    printf("# Indel distribution. Use `grep ^ID | cut -f 2-` to extract this part. The columns are: length, number of insertions, number of deletions\n");
    for (ilen=0; ilen<stats->nindels; ilen++)
    {
        if ( stats->insertions[ilen]>0 || stats->deletions[ilen]>0 )
            printf("ID\t%d\t%ld\t%ld\n", ilen+1, (long)stats->insertions[ilen], (long)stats->deletions[ilen]);
    }

    printf("# Indels per cycle. Use `grep ^IC | cut -f 2-` to extract this part. The columns are: cycle, number of insertions (fwd), .. (rev) , number of deletions (fwd), .. (rev)\n");
    for (ilen=0; ilen<=stats->nbases; ilen++)
    {
        // For deletions we print the index of the cycle before the deleted base (1-based) and for insertions
        //  the index of the cycle of the first inserted base (also 1-based)
        if ( stats->ins_cycles_1st[ilen]>0 || stats->ins_cycles_2nd[ilen]>0 || stats->del_cycles_1st[ilen]>0 || stats->del_cycles_2nd[ilen]>0 )
            printf("IC\t%d\t%ld\t%ld\t%ld\t%ld\n", ilen+1, (long)stats->ins_cycles_1st[ilen], (long)stats->ins_cycles_2nd[ilen], (long)stats->del_cycles_1st[ilen], (long)stats->del_cycles_2nd[ilen]);
    }

    printf("# Coverage distribution. Use `grep ^COV | cut -f 2-` to extract this part.\n");
    if  ( stats->cov[0] )
        printf("COV\t[<%d]\t%d\t%ld\n",stats->cov_min,stats->cov_min-1, (long)stats->cov[0]);
    int icov;
    for (icov=1; icov<stats->ncov-1; icov++)
        if ( stats->cov[icov] )
            printf("COV\t[%d-%d]\t%d\t%ld\n",stats->cov_min + (icov-1)*stats->cov_step, stats->cov_min + icov*stats->cov_step-1,stats->cov_min + icov*stats->cov_step-1, (long)stats->cov[icov]);
    if ( stats->cov[stats->ncov-1] )
        printf("COV\t[%d<]\t%d\t%ld\n",stats->cov_min + (stats->ncov-2)*stats->cov_step-1,stats->cov_min + (stats->ncov-2)*stats->cov_step-1, (long)stats->cov[stats->ncov-1]);

    // Calculate average GC content, then sort by GC and depth
    printf("# GC-depth. Use `grep ^GCD | cut -f 2-` to extract this part. The columns are: GC%%, unique sequence percentiles, 10th, 25th, 50th, 75th and 90th depth percentile\n");
    uint32_t igcd;
    for (igcd=0; igcd<stats->igcd; igcd++)
    {
        if ( stats->fai )
            stats->gcd[igcd].gc = round(100. * stats->gcd[igcd].gc);
        else
            if ( stats->gcd[igcd].depth ) 
                stats->gcd[igcd].gc = round(100. * stats->gcd[igcd].gc / stats->gcd[igcd].depth);
    }
    qsort(stats->gcd, stats->igcd+1, sizeof(gc_depth_t), gcd_cmp);
    igcd = 0;
    while ( igcd < stats->igcd )
    {
        // Calculate percentiles (10,25,50,75,90th) for the current GC content and print
        uint32_t nbins=0, itmp=igcd;
        float gc = stats->gcd[igcd].gc;
        while ( itmp<stats->igcd && fabs(stats->gcd[itmp].gc-gc)<0.1 )
        {
            nbins++;
            itmp++;
        }
        printf("GCD\t%.1f\t%.3f\t%.3f\t%.3f\t%.3f\t%.3f\t%.3f\n", gc, (igcd+nbins+1)*100./(stats->igcd+1),
                gcd_percentile(&(stats->gcd[igcd]),nbins,10) *avg_read_length/stats->gcd_bin_size,
                gcd_percentile(&(stats->gcd[igcd]),nbins,25) *avg_read_length/stats->gcd_bin_size, 
                gcd_percentile(&(stats->gcd[igcd]),nbins,50) *avg_read_length/stats->gcd_bin_size, 
                gcd_percentile(&(stats->gcd[igcd]),nbins,75) *avg_read_length/stats->gcd_bin_size, 
                gcd_percentile(&(stats->gcd[igcd]),nbins,90) *avg_read_length/stats->gcd_bin_size 
              );
        igcd += nbins;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
movslq 0xc(%rdi), %rcx
xorl %r13d, %r13d
testq %rcx, %rcx
jle 0x6145
movq 0x38(%rbx), %rdx
movq 0x40(%rbx), %rsi
movq 0x48(%rbx), %rdi
xorl %r8d, %r8d
movsd 0x130ea(%rip), %xmm0    # 0x19130
movapd 0x130f2(%rip), %xmm1    # 0x19140
movsd 0x1311a(%rip), %xmm2    # 0x19170
movsd 0x1311a(%rip), %xmm3    # 0x19178
xorl %eax, %eax
xorl %r12d, %r12d
xorl %r14d, %r14d
xorl %r15d, %r15d
movsd (%rdx,%r8,8), %xmm4
unpcklps %xmm0, %xmm4            # xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
subpd %xmm1, %xmm4
movapd %xmm4, %xmm5
unpckhpd %xmm4, %xmm5            # xmm5 = xmm5[1],xmm4[1]
addsd %xmm4, %xmm5
mulsd %xmm2, %xmm5
cvttsd2si %xmm5, %r9
movq %r9, %r10
sarq $0x3f, %r10
subsd %xmm3, %xmm5
cvttsd2si %xmm5, %r11
andq %r10, %r11
orq %r9, %r11
movq %r11, (%rdx,%r8,8)
movsd (%rsi,%r8,8), %xmm4
unpcklps %xmm0, %xmm4            # xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
subpd %xmm1, %xmm4
movapd %xmm4, %xmm5
unpckhpd %xmm4, %xmm5            # xmm5 = xmm5[1],xmm4[1]
addsd %xmm4, %xmm5
mulsd %xmm2, %xmm5
cvttsd2si %xmm5, %r9
movq %r9, %r10
sarq $0x3f, %r10
subsd %xmm3, %xmm5
cvttsd2si %xmm5, %r11
andq %r10, %r11
orq %r9, %r11
movq %r11, (%rsi,%r8,8)
movsd (%rdi,%r8,8), %xmm4
unpcklps %xmm0, %xmm4            # xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
subpd %xmm1, %xmm4
movapd %xmm4, %xmm5
unpckhpd %xmm4, %xmm5            # xmm5 = xmm5[1],xmm4[1]
addsd %xmm4, %xmm5
mulsd %xmm2, %xmm5
cvttsd2si %xmm5, %r9
movq %r9, %r10
sarq $0x3f, %r10
subsd %xmm3, %xmm5
cvttsd2si %xmm5, %r11
andq %r10, %r11
orq %r9, %r11
movq %r11, (%rdi,%r8,8)
movq (%rdx,%r8,8), %r9
addq %r9, %r12
movq (%rsi,%r8,8), %r10
addq %r10, %r15
addq %r11, %r14
addq %r9, %rax
addq %r10, %rax
addq %r11, %rax
incq %r8
cmpq %r8, %rcx
jne 0x6069
jmp 0x6150
xorl %r15d, %r15d
xorl %r14d, %r14d
xorl %r12d, %r12d
xorl %eax, %eax
xorpd %xmm0, %xmm0
testl %ecx, %ecx
jle 0x6227
movq 0x38(%rbx), %rdx
movq 0x40(%rbx), %rsi
movq 0x48(%rbx), %rdi
movq %rax, %xmm2
punpckldq 0x12fbb(%rip), %xmm2 # xmm2 = xmm2[0],mem[0],xmm2[1],mem[1]
subpd 0x12fc3(%rip), %xmm2    # 0x19140
movapd %xmm2, %xmm1
unpckhpd %xmm2, %xmm1            # xmm1 = xmm1[1],xmm2[1]
addsd %xmm2, %xmm1
xorps %xmm2, %xmm2
cvtss2sd 0x98(%rbx), %xmm2
xorpd %xmm8, %xmm8
xorl %r13d, %r13d
movq 0x12f8c(%rip), %xmm3    # 0x19130
movapd 0x12f94(%rip), %xmm4    # 0x19140
xorpd %xmm5, %xmm5
movapd %xmm5, %xmm6
movq (%rsi,%r13,8), %r8
addq (%rdx,%r13,8), %r8
addq (%rdi,%r13,8), %r8
movapd %xmm8, %xmm7
movq %r8, %xmm8
punpckldq %xmm3, %xmm8    # xmm8 = xmm8[0],xmm3[0],xmm8[1],xmm3[1]
subpd %xmm4, %xmm8
movapd %xmm8, %xmm5
unpckhpd %xmm8, %xmm5            # xmm5 = xmm5[1],xmm8[1]
addsd %xmm8, %xmm5
addsd %xmm6, %xmm5
imulq %r13, %r8
movq %r8, %xmm6
punpckldq %xmm3, %xmm6    # xmm6 = xmm6[0],xmm3[0],xmm6[1],xmm3[1]
subpd %xmm4, %xmm6
movapd %xmm6, %xmm8
unpckhpd %xmm6, %xmm8            # xmm8 = xmm8[1],xmm6[1]
addsd %xmm6, %xmm8
addsd %xmm7, %xmm8
movapd %xmm5, %xmm6
divsd %xmm1, %xmm6
ucomisd %xmm2, %xmm6
ja 0x622e
incq %r13
cmpq %r13, %rcx
jne 0x61b0
xorl %r13d, %r13d
jmp 0x6250
xorpd %xmm8, %xmm8
jmp 0x6250
incl %r13d
cvttsd2si %xmm5, %rcx
movq %rcx, %rdx
sarq $0x3f, %rdx
subsd 0x12f33(%rip), %xmm5    # 0x19178
cvttsd2si %xmm5, %rax
andq %rdx, %rax
orq %rcx, %rax
cmpq $0x1, %rax
movq %rax, %rcx
adcq $0x0, %rcx
movq %rcx, %xmm1
punpckldq 0x12ec8(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x12ed0(%rip), %xmm1    # 0x19140
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd %xmm2, %xmm8
movl %r13d, %r8d
cmpl $0x2, %r13d
jl 0x631d
movq 0x38(%rbx), %rcx
movq 0x40(%rbx), %rdx
movq %rax, %xmm0
punpckldq 0x12e8d(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x12e95(%rip), %xmm0    # 0x19140
movq 0x48(%rbx), %rax
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
xorpd %xmm0, %xmm0
movl $0x1, %esi
movq 0x12e64(%rip), %xmm2    # 0x19130
movapd 0x12e6c(%rip), %xmm3    # 0x19140
movq (%rdx,%rsi,8), %rdi
addq (%rcx,%rsi,8), %rdi
addq (%rax,%rsi,8), %rdi
movq %rdi, %xmm4
punpckldq %xmm2, %xmm4    # xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
subpd %xmm3, %xmm4
movapd %xmm4, %xmm5
xorps %xmm6, %xmm6
cvtsi2sd %esi, %xmm6
unpckhpd %xmm4, %xmm5            # xmm5 = xmm5[1],xmm4[1]
addsd %xmm4, %xmm5
subsd %xmm8, %xmm6
mulsd %xmm6, %xmm5
mulsd %xmm6, %xmm5
divsd %xmm1, %xmm5
addsd %xmm5, %xmm0
incq %rsi
cmpq %rsi, %r8
jne 0x62d4
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
movq %r13, 0x8(%rsp)
movq %r8, 0x18(%rsp)
movapd %xmm8, 0x20(%rsp)
jb 0x633e
sqrtsd %xmm0, %xmm0
jmp 0x6343
callq 0x3560
movsd %xmm0, 0x10(%rsp)
leaq 0x132ac(%rip), %rdi     # 0x195fc
leaq 0x132d0(%rip), %rsi     # 0x19627
xorl %eax, %eax
callq 0x3210
movq 0x1e8(%rbx), %rax
movq (%rax), %rsi
leaq 0x132c3(%rip), %rdi     # 0x19632
xorl %eax, %eax
callq 0x3210
cmpl $0x2, 0x1e0(%rbx)
jl 0x63af
movl $0x1, %ebp
leaq 0x132bf(%rip), %r13     # 0x1964a
movq 0x1e8(%rbx), %rax
movq (%rax,%rbp,8), %rsi
movq %r13, %rdi
xorl %eax, %eax
callq 0x3210
incq %rbp
movslq 0x1e0(%rbx), %rax
cmpq %rax, %rbp
jl 0x638b
movl $0xa, %edi
callq 0x3070
leaq 0x1405f(%rip), %rdi     # 0x1a41f
callq 0x3100
movq 0xb0(%rbx), %rsi
addq 0xc0(%rbx), %rsi
addq 0xb8(%rbx), %rsi
leaq 0x1326d(%rip), %rdi     # 0x1964e
xorl %eax, %eax
callq 0x3210
movq 0xc0(%rbx), %rsi
leaq 0x13275(%rip), %rdi     # 0x1966b
xorl %eax, %eax
callq 0x3210
movq 0xb8(%rbx), %rsi
addq 0xb0(%rbx), %rsi
leaq 0x13275(%rip), %rdi     # 0x19687
xorl %eax, %eax
callq 0x3210
cmpq $0x0, 0xb0(%rbx)
movl $0x0, %esi
je 0x6436
xorl %esi, %esi
cmpq $0x0, 0xb8(%rbx)
setne %sil
leaq 0x1325d(%rip), %rdi     # 0x1969a
xorl %eax, %eax
callq 0x3210
xorl %esi, %esi
cmpl $0x0, 0x9c(%rbx)
setne %sil
leaq 0x13254(%rip), %rdi     # 0x196ac
xorl %eax, %eax
callq 0x3210
movq 0xb0(%rbx), %rsi
leaq 0x13251(%rip), %rdi     # 0x196be
xorl %eax, %eax
callq 0x3210
movq 0xb8(%rbx), %rsi
leaq 0x13253(%rip), %rdi     # 0x196d5
xorl %eax, %eax
callq 0x3210
movq 0xd8(%rbx), %rsi
addq 0xe0(%rbx), %rsi
leaq 0x1324f(%rip), %rdi     # 0x196ed
xorl %eax, %eax
callq 0x3210
movq 0xd0(%rbx), %rsi
leaq 0x13250(%rip), %rdi     # 0x19703
xorl %eax, %eax
callq 0x3210
movq 0xd8(%rbx), %rsi
leaq 0x13253(%rip), %rdi     # 0x1971b
xorl %eax, %eax
callq 0x3210
movq 0xe0(%rbx), %rsi
leaq 0x13256(%rip), %rdi     # 0x19733
xorl %eax, %eax
callq 0x3210
movq 0xc8(%rbx), %rsi
leaq 0x13257(%rip), %rdi     # 0x19749
xorl %eax, %eax
callq 0x3210
movq 0xf0(%rbx), %rsi
leaq 0x1325c(%rip), %rdi     # 0x19763
xorl %eax, %eax
callq 0x3210
movq 0x118(%rbx), %rsi
leaq 0x1325a(%rip), %rdi     # 0x19776
xorl %eax, %eax
callq 0x3210
movq 0x120(%rbx), %rsi
leaq 0x1325e(%rip), %rdi     # 0x1978f
xorl %eax, %eax
callq 0x3210
movq 0xa0(%rbx), %rsi
leaq 0x13269(%rip), %rdi     # 0x197af
xorl %eax, %eax
callq 0x3210
movq 0xf8(%rbx), %rsi
leaq 0x1326a(%rip), %rdi     # 0x197c5
xorl %eax, %eax
callq 0x3210
movq 0x100(%rbx), %rsi
leaq 0x1326b(%rip), %rdi     # 0x197db
xorl %eax, %eax
callq 0x3210
movq 0x108(%rbx), %rsi
leaq 0x13274(%rip), %rdi     # 0x197f9
xorl %eax, %eax
callq 0x3210
movq 0xa8(%rbx), %rsi
leaq 0x13276(%rip), %rdi     # 0x19810
xorl %eax, %eax
callq 0x3210
movq 0x110(%rbx), %rsi
leaq 0x1327b(%rip), %rdi     # 0x1982a
xorl %eax, %eax
callq 0x3210
movq 0x100(%rbx), %rax
movq 0x110(%rbx), %rcx
testq %rcx, %rcx
js 0x65d0
cvtsi2ss %rcx, %xmm0
jmp 0x65e5
movq %rcx, %rdx
shrq %rdx
andl $0x1, %ecx
orq %rdx, %rcx
cvtsi2ss %rcx, %xmm0
addss %xmm0, %xmm0
testq %rax, %rax
js 0x65f1
cvtsi2ss %rax, %xmm1
jmp 0x6606
movq %rax, %rcx
shrq %rcx
andl $0x1, %eax
orq %rcx, %rax
cvtsi2ss %rax, %xmm1
addss %xmm1, %xmm1
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
leaq 0x13229(%rip), %rdi     # 0x1983e
movb $0x1, %al
callq 0x3210
movq 0xb8(%rbx), %rcx
addq 0xb0(%rbx), %rcx
je 0x6647
movq 0xa0(%rbx), %rax
xorl %edx, %edx
divq %rcx
testq %rax, %rax
js 0x664c
xorps %xmm0, %xmm0
cvtsi2ss %rax, %xmm0
jmp 0x6664
xorps %xmm0, %xmm0
jmp 0x6664
movq %rax, %rcx
shrq %rcx
andl $0x1, %eax
orq %rcx, %rax
xorps %xmm0, %xmm0
cvtsi2ss %rax, %xmm0
addss %xmm0, %xmm0
movss %xmm0, 0x4(%rsp)
cvtss2sd %xmm0, %xmm0
leaq 0x131dc(%rip), %rdi     # 0x19851
movb $0x1, %al
callq 0x3210
movl 0x90(%rbx), %esi
leaq 0x131e1(%rip), %rdi     # 0x1986a
xorl %eax, %eax
callq 0x3210
movq 0xa0(%rbx), %rax
testq %rax, %rax
je 0x66cb
movsd 0x1c0(%rbx), %xmm0
movq %rax, %xmm1
punpckldq 0x12a7f(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x12a87(%rip), %xmm1    # 0x19140
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd %xmm2, %xmm0
jmp 0x66ce
xorps %xmm0, %xmm0
leaq 0x131ac(%rip), %rdi     # 0x19881
movb $0x1, %al
callq 0x3210
leaq 0x131b8(%rip), %rdi     # 0x1989b
movaps 0x20(%rsp), %xmm0
movb $0x1, %al
callq 0x3210
leaq 0x131c3(%rip), %rdi     # 0x198b9
movsd 0x10(%rsp), %xmm0
movb $0x1, %al
callq 0x3210
leaq 0x131d8(%rip), %rdi     # 0x198e2
movq %r12, %rsi
xorl %eax, %eax
callq 0x3210
leaq 0x131e6(%rip), %rdi     # 0x19901
movq %r15, %rsi
xorl %eax, %eax
callq 0x3210
leaq 0x131f5(%rip), %rdi     # 0x19921
movq %r14, %rsi
xorl %eax, %eax
callq 0x3210
movq 0xe8(%rbx), %rax
movq %rax, %rsi
shrq $0x3f, %rsi
addq %rax, %rsi
sarq %rsi
leaq 0x131f6(%rip), %rdi     # 0x19947
xorl %eax, %eax
callq 0x3210
movl 0x90(%rbx), %eax
cmpl 0x8(%rbx), %eax
jge 0x676b
incl %eax
movl %eax, 0x90(%rbx)
movl 0x94(%rbx), %eax
incl %eax
cmpl 0x4(%rbx), %eax
jge 0x677e
movl %eax, 0x94(%rbx)
leaq 0x13cde(%rip), %rdi     # 0x1a463
callq 0x3100
leaq 0x13d6f(%rip), %rdi     # 0x1a500
callq 0x3100
cmpl $0x0, 0x90(%rbx)
jle 0x6811
leaq 0x131c9(%rip), %r14     # 0x1996f
leaq 0x131c9(%rip), %r15     # 0x19976
xorl %r12d, %r12d
leal 0x1(%r12), %ebp
movq %r14, %rdi
movl %ebp, %esi
xorl %eax, %eax
callq 0x3210
cmpl $0x0, 0x94(%rbx)
js 0x67fc
movslq %r12d, %r12
xorl %r13d, %r13d
movq 0x18(%rbx), %rax
movslq 0x4(%rbx), %rcx
imulq %r12, %rcx
addq %r13, %rcx
movq (%rax,%rcx,8), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq 0x3210
incq %r13
leal -0x1(%r13), %eax
cmpl 0x94(%rbx), %eax
jl 0x67d0
movl $0xa, %edi
callq 0x3070
movl %ebp, %r12d
cmpl 0x90(%rbx), %ebp
jl 0x67b0
leaq 0x13c9a(%rip), %rdi     # 0x1a4b2
callq 0x3100
leaq 0x13cdc(%rip), %rdi     # 0x1a500
callq 0x3100
cmpl $0x0, 0x90(%rbx)
jle 0x68a4
leaq 0x13142(%rip), %r14     # 0x1997b
leaq 0x13136(%rip), %r15     # 0x19976
xorl %r12d, %r12d
leal 0x1(%r12), %ebp
movq %r14, %rdi
movl %ebp, %esi
xorl %eax, %eax
callq 0x3210
cmpl $0x0, 0x94(%rbx)
js 0x688f
movslq %r12d, %r12
xorl %r13d, %r13d
movq 0x20(%rbx), %rax
movslq 0x4(%rbx), %rcx
imulq %r12, %rcx
addq %r13, %rcx
movq (%rax,%rcx,8), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq 0x3210
incq %r13
leal -0x1(%r13), %eax
cmpl 0x94(%rbx), %eax
jl 0x6863
movl $0xa, %edi
callq 0x3070
movl %ebp, %r12d
cmpl 0x90(%rbx), %ebp
jl 0x6843
cmpq $0x0, 0x198(%rbx)
je 0x6954
leaq 0x13c9f(%rip), %rdi     # 0x1a558
callq 0x3100
leaq 0x13ce9(%rip), %rdi     # 0x1a5ae
callq 0x3100
leaq 0x13d39(%rip), %rdi     # 0x1a60a
callq 0x3100
cmpl $0x0, 0x90(%rbx)
jle 0x6954
leaq 0x1309c(%rip), %r14     # 0x19982
leaq 0x13089(%rip), %r15     # 0x19976
xorl %r12d, %r12d
leal 0x1(%r12), %ebp
movq %r14, %rdi
movl %ebp, %esi
xorl %eax, %eax
callq 0x3210
cmpl $0x0, 0x94(%rbx)
js 0x693f
movslq %r12d, %r12
xorl %r13d, %r13d
movq 0x198(%rbx), %rax
movslq 0x4(%rbx), %rcx
imulq %r12, %rcx
addq %r13, %rcx
movq (%rax,%rcx,8), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq 0x3210
incq %r13
leal -0x1(%r13), %eax
cmpl 0x94(%rbx), %eax
jl 0x6910
movl $0xa, %edi
callq 0x3070
movl %ebp, %r12d
cmpl 0x90(%rbx), %ebp
jl 0x68f0
leaq 0x13cef(%rip), %rdi     # 0x1a64a
callq 0x3100
movl 0x10(%rbx), %eax
testl %eax, %eax
movq 0x8(%rsp), %r13
movq 0x18(%rsp), %rbp
jle 0x69ce
xorl %r15d, %r15d
leaq 0x1300e(%rip), %r14     # 0x19989
xorl %ecx, %ecx
movq 0x28(%rbx), %rdx
movslq %ecx, %rsi
movq (%rdx,%rsi,8), %rsi
cmpq %rsi, (%rdx,%r15,8)
je 0x69c2
addl %r15d, %ecx
xorps %xmm0, %xmm0
cvtsi2sd %ecx, %xmm0
mulsd 0x127d0(%rip), %xmm0    # 0x19170
mulsd 0x127d8(%rip), %xmm0    # 0x19180
decl %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
divsd %xmm1, %xmm0
movq %r14, %rdi
movb $0x1, %al
callq 0x3210
movl %r15d, %ecx
incq %r15
movslq 0x10(%rbx), %rax
cmpq %rax, %r15
jl 0x697d
leaq 0x13cc8(%rip), %rdi     # 0x1a69d
callq 0x3100
movl 0x10(%rbx), %eax
testl %eax, %eax
jle 0x6a3e
xorl %r15d, %r15d
leaq 0x12fac(%rip), %r14     # 0x19997
xorl %ecx, %ecx
movq 0x30(%rbx), %rdx
movslq %ecx, %rsi
movq (%rdx,%rsi,8), %rsi
cmpq %rsi, (%rdx,%r15,8)
je 0x6a32
addl %r15d, %ecx
xorps %xmm0, %xmm0
cvtsi2sd %ecx, %xmm0
mulsd 0x12760(%rip), %xmm0    # 0x19170
mulsd 0x12768(%rip), %xmm0    # 0x19180
decl %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
divsd %xmm1, %xmm0
movq %r14, %rdi
movb $0x1, %al
callq 0x3210
movl %r15d, %ecx
incq %r15
movslq 0x10(%rbx), %rax
cmpq %rax, %r15
jl 0x69ed
leaq 0x12f60(%rip), %rdi     # 0x199a5
xorl %eax, %eax
callq 0x3210
cmpl $0x0, 0x90(%rbx)
jle 0x6b6e
movl $0x18, %r12d
xorl %r14d, %r14d
leaq 0x12fb9(%rip), %r15     # 0x19a22
movq 0x50(%rbx), %rax
movq -0x18(%rax,%r12), %rdi
movq -0x10(%rax,%r12), %rdx
leaq (%rdx,%rdi), %rsi
movq -0x8(%rax,%r12), %rcx
addq %rcx, %rsi
movq (%rax,%r12), %rax
addq %rax, %rsi
je 0x6b57
movq %rdi, %xmm1
movq 0x12693(%rip), %xmm6    # 0x19130
punpckldq %xmm6, %xmm1    # xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1]
movapd 0x12697(%rip), %xmm7    # 0x19140
subpd %xmm7, %xmm1
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
movsd 0x126be(%rip), %xmm8    # 0x19180
mulsd %xmm8, %xmm0
movq %rsi, %xmm1
punpckldq %xmm6, %xmm1    # xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1]
subpd %xmm7, %xmm1
movapd %xmm1, %xmm4
unpckhpd %xmm1, %xmm4            # xmm4 = xmm4[1],xmm1[1]
addsd %xmm1, %xmm4
divsd %xmm4, %xmm0
movq %rdx, %xmm2
punpckldq %xmm6, %xmm2    # xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1]
subpd %xmm7, %xmm2
movapd %xmm2, %xmm1
unpckhpd %xmm2, %xmm1            # xmm1 = xmm1[1],xmm2[1]
addsd %xmm2, %xmm1
mulsd %xmm8, %xmm1
divsd %xmm4, %xmm1
movq %rcx, %xmm3
punpckldq %xmm6, %xmm3    # xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1]
subpd %xmm7, %xmm3
movapd %xmm3, %xmm2
unpckhpd %xmm3, %xmm2            # xmm2 = xmm2[1],xmm3[1]
addsd %xmm3, %xmm2
mulsd %xmm8, %xmm2
divsd %xmm4, %xmm2
movq %rax, %xmm5
punpckldq %xmm6, %xmm5    # xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
subpd %xmm7, %xmm5
movapd %xmm5, %xmm3
unpckhpd %xmm5, %xmm3            # xmm3 = xmm3[1],xmm5[1]
addsd %xmm5, %xmm3
mulsd %xmm8, %xmm3
divsd %xmm4, %xmm3
movq %r15, %rdi
movl %r14d, %esi
movb $0x4, %al
callq 0x3210
incq %r14
movslq 0x90(%rbx), %rax
addq $0x20, %r12
cmpq %rax, %r14
jl 0x6a69
leaq 0x13b7a(%rip), %rdi     # 0x1a6ef
callq 0x3100
testl %r13d, %r13d
jle 0x6bbd
leaq 0x12eb8(%rip), %r14     # 0x19a3e
xorl %r15d, %r15d
movq 0x38(%rbx), %rax
movq 0x40(%rbx), %rdx
movq (%rax,%r15,8), %rcx
movq (%rdx,%r15,8), %r8
leaq (%r8,%rcx), %rdx
movq 0x48(%rbx), %rax
movq (%rax,%r15,8), %r9
addq %r9, %rdx
movq %r14, %rdi
movl %r15d, %esi
xorl %eax, %eax
callq 0x3210
incq %r15
cmpq %r15, %rbp
jne 0x6b89
leaq 0x13bc5(%rip), %rdi     # 0x1a789
callq 0x3100
cmpl $0x0, 0x90(%rbx)
jle 0x6c05
leaq 0x12e7c(%rip), %r14     # 0x19a55
xorl %r15d, %r15d
movq 0x58(%rbx), %rax
movq (%rax,%r15,8), %rdx
testq %rdx, %rdx
je 0x6bf6
movq %r14, %rdi
movl %r15d, %esi
xorl %eax, %eax
callq 0x3210
incq %r15
movslq 0x90(%rbx), %rax
cmpq %rax, %r15
jl 0x6bdc
leaq 0x13be2(%rip), %rdi     # 0x1a7ee
callq 0x3100
cmpl $0x0, 0x14(%rbx)
jle 0x6c5b
leaq 0x12e42(%rip), %r14     # 0x19a60
xorl %r15d, %r15d
movq 0x60(%rbx), %rax
movq (%rax,%r15,8), %rdx
testq %rdx, %rdx
jne 0x6c39
movq 0x68(%rbx), %rax
cmpq $0x0, (%rax,%r15,8)
je 0x6c4f
movq 0x68(%rbx), %rax
movq (%rax,%r15,8), %rcx
leal 0x1(%r15), %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x3210
incq %r15
movslq 0x14(%rbx), %rax
cmpq %rax, %r15
jl 0x6c21
leaq 0x13c16(%rip), %rdi     # 0x1a878
callq 0x3100
cmpl $0x0, 0x8(%rbx)
js 0x6cf2
movq $-0x1, %r15
leaq 0x12df0(%rip), %r14     # 0x19a6f
movq 0x70(%rbx), %rax
movq 0x8(%rax,%r15,8), %rdx
testq %rdx, %rdx
jne 0x6cb7
movq 0x78(%rbx), %rax
cmpq $0x0, 0x8(%rax,%r15,8)
jne 0x6cb7
movq 0x80(%rbx), %rax
cmpq $0x0, 0x8(%rax,%r15,8)
jne 0x6cb7
movq 0x88(%rbx), %rax
cmpq $0x0, 0x8(%rax,%r15,8)
je 0x6ce6
movq 0x78(%rbx), %rax
movq 0x80(%rbx), %rsi
movq 0x8(%rax,%r15,8), %rcx
movq 0x8(%rsi,%r15,8), %r8
movq 0x88(%rbx), %rax
movq 0x8(%rax,%r15,8), %r9
leal 0x2(%r15), %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x3210
movslq 0x8(%rbx), %rax
incq %r15
cmpq %rax, %r15
jl 0x6c7f
leaq 0x13c27(%rip), %rdi     # 0x1a920
callq 0x3100
movq 0x150(%rbx), %rax
movq (%rax), %rcx
testq %rcx, %rcx
je 0x6d24
movl 0x158(%rbx), %esi
leal -0x1(%rsi), %edx
leaq 0x12d69(%rip), %rdi     # 0x19a86
xorl %eax, %eax
callq 0x3210
movl 0x14c(%rbx), %eax
cmpl $0x3, %eax
jl 0x6d90
leaq 0x12d62(%rip), %r14     # 0x19a98
xorl %r15d, %r15d
movq 0x150(%rbx), %rax
movq 0x8(%rax,%r15,8), %r8
testq %r8, %r8
je 0x6d73
movl 0x158(%rbx), %eax
movl 0x160(%rbx), %esi
leal 0x1(%r15), %ecx
imull %esi, %ecx
imull %r15d, %esi
addl %eax, %esi
addl %eax, %ecx
decl %ecx
movq %r14, %rdi
movl %ecx, %edx
xorl %eax, %eax
callq 0x3210
movslq 0x14c(%rbx), %rax
leaq -0x1(%rax), %rcx
leaq 0x1(%r15), %rdx
addq $0x2, %r15
cmpq %rcx, %r15
movq %rdx, %r15
jl 0x6d39
jmp 0x6d93
leal -0x1(%rax), %ecx
movq 0x150(%rbx), %rdx
movslq %ecx, %rcx
movq (%rdx,%rcx,8), %rcx
testq %rcx, %rcx
je 0x6dca
movl 0x158(%rbx), %edx
addl $-0x2, %eax
imull 0x160(%rbx), %eax
addl %eax, %edx
decl %edx
leaq 0x12ceb(%rip), %rdi     # 0x19aac
movl %edx, %esi
xorl %eax, %eax
callq 0x3210
leaq 0x12ced(%rip), %rdi     # 0x19abe
xorl %eax, %eax
callq 0x3210
movl 0x12c(%rbx), %ecx
movq %rcx, 0x8(%rsp)
testq %rcx, %rcx
je 0x6e73
movq 0x1d8(%rbx), %r15
movq 0x8(%rsp), %rax
leaq (,%rax,8), %r12
xorl %r13d, %r13d
xorl %ebp, %ebp
testq %r15, %r15
je 0x6e28
movq 0x130(%rbx), %rax
leaq (%rax,%rbp,8), %r14
xorps %xmm0, %xmm0
cvtss2sd (%rax,%r13), %xmm0
mulsd 0x1235a(%rip), %xmm0    # 0x19180
jmp 0x6e59
movq 0x130(%rbx), %r14
movl 0x4(%r14,%r13), %eax
testl %eax, %eax
je 0x6e67
addq %r13, %r14
xorps %xmm0, %xmm0
cvtss2sd (%r14), %xmm0
mulsd 0x12335(%rip), %xmm0    # 0x19180
movl %eax, %eax
xorps %xmm1, %xmm1
cvtsi2sd %rax, %xmm1
divsd %xmm1, %xmm0
callq 0x30a0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, (%r14)
incq %rbp
addq $0x8, %r13
cmpq %r13, %r12
jne 0x6e05
movq 0x130(%rbx), %rdi
movq 0x8(%rsp), %rsi
incl %esi
leaq 0x1ce(%rip), %rcx       # 0x7056
movl $0x8, %edx
callq 0x3110
movl 0x12c(%rbx), %eax
testl %eax, %eax
je 0x7047
xorl %ecx, %ecx
movaps 0x122a7(%rip), %xmm2    # 0x19150
movsd 0x122d7(%rip), %xmm3    # 0x19188
leaq 0x12caa(%rip), %r14     # 0x19b62
movq 0x130(%rbx), %rdx
movl %ecx, %esi
leaq (%rdx,%rsi,8), %r15
movss (%r15), %xmm0
xorl %esi, %esi
leal (%rcx,%rsi), %edi
movss (%rdx,%rdi,8), %xmm1
subss %xmm0, %xmm1
andps %xmm2, %xmm1
cvtss2sd %xmm1, %xmm1
ucomisd %xmm1, %xmm3
jbe 0x6ef9
movl %esi, %r12d
incl %r12d
leal (%rcx,%rsi), %edi
incl %edi
movl %r12d, %esi
cmpl %eax, %edi
jb 0x6ecc
jmp 0x6efc
movl %esi, %r12d
cvtss2sd %xmm0, %xmm0
movsd %xmm0, 0x18(%rsp)
leal (%r12,%rcx), %ebp
addl %r12d, %ecx
incl %ecx
xorps %xmm1, %xmm1
cvtsi2sd %rcx, %xmm1
mulsd 0x12261(%rip), %xmm1    # 0x19180
incl %eax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
divsd %xmm0, %xmm1
movsd %xmm1, 0x20(%rsp)
movq %r15, %rdi
movl %r12d, %esi
movl $0xa, %edx
callq 0x5fa9
xorps %xmm1, %xmm1
cvtsi2ssl 0x138(%rbx), %xmm1
movss %xmm1, 0x8(%rsp)
mulss 0x4(%rsp), %xmm0
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, 0x10(%rsp)
movq %r15, %rdi
movl %r12d, %esi
movl $0x19, %edx
callq 0x5fa9
mulss 0x4(%rsp), %xmm0
divss 0x8(%rsp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, 0x40(%rsp)
movq %r15, %rdi
movl %r12d, %esi
movl $0x32, %edx
callq 0x5fa9
mulss 0x4(%rsp), %xmm0
divss 0x8(%rsp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, 0x38(%rsp)
movq %r15, %rdi
movl %r12d, %esi
movl $0x4b, %edx
callq 0x5fa9
mulss 0x4(%rsp), %xmm0
divss 0x8(%rsp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, 0x30(%rsp)
movq %r15, %rdi
movl %r12d, %esi
movl $0x5a, %edx
callq 0x5fa9
mulss 0x4(%rsp), %xmm0
divss 0x8(%rsp), %xmm0
cvtss2sd %xmm0, %xmm6
movq %r14, %rdi
movsd 0x18(%rsp), %xmm0
movsd 0x20(%rsp), %xmm1
movsd 0x10(%rsp), %xmm2
movsd 0x40(%rsp), %xmm3
movsd 0x38(%rsp), %xmm4
movsd 0x30(%rsp), %xmm5
movb $0x7, %al
callq 0x3210
movsd 0x12158(%rip), %xmm3    # 0x19188
movaps 0x12119(%rip), %xmm2    # 0x19150
movl 0x12c(%rbx), %eax
movl %ebp, %ecx
cmpl %eax, %ebp
jb 0x6eb8
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq