// File: /workspace/github_c_makefile_star2_O1/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 0x8e9c
leaq 0x25cc(%rip), %rdi      # 0xb45f
xorl %eax, %eax
callq 0x20f0
jmp 0x8eaa
leaq 0x36cb(%rip), %rdi      # 0xc56e
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 0x8eb3
leaq 0x36a7(%rip), %rdi      # 0xc572
xorl %ebp, %ebp
movq %r15, %rsi
xorl %eax, %eax
callq 0x20f0
cvtsi2sd %r15, %xmm2
movsd 0x21bc(%rip), %xmm1     # 0xb0a0
leaq 0x3692(%rip), %r13      # 0xc57d
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 0x2189(%rip), %xmm1     # 0xb0a0
movsd (%rsp), %xmm2
incq %rbp
cmpq $0x5, %rbp
jne 0x8ef0
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 0x8f39
xorps %xmm1, %xmm1
cvtsi2sd %rsi, %xmm1
divsd %xmm2, %xmm1
movsd %xmm1, 0x10(%rsp)
movsd 0x2122(%rip), %xmm1     # 0xb0a8
addsd %xmm1, %xmm0
addsd %xmm2, %xmm1
divsd %xmm1, %xmm0
callq 0x2130
movapd %xmm0, %xmm1
mulsd 0x210d(%rip), %xmm1     # 0xb0b0
leaq 0x35ce(%rip), %rdi      # 0xc578
movsd 0x10(%rsp), %xmm0
movb $0x2, %al
callq 0x20f0
testl %ebp, %ebp
jle 0x8ffb
xorps %xmm0, %xmm0
cvtsi2sd %r13, %xmm0
movsd 0x20d5(%rip), %xmm2     # 0xb0a0
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 0x3586(%rip), %rdi      # 0xc578
movb $0x2, %al
callq 0x20f0
jmp 0x9035
xorl %r12d, %r12d
leaq 0x357e(%rip), %r15      # 0xc583
cmpq $0x0, (%rbx,%r12,8)
jle 0x902c
xorps %xmm0, %xmm0
cvtsi2sdq (%r14,%r12,8), %xmm0
mulsd 0x2083(%rip), %xmm0     # 0xb0a0
divsd (%rsp), %xmm0
movq %r15, %rdi
movb $0x1, %al
callq 0x20f0
incq %r12
cmpq $0x5e, %r12
jne 0x9005
movl $0xa, %edi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2060