// File: /workspace/github_cpp_makefile_star2_O3/millanek[P]evo/process_vcf_fst.cpp
// Function: summariseEigensoft()
void summariseEigensoft() {
    std::ifstream* eigenFile = new std::ifstream(opt::eigensoftFile.c_str());
    string fileRoot = stripExtension(opt::eigensoftFile);
    string FstResultsFileName = fileRoot + "_" + opt::runName + "_fst_matrix.forR";
    std::ofstream* pFst = new std::ofstream(FstResultsFileName.c_str());
    std::vector<std::vector<std::string> > fst_matrix;
    
    string line;
    getline(*eigenFile, line); // Get the first description line
    short type;
    if (line == "##") {
        type = 1;
    } else {
        type = 2;
    }
    std::cerr << "It is type: " << type << std::endl;
    if (type == 1) {
        getline(*eigenFile, line);
        std::vector<std::string> fields = split(line, '\t');
        std::vector<std::string> this_indiv_fst;
        std::vector<std::string> all_indiv;
        string this_indiv = fields[0];
        this_indiv_fst.push_back(fields[2]);
        while (getline(*eigenFile, line)) {
            fields = split(line, '\t');
            std::cerr << "Indiv: " << fields[0] << std::endl;
            if (this_indiv == fields[0]) {
                this_indiv_fst.push_back(fields[2]);
            } else {
                fst_matrix.push_back(this_indiv_fst);
                all_indiv.push_back(this_indiv);
                this_indiv = fields[0];
                this_indiv_fst.clear();
                this_indiv_fst.push_back(fields[2]);
            }
        }
        all_indiv.push_back(this_indiv);
        fst_matrix.push_back(this_indiv_fst);
        this_indiv_fst.clear(); this_indiv_fst.push_back("0"); all_indiv.push_back(fields[1]);
        fst_matrix.push_back(this_indiv_fst);
        
        for (std::vector<std::vector<std::string> >::size_type i = 0; i != fst_matrix.size(); i++) {
            std::reverse(fst_matrix[i].begin(), fst_matrix[i].end());
            fst_matrix[i].insert(fst_matrix[i].end(), "0");
            while (fst_matrix[i].size() != fst_matrix[0].size()) {
                fst_matrix[i].insert(fst_matrix[i].end(), "0");
            }
        }
        std::reverse(fst_matrix.begin(), fst_matrix.end());
        std::reverse(all_indiv.begin(), all_indiv.end());
        
        print_vector(all_indiv, *pFst);
        print_matrix(fst_matrix, *pFst);
    } else if (type == 2) {
        std::cerr << "type2" << std::endl;
        std::vector<std::string> fields = split(line, '\t');
        std::vector<std::string> all_indiv(fields.begin()+1,fields.end());
        getline(*eigenFile, line); getline(*eigenFile, line);
        std::vector<std::string> this_indiv_fst;
        while (getline(*eigenFile, line)) {
            fields = split(line, '\t');
            std::copy(fields.begin()+1,fields.end(),std::back_inserter(this_indiv_fst));
            for (std::vector<std::string>::size_type i = 0; i != this_indiv_fst.size(); i++) {
                double fst = convertToDouble(this_indiv_fst[i]) / 1000;
                this_indiv_fst[i] = numToString(fst);
            }
            fst_matrix.push_back(this_indiv_fst);
            this_indiv_fst.clear();
        }
        print_vector(all_indiv, *pFst);
        print_matrix(fst_matrix, *pFst);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movl $0x208, %edi            # imm = 0x208
callq 0x8470
movq %rax, %r14
movq 0x6d15e(%rip), %rsi     # 0x103a60
movq %rax, %rdi
movl $0x8, %edx
callq 0x8860
leaq 0x6d14a(%rip), %rsi     # 0x103a60
leaq 0x178(%rsp), %rbx
movq %rbx, %rdi
callq 0x4d82f
leaq 0x50(%rsp), %rax
movq %rax, -0x10(%rax)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x40(%rsp), %rdi
callq 0x2ba06
leaq 0x3e732(%rip), %rsi     # 0xd507c
leaq 0x40(%rsp), %rdi
callq 0x88c0
movq 0x6d145(%rip), %rsi     # 0x103aa0
movq 0x6d146(%rip), %rdx     # 0x103aa8
leaq 0x40(%rsp), %rdi
callq 0x8180
leaq 0x70(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x96993
movq %rdx, 0x60(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x70(%rsp)
jmp 0x9699b
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x60(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x45126(%rip), %rsi     # 0xdbae4
callq 0x88c0
leaq 0xf0(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x969f3
movq %rdx, 0xe0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xf0(%rsp)
jmp 0x969fb
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0xe8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x96a32
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x96a4e
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x200, %edi            # imm = 0x200
callq 0x8470
movq 0xe0(%rsp), %rsi
movq %rax, 0x98(%rsp)
movq %rax, %rdi
movl $0x10, %edx
callq 0x84c0
xorpd %xmm0, %xmm0
movapd %xmm0, 0xa0(%rsp)
xorl %eax, %eax
movq %rax, 0xb0(%rsp)
leaq 0x70(%rsp), %rcx
movq %rcx, 0x60(%rsp)
movq %rax, 0x68(%rsp)
movb $0x0, 0x70(%rsp)
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %edx
leaq 0x60(%rsp), %rsi
movq %r14, %rdi
callq 0x8870
leaq 0x4502a(%rip), %rsi     # 0xdbaf5
leaq 0x60(%rsp), %rdi
callq 0x8160
movl %eax, %ebx
movq 0x6b50a(%rip), %rdi     # 0x101fe8
leaq 0x45013(%rip), %rsi     # 0xdbaf8
movl $0xc, %edx
callq 0x84e0
cmpl $0x1, %ebx
movl $0x2, %esi
sbbl $0x0, %esi
movq 0x6b4e7(%rip), %rdi     # 0x101fe8
callq 0x8410
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
testl %ebx, %ebx
movq %r14, 0xd8(%rsp)
je 0x96e62
movq 0x6b4a1(%rip), %rbx     # 0x101fe8
leaq 0x44fbf(%rip), %rsi     # 0xdbb0d
movl $0x5, %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 0x6b46f(%rip), %rdi     # 0x101fe8
callq 0x8040
movq %rax, %rdi
callq 0x8300
leaq 0x20(%rsp), %rdi
leaq 0x60(%rsp), %rsi
movl $0x9, %edx
callq 0x4d650
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
addq $0x20, %rsi
leaq 0x80(%rsp), %rdi
leaq 0x40(%rsp), %rcx
callq 0x7f67a
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %edx
leaq 0x60(%rsp), %rsi
movq %r14, %rdi
callq 0x8870
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %edx
leaq 0x60(%rsp), %rsi
movq %r14, %rdi
callq 0x8870
xorpd %xmm0, %xmm0
movq %rsp, %rbx
movapd %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
leaq 0x60(%rsp), %r15
leaq 0x40(%rsp), %r13
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 0x96dcb
leaq 0xc0(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
movl $0x9, %edx
callq 0x4d650
movq 0x30(%rsp), %rax
movapd 0xc0(%rsp), %xmm0
movq 0xd0(%rsp), %rcx
movq %rcx, 0x30(%rsp)
movaps 0x20(%rsp), %xmm1
movapd %xmm0, 0x20(%rsp)
movaps %xmm1, 0x40(%rsp)
movq %rax, 0x50(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0xc0(%rsp)
movq $0x0, 0xd0(%rsp)
movq %r13, %rdi
callq 0x2e784
movq %r12, %rdi
callq 0x2e784
movq 0x20(%rsp), %rbp
movq 0x28(%rsp), %r12
addq $0x20, %rbp
subq %rbp, %r12
sarq $0x5, %r12
testq %r12, %r12
jle 0x96cf9
incq %r12
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x3133c
addq $0x20, %rbp
decq %r12
cmpq $0x1, %r12
ja 0x96ce1
movq (%rsp), %rdi
cmpq %rdi, 0x8(%rsp)
je 0x96d68
xorl %ebp, %ebp
xorl %r12d, %r12d
addq %rbp, %rdi
callq 0x75d30
divsd 0x43dd7(%rip), %xmm0    # 0xdaaf0
movq %r13, %rdi
callq 0x42f10
movq (%rsp), %rdi
addq %rbp, %rdi
movq %r13, %rsi
callq 0x8540
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x96d4c
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x8480
incq %r12
movq (%rsp), %rdi
movq 0x8(%rsp), %rax
subq %rdi, %rax
sarq $0x5, %rax
addq $0x20, %rbp
cmpq %rax, %r12
jne 0x96d09
leaq 0xa0(%rsp), %rdi
movq %rbx, %rsi
callq 0x2f876
movq (%rsp), %r12
movq 0x8(%rsp), %rbp
cmpq %r12, %rbp
je 0x96c1f
movq %r15, %r14
leaq 0x10(%r12), %r15
movq -0x10(%r15), %rdi
cmpq %rdi, %r15
je 0x96da6
movq (%r15), %rsi
incq %rsi
callq 0x8480
leaq 0x20(%r15), %rax
addq $0x10, %r15
cmpq %rbp, %r15
movq %rax, %r15
jne 0x96d92
movq %r12, 0x8(%rsp)
movq %r14, %r15
movq 0xd8(%rsp), %r14
jmp 0x96c1f
leaq 0x130(%rsp), %rdi
leaq 0x80(%rsp), %rsi
callq 0x2fc8e
leaq 0x130(%rsp), %rdi
movq 0x98(%rsp), %rsi
movl $0x9, %edx
movl $0x1, %ecx
callq 0x36ba0
leaq 0x130(%rsp), %rdi
callq 0x2e784
leaq 0x118(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
callq 0x30dd2
leaq 0x118(%rsp), %rdi
movq 0x98(%rsp), %rsi
callq 0x4740e
leaq 0x118(%rsp), %rdi
callq 0x2efec
movq %rsp, %rdi
callq 0x2e784
leaq 0x80(%rsp), %rdi
callq 0x2e784
leaq 0x20(%rsp), %rdi
jmp 0x9742c
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %edx
leaq 0x60(%rsp), %rsi
movq %r14, %rdi
callq 0x8870
leaq 0x80(%rsp), %rdi
leaq 0x60(%rsp), %rsi
movl $0x9, %edx
callq 0x4d650
xorpd %xmm0, %xmm0
movapd %xmm0, (%rsp)
xorl %eax, %eax
movq %rax, 0x10(%rsp)
movq %rax, 0xd0(%rsp)
movapd %xmm0, 0xc0(%rsp)
movq 0x80(%rsp), %rax
leaq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rcx
movq %rcx, (%rdi)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
callq 0x2ba06
movq 0x80(%rsp), %rsi
addq $0x40, %rsi
movq %rsp, %rdi
callq 0x3133c
leaq 0x60(%rsp), %r15
leaq 0x100(%rsp), %r12
leaq 0x20(%rsp), %rbp
movq 0x6b0d9(%rip), %r13     # 0x101fe8
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 0x970f1
movq %r12, %rdi
movq %r15, %rsi
movl $0x9, %edx
callq 0x4d650
movq 0x90(%rsp), %rax
movapd 0x100(%rsp), %xmm0
movq 0x110(%rsp), %rcx
movq %rcx, 0x90(%rsp)
movaps 0x80(%rsp), %xmm1
movapd %xmm0, 0x80(%rsp)
movaps %xmm1, 0x20(%rsp)
movq %rax, 0x30(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x100(%rsp)
movq $0x0, 0x110(%rsp)
movq %rbp, %rdi
callq 0x2e784
movq %r12, %rdi
callq 0x2e784
movl $0x7, %edx
movq %r13, %rdi
leaq 0x44b3e(%rip), %rsi     # 0xdbb05
callq 0x84e0
movq 0x80(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %r13, %rdi
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
callq 0x8300
movq 0x80(%rsp), %rbx
movq 0x48(%rsp), %rdx
cmpq 0x8(%rbx), %rdx
jne 0x9703e
testq %rdx, %rdx
je 0x970dd
movq (%rbx), %rsi
movq 0x40(%rsp), %rdi
callq 0x8490
testl %eax, %eax
je 0x970dd
leaq 0xa0(%rsp), %rdi
movq %rsp, %rsi
callq 0x2f876
leaq 0xc0(%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0x3133c
movq 0x80(%rsp), %rsi
leaq 0x40(%rsp), %rdi
callq 0x8270
movq %r14, %rax
movq %r13, %r14
movq (%rsp), %rbx
movq 0x8(%rsp), %r13
cmpq %rbx, %r13
je 0x970cf
movq %r15, %rbp
movq %r12, %r15
leaq 0x10(%rbx), %r12
movq -0x10(%r12), %rdi
cmpq %rdi, %r12
je 0x970a6
movq (%r12), %rsi
incq %rsi
callq 0x8480
leaq 0x20(%r12), %rax
addq $0x10, %r12
cmpq %r13, %r12
movq %rax, %r12
jne 0x97090
movq %rbx, 0x8(%rsp)
movq %r15, %r12
movq %rbp, %r15
leaq 0x20(%rsp), %rbp
movq 0xd8(%rsp), %rax
movq 0x80(%rsp), %rbx
movq %r14, %r13
movq %rax, %r14
addq $0x40, %rbx
movq %rsp, %rdi
movq %rbx, %rsi
callq 0x3133c
jmp 0x96f0f
leaq 0xc0(%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0x3133c
leaq 0xa0(%rsp), %rdi
movq %rsp, %rsi
callq 0x2f876
movq (%rsp), %rbx
movq 0x8(%rsp), %r14
cmpq %rbx, %r14
je 0x9714e
leaq 0x10(%rbx), %r15
movq -0x10(%r15), %rdi
cmpq %rdi, %r15
je 0x97139
movq (%r15), %rsi
incq %rsi
callq 0x8480
leaq 0x20(%r15), %rax
addq $0x10, %r15
cmpq %r14, %r15
movq %rax, %r15
jne 0x97125
movq %rbx, 0x8(%rsp)
leaq 0x30(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x355e7(%rip), %rsi     # 0xcc745
leaq 0x355e1(%rip), %rdx     # 0xcc746
leaq 0x20(%rsp), %rdi
callq 0x28a52
movq %rsp, %rdi
leaq 0x20(%rsp), %rsi
callq 0x3e784
movq 0x20(%rsp), %rdi
cmpq %rbx, %rdi
je 0x97193
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x80(%rsp), %rsi
addq $0x20, %rsi
leaq 0xc0(%rsp), %rdi
callq 0x3133c
leaq 0xa0(%rsp), %rdi
movq %rsp, %rsi
callq 0x2f876
movq 0xa0(%rsp), %r12
movq 0xa8(%rsp), %rsi
cmpq %r12, %rsi
je 0x97334
xorl %ecx, %ecx
leaq 0x20(%rsp), %r15
movq %rcx, 0xd8(%rsp)
leaq (%rcx,%rcx,2), %r14
movq (%r12,%r14,8), %r13
movq 0x8(%r12,%r14,8), %rbx
cmpq %rbx, %r13
setne %al
movq %rbx, %rbp
addq $-0x20, %rbp
cmpq %r13, %rbp
seta %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x97230
movq %r13, %rdi
movq %rbp, %rsi
callq 0x8350
addq $0x20, %r13
addq $-0x20, %rbp
cmpq %rbp, %r13
jb 0x9720b
movq 0xa0(%rsp), %r12
movq 0x8(%r12,%r14,8), %rbx
leaq 0x30(%rsp), %rbp
movq %rbp, 0x20(%rsp)
movq %r15, %rdi
leaq 0x35501(%rip), %rsi     # 0xcc745
leaq 0x354fb(%rip), %rdx     # 0xcc746
callq 0x28a52
leaq (%r12,%r14,8), %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x9983e
movq 0x20(%rsp), %rdi
cmpq %rbp, %rdi
je 0x97276
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0xa0(%rsp), %r12
movq 0x8(%r12,%r14,8), %r13
movq %r13, %rax
subq (%r12,%r14,8), %rax
movq 0x8(%r12), %rcx
subq (%r12), %rcx
cmpq %rcx, %rax
je 0x97300
leaq (%r12,%r14,8), %rbx
movq %rbp, 0x20(%rsp)
movq %r15, %rdi
leaq 0x3549a(%rip), %rsi     # 0xcc745
leaq 0x35494(%rip), %rdx     # 0xcc746
callq 0x28a52
movq %rbx, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0x9983e
movq 0x20(%rsp), %rdi
cmpq %rbp, %rdi
je 0x972dc
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0xa0(%rsp), %r12
leaq (%r12,%r14,8), %rbx
movq 0x8(%rbx), %r13
movq %r13, %rax
subq (%rbx), %rax
movq 0x8(%r12), %rcx
subq (%r12), %rcx
cmpq %rcx, %rax
jne 0x9729c
movq 0xd8(%rsp), %rcx
incq %rcx
movq 0xa8(%rsp), %rsi
movq %rsi, %rax
subq %r12, %rax
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %rax
cmpq %rax, %rcx
jne 0x971dc
movq %r12, %rdi
callq 0x9996e
movq 0xc0(%rsp), %rbx
movq 0xc8(%rsp), %r14
cmpq %r14, %rbx
setne %al
addq $-0x20, %r14
cmpq %rbx, %r14
seta %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x9737b
movq %rbx, %rdi
movq %r14, %rsi
callq 0x8350
addq $0x20, %rbx
addq $-0x20, %r14
cmpq %r14, %rbx
jb 0x97363
leaq 0x160(%rsp), %rdi
leaq 0xc0(%rsp), %rsi
callq 0x2fc8e
leaq 0x160(%rsp), %rdi
movq 0x98(%rsp), %rsi
movl $0x9, %edx
movl $0x1, %ecx
callq 0x36ba0
leaq 0x160(%rsp), %rdi
callq 0x2e784
leaq 0x148(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
callq 0x30dd2
leaq 0x148(%rsp), %rdi
movq 0x98(%rsp), %rsi
callq 0x4740e
leaq 0x148(%rsp), %rdi
callq 0x2efec
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x9740f
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0xc0(%rsp), %rdi
callq 0x2e784
movq %rsp, %rdi
callq 0x2e784
leaq 0x80(%rsp), %rdi
callq 0x2e784
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x9744d
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0xa0(%rsp), %rdi
callq 0x2efec
movq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
cmpq %rax, %rdi
je 0x9747f
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x188(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x974a0
movq 0x188(%rsp), %rsi
incq %rsi
callq 0x8480
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r15
leaq 0x148(%rsp), %rdi
callq 0x2efec
jmp 0x975f6
movq %rax, %r15
leaq 0x160(%rsp), %rdi
callq 0x2e784
jmp 0x975f6
movq %rax, %r15
movq 0x20(%rsp), %rdi
cmpq %rbx, %rdi
jne 0x975e4
jmp 0x975f6
jmp 0x975f3
movq %rax, %r15
jmp 0x97612
jmp 0x975c7
movq %rax, %r15
leaq 0x118(%rsp), %rdi
callq 0x2efec
jmp 0x97638
movq %rax, %r15
leaq 0x130(%rsp), %rdi
callq 0x2e784
jmp 0x97638
movq %rax, %r15
jmp 0x9764d
jmp 0x975c7
movq %rax, %r15
movl $0x200, %esi            # imm = 0x200
movq 0x98(%rsp), %rdi
callq 0x8480
jmp 0x97680
movq %rax, %r15
jmp 0x97680
movq %rax, %r15
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x97583
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0x97583
jmp 0x97580
movq %rax, %r15
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x976a5
movq 0x50(%rsp), %rsi
jmp 0x9769d
movq %rax, %r15
jmp 0x976a5
movq %rax, %r15
movl $0x208, %esi            # imm = 0x208
movq %r14, %rdi
jmp 0x976c1
jmp 0x97635
jmp 0x975c7
movq %rax, %r15
jmp 0x97640
jmp 0x975f3
jmp 0x975f3
jmp 0x975d7
movq %rax, %r15
jmp 0x97657
jmp 0x975f3
jmp 0x97635
jmp 0x97635
jmp 0x975f3
movq %rax, %r15
movq 0x20(%rsp), %rdi
cmpq %rbp, %rdi
je 0x975f6
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0x975f6
movq %rax, %r15
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x97612
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0xc0(%rsp), %rdi
callq 0x2e784
movq %rsp, %rdi
callq 0x2e784
leaq 0x80(%rsp), %rdi
jmp 0x97652
jmp 0x97635
jmp 0x97635
movq %rax, %r15
movq %rsp, %rdi
callq 0x2e784
leaq 0x80(%rsp), %rdi
callq 0x2e784
leaq 0x20(%rsp), %rdi
callq 0x2e784
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x97673
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0xa0(%rsp), %rdi
callq 0x2efec
movq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
cmpq %rax, %rdi
je 0x976a5
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x188(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x976c6
movq 0x188(%rsp), %rsi
incq %rsi
callq 0x8480
movq %r15, %rdi
callq 0x8840