// File: 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
subq $0x1a40, %rsp           # imm = 0x1A40
movl $0x0, -0x4(%rbp)
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
leaq -0x30(%rbp), %rdi
movq %rdi, -0x16e0(%rbp)
callq 0x5990
movq -0x16e0(%rbp), %rdx
movl -0x8(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x2960
jmp 0x2b7e
leaq 0xa505(%rip), %rdx      # 0xd08a
leaq -0x268(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x5a00
jmp 0x2b97
leaq -0x248(%rbp), %rdi
leaq -0x268(%rbp), %rsi
movl $0x8, %edx
callq 0x22a0
jmp 0x2bb1
leaq -0x268(%rbp), %rdi
callq 0x2130
leaq 0xa4d1(%rip), %rdx      # 0xd095
leaq -0x490(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x5a00
jmp 0x2bd6
leaq -0x470(%rbp), %rdi
leaq -0x490(%rbp), %rsi
movl $0x8, %edx
callq 0x22a0
jmp 0x2bf0
leaq -0x490(%rbp), %rdi
callq 0x2130
leaq -0x4a8(%rbp), %rdi
callq 0x53f0
leaq -0x4c0(%rbp), %rdi
callq 0x53f0
leaq -0x4f0(%rbp), %rdi
callq 0x5a80
movl $0x0, -0x4f4(%rbp)
leaq -0x510(%rbp), %rdi
callq 0x5aa0
movl $0x2710, -0x514(%rbp)   # imm = 0x2710
leaq -0x538(%rbp), %rdi
callq 0x2240
movl $0x0, -0x53c(%rbp)
movl $0x0, -0x540(%rbp)
movl $0x0, -0x55c(%rbp)
leaq -0x55d(%rbp), %rdi
movq %rdi, -0x16e8(%rbp)
callq 0x5ac0
movq -0x16e8(%rbp), %rcx
leaq -0x558(%rbp), %rdi
movl $0x64, %esi
leaq -0x55c(%rbp), %rdx
callq 0x5ae0
jmp 0x2c9e
leaq -0x55d(%rbp), %rdi
callq 0x5b60
leaq 0xa3f3(%rip), %rdx      # 0xd0a4
leaq -0x780(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x5a00
jmp 0x2cc3
leaq -0x760(%rbp), %rdi
leaq -0x780(%rbp), %rsi
movl $0x10, %edx
callq 0x2330
jmp 0x2cdd
leaq -0x780(%rbp), %rdi
callq 0x2130
leaq -0x798(%rbp), %rdi
callq 0x5b80
leaq -0x248(%rbp), %rdi
leaq -0x538(%rbp), %rsi
callq 0x2060
movq %rax, -0x16f0(%rbp)
jmp 0x2d11
movq -0x16f0(%rbp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x2210
movb %al, -0x16f1(%rbp)
jmp 0x2d2f
movb -0x16f1(%rbp), %al
testb $0x1, %al
jne 0x2d3e
jmp 0x3162
movl $0x10, %edi
movl $0x8, %esi
callq 0x5ba0
movl %eax, -0x16f8(%rbp)
jmp 0x2d55
movl -0x16f8(%rbp), %edx
leaq -0x920(%rbp), %rdi
leaq -0x538(%rbp), %rsi
callq 0x2290
jmp 0x2d70
leaq -0x798(%rbp), %rdi
leaq -0x538(%rbp), %rsi
callq 0x5bc0
jmp 0x2d85
leaq -0x940(%rbp), %rdi
movq %rdi, -0x1700(%rbp)
callq 0x2240
movq -0x1700(%rbp), %rsi
leaq -0x920(%rbp), %rdi
callq 0x2220
jmp 0x2dad
leaq 0xa2ff(%rip), %rsi      # 0xd0b3
leaq -0x760(%rbp), %rdi
callq 0x21b0
movq %rax, -0x1708(%rbp)
jmp 0x2dc9
movq -0x1708(%rbp), %rdi
movl -0x4f4(%rbp), %esi
callq 0x22d0
movq %rax, -0x1710(%rbp)
jmp 0x2de4
movq -0x1710(%rbp), %rdi
leaq 0xa48c(%rip), %rsi      # 0xd27e
callq 0x21b0
movq %rax, -0x1718(%rbp)
jmp 0x2e00
movq -0x1718(%rbp), %rdi
leaq -0x538(%rbp), %rsi
callq 0x2190
movq %rax, -0x1720(%rbp)
jmp 0x2e1c
movq -0x1720(%rbp), %rdi
movq 0x1118e(%rip), %rsi     # 0x13fb8
callq 0x21e0
jmp 0x2e31
movl -0x4f4(%rbp), %eax
movl %eax, -0x172c(%rbp)
incl %eax
movl %eax, -0x4f4(%rbp)
leaq -0x4f0(%rbp), %rdi
leaq -0x940(%rbp), %rsi
callq 0x5c30
movq %rax, -0x1728(%rbp)
jmp 0x2e61
movq -0x1728(%rbp), %rax
movl -0x172c(%rbp), %ecx
movl %ecx, (%rax)
leaq -0x958(%rbp), %rdi
callq 0x5470
leaq -0x920(%rbp), %rdi
leaq -0x940(%rbp), %rsi
callq 0x2220
movq %rax, -0x1738(%rbp)
jmp 0x2e98
movq -0x1738(%rbp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x2210
movb %al, -0x1739(%rbp)
jmp 0x2eb6
movb -0x1739(%rbp), %al
testb $0x1, %al
jne 0x2ec5
jmp 0x3014
leaq -0x940(%rbp), %rdi
leaq 0xa1e4(%rip), %rsi      # 0xd0b7
callq 0x20b0
cmpl $0x0, %eax
jne 0x2fd1
jmp 0x3014
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x53d4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x268(%rbp), %rdi
callq 0x2130
jmp 0x53d4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x53c8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x490(%rbp), %rdi
callq 0x2130
jmp 0x53c8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x55d(%rbp), %rdi
callq 0x5b60
jmp 0x5380
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x5374
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x780(%rbp), %rdi
callq 0x2130
jmp 0x5374
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x535c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x3151
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x3145
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x3139
xorl %eax, %eax
movl %eax, %esi
leaq -0x940(%rbp), %rdi
movl $0xa, %edx
callq 0x5d40
movl %eax, -0x1740(%rbp)
jmp 0x2fee
movl -0x1740(%rbp), %eax
movl %eax, -0x95c(%rbp)
leaq -0x958(%rbp), %rdi
leaq -0x95c(%rbp), %rsi
callq 0x5d10
jmp 0x300f
jmp 0x2e7c
leaq 0x111e5(%rip), %rdi     # 0x14200
leaq -0x958(%rbp), %rsi
callq 0x5d80
jmp 0x3029
leaq -0x978(%rbp), %rdi
callq 0x5b80
leaq -0x920(%rbp), %rdi
leaq -0x940(%rbp), %rsi
callq 0x2220
movq %rax, -0x1748(%rbp)
jmp 0x3051
movq -0x1748(%rbp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x2210
movb %al, -0x1749(%rbp)
jmp 0x306f
movb -0x1749(%rbp), %al
testb $0x1, %al
jne 0x307b
jmp 0x30bb
leaq -0x978(%rbp), %rdi
leaq -0x940(%rbp), %rsi
callq 0x5bc0
jmp 0x3090
movl -0x540(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x540(%rbp)
jmp 0x3035
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x978(%rbp), %rdi
callq 0x5e80
jmp 0x3139
leaq -0x978(%rbp), %rdi
callq 0x5df0
cmpq $0x64, %rax
jae 0x30ef
leaq -0x978(%rbp), %rdi
callq 0x5df0
movq %rax, %rsi
leaq -0x558(%rbp), %rdi
callq 0x54f0
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
leaq -0x510(%rbp), %rdi
leaq -0x978(%rbp), %rsi
callq 0x5e10
jmp 0x3104
leaq -0x978(%rbp), %rdi
callq 0x5e80
leaq -0x958(%rbp), %rdi
callq 0x5490
leaq -0x940(%rbp), %rdi
callq 0x2130
leaq -0x920(%rbp), %rdi
callq 0x2160
jmp 0x2cf5
leaq -0x958(%rbp), %rdi
callq 0x5490
leaq -0x940(%rbp), %rdi
callq 0x2130
leaq -0x920(%rbp), %rdi
callq 0x2160
jmp 0x535c
leaq -0x990(%rbp), %rdi
callq 0x5470
leaq -0x9a8(%rbp), %rdi
callq 0x5470
leaq -0x9c0(%rbp), %rdi
callq 0x5470
movl $0x0, -0x9c4(%rbp)
movl $0x0, -0x9c8(%rbp)
leaq -0x470(%rbp), %rdi
leaq -0x538(%rbp), %rsi
callq 0x2060
movq %rax, -0x1758(%rbp)
jmp 0x31b6
movq -0x1758(%rbp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x2210
movb %al, -0x1759(%rbp)
jmp 0x31d4
movb -0x1759(%rbp), %al
testb $0x1, %al
jne 0x31e3
jmp 0x353e
movl $0x10, %edi
movl $0x8, %esi
callq 0x5ba0
movl %eax, -0x1760(%rbp)
jmp 0x31fa
movl -0x1760(%rbp), %edx
leaq -0xb50(%rbp), %rdi
leaq -0x538(%rbp), %rsi
callq 0x2290
jmp 0x3215
leaq -0xb70(%rbp), %rdi
movq %rdi, -0x1768(%rbp)
callq 0x2240
movq -0x1768(%rbp), %rsi
leaq -0xb50(%rbp), %rdi
callq 0x2220
jmp 0x323d
jmp 0x323f
leaq -0xb50(%rbp), %rdi
leaq -0xb70(%rbp), %rsi
callq 0x2220
movq %rax, -0x1770(%rbp)
jmp 0x325b
movq -0x1770(%rbp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x2210
movb %al, -0x1771(%rbp)
jmp 0x3279
movb -0x1771(%rbp), %al
testb $0x1, %al
jne 0x3285
jmp 0x32c6
leaq -0xb70(%rbp), %rdi
leaq 0x9e2f(%rip), %rsi      # 0xd0c2
callq 0x20b0
cmpl $0x0, %eax
jne 0x32c1
jmp 0x32c6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x5338
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x3521
jmp 0x323f
leaq -0xb88(%rbp), %rdi
callq 0x5b80
leaq -0xba0(%rbp), %rdi
callq 0x5470
leaq -0xb50(%rbp), %rdi
leaq -0xb70(%rbp), %rsi
callq 0x2220
movq %rax, -0x1780(%rbp)
jmp 0x32fa
movq -0x1780(%rbp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x2210
movb %al, -0x1781(%rbp)
jmp 0x3318
movb -0x1781(%rbp), %al
testb $0x1, %al
jne 0x3327
jmp 0x349f
leaq -0x4f0(%rbp), %rdi
leaq -0xb70(%rbp), %rsi
callq 0x5f10
movq %rax, -0x1790(%rbp)
jmp 0x3343
movq -0x1790(%rbp), %rax
movq %rax, -0xba8(%rbp)
leaq -0x4f0(%rbp), %rdi
callq 0x5f40
movq %rax, -0xbb0(%rbp)
leaq -0xba8(%rbp), %rdi
leaq -0xbb0(%rbp), %rsi
callq 0x5ee0
testb $0x1, %al
jne 0x3380
jmp 0x343e
movq 0x10c41(%rip), %rdi     # 0x13fc8
leaq 0x9d3f(%rip), %rsi      # 0xd0cd
callq 0x21b0
movq %rax, -0x1798(%rbp)
jmp 0x339c
movq -0x1798(%rbp), %rdi
movl -0x9c4(%rbp), %esi
callq 0x22d0
movq %rax, -0x17a0(%rbp)
jmp 0x33b7
movq -0x17a0(%rbp), %rdi
leaq 0x9eb9(%rip), %rsi      # 0xd27e
callq 0x21b0
movq %rax, -0x17a8(%rbp)
jmp 0x33d3
movq -0x17a8(%rbp), %rdi
leaq -0xb70(%rbp), %rsi
callq 0x2190
movq %rax, -0x17b0(%rbp)
jmp 0x33ef
movq -0x17b0(%rbp), %rdi
movq 0x10bbb(%rip), %rsi     # 0x13fb8
callq 0x21e0
jmp 0x3404
movl -0x9c8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x9c8(%rbp)
jmp 0x348b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0xba0(%rbp), %rdi
callq 0x5490
leaq -0xb88(%rbp), %rdi
callq 0x5e80
jmp 0x3521
leaq -0x4f0(%rbp), %rdi
leaq -0xb70(%rbp), %rsi
callq 0x5f10
movq %rax, -0x17b8(%rbp)
jmp 0x345a
movq -0x17b8(%rbp), %rax
movq %rax, -0xbb8(%rbp)
leaq -0xbb8(%rbp), %rdi
callq 0x5f70
movq %rax, %rsi
addq $0x20, %rsi
leaq -0xba0(%rbp), %rdi
callq 0x5780
jmp 0x3489
jmp 0x348b
movl -0x53c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x53c(%rbp)
jmp 0x32de
leaq -0xba0(%rbp), %rdi
callq 0x5510
cmpq $0x0, %rax
jne 0x34c8
leaq -0x990(%rbp), %rdi
leaq -0x9c4(%rbp), %rsi
callq 0x5780
jmp 0x34c6
jmp 0x34c8
leaq 0x10d11(%rip), %rdi     # 0x141e0
leaq -0xba0(%rbp), %rsi
callq 0x5d80
jmp 0x34dd
movl -0x9c4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x9c4(%rbp)
leaq -0xba0(%rbp), %rdi
callq 0x5490
leaq -0xb88(%rbp), %rdi
callq 0x5e80
leaq -0xb70(%rbp), %rdi
callq 0x2130
leaq -0xb50(%rbp), %rdi
callq 0x2160
jmp 0x319a
leaq -0xb70(%rbp), %rdi
callq 0x2130
leaq -0xb50(%rbp), %rdi
callq 0x2160
jmp 0x5338
movq 0x10a83(%rip), %rdi     # 0x13fc8
leaq 0x9b8b(%rip), %rsi      # 0xd0d7
callq 0x21b0
movq %rax, -0x17c0(%rbp)
jmp 0x355a
movq -0x17c0(%rbp), %rdi
movl -0x53c(%rbp), %esi
callq 0x22d0
movq %rax, -0x17c8(%rbp)
jmp 0x3575
movq -0x17c8(%rbp), %rdi
leaq 0x9b6b(%rip), %rsi      # 0xd0ee
callq 0x21b0
movq %rax, -0x17d0(%rbp)
jmp 0x3591
movq -0x17d0(%rbp), %rdi
movl -0x540(%rbp), %esi
callq 0x22d0
movq %rax, -0x17d8(%rbp)
jmp 0x35ac
movq -0x17d8(%rbp), %rdi
movq 0x109fe(%rip), %rsi     # 0x13fb8
callq 0x21e0
jmp 0x35c1
movl $0x0, -0x9c8(%rbp)
movl $0x0, -0xbbc(%rbp)
movl $0x0, -0xbc0(%rbp)
leaq -0xbd8(%rbp), %rdi
callq 0x5470
leaq 0x9b09(%rip), %rdx      # 0xd0fb
leaq -0xdf8(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x5a00
jmp 0x3604
leaq -0xdd8(%rbp), %rdi
leaq -0xdf8(%rbp), %rsi
movl $0x10, %edx
callq 0x2330
jmp 0x361e
leaq -0xdf8(%rbp), %rdi
callq 0x2130
movl $0x0, -0xdfc(%rbp)
movslq -0xdfc(%rbp), %rax
movq %rax, -0x17e0(%rbp)
leaq -0x510(%rbp), %rdi
callq 0x5f90
movq %rax, %rcx
movq -0x17e0(%rbp), %rax
cmpq %rcx, %rax
jae 0x3a1d
leaq -0xe18(%rbp), %rdi
callq 0x5470
movl $0x0, -0xe1c(%rbp)
movslq -0xe1c(%rbp), %rax
movq %rax, -0x17e8(%rbp)
movslq -0xdfc(%rbp), %rsi
leaq -0x510(%rbp), %rdi
callq 0x5fc0
movq %rax, %rdi
callq 0x5df0
movq %rax, %rcx
movq -0x17e8(%rbp), %rax
cmpq %rcx, %rax
jae 0x38ac
movslq -0xdfc(%rbp), %rsi
leaq -0x510(%rbp), %rdi
callq 0x5fc0
movq %rax, %rdi
movslq -0xe1c(%rbp), %rsi
callq 0x5fe0
movq %rax, %rsi
leaq -0x4f0(%rbp), %rdi
callq 0x5f10
movq %rax, -0x17f0(%rbp)
jmp 0x36ed
movq -0x17f0(%rbp), %rax
movq %rax, -0xe28(%rbp)
leaq -0x4f0(%rbp), %rdi
callq 0x5f40
movq %rax, -0xe30(%rbp)
leaq -0xe28(%rbp), %rdi
leaq -0xe30(%rbp), %rsi
callq 0x5ee0
testb $0x1, %al
jne 0x372a
jmp 0x382b
movq 0x10897(%rip), %rdi     # 0x13fc8
leaq 0x99d1(%rip), %rsi      # 0xd109
callq 0x21b0
movq %rax, -0x17f8(%rbp)
jmp 0x3746
movq -0x17f8(%rbp), %rdi
movl -0xdfc(%rbp), %esi
callq 0x22d0
movq %rax, -0x1800(%rbp)
jmp 0x3761
movq -0x1800(%rbp), %rdi
leaq 0x9b0f(%rip), %rsi      # 0xd27e
callq 0x21b0
movq %rax, -0x1808(%rbp)
jmp 0x377d
movslq -0xdfc(%rbp), %rsi
leaq -0x510(%rbp), %rdi
callq 0x5fc0
movq %rax, %rdi
movslq -0xe1c(%rbp), %rsi
callq 0x5fe0
movq -0x1808(%rbp), %rdi
movq %rax, %rsi
callq 0x2190
movq %rax, -0x1810(%rbp)
jmp 0x37b7
movq -0x1810(%rbp), %rdi
movq 0x107f3(%rip), %rsi     # 0x13fb8
callq 0x21e0
jmp 0x37cc
movl -0x9c8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x9c8(%rbp)
jmp 0x3896
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x532c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0xdf8(%rbp), %rdi
callq 0x2130
jmp 0x532c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0xe18(%rbp), %rdi
callq 0x5490
jmp 0x5320
movslq -0xdfc(%rbp), %rsi
leaq -0x510(%rbp), %rdi
callq 0x5fc0
movq %rax, %rdi
movslq -0xe1c(%rbp), %rsi
callq 0x5fe0
movq %rax, %rsi
leaq -0x4f0(%rbp), %rdi
callq 0x5f10
movq %rax, -0x1818(%rbp)
jmp 0x3865
movq -0x1818(%rbp), %rax
movq %rax, -0xe38(%rbp)
leaq -0xe38(%rbp), %rdi
callq 0x5f70
movq %rax, %rsi
addq $0x20, %rsi
leaq -0xe18(%rbp), %rdi
callq 0x5780
jmp 0x3894
jmp 0x3896
jmp 0x3898
movl -0xe1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xe1c(%rbp)
jmp 0x3677
leaq -0xe18(%rbp), %rdi
callq 0x5510
cmpq $0xf, %rax
jbe 0x390a
movslq -0xdfc(%rbp), %rsi
leaq -0x798(%rbp), %rdi
callq 0x5fe0
movq %rax, %rsi
leaq -0xdd8(%rbp), %rdi
callq 0x2190
movq %rax, -0x1820(%rbp)
jmp 0x38e9
movq -0x1820(%rbp), %rdi
movq 0x106c1(%rip), %rsi     # 0x13fb8
callq 0x21e0
jmp 0x38fe
leaq -0xe18(%rbp), %rdi
callq 0x6000
leaq 0x108b7(%rip), %rdi     # 0x141c8
leaq -0xe18(%rbp), %rsi
callq 0x5d80
jmp 0x391f
leaq -0xe18(%rbp), %rdi
callq 0x5510
cmpq $0x0, %rax
jne 0x3948
leaq -0x9a8(%rbp), %rdi
leaq -0xdfc(%rbp), %rsi
callq 0x5780
jmp 0x3946
jmp 0x3948
leaq -0xe18(%rbp), %rdi
callq 0x5510
cmpq $0x1, %rax
jbe 0x3971
leaq -0x9c0(%rbp), %rdi
leaq -0xdfc(%rbp), %rsi
callq 0x5780
jmp 0x396f
jmp 0x3971
leaq -0xe18(%rbp), %rdi
callq 0x5510
cmpq $0x1, %rax
jne 0x39bb
movslq -0xdfc(%rbp), %rsi
leaq 0x1084f(%rip), %rdi     # 0x141e0
callq 0x57f0
movq %rax, %rdi
callq 0x5510
cmpq $0x1, %rax
jne 0x39bb
leaq -0xbd8(%rbp), %rdi
leaq -0xdfc(%rbp), %rsi
callq 0x5780
jmp 0x39b9
jmp 0x39bb
leaq -0xe18(%rbp), %rdi
callq 0x5510
cmpq $0x1, %rax
jne 0x39fd
movslq -0xdfc(%rbp), %rsi
leaq 0x10805(%rip), %rdi     # 0x141e0
callq 0x57f0
movq %rax, %rdi
callq 0x5510
cmpq $0x1, %rax
jbe 0x39fd
movl -0xbc0(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xbc0(%rbp)
leaq -0xe18(%rbp), %rdi
callq 0x5490
movl -0xdfc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xdfc(%rbp)
jmp 0x3634
movq 0x105a4(%rip), %rdi     # 0x13fc8
movq 0x1058d(%rip), %rsi     # 0x13fb8
callq 0x21e0
jmp 0x3a32
movq 0x1058f(%rip), %rdi     # 0x13fc8
leaq 0x96d6(%rip), %rsi      # 0xd116
callq 0x21b0
movq %rax, -0x1828(%rbp)
jmp 0x3a4e
leaq -0x990(%rbp), %rdi
callq 0x5510
movq -0x1828(%rbp), %rdi
movq %rax, %rsi
callq 0x2070
movq %rax, -0x1830(%rbp)
jmp 0x3a72
movq -0x1830(%rbp), %rdi
leaq 0x96a0(%rip), %rsi      # 0xd120
callq 0x21b0
movq %rax, -0x1838(%rbp)
jmp 0x3a8e
leaq -0x9a8(%rbp), %rdi
callq 0x5510
movq -0x1838(%rbp), %rdi
movq %rax, %rsi
callq 0x2070
movq %rax, -0x1840(%rbp)
jmp 0x3ab2
movq -0x1840(%rbp), %rdi
leaq 0x966d(%rip), %rsi      # 0xd12d
callq 0x21b0
movq %rax, -0x1848(%rbp)
jmp 0x3ace
leaq -0x9c0(%rbp), %rdi
callq 0x5510
movq -0x1848(%rbp), %rdi
movq %rax, %rsi
callq 0x2070
movq %rax, -0x1850(%rbp)
jmp 0x3af2
movq -0x1850(%rbp), %rdi
leaq 0x963b(%rip), %rsi      # 0xd13b
callq 0x21b0
movq %rax, -0x1858(%rbp)
jmp 0x3b0e
leaq -0xbd8(%rbp), %rdi
callq 0x5510
movq -0x1858(%rbp), %rdi
movq %rax, %rsi
callq 0x2070
movq %rax, -0x1860(%rbp)
jmp 0x3b32
movq -0x1860(%rbp), %rdi
leaq 0x9609(%rip), %rsi      # 0xd149
callq 0x21b0
movq %rax, -0x1868(%rbp)
jmp 0x3b4e
movq -0x1868(%rbp), %rdi
movl -0xbc0(%rbp), %esi
callq 0x22d0
movq %rax, -0x1870(%rbp)
jmp 0x3b69
movq -0x1870(%rbp), %rdi
movq 0x10441(%rip), %rsi     # 0x13fb8
callq 0x21e0
jmp 0x3b7e
cmpl $0x0, -0x9c8(%rbp)
jle 0x3bae
movl $0x1, -0x4(%rbp)
movl $0x1, -0xe3c(%rbp)
jmp 0x51df
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x5320
movl -0x514(%rbp), %eax
movl %eax, -0xe40(%rbp)
leaq 0x9598(%rip), %rdx      # 0xd159
leaq -0x1060(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x5a00
jmp 0x3bd3
leaq -0x1040(%rbp), %rdi
leaq -0x1060(%rbp), %rsi
movl $0x10, %edx
callq 0x2330
jmp 0x3bed
leaq -0x1060(%rbp), %rdi
callq 0x2130
movl $0x0, -0x1064(%rbp)
movl $0x0, -0x1068(%rbp)
leaq -0x1080(%rbp), %rdi
callq 0x53f0
leaq -0x1098(%rbp), %rdi
callq 0x53f0
leaq -0x10b0(%rbp), %rdi
callq 0x53f0
leaq 0x10590(%rip), %rdi     # 0x141c8
callq 0x6020
movq %rax, -0x1880(%rbp)
movl $0xffffffff, -0x10d4(%rbp) # imm = 0xFFFFFFFF
movl $0xffffffff, -0x10d8(%rbp) # imm = 0xFFFFFFFF
leaq -0x10d4(%rbp), %rdi
leaq -0x10d8(%rbp), %rsi
callq 0x6050
movq %rax, -0x1878(%rbp)
jmp 0x3c74
movq -0x1878(%rbp), %rax
movq %rax, -0x10d0(%rbp)
leaq -0x10d9(%rbp), %rdi
movq %rdi, -0x1888(%rbp)
callq 0x6080
movq -0x1880(%rbp), %rsi
movq -0x1888(%rbp), %rcx
leaq -0x10c8(%rbp), %rdi
leaq -0x10d0(%rbp), %rdx
callq 0x60a0
jmp 0x3cb8
leaq -0x10d9(%rbp), %rdi
callq 0x6120
leaq 0x104fd(%rip), %rdi     # 0x141c8
callq 0x6020
movq %rax, %rsi
movl $0xffffffff, -0x10e0(%rbp) # imm = 0xFFFFFFFF
leaq 0x105ac(%rip), %rdi     # 0x14290
leaq -0x10e0(%rbp), %rdx
callq 0x6140
jmp 0x3cf2
leaq 0x10507(%rip), %rdi     # 0x14200
xorl %eax, %eax
movl %eax, %esi
callq 0x57f0
movq %rax, %rdi
callq 0x5510
decq %rax
shrq %rax
movl %eax, 0x10592(%rip)     # 0x142a8
leaq 0x944c(%rip), %rdx      # 0xd169
leaq -0x1300(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x5a00
jmp 0x3d2f
leaq -0x12e0(%rbp), %rdi
leaq -0x1300(%rbp), %rsi
movl $0x10, %edx
callq 0x2330
jmp 0x3d49
leaq -0x1300(%rbp), %rdi
callq 0x2130
leaq 0x941b(%rip), %rdx      # 0xd177
leaq -0x1520(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x5a00
jmp 0x3d6e
leaq -0x1500(%rbp), %rdi
leaq -0x1520(%rbp), %rsi
movl $0x10, %edx
callq 0x2330
jmp 0x3d88
leaq -0x1520(%rbp), %rdi
callq 0x2130
movl $0x0, -0x1524(%rbp)
movl $0x0, -0x1528(%rbp)
leaq 0x10419(%rip), %rdi     # 0x141c8
callq 0x6020
movq %rax, -0x1898(%rbp)
movl $0xffffffff, -0x154c(%rbp) # imm = 0xFFFFFFFF
movl $0xffffffff, -0x1550(%rbp) # imm = 0xFFFFFFFF
leaq -0x154c(%rbp), %rdi
leaq -0x1550(%rbp), %rsi
callq 0x6050
movq %rax, -0x1890(%rbp)
jmp 0x3deb
movq -0x1890(%rbp), %rax
movq %rax, -0x1548(%rbp)
leaq -0x1551(%rbp), %rdi
movq %rdi, -0x18a0(%rbp)
callq 0x6080
movq -0x1898(%rbp), %rsi
movq -0x18a0(%rbp), %rcx
leaq -0x1540(%rbp), %rdi
leaq -0x1548(%rbp), %rdx
callq 0x60a0
jmp 0x3e2f
leaq -0x1551(%rbp), %rdi
callq 0x6120
movl $0x0, -0x1558(%rbp)
movl $0x0, -0x155c(%rbp)
movslq -0x155c(%rbp), %rax
movq %rax, -0x18a8(%rbp)
leaq -0x9c0(%rbp), %rdi
callq 0x5510
movq %rax, %rcx
movq -0x18a8(%rbp), %rax
cmpq %rcx, %rax
jae 0x4317
movslq -0x155c(%rbp), %rsi
leaq -0x9c0(%rbp), %rdi
movq %rdi, -0x18b8(%rbp)
callq 0x54f0
movq -0x18b8(%rbp), %rdi
movl (%rax), %eax
movl %eax, -0x18bc(%rbp)
movslq -0x155c(%rbp), %rsi
callq 0x54f0
movslq (%rax), %rsi
leaq 0x103d5(%rip), %rdi     # 0x14290
callq 0x54f0
movl -0x18bc(%rbp), %ecx
movl %ecx, (%rax)
movl $0x0, -0x1560(%rbp)
movl $0xffffffff, -0x1564(%rbp) # imm = 0xFFFFFFFF
leaq -0x1580(%rbp), %rdi
callq 0x5470
movq -0x18b8(%rbp), %rdi
movslq -0x155c(%rbp), %rsi
callq 0x54f0
movl (%rax), %esi
leaq -0x1040(%rbp), %rdi
callq 0x22d0
movq %rax, -0x18b0(%rbp)
jmp 0x3f12
movq -0x18b0(%rbp), %rdi
movq 0x10098(%rip), %rsi     # 0x13fb8
callq 0x21e0
jmp 0x3f27
movslq -0x155c(%rbp), %rsi
leaq -0x9c0(%rbp), %rdi
callq 0x54f0
movslq (%rax), %rsi
leaq 0x10284(%rip), %rdi     # 0x141c8
callq 0x57f0
movq %rax, -0x1588(%rbp)
movq -0x1588(%rbp), %rdi
callq 0x5810
movq %rax, -0x1590(%rbp)
movq -0x1588(%rbp), %rdi
callq 0x5840
movq %rax, -0x1598(%rbp)
leaq -0x1590(%rbp), %rdi
leaq -0x1598(%rbp), %rsi
callq 0x5870
testb $0x1, %al
jne 0x3f92
jmp 0x41ed
leaq -0x1590(%rbp), %rdi
callq 0x58b0
movl (%rax), %eax
movl %eax, -0x159c(%rbp)
movl $0x0, 0x102fc(%rip)     # 0x142ac
movl $0x0, 0x102f6(%rip)     # 0x142b0
movslq -0x155c(%rbp), %rsi
leaq -0x9c0(%rbp), %rdi
callq 0x54f0
movl (%rax), %edi
movl -0x159c(%rbp), %esi
movl $0x1, %edx
movl $0x32, %ecx
callq 0x2840
jmp 0x3fe6
leaq 0x9198(%rip), %rsi      # 0xd185
leaq -0x1040(%rbp), %rdi
callq 0x21b0
movq %rax, -0x18c8(%rbp)
jmp 0x4002
movq -0x18c8(%rbp), %rdi
movl -0x159c(%rbp), %esi
callq 0x22d0
movq %rax, -0x18d0(%rbp)
jmp 0x401d
movq -0x18d0(%rbp), %rdi
leaq 0x9253(%rip), %rsi      # 0xd27e
callq 0x21b0
movq %rax, -0x18d8(%rbp)
jmp 0x4039
movq -0x18d8(%rbp), %rdi
movl 0x1026a(%rip), %esi     # 0x142b0
callq 0x22d0
jmp 0x404d
cmpl $0x32, 0x1025c(%rip)    # 0x142b0
jne 0x419d
leaq -0x1580(%rbp), %rdi
callq 0x61f0
testb $0x1, %al
jne 0x417a
leaq 0x9112(%rip), %rsi      # 0xd187
leaq -0x1040(%rbp), %rdi
callq 0x21b0
jmp 0x4083
jmp 0x417a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x1060(%rbp), %rdi
callq 0x2130
jmp 0x5320
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x52f0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x10d9(%rbp), %rdi
callq 0x6120
jmp 0x52f0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x52e4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x1300(%rbp), %rdi
callq 0x2130
jmp 0x52e4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x52d8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x1520(%rbp), %rdi
callq 0x2130
jmp 0x52d8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x52cc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x1551(%rbp), %rdi
callq 0x6120
jmp 0x52cc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x1580(%rbp), %rdi
callq 0x5490
jmp 0x52c0
leaq -0x1580(%rbp), %rdi
leaq -0x159c(%rbp), %rsi
callq 0x5780
jmp 0x418f
movl 0x1011b(%rip), %eax     # 0x142b0
movl %eax, -0x1560(%rbp)
jmp 0x41c5
movl -0x1560(%rbp), %eax
cmpl 0x10107(%rip), %eax     # 0x142b0
jge 0x41c3
movl 0x100ff(%rip), %eax     # 0x142b0
movl %eax, -0x1560(%rbp)
movl -0x159c(%rbp), %eax
movl %eax, -0x1564(%rbp)
jmp 0x41c5
movq 0xfdec(%rip), %rsi      # 0x13fb8
leaq -0x1040(%rbp), %rdi
callq 0x21e0
jmp 0x41da
jmp 0x41dc
leaq -0x1590(%rbp), %rdi
callq 0x58d0
jmp 0x3f76
leaq -0x1580(%rbp), %rdi
callq 0x61f0
testb $0x1, %al
jne 0x41ff
jmp 0x4216
leaq -0x1580(%rbp), %rdi
leaq -0x1564(%rbp), %rsi
callq 0x5780
jmp 0x4214
jmp 0x4216
leaq -0x1580(%rbp), %rdi
callq 0x5510
cmpq $0x1, %rax
jne 0x423c
movl -0x1558(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1558(%rbp)
jmp 0x42c4
leaq -0x1580(%rbp), %rax
movq %rax, -0x15a8(%rbp)
movq -0x15a8(%rbp), %rdi
callq 0x5810
movq %rax, -0x15b0(%rbp)
movq -0x15a8(%rbp), %rdi
callq 0x5840
movq %rax, -0x15b8(%rbp)
leaq -0x15b0(%rbp), %rdi
leaq -0x15b8(%rbp), %rsi
callq 0x5870
testb $0x1, %al
jne 0x4289
jmp 0x42c2
leaq -0x15b0(%rbp), %rdi
callq 0x58b0
movl (%rax), %eax
movl %eax, -0x15bc(%rbp)
leaq -0x990(%rbp), %rdi
leaq -0x15bc(%rbp), %rsi
callq 0x5780
jmp 0x42b2
jmp 0x42b4
leaq -0x15b0(%rbp), %rdi
callq 0x58d0
jmp 0x4270
jmp 0x42c4
movslq -0x155c(%rbp), %rsi
leaq -0x9c0(%rbp), %rdi
callq 0x54f0
movslq (%rax), %rsi
leaq 0xfee7(%rip), %rdi      # 0x141c8
callq 0x57f0
movq %rax, %rdi
leaq -0x1580(%rbp), %rsi
callq 0x5530
jmp 0x42f7
leaq -0x1580(%rbp), %rdi
callq 0x5490
movl -0x155c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x155c(%rbp)
jmp 0x3e4f
movq 0xfcaa(%rip), %rdi      # 0x13fc8
leaq 0x8e68(%rip), %rsi      # 0xd18d
callq 0x21b0
movq %rax, -0x18e0(%rbp)
jmp 0x4333
leaq -0x9c0(%rbp), %rdi
callq 0x5510
movq -0x18e0(%rbp), %rdi
movq %rax, %rsi
movslq -0x1558(%rbp), %rax
subq %rax, %rsi
callq 0x2070
movq %rax, -0x18e8(%rbp)
jmp 0x4361
movq -0x18e8(%rbp), %rdi
movq 0xfc49(%rip), %rsi      # 0x13fb8
callq 0x21e0
jmp 0x4376
leaq -0x990(%rbp), %rdi
callq 0x5510
movq %rax, -0x18f8(%rbp)
movl $0x0, -0x15dc(%rbp)
leaq -0x15dd(%rbp), %rdi
movq %rdi, -0x18f0(%rbp)
callq 0x5ac0
movq -0x18f8(%rbp), %rsi
movq -0x18f0(%rbp), %rcx
leaq -0x15d8(%rbp), %rdi
leaq -0x15dc(%rbp), %rdx
callq 0x5ae0
jmp 0x43c9
leaq -0x15dd(%rbp), %rdi
callq 0x5b60
movl $0x0, -0x15e4(%rbp)
movslq -0x15e4(%rbp), %rax
movq %rax, -0x1900(%rbp)
leaq -0x990(%rbp), %rdi
callq 0x5510
movq %rax, %rcx
movq -0x1900(%rbp), %rax
cmpq %rcx, %rax
jae 0x47d3
leaq 0xfe35(%rip), %rdi      # 0x14248
callq 0x6000
leaq 0xfe11(%rip), %rdi      # 0x14230
callq 0x6000
leaq 0xfe35(%rip), %rdi      # 0x14260
callq 0x6000
leaq 0xfe41(%rip), %rdi      # 0x14278
callq 0x6000
movl $0x0, -0x15e8(%rbp)
movl -0x15e8(%rbp), %eax
movl 0xfe56(%rip), %ecx      # 0x142a8
subl $0x1, %ecx
cmpl %ecx, %eax
jge 0x44f1
movslq -0x15e4(%rbp), %rsi
leaq -0x990(%rbp), %rdi
callq 0x54f0
movslq (%rax), %rsi
leaq 0xfd86(%rip), %rdi      # 0x14200
callq 0x57f0
movq %rax, %rdi
movslq -0x15e8(%rbp), %rsi
callq 0x54f0
movq %rax, %rsi
leaq 0xfdb0(%rip), %rdi      # 0x14248
callq 0x5780
jmp 0x449f
jmp 0x44a1
movl -0x15e8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x15e8(%rbp)
jmp 0x4446
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x52c0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x15dd(%rbp), %rdi
callq 0x5b60
jmp 0x52c0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x52b4
movslq -0x15e4(%rbp), %rsi
leaq -0x990(%rbp), %rdi
callq 0x54f0
movq %rax, %rsi
leaq 0xfd22(%rip), %rdi      # 0x14230
callq 0x5780
jmp 0x4515
movslq -0x15e4(%rbp), %rsi
leaq -0x990(%rbp), %rdi
callq 0x54f0
movl (%rax), %eax
movl %eax, -0x1904(%rbp)
movslq -0x15e4(%rbp), %rsi
leaq -0x990(%rbp), %rdi
callq 0x54f0
movslq (%rax), %rsi
leaq 0xfd43(%rip), %rdi      # 0x14290
callq 0x54f0
movl -0x1904(%rbp), %ecx
movl %ecx, (%rax)
movslq -0x15e4(%rbp), %rsi
leaq -0x990(%rbp), %rdi
callq 0x54f0
movslq (%rax), %rsi
leaq 0xfc51(%rip), %rdi      # 0x141c8
callq 0x57f0
movq %rax, -0x15f0(%rbp)
movq -0x15f0(%rbp), %rdi
callq 0x5810
movq %rax, -0x15f8(%rbp)
movq -0x15f0(%rbp), %rdi
callq 0x5840
movq %rax, -0x1600(%rbp)
leaq -0x15f8(%rbp), %rdi
leaq -0x1600(%rbp), %rsi
callq 0x5870
testb $0x1, %al
jne 0x45c2
jmp 0x4612
leaq -0x15f8(%rbp), %rdi
callq 0x58b0
movl (%rax), %eax
movl %eax, -0x1604(%rbp)
movslq -0x15e4(%rbp), %rsi
leaq -0x990(%rbp), %rdi
callq 0x54f0
movl (%rax), %edi
movl -0x1604(%rbp), %esi
movl $0x2, %edx
movl $0x2710, %ecx           # imm = 0x2710
callq 0x2660
jmp 0x4602
jmp 0x4604
leaq -0x15f8(%rbp), %rdi
callq 0x58d0
jmp 0x45a9
movl $0x0, -0x1608(%rbp)
movslq -0x1608(%rbp), %rax
movq %rax, -0x1910(%rbp)
leaq 0xfc47(%rip), %rdi      # 0x14278
callq 0x5510
movq %rax, %rcx
movq -0x1910(%rbp), %rax
cmpq %rcx, %rax
jae 0x4793
movslq -0x1608(%rbp), %rsi
leaq 0xfc21(%rip), %rdi      # 0x14278
callq 0x54f0
movl (%rax), %eax
movl %eax, -0x160c(%rbp)
movslq -0x160c(%rbp), %rsi
leaq -0x1540(%rbp), %rdi
callq 0x6230
cmpl $-0x1, (%rax)
jne 0x46cd
leaq -0x15e4(%rbp), %rdi
leaq -0x1608(%rbp), %rsi
callq 0x6250
movq %rax, -0x1918(%rbp)
jmp 0x4698
movq -0x1918(%rbp), %rax
movq %rax, -0x1614(%rbp)
movslq -0x160c(%rbp), %rsi
leaq -0x1540(%rbp), %rdi
callq 0x6230
movq %rax, %rdi
leaq -0x1614(%rbp), %rsi
callq 0x6280
jmp 0x477d
movslq -0x160c(%rbp), %rsi
leaq -0x1540(%rbp), %rdi
callq 0x6230
movl 0x4(%rax), %eax
cmpl -0x1608(%rbp), %eax
jge 0x4761
movslq -0x160c(%rbp), %rsi
leaq -0x1540(%rbp), %rdi
callq 0x6230
movslq (%rax), %rsi
leaq -0x15d8(%rbp), %rdi
callq 0x54f0
movl (%rax), %ecx
incl %ecx
movl %ecx, (%rax)
leaq -0x15e4(%rbp), %rdi
leaq -0x1608(%rbp), %rsi
callq 0x6250
movq %rax, -0x1920(%rbp)
jmp 0x472f
movq -0x1920(%rbp), %rax
movq %rax, -0x161c(%rbp)
movslq -0x160c(%rbp), %rsi
leaq -0x1540(%rbp), %rdi
callq 0x6230
movq %rax, %rdi
leaq -0x161c(%rbp), %rsi
callq 0x6280
jmp 0x477b
movslq -0x15e4(%rbp), %rsi
leaq -0x15d8(%rbp), %rdi
callq 0x54f0
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x4793
jmp 0x477f
movl -0x1608(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1608(%rbp)
jmp 0x461c
leaq 0xfac6(%rip), %rsi      # 0x14260
leaq -0x1080(%rbp), %rdi
callq 0x5d80
jmp 0x47a8
leaq 0xfac9(%rip), %rsi      # 0x14278
leaq -0x1098(%rbp), %rdi
callq 0x5d80
jmp 0x47bd
jmp 0x47bf
movl -0x15e4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x15e4(%rbp)
jmp 0x43df
leaq -0x1638(%rbp), %rdi
callq 0x5470
leaq 0xf9e2(%rip), %rdi      # 0x141c8
callq 0x6020
movq %rax, -0x1930(%rbp)
movl $0x0, -0x1654(%rbp)
leaq -0x1655(%rbp), %rdi
movq %rdi, -0x1928(%rbp)
callq 0x5ac0
movq -0x1930(%rbp), %rsi
movq -0x1928(%rbp), %rcx
leaq -0x1650(%rbp), %rdi
leaq -0x1654(%rbp), %rdx
callq 0x5ae0
jmp 0x4832
leaq -0x1655(%rbp), %rdi
callq 0x5b60
movl $0x0, -0x165c(%rbp)
movslq -0x165c(%rbp), %rax
movq %rax, -0x1938(%rbp)
leaq 0xfa33(%rip), %rdi      # 0x14290
callq 0x5510
movq %rax, %rcx
movq -0x1938(%rbp), %rax
cmpq %rcx, %rax
jae 0x48f0
movslq -0x165c(%rbp), %rsi
leaq 0xfa11(%rip), %rdi      # 0x14290
callq 0x54f0
cmpl $-0x1, (%rax)
jne 0x48da
leaq -0x1638(%rbp), %rdi
leaq -0x165c(%rbp), %rsi
callq 0x5780
jmp 0x489e
jmp 0x48da
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x1655(%rbp), %rdi
callq 0x5b60
jmp 0x52a8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x1650(%rbp), %rdi
callq 0x5490
jmp 0x52a8
jmp 0x48dc
movl -0x165c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x165c(%rbp)
jmp 0x4848
movq 0xf6d1(%rip), %rdi      # 0x13fc8
leaq 0x88a7(%rip), %rsi      # 0xd1a5
callq 0x21b0
movq %rax, -0x1940(%rbp)
jmp 0x490c
leaq -0x1638(%rbp), %rdi
callq 0x5510
movq -0x1940(%rbp), %rdi
movq %rax, %rsi
callq 0x2070
movq %rax, -0x1948(%rbp)
jmp 0x4930
movq -0x1948(%rbp), %rdi
movq 0xf67a(%rip), %rsi      # 0x13fb8
callq 0x21e0
jmp 0x4945
movl $0x0, -0x1660(%rbp)
movq $0x0, -0x1668(%rbp)
movl $0x0, -0x166c(%rbp)
movl $0x1e, -0x1670(%rbp)
movq 0xf653(%rip), %rdi      # 0x13fc8
leaq 0x883d(%rip), %rsi      # 0xd1b9
callq 0x21b0
movq %rax, -0x1950(%rbp)
jmp 0x498a
leaq -0x1080(%rbp), %rdi
callq 0x6020
movq -0x1950(%rbp), %rdi
movq %rax, %rsi
callq 0x2070
movq %rax, -0x1958(%rbp)
jmp 0x49ae
movq -0x1958(%rbp), %rdi
leaq 0x88c2(%rip), %rsi      # 0xd27e
callq 0x21b0
movq %rax, -0x1960(%rbp)
jmp 0x49ca
movq -0x1960(%rbp), %rdi
movq 0xf5e0(%rip), %rsi      # 0x13fb8
callq 0x21e0
jmp 0x49df
movl $0x0, -0x1674(%rbp)
movslq -0x1674(%rbp), %rax
movq %rax, -0x1968(%rbp)
leaq -0x1080(%rbp), %rdi
callq 0x6020
movq %rax, %rcx
movq -0x1968(%rbp), %rax
cmpq %rcx, %rax
jae 0x4e27
movslq -0x1674(%rbp), %rsi
leaq -0x15d8(%rbp), %rdi
callq 0x54f0
cmpl $0x0, (%rax)
jg 0x4a55
movslq -0x1674(%rbp), %rsi
leaq -0x1080(%rbp), %rdi
callq 0x57f0
movq %rax, %rdi
callq 0x5510
movslq -0x1670(%rbp), %rcx
cmpq %rcx, %rax
jae 0x4a5a
jmp 0x4e13
movl -0x1660(%rbp), %eax
incl %eax
movl %eax, -0x1660(%rbp)
leaq 0x8754(%rip), %rsi      # 0xd1c3
leaq -0x12e0(%rbp), %rdi
callq 0x21b0
movq %rax, -0x1970(%rbp)
jmp 0x4a84
movq -0x1970(%rbp), %rdi
movl -0x1674(%rbp), %esi
callq 0x22d0
movq %rax, -0x1978(%rbp)
jmp 0x4a9f
movq -0x1978(%rbp), %rdi
movq 0xf50b(%rip), %rsi      # 0x13fb8
callq 0x21e0
movq %rax, -0x1980(%rbp)
jmp 0x4abb
movq -0x1980(%rbp), %rdi
leaq 0x86bc(%rip), %rsi      # 0xd185
callq 0x21b0
movq %rax, -0x1988(%rbp)
jmp 0x4ad7
movslq -0x1674(%rbp), %rsi
leaq -0x1080(%rbp), %rdi
callq 0x57f0
movq %rax, %rdi
callq 0x5510
movq -0x1988(%rbp), %rdi
movq %rax, %rsi
callq 0x2070
movq %rax, -0x1990(%rbp)
jmp 0x4b0a
movq -0x1990(%rbp), %rdi
leaq 0x86b3(%rip), %rsi      # 0xd1cb
callq 0x21b0
jmp 0x4b1f
leaq 0x869d(%rip), %rsi      # 0xd1c3
leaq -0x1500(%rbp), %rdi
callq 0x21b0
movq %rax, -0x1998(%rbp)
jmp 0x4b3b
movq -0x1998(%rbp), %rdi
movl -0x1674(%rbp), %esi
callq 0x22d0
movq %rax, -0x19a0(%rbp)
jmp 0x4b56
movq -0x19a0(%rbp), %rdi
leaq 0x871a(%rip), %rsi      # 0xd27e
callq 0x21b0
jmp 0x4b6b
movslq -0x1674(%rbp), %rsi
leaq -0x1098(%rbp), %rdi
callq 0x57f0
movq %rax, -0x1680(%rbp)
movq -0x1680(%rbp), %rdi
callq 0x5810
movq %rax, -0x1688(%rbp)
movq -0x1680(%rbp), %rdi
callq 0x5840
movq %rax, -0x1690(%rbp)
leaq -0x1688(%rbp), %rdi
leaq -0x1690(%rbp), %rsi
callq 0x5870
testb $0x1, %al
jne 0x4bc4
jmp 0x4c33
leaq -0x1688(%rbp), %rdi
callq 0x58b0
movl (%rax), %eax
movl %eax, -0x1694(%rbp)
leaq 0x869f(%rip), %rsi      # 0xd27e
leaq -0x1500(%rbp), %rdi
callq 0x21b0
movq %rax, -0x19a8(%rbp)
jmp 0x4bf4
movq -0x19a8(%rbp), %rdi
movl -0x1694(%rbp), %esi
callq 0x22d0
jmp 0x4c08
movslq -0x1694(%rbp), %rsi
leaq -0x1650(%rbp), %rdi
callq 0x54f0
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
leaq -0x1688(%rbp), %rdi
callq 0x58d0
jmp 0x4bab
movq 0xf37e(%rip), %rsi      # 0x13fb8
leaq -0x1500(%rbp), %rdi
callq 0x21e0
jmp 0x4c48
movslq -0x1674(%rbp), %rsi
leaq -0x1080(%rbp), %rdi
callq 0x57f0
movq %rax, %rdi
callq 0x5510
movslq -0x1524(%rbp), %rcx
cmpq %rcx, %rax
jbe 0x4c90
movslq -0x1674(%rbp), %rsi
leaq -0x1080(%rbp), %rdi
callq 0x57f0
movq %rax, %rdi
callq 0x5510
movl %eax, -0x1524(%rbp)
movslq -0x1674(%rbp), %rsi
leaq -0x1080(%rbp), %rdi
callq 0x57f0
movq %rax, %rdi
callq 0x5510
movq %rax, %rcx
movslq -0x1528(%rbp), %rax
addq %rcx, %rax
movl %eax, -0x1528(%rbp)
movl $0x0, -0x1698(%rbp)
movslq -0x1674(%rbp), %rsi
leaq -0x1080(%rbp), %rdi
callq 0x57f0
movq %rax, -0x16a0(%rbp)
movq -0x16a0(%rbp), %rdi
callq 0x5810
movq %rax, -0x16a8(%rbp)
movq -0x16a0(%rbp), %rdi
callq 0x5840
movq %rax, -0x16b0(%rbp)
leaq -0x16a8(%rbp), %rdi
leaq -0x16b0(%rbp), %rsi
callq 0x5870
testb $0x1, %al
jne 0x4d21
jmp 0x4d96
leaq -0x16a8(%rbp), %rdi
callq 0x58b0
movl (%rax), %eax
movl %eax, -0x16b4(%rbp)
cvtsi2ssl -0x16b4(%rbp), %xmm0
movss 0x82cf(%rip), %xmm1     # 0xd014
divss %xmm1, %xmm0
leaq -0x12e0(%rbp), %rdi
callq 0x2150
movq %rax, -0x19b0(%rbp)
jmp 0x4d5e
movq -0x19b0(%rbp), %rdi
leaq 0x8512(%rip), %rsi      # 0xd27e
callq 0x21b0
jmp 0x4d73
movl -0x16b4(%rbp), %eax
addl -0x1698(%rbp), %eax
movl %eax, -0x1698(%rbp)
leaq -0x16a8(%rbp), %rdi
callq 0x58d0
jmp 0x4d08
cvtsi2sdl -0x1698(%rbp), %xmm0
ucomisd -0x1668(%rbp), %xmm0
jbe 0x4db8
cvtsi2sdl -0x1698(%rbp), %xmm0
movsd %xmm0, -0x1668(%rbp)
cvtsi2ssl -0x1698(%rbp), %xmm1
movss 0x8248(%rip), %xmm0     # 0xd010
divss %xmm0, %xmm1
movss -0x166c(%rbp), %xmm0
addss %xmm1, %xmm0
movss %xmm0, -0x166c(%rbp)
movq 0xf1d1(%rip), %rsi      # 0x13fb8
leaq -0x12e0(%rbp), %rdi
callq 0x21e0
movq %rax, -0x19b8(%rbp)
jmp 0x4dfc
movq -0x19b8(%rbp), %rdi
movq 0xf1ae(%rip), %rsi      # 0x13fb8
callq 0x21e0
jmp 0x4e11
jmp 0x4e13
movl -0x1674(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1674(%rbp)
jmp 0x49e9
movl $0x0, -0x16b8(%rbp)
leaq -0x1650(%rbp), %rax
movq %rax, -0x16c0(%rbp)
movq -0x16c0(%rbp), %rdi
callq 0x5810
movq %rax, -0x16c8(%rbp)
movq -0x16c0(%rbp), %rdi
callq 0x5840
movq %rax, -0x16d0(%rbp)
leaq -0x16c8(%rbp), %rdi
leaq -0x16d0(%rbp), %rsi
callq 0x5870
testb $0x1, %al
jne 0x4e7e
jmp 0x4eba
leaq -0x16c8(%rbp), %rdi
callq 0x58b0
movl (%rax), %eax
movl %eax, -0x16d4(%rbp)
cmpl $0x0, -0x16d4(%rbp)
jne 0x4eaa
movl -0x16b8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x16b8(%rbp)
jmp 0x4eac
leaq -0x16c8(%rbp), %rdi
callq 0x58d0
jmp 0x4e65
movq 0xf107(%rip), %rdi      # 0x13fc8
leaq 0x830c(%rip), %rsi      # 0xd1d4
callq 0x21b0
movq %rax, -0x19c0(%rbp)
jmp 0x4ed6
movq -0x19c0(%rbp), %rdi
movl -0x1670(%rbp), %esi
callq 0x22d0
movq %rax, -0x19c8(%rbp)
jmp 0x4ef1
movq -0x19c8(%rbp), %rdi
leaq 0x82e9(%rip), %rsi      # 0xd1e8
callq 0x21b0
movq %rax, -0x19d0(%rbp)
jmp 0x4f0d
movq -0x19d0(%rbp), %rdi
movq 0xf09d(%rip), %rsi      # 0x13fb8
callq 0x21e0
jmp 0x4f22
movq 0xf09f(%rip), %rdi      # 0x13fc8
leaq 0x82c3(%rip), %rsi      # 0xd1f3
callq 0x21b0
movq %rax, -0x19d8(%rbp)
jmp 0x4f3e
movq -0x19d8(%rbp), %rdi
movl -0x1660(%rbp), %esi
callq 0x22d0
movq %rax, -0x19e0(%rbp)
jmp 0x4f59
movq -0x19e0(%rbp), %rdi
movq 0xf051(%rip), %rsi      # 0x13fb8
callq 0x21e0
jmp 0x4f6e
movq 0xf053(%rip), %rdi      # 0x13fc8
leaq 0x828b(%rip), %rsi      # 0xd207
callq 0x21b0
movq %rax, -0x19e8(%rbp)
jmp 0x4f8a
movq -0x19e8(%rbp), %rdi
movl -0x1524(%rbp), %esi
callq 0x22d0
movq %rax, -0x19f0(%rbp)
jmp 0x4fa5
movq -0x19f0(%rbp), %rdi
movq 0xf005(%rip), %rsi      # 0x13fb8
callq 0x21e0
jmp 0x4fba
movq 0xf007(%rip), %rdi      # 0x13fc8
leaq 0x8255(%rip), %rsi      # 0xd21d
callq 0x21b0
movq %rax, -0x19f8(%rbp)
jmp 0x4fd6
movq -0x19f8(%rbp), %rdi
movl -0x1528(%rbp), %eax
movl -0x1660(%rbp), %ecx
cltd
idivl %ecx
movl %eax, %esi
callq 0x22d0
movq %rax, -0x1a00(%rbp)
jmp 0x4ffc
movq -0x1a00(%rbp), %rdi
movq 0xefae(%rip), %rsi      # 0x13fb8
callq 0x21e0
jmp 0x5011
movq 0xefb0(%rip), %rdi      # 0x13fc8
leaq 0x8211(%rip), %rsi      # 0xd230
callq 0x21b0
movq %rax, -0x1a08(%rbp)
jmp 0x502d
movq -0x1a08(%rbp), %rdi
movsd -0x1668(%rbp), %xmm0
movsd 0x7fc4(%rip), %xmm1     # 0xd008
divsd %xmm1, %xmm0
callq 0x2300
movq %rax, -0x1a10(%rbp)
jmp 0x5056
movq -0x1a10(%rbp), %rdi
movq 0xef54(%rip), %rsi      # 0x13fb8
callq 0x21e0
jmp 0x506b
movq 0xef56(%rip), %rdi      # 0x13fc8
leaq 0x81d6(%rip), %rsi      # 0xd24f
callq 0x21b0
movq %rax, -0x1a18(%rbp)
jmp 0x5087
movq -0x1a18(%rbp), %rdi
movss -0x166c(%rbp), %xmm0
cvtsi2ssl -0x1660(%rbp), %xmm1
divss %xmm1, %xmm0
callq 0x2150
movq %rax, -0x1a20(%rbp)
jmp 0x50b0
movq -0x1a20(%rbp), %rdi
movq 0xeefa(%rip), %rsi      # 0x13fb8
callq 0x21e0
jmp 0x50c5
movq 0xeefc(%rip), %rdi      # 0x13fc8
leaq 0x8198(%rip), %rsi      # 0xd26b
callq 0x21b0
movq %rax, -0x1a28(%rbp)
jmp 0x50e1
movq -0x1a28(%rbp), %rdi
movl -0x16b8(%rbp), %esi
callq 0x22d0
movq %rax, -0x1a30(%rbp)
jmp 0x50fc
movq -0x1a30(%rbp), %rdi
leaq 0x8176(%rip), %rsi      # 0xd280
callq 0x21b0
movq %rax, -0x1a38(%rbp)
jmp 0x5118
leaq 0xf0a9(%rip), %rdi      # 0x141c8
callq 0x6020
movq -0x1a38(%rbp), %rdi
movq %rax, %rsi
callq 0x2070
movq %rax, -0x1a40(%rbp)
jmp 0x513c
movq -0x1a40(%rbp), %rdi
movq 0xee6e(%rip), %rsi      # 0x13fb8
callq 0x21e0
jmp 0x5151
leaq -0x1650(%rbp), %rdi
callq 0x5490
leaq -0x1638(%rbp), %rdi
callq 0x5490
leaq -0x15d8(%rbp), %rdi
callq 0x5490
leaq -0x1540(%rbp), %rdi
callq 0x62b0
leaq -0x1500(%rbp), %rdi
callq 0x2270
leaq -0x12e0(%rbp), %rdi
callq 0x2270
leaq -0x10c8(%rbp), %rdi
callq 0x62b0
leaq -0x10b0(%rbp), %rdi
callq 0x5410
leaq -0x1098(%rbp), %rdi
callq 0x5410
leaq -0x1080(%rbp), %rdi
callq 0x5410
leaq -0x1040(%rbp), %rdi
callq 0x2270
movl $0x0, -0xe3c(%rbp)
leaq -0xdd8(%rbp), %rdi
callq 0x2270
leaq -0xbd8(%rbp), %rdi
callq 0x5490
leaq -0x9c0(%rbp), %rdi
callq 0x5490
leaq -0x9a8(%rbp), %rdi
callq 0x5490
leaq -0x990(%rbp), %rdi
callq 0x5490
leaq -0x798(%rbp), %rdi
callq 0x5e80
leaq -0x760(%rbp), %rdi
callq 0x2270
leaq -0x558(%rbp), %rdi
callq 0x5490
leaq -0x538(%rbp), %rdi
callq 0x2130
leaq -0x510(%rbp), %rdi
callq 0x6310
leaq -0x4f0(%rbp), %rdi
callq 0x6370
leaq -0x4c0(%rbp), %rdi
callq 0x5410
leaq -0x4a8(%rbp), %rdi
callq 0x5410
leaq -0x470(%rbp), %rdi
callq 0x2090
leaq -0x248(%rbp), %rdi
callq 0x2090
leaq -0x30(%rbp), %rdi
callq 0x6390
movl -0x4(%rbp), %eax
addq $0x1a40, %rsp           # imm = 0x1A40
popq %rbp
retq
leaq -0x1638(%rbp), %rdi
callq 0x5490
leaq -0x15d8(%rbp), %rdi
callq 0x5490
leaq -0x1540(%rbp), %rdi
callq 0x62b0
leaq -0x1500(%rbp), %rdi
callq 0x2270
leaq -0x12e0(%rbp), %rdi
callq 0x2270
leaq -0x10c8(%rbp), %rdi
callq 0x62b0
leaq -0x10b0(%rbp), %rdi
callq 0x5410
leaq -0x1098(%rbp), %rdi
callq 0x5410
leaq -0x1080(%rbp), %rdi
callq 0x5410
leaq -0x1040(%rbp), %rdi
callq 0x2270
leaq -0xdd8(%rbp), %rdi
callq 0x2270
leaq -0xbd8(%rbp), %rdi
callq 0x5490
leaq -0x9c0(%rbp), %rdi
callq 0x5490
leaq -0x9a8(%rbp), %rdi
callq 0x5490
leaq -0x990(%rbp), %rdi
callq 0x5490
leaq -0x798(%rbp), %rdi
callq 0x5e80
leaq -0x760(%rbp), %rdi
callq 0x2270
leaq -0x558(%rbp), %rdi
callq 0x5490
leaq -0x538(%rbp), %rdi
callq 0x2130
leaq -0x510(%rbp), %rdi
callq 0x6310
leaq -0x4f0(%rbp), %rdi
callq 0x6370
leaq -0x4c0(%rbp), %rdi
callq 0x5410
leaq -0x4a8(%rbp), %rdi
callq 0x5410
leaq -0x470(%rbp), %rdi
callq 0x2090
leaq -0x248(%rbp), %rdi
callq 0x2090
leaq -0x30(%rbp), %rdi
callq 0x6390
movq -0x38(%rbp), %rdi
callq 0x22e0
nopw %cs:(%rax,%rax)