// File: /workspace/github_cpp_makefile_star2_O1/millanek[P]Dsuite/Dsuite_fBranch.cpp
// Function: fBranchMain(int, char**)
int fBranchMain(int argc, char** argv) {
    parseFbranchOptions(argc, argv);
    std::istream* treeFile = new std::ifstream(opt::treeFile.c_str());
    if (!treeFile->good()) { std::cerr << "The file " << opt::treeFile << " could not be opened. Exiting..." << std::endl; exit(EXIT_FAILURE);}
    std::istream* DvalsFile = new std::ifstream(opt::DvalsFile.c_str());
    if (!DvalsFile->good()) { std::cerr << "The file " << opt::DvalsFile << " could not be opened. Exiting..." << std::endl; exit(EXIT_FAILURE);}
    if (opt::DvalsFile.substr(opt::DvalsFile.size()-9) != "_tree.txt") { std::cerr << "The name of the input file with the f4-ratio values should end in \"_tree.txt\".\nPlease make sure you run Dtrios with the --tree option and then feed the correct file into Fbranch. Exiting..." << std::endl; exit(EXIT_FAILURE); }
    std::map<string,std::vector<std::vector<string>>> acToBmap;
    string line; int l = 0;
    getline(*DvalsFile, line); // get the header
    std::vector<string> headerVec = split(line, '\t');
    int indexFg = -1; int indexZ = -1;
    if (headerVec[4] == "Z-score") { indexZ = 4; }
    if (headerVec[5] == F4HEADER || headerVec[5] == "f_G") { indexFg = 5; } else if (headerVec[6] == F4HEADER || headerVec[6] == "f_G") { indexFg = 6; }
    while (getline(*DvalsFile, line)) {
        line.erase(std::remove(line.begin(), line.end(), '\r'), line.end()); // Deal with any left over \r from files prepared on Windows
        l++; if (line == "") { std::cerr << "Please fix the format of the " << opt::DvalsFile << " file.\nLine " << l << " is empty. Exiting..." << std::endl; exit(EXIT_FAILURE); }
        std::vector<string> speciesAndVals = split(line, '\t');
        if (speciesAndVals.size() < 6 || indexFg == -1) {
            std::cerr << "Please fix the format of the " << opt::DvalsFile << " file." << std::endl;
            std::cerr << "Looks like the file does not contain f4-ratio statistics. Exiting..." << std::endl;
            exit(EXIT_FAILURE);
        }
        double f4ratio = stringToDouble(speciesAndVals[indexFg]); double Zscore = stringToDouble(speciesAndVals[indexZ]);
        double pval = 2 * (1 - normalCDF(Zscore));
        std::vector<string> bAndValLine;  bAndValLine.push_back(speciesAndVals[1]);
        if (pval < opt::pthresh) bAndValLine.push_back(speciesAndVals[indexFg]); else bAndValLine.push_back("0"); // Set non-significant f4-ratio statistics to 0
        if (indexZ != -1) bAndValLine.push_back(speciesAndVals[indexZ]);
        std::vector<string> aAndValLine;  aAndValLine.push_back(speciesAndVals[0]); aAndValLine.push_back("0");
        if (indexZ != -1) aAndValLine.push_back("0");
        acToBmap[speciesAndVals[0]+","+speciesAndVals[2]].push_back(bAndValLine);
        acToBmap[speciesAndVals[1]+","+speciesAndVals[2]].push_back(aAndValLine);
    }
    string treeString; getline(*treeFile, treeString);
    Tree* testTree = new Tree(treeString);
    testTree->updateProgenyIds();
    testTree->fillSisterBranches();
    for (std::vector<Branch*>::iterator b = testTree->branches.begin(); b != testTree->branches.end(); b++) {
        if ((*b)->parentId != "treeOrigin") {
            std::vector<string> Bs = (*b)->progenyIds;
            std::vector<string> As = (*b)->sisterBranch->progenyIds;
            //if((*b)->id == "b5") { print_vector(Bs, std::cout); }
            std::vector<double> Bmins; std::vector<double> vals;
            std::vector<double> ZBmins; std::vector<double> Zvals;
            for (std::vector<string>::iterator C = testTree->allSpecies.begin(); C != testTree->allSpecies.end(); C++) {
                for (std::vector<string>::iterator A = As.begin(); A != As.end(); A++) {
                    std::vector<std::vector<string>> bAndVal; std::vector<std::vector<string>> aAndVal;
                    try { bAndVal = acToBmap.at(*A+","+*C); } catch (const std::out_of_range& oor) {}
                    for (int i = 0; i < bAndVal.size(); i++) {
                        if (std::count(Bs.begin(), Bs.end(), bAndVal[i][0])) {
                            vals.push_back(stringToDouble(bAndVal[i][1]));
                            if (indexZ != -1) {
                                Zvals.push_back(stringToDouble(bAndVal[i][2]));
                               // std::cerr << "bAndVal[i]: "; print_vector(bAndVal[i],std::cerr);
                            }
                        }
                        //if((*b)->id == "b5") { std::cout << *A << "\t" << bAndVal[i][0] << "\t" << bAndVal[i][1] << "\tbAndVal.size():\t" << bAndVal.size() << "\ti:\t" << i << std::endl;
                            //
                        //}
                    }
                    if (!vals.empty()) { Bmins.push_back(*std::min_element(vals.begin(),vals.end())); vals.clear(); }
                    if (!Zvals.empty()) { ZBmins.push_back(*std::min_element(Zvals.begin(),Zvals.end())); Zvals.clear(); }
                    //
                }
                double fbC = NAN; double ZfbC = NAN;
                if (!Bmins.empty()) { fbC = median(Bmins.begin(),Bmins.end()); Bmins.clear(); }
                if (!ZBmins.empty()) { ZfbC = median(ZBmins.begin(),ZBmins.end()); ZBmins.clear(); }
                /* else { // There is no positive value; just find if any value is possible for this ABC combination
                    bool ACpossible = false;
                    for (std::vector<string>::iterator B = Bs.begin(); B != Bs.end(); B++) {
                        std::vector<std::vector<string>> bAndVal; std::vector<std::vector<string>> aAndVal;
                        try { bAndVal = acToBmap.at(*B+","+*C); } catch (const std::out_of_range& oor) {}
                        for (int i = 0; i < bAndVal.size(); i++) {
                            if (std::count(As.begin(), As.end(), bAndVal[i][0])) {
                                ACpossible = true; break;
                            }
                        }
                    }
                    if (ACpossible) fbC = 0;
                } */
                (*b)->fbCvals.push_back(fbC);
                (*b)->ZfbCvals.push_back(ZfbC);
                (*b)->PfbCvals.push_back(2 * (1 - normalCDF(ZfbC)));
               // std::cerr << "Here: (*b)->progenyIds: "; print_vector((*b)->progenyIds,std::cerr);
               // std::cerr << "Here: (*b)->ZfbCvals.size() " << (*b)->ZfbCvals.size() << std::endl;
               // std::cerr << "Here: (*b)->ZfbCvals: "; print_vector((*b)->ZfbCvals,std::cerr);
            }
        }
    }
    
    // Generate output
    std::cout << "branch\tbranch_descendants\t"; print_vector(testTree->allSpecies, std::cout);
    for (std::vector<Branch*>::iterator b = testTree->branches.begin(); b != testTree->branches.end(); b++) {
        if ((*b)->parentId != "treeOrigin") {
            std::cout << (*b)->id << "\t"; print_vector((*b)->progenyIds, std::cout, ',', false);
            std::cout << "\t"; print_vector((*b)->fbCvals, std::cout);
            //std::cout << "Sister branch:\t" <<  (*b)->sisterBranch->id << std::endl;
            //std::cout << "This branch progeny:\t"; print_vector((*b)->progenyIds, std::cout);
            //std::cout << "Sister branch progeny:\t"; print_vector((*b)->sisterBranch->progenyIds, std::cout);
            //std::cout << "fbCs:\t"; print_vector((*b)->fbCvals, std::cout);
            //std::cout << std::endl;
        }
    }
    if (indexZ != -1 && opt::printZb) {
        std::cout << "\n";
        std::cout << "# Z-scores:\n";
        std::cout << "branch\tbranch_descendants\t"; print_vector(testTree->allSpecies, std::cout);
        for (std::vector<Branch*>::iterator b = testTree->branches.begin(); b != testTree->branches.end(); b++) {
            if ((*b)->parentId != "treeOrigin") {
                std::cout << (*b)->id << "\t"; print_vector((*b)->progenyIds, std::cout, ',', false);
                std::cout << "\t"; print_vector((*b)->ZfbCvals, std::cout);
            }
        }
    }
    if (indexZ != -1 && opt::printPb) {
        std::cout << "\n";
        std::cout << "# p-values:\n";
        std::cout << "branch\tbranch_descendants\t"; print_vector(testTree->allSpecies, std::cout);
        for (std::vector<Branch*>::iterator b = testTree->branches.begin(); b != testTree->branches.end(); b++) {
            if ((*b)->parentId != "treeOrigin") {
                std::cout << (*b)->id << "\t"; print_vector((*b)->progenyIds, std::cout, ',', false);
                std::cout << "\t"; print_vector((*b)->PfbCvals, std::cout);
            }
        }
    }
    return 0;
    
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x378, %rsp            # imm = 0x378
callq 0x2519d
movl $0x208, %edi            # imm = 0x208
callq 0x7410
movq %rax, %r13
movq 0x34352(%rip), %rsi     # 0x57ad0
movq %rax, %rdi
movl $0x8, %edx
callq 0x7790
movq (%r13), %rax
movq -0x18(%rax), %rax
cmpl $0x0, 0x20(%r13,%rax)
jne 0x24d34
movl $0x208, %edi            # imm = 0x208
callq 0x7410
movq %rax, %r15
movq 0x3433d(%rip), %rsi     # 0x57af0
movq %rax, %rdi
movl $0x8, %edx
callq 0x7790
movq (%r15), %rax
movq -0x18(%rax), %rax
cmpl $0x0, 0x20(%r15,%rax)
jne 0x24d50
leaq 0x34316(%rip), %rsi     # 0x57af0
movq 0x34317(%rip), %rdx     # 0x57af8
addq $-0x9, %rdx
leaq 0x2a0(%rsp), %r14
movq %r14, %rdi
movq $-0x1, %rcx
callq 0x7450
leaq 0x1ef69(%rip), %rsi     # 0x4276c
movq %r14, %rdi
callq 0x70f0
movl %eax, %ebx
movq (%r14), %rdi
leaq 0x2b0(%rsp), %rax
cmpq %rax, %rdi
je 0x2382d
movq 0x2b0(%rsp), %rsi
incq %rsi
callq 0x7420
testl %ebx, %ebx
jne 0x24d7e
leaq 0x2a8(%rsp), %rax
movl $0x0, (%rax)
xorl %ecx, %ecx
movq %rcx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rcx, 0x20(%rax)
leaq 0x160(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rcx, -0x8(%rax)
movb $0x0, (%rax)
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x73f0
movsbl %al, %edx
leaq 0x150(%rsp), %rsi
movq %r15, %rdi
callq 0x77a0
leaq 0x190(%rsp), %rdi
leaq 0x150(%rsp), %rsi
movl $0x9, %edx
callq 0x91a9
movq 0x190(%rsp), %rdi
subq $-0x80, %rdi
leaq 0x1f65a(%rip), %rsi     # 0x42f16
callq 0x70f0
xorl %ebp, %ebp
movl %eax, 0x4c(%rsp)
negl %eax
movl $0x0, %eax
sbbq %rax, %rax
orq $0x4, %rax
movq %rax, 0x78(%rsp)
movl $0xa0, %r12d
movq 0x190(%rsp), %rdi
addq %r12, %rdi
leaq 0x1ded5(%rip), %rsi     # 0x417c7
callq 0x70f0
movl $0x5, %r14d
testl %eax, %eax
movq %r13, 0xf8(%rsp)
je 0x23973
addq 0x190(%rsp), %r12
leaq 0x1f606(%rip), %rsi     # 0x42f1e
movq %r12, %rdi
callq 0x70f0
testl %eax, %eax
je 0x23971
movl $0xc0, %r12d
movq 0x190(%rsp), %rdi
addq %r12, %rdi
leaq 0x1de8b(%rip), %rsi     # 0x417c7
callq 0x70f0
testl %eax, %eax
je 0x2396b
addq 0x190(%rsp), %r12
leaq 0x1f5ca(%rip), %rsi     # 0x42f1e
movq %r12, %rdi
callq 0x70f0
testl %eax, %eax
je 0x2396b
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
movb $0x1, %bpl
jmp 0x23973
movl $0x6, %r14d
xorl %ebp, %ebp
movl $0x1, (%rsp)
leaq 0x8(%rsp), %r13
notb %bpl
movq %rbp, 0x70(%rsp)
shlq $0x5, %r14
shlq $0x5, 0x78(%rsp)
leaq 0x170(%rsp), %r12
leaq 0x28(%rsp), %rbp
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x73f0
movsbl %al, %edx
movq %r15, %rdi
leaq 0x150(%rsp), %rsi
callq 0x77a0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x23eb8
movq 0x150(%rsp), %rdi
movq 0x158(%rsp), %rsi
addq %rdi, %rsi
movb $0xd, 0x8(%rsp)
movq %r13, %rdx
callq 0x1676e
movq %rax, %rcx
subq 0x150(%rsp), %rcx
movq %rcx, 0x158(%rsp)
movb $0x0, (%rax)
leaq 0x150(%rsp), %rbx
movq %rbx, %rdi
leaq 0x1f592(%rip), %rsi     # 0x42fb1
callq 0x70f0
testl %eax, %eax
je 0x24c45
leaq 0x50(%rsp), %rdi
movq %rbx, %rsi
movl $0x9, %edx
callq 0x91a9
movq 0x50(%rsp), %rax
movq 0x58(%rsp), %rcx
subq %rax, %rcx
cmpq $0xc0, %rcx
setae %cl
testb %cl, 0x70(%rsp)
je 0x24cbd
leaq 0x1f8(%rsp), %rcx
movq %rcx, 0x1e8(%rsp)
movq (%rax,%r14), %rsi
movq 0x8(%rax,%r14), %rdx
addq %rsi, %rdx
leaq 0x1e8(%rsp), %rbx
movq %rbx, %rdi
callq 0xdfb6
movq %rbx, %rdi
callq 0xc76a
movq 0x1e8(%rsp), %rdi
leaq 0x1f8(%rsp), %rax
cmpq %rax, %rdi
je 0x23ab8
movq 0x1f8(%rsp), %rsi
incq %rsi
callq 0x7420
movq 0x50(%rsp), %rax
leaq 0x1d8(%rsp), %rcx
movq %rcx, 0x1c8(%rsp)
movq 0x78(%rsp), %rcx
movq (%rax,%rcx), %rsi
movq 0x8(%rax,%rcx), %rdx
addq %rsi, %rdx
leaq 0x1c8(%rsp), %rbx
movq %rbx, %rdi
callq 0xdfb6
movq %rbx, %rdi
callq 0xc76a
movq 0x1c8(%rsp), %rdi
leaq 0x1d8(%rsp), %rax
cmpq %rax, %rdi
je 0x23b2d
movq 0x1d8(%rsp), %rsi
incq %rsi
movsd %xmm0, 0x100(%rsp)
callq 0x7420
movsd 0x100(%rsp), %xmm0
callq 0x894c
fstpt 0x100(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x110(%rsp)
movq $0x0, 0x120(%rsp)
movq 0x50(%rsp), %rsi
addq $0x20, %rsi
leaq 0x110(%rsp), %rdi
callq 0xd92e
fld1
fldt 0x100(%rsp)
fsubrp %st, %st(1)
fadd %st, %st(0)
fstpl 0x208(%rsp)
movsd 0x338fc(%rip), %xmm0    # 0x57480
ucomisd 0x208(%rsp), %xmm0
jbe 0x23ba6
movq 0x50(%rsp), %rsi
addq %r14, %rsi
leaq 0x110(%rsp), %rdi
callq 0xd92e
jmp 0x23bf2
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq %r13, %rdi
leaq 0x1d7d8(%rip), %rsi     # 0x41392
leaq 0x1d7d2(%rip), %rdx     # 0x41393
callq 0x88ba
leaq 0x110(%rsp), %rdi
movq %r13, %rsi
callq 0x2354a
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x23bf2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7420
cmpl $0x0, 0x4c(%rsp)
jne 0x23c10
movq 0x50(%rsp), %rsi
addq 0x78(%rsp), %rsi
leaq 0x110(%rsp), %rdi
callq 0xd92e
xorpd %xmm0, %xmm0
movapd %xmm0, 0x170(%rsp)
movq $0x0, 0x180(%rsp)
movq 0x50(%rsp), %rsi
movq %r12, %rdi
callq 0xd92e
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq %r13, %rdi
leaq 0x1d748(%rip), %rsi     # 0x41392
leaq 0x1d742(%rip), %rdx     # 0x41393
callq 0x88ba
movq %r12, %rdi
movq %r13, %rsi
callq 0x2354a
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x23c7d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7420
cmpl $0x0, 0x4c(%rsp)
jne 0x23ccb
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq %r13, %rdi
leaq 0x1d6fa(%rip), %rsi     # 0x41392
leaq 0x1d6f4(%rip), %rdx     # 0x41393
callq 0x88ba
movq %r12, %rdi
movq %r13, %rsi
callq 0x2354a
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x23ccb
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7420
movq 0x50(%rsp), %rax
leaq 0x38(%rsp), %rcx
movq %rcx, 0x28(%rsp)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
movq %rbp, %rdi
callq 0xdfb6
movq %rbp, %rdi
leaq 0x1f294(%rip), %rsi     # 0x42f8a
callq 0x77f0
movq 0x50(%rsp), %rax
movq 0x40(%rax), %rsi
movq 0x48(%rax), %rdx
movq %rbp, %rdi
callq 0x7110
leaq 0x18(%rsp), %rsi
movq %rsi, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x23d38
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x23d40
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x2a0(%rsp), %rdi
movq %r13, %rsi
callq 0x257c4
movq %rax, %rdi
leaq 0x110(%rsp), %rsi
callq 0x13828
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x23d94
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7420
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x23db0
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7420
movq 0x50(%rsp), %rax
leaq 0x38(%rsp), %rcx
movq %rcx, 0x28(%rsp)
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
addq %rsi, %rdx
movq %rbp, %rdi
callq 0xdfb6
movq %rbp, %rdi
leaq 0x1f1ae(%rip), %rsi     # 0x42f8a
callq 0x77f0
movq 0x50(%rsp), %rax
movq 0x40(%rax), %rsi
movq 0x48(%rax), %rdx
movq %rbp, %rdi
callq 0x7110
leaq 0x18(%rsp), %rsi
movq %rsi, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x23e1e
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x23e26
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x2a0(%rsp), %rdi
movq %r13, %rsi
callq 0x257c4
movq %rax, %rdi
movq %r12, %rsi
callq 0x13828
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x23e75
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7420
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x23e91
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7420
movq %r12, %rdi
callq 0xd250
leaq 0x110(%rsp), %rdi
callq 0xd250
leaq 0x50(%rsp), %rdi
callq 0xd250
incl (%rsp)
jmp 0x2399e
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
movb $0x0, 0x18(%rsp)
movq 0xf8(%rsp), %rbx
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x73f0
movsbl %al, %edx
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x77a0
movl $0x30, %edi
callq 0x7410
movq %rax, (%rsp)
leaq 0x38(%rsp), %r14
leaq 0x248(%rsp), %rbx
movq %rbx, -0x10(%rbx)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x238(%rsp), %rdi
callq 0xdfb6
leaq 0x238(%rsp), %rsi
movq (%rsp), %rdi
callq 0x25840
movq 0x238(%rsp), %rdi
cmpq %rbx, %rdi
je 0x23f63
movq 0x248(%rsp), %rsi
incq %rsi
callq 0x7420
movq (%rsp), %rdi
callq 0x2548c
movq (%rsp), %rdi
callq 0x2567e
movq (%rsp), %rax
movq 0x18(%rax), %rbx
cmpq 0x20(%rax), %rbx
je 0x2474d
leaq 0x60(%rsp), %r15
leaq 0x1a8(%rsp), %r12
movq (%rbx), %rdi
addq $0x20, %rdi
leaq 0x1efea(%rip), %rsi     # 0x42f8c
callq 0x70f0
testl %eax, %eax
je 0x2473b
movq (%rbx), %rsi
subq $-0x80, %rsi
leaq 0x110(%rsp), %rdi
callq 0xda38
movq %rbx, 0xf8(%rsp)
movq (%rbx), %rax
movq 0xc0(%rax), %rsi
subq $-0x80, %rsi
leaq 0x170(%rsp), %rdi
callq 0xda38
xorpd %xmm0, %xmm0
movapd %xmm0, 0xe0(%rsp)
xorl %eax, %eax
movq %rax, 0xf0(%rsp)
movq %rax, 0xd0(%rsp)
movapd %xmm0, 0xc0(%rsp)
movq %rax, 0xb0(%rsp)
movapd %xmm0, 0xa0(%rsp)
movq %rax, 0x90(%rsp)
movapd %xmm0, 0x80(%rsp)
movq (%rsp), %rax
movq (%rax), %rcx
movq %rcx, 0x70(%rsp)
cmpq 0x8(%rax), %rcx
leaq 0x50(%rsp), %rbx
je 0x246a5
movq 0x170(%rsp), %rcx
cmpq 0x178(%rsp), %rcx
je 0x2450e
xorpd %xmm0, %xmm0
movapd %xmm0, 0x130(%rsp)
xorl %eax, %eax
movq %rax, 0x140(%rsp)
movq %rax, 0x2e0(%rsp)
movapd %xmm0, 0x2d0(%rsp)
movq %r15, 0x50(%rsp)
movq (%rcx), %rsi
movq %rcx, 0x78(%rsp)
movq 0x8(%rcx), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0xdfb6
movq %rbx, %rdi
leaq 0x1eedb(%rip), %rsi     # 0x42f8a
callq 0x77f0
movq 0x70(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rbx, %rdi
callq 0x7110
movq %r14, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x240eb
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x240f4
movupd (%rcx), %xmm0
movupd %xmm0, (%r14)
leaq 0x28(%rsp), %rsi
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x2a0(%rsp), %rdi
callq 0x271bc
leaq 0x130(%rsp), %rdi
movq %rax, %rsi
callq 0x27210
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0x24145
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7420
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x2415c
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x7420
movq 0x130(%rsp), %rax
cmpq %rax, 0x138(%rsp)
je 0x2434f
xorl %r15d, %r15d
movq %r12, %rbp
movq 0x110(%rsp), %r13
movq 0x118(%rsp), %r12
leaq (%r15,%r15,2), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, 0x28(%rsp)
cmpq %r12, %r13
je 0x24244
movq %rcx, 0x100(%rsp)
xorl %ebx, %ebx
leaq 0x28(%rsp), %r14
movq %r14, %rdi
movq %r13, %rsi
callq 0xf29c
movzbl %al, %eax
addq %rax, %rbx
addq $0x20, %r13
cmpq %r12, %r13
jne 0x241ad
testq %rbx, %rbx
movq %rbp, %r12
leaq 0x218(%rsp), %r14
movq 0x100(%rsp), %rbx
je 0x2431e
movq 0x130(%rsp), %rax
movq (%rax,%rbx,8), %rax
leaq 0x1b8(%rsp), %rcx
movq %rcx, 0x1a8(%rsp)
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0xdfb6
movq %r12, %rdi
callq 0xc76a
movsd %xmm0, 0x28(%rsp)
movq 0xc8(%rsp), %rsi
cmpq 0xd0(%rsp), %rsi
je 0x2424c
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0xc8(%rsp)
jmp 0x2425e
movq %rbp, %r12
jmp 0x2431e
leaq 0xc0(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0xf076
movq 0x1a8(%rsp), %rdi
leaq 0x1b8(%rsp), %rax
cmpq %rax, %rdi
je 0x24283
movq 0x1b8(%rsp), %rsi
incq %rsi
callq 0x7420
cmpl $0x0, 0x4c(%rsp)
jne 0x2431e
movq 0x130(%rsp), %rax
movq (%rax,%rbx,8), %rax
leaq 0x228(%rsp), %rbx
movq %rbx, 0x218(%rsp)
movq 0x40(%rax), %rsi
movq 0x48(%rax), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0xdfb6
movq %r14, %rdi
callq 0xc76a
movsd %xmm0, 0x28(%rsp)
movq 0x88(%rsp), %rsi
cmpq 0x90(%rsp), %rsi
je 0x242ef
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x88(%rsp)
jmp 0x24301
leaq 0x80(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0xf076
movq 0x218(%rsp), %rdi
cmpq %rbx, %rdi
je 0x2431e
movq 0x228(%rsp), %rsi
incq %rsi
callq 0x7420
incq %r15
movq 0x130(%rsp), %rax
movq 0x138(%rsp), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %rcx
cmpq %r15, %rcx
ja 0x24175
movq 0xc0(%rsp), %rcx
movq 0xc8(%rsp), %rax
cmpq %rax, %rcx
leaq 0x60(%rsp), %r15
je 0x243e2
leaq 0x8(%rcx), %rsi
cmpq %rax, %rsi
je 0x24390
movsd (%rcx), %xmm0
ucomisd (%rsi), %xmm0
movq %rsi, %rdx
ja 0x24382
movq %rcx, %rdx
addq $0x8, %rsi
movq %rdx, %rcx
cmpq %rax, %rsi
jne 0x24372
jmp 0x24393
movq %rcx, %rdx
movq 0xe8(%rsp), %rsi
cmpq 0xf0(%rsp), %rsi
je 0x243bb
movsd (%rdx), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0xe8(%rsp)
jmp 0x243c8
leaq 0xe0(%rsp), %rdi
callq 0xf2ce
movq 0xc0(%rsp), %rax
cmpq %rax, 0xc8(%rsp)
je 0x243e2
movq %rax, 0xc8(%rsp)
movq 0x80(%rsp), %rcx
movq 0x88(%rsp), %rax
cmpq %rax, %rcx
leaq 0x38(%rsp), %r14
je 0x24475
leaq 0x8(%rcx), %rsi
cmpq %rax, %rsi
je 0x24423
movsd (%rcx), %xmm0
ucomisd (%rsi), %xmm0
movq %rsi, %rdx
ja 0x24415
movq %rcx, %rdx
addq $0x8, %rsi
movq %rdx, %rcx
cmpq %rax, %rsi
jne 0x24405
jmp 0x24426
movq %rcx, %rdx
movq 0xa8(%rsp), %rsi
cmpq 0xb0(%rsp), %rsi
je 0x2444e
movsd (%rdx), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0xa8(%rsp)
jmp 0x2445b
leaq 0xa0(%rsp), %rdi
callq 0xf2ce
movq 0x80(%rsp), %rax
cmpq %rax, 0x88(%rsp)
je 0x24475
movq %rax, 0x88(%rsp)
leaq 0x2d0(%rsp), %rdi
callq 0x147c4
leaq 0x130(%rsp), %rdi
callq 0x147c4
movq 0x78(%rsp), %rcx
addq $0x20, %rcx
cmpq 0x178(%rsp), %rcx
leaq 0x50(%rsp), %rbx
jne 0x24061
jmp 0x2450e
jmp 0x244af
movq %rdx, %rbx
movq %rax, %rbp
jmp 0x244dc
movq %rdx, %rbx
movq %rax, %rbp
jmp 0x244f3
movq %rdx, %rbx
movq %rax, %rbp
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0x244dc
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7420
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x244f3
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x7420
cmpl $0x1, %ebx
jne 0x25092
movq %rbp, %rdi
callq 0x7170
callq 0x76a0
jmp 0x2415c
movabsq $0x7ff8000000000000, %rax # imm = 0x7FF8000000000000
movq %rax, 0x28(%rsp)
movq %rax, 0x50(%rsp)
movq 0xe0(%rsp), %rdi
movq 0xe8(%rsp), %rsi
cmpq %rsi, %rdi
movq 0xf8(%rsp), %rbx
je 0x24564
callq 0x2736d
movsd %xmm0, 0x28(%rsp)
movq 0xe0(%rsp), %rax
cmpq %rax, 0xe8(%rsp)
je 0x24564
movq %rax, 0xe8(%rsp)
movq 0xa0(%rsp), %rdi
movq 0xa8(%rsp), %rsi
cmpq %rsi, %rdi
je 0x2459e
callq 0x2736d
movsd %xmm0, 0x50(%rsp)
movq 0xa0(%rsp), %rax
cmpq %rax, 0xa8(%rsp)
je 0x2459e
movq %rax, 0xa8(%rsp)
movq (%rbx), %rdi
movq 0xd0(%rdi), %rsi
cmpq 0xd8(%rdi), %rsi
je 0x245c8
movsd 0x28(%rsp), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0xd0(%rdi)
jmp 0x245d9
addq $0xc8, %rdi
leaq 0x28(%rsp), %rdx
callq 0xf2ce
movq (%rbx), %rdi
movq 0xe8(%rdi), %rsi
cmpq 0xf0(%rdi), %rsi
je 0x24603
movsd 0x50(%rsp), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0xe8(%rdi)
jmp 0x24614
addq $0xe0, %rdi
leaq 0x50(%rsp), %rdx
callq 0xf2ce
movq (%rbx), %r13
movsd 0x50(%rsp), %xmm0
callq 0x894c
leaq 0x50(%rsp), %rbx
fld1
fsubp %st, %st(1)
fadd %st, %st(0)
fstpl 0x210(%rsp)
movsd 0x210(%rsp), %xmm0
movsd %xmm0, 0x130(%rsp)
movq 0x100(%r13), %rsi
cmpq 0x108(%r13), %rsi
je 0x24669
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x100(%r13)
fldz
jmp 0x24687
addq $0xf8, %r13
movq %r13, %rdi
leaq 0x130(%rsp), %rdx
callq 0xf076
leaq 0x50(%rsp), %rbx
fldz
fstp %st(0)
movq 0x70(%rsp), %rcx
addq $0x20, %rcx
movq (%rsp), %rax
movq %rcx, 0x70(%rsp)
cmpq 0x8(%rax), %rcx
jne 0x2404b
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x246c2
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x7420
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x246df
movq 0xb0(%rsp), %rsi
subq %rdi, %rsi
callq 0x7420
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
movq 0xf8(%rsp), %rbx
je 0x24704
movq 0xd0(%rsp), %rsi
subq %rdi, %rsi
callq 0x7420
movq 0xe0(%rsp), %rdi
testq %rdi, %rdi
je 0x24721
movq 0xf0(%rsp), %rsi
subq %rdi, %rsi
callq 0x7420
leaq 0x170(%rsp), %rdi
callq 0xd250
leaq 0x110(%rsp), %rdi
callq 0xd250
addq $0x8, %rbx
movq (%rsp), %rax
cmpq 0x20(%rax), %rbx
jne 0x23f94
movq 0x32844(%rip), %rdi     # 0x56f98
leaq 0x1e83c(%rip), %rsi     # 0x42f97
movl $0x1a, %edx
callq 0x74b0
leaq 0x318(%rsp), %rdi
movq (%rsp), %rsi
callq 0xda38
movq 0x3281b(%rip), %rsi     # 0x56f98
leaq 0x318(%rsp), %rdi
movl $0x9, %edx
movl $0x1, %ecx
callq 0xd96b
leaq 0x318(%rsp), %rdi
callq 0xd250
movq (%rsp), %rax
movq 0x18(%rax), %rbx
cmpq 0x20(%rax), %rbx
je 0x248a1
leaq 0x1e7d2(%rip), %r14     # 0x42f8c
movq 0x327d7(%rip), %r15     # 0x56f98
leaq 0x1e7e8(%rip), %r12     # 0x42fb0
leaq 0x360(%rsp), %r13
leaq 0x288(%rsp), %rbp
movq (%rbx), %rdi
addq $0x20, %rdi
movq %r14, %rsi
callq 0x70f0
testl %eax, %eax
je 0x2488f
movq (%rbx), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %r15, %rdi
callq 0x74b0
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x74b0
movq (%rbx), %rsi
subq $-0x80, %rsi
movq %r13, %rdi
callq 0xda38
movq %r13, %rdi
movq %r15, %rsi
movl $0x2c, %edx
xorl %ecx, %ecx
callq 0xd96b
movq %r13, %rdi
callq 0xd250
movl $0x1, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x74b0
movq (%rbx), %rsi
movl $0xc8, %eax
addq %rax, %rsi
movq %rbp, %rdi
callq 0xd4a2
movq %rbp, %rdi
movq %r15, %rsi
movl $0x9, %edx
movl $0x1, %ecx
callq 0xd59c
movq 0x288(%rsp), %rdi
testq %rdi, %rdi
je 0x2488f
movq 0x298(%rsp), %rsi
subq %rdi, %rsi
callq 0x7420
addq $0x8, %rbx
movq (%rsp), %rax
cmpq 0x20(%rax), %rbx
jne 0x247d8
cmpl $0x0, 0x4c(%rsp)
jne 0x24bd6
cmpb $0x1, 0x3325d(%rip)     # 0x57b10
jne 0x24a41
movq 0x326d8(%rip), %rdi     # 0x56f98
leaq 0x1bb73(%rip), %rsi     # 0x4043a
movl $0x1, %edx
callq 0x74b0
movq 0x326c0(%rip), %rdi     # 0x56f98
leaq 0x1e6d3(%rip), %rsi     # 0x42fb2
movl $0xc, %edx
callq 0x74b0
movq 0x326a8(%rip), %rdi     # 0x56f98
leaq 0x1e6a0(%rip), %rsi     # 0x42f97
movl $0x1a, %edx
callq 0x74b0
leaq 0x300(%rsp), %rdi
movq (%rsp), %rsi
callq 0xda38
movq 0x3267f(%rip), %rsi     # 0x56f98
leaq 0x300(%rsp), %rdi
movl $0x9, %edx
movl $0x1, %ecx
callq 0xd96b
leaq 0x300(%rsp), %rdi
callq 0xd250
movq (%rsp), %rax
movq 0x18(%rax), %rbp
cmpq 0x20(%rax), %rbp
je 0x24a41
leaq 0x1e636(%rip), %rbx     # 0x42f8c
movq 0x3263b(%rip), %r14     # 0x56f98
leaq 0x1e64c(%rip), %r15     # 0x42fb0
leaq 0x348(%rsp), %r12
leaq 0x270(%rsp), %r13
movq (%rbp), %rdi
addq $0x20, %rdi
movq %rbx, %rsi
callq 0x70f0
testl %eax, %eax
je 0x24a2f
movq (%rbp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %r14, %rdi
callq 0x74b0
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x74b0
movq (%rbp), %rsi
subq $-0x80, %rsi
movq %r12, %rdi
callq 0xda38
movq %r12, %rdi
movq %r14, %rsi
movl $0x2c, %edx
xorl %ecx, %ecx
callq 0xd96b
movq %r12, %rdi
callq 0xd250
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x74b0
movq (%rbp), %rsi
movl $0xe0, %eax
addq %rax, %rsi
movq %r13, %rdi
callq 0xd4a2
movq %r13, %rdi
movq %r14, %rsi
movl $0x9, %edx
movl $0x1, %ecx
callq 0xd59c
movq 0x270(%rsp), %rdi
testq %rdi, %rdi
je 0x24a2f
movq 0x280(%rsp), %rsi
subq %rdi, %rsi
callq 0x7420
addq $0x8, %rbp
movq (%rsp), %rax
cmpq 0x20(%rax), %rbp
jne 0x24974
cmpb $0x1, 0x330c9(%rip)     # 0x57b11
jne 0x24bd6
movq 0x32543(%rip), %rdi     # 0x56f98
leaq 0x1b9de(%rip), %rsi     # 0x4043a
movl $0x1, %edx
callq 0x74b0
movq 0x3252b(%rip), %rdi     # 0x56f98
leaq 0x1e54b(%rip), %rsi     # 0x42fbf
movl $0xc, %edx
callq 0x74b0
movq 0x32513(%rip), %rdi     # 0x56f98
leaq 0x1e50b(%rip), %rsi     # 0x42f97
movl $0x1a, %edx
callq 0x74b0
leaq 0x2e8(%rsp), %rdi
movq (%rsp), %rsi
callq 0xda38
movq 0x324ea(%rip), %rsi     # 0x56f98
leaq 0x2e8(%rsp), %rdi
movl $0x9, %edx
movl $0x1, %ecx
callq 0xd96b
leaq 0x2e8(%rsp), %rdi
callq 0xd250
movq (%rsp), %rax
movq 0x18(%rax), %rbp
cmpq 0x20(%rax), %rbp
je 0x24bd6
leaq 0x1e4a1(%rip), %rbx     # 0x42f8c
movq 0x324a6(%rip), %r14     # 0x56f98
leaq 0x1e4b7(%rip), %r15     # 0x42fb0
leaq 0x330(%rsp), %r12
leaq 0x258(%rsp), %r13
movq (%rbp), %rdi
addq $0x20, %rdi
movq %rbx, %rsi
callq 0x70f0
testl %eax, %eax
je 0x24bc4
movq (%rbp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %r14, %rdi
callq 0x74b0
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x74b0
movq (%rbp), %rsi
subq $-0x80, %rsi
movq %r12, %rdi
callq 0xda38
movq %r12, %rdi
movq %r14, %rsi
movl $0x2c, %edx
xorl %ecx, %ecx
callq 0xd96b
movq %r12, %rdi
callq 0xd250
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x74b0
movq (%rbp), %rsi
movl $0xf8, %eax
addq %rax, %rsi
movq %r13, %rdi
callq 0xd4a2
movq %r13, %rdi
movq %r14, %rsi
movl $0x9, %edx
movl $0x1, %ecx
callq 0xd59c
movq 0x258(%rsp), %rdi
testq %rdi, %rdi
je 0x24bc4
movq 0x268(%rsp), %rsi
subq %rdi, %rsi
callq 0x7420
addq $0x8, %rbp
movq (%rsp), %rax
cmpq 0x20(%rax), %rbp
jne 0x24b09
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x24bf2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7420
leaq 0x190(%rsp), %rdi
callq 0xd250
movq 0x150(%rsp), %rdi
leaq 0x160(%rsp), %rax
cmpq %rax, %rdi
je 0x24c24
movq 0x160(%rsp), %rsi
incq %rsi
callq 0x7420
leaq 0x2a0(%rsp), %rdi
callq 0x3531c
xorl %eax, %eax
addq $0x378, %rsp            # imm = 0x378
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x3239c(%rip), %rdi     # 0x56fe8
leaq 0x1be57(%rip), %rsi     # 0x40aaa
movl $0x1d, %edx
callq 0x74b0
movq 0x32e8c(%rip), %rsi     # 0x57af0
movq 0x32e8d(%rip), %rdx     # 0x57af8
movq 0x32376(%rip), %rdi     # 0x56fe8
callq 0x74b0
movq %rax, %rbx
leaq 0x1e2a1(%rip), %rsi     # 0x42f22
movl $0xc, %edx
movq %rax, %rdi
callq 0x74b0
movq %rbx, %rdi
movl (%rsp), %esi
callq 0x7710
movq %rax, %rbx
leaq 0x1e28c(%rip), %rsi     # 0x42f2f
movl $0x15, %edx
movq %rax, %rdi
callq 0x74b0
movq %rbx, %rdi
callq 0x71b0
jmp 0x24d99
movq 0x32324(%rip), %rdi     # 0x56fe8
leaq 0x1bddf(%rip), %rsi     # 0x40aaa
movl $0x1d, %edx
callq 0x74b0
movq 0x32e14(%rip), %rsi     # 0x57af0
movq 0x32e15(%rip), %rdx     # 0x57af8
movq 0x322fe(%rip), %rdi     # 0x56fe8
callq 0x74b0
movq %rax, %rbx
leaq 0x204a8(%rip), %rsi     # 0x451a1
movl $0x6, %edx
movq %rax, %rdi
callq 0x74b0
movq %rbx, %rdi
callq 0x71b0
movq 0x322d3(%rip), %rdi     # 0x56fe8
leaq 0x1e229(%rip), %rsi     # 0x42f45
movl $0x44, %edx
callq 0x74b0
movq 0x322bb(%rip), %rdi     # 0x56fe8
callq 0x71b0
jmp 0x24d99
movq 0x322ad(%rip), %rdi     # 0x56fe8
leaq 0x1beef(%rip), %rsi     # 0x40c31
callq 0x7400
leaq 0x32d82(%rip), %rsi     # 0x57ad0
jmp 0x24d6a
movq 0x32291(%rip), %rdi     # 0x56fe8
leaq 0x1bed3(%rip), %rsi     # 0x40c31
callq 0x7400
leaq 0x32d86(%rip), %rsi     # 0x57af0
movq %rax, %rdi
callq 0x73b0
leaq 0x1bb0f(%rip), %rsi     # 0x40888
movq %rax, %rdi
jmp 0x24d8c
movq 0x32263(%rip), %rdi     # 0x56fe8
leaq 0x1e0cc(%rip), %rsi     # 0x42e58
callq 0x7400
movq %rax, %rdi
callq 0x71b0
movl $0x1, %edi
callq 0x7510
jmp 0x25065
movq %rax, %rbp
leaq 0x2e8(%rsp), %rdi
jmp 0x25135
movq %rax, %rbp
leaq 0x300(%rsp), %rdi
jmp 0x25135
movq %rax, %rbp
leaq 0x318(%rsp), %rdi
jmp 0x25135
movq %rax, %rbp
movq 0x238(%rsp), %rdi
cmpq %rbx, %rdi
je 0x24dfd
movq 0x248(%rsp), %rsi
incq %rsi
callq 0x7420
jmp 0x24dfd
movq %rax, %rbp
movl $0x30, %esi
movq (%rsp), %rdi
jmp 0x24ed3
jmp 0x24e34
movq %rax, %rbp
movl $0x208, %esi            # imm = 0x208
movq %r15, %rdi
jmp 0x24e25
movq %rax, %rbp
movl $0x208, %esi            # imm = 0x208
movq %r13, %rdi
callq 0x7420
jmp 0x25195
jmp 0x24fc1
movq %rax, %rbp
jmp 0x25163
movq %rax, %rbp
movq 0x258(%rsp), %rdi
testq %rdi, %rdi
je 0x2513a
movq 0x268(%rsp), %rsi
jmp 0x24ed0
movq %rax, %rbp
leaq 0x330(%rsp), %rdi
jmp 0x25135
movq %rax, %rbp
movq 0x270(%rsp), %rdi
testq %rdi, %rdi
je 0x2513a
movq 0x280(%rsp), %rsi
jmp 0x24ed0
movq %rax, %rbp
leaq 0x348(%rsp), %rdi
jmp 0x25135
jmp 0x24fc1
movq %rax, %rbp
jmp 0x2512d
jmp 0x24fc1
jmp 0x24fc1
jmp 0x24fc1
movq %rax, %rbp
movq 0x288(%rsp), %rdi
testq %rdi, %rdi
je 0x2513a
movq 0x298(%rsp), %rsi
subq %rdi, %rsi
callq 0x7420
jmp 0x2513a
movq %rax, %rbp
leaq 0x360(%rsp), %rdi
jmp 0x25135
jmp 0x24f3a
jmp 0x24f5c
movq %rax, %rbp
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x25018
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7420
jmp 0x25018
jmp 0x24fc9
jmp 0x24fb8
jmp 0x25034
jmp 0x24f30
jmp 0x24f30
jmp 0x24f5c
jmp 0x24f30
movq %rax, %rbp
jmp 0x24fef
jmp 0x24f5c
movq %rax, %rbp
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x2500b
movq 0x18(%rsp), %rsi
jmp 0x25003
jmp 0x24f5c
movq %rax, %rbp
jmp 0x2500b
jmp 0x24fb8
movq %rax, %rbp
movq 0x1c8(%rsp), %rdi
leaq 0x1d8(%rsp), %rax
cmpq %rax, %rdi
je 0x25025
movq 0x1d8(%rsp), %rsi
jmp 0x24fae
jmp 0x24fb8
movq %rax, %rbp
movq 0x1e8(%rsp), %rdi
leaq 0x1f8(%rsp), %rax
cmpq %rax, %rdi
je 0x25025
movq 0x1f8(%rsp), %rsi
incq %rsi
callq 0x7420
jmp 0x25025
movq %rax, %rbp
jmp 0x25025
jmp 0x25034
jmp 0x25034
movq %rax, %rbp
jmp 0x2513a
movq %rax, %rbp
jmp 0x25018
jmp 0x24fd0
movq %rax, %rbp
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x24fef
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7420
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x2500b
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7420
leaq 0x170(%rsp), %rdi
callq 0xd250
leaq 0x110(%rsp), %rdi
callq 0xd250
leaq 0x50(%rsp), %rdi
callq 0xd250
jmp 0x25156
movq %rax, %rbp
jmp 0x25156
fstp %st(0)
jmp 0x25040
movq %rax, %rbp
jmp 0x250ac
jmp 0x25065
jmp 0x25065
jmp 0x25065
movq %rax, %rbp
movq 0x218(%rsp), %rdi
cmpq %rbx, %rdi
je 0x25092
movq 0x228(%rsp), %rsi
jmp 0x2508a
movq %rax, %rbp
jmp 0x25092
movq %rax, %rbp
movq 0x1a8(%rsp), %rdi
leaq 0x1b8(%rsp), %rax
cmpq %rax, %rdi
je 0x25092
movq 0x1b8(%rsp), %rsi
incq %rsi
callq 0x7420
leaq 0x2d0(%rsp), %rdi
callq 0x147c4
leaq 0x130(%rsp), %rdi
callq 0x147c4
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x250c9
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x7420
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x250e6
movq 0xb0(%rsp), %rsi
subq %rdi, %rsi
callq 0x7420
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x25103
movq 0xd0(%rsp), %rsi
subq %rdi, %rsi
callq 0x7420
movq 0xe0(%rsp), %rdi
testq %rdi, %rdi
je 0x25120
movq 0xf0(%rsp), %rsi
subq %rdi, %rsi
callq 0x7420
leaq 0x170(%rsp), %rdi
callq 0xd250
leaq 0x110(%rsp), %rdi
callq 0xd250
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x25156
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7420
leaq 0x190(%rsp), %rdi
callq 0xd250
leaq 0x160(%rsp), %rax
movq 0x150(%rsp), %rdi
cmpq %rax, %rdi
je 0x25188
movq 0x160(%rsp), %rsi
incq %rsi
callq 0x7420
leaq 0x2a0(%rsp), %rdi
callq 0x3531c
movq %rbp, %rdi
callq 0x7740