// File: /workspace/github_c_makefile_star2_O3/aokad[P]sequeeze/seqtk.c
// Function: fqc_aux
static void fqc_aux(posstat_t *p, int pos, int64_t allq[94], double perr[94], int qthres)
{
	int k;
	int64_t sum = 0, qsum = 0, sum_low = 0;
	double psum = 0;
	if (pos <= 0) printf("ALL");
	else printf("%d", pos);
	for (k = 0; k <= 4; ++k) sum += p->b[k];
	printf("\t%lld", (long long)sum);
	for (k = 0; k <= 4; ++k)
		printf("\t%.1f", 100. * p->b[k] / sum);
	for (k = 0; k <= 93; ++k) {
		qsum += p->q[k] * k, psum += p->q[k] * perr[k];
		if (k < qthres) sum_low += p->q[k];
	}
	printf("\t%.1f\t%.1f", (double)qsum/sum, -4.343*log((psum+1e-6)/(sum+1e-6)));
	if (qthres <= 0) {
		for (k = 0; k <= 93; ++k)
			if (allq[k] > 0) printf("\t%.2f", 100. * p->q[k] / sum);
	} else printf("\t%.1f\t%.1f", 100. * sum_low / sum, 100. * (sum - sum_low) / sum);
	putchar('\n');
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r8d, %ebp
movq %rcx, %r12
movq %rdx, %rbx
movq %rdi, %r14
testl %esi, %esi
jle 0x90c2
leaq 0x23b6(%rip), %rdi      # 0xb46f
xorl %eax, %eax
callq 0x20f0
jmp 0x90d0
leaq 0x34b5(%rip), %rdi      # 0xc57e
xorl %eax, %eax
callq 0x20f0
movl %ebp, 0xc(%rsp)
xorl %eax, %eax
xorl %r15d, %r15d
addq 0x2f0(%r14,%rax,8), %r15
incq %rax
cmpq $0x5, %rax
jne 0x90d9
leaq 0x3491(%rip), %rdi      # 0xc582
xorl %ebp, %ebp
movq %r15, %rsi
xorl %eax, %eax
callq 0x20f0
cvtsi2sd %r15, %xmm2
movsd 0x1fae(%rip), %xmm1     # 0xb0b8
leaq 0x347c(%rip), %r13      # 0xc58d
movsd %xmm2, (%rsp)
xorps %xmm0, %xmm0
cvtsi2sdq 0x2f0(%r14,%rbp,8), %xmm0
mulsd %xmm1, %xmm0
divsd %xmm2, %xmm0
movq %r13, %rdi
movb $0x1, %al
callq 0x20f0
movsd 0x1f7b(%rip), %xmm1     # 0xb0b8
movsd (%rsp), %xmm2
incq %rbp
cmpq $0x5, %rbp
jne 0x9116
movl 0xc(%rsp), %ebp
movslq %ebp, %rax
xorpd %xmm0, %xmm0
xorl %ecx, %ecx
xorl %edx, %edx
xorl %r13d, %r13d
xorl %esi, %esi
movq (%r14,%rdx,8), %rdi
movq %rdi, %r8
imulq %rdx, %r8
xorps %xmm1, %xmm1
cvtsi2sd %rdi, %xmm1
mulsd (%r12,%rdx,8), %xmm1
addq %r8, %rsi
cmpq %rax, %rdx
cmovgeq %rcx, %rdi
addsd %xmm1, %xmm0
addq %rdi, %r13
incq %rdx
cmpq $0x5e, %rdx
jne 0x915f
xorps %xmm1, %xmm1
cvtsi2sd %rsi, %xmm1
divsd %xmm2, %xmm1
movsd %xmm1, 0x10(%rsp)
movsd 0x1f14(%rip), %xmm1     # 0xb0c0
addsd %xmm1, %xmm0
addsd %xmm2, %xmm1
divsd %xmm1, %xmm0
callq 0x2130
movapd %xmm0, %xmm1
mulsd 0x1eff(%rip), %xmm1     # 0xb0c8
leaq 0x33b8(%rip), %rdi      # 0xc588
movsd 0x10(%rsp), %xmm0
movb $0x2, %al
callq 0x20f0
testl %ebp, %ebp
jle 0x9221
xorps %xmm0, %xmm0
cvtsi2sd %r13, %xmm0
movsd 0x1ec7(%rip), %xmm2     # 0xb0b8
mulsd %xmm2, %xmm0
movsd (%rsp), %xmm3
divsd %xmm3, %xmm0
subq %r13, %r15
xorps %xmm1, %xmm1
cvtsi2sd %r15, %xmm1
mulsd %xmm2, %xmm1
divsd %xmm3, %xmm1
leaq 0x3370(%rip), %rdi      # 0xc588
movb $0x2, %al
callq 0x20f0
jmp 0x925b
xorl %r12d, %r12d
leaq 0x3368(%rip), %r15      # 0xc593
cmpq $0x0, (%rbx,%r12,8)
jle 0x9252
xorps %xmm0, %xmm0
cvtsi2sdq (%r14,%r12,8), %xmm0
mulsd 0x1e75(%rip), %xmm0     # 0xb0b8
divsd (%rsp), %xmm0
movq %r15, %rdi
movb $0x1, %al
callq 0x20f0
incq %r12
cmpq $0x5e, %r12
jne 0x922b
movl $0xa, %edi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2060