// File: /workspace/github_cpp_makefile_star2_O1/millanek[P]evo/process_vcf_use_map.cpp
// Function: printProcessedVCFline(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>>>>&, bool, char, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int const&, int const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void printProcessedVCFline(std::vector<string>& vcfFields, const bool bInLG, const char thisScaffoldOrientation, const std::string& thisLG, const int& LGsizeUpToHere, const int& thisScaffoldSize, const std::string& line) {
    int pos = atoi(vcfFields[1].c_str());
    vcfFields.erase(vcfFields.begin(), vcfFields.begin()+2);
    if (bInLG) {
        if (thisScaffoldOrientation == '+') {
            std::cout << thisLG << "\t" << LGsizeUpToHere + pos << "\t";
            print_vector(vcfFields, std::cout);
        } else if (thisScaffoldOrientation == '-') {
            std::cout << thisLG << "\t" << LGsizeUpToHere + (thisScaffoldSize - pos + 1) << "\t";
            vcfFields[1] = reverseComplementIUPAC(vcfFields[1]);
            vcfFields[2] = reverseComplementIUPAC(vcfFields[2]);
            print_vector(vcfFields, std::cout);
        }
    } else {
        std::cout << line << std::endl;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %r9, 0x10(%rsp)
movq %r8, 0x8(%rsp)
movq %rcx, %r12
movl %edx, %r13d
movl %esi, %r14d
movq %rdi, %rbx
movq 0xa0(%rsp), %rbp
movq (%rdi), %r15
movq 0x20(%r15), %rdi
callq 0x86e0
movl %eax, 0x4(%rsp)
leaq 0x40(%r15), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x63dba
testl %r14d, %r14d
je 0x7d33a
movsbl %r13b, %eax
cmpl $0x2d, %eax
je 0x7d386
cmpl $0x2b, %eax
jne 0x7d48c
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq 0x8dcf2(%rip), %r15     # 0x10afb8
movq %r15, %rdi
callq 0x84e0
movq %rax, %r14
leaq 0x549a6(%rip), %r12     # 0xd1c7e
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x84e0
movq 0x8(%rsp), %rax
movl 0x4(%rsp), %esi
addl (%rax), %esi
movq %r14, %rdi
callq 0x8810
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x84e0
leaq 0x50(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3273a
movq %r14, %rdi
movq %r15, %rsi
movl $0x9, %edx
movl $0x1, %ecx
callq 0x39979
leaq 0x50(%rsp), %rdi
jmp 0x7d487
movq (%rbp), %rsi
movq 0x8(%rbp), %rdx
movq 0x8dc6f(%rip), %rdi     # 0x10afb8
callq 0x84e0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %rbx, %rdi
callq 0x8040
movq %rax, %rdi
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x8300
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq 0x8dc22(%rip), %rdi     # 0x10afb8
callq 0x84e0
movq %rax, %r14
leaq 0x548d9(%rip), %r15     # 0xd1c7e
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x84e0
movq 0x8(%rsp), %rax
movl (%rax), %eax
movq 0x10(%rsp), %rcx
movl (%rcx), %ecx
subl 0x4(%rsp), %eax
leal (%rax,%rcx), %esi
incl %esi
movq %r14, %rdi
callq 0x8810
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x84e0
movq (%rbx), %rsi
addq $0x20, %rsi
leaq 0x18(%rsp), %r14
movq %r14, %rdi
callq 0x57838
movq (%rbx), %rdi
addq $0x20, %rdi
movq %r14, %rsi
callq 0x8540
movq (%r14), %rdi
leaq 0x28(%rsp), %r15
cmpq %r15, %rdi
je 0x7d421
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x8480
movq (%rbx), %rsi
addq $0x40, %rsi
leaq 0x18(%rsp), %r14
movq %r14, %rdi
callq 0x57838
movq (%rbx), %rdi
addq $0x40, %rdi
movq %r14, %rsi
callq 0x8540
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x7d459
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x38(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3273a
movq 0x8db48(%rip), %rsi     # 0x10afb8
movq %r14, %rdi
movl $0x9, %edx
movl $0x1, %ecx
callq 0x39979
leaq 0x38(%rsp), %rdi
callq 0x3123c
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x7d49d
movq %rax, %rbx
movq %r14, %rdi
callq 0x3123c
movq %rbx, %rdi
callq 0x8840