// File: /workspace/github_cpp_makefile_star2_O3/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:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd28, %rsp            # imm = 0xD28
movq %rsi, %r15
movl %edi, %ebp
leaq 0xba0(%rsp), %rdi
callq 0x4240
leaq 0x7b0(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x1bf07(%rip), %rdx     # 0x3eb0a
leaq 0x7a0(%rsp), %rdi
movq %rdx, %rsi
callq 0x5384
leaq 0xbb8(%rsp), %rbx
leaq 0x7a0(%rsp), %rsi
movq %rbx, %rdi
callq 0x4490
movq 0x7a0(%rsp), %rdi
cmpq %r12, %rdi
je 0x22c48
movq 0x7b0(%rsp), %rsi
incq %rsi
callq 0x4340
cmpl $0x6, %ebp
jg 0x22fb6
leaq 0xbb0(%rsp), %r14
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
movq %r14, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
leaq 0x1afd1(%rip), %rsi     # 0x3dc58
movl $0x5c, %edx
movq %r14, %rdi
callq 0x43a0
movq 0xbb0(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
movq %r14, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
leaq 0x1b004(%rip), %rsi     # 0x3dccb
movl $0x10, %edx
movq %r14, %rdi
callq 0x43a0
leaq 0x1afda(%rip), %rsi     # 0x3dcb5
movl $0x15, %edx
movq %r14, %rdi
callq 0x43a0
leaq 0x1b63b(%rip), %rsi     # 0x3e32a
movl $0x1, %edx
movq %r14, %rdi
callq 0x43a0
movq 0xbb0(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
movq %r14, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
movq %r15, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
leaq 0x1af83(%rip), %rsi     # 0x3dcdc
movl $0x50, %edx
movq %r14, %rdi
callq 0x43a0
movq 0xbb0(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
movq %r14, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
movq %r15, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
leaq 0x1af6a(%rip), %rsi     # 0x3dd2d
movl $0x7, %edx
movq %r14, %rdi
callq 0x43a0
movq 0xbb0(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
movq %r14, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
leaq 0x1af32(%rip), %rsi     # 0x3dd35
movl $0x3c, %edx
movq %r14, %rdi
callq 0x43a0
movq 0xbb0(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
movq %r14, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
leaq 0x1af2f(%rip), %rsi     # 0x3dd72
movl $0x3c, %edx
movq %r14, %rdi
callq 0x43a0
movq 0xbb0(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
movq %r14, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
leaq 0x1af2c(%rip), %rsi     # 0x3ddaf
movl $0x3f, %edx
movq %r14, %rdi
callq 0x43a0
movq 0xbb0(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
movq %r14, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
leaq 0x1af2c(%rip), %rsi     # 0x3ddef
movl $0x3f, %edx
movq %r14, %rdi
callq 0x43a0
movq 0xbb0(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
movq %r14, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
leaq 0x1af2c(%rip), %rsi     # 0x3de2f
movl $0x1c, %edx
movq %r14, %rdi
callq 0x43a0
movq 0xbb0(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
movq %r14, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
leaq 0x7a0(%rsp), %rdi
movq %rbx, %rsi
callq 0x44f0
movq 0x7a0(%rsp), %rsi
movq 0x7a8(%rsp), %rdx
movq 0x29065(%rip), %rdi     # 0x4bfc8
callq 0x43a0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
movq 0x7a0(%rsp), %rdi
cmpq %r12, %rdi
je 0x22faf
movq 0x7b0(%rsp), %rsi
incq %rsi
callq 0x4340
xorl %ebx, %ebx
jmp 0x244d2
callq 0x4200
movq %rax, %r14
movq 0x30(%r15), %rsi
leaq 0x7a0(%rsp), %rdi
leaq 0x9a0(%rsp), %rdx
callq 0x5346
leaq 0x1ae72(%rip), %rsi     # 0x3de50
leaq 0x7a0(%rsp), %rdi
callq 0x45e0
leaq 0x78(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x23012
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0x2301a
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x70(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x7a0(%rsp), %rdi
cmpq %r12, %rdi
je 0x2304f
movq 0x7b0(%rsp), %rsi
incq %rsi
callq 0x4340
cmpq $0x0, 0x70(%rsp)
jne 0x23072
leaq 0x1adee(%rip), %rcx     # 0x3de4c
leaq 0x68(%rsp), %rdi
movl $0x11, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x44c0
movq 0x68(%rsp), %rdi
callq 0x44a0
testq %rax, %rax
je 0x2308b
movq %rax, %rdi
callq 0x4500
jmp 0x230ad
callq 0x4050
cmpl $0x2, (%rax)
jne 0x230ad
movq 0x68(%rsp), %rdi
movl $0x1fd, %esi            # imm = 0x1FD
callq 0x4190
cmpl $-0x1, %eax
je 0x24507
movq 0x10(%r15), %rsi
leaq 0x2c0(%rsp), %rdi
leaq 0x7a0(%rsp), %rdx
callq 0x5346
movq 0x18(%r15), %rsi
leaq 0x2a0(%rsp), %rdi
leaq 0x7a0(%rsp), %rdx
callq 0x5346
movq 0x20(%r15), %rsi
leaq 0x280(%rsp), %rdi
leaq 0x7a0(%rsp), %rdx
callq 0x5346
movq 0x28(%r15), %rsi
leaq 0x260(%rsp), %rdi
leaq 0x7a0(%rsp), %rbx
movq %rbx, %rdx
callq 0x5346
leaq 0x2e8(%rsp), %rcx
movl $0x0, (%rcx)
xorl %eax, %eax
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x250(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x2c0(%rsp), %rsi
movq 0x2c8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x240(%rsp), %rdi
callq 0xd940
leaq 0x240(%rsp), %rdi
leaq 0x2e0(%rsp), %rsi
callq 0x24de8
movl %eax, %ebp
movq 0x240(%rsp), %rdi
cmpq %r15, %rdi
je 0x23194
movq 0x250(%rsp), %rsi
incq %rsi
callq 0x4340
testb %bpl, %bpl
je 0x23b2b
leaq 0x318(%rsp), %rcx
movl $0x0, (%rcx)
xorl %eax, %eax
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x230(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x2a0(%rsp), %rsi
movq 0x2a8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x220(%rsp), %rdi
callq 0xd940
leaq 0x220(%rsp), %rdi
leaq 0x310(%rsp), %rsi
callq 0x24de8
movl %eax, %ebp
movq 0x220(%rsp), %rdi
cmpq %r15, %rdi
je 0x2321d
movq 0x230(%rsp), %rsi
incq %rsi
callq 0x4340
testb %bpl, %bpl
je 0x24416
cvtsi2sd %r14, %xmm0
movsd %xmm0, 0x198(%rsp)
movq 0x2f8(%rsp), %rax
movq %rax, 0x20(%rsp)
movq %rbx, %rdx
leaq 0xd8(%rsp), %rbx
leaq 0x98(%rsp), %r12
movl $0x80, %ecx
leaq 0x9a0(%rsp), %rax
addq %rcx, %rax
movq %rax, 0xc0(%rsp)
movl $0x98, %eax
leaq 0x540(%rsp), %rsi
addq %rax, %rsi
movq %rsi, 0x130(%rsp)
addq %rdx, %rcx
movq %rcx, 0xb8(%rsp)
leaq 0x340(%rsp), %rcx
addq %rcx, %rax
movq %rax, 0x120(%rsp)
leaq 0x90(%rsp), %r15
leaq 0x1a0(%rsp), %rbp
leaq 0x88(%rsp), %r14
leaq 0x2e8(%rsp), %rax
movq 0x20(%rsp), %r13
cmpq %rax, %r13
je 0x23b32
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq 0x20(%r13), %rsi
movq 0x28(%r13), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0xd940
leaq 0x40(%r13), %rsi
leaq 0x340(%rsp), %rdi
callq 0x20ad0
leaq 0x9a0(%rsp), %r12
movb $0x23, 0x7a0(%rsp)
leaq 0x28(%rsp), %rdi
movq %rsp, %rsi
leaq 0x7a0(%rsp), %r13
movq %r13, %rdx
callq 0x367c0
movq %r13, %rdi
callq 0x4240
leaq 0x9b0(%rsp), %rax
movq %rax, 0x9a0(%rsp)
movq %r12, %rdi
leaq 0x1b7c3(%rip), %rdx     # 0x3eb0a
movq %rdx, %rsi
callq 0x5384
leaq 0x7b8(%rsp), %rdi
movq %r12, %rsi
callq 0x4490
movq 0x9a0(%rsp), %rdi
leaq 0x9b0(%rsp), %rax
cmpq %rax, %rdi
je 0x23384
movq 0x9b0(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x280(%rsp), %rsi
movq 0x288(%rsp), %rdx
leaq 0x7b0(%rsp), %rdi
callq 0x43a0
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
leaq 0x1b9a7(%rip), %rsi     # 0x3ed5a
callq 0x43a0
movq 0x28(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %r12, %rdi
callq 0x43a0
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
leaq 0x186f9(%rip), %rsi     # 0x3bad7
callq 0x43a0
movq 0x360(%rsp), %rsi
movq %r12, %rdi
callq 0x4210
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
leaq 0x186d2(%rip), %rsi     # 0x3bad7
callq 0x43a0
movq 0x368(%rsp), %rsi
movq %r12, %rdi
callq 0x4210
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
leaq 0x186ab(%rip), %rsi     # 0x3bad7
callq 0x43a0
movq 0x388(%rsp), %rsi
movq 0x390(%rsp), %rdx
movq %r12, %rdi
callq 0x43a0
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
leaq 0x1867c(%rip), %rsi     # 0x3bad7
callq 0x43a0
movq 0x28(%rsp), %rax
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
movq %r12, %rdi
callq 0x43a0
movl $0x4, %edx
movq %rax, %rdi
leaq 0x1aacd(%rip), %rsi     # 0x3df51
callq 0x43a0
movl $0x0, 0xd8(%rsp)
xorl %eax, %eax
movq %rax, 0xe0(%rsp)
movq %rbx, 0xe8(%rsp)
movq %rbx, 0xf0(%rsp)
movq %rax, 0xf8(%rsp)
movq %rbp, %rdi
leaq 0x7b8(%rsp), %rsi
callq 0x44f0
movq %rbp, %rdi
leaq 0xd0(%rsp), %rsi
callq 0x255b2
leaq 0x98(%rsp), %r12
movl %eax, %ebp
movq 0x1a0(%rsp), %rdi
leaq 0x1b0(%rsp), %rax
cmpq %rax, %rdi
je 0x23505
movq 0x1b0(%rsp), %rsi
incq %rsi
callq 0x4340
testb %bpl, %bpl
je 0x24332
leaq 0x310(%rsp), %rdi
movq %rsp, %rsi
callq 0x25a3a
movq %rax, %rbp
cmpq %rdx, %rax
je 0x23935
movq 0x20(%rsp), %rax
addq $0xc8, %rax
movq %rax, 0x128(%rsp)
movq %rdx, 0xc8(%rsp)
leaq 0x58(%rsp), %rax
movq %rax, 0x48(%rsp)
movq 0x20(%rbp), %rsi
movq 0x28(%rbp), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %rdi
callq 0xd940
leaq 0x40(%rbp), %rsi
leaq 0x540(%rsp), %rdi
callq 0x20ad0
movb $0x23, 0x9a0(%rsp)
leaq 0x100(%rsp), %rdi
leaq 0x48(%rsp), %rsi
leaq 0x9a0(%rsp), %r13
movq %r13, %rdx
callq 0x367c0
movq %r13, %rdi
callq 0x4240
movq %r12, 0x88(%rsp)
movq %r14, %rdi
leaq 0x1b556(%rip), %rdx     # 0x3eb0a
movq %rdx, %rsi
callq 0x5384
leaq 0x9b8(%rsp), %rdi
movq %r14, %rsi
callq 0x4490
movq 0x88(%rsp), %rdi
cmpq %r12, %rdi
je 0x235e9
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x260(%rsp), %rsi
movq 0x268(%rsp), %rdx
leaq 0x9b0(%rsp), %rdi
callq 0x43a0
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
leaq 0x1b742(%rip), %rsi     # 0x3ed5a
callq 0x43a0
movq 0x100(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %r13, %rdi
callq 0x43a0
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
leaq 0x18491(%rip), %rsi     # 0x3bad7
callq 0x43a0
movq 0x560(%rsp), %rsi
movq %r13, %rdi
callq 0x4210
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
leaq 0x1846a(%rip), %rsi     # 0x3bad7
callq 0x43a0
movq 0x568(%rsp), %rsi
movq %r13, %rdi
callq 0x4210
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
leaq 0x18443(%rip), %rsi     # 0x3bad7
callq 0x43a0
movq 0x588(%rsp), %rsi
movq 0x590(%rsp), %rdx
movq %r13, %rdi
callq 0x43a0
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
leaq 0x18414(%rip), %rsi     # 0x3bad7
callq 0x43a0
movq 0x100(%rsp), %rax
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
movq %r13, %rdi
callq 0x43a0
movl $0x4, %edx
movq %rax, %rdi
leaq 0x1a862(%rip), %rsi     # 0x3df51
callq 0x43a0
movl $0x0, 0x90(%rsp)
xorl %eax, %eax
movq %rax, 0x98(%rsp)
movq %r15, 0xa0(%rsp)
movq %r15, 0xa8(%rsp)
movq %rax, 0xb0(%rsp)
leaq 0x200(%rsp), %r13
movq %r13, %rdi
leaq 0x9b8(%rsp), %rsi
callq 0x44f0
movq %r13, %rdi
movq %r14, %rsi
callq 0x255b2
movl %eax, %r13d
movq 0x200(%rsp), %rdi
leaq 0x210(%rsp), %rax
cmpq %rax, %rdi
je 0x2376c
movq 0x210(%rsp), %rsi
incq %rsi
callq 0x4340
testb %r13b, %r13b
je 0x2394c
movq 0xe8(%rsp), %r13
cmpq %rbx, %r13
je 0x23836
xorl %r12d, %r12d
leaq 0x20(%r13), %rsi
movq %r14, %rdi
callq 0xe288
xorl %ecx, %ecx
cmpq %r15, %rax
setne %cl
addl %ecx, %r12d
movq %r13, %rdi
callq 0x4230
movq %rax, %r13
cmpq %rbx, %rax
jne 0x23789
cmpl $0x3, %r12d
leaq 0x98(%rsp), %r12
jb 0x23836
movq 0x20(%rsp), %rax
cmpq $0x0, 0xd0(%rax)
je 0x237e1
movq 0x128(%rsp), %rdi
leaq 0x1a6bf(%rip), %rsi     # 0x3de9b
callq 0x45e0
movq 0x5a8(%rsp), %rsi
movq 0x5b0(%rsp), %rdx
movq 0x128(%rsp), %rdi
callq 0x4120
leaq 0xc8(%rbp), %r13
cmpq $0x0, 0xd0(%rbp)
je 0x2381e
movq %r13, %rdi
leaq 0x1a682(%rip), %rsi     # 0x3de9b
callq 0x45e0
movq 0x3a8(%rsp), %rsi
movq 0x3b0(%rsp), %rdx
movq %r13, %rdi
callq 0x4120
movq %r14, %rdi
callq 0xd7ee
leaq 0x9a0(%rsp), %rdi
movq 0x2874b(%rip), %rsi     # 0x4bf98
callq 0x4260
movq 0xc0(%rsp), %rdi
callq 0x4140
leaq 0x100(%rsp), %rdi
callq 0x6aac
movq 0x5c8(%rsp), %rdi
cmpq 0x130(%rsp), %rdi
je 0x2388e
movq 0x5d8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x5a8(%rsp), %rdi
leaq 0x5b8(%rsp), %rax
cmpq %rax, %rdi
je 0x238b3
movq 0x5b8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x588(%rsp), %rdi
leaq 0x598(%rsp), %rax
cmpq %rax, %rdi
je 0x238d8
movq 0x598(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x540(%rsp), %rdi
leaq 0x550(%rsp), %rax
cmpq %rax, %rdi
je 0x238fd
movq 0x550(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x23919
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x4340
movq %rbp, %rdi
callq 0x4230
movq %rax, %rbp
movq 0xc8(%rsp), %rdx
cmpq %rdx, %rax
jne 0x23545
movq 0x20(%rsp), %rdi
callq 0x4230
movq %rax, 0x20(%rsp)
movb $0x1, %bpl
jmp 0x23a31
movq %r14, %rdi
callq 0xd7ee
leaq 0x9a0(%rsp), %rdi
movq 0x28635(%rip), %rsi     # 0x4bf98
callq 0x4260
movq 0xc0(%rsp), %rdi
callq 0x4140
leaq 0x100(%rsp), %rdi
callq 0x6aac
movq 0x5c8(%rsp), %rdi
cmpq 0x130(%rsp), %rdi
je 0x239a4
movq 0x5d8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x5a8(%rsp), %rdi
leaq 0x5b8(%rsp), %rax
cmpq %rax, %rdi
je 0x239c9
movq 0x5b8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x588(%rsp), %rdi
leaq 0x598(%rsp), %rax
cmpq %rax, %rdi
je 0x239ee
movq 0x598(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x540(%rsp), %rdi
leaq 0x550(%rsp), %rax
cmpq %rax, %rdi
je 0x23a13
movq 0x550(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x23a2f
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x4340
xorl %ebp, %ebp
leaq 0xd0(%rsp), %rdi
callq 0xd7ee
leaq 0x7a0(%rsp), %rdi
movq 0x2854b(%rip), %rsi     # 0x4bf98
callq 0x4260
movq 0xb8(%rsp), %rdi
callq 0x4140
leaq 0x28(%rsp), %rdi
callq 0x6aac
movq 0x3c8(%rsp), %rdi
cmpq 0x120(%rsp), %rdi
je 0x23a8b
movq 0x3d8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x3a8(%rsp), %rdi
leaq 0x3b8(%rsp), %rax
cmpq %rax, %rdi
je 0x23ab0
movq 0x3b8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x388(%rsp), %rdi
leaq 0x398(%rsp), %rax
cmpq %rax, %rdi
je 0x23ad5
movq 0x398(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x340(%rsp), %rdi
leaq 0x350(%rsp), %rax
cmpq %rax, %rdi
je 0x23afa
movq 0x350(%rsp), %rsi
incq %rsi
callq 0x4340
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x23b15
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x4340
testb %bpl, %bpl
leaq 0x1a0(%rsp), %rbp
jne 0x232ba
jmp 0x24416
xorl %ebx, %ebx
jmp 0x24425
movl $0x0, 0xd8(%rsp)
xorl %eax, %eax
movq %rax, 0xe0(%rsp)
movq %rbx, 0xe8(%rsp)
movq %rbx, 0xf0(%rsp)
movq %rax, 0xf8(%rsp)
leaq 0x88(%rsp), %rdi
movq %r12, (%rdi)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
addq %rsi, %rdx
callq 0xd940
leaq 0x1a2db(%rip), %rsi     # 0x3de5e
leaq 0x88(%rsp), %rdi
callq 0x45e0
leaq 0x7a0(%rsp), %rdi
callq 0x4570
movq 0x88(%rsp), %rsi
leaq 0x7a0(%rsp), %rdi
movl $0x10, %edx
callq 0x4060
leaq 0x810(%rsp), %rdi
callq 0x40c0
testb %al, %al
je 0x24566
movq %rsp, %rdi
leaq 0x10(%rsp), %rax
movq %rax, (%rdi)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
addq %rsi, %rdx
callq 0xd940
leaq 0x1a284(%rip), %rsi     # 0x3de74
movq %rsp, %rdi
callq 0x45e0
leaq 0x9a0(%rsp), %rdi
callq 0x4570
movq (%rsp), %rsi
leaq 0x9a0(%rsp), %rdi
movl $0x10, %edx
callq 0x4060
leaq 0xa10(%rsp), %rdi
callq 0x40c0
testb %al, %al
je 0x245d9
movq 0x2f8(%rsp), %rbx
leaq 0x2e8(%rsp), %rax
cmpq %rax, %rbx
je 0x23f60
leaq 0x178(%rsp), %rbp
leaq 0x158(%rsp), %r12
leaq 0x7a0(%rsp), %r14
leaq 0x550(%rsp), %rax
movq %rax, 0x540(%rsp)
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
addq %rsi, %rdx
leaq 0x540(%rsp), %rdi
callq 0xd940
leaq 0x40(%rbx), %rsi
leaq 0x340(%rsp), %rdi
callq 0x20ad0
cmpq $0x0, 0x3d0(%rsp)
je 0x23e44
leaq 0x148(%rsp), %rax
movq %rax, 0x138(%rsp)
movq 0x340(%rsp), %rsi
movq 0x348(%rsp), %rdx
addq %rsi, %rdx
leaq 0x138(%rsp), %rdi
callq 0xd940
movq 0x360(%rsp), %r15
movq 0x368(%rsp), %r13
movsd 0x380(%rsp), %xmm0
movsd %xmm0, 0xc8(%rsp)
leaq 0x188(%rsp), %rax
movq %rax, 0x178(%rsp)
movq 0x388(%rsp), %rsi
movq 0x390(%rsp), %rdx
addq %rsi, %rdx
movq %rbp, %rdi
callq 0xd940
leaq 0x168(%rsp), %rax
movq %rax, 0x158(%rsp)
movq 0x3a8(%rsp), %rsi
movq 0x3b0(%rsp), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0xd940
leaq 0xd0(%rsp), %rdi
leaq 0x138(%rsp), %rsi
movq %r15, %rdx
movq %r13, %rcx
movsd 0xc8(%rsp), %xmm0
movq %rbp, %r8
movq %r12, %r9
callq 0x36b10
movq 0x158(%rsp), %rdi
leaq 0x168(%rsp), %rax
cmpq %rax, %rdi
je 0x23da0
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x178(%rsp), %rdi
leaq 0x188(%rsp), %rax
cmpq %rax, %rdi
je 0x23dc5
movq 0x188(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x138(%rsp), %rdi
leaq 0x148(%rsp), %rax
cmpq %rax, %rdi
je 0x23dea
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x3a8(%rsp), %rsi
movq 0x3b0(%rsp), %rdx
movq %r14, %rdi
callq 0x43a0
movl $0x7, %edx
movq %rax, %rdi
leaq 0x1a07b(%rip), %rsi     # 0x3de8c
callq 0x43a0
movq 0x3c8(%rsp), %rsi
movq 0x3d0(%rsp), %rdx
movq %r14, %rdi
callq 0x43a0
movl $0x8, %edx
movq %rax, %rdi
leaq 0x1a057(%rip), %rsi     # 0x3de94
callq 0x43a0
jmp 0x23e8b
movq 0x3a8(%rsp), %rsi
movq 0x3b0(%rsp), %rdx
leaq 0x9a0(%rsp), %rdi
callq 0x43a0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
movq %r15, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
movq %rbx, %rdi
callq 0x4230
movq %rax, %rbx
movq 0x3c8(%rsp), %rdi
leaq 0x3d8(%rsp), %rax
cmpq %rax, %rdi
je 0x23ebb
movq 0x3d8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x3a8(%rsp), %rdi
leaq 0x3b8(%rsp), %rax
cmpq %rax, %rdi
je 0x23ee0
movq 0x3b8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x388(%rsp), %rdi
leaq 0x398(%rsp), %rax
cmpq %rax, %rdi
je 0x23f05
movq 0x398(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x340(%rsp), %rdi
leaq 0x350(%rsp), %rax
cmpq %rax, %rdi
je 0x23f2a
movq 0x350(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x540(%rsp), %rdi
leaq 0x550(%rsp), %rax
cmpq %rax, %rdi
je 0x23f4f
movq 0x550(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x2e8(%rsp), %rax
cmpq %rax, %rbx
jne 0x23c61
leaq 0x19f36(%rip), %rdx     # 0x3de9d
leaq 0x48(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x1f9d8
leaq 0x340(%rsp), %rdi
callq 0x4570
movq 0x48(%rsp), %rsi
leaq 0x340(%rsp), %rdi
movl $0x10, %edx
leaq 0x98(%rsp), %r12
callq 0x4060
leaq 0x3b0(%rsp), %rdi
callq 0x40c0
testb %al, %al
je 0x24615
movq 0x328(%rsp), %rbx
leaq 0x318(%rsp), %rax
cmpq %rax, %rbx
je 0x2411f
leaq 0x38(%rsp), %rbp
leaq 0x5d8(%rsp), %r12
leaq 0x28(%rsp), %r14
leaq 0x540(%rsp), %r15
movq %rbp, 0x28(%rsp)
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0xd940
leaq 0x40(%rbx), %rsi
movq %r15, %rdi
callq 0x20ad0
cmpq $0x0, 0x5d0(%rsp)
jne 0x24060
movq 0x5a8(%rsp), %rsi
movq 0x5b0(%rsp), %rdx
leaq 0x340(%rsp), %rdi
callq 0x43a0
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
movq %r13, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
movq %rbx, %rdi
callq 0x4230
movq %rax, %rbx
movq 0x5c8(%rsp), %rdi
cmpq %r12, %rdi
je 0x24088
movq 0x5d8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x5a8(%rsp), %rdi
leaq 0x5b8(%rsp), %rax
cmpq %rax, %rdi
je 0x240ad
movq 0x5b8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x588(%rsp), %rdi
leaq 0x598(%rsp), %rax
cmpq %rax, %rdi
je 0x240d2
movq 0x598(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x540(%rsp), %rdi
leaq 0x550(%rsp), %rax
cmpq %rax, %rdi
je 0x240f7
movq 0x550(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2410e
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x318(%rsp), %rax
cmpq %rax, %rbx
jne 0x23fea
leaq 0x7a0(%rsp), %rdi
leaq 0x98(%rsp), %r12
callq 0x4440
leaq 0x9a0(%rsp), %rdi
callq 0x4440
leaq 0x340(%rsp), %rdi
callq 0x4440
leaq 0x19d60(%rip), %rdx     # 0x3deb5
leaq 0x28(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x1f9d8
leaq 0x540(%rsp), %rdi
callq 0x4570
movq 0x28(%rsp), %rsi
leaq 0x540(%rsp), %rdi
movl $0x10, %edx
callq 0x4060
leaq 0x5b0(%rsp), %rdi
callq 0x40c0
testb %al, %al
je 0x2464f
leaq 0x770(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
callq 0x205da
leaq 0x1f0(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
addq %rsi, %rdx
leaq 0x1e0(%rsp), %rdi
callq 0xd940
leaq 0x770(%rsp), %rdi
leaq 0x1e0(%rsp), %rsi
callq 0x38958
movl %eax, %ebx
movq 0x1e0(%rsp), %rdi
cmpq %r14, %rdi
je 0x2420c
movq 0x1f0(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x770(%rsp), %rdi
callq 0x20c90
testb %bl, %bl
je 0x24685
leaq 0x19caa(%rip), %rdx     # 0x3ded2
leaq 0x100(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x1f9d8
leaq 0x740(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
callq 0x205da
leaq 0x1d0(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x100(%rsp), %rsi
movq 0x108(%rsp), %rdx
addq %rsi, %rdx
leaq 0x1c0(%rsp), %rdi
callq 0xd940
leaq 0x740(%rsp), %rdi
leaq 0x1c0(%rsp), %rsi
callq 0x37404
movl %eax, %ebx
movq 0x1c0(%rsp), %rdi
cmpq %r14, %rdi
je 0x242af
movq 0x1d0(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x740(%rsp), %rdi
callq 0x20c90
testb %bl, %bl
je 0x24784
callq 0x4200
movq %rax, %r14
movq 0x27cf5(%rip), %rdi     # 0x4bfc8
leaq 0x1606b(%rip), %rsi     # 0x3a345
movl $0x12, %edx
callq 0x43a0
cvtsi2sd %r14, %xmm0
subsd 0x198(%rsp), %xmm0
divsd 0x15d0e(%rip), %xmm0    # 0x3a008
movq 0x27cc7(%rip), %rdi     # 0x4bfc8
callq 0x4510
movq %rax, %r14
leaq 0x16048(%rip), %rsi     # 0x3a358
movl $0x8, %edx
movq %rax, %rdi
callq 0x43a0
movq %r14, %rdi
callq 0x41a0
movq %rax, %rdi
callq 0x41a0
jmp 0x247a8
leaq 0xd0(%rsp), %rdi
callq 0xd7ee
movq 0x27c52(%rip), %rsi     # 0x4bf98
leaq 0x7a0(%rsp), %rdi
callq 0x4260
movq 0xb8(%rsp), %rdi
callq 0x4140
leaq 0x28(%rsp), %rdi
callq 0x6aac
movq 0x3c8(%rsp), %rdi
cmpq 0x120(%rsp), %rdi
je 0x2438c
movq 0x3d8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x3a8(%rsp), %rdi
leaq 0x3b8(%rsp), %rax
cmpq %rax, %rdi
je 0x243b1
movq 0x3b8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x388(%rsp), %rdi
leaq 0x398(%rsp), %rax
cmpq %rax, %rdi
je 0x243d6
movq 0x398(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x340(%rsp), %rdi
leaq 0x350(%rsp), %rax
cmpq %rax, %rdi
je 0x243fb
movq 0x350(%rsp), %rsi
incq %rsi
callq 0x4340
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x24416
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x4340
xorl %ebx, %ebx
leaq 0x310(%rsp), %rdi
callq 0x25954
leaq 0x2e0(%rsp), %rdi
callq 0x25954
leaq 0x270(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x24453
movq 0x270(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x290(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x24474
movq 0x290(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x2b0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x24495
movq 0x2b0(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x2d0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x244b6
movq 0x2d0(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x244d2
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x27abf(%rip), %rsi     # 0x4bf98
leaq 0xba0(%rsp), %rdi
callq 0x4260
leaq 0xc20(%rsp), %rdi
callq 0x4140
movl %ebx, %eax
addq $0xd28, %rsp            # imm = 0xD28
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x27aba(%rip), %rdi     # 0x4bfc8
leaq 0x176f6(%rip), %rsi     # 0x3bc0b
movl $0x22, %edx
callq 0x43a0
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
movq 0x27a98(%rip), %rdi     # 0x4bfc8
callq 0x43a0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
xorl %ebx, %ebx
jmp 0x244b6
movq 0x27a5b(%rip), %rdi     # 0x4bfc8
leaq 0x165fa(%rip), %rsi     # 0x3ab6e
movl $0x1b, %edx
callq 0x43a0
movq 0x88(%rsp), %rsi
movq 0x90(%rsp), %rdx
movq 0x27a33(%rip), %rdi     # 0x4bfc8
callq 0x43a0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
movq 0x279f5(%rip), %rax     # 0x4bfc0
movq (%rax), %r14
movq 0x18(%rax), %r15
xorl %ebx, %ebx
jmp 0x2472b
movq 0x279e8(%rip), %rdi     # 0x4bfc8
leaq 0x16587(%rip), %rsi     # 0x3ab6e
movl $0x1b, %edx
callq 0x43a0
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq 0x279c7(%rip), %rdi     # 0x4bfc8
callq 0x43a0
movq %rax, %rdi
callq 0x41a0
xorl %ebx, %ebx
jmp 0x246d8
movq 0x279ac(%rip), %rdi     # 0x4bfc8
leaq 0x1654b(%rip), %rsi     # 0x3ab6e
movl $0x1b, %edx
callq 0x43a0
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
movq 0x2798a(%rip), %rdi     # 0x4bfc8
callq 0x43a0
movq %rax, %rdi
callq 0x41a0
xorl %ebx, %ebx
jmp 0x246af
movq 0x27972(%rip), %rdi     # 0x4bfc8
leaq 0x16511(%rip), %rsi     # 0x3ab6e
movl $0x1b, %edx
callq 0x43a0
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq 0x27950(%rip), %rdi     # 0x4bfc8
callq 0x43a0
movq %rax, %rdi
callq 0x41a0
xorl %ebx, %ebx
leaq 0x540(%rsp), %rdi
callq 0x4480
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x246af
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x340(%rsp), %rdi
callq 0x4480
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x246d8
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x278e1(%rip), %rax     # 0x4bfc0
movq (%rax), %r14
movq 0x18(%rax), %r15
leaq 0x9a8(%rsp), %rdi
movq %r14, -0x8(%rdi)
movq -0x18(%r14), %rax
movq %r15, 0x9a0(%rsp,%rax)
callq 0x42a0
leaq 0xa98(%rsp), %rdi
callq 0x4140
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x2472b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x7a8(%rsp), %rdi
movq %r14, -0x8(%rdi)
movq -0x18(%r14), %rax
movq %r15, 0x7a0(%rsp,%rax)
callq 0x42a0
leaq 0x898(%rsp), %rdi
callq 0x4140
movq 0x88(%rsp), %rdi
cmpq %r12, %rdi
je 0x24772
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0xd0(%rsp), %rdi
callq 0x20c90
jmp 0x24418
movq 0x2783d(%rip), %rdi     # 0x4bfc8
leaq 0x17d90(%rip), %rsi     # 0x3c522
movl $0x2e, %edx
callq 0x43a0
movq 0x27825(%rip), %rdi     # 0x4bfc8
callq 0x41a0
leaq 0x110(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x24687
movq 0x110(%rsp), %rsi
incq %rsi
callq 0x4340
jmp 0x24687
movq %rax, %rbx
movq 0x1c0(%rsp), %rdi
cmpq %r14, %rdi
je 0x247f7
movq 0x1d0(%rsp), %rsi
incq %rsi
callq 0x4340
jmp 0x247f7
movq %rax, %rbx
leaq 0x740(%rsp), %rdi
callq 0x20c90
jmp 0x24841
jmp 0x24878
jmp 0x2483e
movq %rax, %rbx
movq 0x1e0(%rsp), %rdi
cmpq %r14, %rdi
je 0x2482f
movq 0x1f0(%rsp), %rsi
incq %rsi
callq 0x4340
jmp 0x2482f
movq %rax, %rbx
leaq 0x770(%rsp), %rdi
callq 0x20c90
jmp 0x2487b
movq %rax, %rbx
leaq 0x110(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2487b
movq 0x110(%rsp), %rsi
incq %rsi
callq 0x4340
jmp 0x2487b
movq %rax, %rbx
jmp 0x24888
jmp 0x248e6
movq %rax, %rbx
jmp 0x249af
jmp 0x249d3
movq %rax, %rbx
leaq 0x540(%rsp), %rdi
callq 0x4480
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x24995
jmp 0x249a2
jmp 0x248a1
movq %rax, %rbx
jmp 0x24aab
jmp 0x24973
jmp 0x248e6
movq %rax, %rbx
jmp 0x24ad3
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r12, %rdi
jne 0x24ae8
jmp 0x24af8
movq %rax, %rbx
jmp 0x24af8
jmp 0x249d3
movq %rax, %rbx
jmp 0x2498b
movq %rax, %rbx
jmp 0x249a2
movq %rax, %rbx
jmp 0x24945
movq %rax, %rbx
jmp 0x24920
movq %rax, %rbx
movq 0x158(%rsp), %rdi
leaq 0x168(%rsp), %rax
cmpq %rax, %rdi
je 0x24920
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x178(%rsp), %rdi
leaq 0x188(%rsp), %rax
cmpq %rax, %rdi
je 0x24945
movq 0x188(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x138(%rsp), %rdi
leaq 0x148(%rsp), %rax
cmpq %rax, %rdi
je 0x24a6c
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x4340
jmp 0x24a6c
movq %rax, %rbx
jmp 0x24ac6
movq %rax, %rbx
leaq 0x540(%rsp), %rdi
callq 0x2580a
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x249a2
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x340(%rsp), %rdi
callq 0x4480
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x24a9e
movq 0x58(%rsp), %rsi
jmp 0x24a96
jmp 0x24a52
jmp 0x24a52
movq %rax, %rbx
jmp 0x24a9e
movq %rax, %rbx
jmp 0x24a79
movq %rax, %rbx
movq 0x220(%rsp), %rdi
cmpq %r15, %rdi
je 0x24d05
movq 0x230(%rsp), %rsi
jmp 0x24cfd
jmp 0x24b90
movq %rax, %rbx
movq 0x240(%rsp), %rdi
cmpq %r15, %rdi
je 0x24d12
movq 0x250(%rsp), %rsi
incq %rsi
callq 0x4340
jmp 0x24d12
movq %rax, %rbx
jmp 0x24d12
movq %rax, %rbx
jmp 0x24d40
movq %rax, %rbx
jmp 0x24d61
movq %rax, %rbx
jmp 0x24d82
movq %rax, %rbx
jmp 0x24da3
jmp 0x24c31
jmp 0x24b9a
jmp 0x24c31
movq %rax, %rbx
leaq 0x340(%rsp), %rdi
callq 0x2580a
movq 0x540(%rsp), %rdi
leaq 0x550(%rsp), %rax
cmpq %rax, %rdi
je 0x24a9e
movq 0x550(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x9a0(%rsp), %rdi
callq 0x4480
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x24ac6
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x7a0(%rsp), %rdi
callq 0x4480
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x24af8
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0xd0(%rsp), %rdi
callq 0x20c90
jmp 0x24d05
jmp 0x24b9a
jmp 0x24c31
jmp 0x24bf5
jmp 0x24c29
movq %rax, %rbx
jmp 0x24cd3
movq %rax, %rbx
jmp 0x24cdd
movq %rax, %rbx
jmp 0x24cea
movq %rax, %rbx
movq 0x1a0(%rsp), %rdi
leaq 0x1b0(%rsp), %rax
cmpq %rax, %rdi
je 0x24ca5
movq 0x1b0(%rsp), %rsi
jmp 0x24c9d
movq %rax, %rbx
movq 0x9a0(%rsp), %rdi
leaq 0x9b0(%rsp), %rax
cmpq %rax, %rdi
je 0x24cb2
movq 0x9b0(%rsp), %rsi
incq %rsi
callq 0x4340
jmp 0x24cb2
movq %rax, %rbx
jmp 0x24d05
jmp 0x24bf5
movq %rax, %rbx
movq 0x7a0(%rsp), %rdi
cmpq %r12, %rdi
je 0x24dbf
movq 0x7b0(%rsp), %rsi
jmp 0x24db7
jmp 0x24c31
jmp 0x24c3e
movq %rax, %rbx
movq 0x200(%rsp), %rdi
leaq 0x210(%rsp), %rax
cmpq %rax, %rdi
je 0x24c41
movq 0x210(%rsp), %rsi
incq %rsi
callq 0x4340
jmp 0x24c41
jmp 0x24c3e
movq %rax, %rbx
jmp 0x24c7c
jmp 0x24c39
movq %rax, %rbx
jmp 0x24ca5
movq %rax, %rbx
jmp 0x24c6f
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r12, %rdi
je 0x24c4e
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x4340
jmp 0x24c4e
movq %rax, %rbx
jmp 0x24c89
movq %rax, %rbx
jmp 0x24cb2
movq %rax, %rbx
jmp 0x24dbf
movq %rax, %rbx
jmp 0x24c4e
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
callq 0xd7ee
movq 0x27343(%rip), %rsi     # 0x4bf98
leaq 0x9a0(%rsp), %rdi
callq 0x4260
movq 0xc0(%rsp), %rdi
callq 0x4140
leaq 0x100(%rsp), %rdi
callq 0x6aac
leaq 0x540(%rsp), %rdi
callq 0x2580a
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x24ca5
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0xd0(%rsp), %rdi
callq 0xd7ee
movq 0x272df(%rip), %rsi     # 0x4bf98
leaq 0x7a0(%rsp), %rdi
callq 0x4260
movq 0xb8(%rsp), %rdi
callq 0x4140
leaq 0x28(%rsp), %rdi
callq 0x6aac
leaq 0x340(%rsp), %rdi
callq 0x2580a
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x24d05
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x310(%rsp), %rdi
callq 0x25954
leaq 0x2e0(%rsp), %rdi
callq 0x25954
leaq 0x270(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x24d40
movq 0x270(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x290(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x24d61
movq 0x290(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x2b0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x24d82
movq 0x2b0(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x2d0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x24da3
movq 0x2d0(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x24dbf
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x271d2(%rip), %rsi     # 0x4bf98
leaq 0xba0(%rsp), %rdi
callq 0x4260
leaq 0xc20(%rsp), %rdi
callq 0x4140
movq %rbx, %rdi
callq 0x45a0