// File: schneebergerlab[P]DrLink/find_intersection.cpp
// Function: find_intersection(int, char**)
bool find_intersection(int argc, char* argv[])
{
    std::stringstream usage;
    usage.str("");
    if(argc < 7)
    {
        usage << endl;
        usage << "   Given two sets of CO predictions using parents, this function finds out the intersection." << endl;
        const char *buildString = __DATE__", " __TIME__;
        usage << "   (compiled on " << buildString << ")"                                               << endl << endl;
        usage << "   Usage: DrLink intersec pa-CO.txt pb-CO.txt pa-co-reads pb-co-reads outfolder "     << endl << endl;
        usage << "\twhere "                                                         << endl;
        usage << "\tpa-CO.txt:    CO prediction using parent a/Col as reference"    << endl;
        usage << "\tpb-CO.txt:    CO prediction using parent b/Ler as reference"    << endl;
        usage << "\tpa-co-reads:  CO-read path given  by recombis for parent a/Col" << endl;
        usage << "\tpb-co-reads:  CO-read path given  by recombis for parent b/Ler" << endl;        
        usage << "\toutfolder:    output folder"                                    << endl;
        cout << usage.str() << endl;
        return false;
    }
    double startT= clock();   
    string outfolder = (string)argv[6]+"_intersection";
    if(outfolder.size()==0)   
    outfolder = "enjo_intersection";
    // create an intermediate folder for collecting details about a CO-molecule
    DIR* dir = opendir(outfolder.c_str());
    if (dir)
    {
        /* Directory exists. */
        closedir(dir);
    }
    else if (ENOENT == errno)
    {
        /* Directory does not exist. */
        const int dir_err = mkdir(outfolder.c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH);
        if (dir_err == -1)
        {
            cout << "   Error: cannot create directory " << outfolder << endl;
            return false;
        }        
    }
    else ;
    // 1.read parent-referenced COs   
    string acofile     = argv[2];
    string bcofile     = argv[3];
    string acoreadpath = argv[4];
    string bcoreadpath = argv[5];
    multimap<string, BPINFO> aco; // <chr#barcode, BPINFO>
    if(!get_CO(acofile, &aco))
    {
       return false;
    }
    multimap<string, BPINFO> bco;
    if(!get_CO(bcofile, &bco))
    {
       return false;
    }    
    // 2. find common COs in both findings
    multimap<string, BPINFO>::iterator cbitr;
    multimap<string, BPINFO>::iterator cbitr_end;
    cbitr     = aco.begin();
    cbitr_end = aco.end();
    while(cbitr != cbitr_end)
    {
        string key   = (*cbitr).first;
        BPINFO tmpbp = (*cbitr).second;
        // get "a" reads: filename like: path/to/1_1132082_1145010_12_CGGCTAGTCGCCGTGA.txt
        vector<string> keyinfo = split_string(key, '#');
        std::stringstream acoreadfile;
        acoreadfile.str("");
        acoreadfile << acoreadpath  << "/" 
                    << keyinfo[0]   << "_" 
                    << tmpbp.leftp  << "_"
                    << tmpbp.rightp << "_"
                    << tmpbp.order  << "_"
                    << keyinfo[1]   << ".txt\0";
        map<string, int> aReads;
        if(!get_CO_reads(acoreadfile.str(), &aReads))
        {
            return false;
        }
        //
        std::pair <std::multimap<string, BPINFO>::iterator, std::multimap<string, BPINFO>::iterator> ret;
        ret = bco.equal_range(key);
        multimap<string, BPINFO>::iterator tmpitr; 
        for(tmpitr = ret.first; tmpitr != ret.second; tmpitr ++)
        {
            // get "b" reads
            string         key2     = (*tmpitr).first;
            BPINFO         tmpbp2   = (*tmpitr).second;
            vector<string> keyinfo2 = split_string(key2, '#');
            std::stringstream bcoreadfile;
            bcoreadfile.str("");
            bcoreadfile << bcoreadpath   << "/" 
                        << keyinfo2[0]   << "_" 
                        << tmpbp2.leftp  << "_"
                        << tmpbp2.rightp << "_"
                        << tmpbp2.order  << "_"
                        << keyinfo2[1]   << ".txt\0";
            map<string, int> bReads;
            if(!get_CO_reads(bcoreadfile.str(), &bReads))
            {
                return false;
            }
            // check if "a" reads match "b" reads
            map<string, int>::iterator ritr;
            map<string, int>::iterator ritr_end;
            ritr      = aReads.begin();
            ritr_end  = aReads.end();
            int found = 0;
            while(ritr != ritr_end)
            {
                if(bReads.find((*ritr).first) != bReads.end())
                {
                    found ++;
                }
                ritr ++;
            }
            if(found>=3)
            {
                //
                if( (*cbitr).second.ovline.size() > 0)
                {
                    (*cbitr).second.ovline += "\n";
                }
                (*cbitr).second.ovline += tmpbp2.bpline;
                //
                if( (*tmpitr).second.ovline.size() > 0)
                {
                    (*tmpitr).second.ovline += "\n";
                }
                (*tmpitr).second.ovline += tmpbp.bpline;
            }
        }
        cbitr ++;
    }    
    // 3. output files
    // collect "a/Col" CO predictions for sorting and overlapping
    multimap<string, multimap<unsigned long, BPINFO> > commonbpraw_acoord;
    // file with commonly found co in both predictions => both coordinates for checking.
    string ofilename2 = outfolder + "/ref_CL_common_bp.txt";
    ofstream ofp2;
    ofp2.open(ofilename2.c_str(), ios::out);
    if(!ofp2.is_open())
    {
        cout << "   Error: cannot open file " << ofilename2 << endl;
        return false;
    }  
    // file with co specific to a/Col
    string ofilename3 = outfolder + "/ref_C__specific_bp.txt";
    ofstream ofp3;
    ofp3.open(ofilename3.c_str(), ios::out);
    if(!ofp3.is_open())
    {
        cout << "   Error: cannot open file " << ofilename3 << endl;
        return false;
    }  
    // collecting
    cbitr     = aco.begin();
    cbitr_end = aco.end();
    while(cbitr != cbitr_end)
    {
        string key   = (*cbitr).first;
        BPINFO tmpbp = (*cbitr).second;
        if(tmpbp.ovline.size() > 0)
        {
            insert_raw_bp(&commonbpraw_acoord, 
                          tmpbp.chr, 
                          tmpbp.leftp, 
                          tmpbp.rightp, 
                          tmpbp.score,
                          tmpbp.order, 
                          tmpbp.bpline);            
            ofp2 << tmpbp.bpline   << "\tref.C\n";   // "a/Col"
            ofp2 << tmpbp.ovline   << "\tref.L\n\n"; // "b/Ler"
        }   
        else
        {
            ofp3 << tmpbp.bpline   << endl;
        }     
        cbitr ++;
    }
    // file with co specific to b/Ler
    string ofilename4 = outfolder + "/ref_L__specific_bp.txt";
    ofstream ofp4;
    ofp4.open(ofilename4.c_str(), ios::out);
    if(!ofp4.is_open())
    {
        cout << "   Error: cannot open file " << ofilename4 << endl;
        return false;
    } 
    cbitr     = bco.begin();
    cbitr_end = bco.end();
    while(cbitr != cbitr_end)
    {
        string key   = (*cbitr).first;
        BPINFO tmpbp = (*cbitr).second;
        if(tmpbp.ovline.size() <= 0)
        {
            ofp4 << tmpbp.bpline << endl;           
        } 
        cbitr ++;
    }        
    // close files
    ofp2.close();
    ofp3.close();
    ofp4.close();
    // raw non-overlapped bp - left-coordinate sorted raw break points
    string ofilename1 = outfolder + "/ref_C__common_bp_sorted.txt";
    ofstream ofp1;
    ofp1.open(ofilename1.c_str(), ios::out);
    if(!ofp1.is_open())
    {
        cout << "   Error: cannot open file " << ofilename1 << endl;
        return false;
    }    
    if(!output_co(commonbpraw_acoord, ofilename1))
    {
        return false;
    }
    // post-process predicated break points: final bp file
    string finalbpfile = outfolder +"/ref_C__common_bp_overlapped_final.txt";
    if(!postprocess_bpPrediction(commonbpraw_acoord, finalbpfile))
    {
        cout << "   Error: processing raw break points failed. " << endl;
        return false;
    }
    double finishT= clock();
    cout << "   Time consumed: " << (finishT-startT)/1000000 << " seconds" << endl << endl;    
    return true;
}

