// File: /workspace/github_cpp_makefile_star2_O1/millanek[P]evo/./process_vcf_annotation_tools.h
// Function: LinkedCoordsBed::loadLinkedCoords[abi:cxx11](std::basic_ifstream<char, std::char_traits<char>>*&)
std::vector<std::vector<std::vector<string> > > loadLinkedCoords(std::ifstream*& bedFile) {
        std::vector<std::vector<std::vector<string> > > elementCoordsVector;
        std::vector<std::vector<string> > thisElement;
        
        // Do the first line to find the name of the first scaffold and of the first element
        string line;
        getline(*bedFile, line);
        std::vector<string> bedVector = split(line, '\t');
        string currentElementName = bedVector[3];
        thisElement.push_back(bedVector);
        
        //
        while (getline(*bedFile, line)) {
            std::vector<string> bedVector = split(line, '\t');
            string element = bedVector[3];
            if (element == currentElementName) {
                thisElement.push_back(bedVector);
            } else {
                elementCoordsVector.push_back(thisElement);
                thisElement.clear();
                currentElementName = element;
                thisElement.push_back(bedVector);
            }
        }
        return elementCoordsVector;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
xorl %eax, %eax
movq %rax, 0x10(%rdi)
xorps %xmm0, %xmm0
movq %rdi, 0x8(%rsp)
movups %xmm0, (%rdi)
movq %rax, 0x20(%rsp)
movaps %xmm0, 0x10(%rsp)
leaq 0x60(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb $0x0, (%rcx)
movq %rdx, 0x90(%rsp)
movq (%rdx), %rbx
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %edx
leaq 0x50(%rsp), %rsi
movq %rbx, %rdi
callq 0x8870
leaq 0x98(%rsp), %rdi
leaq 0x50(%rsp), %rsi
movl $0x9, %edx
callq 0x50624
movq 0x98(%rsp), %rax
leaq 0x40(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq 0x60(%rax), %rsi
movq 0x68(%rax), %rdx
addq %rsi, %rdx
leaq 0x30(%rsp), %rdi
callq 0x2e45c
leaq 0x10(%rsp), %rdi
leaq 0x98(%rsp), %rsi
callq 0x32338
leaq 0x80(%rsp), %r14
leaq 0x50(%rsp), %r15
leaq 0xb0(%rsp), %r12
leaq 0x70(%rsp), %r13
leaq 0x10(%rsp), %rbp
movq 0x90(%rsp), %rax
movq (%rax), %rbx
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x8870
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x3355d
movq %r12, %rdi
movq %r15, %rsi
movl $0x9, %edx
callq 0x50624
movq 0xb0(%rsp), %rax
movq %r14, 0x70(%rsp)
movq 0x60(%rax), %rsi
movq 0x68(%rax), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0x2e45c
movq 0x78(%rsp), %rdx
cmpq 0x38(%rsp), %rdx
jne 0x334ca
testq %rdx, %rdx
je 0x3352b
movq 0x30(%rsp), %rsi
movq 0x70(%rsp), %rdi
callq 0x8490
testl %eax, %eax
je 0x3352b
movq 0x8(%rsp), %rdi
movq %rbp, %rsi
callq 0x336aa
movq %r15, %r12
movq %r14, %r15
movq %r13, %r14
movq 0x10(%rsp), %r13
movq 0x18(%rsp), %rbp
cmpq %r13, %rbp
je 0x33508
movq %r13, %rbx
movq %rbx, %rdi
callq 0x3123c
addq $0x18, %rbx
cmpq %rbp, %rbx
jne 0x334f2
movq %r13, 0x18(%rsp)
leaq 0x30(%rsp), %rdi
movq %r14, %r13
movq %r14, %rsi
movq %r15, %r14
callq 0x8270
movq %r12, %r15
leaq 0xb0(%rsp), %r12
leaq 0x10(%rsp), %rbp
movq %rbp, %rdi
movq %r12, %rsi
callq 0x32338
movq 0x70(%rsp), %rdi
cmpq %r14, %rdi
je 0x33550
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x8480
movq %r12, %rdi
callq 0x3123c
jmp 0x33437
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x33579
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x98(%rsp), %rdi
callq 0x3123c
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x335a2
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x10(%rsp), %rdi
callq 0x31aa2
movq 0x8(%rsp), %rax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x335d8
movq %rax, %rbx
jmp 0x33623
jmp 0x335cc
movq %rax, %rbx
jmp 0x33630
jmp 0x335d8
movq %rax, %rbx
jmp 0x335fa
movq %rax, %rbx
jmp 0x33607
movq %rax, %rbx
movq 0x70(%rsp), %rdi
cmpq %r14, %rdi
je 0x335fa
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0xb0(%rsp), %rdi
callq 0x3123c
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x33623
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x98(%rsp), %rdi
callq 0x3123c
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x3364c
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x10(%rsp), %rdi
callq 0x31aa2
movq 0x8(%rsp), %rdi
callq 0x33668
movq %rbx, %rdi
callq 0x8840