// File: /workspace/github_cpp_makefile_star2_O2/millanek[P]evo/./process_vcf_annotation_tools.h
// Function: Annotation::getAnnotationPerGeneDetails(std::vector<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>, std::allocator<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>> const&)
void getAnnotationPerGeneDetails(const std::vector<std::vector<string> >& scaffoldAnnotation) {
        int thisGeneTranscriptCount;
        string previousGeneName = "";
        for (std::vector<string>::size_type i = 0; i != scaffoldAnnotation.size(); i++) {
            std::vector<string> annotLineVec = split(scaffoldAnnotation[i][0], '\t');
            int numDots = (int)std::count(annotLineVec[4].begin(), annotLineVec[4].end(), '.');
            std::string geneName;
            if (numDots == 4)  geneName = geneFromTranscript(annotLineVec[4]);
            else geneName = annotLineVec[4];
            if (previousGeneName == geneName) {
                thisGeneTranscriptCount++;
            } else {
                geneTranscriptCounts[previousGeneName] = thisGeneTranscriptCount;
                thisGeneTranscriptCount = 1;
                previousGeneName = geneName;
            }
            if (i == (scaffoldAnnotation.size()-1)) {   // Add the final gene in the scaffold
                geneTranscriptCounts[previousGeneName] = thisGeneTranscriptCount;
            }
        }
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x67699(%rip), %rsi     # 0x99e1f
leaq 0x48(%rsp), %r15
leaq 0x28(%rsp), %rbp
movq %r15, %rdi
movq %rbp, %rdx
callq 0x21904
addq $0x30, %r14
movq %r14, 0x8(%rsp)
xorl %r13d, %r13d
xorl %r14d, %r14d
movq (%rbx), %rcx
movq 0x8(%rbx), %rax
subq %rcx, %rax
cqto
pushq $0x18
popq %rsi
idivq %rsi
cmpq %rax, %r14
je 0x328e9
movq (%rcx,%r13), %rsi
leaq 0x10(%rsp), %rdi
pushq $0x9
popq %rdx
callq 0x40349
movq 0x10(%rsp), %rax
movq 0x80(%rax), %rdi
movq 0x88(%rax), %rsi
addq %rdi, %rsi
movb $0x2e, 0x28(%rsp)
movq %rbp, %rdx
callq 0x32af0
leaq 0x38(%rsp), %rcx
movq %rcx, 0x28(%rsp)
andq $0x0, 0x30(%rsp)
movb $0x0, 0x38(%rsp)
cmpl $0x4, %eax
jne 0x32860
movl %r12d, 0x4(%rsp)
movq %r14, %r12
movq %rbx, %r14
movq %r13, %rbx
movq %r15, %r13
movq 0x10(%rsp), %rsi
subq $-0x80, %rsi
leaq 0x68(%rsp), %r15
movq %r15, %rdi
callq 0x3293a
movq %rbp, %rdi
movq %r15, %rsi
callq 0x8550
movq %r15, %rdi
callq 0x8978
movq %r13, %r15
movq %rbx, %r13
movq %r14, %rbx
movq %r12, %r14
movl 0x4(%rsp), %r12d
jmp 0x32871
movq 0x10(%rsp), %rsi
subq $-0x80, %rsi
movq %rbp, %rdi
callq 0x82a0
movq %r15, %rdi
movq %rbp, %rsi
callq 0x26b06
testb %al, %al
je 0x32885
incl %r12d
jmp 0x328a4
movq 0x8(%rsp), %rdi
movq %r15, %rsi
callq 0x32a8a
movl %r12d, (%rax)
movq %r15, %rdi
movq %rbp, %rsi
callq 0x82a0
pushq $0x1
popq %r12
movq 0x8(%rbx), %rax
subq (%rbx), %rax
cqto
pushq $0x18
popq %rcx
idivq %rcx
decq %rax
cmpq %rax, %r14
jne 0x328cb
movq 0x8(%rsp), %rdi
movq %r15, %rsi
callq 0x32a8a
movl %r12d, (%rax)
movq %rbp, %rdi
callq 0x8978
leaq 0x10(%rsp), %rdi
callq 0x28a08
incq %r14
addq $0x18, %r13
jmp 0x327aa
leaq 0x48(%rsp), %rdi
callq 0x8978
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x32911
movq %rax, %rbx
jmp 0x3291e
movq %rax, %rbx
jmp 0x32928
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x8978
leaq 0x10(%rsp), %rdi
callq 0x28a08
leaq 0x48(%rsp), %rdi
callq 0x8978
movq %rbx, %rdi
callq 0x8870