// File: /workspace/github_c_makefile_star2_O3/samtools[P]htslib/sam.c
// Function: sam_parse_Bi_vals
HTS_ALIGN32
static char *sam_parse_Bi_vals(bam1_t *b, char *q, uint32_t *nused,
                               uint32_t *nalloc, int *overflow) {
    while (*q == ',') {
        if ((*nused)++ >= (*nalloc)) {
            if (grow_B_array(b, nalloc, 4) < 0)
                return NULL;
        }
        i32_to_le(hts_str2int(q + 1, &q, 32, overflow),
                  b->data + b->l_data);
        b->l_data += 4;
    }
    return q;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbp
cmpb $0x2c, (%rsi)
jne 0x32b75
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r15
movq %rdi, %r12
movl (%r15), %ecx
leal 0x1(%rcx), %eax
movl %eax, (%r15)
movl (%r14), %eax
cmpl %eax, %ecx
jb 0x32a50
cmpl $0x553f7ced, %eax       # imm = 0x553F7CED
jae 0x32b7a
movl %eax, %ecx
shrl %ecx
leaq (,%rcx,4), %rdx
movslq 0x40(%r12), %rsi
addq %rdx, %rsi
setb %dl
cmpq $0x7fffffff, %rsi       # imm = 0x7FFFFFFF
ja 0x32b8a
testb %dl, %dl
jne 0x32b8a
movl 0x44(%r12), %edx
cmpq %rdx, %rsi
jbe 0x32a4b
movq %r12, %rdi
callq 0x22a64
testl %eax, %eax
js 0x32b95
movl (%r14), %eax
movl %eax, %ecx
shrl %ecx
addl %eax, %ecx
movl %ecx, (%r14)
movzbl 0x1(%rbp), %eax
cmpl $0x2b, %eax
je 0x32a98
cmpl $0x2d, %eax
jne 0x32a9e
leaq 0xb(%rbp), %r13
movl $0x2, %ecx
xorl %eax, %eax
movzbl (%rbp,%rcx), %edx
leal -0x30(%rdx), %esi
cmpb $0xa, %sil
jae 0x32b49
leaq (%rax,%rax,4), %rax
leaq (%rdx,%rax,2), %rax
addq $-0x30, %rax
incq %rcx
cmpl $0xb, %ecx
jne 0x32a69
movl $0x80000000, %edx       # imm = 0x80000000
xorl %ecx, %ecx
jmp 0x32ad6
addq $0x2, %rbp
jmp 0x32aa1
incq %rbp
leaq 0x9(%rbp), %r13
xorl %ecx, %ecx
xorl %eax, %eax
movzbl (%rbp,%rcx), %edx
leal -0x30(%rdx), %esi
cmpb $0x9, %sil
ja 0x32b4c
leaq (%rax,%rax,4), %rax
leaq (%rdx,%rax,2), %rax
addq $-0x30, %rax
incq %rcx
cmpl $0x9, %ecx
jne 0x32aa9
movl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
movb $0x1, %cl
movzbl (%r13), %edi
cmpl $0x30, %edi
jb 0x32b1e
addl $-0x30, %edi
cmpl $0x9, %edi
ja 0x32b1e
leaq -0x7ffffff8(%rdx), %rsi
movl %edi, %edi
cmpq $0xccccccb, %rax        # imm = 0xCCCCCCB
jbe 0x32b06
cmpq $0xccccccc, %rax        # imm = 0xCCCCCCC
jne 0x32b27
cmpq %rdi, %rsi
jb 0x32b27
leaq (%rax,%rax,4), %rax
leaq (%rdi,%rax,2), %rax
movzbl 0x1(%r13), %edi
incq %r13
addl $-0x30, %edi
cmpl $0xa, %edi
jb 0x32aef
testb %cl, %cl
jne 0x32b52
negq %rax
jmp 0x32b52
movzbl 0x1(%r13), %eax
incq %r13
addl $-0x30, %eax
cmpl $0xa, %eax
jb 0x32b27
movl $0x1, (%rbx)
testb %cl, %cl
jne 0x32b44
negq %rdx
movq %rdx, %rax
jmp 0x32b52
negq %rax
addq %rcx, %rbp
movq %rbp, %r13
movq 0x38(%r12), %rcx
movslq 0x40(%r12), %rdx
movl %eax, (%rcx,%rdx)
addl $0x4, 0x40(%r12)
cmpb $0x2c, (%r13)
movq %r13, %rbp
je 0x329e3
jmp 0x32bb2
movq %rbp, %r13
jmp 0x32bb2
callq 0x4050
movl $0xc, (%rax)
xorl %r13d, %r13d
jmp 0x32bb2
callq 0x4050
movl $0xc, (%rax)
leaq 0x65aa2(%rip), %rsi     # 0x9863e
leaq 0x64af2(%rip), %rdx     # 0x97695
xorl %r13d, %r13d
movl $0x1, %edi
xorl %eax, %eax
callq 0x13de5
movq %r13, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopw %cs:(%rax,%rax)