// File: /workspace/github_cpp_makefile_star2_O1/kingufl[P]Rmapper/graph_traverse.cpp
// Function: main
int main(int argc, char *argv[]){


    Args args;
    parseArgs(argc, argv, args);


    ifstream infile1(args.dirname + "/graph.txt");
    ifstream infile2(args.dirname + "/graph_rev.txt");

    vector<vector<int> > fwd,rev;
    map<string,int> nodemap;
    int lastnode=0;


    vector< vector <string> > stringfwd;

    int dist=10000;

    string str;

    int totalin=0,totalout=0;


    vector<int> fwd_deeg(100,0);

    ofstream notenodes(args.dirname + "/nodenotes.txt");

    vector<string> storeallstr;

    while(getline(infile1,str)){

        stringstream sss(str);
        storeallstr.push_back(str);

        string instr;

        sss>>instr;

        notenodes<<"nn_"<<lastnode<<" "<<str<<endl;

        nodemap[instr]=lastnode++;

        vector<int> temvec;

        while(sss>>instr){

            if(instr.compare("fwd_conns:")==0)
                break;
            temvec.push_back(stoi(instr));
        }

        nodefrag.push_back(temvec);

        vector<string> vecstr;

        while(sss>>instr){
            vecstr.push_back(instr);
            totalout++;
        }

        if(vecstr.size()<100){
            fwd_deeg[vecstr.size()]++;
        }

        stringfwd.push_back(vecstr);

    }

    vector<int> sources,terminals,multiedges;

    int nodecnt=0;

    int problem=0;

    while(getline(infile2,str)){

        stringstream sss(str);

        string instr;

        sss>>instr;

        while(sss>>instr){

            if(instr.compare("rev_conns:")==0)
                break;
        }


        vector<string> vecstr;
        vector<int> temvec;

        while(sss>>instr){


            if(nodemap.find(instr)==nodemap.end()){
                cout<<"inproblem"<<nodecnt<<" "<<instr<<endl;
                problem++;
            }
            else{
                temvec.push_back(nodemap.find(instr)->second);
            }

            totalin++;
        }

        if(temvec.size()==0)
            sources.push_back(nodecnt);

        graphr.push_back(temvec);
        nodecnt++;

    }

    cout<<"Graph read. Total in: "<<totalin<<" Total out: "<<totalout<<endl;

//    cout<<"Inproblem: "<<problem;

    problem=0;

    int countextra=0,oneoutmorein=0;
    vector<int> singleton;

    ofstream graphcut(args.dirname + "/graphcut.txt");


    for(int i=0;i<stringfwd.size();i++){

        vector<int> temvec;
        for(int ii=0;ii<stringfwd[i].size();ii++){
            if(nodemap.find(stringfwd[i][ii])==nodemap.end()){
                cout<<"outprobelm: "<<i<<" "<<stringfwd[i][ii]<<endl;
                problem++;
            }
            else{
                temvec.push_back(nodemap.find(stringfwd[i][ii])->second);
            }

        }
        if(temvec.size()>15){
            graphcut<<storeallstr[i]<<endl;
            temvec.clear();
        }


        graphf.push_back(temvec);

        if(temvec.size()==0)
            terminals.push_back(i);

        if(temvec.size()>1)
            multiedges.push_back(i);


        if(temvec.size()==1 && graphr[i].size()==1)
            singleton.push_back(i);

        if(temvec.size()==1 && graphr[i].size()>1)
            oneoutmorein++;
    }
    cout<<endl;

//    cout<<"extra: "<<countextra<<endl;
    cout<<"Sources: "<<sources.size()<<" Terminals: "<<terminals.size()<< " Multiedges: "<<multiedges.size()<<" Singletons: "<< singleton.size()<<" Oneoutmorein: "<<oneoutmorein<<endl;
//    cout<<"Outprobelm: "<<problem<<endl;

//    for(int i=0;i<fwd_deeg.size();i++){
//
//        cout<<"deegree_"<<i<<" "<<fwd_deeg[i]<<endl;
//    }

    if(problem>0)
        return 1;


    int maxlevel=dist;

    ofstream maxreached(args.dirname + "/maxreached.txt");

    int resolved=0;

    int goodlength=0;

    vector< vector<int> > all_contigs;
    vector< vector<int> > contignodes;

    vector< vector <int> > source_contigs;

    vector< pair<int,int> > node_to_con(graphf.size(),make_pair(-1,-1));

    nodestatus.resize(graphf.size(),-1);

    kmersize = (nodefrag[0].size()-1)/2;

    ofstream finalcons(args.dirname + "/assembly.txt");
    ofstream outnodes(args.dirname + "/connodes.txt");


    int longestcon=0,totlen=0;

    vector< pair<int,int> > nodereachedat(graphf.size(),make_pair(-1,-1));

    int resol=0;

    for(int i=0;i<multiedges.size();i++){

        nodestatus[multiedges[i]]=multiedges[i];

        int maxlvlreached=0,maxedge=-1;


        vector<int> updatededges;
        maxreached<<multiedges[i]<<endl;



        for(int outedge: graphf[multiedges[i]]){

            nothit=0;
            maxlvl=0;
            DFS_trim(multiedges[i],outedge,1,50);
            maxreached<<"\t"<<outedge<<" "<<maxlvl;

            if(maxlvl==50){
                if(!updatededges.empty()){
                    maxreached<<" Keep";
                }
                updatededges.push_back(outedge);
                maxlvlreached=maxlvl;

            }
            else{
                if(maxlvlreached<maxlvl){
                    maxlvlreached=maxlvl;
                    maxedge=outedge;
                }

            }

            maxreached<<endl;

        }

        if(updatededges.empty()){
            updatededges.push_back(maxedge);
        }

        if(updatededges.size()==1)
            resol++;
        else{
            for(int keepedge: updatededges)
                sources.push_back(keepedge);
        }

        graphf[multiedges[i]]=updatededges;
    }

    cout<<"Multiedges unresolved: "<<multiedges.size()-resol<<endl;

//    return 1;

    vector<int> skipped (sources.size(),0);

    for(int i=0;i<sources.size();i++){

        thiscontig.clear();
        thispath.clear();

        longestcontig.clear();
        longestpath.clear();

//        tobeincluded=0;

        for(int ii=0;ii<kmersize-1;ii++){

            thiscontig.push_back(nodefrag[sources[i]][ii]);
        }
        thispath.push_back(sources[i]);

        nodestatus[sources[i]]=sources[i];

        for(int nextnode : graphf[sources[i]]){

            DFS(sources[i],nextnode,2,10000);

        }



        for(int ii=0;ii<longestpath.size();ii++){

            int nodethis=longestpath[ii];

            if(nodereachedat[nodethis].first==-1){
                nodereachedat[nodethis]=make_pair(i,ii);
            }
            else{

                if(nodereachedat[nodethis].second<ii){
                    skipped[nodereachedat[nodethis].first]++;
                    nodereachedat[nodethis]=make_pair(i,ii);
                }
                else{
                    skipped[i]++;
                }

                break;


            }

        }



        all_contigs.push_back(longestcontig);
        contignodes.push_back(longestpath);


    }


    vector<int> nodesnotvisited;

    vector<int> nodesincluded(graphf.size(),0);


    for(int ii=0;ii<nodestatus.size();ii++){

        if(nodestatus[ii]==-1)
            nodesnotvisited.push_back(ii);
    }

    cout<<"Nodes not visited: "<<nodesnotvisited.size()<<endl;

    int countedcontigs=0;
    double longestgenome=0;
    float totgenome=0;
    int filsize=30;

    cout<<"numcons: "<<all_contigs.size()<<" "<<endl;


//    for(int i=0;i<all_contigs.size();i++){
//        cout<<i<<" "<<all_contigs[i].size()<<endl;
//    }

//    return 1;



    for(int i=0;i<all_contigs.size();i++){

        if(skipped[i]>0 || all_contigs[i].size()<filsize)
            continue;

        countedcontigs++;

        finalcons<<"contig_"<<i<<endl<<"\t"<<all_contigs[i].size()<<" enzyme ";
        outnodes<<"contig_"<<i<<" ";

        for(int ii:contignodes[i]){
            outnodes<<" "<<ii;
            nodesincluded[ii]++;
        }


        outnodes<<endl;


        if(all_contigs[i].size()>longestcon)
            longestcon=all_contigs[i].size();

        totlen+=all_contigs[i].size();

        int thisgenlen=0;

        for(int ii:all_contigs[i]){

            finalcons<<(float)ii/1000<<" ";
            thisgenlen+=ii;
        }

        if(thisgenlen>longestgenome)
            longestgenome=thisgenlen;


        totgenome+=((float)thisgenlen/1000000);

        finalcons<<endl<<endl;

    }

    int notinc=0;
    for(int ii:nodesincluded){
        if(ii==0)
            notinc++;
    }


    cout<<"Contigs below size "<< filsize<<" filtered."<<endl;
    cout<<"Number of contigs: "<<countedcontigs<<endl;
    cout<<"Longest contig size: "<<longestcon<<endl;
    cout<<"Mean contig size: "<<totlen/countedcontigs<<endl;
    cout<<"Longest contig length in Mbp: "<<longestgenome/1000000<<endl;
    cout<<"Mean contig length in Mbp: "<<totgenome/(countedcontigs)<<endl;
    cout<<"Nodes not included: "<<notinc<< " Num nodes:"<<graphf.size()<<endl;


}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1098, %rsp           # imm = 0x1098
leaq -0xd0(%rbp), %rax
movq %rax, -0x10(%rax)
movw $0x2e, (%rax)
movq $0x1, -0x8(%rax)
leaq -0xe0(%rbp), %rdx
callq 0x28e8
leaq -0xea8(%rbp), %rbx
movq %rbx, -0x10(%rbx)
movq -0xe0(%rbp), %rsi
movq -0xd8(%rbp), %rdx
addq %rsi, %rdx
leaq -0xeb8(%rbp), %rdi
callq 0x53d6
leaq 0x450b(%rip), %rsi      # 0x70a2
leaq -0xeb8(%rbp), %rdi
callq 0x2330
leaq -0x10c0(%rbp), %rdi
leaq -0xeb8(%rbp), %rsi
movl $0x8, %edx
callq 0x22c0
movq -0xeb8(%rbp), %rdi
cmpq %rbx, %rdi
je 0x2bcc
callq 0x21c0
leaq -0xca0(%rbp), %rbx
movq %rbx, -0x10(%rbx)
movq -0xe0(%rbp), %rsi
movq -0xd8(%rbp), %rdx
addq %rsi, %rdx
leaq -0xcb0(%rbp), %rdi
callq 0x53d6
leaq 0x44b2(%rip), %rsi      # 0x70ad
leaq -0xcb0(%rbp), %rdi
callq 0x2330
leaq -0xeb8(%rbp), %rdi
leaq -0xcb0(%rbp), %rsi
movl $0x8, %edx
callq 0x22c0
movq -0xcb0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x2c30
callq 0x21c0
xorl %eax, %eax
movq %rax, -0x280(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x290(%rbp)
movq %rax, -0x260(%rbp)
movaps %xmm0, -0x270(%rbp)
leaq -0x228(%rbp), %rcx
movl $0x0, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
movq %rax, -0x120(%rbp)
movaps %xmm0, -0x130(%rbp)
leaq -0x1b0(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb $0x0, (%rcx)
movl $0x190, %edi            # imm = 0x190
callq 0x21e0
movl $0x190, %edx            # imm = 0x190
movq %rax, -0x140(%rbp)
movq %rax, %rdi
xorl %esi, %esi
callq 0x2100
leaq -0xaa0(%rbp), %rbx
movq %rbx, -0x10(%rbx)
movq -0xe0(%rbp), %rsi
movq -0xd8(%rbp), %rdx
addq %rsi, %rdx
leaq -0xab0(%rbp), %rdi
callq 0x53d6
leaq 0x43df(%rip), %rsi      # 0x70bc
leaq -0xab0(%rbp), %rdi
callq 0x2330
leaq -0xcb0(%rbp), %rdi
leaq -0xab0(%rbp), %rsi
movl $0x10, %edx
callq 0x2340
movq -0xab0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x2d12
callq 0x21c0
xorps %xmm0, %xmm0
leaq -0x200(%rbp), %rax
movaps %xmm0, (%rax)
movq $0x0, 0x10(%rax)
xorl %r15d, %r15d
leaq -0xab0(%rbp), %r14
leaq -0x490(%rbp), %r13
movl $0x0, -0x48(%rbp)
movq -0x10c0(%rbp), %rax
movq -0x18(%rax), %rdi
leaq -0x10c0(%rbp), %rbx
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %edx
movq %rbx, %rdi
leaq -0x1c0(%rbp), %rsi
callq 0x2320
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
leaq -0x1c0(%rbp), %rbx
jne 0x3037
movq %r14, %rdi
movq %rbx, %rsi
movl $0x18, %edx
callq 0x22a0
leaq -0x200(%rbp), %rdi
movq %rbx, %rsi
callq 0x50a4
leaq -0x480(%rbp), %rax
movq %rax, -0x490(%rbp)
movq $0x0, -0x488(%rbp)
movb $0x0, -0x480(%rbp)
movq %r14, %rdi
movq %r13, %rsi
callq 0x2230
movl $0x3, %edx
leaq -0xcb0(%rbp), %rdi
leaq 0x42e5(%rip), %rsi      # 0x70cb
callq 0x2210
leaq -0xcb0(%rbp), %rdi
movl -0x48(%rbp), %esi
callq 0x22f0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x448a(%rip), %rsi      # 0x7296
callq 0x2210
movq -0x1c0(%rbp), %rsi
movq -0x1b8(%rbp), %rdx
movq %rbx, %rdi
callq 0x2210
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
leaq -0x230(%rbp), %rdi
movq %r13, %rsi
callq 0x50f0
movl -0x48(%rbp), %ecx
movl %ecx, (%rax)
incl %ecx
movl %ecx, -0x48(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x6b0(%rbp)
movq $0x0, -0x6a0(%rbp)
movq %r14, %rdi
movq %r13, %rsi
callq 0x2230
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x2f5d
movq %r13, %rdi
leaq 0x4229(%rip), %rsi      # 0x70cf
callq 0x2090
testl %eax, %eax
je 0x2f5d
movl %r15d, %r12d
movq %r14, %r15
movq -0x490(%rbp), %r14
callq 0x2050
movq %rax, %rbx
movl (%rax), %eax
movl %eax, -0x30(%rbp)
movl $0x0, (%rbx)
movq %r14, %rdi
leaq -0x8b0(%rbp), %rsi
movl $0xa, %edx
callq 0x2240
cmpq %r14, -0x8b0(%rbp)
je 0x4a8b
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0x4a97
movl (%rbx), %ecx
cmpl $0x22, %ecx
je 0x4a97
testl %ecx, %ecx
jne 0x2f14
movl -0x30(%rbp), %ecx
movl %ecx, (%rbx)
movl %eax, -0x1a0(%rbp)
movq -0x6a8(%rbp), %rsi
cmpq -0x6a0(%rbp), %rsi
movq %r15, %r14
je 0x2f42
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x6a8(%rbp)
movl %r12d, %r15d
jmp 0x2e7f
leaq -0x6b0(%rbp), %rdi
leaq -0x1a0(%rbp), %rdx
callq 0x5b6a
movl %r12d, %r15d
jmp 0x2e7f
leaq 0x72a4(%rip), %rdi      # 0xa208
leaq -0x6b0(%rbp), %rsi
callq 0x5170
xorps %xmm0, %xmm0
movaps %xmm0, -0x8b0(%rbp)
movq $0x0, -0x8a0(%rbp)
leaq -0x8b0(%rbp), %rbx
movq %r14, %rdi
movq %r13, %rsi
callq 0x2230
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x2fb5
movq %rbx, %rdi
movq %r13, %rsi
callq 0x50a4
incl %r15d
jmp 0x2f8c
movq -0x8a8(%rbp), %rax
subq -0x8b0(%rbp), %rax
sarq $0x5, %rax
cmpq $0x63, %rax
ja 0x2fd7
movq -0x140(%rbp), %rcx
incl (%rcx,%rax,4)
leaq -0x130(%rbp), %rdi
movq %rbx, %rsi
callq 0x51ac
movq %rbx, %rdi
callq 0x51e8
movq -0x6b0(%rbp), %rdi
testq %rdi, %rdi
je 0x2fff
callq 0x21c0
movq -0x490(%rbp), %rdi
leaq -0x480(%rbp), %rax
cmpq %rax, %rdi
je 0x3017
callq 0x21c0
movq %r14, %rdi
movq 0x6f8f(%rip), %rsi      # 0x9fb0
callq 0x2160
leaq -0xa30(%rbp), %rdi
callq 0x20a0
jmp 0x2d3f
xorps %xmm0, %xmm0
leaq -0x80(%rbp), %rax
movaps %xmm0, (%rax)
xorl %ecx, %ecx
movq %rcx, 0x10(%rax)
movq %rcx, -0x170(%rbp)
movaps %xmm0, -0x180(%rbp)
movq %rcx, -0x90(%rbp)
movaps %xmm0, -0xa0(%rbp)
leaq -0x3c(%rbp), %rax
movl $0x0, (%rax)
leaq -0xab0(%rbp), %rbx
leaq -0x490(%rbp), %r13
xorl %r14d, %r14d
movq -0xeb8(%rbp), %rax
movq -0x18(%rax), %rdi
leaq -0xeb8(%rbp), %r12
addq %r12, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %edx
movq %r12, %rdi
leaq -0x1c0(%rbp), %rsi
callq 0x2320
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x32f8
movq %rbx, %rdi
leaq -0x1c0(%rbp), %rsi
movl $0x18, %edx
callq 0x22a0
leaq -0x480(%rbp), %rax
movq %rax, -0x490(%rbp)
movq $0x0, -0x488(%rbp)
movb $0x0, -0x480(%rbp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x2230
movq %rbx, %rdi
movq %r13, %rsi
callq 0x2230
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x312c
movq %r13, %rdi
leaq 0x3fb7(%rip), %rsi      # 0x70da
callq 0x2090
testl %eax, %eax
jne 0x3100
xorps %xmm0, %xmm0
movaps %xmm0, -0x6b0(%rbp)
xorl %eax, %eax
movq %rax, -0x6a0(%rbp)
movq %rax, -0x8a0(%rbp)
movaps %xmm0, -0x8b0(%rbp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x2230
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x3257
leaq -0x230(%rbp), %rdi
movq %r13, %rsi
callq 0x61fc
leaq -0x228(%rbp), %rcx
cmpq %rcx, %rax
je 0x31c0
leaq -0x230(%rbp), %rdi
movq %r13, %rsi
callq 0x61fc
addq $0x40, %rax
movq -0x8a8(%rbp), %rsi
cmpq -0x8a0(%rbp), %rsi
je 0x3240
movl (%rax), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x8a8(%rbp)
jmp 0x324f
movl $0x9, %edx
movq 0x6e04(%rip), %rdi      # 0x9fd0
leaq 0x3f12(%rip), %rsi      # 0x70e5
callq 0x2210
movl -0x3c(%rbp), %esi
movq 0x6dee(%rip), %rdi      # 0x9fd0
callq 0x22f0
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
leaq 0x409d(%rip), %rsi      # 0x7296
callq 0x2210
movq -0x490(%rbp), %rsi
movq -0x488(%rbp), %rdx
movq %r12, %rdi
callq 0x2210
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %r12, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
jmp 0x324f
leaq -0x8b0(%rbp), %rdi
movq %rax, %rdx
callq 0x548e
incl %r14d
jmp 0x314d
movq -0x8a8(%rbp), %rax
cmpq -0x8b0(%rbp), %rax
jne 0x328d
movq -0x78(%rbp), %rsi
cmpq -0x70(%rbp), %rsi
je 0x3280
movl -0x3c(%rbp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x78(%rbp)
jmp 0x328d
leaq -0x80(%rbp), %rdi
leaq -0x3c(%rbp), %rdx
callq 0x548e
leaq 0x6f54(%rip), %rdi      # 0xa1e8
leaq -0x8b0(%rbp), %rsi
callq 0x5170
incl -0x3c(%rbp)
movq -0x8b0(%rbp), %rdi
testq %rdi, %rdi
je 0x32b4
callq 0x21c0
leaq -0x6b0(%rbp), %rdi
callq 0x51e8
movq -0x490(%rbp), %rdi
leaq -0x480(%rbp), %rax
cmpq %rax, %rdi
je 0x32d8
callq 0x21c0
movq %rbx, %rdi
movq 0x6cce(%rip), %rsi      # 0x9fb0
callq 0x2160
leaq -0xa30(%rbp), %rdi
callq 0x20a0
jmp 0x307e
movq 0x6cd1(%rip), %rdi      # 0x9fd0
leaq 0x3de9(%rip), %rsi      # 0x70ef
movl $0x16, %edx
callq 0x2210
movq 0x6cb9(%rip), %rdi      # 0x9fd0
movl %r14d, %esi
callq 0x22f0
movq %rax, %rbx
leaq 0x3ddd(%rip), %rsi      # 0x7106
movl $0xc, %edx
movq %rax, %rdi
callq 0x2210
movq %rbx, %rdi
movl %r15d, %esi
callq 0x22f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
xorps %xmm0, %xmm0
movaps %xmm0, -0x160(%rbp)
movq $0x0, -0x150(%rbp)
leaq -0x490(%rbp), %rdi
leaq -0x480(%rbp), %rax
movq %rax, (%rdi)
movq -0xe0(%rbp), %rsi
movq -0xd8(%rbp), %rdx
addq %rsi, %rdx
callq 0x53d6
leaq 0x3d65(%rip), %rsi      # 0x7113
leaq -0x490(%rbp), %rdi
callq 0x2330
leaq -0xab0(%rbp), %rdi
leaq -0x490(%rbp), %rsi
movl $0x10, %edx
callq 0x2340
movq -0x490(%rbp), %rdi
leaq -0x480(%rbp), %rax
cmpq %rax, %rdi
je 0x33ea
callq 0x21c0
movl $0x0, -0x6b0(%rbp)
movq -0x128(%rbp), %rax
movabsq $-0x5555555555555555, %r12 # imm = 0xAAAAAAAAAAAAAAAB
cmpq -0x130(%rbp), %rax
je 0x37ad
xorl %r12d, %r12d
leaq -0x230(%rbp), %r14
movl $0x0, -0x30(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x490(%rbp)
movq $0x0, -0x480(%rbp)
movslq -0x6b0(%rbp), %rax
movq -0x130(%rbp), %rcx
leaq (%rax,%rax,2), %rdx
movq (%rcx,%rdx,8), %rsi
cmpq %rsi, 0x8(%rcx,%rdx,8)
je 0x359a
xorl %ebx, %ebx
xorl %r15d, %r15d
addq %rbx, %rsi
movq %r14, %rdi
callq 0x61fc
leaq -0x228(%rbp), %rcx
cmpq %rcx, %rax
je 0x34c2
movslq -0x6b0(%rbp), %rax
movq -0x130(%rbp), %rcx
leaq (%rax,%rax,2), %rax
movq (%rcx,%rax,8), %rsi
addq %rbx, %rsi
movq %r14, %rdi
callq 0x61fc
addq $0x40, %rax
movq -0x488(%rbp), %rsi
cmpq -0x480(%rbp), %rsi
je 0x3559
movl (%rax), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x488(%rbp)
jmp 0x3568
movl $0xc, %edx
movq 0x6b02(%rip), %rdi      # 0x9fd0
leaq 0x3c4c(%rip), %rsi      # 0x7121
callq 0x2210
movl -0x6b0(%rbp), %esi
movq 0x6ae9(%rip), %rdi      # 0x9fd0
callq 0x22f0
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
leaq 0x3d98(%rip), %rsi      # 0x7296
callq 0x2210
movslq -0x6b0(%rbp), %rax
movq -0x130(%rbp), %rcx
leaq (%rax,%rax,2), %rax
movq (%rcx,%rax,8), %rax
movq (%rax,%rbx), %rsi
movq 0x8(%rax,%rbx), %rdx
movq %r13, %rdi
callq 0x2210
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %r13, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
incl %r12d
jmp 0x3568
leaq -0x490(%rbp), %rdi
movq %rax, %rdx
callq 0x548e
incq %r15
movslq -0x6b0(%rbp), %rax
movq -0x130(%rbp), %rcx
leaq (%rax,%rax,2), %rdx
movq (%rcx,%rdx,8), %rsi
movq 0x8(%rcx,%rdx,8), %rcx
subq %rsi, %rcx
sarq $0x5, %rcx
addq $0x20, %rbx
cmpq %r15, %rcx
ja 0x345e
movq -0x488(%rbp), %rcx
subq -0x490(%rbp), %rcx
cmpq $0x3c, %rcx
jbe 0x360f
movq -0x200(%rbp), %rcx
shlq $0x5, %rax
movq (%rcx,%rax), %rsi
movq 0x8(%rcx,%rax), %rdx
leaq -0xab0(%rbp), %rdi
callq 0x2210
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %r13, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
movq -0x490(%rbp), %rax
cmpq %rax, -0x488(%rbp)
je 0x360f
movq %rax, -0x488(%rbp)
leaq 0x6bba(%rip), %rdi      # 0xa1d0
leaq -0x490(%rbp), %rsi
callq 0x5170
movq -0x488(%rbp), %rax
cmpq -0x490(%rbp), %rax
jne 0x366a
movq -0x178(%rbp), %rsi
cmpq -0x170(%rbp), %rsi
je 0x3657
movl -0x6b0(%rbp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x178(%rbp)
jmp 0x366a
leaq -0x180(%rbp), %rdi
leaq -0x6b0(%rbp), %rdx
callq 0x548e
movq -0x488(%rbp), %rax
subq -0x490(%rbp), %rax
cmpq $0x5, %rax
jb 0x36b6
movq -0x98(%rbp), %rsi
cmpq -0x90(%rbp), %rsi
je 0x36a3
movl -0x6b0(%rbp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x98(%rbp)
jmp 0x36b6
leaq -0xa0(%rbp), %rdi
leaq -0x6b0(%rbp), %rdx
callq 0x548e
movq -0x488(%rbp), %rax
subq -0x490(%rbp), %rax
cmpq $0x4, %rax
jne 0x371d
movslq -0x6b0(%rbp), %rax
movq 0x6b10(%rip), %rcx      # 0xa1e8
leaq (%rax,%rax,2), %rdx
movq 0x8(%rcx,%rdx,8), %rsi
subq (%rcx,%rdx,8), %rsi
cmpq $0x4, %rsi
jne 0x371d
movq -0x158(%rbp), %rsi
cmpq -0x150(%rbp), %rsi
je 0x370a
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x158(%rbp)
jmp 0x371d
leaq -0x160(%rbp), %rdi
leaq -0x6b0(%rbp), %rdx
callq 0x548e
movq -0x490(%rbp), %rdi
movq -0x488(%rbp), %rax
subq %rdi, %rax
cmpq $0x4, %rax
jne 0x3757
movslq -0x6b0(%rbp), %rax
movq 0x6aa6(%rip), %rcx      # 0xa1e8
leaq (%rax,%rax,2), %rax
movq 0x8(%rcx,%rax,8), %rdx
subq (%rcx,%rax,8), %rdx
cmpq $0x5, %rdx
sbbl $-0x1, -0x30(%rbp)
testq %rdi, %rdi
je 0x3761
callq 0x21c0
movslq -0x6b0(%rbp), %rax
incq %rax
movq -0x128(%rbp), %rcx
subq -0x130(%rbp), %rcx
movl %eax, -0x6b0(%rbp)
sarq $0x3, %rcx
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %rcx
cmpq %rax, %rcx
ja 0x3423
testl %r12d, %r12d
setg %r14b
movabsq $-0x5555555555555555, %r12 # imm = 0xAAAAAAAAAAAAAAAB
jmp 0x37b7
movl $0x0, -0x30(%rbp)
xorl %r14d, %r14d
movq 0x6812(%rip), %rdi      # 0x9fd0
movq (%rdi), %rax
addq -0x18(%rax), %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq 0x67f7(%rip), %rdi      # 0x9fd0
callq 0x2030
movq %rax, %rdi
callq 0x2130
movq 0x67e3(%rip), %rdi      # 0x9fd0
leaq 0x393a(%rip), %rsi      # 0x712e
movl $0x9, %edx
callq 0x2210
movq -0x78(%rbp), %rsi
subq -0x80(%rbp), %rsi
sarq $0x2, %rsi
movq 0x67bf(%rip), %rdi      # 0x9fd0
callq 0x2120
movq %rax, %rbx
leaq 0x3918(%rip), %rsi      # 0x7138
movl $0xc, %edx
movq %rax, %rdi
callq 0x2210
movq -0x178(%rbp), %rsi
subq -0x180(%rbp), %rsi
sarq $0x2, %rsi
movq %rbx, %rdi
callq 0x2120
movq %rax, %rbx
leaq 0x38f4(%rip), %rsi      # 0x7145
movl $0xd, %edx
movq %rax, %rdi
callq 0x2210
movq -0x98(%rbp), %rsi
subq -0xa0(%rbp), %rsi
sarq $0x2, %rsi
movq %rbx, %rdi
callq 0x2120
movq %rax, %rbx
leaq 0x38d1(%rip), %rsi      # 0x7153
movl $0xd, %edx
movq %rax, %rdi
callq 0x2210
movq -0x158(%rbp), %rsi
subq -0x160(%rbp), %rsi
sarq $0x2, %rsi
movq %rbx, %rdi
callq 0x2120
movq %rax, %rbx
leaq 0x38ae(%rip), %rsi      # 0x7161
movl $0xf, %edx
movq %rax, %rdi
callq 0x2210
movq %rbx, %rdi
movl -0x30(%rbp), %esi
callq 0x22f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
movl $0x1, %ebx
testb %r14b, %r14b
jne 0x4948
leaq -0x6a0(%rbp), %rbx
movq %rbx, -0x10(%rbx)
movq -0xe0(%rbp), %rsi
movq -0xd8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x6b0(%rbp), %rdi
callq 0x53d6
leaq 0x383f(%rip), %rsi      # 0x7171
leaq -0x6b0(%rbp), %rdi
callq 0x2330
leaq -0x490(%rbp), %rdi
leaq -0x6b0(%rbp), %rsi
movl $0x10, %edx
callq 0x2340
movq -0x6b0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x3967
callq 0x21c0
xorl %eax, %eax
movq %rax, -0x100(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x110(%rbp)
movq %rax, -0x1d0(%rbp)
movaps %xmm0, -0x1e0(%rbp)
movq %rax, -0x240(%rbp)
movaps %xmm0, -0x250(%rbp)
movq 0x683b(%rip), %rsi      # 0xa1d8
subq 0x682c(%rip), %rsi      # 0xa1d0
sarq $0x3, %rsi
imulq %r12, %rsi
leaq -0x6b0(%rbp), %rdx
movq $-0x1, (%rdx)
leaq -0x4a8(%rbp), %rdi
leaq -0x8b0(%rbp), %rcx
callq 0x5236
movq 0x6804(%rip), %rsi      # 0xa1d8
subq 0x67f5(%rip), %rsi      # 0xa1d0
sarq $0x3, %rsi
imulq %r12, %rsi
leaq -0x6b0(%rbp), %rdx
movl $0xffffffff, (%rdx)     # imm = 0xFFFFFFFF
leaq 0x68a1(%rip), %rdi      # 0xa298
callq 0x52b4
movq 0x6805(%rip), %rax      # 0xa208
movq 0x8(%rax), %rcx
subq (%rax), %rcx
shrq $0x2, %rcx
decq %rcx
shrq %rcx
movl %ecx, 0x6896(%rip)      # 0xa2b0
leaq -0x8a0(%rbp), %rbx
movq %rbx, -0x10(%rbx)
movq -0xe0(%rbp), %rsi
movq -0xd8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x8b0(%rbp), %rdi
callq 0x53d6
leaq 0x3738(%rip), %rsi      # 0x7181
leaq -0x8b0(%rbp), %rdi
callq 0x2330
leaq -0x6b0(%rbp), %rdi
leaq -0x8b0(%rbp), %rsi
movl $0x10, %edx
callq 0x2340
movq -0x8b0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x3a7e
callq 0x21c0
leaq -0x190(%rbp), %rbx
movq %rbx, -0x10(%rbx)
movq -0xe0(%rbp), %rsi
movq -0xd8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x1a0(%rbp), %rdi
callq 0x53d6
leaq 0x36e2(%rip), %rsi      # 0x718f
leaq -0x1a0(%rbp), %rdi
callq 0x2330
leaq -0x8b0(%rbp), %rdi
leaq -0x1a0(%rbp), %rsi
movl $0x10, %edx
callq 0x2340
movq -0x1a0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x3ae2
callq 0x21c0
movq 0x66ef(%rip), %rsi      # 0xa1d8
subq 0x66e0(%rip), %rsi      # 0xa1d0
sarq $0x3, %rsi
imulq %r12, %rsi
leaq -0x60(%rbp), %rdx
movq $-0x1, (%rdx)
leaq -0x1a0(%rbp), %rdi
leaq -0xc0(%rbp), %rcx
callq 0x5236
movq -0xa0(%rbp), %rax
xorl %ebx, %ebx
cmpq %rax, -0x98(%rbp)
je 0x3dec
xorl %r13d, %r13d
movl $0x0, -0x30(%rbp)
movslq (%rax,%r13,4), %rcx
movq 0x6757(%rip), %rdx      # 0xa298
movl %ecx, (%rdx,%rcx,4)
movl $0xffffffff, -0xc0(%rbp) # imm = 0xFFFFFFFF
xorps %xmm0, %xmm0
movaps %xmm0, -0x60(%rbp)
movq $0x0, -0x50(%rbp)
movl (%rax,%r13,4), %esi
leaq -0x490(%rbp), %rdi
callq 0x22f0
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %r12, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
movq -0xa0(%rbp), %rax
movq %r13, %r14
movslq (%rax,%r13,4), %rax
movq 0x6624(%rip), %rcx      # 0xa1d0
leaq (%rax,%rax,2), %rax
movq (%rcx,%rax,8), %r13
movq 0x8(%rcx,%rax,8), %rbx
cmpq %rbx, %r13
je 0x3cff
xorl %r15d, %r15d
movl (%r13), %esi
movl %esi, -0xf8(%rbp)
xorl %eax, %eax
movl %eax, 0x66dd(%rip)      # 0xa2b4
movl %eax, 0x66db(%rip)      # 0xa2b8
movq -0xa0(%rbp), %rax
movl (%rax,%r14,4), %edi
movl $0x1, %edx
movl $0x32, %ecx
callq 0x284f
movl $0x1, %edx
leaq -0x490(%rbp), %rdi
leaq 0x3593(%rip), %rsi      # 0x719d
callq 0x2210
movl -0xf8(%rbp), %esi
leaq -0x490(%rbp), %rdi
callq 0x22f0
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
leaq 0x3663(%rip), %rsi      # 0x7296
callq 0x2210
movl 0x667a(%rip), %esi      # 0xa2b8
movq %r12, %rdi
callq 0x22f0
movl 0x666c(%rip), %eax      # 0xa2b8
cmpl $0x32, %eax
jne 0x3c8f
movq -0x60(%rbp), %rax
cmpq -0x58(%rbp), %rax
je 0x3c73
movl $0x5, %edx
leaq -0x490(%rbp), %rdi
leaq 0x3531(%rip), %rsi      # 0x719f
callq 0x2210
movq -0x58(%rbp), %rsi
cmpq -0x50(%rbp), %rsi
je 0x3ca5
movl -0xf8(%rbp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x58(%rbp)
jmp 0x3cb5
cmpl %eax, %r15d
jge 0x3cbc
movl -0xf8(%rbp), %ecx
movl %ecx, -0xc0(%rbp)
movl %eax, %r15d
jmp 0x3cbc
leaq -0x60(%rbp), %rdi
leaq -0xf8(%rbp), %rdx
callq 0x548e
movl 0x65fc(%rip), %r15d     # 0xa2b8
movq -0x490(%rbp), %rax
movq -0x18(%rax), %rdi
leaq -0x490(%rbp), %rax
addq %rax, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
leaq -0x490(%rbp), %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
addq $0x4, %r13
cmpq %rbx, %r13
jne 0x3bc5
movq -0x58(%rbp), %rsi
cmpq %rsi, -0x60(%rbp)
movq %r14, %r13
jne 0x3d34
cmpq -0x50(%rbp), %rsi
je 0x3d24
movl -0xc0(%rbp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x58(%rbp)
jmp 0x3d34
leaq -0x60(%rbp), %rdi
leaq -0xc0(%rbp), %rdx
callq 0x548e
movq -0x60(%rbp), %rbx
movq -0x58(%rbp), %r15
movq %r15, %rax
subq %rbx, %rax
cmpq $0x4, %rax
jne 0x3d4d
incl -0x30(%rbp)
jmp 0x3d8c
cmpq %r15, %rbx
leaq -0x80(%rbp), %r12
je 0x3d8c
movl (%rbx), %eax
movl %eax, -0xf8(%rbp)
movq -0x78(%rbp), %rsi
cmpq -0x70(%rbp), %rsi
je 0x3d74
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x78(%rbp)
jmp 0x3d83
movq %r12, %rdi
leaq -0xf8(%rbp), %rdx
callq 0x548e
addq $0x4, %rbx
cmpq %r15, %rbx
jne 0x3d56
movq -0xa0(%rbp), %rax
movslq (%rax,%r13,4), %rax
leaq (%rax,%rax,2), %rdi
shlq $0x3, %rdi
addq 0x642a(%rip), %rdi      # 0xa1d0
leaq -0x60(%rbp), %rsi
callq 0x4f44
movq -0x60(%rbp), %rdi
testq %rdi, %rdi
je 0x3dbd
callq 0x21c0
incq %r13
movq -0xa0(%rbp), %rax
movq -0x98(%rbp), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r13, %rcx
ja 0x3b36
movslq -0x30(%rbp), %rbx
movabsq $-0x5555555555555555, %r12 # imm = 0xAAAAAAAAAAAAAAAB
movq 0x61dd(%rip), %rdi      # 0x9fd0
leaq 0x33ab(%rip), %rsi      # 0x71a5
movl $0x17, %edx
callq 0x2210
movq -0x98(%rbp), %rsi
subq -0xa0(%rbp), %rsi
sarq $0x2, %rsi
subq %rbx, %rsi
movq 0x61b0(%rip), %rdi      # 0x9fd0
callq 0x2120
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
movq -0x78(%rbp), %rsi
subq -0x80(%rbp), %rsi
sarq $0x2, %rsi
leaq -0xc0(%rbp), %rdx
movl $0x0, (%rdx)
leaq -0x60(%rbp), %rdi
leaq -0xf8(%rbp), %rcx
callq 0x501c
movq -0x78(%rbp), %rax
cmpq -0x80(%rbp), %rax
je 0x4085
xorl %r15d, %r15d
leaq 0x63c0(%rip), %rbx      # 0xa250
leaq -0x1e0(%rbp), %r14
movq 0x63b2(%rip), %rax      # 0xa250
cmpq %rax, 0x63b3(%rip)      # 0xa258
je 0x3eae
movq %rax, 0x63aa(%rip)      # 0xa258
movq 0x6383(%rip), %rax      # 0xa238
cmpq %rax, 0x6384(%rip)      # 0xa240
je 0x3ec5
movq %rax, 0x637b(%rip)      # 0xa240
movq 0x639c(%rip), %rax      # 0xa268
cmpq %rax, 0x639d(%rip)      # 0xa270
je 0x3edc
movq %rax, 0x6394(%rip)      # 0xa270
movq 0x639d(%rip), %rax      # 0xa280
cmpq %rax, 0x639e(%rip)      # 0xa288
je 0x3ef3
movq %rax, 0x6395(%rip)      # 0xa288
cmpl $0x2, 0x63b6(%rip)      # 0xa2b0
jl 0x3f5b
xorl %r12d, %r12d
xorl %r13d, %r13d
movq -0x80(%rbp), %rax
movslq (%rax,%r15,4), %rax
movq 0x62f7(%rip), %rcx      # 0xa208
leaq (%rax,%rax,2), %rax
movq (%rcx,%rax,8), %rdx
addq %r12, %rdx
movq 0x6335(%rip), %rsi      # 0xa258
cmpq 0x6336(%rip), %rsi      # 0xa260
je 0x3f3d
movl (%rdx), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x631d(%rip)      # 0xa258
jmp 0x3f45
movq %rbx, %rdi
callq 0x548e
incq %r13
movslq 0x6361(%rip), %rax      # 0xa2b0
decq %rax
addq $0x4, %r12
cmpq %rax, %r13
jl 0x3f02
leaq (,%r15,4), %rdx
addq -0x80(%rbp), %rdx
movq 0x62d2(%rip), %rsi      # 0xa240
cmpq 0x62d3(%rip), %rsi      # 0xa248
je 0x3f88
movl (%rdx), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x62ba(%rip)      # 0xa240
jmp 0x3f94
leaq 0x62a9(%rip), %rdi      # 0xa238
callq 0x548e
movq -0x80(%rbp), %rax
movslq (%rax,%r15,4), %rcx
movq 0x62f5(%rip), %rdx      # 0xa298
movl %ecx, (%rdx,%rcx,4)
movslq (%rax,%r15,4), %rax
movq 0x621f(%rip), %rcx      # 0xa1d0
leaq (%rax,%rax,2), %rax
movq (%rcx,%rax,8), %r12
movq 0x8(%rcx,%rax,8), %r13
cmpq %r13, %r12
je 0x3fe4
movl (%r12), %esi
movq -0x80(%rbp), %rax
movl (%rax,%r15,4), %edi
movl $0x2, %edx
movl $0x2710, %ecx           # imm = 0x2710
callq 0x264c
addq $0x4, %r12
jmp 0x3fbe
movq 0x629d(%rip), %rax      # 0xa288
movq 0x628e(%rip), %rcx      # 0xa280
subq %rcx, %rax
movabsq $-0x5555555555555555, %r12 # imm = 0xAAAAAAAAAAAAAAAB
je 0x404b
sarq $0x2, %rax
movq -0x1a0(%rbp), %rdx
movq -0x60(%rbp), %rsi
xorl %edi, %edi
movslq (%rcx,%rdi,4), %r9
movslq (%rdx,%r9,8), %r8
cmpq $-0x1, %r8
je 0x402e
movslq 0x4(%rdx,%r9,8), %r10
cmpq %r10, %rdi
jle 0x4039
incl (%rsi,%r8,4)
movl %r15d, (%rdx,%r9,8)
movl %edi, 0x4(%rdx,%r9,8)
jmp 0x403d
incl (%rsi,%r15,4)
cmpl $-0x1, %r8d
jne 0x404b
incq %rdi
cmpq %rdi, %rax
ja 0x4012
leaq -0x110(%rbp), %rdi
leaq 0x620f(%rip), %rsi      # 0xa268
callq 0x5170
movq %r14, %rdi
leaq 0x6218(%rip), %rsi      # 0xa280
callq 0x5170
incq %r15
movq -0x78(%rbp), %rax
subq -0x80(%rbp), %rax
sarq $0x2, %rax
cmpq %r15, %rax
ja 0x3e97
xorps %xmm0, %xmm0
movaps %xmm0, -0xc0(%rbp)
movq $0x0, -0xb0(%rbp)
movq 0x6137(%rip), %rsi      # 0xa1d8
subq 0x6128(%rip), %rsi      # 0xa1d0
sarq $0x3, %rsi
imulq %r12, %rsi
leaq -0x38(%rbp), %rdx
movl $0x0, (%rdx)
leaq -0xf8(%rbp), %rdi
leaq -0x65(%rbp), %rcx
callq 0x501c
movl $0x0, -0x38(%rbp)
movq 0x61c0(%rip), %rcx      # 0xa298
cmpq %rcx, 0x61c1(%rip)      # 0xa2a0
je 0x4142
xorl %eax, %eax
leaq -0xc0(%rbp), %rbx
leaq -0x38(%rbp), %r14
cmpl $-0x1, (%rcx,%rax,4)
jne 0x411e
movq -0xb8(%rbp), %rsi
cmpq -0xb0(%rbp), %rsi
je 0x4113
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0xb8(%rbp)
jmp 0x411e
movq %rbx, %rdi
movq %r14, %rdx
callq 0x548e
movslq -0x38(%rbp), %rax
incq %rax
movl %eax, -0x38(%rbp)
movq 0x6171(%rip), %rdx      # 0xa2a0
movq 0x6162(%rip), %rcx      # 0xa298
subq %rcx, %rdx
sarq $0x2, %rdx
cmpq %rax, %rdx
ja 0x40ee
movq 0x5e87(%rip), %rdi      # 0x9fd0
leaq 0x306d(%rip), %rsi      # 0x71bd
movl $0x13, %edx
callq 0x2210
movq -0xb8(%rbp), %rsi
subq -0xc0(%rbp), %rsi
sarq $0x2, %rsi
movq 0x5e5d(%rip), %rdi      # 0x9fd0
callq 0x2120
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
movq 0x5e27(%rip), %rdi      # 0x9fd0
leaq 0x3021(%rip), %rsi      # 0x71d1
movl $0x9, %edx
callq 0x2210
movq -0x108(%rbp), %rsi
subq -0x110(%rbp), %rsi
sarq $0x3, %rsi
imulq %r12, %rsi
movq 0x5df9(%rip), %rdi      # 0x9fd0
callq 0x2120
movq %rax, %rbx
leaq 0x30b0(%rip), %rsi      # 0x7296
movl $0x1, %edx
movq %rax, %rdi
callq 0x2210
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
movq -0x110(%rbp), %rax
cmpq %rax, -0x108(%rbp)
je 0x4548
xorl %r13d, %r13d
xorps %xmm0, %xmm0
movsd %xmm0, -0x48(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -0x34(%rbp)
xorl %r15d, %r15d
movq $0x0, -0x30(%rbp)
movl $0x0, -0x64(%rbp)
movq -0x60(%rbp), %rcx
cmpl $0x0, (%rcx,%r13,4)
jg 0x4521
leaq (,%r13,2), %rbx
addq %r13, %rbx
movq 0x8(%rax,%rbx,8), %rcx
subq (%rax,%rbx,8), %rcx
cmpq $0x78, %rcx
jb 0x4521
movl %r15d, -0x148(%rbp)
movl $0x7, %edx
leaq -0x6b0(%rbp), %rdi
leaq 0x2f41(%rip), %rsi      # 0x71db
callq 0x2210
leaq -0x6b0(%rbp), %rdi
movl %r13d, %esi
callq 0x22f0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
movq %rax, %r14
movl $0x1, %edx
movq %rax, %rdi
leaq 0x2eb3(%rip), %rsi      # 0x719d
callq 0x2210
movq -0x110(%rbp), %rax
movq 0x8(%rax,%rbx,8), %rsi
subq (%rax,%rbx,8), %rsi
sarq $0x2, %rsi
movq %r14, %rdi
callq 0x2120
movl $0x8, %edx
movq %rax, %rdi
leaq 0x2ec9(%rip), %rsi      # 0x71e3
callq 0x2210
movl $0x7, %edx
leaq -0x8b0(%rbp), %rdi
leaq 0x2ea9(%rip), %rsi      # 0x71db
callq 0x2210
leaq -0x8b0(%rbp), %rdi
movl %r13d, %esi
callq 0x22f0
movl $0x1, %edx
movq %rax, %rdi
leaq 0x2f41(%rip), %rsi      # 0x7296
callq 0x2210
movq -0x1e0(%rbp), %rax
movq %rbx, %rcx
movq (%rax,%rbx,8), %rbx
movq %rcx, -0x138(%rbp)
movq 0x8(%rax,%rcx,8), %r12
cmpq %r12, %rbx
leaq -0x8b0(%rbp), %r15
je 0x43b6
movslq (%rbx), %r14
movl $0x1, %edx
movq %r15, %rdi
leaq 0x2f04(%rip), %rsi      # 0x7296
callq 0x2210
movq %r15, %rdi
movl %r14d, %esi
callq 0x22f0
movq -0xf8(%rbp), %rax
incl (%rax,%r14,4)
addq $0x4, %rbx
cmpq %r12, %rbx
jne 0x4380
movq -0x8b0(%rbp), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x21d0
movq -0x138(%rbp), %rbx
movsbl %al, %esi
leaq -0x8b0(%rbp), %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
movq -0x110(%rbp), %rax
movq (%rax,%rbx,8), %r14
movq 0x8(%rax,%rbx,8), %r15
movq %r15, %rcx
subq %r14, %rcx
sarq $0x2, %rcx
movq -0x30(%rbp), %rax
cltq
cmpq %rax, %rcx
movq %rcx, -0x138(%rbp)
cmoval %ecx, %eax
movq %rax, -0x30(%rbp)
xorl %r12d, %r12d
cmpq %r14, %r15
je 0x4467
movl (%r14), %ebx
xorps %xmm0, %xmm0
cvtsi2ss %ebx, %xmm0
divss 0x2bcd(%rip), %xmm0     # 0x7004
cvtss2sd %xmm0, %xmm0
leaq -0x6b0(%rbp), %rdi
callq 0x22b0
movl $0x1, %edx
movq %rax, %rdi
leaq 0x2e40(%rip), %rsi      # 0x7296
callq 0x2210
addl %ebx, %r12d
addq $0x4, %r14
cmpq %r15, %r14
jne 0x4425
xorps %xmm0, %xmm0
cvtsi2ss %r12d, %xmm0
divss 0x2b91(%rip), %xmm0     # 0x7008
movss %xmm0, -0x144(%rbp)
movq -0x6b0(%rbp), %rax
movq -0x18(%rax), %rdi
leaq -0x6b0(%rbp), %rax
addq %rax, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
leaq -0x6b0(%rbp), %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
movl -0x148(%rbp), %r15d
incl %r15d
xorps %xmm0, %xmm0
cvtsi2sd %r12d, %xmm0
movq -0x138(%rbp), %rax
addl %eax, -0x64(%rbp)
maxsd -0x48(%rbp), %xmm0
movss -0x34(%rbp), %xmm1
addss -0x144(%rbp), %xmm1
movss %xmm1, -0x34(%rbp)
movsd %xmm0, -0x48(%rbp)
movabsq $-0x5555555555555555, %r12 # imm = 0xAAAAAAAAAAAAAAAB
incq %r13
movq -0x110(%rbp), %rax
movq -0x108(%rbp), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
imulq %r12, %rcx
cmpq %r13, %rcx
ja 0x4253
jmp 0x456a
xorps %xmm0, %xmm0
movss %xmm0, -0x34(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x48(%rbp)
movl $0x0, -0x64(%rbp)
movq $0x0, -0x30(%rbp)
xorl %r15d, %r15d
movq -0xf8(%rbp), %rax
movq -0xf0(%rbp), %rcx
cmpq %rcx, %rax
movl $0x0, %r14d
je 0x4596
xorl %r14d, %r14d
cmpl $0x1, (%rax)
adcl $0x0, %r14d
addq $0x4, %rax
cmpq %rcx, %rax
jne 0x4586
movq 0x5a33(%rip), %rdi      # 0x9fd0
leaq 0x2c48(%rip), %rsi      # 0x71ec
movl $0x13, %edx
callq 0x2210
movq 0x5a1b(%rip), %rdi      # 0x9fd0
movl $0x1e, %esi
callq 0x22f0
movq %rax, %rbx
leaq 0x2c37(%rip), %rsi      # 0x7200
movl $0xa, %edx
movq %rax, %rdi
callq 0x2210
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
movq 0x59cc(%rip), %rdi      # 0x9fd0
leaq 0x2c00(%rip), %rsi      # 0x720b
movl $0x13, %edx
callq 0x2210
movq 0x59b4(%rip), %rdi      # 0x9fd0
movl %r15d, %esi
callq 0x22f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
movq 0x597b(%rip), %rdi      # 0x9fd0
leaq 0x2bc3(%rip), %rsi      # 0x721f
movl $0x15, %edx
callq 0x2210
movq 0x5963(%rip), %rdi      # 0x9fd0
movq -0x30(%rbp), %rsi
callq 0x22f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
movq 0x5929(%rip), %rdi      # 0x9fd0
leaq 0x2b87(%rip), %rsi      # 0x7235
movl $0x12, %edx
callq 0x2210
movl -0x64(%rbp), %eax
cltd
idivl %r15d
movq 0x590a(%rip), %rdi      # 0x9fd0
movl %eax, %esi
callq 0x22f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
movq 0x58d2(%rip), %rdi      # 0x9fd0
leaq 0x2b43(%rip), %rsi      # 0x7248
movl $0x1e, %edx
callq 0x2210
movsd -0x48(%rbp), %xmm0
divsd 0x28f4(%rip), %xmm0     # 0x7010
movq 0x58ad(%rip), %rdi      # 0x9fd0
callq 0x22b0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
movq 0x5877(%rip), %rdi      # 0x9fd0
leaq 0x2b07(%rip), %rsi      # 0x7267
movl $0x1b, %edx
callq 0x2210
xorps %xmm0, %xmm0
cvtsi2ss %r15d, %xmm0
movss -0x34(%rbp), %xmm1
divss %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtss2sd %xmm1, %xmm0
movq 0x5847(%rip), %rdi      # 0x9fd0
callq 0x22b0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
movq 0x5811(%rip), %rdi      # 0x9fd0
leaq 0x2abd(%rip), %rsi      # 0x7283
movl $0x14, %edx
callq 0x2210
movq 0x57f9(%rip), %rdi      # 0x9fd0
movl %r14d, %esi
callq 0x22f0
movq %rax, %rbx
leaq 0x2aaf(%rip), %rsi      # 0x7298
movl $0xb, %edx
movq %rax, %rdi
callq 0x2210
movq 0x59db(%rip), %rsi      # 0xa1d8
subq 0x59cc(%rip), %rsi      # 0xa1d0
sarq $0x3, %rsi
imulq %r12, %rsi
movq %rbx, %rdi
callq 0x2120
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
movq -0xf8(%rbp), %rdi
testq %rdi, %rdi
je 0x484f
callq 0x21c0
movq -0xc0(%rbp), %rdi
testq %rdi, %rdi
je 0x4860
callq 0x21c0
movq -0x60(%rbp), %rdi
testq %rdi, %rdi
je 0x486e
callq 0x21c0
movq -0x1a0(%rbp), %rdi
testq %rdi, %rdi
je 0x487f
callq 0x21c0
movq 0x5742(%rip), %rax      # 0x9fc8
movq (%rax), %rbx
movq 0x18(%rax), %r14
leaq -0x8a8(%rbp), %rdi
movq %rbx, -0x8(%rdi)
movq -0x18(%rbx), %rax
movq %r14, -0x8b0(%rbp,%rax)
callq 0x2190
movl $0xf8, %r15d
leaq -0x8b0(%rbp), %rdi
addq %r15, %rdi
callq 0x20a0
leaq -0x6a8(%rbp), %rdi
movq %rbx, -0x8(%rdi)
movq -0x18(%rbx), %rax
movq %r14, -0x6b0(%rbp,%rax)
callq 0x2190
leaq -0x6b0(%rbp), %rdi
addq %r15, %rdi
callq 0x20a0
movq -0x4a8(%rbp), %rdi
testq %rdi, %rdi
je 0x48fa
callq 0x21c0
leaq -0x250(%rbp), %rdi
callq 0x4ee6
leaq -0x1e0(%rbp), %rdi
callq 0x4ee6
leaq -0x110(%rbp), %rdi
callq 0x4ee6
leaq -0x488(%rbp), %rdi
movq %rbx, -0x8(%rdi)
movq -0x18(%rbx), %rax
movq %r14, -0x490(%rbp,%rax)
callq 0x2190
leaq -0x398(%rbp), %rdi
callq 0x20a0
xorl %ebx, %ebx
movq 0x5679(%rip), %rax      # 0x9fc8
movq (%rax), %r14
movq 0x18(%rax), %r15
leaq -0xaa8(%rbp), %rdi
movq %r14, -0x8(%rdi)
movq -0x18(%r14), %rax
movq %r15, -0xab0(%rbp,%rax)
callq 0x2190
leaq -0x9b8(%rbp), %rdi
callq 0x20a0
movq -0x160(%rbp), %rdi
testq %rdi, %rdi
je 0x498f
callq 0x21c0
movq -0xa0(%rbp), %rdi
testq %rdi, %rdi
je 0x49a0
callq 0x21c0
movq -0x180(%rbp), %rdi
testq %rdi, %rdi
je 0x49b1
callq 0x21c0
movq -0x80(%rbp), %rdi
testq %rdi, %rdi
je 0x49bf
callq 0x21c0
leaq -0x200(%rbp), %rdi
callq 0x51e8
leaq -0xca8(%rbp), %rdi
movq %r14, -0x8(%rdi)
movq -0x18(%r14), %rax
movq %r15, -0xcb0(%rbp,%rax)
callq 0x2190
leaq -0xbb8(%rbp), %rdi
callq 0x20a0
movq -0x140(%rbp), %rdi
callq 0x21c0
movq -0x1c0(%rbp), %rdi
leaq -0x1b0(%rbp), %rax
cmpq %rax, %rdi
je 0x4a17
callq 0x21c0
leaq -0x130(%rbp), %rdi
callq 0x52ee
leaq -0x230(%rbp), %rdi
callq 0x5342
leaq -0x270(%rbp), %rdi
callq 0x4ee6
leaq -0x290(%rbp), %rdi
callq 0x4ee6
leaq -0xeb8(%rbp), %rdi
callq 0x2070
leaq -0x10c0(%rbp), %rdi
callq 0x2070
movq -0xe0(%rbp), %rdi
leaq -0xd0(%rbp), %rax
cmpq %rax, %rdi
je 0x4a77
callq 0x21c0
movl %ebx, %eax
addq $0x1098, %rsp           # imm = 0x1098
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2812(%rip), %rdi      # 0x72a4
callq 0x2110
leaq 0x2806(%rip), %rdi      # 0x72a4
callq 0x2250
movq %rax, %r14
jmp 0x4c50
jmp 0x4be0
movq %rax, %r14
jmp 0x4cdf
jmp 0x4aba
movq %rax, %r14
movq -0x1a0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x4ceb
callq 0x21c0
jmp 0x4ceb
movq %rax, %r14
jmp 0x4ceb
jmp 0x4ae1
movq %rax, %r14
movq -0x8b0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x4cf7
callq 0x21c0
jmp 0x4cf7
jmp 0x4b00
movq %rax, %r14
jmp 0x4cf7
movq %rax, %r14
jmp 0x4d08
jmp 0x4b12
movq %rax, %r14
movq -0x6b0(%rbp), %rdi
cmpq %rbx, %rdi
jne 0x4cb6
jmp 0x4d38
jmp 0x4bee
jmp 0x4b31
movq %rax, %r14
movq -0x490(%rbp), %rdi
leaq -0x480(%rbp), %rax
cmpq %rax, %rdi
je 0x4d44
callq 0x21c0
jmp 0x4d44
movq %rax, %r14
jmp 0x4d44
jmp 0x4b5f
movq %rax, %r14
movq -0xab0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x4e59
callq 0x21c0
jmp 0x4e59
movq %rax, %r14
jmp 0x4e59
movq %rax, %r14
jmp 0x4e65
jmp 0x4b8e
movq %rax, %r14
movq -0xcb0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x4eb9
callq 0x21c0
jmp 0x4eb9
movq %rax, %r14
jmp 0x4eb9
jmp 0x4bb5
movq %rax, %r14
movq -0xeb8(%rbp), %rdi
cmpq %rbx, %rdi
je 0x4ec5
callq 0x21c0
jmp 0x4ec5
jmp 0x4bd4
movq %rax, %r14
jmp 0x4ec5
jmp 0x4c3c
jmp 0x4c3c
movq %rax, %r14
jmp 0x4cce
jmp 0x4c3c
jmp 0x4c28
jmp 0x4c3c
movq %rax, %r14
jmp 0x4d38
jmp 0x4c3c
jmp 0x4cbd
jmp 0x4c3c
jmp 0x4c73
jmp 0x4c28
jmp 0x4d5e
jmp 0x4c7b
movq %rax, %r14
jmp 0x4d96
jmp 0x4c30
jmp 0x4dba
jmp 0x4cbd
jmp 0x4cbd
jmp 0x4cbd
movq %rax, %r14
jmp 0x4e11
movq %rax, %r14
jmp 0x4e41
jmp 0x4ca3
jmp 0x4c3c
movq %rax, %r14
movq -0xf8(%rbp), %rdi
testq %rdi, %rdi
je 0x4c50
callq 0x21c0
movq -0xc0(%rbp), %rdi
testq %rdi, %rdi
je 0x4cc0
callq 0x21c0
jmp 0x4cc0
jmp 0x4c7b
jmp 0x4cbd
movq %rax, %r14
jmp 0x4d7e
jmp 0x4ca3
jmp 0x4ca3
movq %rax, %r14
jmp 0x4dda
movq %rax, %r14
jmp 0x4d6d
jmp 0x4dba
movq %rax, %r14
cmpl $0x0, (%rbx)
jne 0x4d6d
movl -0x30(%rbp), %eax
movl %eax, (%rbx)
jmp 0x4d6d
jmp 0x4dba
movq %rax, %r14
movq -0x490(%rbp), %rdi
testq %rdi, %rdi
je 0x4d38
callq 0x21c0
jmp 0x4d38
movq %rax, %r14
movq -0x60(%rbp), %rdi
testq %rdi, %rdi
je 0x4cce
callq 0x21c0
movq -0x1a0(%rbp), %rdi
testq %rdi, %rdi
je 0x4cdf
callq 0x21c0
leaq -0x8b0(%rbp), %rdi
callq 0x2270
leaq -0x6b0(%rbp), %rdi
callq 0x2270
movq -0x4a8(%rbp), %rdi
testq %rdi, %rdi
je 0x4d08
callq 0x21c0
leaq -0x250(%rbp), %rdi
callq 0x4ee6
leaq -0x1e0(%rbp), %rdi
callq 0x4ee6
leaq -0x110(%rbp), %rdi
callq 0x4ee6
leaq -0x490(%rbp), %rdi
callq 0x2270
leaq -0xab0(%rbp), %rdi
callq 0x2270
movq -0x160(%rbp), %rdi
testq %rdi, %rdi
je 0x4e11
callq 0x21c0
jmp 0x4e11
movq %rax, %r14
leaq -0x8b0(%rbp), %rdi
callq 0x51e8
movq -0x6b0(%rbp), %rdi
testq %rdi, %rdi
je 0x4d7e
callq 0x21c0
movq -0x490(%rbp), %rdi
leaq -0x480(%rbp), %rax
cmpq %rax, %rdi
je 0x4d96
callq 0x21c0
movq 0x5213(%rip), %rsi      # 0x9fb0
leaq -0xab0(%rbp), %rdi
callq 0x2160
leaq -0xa30(%rbp), %rdi
callq 0x20a0
jmp 0x4e41
movq %rax, %r14
movq -0x8b0(%rbp), %rdi
testq %rdi, %rdi
je 0x4dce
callq 0x21c0
leaq -0x6b0(%rbp), %rdi
callq 0x51e8
movq -0x490(%rbp), %rdi
leaq -0x480(%rbp), %rax
cmpq %rax, %rdi
je 0x4df2
callq 0x21c0
movq 0x51b7(%rip), %rsi      # 0x9fb0
leaq -0xab0(%rbp), %rdi
callq 0x2160
leaq -0xa30(%rbp), %rdi
callq 0x20a0
movq -0xa0(%rbp), %rdi
testq %rdi, %rdi
je 0x4e22
callq 0x21c0
movq -0x180(%rbp), %rdi
testq %rdi, %rdi
je 0x4e33
callq 0x21c0
movq -0x80(%rbp), %rdi
testq %rdi, %rdi
je 0x4e41
callq 0x21c0
leaq -0x200(%rbp), %rdi
callq 0x51e8
leaq -0xcb0(%rbp), %rdi
callq 0x2270
movq -0x140(%rbp), %rdi
callq 0x21c0
movq -0x1c0(%rbp), %rdi
leaq -0x1b0(%rbp), %rax
cmpq %rax, %rdi
je 0x4e7d
callq 0x21c0
leaq -0x130(%rbp), %rdi
callq 0x52ee
leaq -0x230(%rbp), %rdi
callq 0x5342
leaq -0x270(%rbp), %rdi
callq 0x4ee6
leaq -0x290(%rbp), %rdi
callq 0x4ee6
leaq -0xeb8(%rbp), %rdi
callq 0x2070
leaq -0x10c0(%rbp), %rdi
callq 0x2070
movq -0xe0(%rbp), %rdi
leaq -0xd0(%rbp), %rax
cmpq %rax, %rdi
je 0x4edd
callq 0x21c0
movq %r14, %rdi
callq 0x2300
nop