// File: /workspace/github_c_makefile_star2_O1/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 0x33da0
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 0x33c69
cmpl $0x553f7ced, %eax       # imm = 0x553F7CED
jae 0x33da5
addl %eax, %eax
andl $-0x4, %eax
movslq 0x40(%r12), %rsi
addq %rax, %rsi
setb %al
cmpq $0x7fffffff, %rsi       # imm = 0x7FFFFFFF
ja 0x33db5
testb %al, %al
jne 0x33db5
movl 0x44(%r12), %eax
cmpq %rax, %rsi
jbe 0x33c5d
movq %r12, %rdi
callq 0x23476
testl %eax, %eax
js 0x33dc0
movl (%r14), %eax
movl %eax, %ecx
shrl %ecx
addl %eax, %ecx
movl %ecx, (%r14)
movzbl 0x1(%rbp), %eax
cmpl $0x2b, %eax
je 0x33cb3
cmpl $0x2d, %eax
jne 0x33cb9
leaq 0xb(%rbp), %r13
movl $0x2, %ecx
xorl %eax, %eax
movzbl (%rbp,%rcx), %edx
leal -0x3a(%rdx), %esi
cmpb $-0xa, %sil
setb %sil
jb 0x33d01
leaq (%rax,%rax,4), %rax
leaq (%rdx,%rax,2), %rax
addq $-0x30, %rax
incq %rcx
cmpl $0xb, %ecx
jne 0x33c82
movl $0x80000000, %edx       # imm = 0x80000000
xorl %esi, %esi
xorl %ecx, %ecx
jmp 0x33d0e
addq $0x2, %rbp
jmp 0x33cbc
incq %rbp
leaq 0x9(%rbp), %r13
xorl %ecx, %ecx
xorl %eax, %eax
movzbl (%rbp,%rcx), %edx
leal -0x3a(%rdx), %esi
cmpb $-0xa, %sil
setb %sil
jb 0x33cf5
leaq (%rax,%rax,4), %rax
leaq (%rdx,%rax,2), %rax
addq $-0x30, %rax
incq %rcx
cmpl $0x9, %ecx
jne 0x33cc4
movl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
movb $0x1, %cl
xorl %esi, %esi
jmp 0x33d0e
addq %rcx, %rbp
movl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
movb $0x1, %cl
jmp 0x33d0b
addq %rcx, %rbp
movl $0x80000000, %edx       # imm = 0x80000000
xorl %ecx, %ecx
movq %rbp, %r13
testb %sil, %sil
jne 0x33d74
movb (%r13), %sil
cmpb $0x30, %sil
jb 0x33d74
movzbl %sil, %edi
addl $-0x30, %edi
cmpl $0x9, %edi
ja 0x33d74
leaq -0x7ffffff8(%rdx), %rsi
movl %edi, %edi
cmpq $0xccccccc, %rax        # imm = 0xCCCCCCC
jb 0x33d41
jne 0x33d5b
cmpq %rdi, %rsi
jb 0x33d5b
leaq (%rax,%rax,4), %rax
leaq (%rdi,%rax,2), %rax
movzbl 0x1(%r13), %edi
incq %r13
addl $-0x30, %edi
cmpl $0xa, %edi
jb 0x33d30
jmp 0x33d74
movzbl 0x1(%r13), %eax
incq %r13
addl $-0x30, %eax
cmpl $0xa, %eax
jb 0x33d5b
movl $0x1, (%rbx)
movq %rdx, %rax
movl %eax, %edx
negl %edx
testb %cl, %cl
cmovnel %eax, %edx
movq 0x38(%r12), %rax
movslq 0x40(%r12), %rcx
movl %edx, (%rax,%rcx)
addl $0x4, 0x40(%r12)
cmpb $0x2c, (%r13)
movq %r13, %rbp
je 0x33c03
jmp 0x33ddd
movq %rbp, %r13
jmp 0x33ddd
callq 0x4050
movl $0xc, (%rax)
xorl %r13d, %r13d
jmp 0x33ddd
callq 0x4050
movl $0xc, (%rax)
leaq 0x67870(%rip), %rsi     # 0x9b637
leaq 0x668b7(%rip), %rdx     # 0x9a685
xorl %r13d, %r13d
movl $0x1, %edi
xorl %eax, %eax
callq 0x14378
movq %r13, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop