// File: /workspace/github_cpp_makefile_star2_O1/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 $0xd38, %rsp            # imm = 0xD38
movq %rsi, %r15
movl %edi, %ebp
leaq 0xbb0(%rsp), %rdi
callq 0x4240
leaq 0x760(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x1bddf(%rip), %rdx     # 0x3eb22
leaq 0x750(%rsp), %rdi
movq %rdx, %rsi
callq 0x5384
leaq 0xbc8(%rsp), %rbx
leaq 0x750(%rsp), %rsi
movq %rbx, %rdi
callq 0x4490
movq 0x750(%rsp), %rdi
cmpq %r12, %rdi
je 0x22d88
movq 0x760(%rsp), %rsi
incq %rsi
callq 0x4340
cmpl $0x6, %ebp
jg 0x230f6
leaq 0xbc0(%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 0x1ae91(%rip), %rsi     # 0x3dc58
movl $0x5c, %edx
movq %r14, %rdi
callq 0x43a0
movq 0xbc0(%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 0x1aec4(%rip), %rsi     # 0x3dccb
movl $0x10, %edx
movq %r14, %rdi
callq 0x43a0
leaq 0x1ae9a(%rip), %rsi     # 0x3dcb5
movl $0x15, %edx
movq %r14, %rdi
callq 0x43a0
leaq 0x1b511(%rip), %rsi     # 0x3e340
movl $0x1, %edx
movq %r14, %rdi
callq 0x43a0
movq 0xbc0(%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 0x1ae43(%rip), %rsi     # 0x3dcdc
movl $0x50, %edx
movq %r14, %rdi
callq 0x43a0
movq 0xbc0(%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 0x1ae2a(%rip), %rsi     # 0x3dd2d
movl $0x7, %edx
movq %r14, %rdi
callq 0x43a0
movq 0xbc0(%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 0x1adf2(%rip), %rsi     # 0x3dd35
movl $0x3c, %edx
movq %r14, %rdi
callq 0x43a0
movq 0xbc0(%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 0x1adef(%rip), %rsi     # 0x3dd72
movl $0x3c, %edx
movq %r14, %rdi
callq 0x43a0
movq 0xbc0(%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 0x1adec(%rip), %rsi     # 0x3ddaf
movl $0x3f, %edx
movq %r14, %rdi
callq 0x43a0
movq 0xbc0(%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 0x1adec(%rip), %rsi     # 0x3ddef
movl $0x3f, %edx
movq %r14, %rdi
callq 0x43a0
movq 0xbc0(%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 0x1adec(%rip), %rsi     # 0x3de2f
movl $0x1c, %edx
movq %r14, %rdi
callq 0x43a0
movq 0xbc0(%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 0x750(%rsp), %rdi
movq %rbx, %rsi
callq 0x44f0
movq 0x750(%rsp), %rsi
movq 0x758(%rsp), %rdx
movq 0x28f25(%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 0x750(%rsp), %rdi
cmpq %r12, %rdi
je 0x230ef
movq 0x760(%rsp), %rsi
incq %rsi
callq 0x4340
xorl %ebx, %ebx
jmp 0x24654
callq 0x4200
movq %rax, %r14
movq 0x30(%r15), %rsi
leaq 0x750(%rsp), %rdi
leaq 0x9b0(%rsp), %r13
movq %r13, %rdx
callq 0x5346
leaq 0x1ad2f(%rip), %rsi     # 0x3de50
leaq 0x750(%rsp), %rdi
callq 0x45e0
leaq 0x88(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2315b
movq %rdx, 0x78(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x88(%rsp)
jmp 0x23163
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x80(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x750(%rsp), %rdi
cmpq %r12, %rdi
je 0x2319b
movq 0x760(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x80(%rsp), %rdx
testq %rdx, %rdx
jne 0x231c1
leaq 0x1ac9d(%rip), %rcx     # 0x3de4c
leaq 0x78(%rsp), %rdi
movl $0x11, %r8d
xorl %esi, %esi
callq 0x44c0
movq 0x78(%rsp), %rdi
callq 0x44a0
testq %rax, %rax
je 0x231da
movq %rax, %rdi
callq 0x4500
jmp 0x231fc
callq 0x4050
cmpl $0x2, (%rax)
jne 0x231fc
movq 0x78(%rsp), %rdi
movl $0x1fd, %esi            # imm = 0x1FD
callq 0x4190
cmpl $-0x1, %eax
je 0x24689
movq 0x10(%r15), %rsi
leaq 0x2d0(%rsp), %rdi
leaq 0x750(%rsp), %rdx
callq 0x5346
movq 0x18(%r15), %rsi
leaq 0x2b0(%rsp), %rdi
leaq 0x750(%rsp), %rdx
callq 0x5346
movq 0x20(%r15), %rsi
leaq 0x290(%rsp), %rdi
leaq 0x750(%rsp), %rdx
callq 0x5346
movq 0x28(%r15), %rsi
leaq 0x270(%rsp), %rdi
leaq 0x750(%rsp), %r12
movq %r12, %rdx
callq 0x5346
leaq 0x2f8(%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 0x260(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x2d0(%rsp), %rsi
movq 0x2d8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x250(%rsp), %rdi
callq 0xda32
leaq 0x250(%rsp), %rdi
leaq 0x2f0(%rsp), %rsi
callq 0x24f7a
movl %eax, %ebx
movq 0x250(%rsp), %rdi
cmpq %r15, %rdi
je 0x232e3
movq 0x260(%rsp), %rsi
incq %rsi
callq 0x4340
testb %bl, %bl
je 0x23c9a
leaq 0x328(%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 0x240(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x2b0(%rsp), %rsi
movq 0x2b8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x230(%rsp), %rdi
callq 0xda32
leaq 0x230(%rsp), %rdi
leaq 0x320(%rsp), %rsi
callq 0x24f7a
movl %eax, %ebx
movq 0x230(%rsp), %rdi
cmpq %r15, %rdi
je 0x2336b
movq 0x240(%rsp), %rsi
incq %rsi
callq 0x4340
testb %bl, %bl
je 0x24592
cvtsi2sd %r14, %xmm0
movsd %xmm0, 0x190(%rsp)
movq 0x308(%rsp), %rax
movq %rax, 0x30(%rsp)
leaq 0xa8(%rsp), %r15
movl $0x80, %eax
leaq (%r13,%rax), %rcx
movq %rcx, 0x128(%rsp)
movl $0x98, %ecx
leaq 0x550(%rsp), %rdx
addq %rcx, %rdx
movq %rdx, 0x120(%rsp)
addq %r12, %rax
movq %rax, 0x1a0(%rsp)
leaq 0x350(%rsp), %rax
addq %rax, %rcx
movq %rcx, 0x198(%rsp)
leaq 0xa0(%rsp), %rbp
leaq 0x8(%rsp), %r14
leaq 0x98(%rsp), %r13
leaq 0x2f8(%rsp), %rax
movq 0x30(%rsp), %rbx
cmpq %rax, %rbx
je 0x23ca1
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0xda32
leaq 0x40(%rbx), %rsi
leaq 0x350(%rsp), %rdi
callq 0x20c50
movb $0x23, 0x750(%rsp)
leaq 0x38(%rsp), %rdi
movq %r14, %rsi
leaq 0x750(%rsp), %rbx
movq %rbx, %rdx
callq 0x36b7c
movq %rbx, %rdi
callq 0x4240
leaq 0x9c0(%rsp), %rax
movq %rax, 0x9b0(%rsp)
leaq 0x9b0(%rsp), %rbx
movq %rbx, %rdi
leaq 0x1b6a1(%rip), %rdx     # 0x3eb22
movq %rdx, %rsi
callq 0x5384
leaq 0x768(%rsp), %rdi
movq %rbx, %rsi
callq 0x4490
movq 0x9b0(%rsp), %rdi
leaq 0x9c0(%rsp), %rax
cmpq %rax, %rdi
je 0x234be
movq 0x9c0(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x290(%rsp), %rsi
movq 0x298(%rsp), %rdx
leaq 0x760(%rsp), %rdi
callq 0x43a0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x1b885(%rip), %rsi     # 0x3ed72
callq 0x43a0
movq 0x38(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rbx, %rdi
callq 0x43a0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x185bf(%rip), %rsi     # 0x3bad7
callq 0x43a0
movq 0x370(%rsp), %rsi
movq %rbx, %rdi
callq 0x4210
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x18598(%rip), %rsi     # 0x3bad7
callq 0x43a0
movq 0x378(%rsp), %rsi
movq %rbx, %rdi
callq 0x4210
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x18571(%rip), %rsi     # 0x3bad7
callq 0x43a0
movq 0x398(%rsp), %rsi
movq 0x3a0(%rsp), %rdx
movq %rbx, %rdi
callq 0x43a0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x18542(%rip), %rsi     # 0x3bad7
callq 0x43a0
movq 0x38(%rsp), %rax
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
movq %rbx, %rdi
callq 0x43a0
movl $0x4, %edx
movq %rax, %rdi
leaq 0x1a993(%rip), %rsi     # 0x3df51
callq 0x43a0
movl $0x0, 0xd0(%rsp)
xorl %ecx, %ecx
movq %rcx, 0xd8(%rsp)
leaq 0xd0(%rsp), %rax
movq %rax, 0xe0(%rsp)
movq %rax, 0xe8(%rsp)
movq %rcx, 0xf0(%rsp)
leaq 0x210(%rsp), %rbx
movq %rbx, %rdi
leaq 0x768(%rsp), %rsi
callq 0x44f0
movq %rbx, %rdi
leaq 0xc8(%rsp), %rsi
callq 0x25744
movl %eax, %ebx
movq 0x210(%rsp), %rdi
leaq 0x220(%rsp), %rax
cmpq %rax, %rdi
je 0x23647
movq 0x220(%rsp), %rsi
incq %rsi
callq 0x4340
testb %bl, %bl
je 0x244ae
leaq 0x320(%rsp), %rdi
movq %r14, %rsi
callq 0x25bcc
movq %rax, %r12
cmpq %rdx, %rax
sete 0x28(%rsp)
je 0x23a9a
movq 0x30(%rsp), %rax
addq $0xc8, %rax
movq %rax, 0x118(%rsp)
movq %rdx, 0x1a8(%rsp)
leaq 0x68(%rsp), %rax
movq %rax, 0x58(%rsp)
movq 0x20(%r12), %rsi
movq 0x28(%r12), %rdx
addq %rsi, %rdx
leaq 0x58(%rsp), %rdi
callq 0xda32
leaq 0x40(%r12), %rsi
leaq 0x550(%rsp), %rdi
callq 0x20c50
movb $0x23, 0x9b0(%rsp)
leaq 0xf8(%rsp), %rdi
leaq 0x58(%rsp), %rsi
leaq 0x9b0(%rsp), %rbx
movq %rbx, %rdx
callq 0x36b7c
movq %rbx, %rdi
callq 0x4240
movq %r15, 0x98(%rsp)
movq %r13, %rdi
leaq 0x1b425(%rip), %rdx     # 0x3eb22
movq %rdx, %rsi
callq 0x5384
leaq 0x9c8(%rsp), %rdi
movq %r13, %rsi
callq 0x4490
movq 0x98(%rsp), %rdi
cmpq %r15, %rdi
je 0x23732
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x270(%rsp), %rsi
movq 0x278(%rsp), %rdx
leaq 0x9c0(%rsp), %rdi
callq 0x43a0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x1b611(%rip), %rsi     # 0x3ed72
callq 0x43a0
movq 0xf8(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rbx, %rdi
callq 0x43a0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x18348(%rip), %rsi     # 0x3bad7
callq 0x43a0
movq 0x570(%rsp), %rsi
movq %rbx, %rdi
callq 0x4210
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x18321(%rip), %rsi     # 0x3bad7
callq 0x43a0
movq 0x578(%rsp), %rsi
movq %rbx, %rdi
callq 0x4210
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x182fa(%rip), %rsi     # 0x3bad7
callq 0x43a0
movq 0x598(%rsp), %rsi
movq 0x5a0(%rsp), %rdx
movq %rbx, %rdi
callq 0x43a0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x182cb(%rip), %rsi     # 0x3bad7
callq 0x43a0
movq 0xf8(%rsp), %rax
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
movq %rbx, %rdi
callq 0x43a0
movl $0x4, %edx
movq %rax, %rdi
leaq 0x1a719(%rip), %rsi     # 0x3df51
callq 0x43a0
movl $0x0, 0xa0(%rsp)
xorl %eax, %eax
movq %rax, 0xa8(%rsp)
movq %rbp, 0xb0(%rsp)
movq %rbp, 0xb8(%rsp)
movq %rax, 0xc0(%rsp)
leaq 0x1f0(%rsp), %rbx
movq %rbx, %rdi
leaq 0x9c8(%rsp), %rsi
callq 0x44f0
movq %rbx, %rdi
movq %r13, %rsi
callq 0x25744
movl %eax, %r14d
movq 0x1f0(%rsp), %rdi
leaq 0x200(%rsp), %rax
cmpq %rax, %rdi
je 0x238b5
movq 0x200(%rsp), %rsi
incq %rsi
callq 0x4340
testb %r14b, %r14b
je 0x23ba5
movq 0xe0(%rsp), %rbx
leaq 0xd0(%rsp), %rax
cmpq %rax, %rbx
je 0x23991
xorl %r15d, %r15d
leaq 0x20(%rbx), %rsi
movq %r13, %rdi
callq 0xe368
xorl %ecx, %ecx
cmpq %rbp, %rax
setne %cl
addl %ecx, %r15d
movq %rbx, %rdi
callq 0x4230
movq %rax, %rbx
leaq 0xd0(%rsp), %rax
cmpq %rax, %rbx
jne 0x238da
cmpl $0x3, %r15d
leaq 0xa8(%rsp), %r15
jb 0x23991
movq 0x30(%rsp), %rax
cmpq $0x0, 0xd0(%rax)
je 0x2393a
movq 0x118(%rsp), %rdi
leaq 0x1a566(%rip), %rsi     # 0x3de9b
callq 0x45e0
movq 0x5b8(%rsp), %rsi
movq 0x5c0(%rsp), %rdx
movq 0x118(%rsp), %rdi
callq 0x4120
leaq 0xc8(%r12), %rbx
cmpq $0x0, 0xd0(%r12)
je 0x23979
movq %rbx, %rdi
leaq 0x1a527(%rip), %rsi     # 0x3de9b
callq 0x45e0
movq 0x3b8(%rsp), %rsi
movq 0x3c0(%rsp), %rdx
movq %rbx, %rdi
callq 0x4120
movq %r13, %rdi
callq 0xd8e0
leaq 0x9b0(%rsp), %rdi
movq 0x285f0(%rip), %rsi     # 0x4bf98
callq 0x4260
movq 0x128(%rsp), %rdi
callq 0x4140
leaq 0xf8(%rsp), %rdi
callq 0x6aa2
movq 0x5d8(%rsp), %rdi
cmpq 0x120(%rsp), %rdi
je 0x239e9
movq 0x5e8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x5b8(%rsp), %rdi
leaq 0x5c8(%rsp), %rax
cmpq %rax, %rdi
je 0x23a0e
movq 0x5c8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x598(%rsp), %rdi
leaq 0x5a8(%rsp), %rax
cmpq %rax, %rdi
je 0x23a33
movq 0x5a8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x550(%rsp), %rdi
leaq 0x560(%rsp), %rax
cmpq %rax, %rdi
je 0x23a58
movq 0x560(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x23a74
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x4340
testb %r14b, %r14b
je 0x23aa9
movq %r12, %rdi
callq 0x4230
movq %rax, %r12
movq 0x1a8(%rsp), %rdx
cmpq %rdx, %rax
sete 0x28(%rsp)
jne 0x2368b
movq 0x30(%rsp), %rdi
callq 0x4230
movq %rax, 0x30(%rsp)
leaq 0x8(%rsp), %r14
movb 0x28(%rsp), %bl
leaq 0xc8(%rsp), %rdi
callq 0xd8e0
leaq 0x750(%rsp), %rdi
movq 0x284ca(%rip), %rsi     # 0x4bf98
callq 0x4260
movq 0x1a0(%rsp), %rdi
callq 0x4140
leaq 0x38(%rsp), %rdi
callq 0x6aa2
movq 0x3d8(%rsp), %rdi
cmpq 0x198(%rsp), %rdi
je 0x23b0c
movq 0x3e8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x3b8(%rsp), %rdi
leaq 0x3c8(%rsp), %rax
cmpq %rax, %rdi
je 0x23b31
movq 0x3c8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x398(%rsp), %rdi
leaq 0x3a8(%rsp), %rax
cmpq %rax, %rdi
je 0x23b56
movq 0x3a8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x350(%rsp), %rdi
leaq 0x360(%rsp), %rax
cmpq %rax, %rdi
je 0x23b7b
movq 0x360(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x23b97
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4340
testb $0x1, %bl
jne 0x233f3
jmp 0x24592
movq %r13, %rdi
callq 0xd8e0
leaq 0x9b0(%rsp), %rdi
movq 0x283dc(%rip), %rsi     # 0x4bf98
callq 0x4260
movq 0x128(%rsp), %rdi
callq 0x4140
leaq 0xf8(%rsp), %rdi
callq 0x6aa2
movq 0x5d8(%rsp), %rdi
cmpq 0x120(%rsp), %rdi
je 0x23bfd
movq 0x5e8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x5b8(%rsp), %rdi
leaq 0x5c8(%rsp), %rax
cmpq %rax, %rdi
leaq 0x8(%rsp), %r14
movb 0x28(%rsp), %bl
je 0x23c2b
movq 0x5c8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x598(%rsp), %rdi
leaq 0x5a8(%rsp), %rax
cmpq %rax, %rdi
je 0x23c50
movq 0x5a8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x550(%rsp), %rdi
leaq 0x560(%rsp), %rax
cmpq %rax, %rdi
je 0x23c75
movq 0x560(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x23ab2
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x4340
jmp 0x23ab2
xorl %ebx, %ebx
jmp 0x245a1
movl $0x0, 0xd0(%rsp)
xorl %eax, %eax
movq %rax, 0xd8(%rsp)
leaq 0xd0(%rsp), %rcx
movq %rcx, 0xe0(%rsp)
movq %rcx, 0xe8(%rsp)
movq %rax, 0xf0(%rsp)
leaq 0x98(%rsp), %rdi
movq %r15, (%rdi)
movq 0x78(%rsp), %rsi
movq 0x80(%rsp), %rdx
addq %rsi, %rdx
callq 0xda32
leaq 0x1a161(%rip), %rsi     # 0x3de5e
leaq 0x98(%rsp), %rdi
callq 0x45e0
leaq 0x750(%rsp), %rdi
callq 0x4570
movq 0x98(%rsp), %rsi
leaq 0x750(%rsp), %rdi
movl $0x10, %edx
callq 0x4060
leaq 0x7c0(%rsp), %rdi
callq 0x40c0
testb %al, %al
je 0x246eb
leaq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
movq %rax, (%rdi)
movq 0x78(%rsp), %rsi
movq 0x80(%rsp), %rdx
addq %rsi, %rdx
callq 0xda32
leaq 0x1a105(%rip), %rsi     # 0x3de74
leaq 0x8(%rsp), %rdi
callq 0x45e0
leaq 0x9b0(%rsp), %rdi
callq 0x4570
movq 0x8(%rsp), %rsi
leaq 0x9b0(%rsp), %rdi
movl $0x10, %edx
callq 0x4060
leaq 0xa20(%rsp), %rdi
callq 0x40c0
testb %al, %al
je 0x24750
movq 0x308(%rsp), %rbx
leaq 0x2f8(%rsp), %rax
cmpq %rax, %rbx
je 0x240e4
leaq 0x170(%rsp), %rbp
leaq 0x150(%rsp), %r12
leaq 0x750(%rsp), %r14
leaq 0x560(%rsp), %rax
movq %rax, 0x550(%rsp)
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
addq %rsi, %rdx
leaq 0x550(%rsp), %rdi
callq 0xda32
leaq 0x40(%rbx), %rsi
leaq 0x350(%rsp), %rdi
callq 0x20c50
cmpq $0x0, 0x3e0(%rsp)
je 0x23fc0
leaq 0x140(%rsp), %rax
movq %rax, 0x130(%rsp)
movq 0x350(%rsp), %rsi
movq 0x358(%rsp), %rdx
addq %rsi, %rdx
leaq 0x130(%rsp), %rdi
callq 0xda32
movq 0x370(%rsp), %r15
movq 0x378(%rsp), %r13
movsd 0x390(%rsp), %xmm0
movsd %xmm0, 0x28(%rsp)
leaq 0x180(%rsp), %rax
movq %rax, 0x170(%rsp)
movq 0x398(%rsp), %rsi
movq 0x3a0(%rsp), %rdx
addq %rsi, %rdx
movq %rbp, %rdi
callq 0xda32
leaq 0x160(%rsp), %rax
movq %rax, 0x150(%rsp)
movq 0x3b8(%rsp), %rsi
movq 0x3c0(%rsp), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0xda32
leaq 0xc8(%rsp), %rdi
leaq 0x130(%rsp), %rsi
movq %r15, %rdx
movq %r13, %rcx
movsd 0x28(%rsp), %xmm0
movq %rbp, %r8
movq %r12, %r9
callq 0x36f04
movq 0x150(%rsp), %rdi
leaq 0x160(%rsp), %rax
cmpq %rax, %rdi
je 0x23f1c
movq 0x160(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x170(%rsp), %rdi
leaq 0x180(%rsp), %rax
cmpq %rax, %rdi
je 0x23f41
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x130(%rsp), %rdi
leaq 0x140(%rsp), %rax
cmpq %rax, %rdi
je 0x23f66
movq 0x140(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x3b8(%rsp), %rsi
movq 0x3c0(%rsp), %rdx
movq %r14, %rdi
callq 0x43a0
movl $0x7, %edx
movq %rax, %rdi
leaq 0x19eff(%rip), %rsi     # 0x3de8c
callq 0x43a0
movq 0x3d8(%rsp), %rsi
movq 0x3e0(%rsp), %rdx
movq %r14, %rdi
callq 0x43a0
movl $0x8, %edx
movq %rax, %rdi
leaq 0x19edb(%rip), %rsi     # 0x3de94
callq 0x43a0
jmp 0x24007
movq 0x3b8(%rsp), %rsi
movq 0x3c0(%rsp), %rdx
leaq 0x9b0(%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 0x3d8(%rsp), %rdi
leaq 0x3e8(%rsp), %rax
cmpq %rax, %rdi
je 0x24037
movq 0x3e8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x3b8(%rsp), %rdi
leaq 0x3c8(%rsp), %rax
cmpq %rax, %rdi
leaq 0xa8(%rsp), %r15
je 0x24064
movq 0x3c8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x398(%rsp), %rdi
leaq 0x3a8(%rsp), %rax
cmpq %rax, %rdi
je 0x24089
movq 0x3a8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x350(%rsp), %rdi
leaq 0x360(%rsp), %rax
cmpq %rax, %rdi
je 0x240ae
movq 0x360(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x550(%rsp), %rdi
leaq 0x560(%rsp), %rax
cmpq %rax, %rdi
je 0x240d3
movq 0x560(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x2f8(%rsp), %rax
cmpq %rax, %rbx
jne 0x23de3
leaq 0x19db2(%rip), %rdx     # 0x3de9d
leaq 0x58(%rsp), %rdi
leaq 0x78(%rsp), %rsi
callq 0x1fad2
leaq 0x350(%rsp), %rdi
callq 0x4570
leaq 0x328(%rsp), %r14
movq 0x58(%rsp), %rsi
leaq 0x350(%rsp), %rdi
movl $0x10, %edx
callq 0x4060
leaq 0x3c0(%rsp), %rdi
callq 0x40c0
testb %al, %al
je 0x2478d
movq 0x338(%rsp), %rbx
cmpq %r14, %rbx
je 0x2429b
leaq 0x48(%rsp), %rbp
leaq 0x5e8(%rsp), %r12
leaq 0x38(%rsp), %r14
leaq 0x550(%rsp), %r15
movq %rbp, 0x38(%rsp)
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0xda32
leaq 0x40(%rbx), %rsi
movq %r15, %rdi
callq 0x20c50
cmpq $0x0, 0x5e0(%rsp)
jne 0x241dc
movq 0x5b8(%rsp), %rsi
movq 0x5c0(%rsp), %rdx
leaq 0x350(%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 0x5d8(%rsp), %rdi
cmpq %r12, %rdi
je 0x24204
movq 0x5e8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x5b8(%rsp), %rdi
leaq 0x5c8(%rsp), %rax
cmpq %rax, %rdi
je 0x24229
movq 0x5c8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x598(%rsp), %rdi
leaq 0x5a8(%rsp), %rax
cmpq %rax, %rdi
je 0x2424e
movq 0x5a8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x550(%rsp), %rdi
leaq 0x560(%rsp), %rax
cmpq %rax, %rdi
je 0x24273
movq 0x560(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x38(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2428a
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x328(%rsp), %rax
cmpq %rax, %rbx
jne 0x24166
leaq 0x750(%rsp), %rdi
leaq 0xa8(%rsp), %r15
callq 0x4440
leaq 0x9b0(%rsp), %rdi
callq 0x4440
leaq 0x350(%rsp), %rdi
callq 0x4440
leaq 0x19be4(%rip), %rdx     # 0x3deb5
leaq 0x38(%rsp), %rdi
leaq 0x78(%rsp), %rsi
callq 0x1fad2
leaq 0x550(%rsp), %rdi
callq 0x4570
movq 0x38(%rsp), %rsi
leaq 0x550(%rsp), %rdi
movl $0x10, %edx
callq 0x4060
leaq 0x5c0(%rsp), %rdi
callq 0x40c0
testb %al, %al
je 0x247c7
leaq 0x980(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x2075a
leaq 0x1e0(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
addq %rsi, %rdx
leaq 0x1d0(%rsp), %rdi
callq 0xda32
leaq 0x980(%rsp), %rdi
leaq 0x1d0(%rsp), %rsi
callq 0x38cbc
movl %eax, %ebx
movq 0x1d0(%rsp), %rdi
cmpq %r14, %rdi
je 0x24388
movq 0x1e0(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x980(%rsp), %rdi
callq 0x20e10
testb %bl, %bl
je 0x247fd
leaq 0x19b2e(%rip), %rdx     # 0x3ded2
leaq 0xf8(%rsp), %rdi
leaq 0x78(%rsp), %rsi
callq 0x1fad2
leaq 0x950(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x2075a
leaq 0x1c0(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0xf8(%rsp), %rsi
movq 0x100(%rsp), %rdx
addq %rsi, %rdx
leaq 0x1b0(%rsp), %rdi
callq 0xda32
leaq 0x950(%rsp), %rdi
leaq 0x1b0(%rsp), %rsi
callq 0x377f4
movl %eax, %ebx
movq 0x1b0(%rsp), %rdi
cmpq %r14, %rdi
je 0x2442b
movq 0x1c0(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x950(%rsp), %rdi
callq 0x20e10
testb %bl, %bl
je 0x2490b
callq 0x4200
movq %rax, %r14
movq 0x27b79(%rip), %rdi     # 0x4bfc8
leaq 0x15eef(%rip), %rsi     # 0x3a345
movl $0x12, %edx
callq 0x43a0
cvtsi2sd %r14, %xmm0
subsd 0x190(%rsp), %xmm0
divsd 0x15b92(%rip), %xmm0    # 0x3a008
movq 0x27b4b(%rip), %rdi     # 0x4bfc8
callq 0x4510
movq %rax, %r14
leaq 0x15ecc(%rip), %rsi     # 0x3a358
movl $0x8, %edx
movq %rax, %rdi
callq 0x43a0
movq %r14, %rdi
callq 0x41a0
movq %rax, %rdi
callq 0x41a0
jmp 0x2492f
leaq 0xc8(%rsp), %rdi
callq 0xd8e0
movq 0x27ad6(%rip), %rsi     # 0x4bf98
leaq 0x750(%rsp), %rdi
callq 0x4260
leaq 0x7d0(%rsp), %rdi
callq 0x4140
leaq 0x38(%rsp), %rdi
callq 0x6aa2
leaq 0x3e8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x24507
movq 0x3e8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x3b8(%rsp), %rdi
leaq 0x3c8(%rsp), %rax
cmpq %rax, %rdi
je 0x2452c
movq 0x3c8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x398(%rsp), %rdi
leaq 0x3a8(%rsp), %rax
cmpq %rax, %rdi
je 0x24551
movq 0x3a8(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x350(%rsp), %rdi
leaq 0x360(%rsp), %rax
cmpq %rax, %rdi
je 0x24576
movq 0x360(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x24592
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4340
xorl %ebx, %ebx
leaq 0x320(%rsp), %rdi
callq 0x25ae6
leaq 0x2f0(%rsp), %rdi
callq 0x25ae6
leaq 0x280(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x245cf
movq 0x280(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x2a0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x245f0
movq 0x2a0(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x2c0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x24611
movq 0x2c0(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x2e0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x24632
movq 0x2e0(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x24654
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x2793d(%rip), %rsi     # 0x4bf98
leaq 0xbb0(%rsp), %rdi
callq 0x4260
leaq 0xc30(%rsp), %rdi
callq 0x4140
movl %ebx, %eax
addq $0xd38, %rsp            # imm = 0xD38
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x27938(%rip), %rdi     # 0x4bfc8
leaq 0x17574(%rip), %rsi     # 0x3bc0b
movl $0x22, %edx
callq 0x43a0
movq 0x78(%rsp), %rsi
movq 0x80(%rsp), %rdx
movq 0x27913(%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 0x24632
movq 0x278d6(%rip), %rdi     # 0x4bfc8
leaq 0x16475(%rip), %rsi     # 0x3ab6e
movl $0x1b, %edx
callq 0x43a0
movq 0x98(%rsp), %rsi
movq 0xa0(%rsp), %rdx
movq 0x278ae(%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 0x248a4
movq 0x27871(%rip), %rdi     # 0x4bfc8
leaq 0x16410(%rip), %rsi     # 0x3ab6e
movl $0x1b, %edx
callq 0x43a0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x2784f(%rip), %rdi     # 0x4bfc8
callq 0x43a0
movq %rax, %rdi
callq 0x41a0
xorl %ebx, %ebx
jmp 0x24850
movq 0x27834(%rip), %rdi     # 0x4bfc8
leaq 0x163d3(%rip), %rsi     # 0x3ab6e
movl $0x1b, %edx
callq 0x43a0
movq 0x58(%rsp), %rsi
movq 0x60(%rsp), %rdx
movq 0x27812(%rip), %rdi     # 0x4bfc8
callq 0x43a0
movq %rax, %rdi
callq 0x41a0
xorl %ebx, %ebx
jmp 0x24827
movq 0x277fa(%rip), %rdi     # 0x4bfc8
leaq 0x16399(%rip), %rsi     # 0x3ab6e
movl $0x1b, %edx
callq 0x43a0
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
movq 0x277d8(%rip), %rdi     # 0x4bfc8
callq 0x43a0
movq %rax, %rdi
callq 0x41a0
xorl %ebx, %ebx
leaq 0x550(%rsp), %rdi
callq 0x4480
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x24827
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x350(%rsp), %rdi
callq 0x4480
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x24850
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x27769(%rip), %rax     # 0x4bfc0
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x9b8(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x9b0(%rsp,%rcx)
callq 0x42a0
leaq 0xaa8(%rsp), %rdi
callq 0x4140
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x248a4
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x27715(%rip), %rax     # 0x4bfc0
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x758(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x750(%rsp,%rcx)
callq 0x42a0
leaq 0x848(%rsp), %rdi
callq 0x4140
movq 0x98(%rsp), %rdi
cmpq %r15, %rdi
je 0x248f9
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0xc8(%rsp), %rdi
callq 0x20e10
jmp 0x24594
movq 0x276b6(%rip), %rdi     # 0x4bfc8
leaq 0x17c09(%rip), %rsi     # 0x3c522
movl $0x2e, %edx
callq 0x43a0
movq 0x2769e(%rip), %rdi     # 0x4bfc8
callq 0x41a0
leaq 0x108(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x247ff
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x4340
jmp 0x247ff
movq %rax, %rbx
movq 0x1b0(%rsp), %rdi
cmpq %r14, %rdi
je 0x2497e
movq 0x1c0(%rsp), %rsi
incq %rsi
callq 0x4340
jmp 0x2497e
movq %rax, %rbx
leaq 0x950(%rsp), %rdi
callq 0x20e10
jmp 0x249c8
jmp 0x249ff
jmp 0x249c5
movq %rax, %rbx
movq 0x1d0(%rsp), %rdi
cmpq %r14, %rdi
je 0x249b6
movq 0x1e0(%rsp), %rsi
incq %rsi
callq 0x4340
jmp 0x249b6
movq %rax, %rbx
leaq 0x980(%rsp), %rdi
callq 0x20e10
jmp 0x24a02
movq %rax, %rbx
leaq 0x108(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x24a02
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x4340
jmp 0x24a02
movq %rax, %rbx
jmp 0x24a0f
jmp 0x24a6d
movq %rax, %rbx
jmp 0x24b36
jmp 0x24b62
movq %rax, %rbx
leaq 0x550(%rsp), %rdi
callq 0x4480
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x24b1c
jmp 0x24b29
jmp 0x24a28
movq %rax, %rbx
jmp 0x24c32
jmp 0x24afa
jmp 0x24a6d
movq %rax, %rbx
jmp 0x24c5b
movq %rax, %rbx
movq 0x98(%rsp), %rdi
cmpq %r15, %rdi
jne 0x24c70
jmp 0x24c80
movq %rax, %rbx
jmp 0x24c80
jmp 0x24b62
movq %rax, %rbx
jmp 0x24b12
movq %rax, %rbx
jmp 0x24b29
movq %rax, %rbx
jmp 0x24acc
movq %rax, %rbx
jmp 0x24aa7
movq %rax, %rbx
movq 0x150(%rsp), %rdi
leaq 0x160(%rsp), %rax
cmpq %rax, %rdi
je 0x24aa7
movq 0x160(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x170(%rsp), %rdi
leaq 0x180(%rsp), %rax
cmpq %rax, %rdi
je 0x24acc
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x130(%rsp), %rdi
leaq 0x140(%rsp), %rax
cmpq %rax, %rdi
je 0x24bf3
movq 0x140(%rsp), %rsi
incq %rsi
callq 0x4340
jmp 0x24bf3
movq %rax, %rbx
jmp 0x24c4e
movq %rax, %rbx
leaq 0x550(%rsp), %rdi
callq 0x2599c
movq 0x38(%rsp), %rdi
cmpq %rbp, %rdi
je 0x24b29
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x350(%rsp), %rdi
callq 0x4480
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x24c25
movq 0x68(%rsp), %rsi
jmp 0x24c1d
jmp 0x24bd9
jmp 0x24bd9
movq %rax, %rbx
jmp 0x24c00
movq %rax, %rbx
jmp 0x24c25
movq %rax, %rbx
movq 0x230(%rsp), %rdi
cmpq %r15, %rdi
je 0x24e91
movq 0x240(%rsp), %rsi
jmp 0x24e89
jmp 0x24d0b
movq %rax, %rbx
movq 0x250(%rsp), %rdi
cmpq %r15, %rdi
je 0x24e9e
movq 0x260(%rsp), %rsi
incq %rsi
callq 0x4340
jmp 0x24e9e
movq %rax, %rbx
jmp 0x24e9e
movq %rax, %rbx
jmp 0x24ecc
movq %rax, %rbx
jmp 0x24eed
movq %rax, %rbx
jmp 0x24f0e
movq %rax, %rbx
jmp 0x24f2f
jmp 0x24dbc
jmp 0x24d25
jmp 0x24dbc
movq %rax, %rbx
leaq 0x350(%rsp), %rdi
callq 0x2599c
movq 0x550(%rsp), %rdi
leaq 0x560(%rsp), %rax
cmpq %rax, %rdi
je 0x24c25
movq 0x560(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x9b0(%rsp), %rdi
callq 0x4480
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x24c4e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x750(%rsp), %rdi
callq 0x4480
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x24c80
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0xc8(%rsp), %rdi
callq 0x20e10
jmp 0x24e91
jmp 0x24d25
jmp 0x24dbc
jmp 0x24daf
movq %rax, %rbx
jmp 0x24e68
movq %rax, %rbx
jmp 0x24e75
movq %rax, %rbx
movq 0x210(%rsp), %rdi
leaq 0x220(%rsp), %rax
cmpq %rax, %rdi
je 0x24e30
movq 0x220(%rsp), %rsi
jmp 0x24e28
movq %rax, %rbx
movq 0x9b0(%rsp), %rdi
leaq 0x9c0(%rsp), %rax
cmpq %rax, %rdi
je 0x24e3d
movq 0x9c0(%rsp), %rsi
incq %rsi
callq 0x4340
jmp 0x24e3d
movq %rax, %rbx
jmp 0x24e91
jmp 0x24daf
jmp 0x24db4
movq %rax, %rbx
jmp 0x24e5e
movq %rax, %rbx
movq 0x750(%rsp), %rdi
cmpq %r12, %rdi
je 0x24f51
movq 0x760(%rsp), %rsi
jmp 0x24f49
jmp 0x24dbc
jmp 0x24dc9
movq %rax, %rbx
jmp 0x24dfa
movq %rax, %rbx
jmp 0x24e07
movq %rax, %rbx
movq 0x1f0(%rsp), %rdi
leaq 0x200(%rsp), %rax
cmpq %rax, %rdi
je 0x24dcc
movq 0x200(%rsp), %rsi
incq %rsi
callq 0x4340
jmp 0x24dcc
jmp 0x24dc9
movq %rax, %rbx
movq 0x98(%rsp), %rdi
cmpq %r15, %rdi
je 0x24dd9
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x4340
jmp 0x24dd9
movq %rax, %rbx
jmp 0x24e14
jmp 0x24dc4
movq %rax, %rbx
jmp 0x24e30
movq %rax, %rbx
jmp 0x24e3d
movq %rax, %rbx
jmp 0x24f51
movq %rax, %rbx
jmp 0x24dd9
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
callq 0xd8e0
movq 0x271b8(%rip), %rsi     # 0x4bf98
leaq 0x9b0(%rsp), %rdi
callq 0x4260
leaq 0xa30(%rsp), %rdi
callq 0x4140
leaq 0xf8(%rsp), %rdi
callq 0x6aa2
leaq 0x550(%rsp), %rdi
callq 0x2599c
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x24e30
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0xc8(%rsp), %rdi
callq 0xd8e0
movq 0x27154(%rip), %rsi     # 0x4bf98
leaq 0x750(%rsp), %rdi
callq 0x4260
leaq 0x7d0(%rsp), %rdi
callq 0x4140
leaq 0x38(%rsp), %rdi
callq 0x6aa2
leaq 0x350(%rsp), %rdi
callq 0x2599c
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x24e91
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x320(%rsp), %rdi
callq 0x25ae6
leaq 0x2f0(%rsp), %rdi
callq 0x25ae6
leaq 0x280(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x24ecc
movq 0x280(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x2a0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x24eed
movq 0x2a0(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x2c0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x24f0e
movq 0x2c0(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x2e0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x24f2f
movq 0x2e0(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x24f51
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x27040(%rip), %rsi     # 0x4bf98
leaq 0xbb0(%rsp), %rdi
callq 0x4260
leaq 0xc30(%rsp), %rdi
callq 0x4140
movq %rbx, %rdi
callq 0x45a0