// File: /workspace/github_c_makefile_star2_O1/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 $0xa8, %rsp
movq %rsi, %rbx
movabsq $0x3ff0000000000000, %r12 # imm = 0x3FF0000000000000
movq %r12, 0x18(%rsi)
movq %r12, 0x10(%rsi)
movq %r12, 0x8(%rsi)
movq %r12, (%rsi)
xorpd %xmm0, %xmm0
movupd %xmm0, 0x20(%rsi)
movupd %xmm0, 0x2c(%rsi)
movq 0x38(%rdi), %rdi
leaq 0x162de(%rip), %rsi     # 0x191a0
callq 0x2550
movq %rax, 0x20(%rsp)
testq %rax, %rax
je 0x2fa9
leaq 0x2c(%rbx), %r13
addq $0x4, %rax
leaq 0x20(%rsp), %r14
movq %rax, (%r14)
xorl %ebp, %ebp
callq 0x2070
movq %rax, %r15
movl $0x0, (%r15)
movq 0x20(%rsp), %rdi
movq %r14, %rsi
movl $0xa, %edx
callq 0x22d0
movl %eax, 0x50(%rsp,%rbp,4)
testl %eax, %eax
jne 0x2f25
movl (%r15), %eax
cmpl $0x16, %eax
je 0x2fb3
cmpl $0x22, %eax
je 0x2fb3
incq 0x20(%rsp)
incq %rbp
cmpq $0x10, %rbp
jne 0x2eef
movq %r12, 0x18(%rbx)
movq %r12, 0x10(%rbx)
movq %r12, 0x8(%rbx)
movq %r12, (%rbx)
movapd 0x50(%rsp), %xmm0
movupd %xmm0, (%r13)
movl 0x50(%rsp), %edi
movl 0x54(%rsp), %esi
leal (%rsi,%rdi), %ebp
movl 0x58(%rsp), %r12d
movl 0x5c(%rsp), %r13d
leal (%r12,%r13), %r14d
testl %ebp, %ebp
setg %al
testl %r14d, %r14d
setg %cl
andb %al, %cl
movl %r14d, %r15d
addl %ebp, %r15d
movl %r15d, 0x24(%rbx)
movzbl %cl, %eax
movl %eax, 0x28(%rbx)
je 0x2fa9
movl 0x7c(%rsp), %eax
addl 0x74(%rsp), %eax
cltd
idivl %r15d
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x2fbd
sqrtsd %xmm0, %xmm0
jmp 0x2fd6
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jmp 0x31a4
movl $0xfffffffe, %eax       # imm = 0xFFFFFFFE
jmp 0x31a4
movq %rdi, 0x18(%rsp)
movq %rsi, 0x10(%rsp)
callq 0x24e0
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdi
addsd 0x1602a(%rip), %xmm0    # 0x19008
cvttsd2si %xmm0, %eax
movl %eax, 0x20(%rbx)
movq %rbx, (%rsp)
leaq 0xa0(%rsp), %r8
leaq 0x98(%rsp), %r9
movl %r12d, %edx
movl %r13d, %ecx
callq 0x178a8
testl %ebp, %ebp
sete %al
testl %r14d, %r14d
sete %cl
orb %al, %cl
cvtsi2sd %ebp, %xmm3
cvtsi2sd %r14d, %xmm4
cmpl $0x3, %r15d
leal -0x2(%rbp,%r14), %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
setl %bpl
movsd 0x15fda(%rip), %xmm5    # 0x19010
movapd %xmm5, %xmm0
divsd %xmm3, %xmm0
movapd %xmm5, %xmm2
divsd %xmm4, %xmm2
addsd %xmm0, %xmm2
movsd %xmm2, 0x48(%rsp)
movsd 0x15fc0(%rip), %xmm0    # 0x19018
movsd %xmm1, 0x18(%rsp)
mulsd %xmm1, %xmm0
movsd %xmm0, 0x30(%rsp)
orb %cl, %bpl
xorl %r14d, %r14d
movsd %xmm3, 0x10(%rsp)
movsd %xmm4, 0x28(%rsp)
movapd %xmm5, %xmm0
testb %bpl, %bpl
jne 0x318d
xorps %xmm6, %xmm6
cvtsi2sdl 0x60(%rsp,%r14,2), %xmm6
divsd %xmm3, %xmm6
xorps %xmm7, %xmm7
cvtsi2sdl 0x68(%rsp,%r14,2), %xmm7
divsd %xmm4, %xmm7
ucomisd %xmm6, %xmm7
movapd %xmm5, %xmm0
jae 0x318d
xorps %xmm1, %xmm1
cvtsi2sdl 0x64(%rsp,%r14,2), %xmm1
movapd %xmm3, %xmm0
mulsd %xmm6, %xmm0
mulsd %xmm6, %xmm0
subsd %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsi2sdl 0x6c(%rsp,%r14,2), %xmm0
movapd %xmm4, %xmm2
mulsd %xmm7, %xmm2
mulsd %xmm7, %xmm2
subsd %xmm2, %xmm0
addsd %xmm1, %xmm0
divsd 0x18(%rsp), %xmm0
mulsd 0x48(%rsp), %xmm0
ucomisd 0x15f23(%rip), %xmm0    # 0x19020
jb 0x3105
sqrtsd %xmm0, %xmm0
jmp 0x3136
movsd %xmm6, 0x40(%rsp)
movsd %xmm7, 0x38(%rsp)
callq 0x24e0
movsd 0x38(%rsp), %xmm7
movsd 0x40(%rsp), %xmm6
movsd 0x15ee6(%rip), %xmm5    # 0x19010
movsd 0x28(%rsp), %xmm4
movsd 0x10(%rsp), %xmm3
subsd %xmm7, %xmm6
divsd %xmm0, %xmm6
xorpd %xmm0, %xmm0
ucomisd %xmm6, %xmm0
movapd %xmm5, %xmm0
ja 0x318d
mulsd %xmm6, %xmm6
movsd 0x18(%rsp), %xmm2
addsd %xmm2, %xmm6
divsd %xmm6, %xmm2
movsd 0x30(%rsp), %xmm0
movsd 0x15eac(%rip), %xmm1    # 0x19018
callq 0x1626a
movsd 0x15e97(%rip), %xmm5    # 0x19010
movsd 0x28(%rsp), %xmm4
movsd 0x10(%rsp), %xmm3
mulsd 0x15e8b(%rip), %xmm0    # 0x19018
movsd %xmm0, 0x8(%rbx,%r14)
addq $0x8, %r14
cmpq $0x18, %r14
jne 0x307a
xorl %eax, %eax
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq