// File: /workspace/github_c_makefile_star2_O3/xiongxu[P]bam2bedGraph2/samtools-0.1.19/bcftools/call1.c
// Function: test16
int test16(bcf1_t *b, anno16_t *a)
{
	char *p;
	int i, anno[16];
	a->p[0] = a->p[1] = a->p[2] = a->p[3] = 1.;
	a->d[0] = a->d[1] = a->d[2] = a->d[3] = 0.;
	a->mq = a->depth = a->is_tested = 0;
	if ((p = strstr(b->info, "I16=")) == 0) return -1;
	p += 4;
	for (i = 0; i < 16; ++i) {
		errno = 0; anno[i] = strtol(p, &p, 10);
		if (anno[i] == 0 && (errno == EINVAL || errno == ERANGE)) return -2;
		++p;
	}
	return test16_core(anno, a);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rsi, %rbx
movdqa 0x161a8(%rip), %xmm0    # 0x19010
movdqu %xmm0, 0x10(%rsi)
movdqu %xmm0, (%rsi)
pxor %xmm0, %xmm0
movdqu %xmm0, 0x20(%rsi)
movdqu %xmm0, 0x2c(%rsi)
movq 0x38(%rdi), %rdi
leaq 0x1636e(%rip), %rsi     # 0x191f8
callq 0x2550
testq %rax, %rax
je 0x2f9c
movq %rax, %r12
leaq 0x2c(%rbx), %r13
addq $0x4, %r12
leaq 0x8(%rsp), %r14
movq %r12, (%r14)
xorl %ebp, %ebp
callq 0x2070
movq %rax, %r15
movl $0x0, (%r15)
movq %r12, %rdi
movq %r14, %rsi
movl $0xa, %edx
callq 0x22d0
movl %eax, 0x40(%rsp,%rbp,4)
testl %eax, %eax
jne 0x2ee9
movl (%r15), %eax
cmpl $0x16, %eax
je 0x2fa6
cmpl $0x22, %eax
je 0x2fa6
movq 0x8(%rsp), %r12
incq %r12
movq %r12, 0x8(%rsp)
incq %rbp
cmpq $0x10, %rbp
jne 0x2eb5
movaps 0x1610a(%rip), %xmm0    # 0x19010
movups %xmm0, 0x10(%rbx)
movups %xmm0, (%rbx)
movaps 0x40(%rsp), %xmm0
movups %xmm0, (%r13)
movl 0x40(%rsp), %ebp
movl 0x44(%rsp), %r14d
movl 0x48(%rsp), %r15d
movl 0x4c(%rsp), %r12d
movd %r12d, %xmm0
movd %r14d, %xmm1
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movd %r15d, %xmm0
movd %ebp, %xmm2
punpckldq %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
paddd %xmm1, %xmm2
pshufd $0x55, %xmm2, %xmm0     # xmm0 = xmm2[1,1,1,1]
movd %xmm0, %r13d
movd %xmm2, %eax
testl %eax, %eax
setg %cl
testl %r13d, %r13d
setg %dl
andb %cl, %dl
addl %eax, %r13d
movl %r13d, 0x24(%rbx)
movzbl %dl, %eax
movl %eax, 0x28(%rbx)
je 0x2f9c
movdqa %xmm2, 0x10(%rsp)
movl 0x6c(%rsp), %eax
addl 0x64(%rsp), %eax
cltd
idivl %r13d
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
pxor %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x2fb0
sqrtsd %xmm0, %xmm0
jmp 0x2fb5
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jmp 0x318f
movl $0xfffffffe, %eax       # imm = 0xFFFFFFFE
jmp 0x318f
callq 0x24e0
addsd 0x160b3(%rip), %xmm0    # 0x19070
cvttsd2si %xmm0, %eax
movl %eax, 0x20(%rbx)
movq %rbx, (%rsp)
leaq 0xb0(%rsp), %r8
leaq 0xa8(%rsp), %r9
movl %ebp, %edi
movl %r14d, %esi
movl %r15d, %edx
movl %r12d, %ecx
callq 0x17bbc
movdqa 0x10(%rsp), %xmm2
pshufd $0x50, %xmm2, %xmm0     # xmm0 = xmm2[0,0,1,1]
pxor %xmm1, %xmm1
pcmpeqd %xmm0, %xmm1
movmskpd %xmm1, %eax
testl %eax, %eax
setne %al
cmpl $0x3, %r13d
setl %bpl
cvtdq2pd %xmm2, %xmm2
addl $-0x2, %r13d
cvtsi2sd %r13d, %xmm3
movsd 0x16057(%rip), %xmm4    # 0x19078
movapd %xmm4, %xmm0
divsd %xmm2, %xmm0
movapd %xmm2, %xmm1
unpckhpd %xmm2, %xmm1            # xmm1 = xmm1[1],xmm2[1]
movapd %xmm4, %xmm5
divsd %xmm1, %xmm5
addsd %xmm0, %xmm5
movsd %xmm5, 0x28(%rsp)
movsd 0x16035(%rip), %xmm0    # 0x19080
movsd %xmm3, 0x10(%rsp)
mulsd %xmm3, %xmm0
movsd %xmm0, 0x20(%rsp)
orb %al, %bpl
xorl %r14d, %r14d
movapd %xmm2, 0x30(%rsp)
movapd %xmm4, %xmm0
testb %bpl, %bpl
jne 0x3178
movss 0x58(%rsp,%r14,2), %xmm0
movss 0x50(%rsp,%r14,2), %xmm1
unpcklps %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
cvtdq2pd %xmm1, %xmm3
divpd %xmm2, %xmm3
movapd %xmm3, %xmm5
unpckhpd %xmm3, %xmm5            # xmm5 = xmm5[1],xmm3[1]
ucomisd %xmm3, %xmm5
movapd %xmm4, %xmm0
jae 0x3178
movss 0x5c(%rsp,%r14,2), %xmm0
movss 0x54(%rsp,%r14,2), %xmm1
unpcklps %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
cvtdq2pd %xmm1, %xmm1
movapd %xmm2, %xmm0
mulpd %xmm3, %xmm0
mulpd %xmm3, %xmm0
subpd %xmm0, %xmm1
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
divsd 0x10(%rsp), %xmm0
mulsd 0x28(%rsp), %xmm0
ucomisd 0x15fa0(%rip), %xmm0    # 0x19088
jb 0x30f0
sqrtsd %xmm0, %xmm0
jmp 0x3127
movapd %xmm3, 0x90(%rsp)
movapd %xmm5, 0x80(%rsp)
callq 0x24e0
movapd 0x80(%rsp), %xmm5
movapd 0x90(%rsp), %xmm3
movsd 0x15f57(%rip), %xmm4    # 0x19078
movapd 0x30(%rsp), %xmm2
subsd %xmm5, %xmm3
divsd %xmm0, %xmm3
xorpd %xmm0, %xmm0
ucomisd %xmm3, %xmm0
movapd %xmm4, %xmm0
ja 0x3178
mulsd %xmm3, %xmm3
movsd 0x10(%rsp), %xmm2
addsd %xmm2, %xmm3
divsd %xmm3, %xmm2
movsd 0x20(%rsp), %xmm0
movsd 0x15f23(%rip), %xmm1    # 0x19080
callq 0x1660f
movsd 0x15f0e(%rip), %xmm4    # 0x19078
movapd 0x30(%rsp), %xmm2
mulsd 0x15f08(%rip), %xmm0    # 0x19080
movsd %xmm0, 0x8(%rbx,%r14)
addq $0x8, %r14
cmpq $0x18, %r14
jne 0x3067
xorl %eax, %eax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq