// File: /workspace/github_cpp_makefile_star2_O3/millanek[P]evo/process_vcf_variant_sharing.cpp
// Function: variantSharingMain(int, char**)
int variantSharingMain(int argc, char** argv) {
    parseVariantSharingOptions(argc, argv);
    std::ios_base::openmode mode = std::ios_base::in;
    string fileName = opt::vcfFile;
    string fileRoot = stripExtension(fileName);
    
    // For variant sharing between Massoko and Malawi
    bool bCountWithBlue = !opt::withBlueIndivFile.empty();
    MassokoMalawiResult sharingResult;
    
    // Data structures to hold individual or population identifiers (headers in the output file(s))
    std::vector<std::string> populations;
    std::vector<std::string> pop_unique;
    std::map<std::string,int> fieldsPopMap;
    
    std::cerr << "Analysing sharing of fixed variants between Massoko and Lake Malawi" << std::endl;
    std::cerr << "The ind file should be: sample_individuals_All.txt" << std::endl;
    std::ifstream* indFile = new std::ifstream(opt::withBlueIndivFile.c_str(), mode);
    string ind; 
    while (getline(*indFile, ind)) {
        populations.push_back(ind);
    }
    if (populations.size() != 46) {
        std::cerr << "It seems you supplied wrong file; the correct file should have 46 individuals" << std::endl;
        exit(EXIT_FAILURE);
    }
    populations.erase(populations.begin(), populations.begin()+12); // Remove the Massoko fish from this list of individuals
    sharingResult.init(populations.size());
    
    // Start reading from the vcf file
    std::ifstream* inFile = new std::ifstream(fileName.c_str(), mode);
    bool gotChromosomeNumber = false;
    int numChromosomes;
    string line;
    int totalVariantNumber = 0;
    while (getline(*inFile, line)) {
        if (line[0] != '#') { 
            totalVariantNumber++;
            FilterResult result;
            std::vector<std::string> fields = split(line, '\t');
            if (!gotChromosomeNumber) {
                const std::vector<std::string>::size_type numSamples = fields.size() - NUM_NON_GENOTYPE_COLUMNS;
                numChromosomes = numSamples * 2;
                std::cerr << "Number of chromosomes: " << numChromosomes << std::endl;
                gotChromosomeNumber = true;
            }
            result.overallQuality = atoi(fields[5].c_str());
            result.counts = getThisVariantCounts(fields);
            if (bCountWithBlue) {
                massokoMalawiSharing(result, sharingResult);
            }   
        }
    }
    
    // Print out the results
    std::cerr << "Getting ready to print" << std::endl;
    std::ios_base::openmode mode_out = std::ios_base::out;
    string shareFileName = fileRoot + ".sharing.txt";
    std::ofstream* pShareOutFile = new std::ofstream(shareFileName.c_str(), mode_out);
    *pShareOutFile << "\t";
    for (int i = 0; i < populations.size(); i++) {
        if (i == (populations.size()-1))
            *pShareOutFile << populations[i] << std::endl;
        else 
            *pShareOutFile << populations[i] << "\t";
    }
    *pShareOutFile << "MassokoFixedBlue(hom/het/absent):\t";
    for (int i = 0; i < populations.size(); i++) {
        if (i == (populations.size()-1))
            *pShareOutFile << sharingResult.homsWithBlue[i] << "/" << sharingResult.hetsWithBlue[i] << "/" << sharingResult.absentWithBlue[i] << std::endl;
        else 
            *pShareOutFile << sharingResult.homsWithBlue[i] << "/" << sharingResult.hetsWithBlue[i] << "/" << sharingResult.absentWithBlue[i] << "\t";
    }
    *pShareOutFile << "MassokoFixedYellow(hom/het/absent):\t";
    for (int i = 0; i < populations.size(); i++) {
        if (i == (populations.size()-1))
            *pShareOutFile << sharingResult.homsWithYellow[i] << "/" << sharingResult.hetsWithYellow[i] << "/" << sharingResult.absentWithYellow[i] << std::endl;
        else 
            *pShareOutFile << sharingResult.homsWithYellow[i] << "/" << sharingResult.hetsWithYellow[i] << "/" << sharingResult.absentWithYellow[i] << "\t";
    }
        
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x3a8, %rsp            # imm = 0x3A8
callq 0x63822
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0xa080d(%rip), %rsi     # 0x1032d8
movq 0xa080e(%rip), %rdx     # 0x1032e0
addq %rsi, %rdx
leaq 0x20(%rsp), %rbx
movq %rbx, %rdi
callq 0x2ba06
leaq 0xa0(%rsp), %rdi
movq %rbx, %rsi
callq 0x4d82f
movq 0xa0847(%rip), %rax     # 0x103340
movq %rax, 0x98(%rsp)
leaq 0x1d0(%rsp), %rdi
xorl %ebx, %ebx
movl $0x90, %edx
xorl %esi, %esi
callq 0x8280
movq %rbx, 0x10(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq %rbx, 0x270(%rsp)
movaps %xmm0, 0x260(%rsp)
leaq 0x380(%rsp), %rax
movl $0x0, (%rax)
movq %rbx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rbx, 0x20(%rax)
movq 0x9f490(%rip), %rbx     # 0x101fe8
leaq 0x7116f(%rip), %rsi     # 0xd3cce
movl $0x43, %edx
movq %rbx, %rdi
callq 0x84e0
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq 0x9f45e(%rip), %rdi     # 0x101fe8
callq 0x8040
movq %rax, %rdi
callq 0x8300
movq 0x9f44a(%rip), %rbx     # 0x101fe8
leaq 0x7116d(%rip), %rsi     # 0xd3d12
movl $0x32, %edx
movq %rbx, %rdi
callq 0x84e0
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq 0x9f418(%rip), %rdi     # 0x101fe8
callq 0x8040
movq %rax, %rdi
callq 0x8300
movl $0x208, %edi            # imm = 0x208
callq 0x8470
movq %rax, %rbx
movq 0xa0747(%rip), %rsi     # 0x103338
movq %rax, %rdi
movl $0x8, %edx
callq 0x8860
leaq 0x50(%rsp), %r13
movq %r13, -0x10(%r13)
movq $0x0, -0x8(%r13)
movb $0x0, (%r13)
leaq 0x40(%rsp), %r14
movq %rsp, %r15
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x8870
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x62c59
movq %r15, %rdi
movq %r14, %rsi
callq 0x3133c
jmp 0x62c1c
movq (%rsp), %rsi
movq 0x8(%rsp), %rax
subq %rsi, %rax
cmpq $0x5c0, %rax            # imm = 0x5C0
jne 0x63691
leaq 0x180(%rsi), %rdx
movq %rsp, %rdi
callq 0x63bea
movq 0x8(%rsp), %rsi
subq (%rsp), %rsi
sarq $0x5, %rsi
leaq 0x1d0(%rsp), %rdi
callq 0x63ac4
movl $0x208, %edi            # imm = 0x208
callq 0x8470
movq %rax, %r14
movq 0x20(%rsp), %rsi
movq %rax, %rdi
movl $0x8, %edx
callq 0x8860
leaq 0x88(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0xc8(%rsp), %rbx
leaq 0x288(%rsp), %r13
xorl %r12d, %r12d
leaq 0x78(%rsp), %r15
xorl %ebp, %ebp
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x8870
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x63125
movq 0x78(%rsp), %rax
cmpb $0x23, (%rax)
je 0x62cea
movaps 0x6f021(%rip), %xmm0    # 0xd1d50
movaps %xmm0, 0xc0(%rsp)
movl %r12d, 0xd0(%rsp)
leaq 0xe8(%rsp), %rax
movq %rax, 0xd8(%rsp)
movq %r12, 0xe0(%rsp)
movb %r12b, 0xe8(%rsp)
leaq 0x108(%rsp), %rax
movq %rax, 0xf8(%rsp)
movq %r12, 0x100(%rsp)
movb %r12b, 0x108(%rsp)
movsd 0x68f99(%rip), %xmm0    # 0xcbd20
movups %xmm0, 0x118(%rsp)
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
movq %rax, 0x128(%rsp)
movb %r12b, 0x130(%rsp)
movq %r12, 0x1a8(%rsp)
movl %r12d, 0x1b0(%rsp)
movq %r12, 0x1b8(%rsp)
movw $0x0, 0x1c0(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0xcc(%rbx)
movups %xmm0, 0xc0(%rbx)
movups %xmm0, 0xb0(%rbx)
movups %xmm0, 0xa0(%rbx)
movups %xmm0, 0x90(%rbx)
movups %xmm0, 0x80(%rbx)
movups %xmm0, 0x70(%rbx)
movw $0x101, 0x1c8(%rsp)     # imm = 0x101
leaq 0x60(%rsp), %rdi
movq %r15, %rsi
movl $0x9, %edx
callq 0x4d650
testb $0x1, %bpl
jne 0x62e85
movq 0x60(%rsp), %rbx
movq 0x68(%rsp), %rbp
movl $0x17, %edx
movq 0x9f1b4(%rip), %rdi     # 0x101fe8
leaq 0x6f0a8(%rip), %rsi     # 0xd1ee3
callq 0x84e0
subq %rbx, %rbp
shrq $0x4, %rbp
andl $-0x2, %ebp
addl $-0x12, %ebp
movq 0x9f194(%rip), %rdi     # 0x101fe8
movl %ebp, %esi
callq 0x8810
movq %rax, %rbp
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %rbp, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
movq 0x60(%rsp), %rax
movq 0xa0(%rax), %rdi
callq 0x86e0
movl %eax, 0xc0(%rsp)
leaq 0x278(%rsp), %rdi
leaq 0x60(%rsp), %rsi
callq 0x4e40d
movl 0x280(%rsp), %eax
leaq 0xc8(%rsp), %rbx
movl %eax, 0x8(%rbx)
movq 0x278(%rsp), %rax
movq %rax, (%rbx)
leaq 0xd8(%rsp), %rdi
movq %r13, %rsi
callq 0x8540
leaq 0xf8(%rsp), %rdi
leaq 0x2a8(%rsp), %rsi
callq 0x8540
movups 0x40(%r13), %xmm0
movups 0x49(%r13), %xmm1
movups %xmm0, 0x50(%rbx)
movups %xmm1, 0x59(%rbx)
movq 0x138(%rsp), %rdi
movq 0x148(%rsp), %rsi
movups 0x2e8(%rsp), %xmm0
movups %xmm0, 0x138(%rsp)
movq 0x2f8(%rsp), %rax
movq %rax, 0x148(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x60(%r13)
movq $0x0, 0x70(%r13)
testq %rdi, %rdi
je 0x62f50
subq %rdi, %rsi
callq 0x8480
movq 0x150(%rsp), %rdi
movq 0x160(%rsp), %rsi
movups 0x300(%rsp), %xmm0
movaps %xmm0, 0x150(%rsp)
movq 0x310(%rsp), %rax
movq %rax, 0x160(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x78(%r13)
movq $0x0, 0x88(%r13)
testq %rdi, %rdi
je 0x62fa0
subq %rdi, %rsi
callq 0x8480
movq 0x168(%rsp), %rdi
movq 0x178(%rsp), %rsi
movups 0x318(%rsp), %xmm0
movups %xmm0, 0x168(%rsp)
movq 0x328(%rsp), %rax
movq %rax, 0x178(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x90(%r13)
movq $0x0, 0xa0(%r13)
testq %rdi, %rdi
je 0x62ff3
subq %rdi, %rsi
callq 0x8480
movq 0x180(%rsp), %rdi
movq 0x190(%rsp), %rsi
movups 0x330(%rsp), %xmm0
movaps %xmm0, 0x180(%rsp)
movq 0x340(%rsp), %rax
movq %rax, 0x190(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0xa8(%r13)
movq $0x0, 0xb8(%r13)
testq %rdi, %rdi
je 0x63046
subq %rdi, %rsi
callq 0x8480
movq 0x198(%rsp), %rdi
testq %rdi, %rdi
je 0x6307a
movq 0x1b8(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq $0x0, 0x198(%rsp)
movl $0x0, 0x1a0(%rsp)
movq 0xe0(%r13), %rax
movq %rax, 0xf0(%rbx)
movups 0xc0(%r13), %xmm0
movups 0xd0(%r13), %xmm1
movups %xmm1, 0xe0(%rbx)
movups %xmm0, 0xd0(%rbx)
movq %r12, 0x348(%rsp)
movl %r12d, 0x350(%rsp)
movq %r12, 0x358(%rsp)
movl %r12d, 0x360(%rsp)
movq %r12, 0x368(%rsp)
movzwl 0x370(%rsp), %eax
movw %ax, 0x1c0(%rsp)
leaq 0x278(%rsp), %rdi
callq 0x2e6d0
cmpq $0x0, 0x98(%rsp)
je 0x6310b
leaq 0xc0(%rsp), %rdi
leaq 0x1d0(%rsp), %rsi
callq 0x4fcc1
leaq 0x60(%rsp), %rdi
callq 0x2e784
movq %rbx, %rdi
callq 0x2e6d0
movb $0x1, %bpl
jmp 0x62cea
movq 0x9eebc(%rip), %rbx     # 0x101fe8
leaq 0x70c60(%rip), %rsi     # 0xd3d93
movl $0x16, %edx
movq %rbx, %rdi
callq 0x84e0
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq 0x9ee8a(%rip), %rdi     # 0x101fe8
callq 0x8040
movq %rax, %rdi
callq 0x8300
leaq 0xd0(%rsp), %r13
movq %r13, -0x10(%r13)
movq 0xa0(%rsp), %rsi
movq 0xa8(%rsp), %rdx
addq %rsi, %rdx
leaq 0xc0(%rsp), %rdi
callq 0x2ba06
leaq 0x70c0c(%rip), %rsi     # 0xd3daa
leaq 0xc0(%rsp), %rdi
callq 0x88c0
movl $0x200, %edi            # imm = 0x200
callq 0x8470
movq %rax, %rbx
movq 0xc0(%rsp), %rsi
movq %rax, %rdi
movl $0x10, %edx
callq 0x84c0
leaq 0x6a7f6(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
movq %rbx, %rdi
callq 0x84e0
movq (%rsp), %rax
movq 0x8(%rsp), %rcx
subq %rax, %rcx
je 0x6327f
sarq $0x5, %rcx
movl $0x8, %r12d
xorl %ebp, %ebp
leaq 0x6a7c4(%rip), %r14     # 0xcd9ca
decq %rcx
movq -0x8(%rax,%r12), %rsi
movq (%rax,%r12), %rdx
cmpq %rcx, %rbp
jne 0x6324b
movq %rbx, %rdi
callq 0x84e0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %r15, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
jmp 0x63263
movq %rbx, %rdi
callq 0x84e0
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x84e0
incq %rbp
movq (%rsp), %rax
movq 0x8(%rsp), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
addq $0x20, %r12
cmpq %rbp, %rcx
ja 0x63206
leaq 0x70b31(%rip), %rsi     # 0xd3db7
movl $0x22, %edx
movq %rbx, %rdi
callq 0x84e0
movq 0x8(%rsp), %rax
subq (%rsp), %rax
je 0x633ca
sarq $0x5, %rax
xorl %ebp, %ebp
leaq 0x70b2b(%rip), %r14     # 0xd3dda
leaq 0x6a714(%rip), %r15     # 0xcd9ca
decq %rax
movq 0x200(%rsp), %rcx
movl (%rcx,%rbp,4), %esi
cmpq %rax, %rbp
jne 0x6334d
movq %rbx, %rdi
callq 0x8810
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x84e0
movq 0x1e8(%rsp), %rax
movl (%rax,%rbp,4), %esi
movq %r12, %rdi
callq 0x8810
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x84e0
movq 0x1d0(%rsp), %rax
movl (%rax,%rbp,4), %esi
movq %r12, %rdi
callq 0x8810
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %r12, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
jmp 0x633b1
movq %rbx, %rdi
callq 0x8810
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x84e0
movq 0x1e8(%rsp), %rax
movl (%rax,%rbp,4), %esi
movq %r12, %rdi
callq 0x8810
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x84e0
movq 0x1d0(%rsp), %rax
movl (%rax,%rbp,4), %esi
movq %r12, %rdi
callq 0x8810
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x84e0
incq %rbp
movq 0x8(%rsp), %rax
subq (%rsp), %rax
sarq $0x5, %rax
cmpq %rbp, %rax
ja 0x632b6
leaq 0x70a0b(%rip), %rsi     # 0xd3ddc
movl $0x24, %edx
movq %rbx, %rdi
callq 0x84e0
movq 0x8(%rsp), %rax
subq (%rsp), %rax
je 0x63515
sarq $0x5, %rax
xorl %ebp, %ebp
leaq 0x709e0(%rip), %r14     # 0xd3dda
leaq 0x6a5c9(%rip), %r15     # 0xcd9ca
decq %rax
movq 0x248(%rsp), %rcx
movl (%rcx,%rbp,4), %esi
cmpq %rax, %rbp
jne 0x63498
movq %rbx, %rdi
callq 0x8810
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x84e0
movq 0x230(%rsp), %rax
movl (%rax,%rbp,4), %esi
movq %r12, %rdi
callq 0x8810
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x84e0
movq 0x218(%rsp), %rax
movl (%rax,%rbp,4), %esi
movq %r12, %rdi
callq 0x8810
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %r12, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
jmp 0x634fc
movq %rbx, %rdi
callq 0x8810
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x84e0
movq 0x230(%rsp), %rax
movl (%rax,%rbp,4), %esi
movq %r12, %rdi
callq 0x8810
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x84e0
movq 0x218(%rsp), %rax
movl (%rax,%rbp,4), %esi
movq %r12, %rdi
callq 0x8810
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x84e0
incq %rbp
movq 0x8(%rsp), %rax
subq (%rsp), %rax
sarq $0x5, %rax
cmpq %rbp, %rax
ja 0x63401
movq 0xc0(%rsp), %rdi
cmpq %r13, %rdi
je 0x63532
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
leaq 0x30(%rsp), %rbx
leaq 0x50(%rsp), %r14
je 0x6355e
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x40(%rsp), %rdi
cmpq %r14, %rdi
je 0x63575
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x378(%rsp), %rdi
callq 0x3c686
leaq 0x260(%rsp), %rdi
callq 0x2e784
movq %rsp, %rdi
callq 0x2e784
movq 0x248(%rsp), %rdi
testq %rdi, %rdi
je 0x635b4
movq 0x258(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x230(%rsp), %rdi
testq %rdi, %rdi
je 0x635d1
movq 0x240(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x218(%rsp), %rdi
testq %rdi, %rdi
je 0x635ee
movq 0x228(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x200(%rsp), %rdi
testq %rdi, %rdi
je 0x6360b
movq 0x210(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x1e8(%rsp), %rdi
testq %rdi, %rdi
je 0x63628
movq 0x1f8(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x1d0(%rsp), %rdi
testq %rdi, %rdi
je 0x63645
movq 0x1e0(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
leaq 0xb0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x63666
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x20(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6367d
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
xorl %eax, %eax
addq $0x3a8, %rsp            # imm = 0x3A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x9e950(%rip), %rdi     # 0x101fe8
leaq 0x706a6(%rip), %rsi     # 0xd3d45
movl $0x4d, %edx
callq 0x84e0
movq 0x9e938(%rip), %rdi     # 0x101fe8
callq 0x8200
movl $0x1, %edi
callq 0x8530
jmp 0x6371d
jmp 0x6371d
movq %rax, %r15
jmp 0x6372a
movq %rax, %r15
movl $0x200, %esi            # imm = 0x200
movq %rbx, %rdi
callq 0x8480
jmp 0x63753
jmp 0x63750
jmp 0x63744
movq %rax, %r15
movl $0x208, %esi            # imm = 0x208
movq %r14, %rdi
callq 0x8480
leaq 0x30(%rsp), %r12
leaq 0x50(%rsp), %r13
jmp 0x6379c
jmp 0x63749
jmp 0x63749
movq %rax, %r15
movl $0x208, %esi            # imm = 0x208
movq %rbx, %rdi
jmp 0x637ae
jmp 0x6373d
movq %rax, %r15
jmp 0x63803
jmp 0x63749
movq %rax, %r15
leaq 0x60(%rsp), %rdi
callq 0x2e784
leaq 0xc8(%rsp), %rdi
callq 0x2e6d0
jmp 0x63770
jmp 0x63750
jmp 0x63744
movq %rax, %r15
jmp 0x637b3
jmp 0x63750
movq %rax, %r15
jmp 0x63770
movq %rax, %r15
jmp 0x6379c
jmp 0x63750
movq %rax, %r15
movq 0xc0(%rsp), %rdi
cmpq %r13, %rdi
je 0x63770
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x30(%rsp), %r12
leaq 0x50(%rsp), %r13
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x6379c
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x40(%rsp), %rdi
cmpq %r13, %rdi
je 0x637b3
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x378(%rsp), %rdi
callq 0x3c686
leaq 0x260(%rsp), %rdi
callq 0x2e784
movq %rsp, %rdi
callq 0x2e784
leaq 0x1d0(%rsp), %rdi
callq 0x63b62
leaq 0xb0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x63803
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x6381a
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
movq %r15, %rdi
callq 0x8840