// Assembly:
subq $0x1848, %rsp           # imm = 0x1848
movl %edi, 0x1840(%rsp)
movq %rsi, 0x1838(%rsp)
leaq 0x16b0(%rsp), %rdi
callq 0x5320
leaq 0x168f(%rsp), %rdi
movq %rdi, 0x2a0(%rsp)
callq 0x57c0
movq 0x2a0(%rsp), %rdx
leaq 0x2fa9d(%rip), %rsi     # 0x6ab94
leaq 0x1690(%rsp), %rdi
callq 0x6880
jmp 0x3b106
leaq 0x16b0(%rsp), %rdi
leaq 0x1690(%rsp), %rsi
callq 0x5510
jmp 0x3b11d
leaq 0x1690(%rsp), %rdi
callq 0x58b8
leaq 0x168f(%rsp), %rdi
callq 0x54d0
cmpl $0x7, 0x1840(%rsp)
jge 0x3b4af
leaq 0x16c0(%rsp), %rdi
movq 0x49e5c(%rip), %rsi     # 0x84fb0
callq 0x54b0
jmp 0x3b15b
leaq 0x16c0(%rsp), %rdi
leaq 0x2eb85(%rip), %rsi     # 0x69cef
callq 0x5460
movq %rax, 0x298(%rsp)
jmp 0x3b179
movq 0x298(%rsp), %rdi
movq 0x49e28(%rip), %rsi     # 0x84fb0
callq 0x54b0
jmp 0x3b18f
leaq 0x2ebb6(%rip), %rax     # 0x69d4c
movq %rax, 0x1670(%rsp)
leaq 0x16c0(%rsp), %rdi
leaq 0x2ebb5(%rip), %rsi     # 0x69d62
callq 0x5460
movq %rax, 0x290(%rsp)
jmp 0x3b1bc
movq 0x290(%rsp), %rdi
movq 0x1670(%rsp), %rsi
callq 0x5460
movq %rax, 0x288(%rsp)
jmp 0x3b1db
movq 0x288(%rsp), %rdi
leaq 0x2f1e6(%rip), %rsi     # 0x6a3d0
callq 0x5460
movq %rax, 0x280(%rsp)
jmp 0x3b1f9
movq 0x280(%rsp), %rdi
movq 0x49da8(%rip), %rsi     # 0x84fb0
callq 0x54b0
movq %rax, 0x278(%rsp)
jmp 0x3b217
movq 0x278(%rsp), %rdi
movq 0x49d8a(%rip), %rsi     # 0x84fb0
callq 0x54b0
jmp 0x3b22d
leaq 0x16c0(%rsp), %rdi
leaq 0x2eb37(%rip), %rsi     # 0x69d73
callq 0x5460
movq %rax, 0x270(%rsp)
jmp 0x3b24b
movq 0x270(%rsp), %rdi
movq 0x49d56(%rip), %rsi     # 0x84fb0
callq 0x54b0
movq %rax, 0x268(%rsp)
jmp 0x3b269
movq 0x268(%rsp), %rdi
movq 0x49d38(%rip), %rsi     # 0x84fb0
callq 0x54b0
jmp 0x3b27f
leaq 0x16c0(%rsp), %rdi
leaq 0x2eb36(%rip), %rsi     # 0x69dc4
callq 0x5460
movq %rax, 0x260(%rsp)
jmp 0x3b29d
movq 0x260(%rsp), %rdi
movq 0x49d04(%rip), %rsi     # 0x84fb0
callq 0x54b0
jmp 0x3b2b3
leaq 0x16c0(%rsp), %rdi
leaq 0x2eb0a(%rip), %rsi     # 0x69dcc
callq 0x5460
movq %rax, 0x258(%rsp)
jmp 0x3b2d1
movq 0x258(%rsp), %rdi
movq 0x49cd0(%rip), %rsi     # 0x84fb0
callq 0x54b0
jmp 0x3b2e7
leaq 0x16c0(%rsp), %rdi
leaq 0x2eb13(%rip), %rsi     # 0x69e09
callq 0x5460
movq %rax, 0x250(%rsp)
jmp 0x3b305
movq 0x250(%rsp), %rdi
movq 0x49c9c(%rip), %rsi     # 0x84fb0
callq 0x54b0
jmp 0x3b31b
leaq 0x16c0(%rsp), %rdi
leaq 0x2eb1c(%rip), %rsi     # 0x69e46
callq 0x5460
movq %rax, 0x248(%rsp)
jmp 0x3b339
movq 0x248(%rsp), %rdi
movq 0x49c68(%rip), %rsi     # 0x84fb0
callq 0x54b0
jmp 0x3b34f
leaq 0x16c0(%rsp), %rdi
leaq 0x2eb28(%rip), %rsi     # 0x69e86
callq 0x5460
movq %rax, 0x240(%rsp)
jmp 0x3b36d
movq 0x240(%rsp), %rdi
movq 0x49c34(%rip), %rsi     # 0x84fb0
callq 0x54b0
jmp 0x3b383
leaq 0x16c0(%rsp), %rdi
leaq 0x2eb34(%rip), %rsi     # 0x69ec6
callq 0x5460
movq %rax, 0x238(%rsp)
jmp 0x3b3a1
movq 0x238(%rsp), %rdi
movq 0x49c00(%rip), %rsi     # 0x84fb0
callq 0x54b0
jmp 0x3b3b7
leaq 0x1650(%rsp), %rdi
leaq 0x16b0(%rsp), %rsi
callq 0x5440
jmp 0x3b3ce
movq 0x49bf3(%rip), %rdi     # 0x84fc8
leaq 0x1650(%rsp), %rsi
callq 0x53e0
movq %rax, 0x230(%rsp)
jmp 0x3b3ec
movq 0x230(%rsp), %rdi
movq 0x49bb5(%rip), %rsi     # 0x84fb0
callq 0x54b0
jmp 0x3b402
leaq 0x1650(%rsp), %rdi
callq 0x58b8
movb $0x0, 0x1847(%rsp)
movl $0x1, 0x164c(%rsp)
jmp 0x3d482
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3b45e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
leaq 0x1690(%rsp), %rdi
callq 0x58b8
leaq 0x168f(%rsp), %rdi
callq 0x54d0
jmp 0x3d4a0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3d4a0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
leaq 0x1650(%rsp), %rdi
callq 0x58b8
jmp 0x3d4a0
callq 0x52e0
cvtsi2sd %rax, %xmm0
movsd %xmm0, 0x1640(%rsp)
movq 0x1838(%rsp), %rax
movq 0x30(%rax), %rax
movq %rax, 0x220(%rsp)
leaq 0x15ff(%rsp), %rdi
movq %rdi, 0x228(%rsp)
callq 0x57c0
movq 0x220(%rsp), %rsi
movq 0x228(%rsp), %rdx
leaq 0x1600(%rsp), %rdi
callq 0x6880
jmp 0x3b50a
leaq 0x2e9d6(%rip), %rdx     # 0x69ee7
leaq 0x1620(%rsp), %rdi
leaq 0x1600(%rsp), %rsi
callq 0x8760
jmp 0x3b528
leaq 0x1600(%rsp), %rdi
callq 0x58b8
leaq 0x15ff(%rsp), %rdi
callq 0x54d0
leaq 0x1620(%rsp), %rdi
callq 0x5310
cmpq $0x0, %rax
jne 0x3b5cf
leaq 0x2e987(%rip), %rsi     # 0x69ee3
leaq 0x1620(%rsp), %rdi
callq 0x55d0
jmp 0x3b56b
jmp 0x3b5cf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3b5a4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
leaq 0x1600(%rsp), %rdi
callq 0x58b8
leaq 0x15ff(%rsp), %rdi
callq 0x54d0
jmp 0x3d4a0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3d473
leaq 0x1620(%rsp), %rdi
callq 0x51d0
movq %rax, %rdi
callq 0x5680
movq %rax, 0x218(%rsp)
jmp 0x3b5ee
movq 0x218(%rsp), %rax
movq %rax, 0x15f0(%rsp)
cmpq $0x0, 0x15f0(%rsp)
je 0x3b61d
movq 0x15f0(%rsp), %rdi
callq 0x5700
jmp 0x3b618
jmp 0x3b6cd
callq 0x5060
movq %rax, %rcx
movl $0x2, %eax
cmpl (%rcx), %eax
jne 0x3b6c9
leaq 0x1620(%rsp), %rdi
callq 0x51d0
movq %rax, %rdi
movl $0x1fd, %esi            # imm = 0x1FD
callq 0x5230
movl %eax, 0x15ec(%rsp)
cmpl $-0x1, 0x15ec(%rsp)
jne 0x3b6c7
movq 0x49964(%rip), %rdi     # 0x84fc8
leaq 0x2c560(%rip), %rsi     # 0x67bcb
callq 0x5460
movq %rax, 0x210(%rsp)
jmp 0x3b67a
movq 0x210(%rsp), %rdi
leaq 0x1620(%rsp), %rsi
callq 0x53e0
movq %rax, 0x208(%rsp)
jmp 0x3b699
movq 0x208(%rsp), %rdi
movq 0x49908(%rip), %rsi     # 0x84fb0
callq 0x54b0
jmp 0x3b6af
movb $0x0, 0x1847(%rsp)
movl $0x1, 0x164c(%rsp)
jmp 0x3d464
jmp 0x3b6cb
jmp 0x3b6cb
jmp 0x3b6cd
movq 0x1838(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x1f8(%rsp)
leaq 0x15c7(%rsp), %rdi
movq %rdi, 0x200(%rsp)
callq 0x57c0
movq 0x1f8(%rsp), %rsi
movq 0x200(%rsp), %rdx
leaq 0x15c8(%rsp), %rdi
callq 0x6880
jmp 0x3b715
leaq 0x15c7(%rsp), %rdi
callq 0x54d0
movq 0x1838(%rsp), %rax
movq 0x18(%rax), %rax
movq %rax, 0x1e8(%rsp)
leaq 0x159f(%rsp), %rdi
movq %rdi, 0x1f0(%rsp)
callq 0x57c0
movq 0x1e8(%rsp), %rsi
movq 0x1f0(%rsp), %rdx
leaq 0x15a0(%rsp), %rdi
callq 0x6880
jmp 0x3b76a
leaq 0x159f(%rsp), %rdi
callq 0x54d0
movq 0x1838(%rsp), %rax
movq 0x20(%rax), %rax
movq %rax, 0x1d8(%rsp)
leaq 0x1577(%rsp), %rdi
movq %rdi, 0x1e0(%rsp)
callq 0x57c0
movq 0x1d8(%rsp), %rsi
movq 0x1e0(%rsp), %rdx
leaq 0x1578(%rsp), %rdi
callq 0x6880
jmp 0x3b7bf
leaq 0x1577(%rsp), %rdi
callq 0x54d0
movq 0x1838(%rsp), %rax
movq 0x28(%rax), %rax
movq %rax, 0x1c8(%rsp)
leaq 0x154f(%rsp), %rdi
movq %rdi, 0x1d0(%rsp)
callq 0x57c0
movq 0x1c8(%rsp), %rsi
movq 0x1d0(%rsp), %rdx
leaq 0x1550(%rsp), %rdi
callq 0x6880
jmp 0x3b814
leaq 0x154f(%rsp), %rdi
callq 0x54d0
leaq 0x1518(%rsp), %rdi
callq 0x3df30
leaq 0x14f8(%rsp), %rdi
leaq 0x15c8(%rsp), %rsi
callq 0x51f0
jmp 0x3b845
leaq 0x14f8(%rsp), %rdi
leaq 0x1518(%rsp), %rsi
callq 0x3d4c0
movb %al, 0x1c7(%rsp)
jmp 0x3b863
movb 0x1c7(%rsp), %al
xorb $-0x1, %al
movb %al, 0x1c6(%rsp)
leaq 0x14f8(%rsp), %rdi
callq 0x58b8
movb 0x1c6(%rsp), %al
testb $0x1, %al
jne 0x3b890
jmp 0x3b97f
movb $0x0, 0x1847(%rsp)
movl $0x1, 0x164c(%rsp)
jmp 0x3d3de
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
leaq 0x15c7(%rsp), %rdi
callq 0x54d0
jmp 0x3d473
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
leaq 0x159f(%rsp), %rdi
callq 0x54d0
jmp 0x3d455
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
leaq 0x1577(%rsp), %rdi
callq 0x54d0
jmp 0x3d448
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
leaq 0x154f(%rsp), %rdi
callq 0x54d0
jmp 0x3d43b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3d421
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
leaq 0x14f8(%rsp), %rdi
callq 0x58b8
jmp 0x3d421
leaq 0x14c8(%rsp), %rdi
callq 0x3df30
leaq 0x14a8(%rsp), %rdi
leaq 0x15a0(%rsp), %rsi
callq 0x51f0
jmp 0x3b9a3
leaq 0x14a8(%rsp), %rdi
leaq 0x14c8(%rsp), %rsi
callq 0x3d4c0
movb %al, 0x1c5(%rsp)
jmp 0x3b9c1
movb 0x1c5(%rsp), %al
xorb $-0x1, %al
movb %al, 0x1c4(%rsp)
leaq 0x14a8(%rsp), %rdi
callq 0x58b8
movb 0x1c4(%rsp), %al
testb $0x1, %al
jne 0x3b9eb
jmp 0x3ba42
movb $0x0, 0x1847(%rsp)
movl $0x1, 0x164c(%rsp)
jmp 0x3d3c0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3d3cf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
leaq 0x14a8(%rsp), %rdi
callq 0x58b8
jmp 0x3d3cf
leaq 0x14a0(%rsp), %rdi
callq 0x3df40
leaq 0x1498(%rsp), %rdi
callq 0x3df40
leaq 0x1518(%rsp), %rdi
callq 0x3df60
movq %rax, 0x1490(%rsp)
movq 0x1490(%rsp), %rax
movq %rax, 0x14a0(%rsp)
leaq 0x1518(%rsp), %rdi
callq 0x3df90
movq %rax, 0x1488(%rsp)
movq 0x1488(%rsp), %rax
movq %rax, 0x1498(%rsp)
leaq 0x14a0(%rsp), %rdi
leaq 0x1498(%rsp), %rsi
callq 0x3dfc0
testb $0x1, %al
jne 0x3bac4
jmp 0x3c6be
leaq 0x14a0(%rsp), %rdi
callq 0x3dfe0
movq %rax, %rsi
leaq 0x1468(%rsp), %rdi
callq 0x51f0
jmp 0x3bae3
leaq 0x14a0(%rsp), %rdi
callq 0x3dfe0
movq %rax, %rsi
addq $0x20, %rsi
leaq 0x13c0(%rsp), %rdi
callq 0x31a10
jmp 0x3bb06
movb $0x23, 0x13a7(%rsp)
leaq 0x13a8(%rsp), %rdi
leaq 0x1468(%rsp), %rsi
leaq 0x13a7(%rsp), %rdx
callq 0x60790
jmp 0x3bb2d
leaq 0x1218(%rsp), %rdi
callq 0x5320
jmp 0x3bb3c
leaq 0x11f7(%rsp), %rdi
movq %rdi, 0x1b8(%rsp)
callq 0x57c0
movq 0x1b8(%rsp), %rdx
leaq 0x2f034(%rip), %rsi     # 0x6ab94
leaq 0x11f8(%rsp), %rdi
callq 0x6880
jmp 0x3bb6f
leaq 0x1218(%rsp), %rdi
leaq 0x11f8(%rsp), %rsi
callq 0x5510
jmp 0x3bb86
leaq 0x11f8(%rsp), %rdi
callq 0x58b8
leaq 0x11f7(%rsp), %rdi
callq 0x54d0
leaq 0x1228(%rsp), %rdi
leaq 0x1578(%rsp), %rsi
callq 0x53e0
movq %rax, 0x1b0(%rsp)
jmp 0x3bbbf
movq 0x1b0(%rsp), %rdi
leaq 0x2f216(%rip), %rsi     # 0x6ade4
callq 0x5460
movq %rax, 0x1a8(%rsp)
jmp 0x3bbdd
xorl %eax, %eax
movl %eax, %esi
leaq 0x13a8(%rsp), %rdi
callq 0x88f0
movq 0x1a8(%rsp), %rdi
movq %rax, %rsi
callq 0x53e0
movq %rax, 0x1a0(%rsp)
jmp 0x3bc08
movq 0x1a0(%rsp), %rdi
leaq 0x2be80(%rip), %rsi     # 0x67a97
callq 0x5460
movq %rax, 0x198(%rsp)
jmp 0x3bc26
movq 0x198(%rsp), %rdi
movq 0x13e0(%rsp), %rsi
callq 0x50f0
movq %rax, 0x190(%rsp)
jmp 0x3bc45
movq 0x190(%rsp), %rdi
leaq 0x2be43(%rip), %rsi     # 0x67a97
callq 0x5460
movq %rax, 0x188(%rsp)
jmp 0x3bc63
movq 0x188(%rsp), %rdi
movq 0x13e8(%rsp), %rsi
callq 0x50f0
movq %rax, 0x180(%rsp)
jmp 0x3bc82
movq 0x180(%rsp), %rdi
leaq 0x2be06(%rip), %rsi     # 0x67a97
callq 0x5460
movq %rax, 0x178(%rsp)
jmp 0x3bca0
movq 0x178(%rsp), %rdi
leaq 0x1408(%rsp), %rsi
callq 0x53e0
movq %rax, 0x170(%rsp)
jmp 0x3bcbf
movq 0x170(%rsp), %rdi
leaq 0x2bdc9(%rip), %rsi     # 0x67a97
callq 0x5460
movq %rax, 0x168(%rsp)
jmp 0x3bcdd
leaq 0x13a8(%rsp), %rdi
movl $0x1, %esi
callq 0x88f0
movq 0x168(%rsp), %rdi
movq %rax, %rsi
callq 0x53e0
movq %rax, 0x160(%rsp)
jmp 0x3bd09
movq 0x160(%rsp), %rdi
leaq 0x2e2d0(%rip), %rsi     # 0x69fe8
callq 0x5460
jmp 0x3bd1f
leaq 0x11c0(%rsp), %rdi
callq 0xfb90
leaq 0x11a0(%rsp), %rdi
leaq 0x1218(%rsp), %rsi
callq 0x5440
jmp 0x3bd43
leaq 0x11a0(%rsp), %rdi
leaq 0x11c0(%rsp), %rsi
callq 0x3dbc0
movb %al, 0x15f(%rsp)
jmp 0x3bd61
movb 0x15f(%rsp), %al
xorb $-0x1, %al
movb %al, 0x15e(%rsp)
leaq 0x11a0(%rsp), %rdi
callq 0x58b8
movb 0x15e(%rsp), %al
testb $0x1, %al
jne 0x3bd8e
jmp 0x3be92
movb $0x0, 0x1847(%rsp)
movl $0x1, 0x164c(%rsp)
jmp 0x3c621
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3c6ac
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3c69f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3c692
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3be28
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
leaq 0x11f8(%rsp), %rdi
callq 0x58b8
leaq 0x11f7(%rsp), %rdi
callq 0x54d0
jmp 0x3c685
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3c685
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3c678
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
leaq 0x11a0(%rsp), %rdi
callq 0x58b8
jmp 0x3c678
leaq 0x1190(%rsp), %rdi
callq 0x3e000
jmp 0x3bea1
leaq 0x14c8(%rsp), %rdi
leaq 0x1468(%rsp), %rsi
callq 0x3e030
movq %rdx, 0x148(%rsp)
movq %rax, 0x150(%rsp)
jmp 0x3bec8
movq 0x148(%rsp), %rax
movq 0x150(%rsp), %rcx
movq %rcx, 0x1180(%rsp)
movq %rax, 0x1188(%rsp)
leaq 0x1190(%rsp), %rdi
leaq 0x1180(%rsp), %rsi
callq 0x3e070
leaq 0x1178(%rsp), %rdi
callq 0x3df40
movq 0x1190(%rsp), %rax
movq %rax, 0x1178(%rsp)
leaq 0x1190(%rsp), %rsi
addq $0x8, %rsi
leaq 0x1178(%rsp), %rdi
callq 0x3dfc0
testb $0x1, %al
jne 0x3bf3c
jmp 0x3c5ff
leaq 0x1178(%rsp), %rdi
callq 0x3dfe0
movq %rax, %rsi
leaq 0x1158(%rsp), %rdi
callq 0x51f0
jmp 0x3bf5b
leaq 0x1178(%rsp), %rdi
callq 0x3dfe0
movq %rax, %rsi
addq $0x20, %rsi
leaq 0x10b0(%rsp), %rdi
callq 0x31a10
jmp 0x3bf7e
movb $0x23, 0x1097(%rsp)
leaq 0x1098(%rsp), %rdi
leaq 0x1158(%rsp), %rsi
leaq 0x1097(%rsp), %rdx
callq 0x60790
jmp 0x3bfa5
leaq 0xf08(%rsp), %rdi
callq 0x5320
jmp 0x3bfb4
leaq 0xee7(%rsp), %rdi
movq %rdi, 0x140(%rsp)
callq 0x57c0
movq 0x140(%rsp), %rdx
leaq 0x2ebbc(%rip), %rsi     # 0x6ab94
leaq 0xee8(%rsp), %rdi
callq 0x6880
jmp 0x3bfe7
leaq 0xf08(%rsp), %rdi
leaq 0xee8(%rsp), %rsi
callq 0x5510
jmp 0x3bffe
leaq 0xee8(%rsp), %rdi
callq 0x58b8
leaq 0xee7(%rsp), %rdi
callq 0x54d0
leaq 0xf18(%rsp), %rdi
leaq 0x1550(%rsp), %rsi
callq 0x53e0
movq %rax, 0x138(%rsp)
jmp 0x3c037
movq 0x138(%rsp), %rdi
leaq 0x2ed9e(%rip), %rsi     # 0x6ade4
callq 0x5460
movq %rax, 0x130(%rsp)
jmp 0x3c055
xorl %eax, %eax
movl %eax, %esi
leaq 0x1098(%rsp), %rdi
callq 0x88f0
movq 0x130(%rsp), %rdi
movq %rax, %rsi
callq 0x53e0
movq %rax, 0x128(%rsp)
jmp 0x3c080
movq 0x128(%rsp), %rdi
leaq 0x2ba08(%rip), %rsi     # 0x67a97
callq 0x5460
movq %rax, 0x120(%rsp)
jmp 0x3c09e
movq 0x120(%rsp), %rdi
movq 0x10d0(%rsp), %rsi
callq 0x50f0
movq %rax, 0x118(%rsp)
jmp 0x3c0bd
movq 0x118(%rsp), %rdi
leaq 0x2b9cb(%rip), %rsi     # 0x67a97
callq 0x5460
movq %rax, 0x110(%rsp)
jmp 0x3c0db
movq 0x110(%rsp), %rdi
movq 0x10d8(%rsp), %rsi
callq 0x50f0
movq %rax, 0x108(%rsp)
jmp 0x3c0fa
movq 0x108(%rsp), %rdi
leaq 0x2b98e(%rip), %rsi     # 0x67a97
callq 0x5460
movq %rax, 0x100(%rsp)
jmp 0x3c118
movq 0x100(%rsp), %rdi
leaq 0x10f8(%rsp), %rsi
callq 0x53e0
movq %rax, 0xf8(%rsp)
jmp 0x3c137
movq 0xf8(%rsp), %rdi
leaq 0x2b951(%rip), %rsi     # 0x67a97
callq 0x5460
movq %rax, 0xf0(%rsp)
jmp 0x3c155
leaq 0x1098(%rsp), %rdi
movl $0x1, %esi
callq 0x88f0
movq 0xf0(%rsp), %rdi
movq %rax, %rsi
callq 0x53e0
movq %rax, 0xe8(%rsp)
jmp 0x3c181
movq 0xe8(%rsp), %rdi
leaq 0x2de58(%rip), %rsi     # 0x69fe8
callq 0x5460
jmp 0x3c197
leaq 0xeb0(%rsp), %rdi
callq 0xfb90
leaq 0xe90(%rsp), %rdi
leaq 0xf08(%rsp), %rsi
callq 0x5440
jmp 0x3c1bb
leaq 0xe90(%rsp), %rdi
leaq 0xeb0(%rsp), %rsi
callq 0x3dbc0
movb %al, 0xe7(%rsp)
jmp 0x3c1d9
movb 0xe7(%rsp), %al
xorb $-0x1, %al
movb %al, 0xe6(%rsp)
leaq 0xe90(%rsp), %rdi
callq 0x58b8
movb 0xe6(%rsp), %al
testb $0x1, %al
jne 0x3c206
jmp 0x3c30a
movb $0x0, 0x1847(%rsp)
movl $0x1, 0x164c(%rsp)
jmp 0x3c54c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3c5f0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3c5e3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3c5d6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3c2a0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
leaq 0xee8(%rsp), %rdi
callq 0x58b8
leaq 0xee7(%rsp), %rdi
callq 0x54d0
jmp 0x3c5c9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3c5c9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3c5bc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
leaq 0xe90(%rsp), %rdi
callq 0x58b8
jmp 0x3c5bc
leaq 0xe88(%rsp), %rdi
callq 0x10490
leaq 0xe80(%rsp), %rdi
callq 0x10490
leaq 0x11c0(%rsp), %rdi
callq 0x108f0
movq %rax, 0xe78(%rsp)
movq 0xe78(%rsp), %rax
movq %rax, 0xe88(%rsp)
leaq 0x11c0(%rsp), %rdi
callq 0x10500
movq %rax, 0xe70(%rsp)
movq 0xe70(%rsp), %rax
movq %rax, 0xe80(%rsp)
movl $0x0, 0xe6c(%rsp)
leaq 0xe88(%rsp), %rdi
leaq 0xe80(%rsp), %rsi
callq 0x10920
testb $0x1, %al
jne 0x3c397
jmp 0x3c42b
leaq 0xe88(%rsp), %rdi
callq 0x10940
movq %rax, %rsi
leaq 0xeb0(%rsp), %rdi
callq 0x104b0
movq %rax, 0xd8(%rsp)
jmp 0x3c3be
movq 0xd8(%rsp), %rax
movq %rax, 0xe60(%rsp)
leaq 0xeb0(%rsp), %rdi
callq 0x10500
movq %rax, 0xe58(%rsp)
leaq 0xe60(%rsp), %rdi
leaq 0xe58(%rsp), %rsi
callq 0x10920
testb $0x1, %al
jne 0x3c3fe
jmp 0x3c40f
movl 0xe6c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xe6c(%rsp)
leaq 0xe88(%rsp), %rdi
xorl %esi, %esi
callq 0x10b50
movq %rax, 0xe50(%rsp)
jmp 0x3c379
cmpl $0x3, 0xe6c(%rsp)
jl 0x3c541
leaq 0x14a0(%rsp), %rdi
callq 0x3dfe0
movq %rax, %rdi
addq $0x20, %rdi
addq $0x88, %rdi
callq 0x5310
cmpq $0x0, %rax
jbe 0x3c486
leaq 0x14a0(%rsp), %rdi
callq 0x3dfe0
movq %rax, %rdi
addq $0xa8, %rdi
leaq 0x2dab5(%rip), %rsi     # 0x69f32
callq 0x5420
jmp 0x3c484
jmp 0x3c486
leaq 0x1118(%rsp), %rax
movq %rax, 0xd0(%rsp)
leaq 0x14a0(%rsp), %rdi
callq 0x3dfe0
movq 0xd0(%rsp), %rsi
movq %rax, %rdi
addq $0xa8, %rdi
callq 0x5590
jmp 0x3c4bc
leaq 0x1178(%rsp), %rdi
callq 0x3dfe0
movq %rax, %rdi
addq $0x20, %rdi
addq $0x88, %rdi
callq 0x5310
cmpq $0x0, %rax
jbe 0x3c509
leaq 0x1178(%rsp), %rdi
callq 0x3dfe0
movq %rax, %rdi
addq $0xa8, %rdi
leaq 0x2da32(%rip), %rsi     # 0x69f32
callq 0x5420
jmp 0x3c507
jmp 0x3c509
leaq 0x1428(%rsp), %rax
movq %rax, 0xc8(%rsp)
leaq 0x1178(%rsp), %rdi
callq 0x3dfe0
movq 0xc8(%rsp), %rsi
movq %rax, %rdi
addq $0xa8, %rdi
callq 0x5590
jmp 0x3c53f
jmp 0x3c541
movl $0x0, 0x164c(%rsp)
leaq 0xeb0(%rsp), %rdi
callq 0xfe20
leaq 0xf08(%rsp), %rdi
callq 0x5350
leaq 0x1098(%rsp), %rdi
callq 0x8910
leaq 0x10b0(%rsp), %rdi
callq 0x31c80
leaq 0x1158(%rsp), %rdi
callq 0x58b8
movl 0x164c(%rsp), %eax
testl %eax, %eax
jne 0x3c621
jmp 0x3c59e
jmp 0x3c5a0
leaq 0x1178(%rsp), %rdi
xorl %esi, %esi
callq 0x3e0a0
movq %rax, 0xe48(%rsp)
jmp 0x3bf1a
leaq 0xeb0(%rsp), %rdi
callq 0xfe20
leaq 0xf08(%rsp), %rdi
callq 0x5350
leaq 0x1098(%rsp), %rdi
callq 0x8910
leaq 0x10b0(%rsp), %rdi
callq 0x31c80
leaq 0x1158(%rsp), %rdi
callq 0x58b8
jmp 0x3c678
leaq 0x14a0(%rsp), %rdi
xorl %esi, %esi
callq 0x3e0a0
movq %rax, 0xe40(%rsp)
movl $0x0, 0x164c(%rsp)
leaq 0x11c0(%rsp), %rdi
callq 0xfe20
leaq 0x1218(%rsp), %rdi
callq 0x5350
leaq 0x13a8(%rsp), %rdi
callq 0x8910
leaq 0x13c0(%rsp), %rdi
callq 0x31c80
leaq 0x1468(%rsp), %rdi
callq 0x58b8
movl 0x164c(%rsp), %eax
testl %eax, %eax
jne 0x3d3c0
jmp 0x3c673
jmp 0x3baa6
leaq 0x11c0(%rsp), %rdi
callq 0xfe20
leaq 0x1218(%rsp), %rdi
callq 0x5350
leaq 0x13a8(%rsp), %rdi
callq 0x8910
leaq 0x13c0(%rsp), %rdi
callq 0x31c80
leaq 0x1468(%rsp), %rdi
callq 0x58b8
jmp 0x3d3cf
leaq 0xe10(%rsp), %rdi
callq 0x2cec0
leaq 0x2d823(%rip), %rdx     # 0x69ef5
leaq 0xdf0(%rsp), %rdi
leaq 0x1620(%rsp), %rsi
callq 0xfae0
jmp 0x3c6e9
leaq 0xbf0(%rsp), %rdi
callq 0x5770
jmp 0x3c6f8
leaq 0xdf0(%rsp), %rdi
callq 0x51d0
movq %rax, %rsi
leaq 0xbf0(%rsp), %rdi
movl $0x10, %edx
callq 0x5070
jmp 0x3c71c
leaq 0xbf0(%rsp), %rdi
callq 0x5370
movb %al, 0xc7(%rsp)
jmp 0x3c732
movb 0xc7(%rsp), %al
testb $0x1, %al
jne 0x3c7f8
jmp 0x3c743
movq 0x4887e(%rip), %rdi     # 0x84fc8
leaq 0x2a405(%rip), %rsi     # 0x66b56
callq 0x5460
movq %rax, 0xb8(%rsp)
jmp 0x3c760
movq 0xb8(%rsp), %rdi
leaq 0xdf0(%rsp), %rsi
callq 0x53e0
movq %rax, 0xb0(%rsp)
jmp 0x3c77f
movq 0xb0(%rsp), %rdi
movq 0x48822(%rip), %rsi     # 0x84fb0
callq 0x54b0
jmp 0x3c795
movb $0x0, 0x1847(%rsp)
movl $0x1, 0x164c(%rsp)
jmp 0x3d36e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3d3b1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3d3a4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3d397
leaq 0x2d70c(%rip), %rdx     # 0x69f0b
leaq 0xbd0(%rsp), %rdi
leaq 0x1620(%rsp), %rsi
callq 0xfae0
jmp 0x3c816
leaq 0x9d0(%rsp), %rdi
callq 0x5770
jmp 0x3c825
leaq 0xbd0(%rsp), %rdi
callq 0x51d0
movq %rax, %rsi
leaq 0x9d0(%rsp), %rdi
movl $0x10, %edx
callq 0x5070
jmp 0x3c849
leaq 0x9d0(%rsp), %rdi
callq 0x5370
movb %al, 0xaf(%rsp)
jmp 0x3c85f
movb 0xaf(%rsp), %al
testb $0x1, %al
jne 0x3c90c
jmp 0x3c870
movq 0x48751(%rip), %rdi     # 0x84fc8
leaq 0x2a2d8(%rip), %rsi     # 0x66b56
callq 0x5460
movq %rax, 0xa0(%rsp)
jmp 0x3c88d
movq 0xa0(%rsp), %rdi
leaq 0xbd0(%rsp), %rsi
callq 0x53e0
movq %rax, 0x98(%rsp)
jmp 0x3c8ac
movq 0x98(%rsp), %rdi
movq 0x486f5(%rip), %rsi     # 0x84fb0
callq 0x54b0
jmp 0x3c8c2
movb $0x0, 0x1847(%rsp)
movl $0x1, 0x164c(%rsp)
jmp 0x3d336
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3d35f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3d352
leaq 0x1518(%rsp), %rdi
callq 0x3df60
movq %rax, 0x9c8(%rsp)
movq 0x9c8(%rsp), %rax
movq %rax, 0x14a0(%rsp)
leaq 0x1518(%rsp), %rdi
callq 0x3df90
movq %rax, 0x9c0(%rsp)
movq 0x9c0(%rsp), %rax
movq %rax, 0x1498(%rsp)
leaq 0x14a0(%rsp), %rdi
leaq 0x1498(%rsp), %rsi
callq 0x3dfc0
testb $0x1, %al
jne 0x3c974
jmp 0x3cc36
leaq 0x14a0(%rsp), %rdi
callq 0x3dfe0
movq %rax, %rsi
leaq 0x9a0(%rsp), %rdi
callq 0x51f0
jmp 0x3c993
leaq 0x14a0(%rsp), %rdi
callq 0x3dfe0
movq %rax, %rsi
addq $0x20, %rsi
leaq 0x8f8(%rsp), %rdi
callq 0x31a10
jmp 0x3c9b6
leaq 0x8f8(%rsp), %rdi
addq $0x88, %rdi
callq 0x5310
cmpq $0x0, %rax
jbe 0x3cbb0
leaq 0x8d8(%rsp), %rdi
leaq 0x8f8(%rsp), %rsi
callq 0x51f0
jmp 0x3c9eb
movq 0x918(%rsp), %rax
movq %rax, 0x80(%rsp)
movq 0x920(%rsp), %rax
movq %rax, 0x88(%rsp)
movsd 0x938(%rsp), %xmm0
movsd %xmm0, 0x90(%rsp)
leaq 0x940(%rsp), %rsi
leaq 0x8b8(%rsp), %rdi
callq 0x51f0
jmp 0x3ca34
leaq 0x960(%rsp), %rsi
leaq 0x898(%rsp), %rdi
callq 0x51f0
jmp 0x3ca4b
movsd 0x90(%rsp), %xmm0
movq 0x88(%rsp), %rcx
movq 0x80(%rsp), %rdx
leaq 0xe10(%rsp), %rdi
leaq 0x8d8(%rsp), %rsi
leaq 0x8b8(%rsp), %r8
leaq 0x898(%rsp), %r9
callq 0x61260
jmp 0x3ca8b
leaq 0x898(%rsp), %rdi
callq 0x58b8
leaq 0x8b8(%rsp), %rdi
callq 0x58b8
leaq 0x8d8(%rsp), %rdi
callq 0x58b8
leaq 0x960(%rsp), %rsi
leaq 0xbf0(%rsp), %rdi
callq 0x53e0
movq %rax, 0x78(%rsp)
jmp 0x3cace
movq 0x78(%rsp), %rdi
leaq 0x2d449(%rip), %rsi     # 0x69f23
callq 0x5460
jmp 0x3cae1
leaq 0x980(%rsp), %rsi
leaq 0xbf0(%rsp), %rdi
callq 0x53e0
movq %rax, 0x70(%rsp)
jmp 0x3cafd
movq 0x70(%rsp), %rdi
leaq 0x2d422(%rip), %rsi     # 0x69f2b
callq 0x5460
jmp 0x3cb10
jmp 0x3cbe1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3cc24
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3cc17
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3cba1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3cb94
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
leaq 0x898(%rsp), %rdi
callq 0x58b8
leaq 0x8b8(%rsp), %rdi
callq 0x58b8
leaq 0x8d8(%rsp), %rdi
callq 0x58b8
jmp 0x3cc17
leaq 0x960(%rsp), %rsi
leaq 0x9d0(%rsp), %rdi
callq 0x53e0
movq %rax, 0x68(%rsp)
jmp 0x3cbcc
movq 0x68(%rsp), %rdi
movq 0x483d8(%rip), %rsi     # 0x84fb0
callq 0x54b0
jmp 0x3cbdf
jmp 0x3cbe1
leaq 0x14a0(%rsp), %rdi
xorl %esi, %esi
callq 0x3e0a0
movq %rax, 0x890(%rsp)
leaq 0x8f8(%rsp), %rdi
callq 0x31c80
leaq 0x9a0(%rsp), %rdi
callq 0x58b8
jmp 0x3c956
leaq 0x8f8(%rsp), %rdi
callq 0x31c80
leaq 0x9a0(%rsp), %rdi
callq 0x58b8
jmp 0x3d352
leaq 0x2d2f7(%rip), %rdx     # 0x69f34
leaq 0x870(%rsp), %rdi
leaq 0x1620(%rsp), %rsi
callq 0xfae0
jmp 0x3cc54
leaq 0x670(%rsp), %rdi
callq 0x5770
jmp 0x3cc63
leaq 0x870(%rsp), %rdi
callq 0x51d0
movq %rax, %rsi
leaq 0x670(%rsp), %rdi
movl $0x10, %edx
callq 0x5070
jmp 0x3cc87
leaq 0x670(%rsp), %rdi
callq 0x5370
movb %al, 0x67(%rsp)
jmp 0x3cc9a
movb 0x67(%rsp), %al
testb $0x1, %al
jne 0x3cd38
jmp 0x3cca8
movq 0x48319(%rip), %rdi     # 0x84fc8
leaq 0x29ea0(%rip), %rsi     # 0x66b56
callq 0x5460
movq %rax, 0x58(%rsp)
jmp 0x3ccc2
movq 0x58(%rsp), %rdi
leaq 0x870(%rsp), %rsi
callq 0x53e0
movq %rax, 0x50(%rsp)
jmp 0x3ccdb
movq 0x50(%rsp), %rdi
movq 0x482c9(%rip), %rsi     # 0x84fb0
callq 0x54b0
jmp 0x3ccee
movb $0x0, 0x1847(%rsp)
movl $0x1, 0x164c(%rsp)
jmp 0x3d2fe
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3d327
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3d31a
leaq 0x14c8(%rsp), %rdi
callq 0x3df60
movq %rax, 0x668(%rsp)
movq 0x668(%rsp), %rax
movq %rax, 0x14a0(%rsp)
leaq 0x14c8(%rsp), %rdi
callq 0x3df90
movq %rax, 0x660(%rsp)
movq 0x660(%rsp), %rax
movq %rax, 0x1498(%rsp)
leaq 0x14a0(%rsp), %rdi
leaq 0x1498(%rsp), %rsi
callq 0x3dfc0
testb $0x1, %al
jne 0x3cda0
jmp 0x3ceae
leaq 0x14a0(%rsp), %rdi
callq 0x3dfe0
movq %rax, %rsi
leaq 0x640(%rsp), %rdi
callq 0x51f0
jmp 0x3cdbf
leaq 0x14a0(%rsp), %rdi
callq 0x3dfe0
movq %rax, %rsi
addq $0x20, %rsi
leaq 0x598(%rsp), %rdi
callq 0x31a10
jmp 0x3cde2
leaq 0x598(%rsp), %rdi
addq $0x88, %rdi
callq 0x5310
cmpq $0x0, %rax
ja 0x3ce66
leaq 0x600(%rsp), %rsi
leaq 0x670(%rsp), %rdi
callq 0x53e0
movq %rax, 0x48(%rsp)
jmp 0x3ce18
movq 0x48(%rsp), %rdi
movq 0x4818c(%rip), %rsi     # 0x84fb0
callq 0x54b0
jmp 0x3ce2b
jmp 0x3ce66
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3ce9c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
leaq 0x598(%rsp), %rdi
callq 0x31c80
jmp 0x3ce9c
leaq 0x14a0(%rsp), %rdi
xorl %esi, %esi
callq 0x3e0a0
movq %rax, 0x590(%rsp)
leaq 0x598(%rsp), %rdi
callq 0x31c80
leaq 0x640(%rsp), %rdi
callq 0x58b8
jmp 0x3cd82
leaq 0x640(%rsp), %rdi
callq 0x58b8
jmp 0x3d31a
leaq 0xbf0(%rsp), %rdi
callq 0x5610
jmp 0x3cebd
leaq 0x9d0(%rsp), %rdi
callq 0x5610
jmp 0x3cecc
leaq 0x670(%rsp), %rdi
callq 0x5610
jmp 0x3cedb
leaq 0x2d06a(%rip), %rdx     # 0x69f4c
leaq 0x570(%rsp), %rdi
leaq 0x1620(%rsp), %rsi
callq 0xfae0
jmp 0x3cef9
leaq 0x370(%rsp), %rdi
callq 0x5770
jmp 0x3cf08
leaq 0x570(%rsp), %rdi
callq 0x51d0
movq %rax, %rsi
leaq 0x370(%rsp), %rdi
movl $0x10, %edx
callq 0x5070
jmp 0x3cf2c
leaq 0x370(%rsp), %rdi
callq 0x5370
movb %al, 0x47(%rsp)
jmp 0x3cf3f
movb 0x47(%rsp), %al
testb $0x1, %al
jne 0x3cfdd
jmp 0x3cf4d
movq 0x48074(%rip), %rdi     # 0x84fc8
leaq 0x29bfb(%rip), %rsi     # 0x66b56
callq 0x5460
movq %rax, 0x38(%rsp)
jmp 0x3cf67
movq 0x38(%rsp), %rdi
leaq 0x570(%rsp), %rsi
callq 0x53e0
movq %rax, 0x30(%rsp)
jmp 0x3cf80
movq 0x30(%rsp), %rdi
movq 0x48024(%rip), %rsi     # 0x84fb0
callq 0x54b0
jmp 0x3cf93
movb $0x0, 0x1847(%rsp)
movl $0x1, 0x164c(%rsp)
jmp 0x3d2c6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3d2ef
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3d2e2
leaq 0x340(%rsp), %rdi
leaq 0xe10(%rsp), %rsi
callq 0x2dde0
jmp 0x3cff4
leaq 0x320(%rsp), %rdi
leaq 0x570(%rsp), %rsi
callq 0x51f0
jmp 0x3d00b
leaq 0x340(%rsp), %rdi
leaq 0x320(%rsp), %rsi
callq 0x646d0
movb %al, 0x2f(%rsp)
jmp 0x3d026
movb 0x2f(%rsp), %al
xorb $-0x1, %al
movb %al, 0x2e(%rsp)
leaq 0x320(%rsp), %rdi
callq 0x58b8
leaq 0x340(%rsp), %rdi
callq 0x2de10
movb 0x2e(%rsp), %al
testb $0x1, %al
jne 0x3d054
jmp 0x3d0b5
movb $0x0, 0x1847(%rsp)
movl $0x1, 0x164c(%rsp)
jmp 0x3d2c6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3d0a3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
leaq 0x320(%rsp), %rdi
callq 0x58b8
leaq 0x340(%rsp), %rdi
callq 0x2de10
jmp 0x3d2e2
leaq 0x2cead(%rip), %rdx     # 0x69f69
leaq 0x300(%rsp), %rdi
leaq 0x1620(%rsp), %rsi
callq 0xfae0
jmp 0x3d0d3
leaq 0x2d0(%rsp), %rdi
leaq 0xe10(%rsp), %rsi
callq 0x2dde0
jmp 0x3d0ea
leaq 0x2b0(%rsp), %rdi
leaq 0x300(%rsp), %rsi
callq 0x51f0
jmp 0x3d101
leaq 0x2d0(%rsp), %rdi
leaq 0x2b0(%rsp), %rsi
callq 0x624c0
movb %al, 0x2d(%rsp)
jmp 0x3d11c
movb 0x2d(%rsp), %al
xorb $-0x1, %al
movb %al, 0x2c(%rsp)
leaq 0x2b0(%rsp), %rdi
callq 0x58b8
leaq 0x2d0(%rsp), %rdi
callq 0x2de10
movb 0x2c(%rsp), %al
testb $0x1, %al
jne 0x3d14d
jmp 0x3d1f4
movq 0x47e74(%rip), %rdi     # 0x84fc8
leaq 0x2b45e(%rip), %rsi     # 0x685b9
callq 0x5460
movq %rax, 0x20(%rsp)
jmp 0x3d167
movq 0x20(%rsp), %rdi
movq 0x47e3d(%rip), %rsi     # 0x84fb0
callq 0x54b0
jmp 0x3d17a
movb $0x0, 0x1847(%rsp)
movl $0x1, 0x164c(%rsp)
jmp 0x3d2a8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3d2b7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
jmp 0x3d1e2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1680(%rsp)
movl %eax, 0x167c(%rsp)
leaq 0x2b0(%rsp), %rdi
callq 0x58b8
leaq 0x2d0(%rsp), %rdi
callq 0x2de10
jmp 0x3d2b7
callq 0x52e0
cvtsi2sd %rax, %xmm0
movsd %xmm0, 0x2a8(%rsp)
movq 0x47dba(%rip), %rdi     # 0x84fc8
leaq 0x29130(%rip), %rsi     # 0x66345
callq 0x5460
movq %rax, 0x18(%rsp)
jmp 0x3d221
movq 0x18(%rsp), %rdi
movsd 0x2a8(%rsp), %xmm0
movsd 0x1640(%rsp), %xmm1
subsd %xmm1, %xmm0
movsd 0x28dc4(%rip), %xmm1    # 0x66008
divsd %xmm1, %xmm0
callq 0x5830
movq %rax, 0x10(%rsp)
jmp 0x3d254
movq 0x10(%rsp), %rdi
leaq 0x290f8(%rip), %rsi     # 0x66358
callq 0x5460
movq %rax, 0x8(%rsp)
jmp 0x3d26c
movq 0x8(%rsp), %rdi
movq 0x47d38(%rip), %rsi     # 0x84fb0
callq 0x54b0
movq %rax, (%rsp)
jmp 0x3d283
movq (%rsp), %rdi
movq 0x47d22(%rip), %rsi     # 0x84fb0
callq 0x54b0
jmp 0x3d295
movb $0x1, 0x1847(%rsp)
movl $0x1, 0x164c(%rsp)
leaq 0x300(%rsp), %rdi
callq 0x58b8
jmp 0x3d2c6
leaq 0x300(%rsp), %rdi
callq 0x58b8
jmp 0x3d2e2
leaq 0x370(%rsp), %rdi
callq 0x5670
leaq 0x570(%rsp), %rdi
callq 0x58b8
jmp 0x3d2fe
leaq 0x370(%rsp), %rdi
callq 0x5670
leaq 0x570(%rsp), %rdi
callq 0x58b8
jmp 0x3d31a
leaq 0x670(%rsp), %rdi
callq 0x5670
leaq 0x870(%rsp), %rdi
callq 0x58b8
jmp 0x3d336
leaq 0x670(%rsp), %rdi
callq 0x5670
leaq 0x870(%rsp), %rdi
callq 0x58b8
jmp 0x3d352
leaq 0x9d0(%rsp), %rdi
callq 0x5670
leaq 0xbd0(%rsp), %rdi
callq 0x58b8
jmp 0x3d36e
leaq 0x9d0(%rsp), %rdi
callq 0x5670
leaq 0xbd0(%rsp), %rdi
callq 0x58b8
jmp 0x3d397
leaq 0xbf0(%rsp), %rdi
callq 0x5670
leaq 0xdf0(%rsp), %rdi
callq 0x58b8
leaq 0xe10(%rsp), %rdi
callq 0x2de10
jmp 0x3d3c0
leaq 0xbf0(%rsp), %rdi
callq 0x5670
leaq 0xdf0(%rsp), %rdi
callq 0x58b8
leaq 0xe10(%rsp), %rdi
callq 0x2de10
jmp 0x3d3cf
leaq 0x14c8(%rsp), %rdi
callq 0x3e0e0
jmp 0x3d3de
leaq 0x14c8(%rsp), %rdi
callq 0x3e0e0
jmp 0x3d421
leaq 0x1518(%rsp), %rdi
callq 0x3e0e0
leaq 0x1550(%rsp), %rdi
callq 0x58b8
leaq 0x1578(%rsp), %rdi
callq 0x58b8
leaq 0x15a0(%rsp), %rdi
callq 0x58b8
leaq 0x15c8(%rsp), %rdi
callq 0x58b8
jmp 0x3d464
leaq 0x1518(%rsp), %rdi
callq 0x3e0e0
leaq 0x1550(%rsp), %rdi
callq 0x58b8
leaq 0x1578(%rsp), %rdi
callq 0x58b8
leaq 0x15a0(%rsp), %rdi
callq 0x58b8
leaq 0x15c8(%rsp), %rdi
callq 0x58b8
jmp 0x3d473
leaq 0x1620(%rsp), %rdi
callq 0x58b8
jmp 0x3d482
leaq 0x1620(%rsp), %rdi
callq 0x58b8
jmp 0x3d4a0
leaq 0x16b0(%rsp), %rdi
callq 0x5350
movb 0x1847(%rsp), %al
andb $0x1, %al
addq $0x1848, %rsp           # imm = 0x1848
retq
leaq 0x16b0(%rsp), %rdi
callq 0x5350
movq 0x1680(%rsp), %rdi
callq 0x57b0
nopw (%rax,%rax)