// File: /workspace/github_cpp_makefile_star2_O3/richardposner[P]BioNetFit2/src/code/Evaluate.cpp
// Function: evaluateResults(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::map<int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::less<int>, std::allocator<std::pair<int const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, float, float)
float evaluateResults(string inputFile1, string inputFile2, map<int,string> constraints, string outname, float iteration1, float iteration2) {
  ifstream simResult1;
  ifstream simResult2;
  ofstream outFile;
  /*
  if(argc != 4){
     cout << endl << endl;
     cout << "Usage: ./evaluate_results result_file1.txt result_file2.txt constraint_file.cons";
     cout << endl << endl;
     return 1;
  }
*/
  outFile.open(outname, ios_base::app);
  simResult1.open (inputFile1);
  simResult2.open (inputFile2);

  int count = 0;
  vector<string> constraintValue1;
  vector<string> constraintValue2;
  vector<string> constraintOp;
  vector<string> variableNames1;
  vector<string> variableValues1;
  vector<string> variableNames2;
  vector<string> variableValues2;


  string constraintItem;


  map< string, map <int, double> > namesValues1;
  map< string, map <int, double> > namesValues2;

  string possibleConstraints("<>=!");
  size_t pos = 0;
  size_t newpos;
  size_t newpos2;

  string line;

  string tmpStr;

//just to test if the constraing function works
//int test = constraintFunction(0, "=", 0);
//cout << "test result is: " << test << endl; //the result should be 1

  //tests if input files exist
  if (!simResult1.is_open()){cout << "Error! Can't find simulation result file 1.\n"; return 1;}
  if (!simResult2.is_open()){cout << "Error! Can't find simulation result file 2.\n"; return 1;}

  //reads test constraints file
//  cout << "Reading constraints file..." << endl;


  for(auto it = constraints.begin(); it!=constraints.end(); ++it){
      //parse constraints using a logical expression parser
      //continue here
      //constraintValue1[0] = line.substr(0, line.find(constraints));
	  	  line = it->second;
        newpos = line.find_first_of(possibleConstraints, pos);
        constraintValue1.push_back(line.substr(pos, newpos));

        newpos2 = line.find_last_of(possibleConstraints);
        constraintValue2.push_back(line.substr(newpos2+1));

        //cout << "newpos " << newpos << " newpos2 " << newpos2 << endl;

        if(newpos == newpos2){
	constraintOp.push_back(line.substr(newpos,1));

        }else{constraintOp.push_back(line.substr(newpos,newpos2-newpos+1));}



        count++;


  }



  cout << "Done reading constraints file." << endl;







  //get variable/collumn names
  //cout << "Reading Result File 1..." << endl;
  getline (simResult1,line);
  variableNames1 = splitResults(line, ' ');

  if(variableNames1.size() <= 1){
	  variableNames1 = splitResults(line, '\t');
	  if(variableNames1.size() <= 1){
		cout << "Can't split result table, are you using space or tab as delimiter?" << endl;
		return 1;

	  }

  }

  for (unsigned int i = 0; i < variableNames1.size(); i++){
      if (variableNames1[i].empty() || variableNames1[i]=="#"){
         //cout << "Found empty string at " << i << endl;
         variableNames1.erase(variableNames1.begin()+i);
         i--;
      }
   }

/*
  //debug
  for(int i = 0; i < variableNames.size(); i++){
      cout << i << ": !!!!" << variableNames[i] << "@@@@" << endl;

  }
*/

  //get variable values
  count = 0;
  while ( getline (simResult1,line) ){

      //cout << line << '\n';

      variableValues1 =  splitResults(line, ' ');

      if(variableValues1.size() <= 1){
    	  variableValues1 = splitResults(line, '\t');
    	  if(variableValues1.size() <= 1){
    		cout << "Can't split result table, are you using space or tab as delimiter?" << endl;
    		return 1;

    	  }

      }

      for(unsigned int i = 0; i < variableValues1.size(); i++){
          if (variableValues1[i].empty()){
             //cout << "Found empty string at " << i << endl;
             variableValues1.erase(variableValues1.begin()+i);
             i--;
          }

       }

       //start making the map here
       //make a map with the variable names (string) vs their index (int), pointing to values (double)
       //example map[variableNames[i]][count] = variableValues[i];
       for(unsigned int i = 0; i < variableNames1.size(); i++){

          if(variableNames1[i] != "Iteration" || variableNames1[i] != "iteration" || variableNames1[i] != "time" || variableNames1[i] != "Time"){
             tmpStr = static_cast<string>(variableValues1[i]);
             namesValues1[variableNames1[i]][count] = atof(tmpStr.c_str());
             //cout << "tmpStr: " << tmpStr << endl;
             //cout << "name: " << variableNames[i] << "; value at " << count << ": " << namesValues[variableNames[i]][count]  << endl;
          }


       }


  count++;

  }


  //cout << "FOUND LINES IN THE RESULT FILE: " << count << endl;

  simResult1.close();


  //cout << "Done reading Result File 1." << endl;








  //get variable/collumn names
  //cout << "Reading Result File 2..." << endl;
  getline (simResult2,line);
  variableNames2 = splitResults(line, ' ');

  if(variableNames2.size() <= 1){
	  variableNames2 = splitResults(line, '\t');
	  if(variableNames2.size() <= 1){
		cout << "Can't split result table, are you using space or tab as delimiter?" << endl;
		return 1;

	  }

  }

  for (unsigned int i = 0; i < variableNames2.size(); i++){
      if (variableNames2[i].empty() || variableNames2[i]=="#"){
         //cout << "Found empty string at " << i << endl;
         variableNames2.erase(variableNames2.begin()+i);
         i--;
      }
   }

/*//debug
  for(int i = 0; i < variableNames.size(); i++){
      cout << i << ": !!!!" << variableNames[i] << "@@@@" << endl;

  }
*/
  //get variable values
  count = 0;
  while ( getline (simResult2,line) ){

      //cout << line << '\n';

      variableValues2 =  splitResults(line, ' ');

      if(variableValues2.size() <= 1){
    	  variableValues2 = splitResults(line, '\t');
    	  if(variableValues2.size() <= 1){
    		cout << "Can't split result table, are you using space or tab as delimiter?" << endl;
    		return 1;

    	  }

      }

      for(unsigned int i = 0; i < variableValues2.size(); i++){
          if (variableValues2[i].empty()){
             //cout << "Found empty string at " << i << endl;
             variableValues2.erase(variableValues2.begin()+i);
             i--;
          }

       }

       //start making the map here
       //make a map with the variable names (string) vs their index (int), pointing to values (double)
       //example map[variableNames[i]][count] = variableValues[i];

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

          if(variableNames2[i] != "Iteration" || variableNames2[i] != "iteration"){

             tmpStr = static_cast<string>(variableValues2[i]);
             namesValues2[variableNames2[i]][count] = atof(tmpStr.c_str());
            //cout << "tmpStr: " << tmpStr << endl;
            // cout << "name: " << variableNames[i] << "; value at " << count << ": " << namesValues[variableNames[i]][count]  << endl;
          }


      }


  count++;

  }


  simResult2.close();


  //cout << "Done reading Result File 2." << endl;

float constraintDist;
float result;
float constraintDistC = 0;
//added new model checking method
float fulfilledConstrants = 0;
int first = 0;
vector<string> consList;
//Now test if the constraints are fulfilled
 //And return a list of iterations or time points and whether they were fulfilled
 //cout << "Time" << "\t" << "Constraint" << "\t" << "Result(0=FALSE;1=TRUE)" << endl;
 //outFile << "Time" << "\t" << "Constraint" << "\t" << "Result(0=FALSE;1=TRUE)" << endl; //old mode
	outFile << "Time" << "\t" << "Constraints_fulfilled" << endl;
 for(unsigned int i = 0; i < constraintValue1.size(); i++){
     //constraintFunction(0, "=", 0);
     //cout << "@@@" << constraintValue1[i] << "@@@map size" << namesValues1[constraintValue1[i]].size() << endl;
 //    cout << constraintValue1[i] << "\t" <<  constraintOp[i] << "\t" << constraintValue2[i] << endl;
     cout << "Starting test for constraint: " << constraintValue1[i] << " " <<  constraintOp[i] << " " << constraintValue2[i] << " Iteration1 " << iteration1 << " Iteration2 " << iteration2 << endl;

     for (unsigned int j = 0; j < namesValues1[variableNames1[i]].size(); j++){
    	 //Raquel: added this if to check only the last time point
         //if(j==namesValues1[variableNames1[i]].size()-1){
    	 //if found the desired time point

    	 for(unsigned int k = 0; k < namesValues2[variableNames2[i]].size(); k++){
    		 //if we reach the correct time point/iteration specified by the user

    		 if(namesValues1[variableNames1[0]][j] == iteration1 && namesValues2[variableNames2[0]][k] == iteration2){
        	 	 cout << "FOUND TIME POINT 1= " << iteration1 << " TIME POINT2= " << iteration2 << endl;
        	 	 cout << "MODEL 1 " << inputFile1 << endl;
        	 	 cout << "MODEL 2 " << inputFile2 << endl;
        	 	cout << "Original constraint: " << constraintValue1[i] << " " << constraintOp[i] << " " << constraintValue2[i] << endl;

        	 	 //cout << "FOUND LAST TIME POINT j= " << j << " value " << namesValues1[variableNames1[0]][j] << endl;
        	 	 //cout << namesValues[constraintValue1[i]][j] << " " << constraintOp[i] << " " << namesValues[constraintValue2[i]][j];

        	 	 //if both constraint values belong to observables (are not explicit numbers)
        	 	 if(constraintValue1[i].find_first_not_of("-01234567890.") != string::npos && constraintValue2[i].find_first_not_of("-01234567890.") != string::npos){

        		 	 result = constraintFunction(namesValues1[constraintValue1[i]][j], constraintOp[i], namesValues2[constraintValue2[i]][j]);
            	 	 cout << "Constraint values: " << namesValues1[constraintValue1[i]][j] << " " << constraintOp[i] << " " << namesValues2[constraintValue2[i]][j] << endl;
            	 	 // (expected_value/(constraint_diff+expected_value))
            	 	 if(result==0){
            	 		 constraintDist = sqrt( pow( ( namesValues2[constraintValue2[i]][j]-namesValues1[constraintValue1[i]][j] ), 2) );
            	 		 result=( namesValues2[constraintValue2[i]][j] / (constraintDist + namesValues2[constraintValue2[i]][j]) );

            	 	 }


        	 	 }else if(constraintValue1[i].find_first_not_of("-01234567890.") != string::npos && constraintValue2[i].find_first_not_of("-01234567890.") == string::npos){

        	 		 result = constraintFunction(namesValues1[constraintValue1[i]][j], constraintOp[i], atof(constraintValue2[i].c_str()));
            	 	 cout << "Constraint values: " << namesValues1[constraintValue1[i]][j] << " " << constraintOp[i] << " " << atof(constraintValue2[i].c_str()) << endl;
            	 	 if(result==0){
            	 		 constraintDist = sqrt( pow( ( atof(constraintValue2[i].c_str())-namesValues1[constraintValue1[i]][j] ), 2) );
            	 		 result=( atof(constraintValue2[i].c_str()) / (constraintDist + atof(constraintValue2[i].c_str()) ) );

            	 	 }
        	 	 }else if(constraintValue1[i].find_first_not_of("-01234567890.") == string::npos && constraintValue2[i].find_first_not_of("-01234567890.") != string::npos){

        		 	 result = constraintFunction(atof(constraintValue1[i].c_str()), constraintOp[i], namesValues2[constraintValue2[i]][j]);
            	 	 cout << "Constraint values: " << atof(constraintValue1[i].c_str()) << " " << constraintOp[i] << " " << namesValues2[constraintValue2[i]][j] << endl;

            	 	 if(result==0){
            	 		 constraintDist = sqrt( pow( ( namesValues2[constraintValue2[i]][j]-atof(constraintValue1[i].c_str()) ), 2) );
            	 		 result=( namesValues2[constraintValue2[i]][j] / (constraintDist + namesValues2[constraintValue2[i]][j]) );

            	 	 }
        	 	 }else if(constraintValue1[i].find_first_not_of("-01234567890.") == string::npos && constraintValue2[i].find_first_not_of("-01234567890.") == string::npos){

        		 	 cout << "ERROR can't find any constraint value in the observable list!!!" << endl;
        		 	 cout << "constraint value 1: " << constraintValue1[i] << "constraint value 2: " << constraintValue2[i] << endl;

        	 	 }

        	 	 cout << "RESULT=" << result << endl;
        	 //cout << " = " << result << "; iteration = " << j << " constraints = " << constraintValue1[i] << constraintOp[i] << constraintValue2[i] << endl;

        	 	 if(result<=1 && result>0){

        	 		 fulfilledConstrants+=result;

        	 		 if(result<1){
        	 		    constraintDistC+=constraintDist*0.05;
        	 		 }

        	 		 if(result==1){
            	 		 consList.push_back(constraintValue1[i]+constraintOp[i]+constraintValue2[i]);
            	 		 //outFile << constraintValue1[i]<< constraintOp[i] << constraintValue2[i]<< " " << ;

        	 		 }
        	 		 result = 0;
        	 		 constraintDist = 0;
        	 	 }else{
        	 		 cout << "ERROR invalid constraint result: " << result << endl;
        	 		 result = 0;
        	 		 constraintDist=0;
        	 	 }
        	 	 if( (variableNames1[0]=="time" || variableNames1[0]=="Time") && first==0){
        	 		 //cout << namesValues1[variableNames1[0]][j] << "\t";
        	 		 outFile << namesValues1[variableNames1[0]][j] << "\t";
        	 		 first = 1;
        	 	 }else{
        	 		 if(first==0){
        	 			 outFile << j+1 << "\t";
        		 	 	 first = 1;
        	 		 }
        	 		 //cout << j+1 << "\t";

        	 	 }
        	 	 cout << constraintValue1[i] << constraintOp[i] << constraintValue2[i] << "\t";
        	 	 cout << result <<endl; //old mode
        	 	 outFile << constraintValue1[i] << constraintOp[i] << constraintValue2[i] << "\t"; //old mode
        	 	 outFile << result << endl; //old mode




         	 }


    	 }

     }




 }

 outFile << fulfilledConstrants << "\t";

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

	 outFile << consList[i] << "\t";


 }
 	 outFile << constraintDistC << endl;

 	consList.clear();


 outFile.close();


//namesValues[variableNames[i]][count]

  return fulfilledConstrants;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x8f8, %rsp            # imm = 0x8F8
movss %xmm1, 0x8(%rsp)
movss %xmm0, 0x138(%rsp)
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, 0x1a8(%rsp)
movq %rdi, 0x1b0(%rsp)
leaq 0x6f0(%rsp), %rdi
callq 0x22aa0
leaq 0x4e8(%rsp), %rdi
callq 0x22aa0
leaq 0x2e8(%rsp), %rdi
callq 0x23190
leaq 0x2e8(%rsp), %rdi
movq %rbx, %rsi
movl $0x1, %edx
callq 0x22420
leaq 0x6f0(%rsp), %rdi
movq 0x1b0(%rsp), %rsi
movl $0x8, %edx
callq 0x22840
leaq 0x4e8(%rsp), %rdi
movq 0x1a8(%rsp), %rsi
movl $0x8, %edx
callq 0x22840
xorl %eax, %eax
movl %eax, 0x44(%rsp)
movq %rax, 0xe0(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0xd0(%rsp)
movq %rax, 0xa0(%rsp)
movaps %xmm0, 0x90(%rsp)
movq %rax, 0x150(%rsp)
movaps %xmm0, 0x140(%rsp)
movq %rax, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movq %rax, 0x120(%rsp)
movaps %xmm0, 0x110(%rsp)
movq %rax, 0xc0(%rsp)
movaps %xmm0, 0xb0(%rsp)
movq %rax, 0x100(%rsp)
movaps %xmm0, 0xf0(%rsp)
leaq 0x2b8(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb $0x0, (%rcx)
leaq 0x270(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x200(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x1c8(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x8a296(%rip), %rsi     # 0xfdd13
leaq 0x8a293(%rip), %rdx     # 0xfdd17
leaq 0x1b8(%rsp), %rdi
callq 0x321d2
leaq 0x170(%rsp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x1e8(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x768(%rsp), %rdi
callq 0x221e0
testb %al, %al
je 0x74122
leaq 0x560(%rsp), %rdi
callq 0x221e0
testb %al, %al
je 0x7412b
movq 0x18(%r14), %rbx
addq $0x8, %r14
movq %r14, 0x48(%rsp)
cmpq %r14, %rbx
je 0x73c47
leaq 0x20(%rsp), %r15
leaq 0x160(%rsp), %r12
leaq 0x10(%rsp), %r13
leaq 0x28(%rbx), %rsi
movq %r12, %rdi
callq 0x22500
movq 0x1b8(%rsp), %rsi
movq 0x1c0(%rsp), %rcx
movq %r12, %rdi
xorl %edx, %edx
callq 0x22f50
movq %rax, %r14
movq %r13, %rdi
movq %r12, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x22a00
leaq 0xd0(%rsp), %rdi
movq %r13, %rsi
callq 0x6a2a2
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x73b69
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x1b8(%rsp), %rsi
movq 0x1c0(%rsp), %rcx
movq %r12, %rdi
movq $-0x1, %rdx
callq 0x23450
movq %rax, %rbp
leaq 0x1(%rax), %rdx
movq %r13, %rdi
movq %r12, %rsi
movq $-0x1, %rcx
callq 0x22a00
leaq 0x90(%rsp), %rdi
movq %r13, %rsi
callq 0x6a2a2
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x73bc8
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x229c0
subq %r14, %rbp
jne 0x73bf2
movl $0x1, %ecx
movq %r13, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x22a00
leaq 0x140(%rsp), %rdi
movq %r13, %rsi
callq 0x6a2a2
jmp 0x73c16
incq %rbp
movq %r13, %rdi
movq %r12, %rsi
movq %r14, %rdx
movq %rbp, %rcx
callq 0x22a00
leaq 0x140(%rsp), %rdi
movq %r13, %rsi
callq 0x6a2a2
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x73c2d
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x229c0
incl 0x44(%rsp)
movq %rbx, %rdi
callq 0x22670
movq %rax, %rbx
cmpq 0x48(%rsp), %rax
jne 0x73b09
movq 0x10235a(%rip), %rbx    # 0x175fa8
leaq 0x8a11d(%rip), %rsi     # 0xfdd72
movl $0x1e, %edx
movq %rbx, %rdi
callq 0x22ab0
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq 0x102328(%rip), %r15    # 0x175fa8
movq %r15, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq 0x6f0(%rsp), %rax
leaq 0x6f0(%rsp), %rdi
addq -0x18(%rax), %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %edx
leaq 0x6f0(%rsp), %rdi
leaq 0x160(%rsp), %rsi
callq 0x23300
leaq 0x50(%rsp), %rdi
leaq 0x160(%rsp), %rsi
movl $0x20, %edx
callq 0x736e4
movq 0x80(%rsp), %rax
leaq 0x50(%rsp), %rbx
movaps (%rbx), %xmm0
movq 0x10(%rbx), %rcx
movq %rcx, 0x80(%rsp)
movapd 0x70(%rsp), %xmm1
movaps %xmm0, 0x70(%rsp)
leaq 0x10(%rsp), %rdi
movapd %xmm1, (%rdi)
movq %rax, 0x10(%rdi)
xorps %xmm0, %xmm0
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
callq 0x31a0a
movq %rbx, %rdi
callq 0x31a0a
movq 0x70(%rsp), %rsi
movq 0x78(%rsp), %rax
movq %rax, %rcx
subq %rsi, %rcx
cmpq $0x20, %rcx
ja 0x73dc6
leaq 0x50(%rsp), %rdi
leaq 0x160(%rsp), %rsi
movl $0x9, %edx
callq 0x736e4
movq 0x80(%rsp), %rax
leaq 0x50(%rsp), %rbx
movaps (%rbx), %xmm0
movq 0x10(%rbx), %rcx
movq %rcx, 0x80(%rsp)
movapd 0x70(%rsp), %xmm1
movaps %xmm0, 0x70(%rsp)
leaq 0x10(%rsp), %rdi
movapd %xmm1, (%rdi)
movq %rax, 0x10(%rdi)
xorps %xmm0, %xmm0
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
callq 0x31a0a
movq %rbx, %rdi
callq 0x31a0a
movq 0x70(%rsp), %rsi
movq 0x78(%rsp), %rax
movq %rax, %rcx
subq %rsi, %rcx
cmpq $0x21, %rcx
jb 0x74418
cmpq %rsi, %rax
je 0x73e2a
xorl %r13d, %r13d
leaq 0x70(%rsp), %rbx
leaq 0x84369(%rip), %r14     # 0xf8143
xorl %r12d, %r12d
shlq $0x5, %r13
cmpq $0x0, 0x8(%rsi,%r13)
je 0x73e00
addq %r13, %rsi
movq %rsi, %rdi
movq %r14, %rsi
callq 0x22250
testl %eax, %eax
jne 0x73e0e
movq 0x70(%rsp), %rsi
addq %r13, %rsi
movq %rbx, %rdi
callq 0x75fbc
decl %r12d
incl %r12d
movq 0x70(%rsp), %rsi
movq 0x78(%rsp), %rax
subq %rsi, %rax
sarq $0x5, %rax
movq %r12, %r13
cmpq %r12, %rax
ja 0x73ddd
xorl %eax, %eax
leaq 0x160(%rsp), %r12
leaq 0x50(%rsp), %r13
leaq 0x10(%rsp), %rbp
leaq 0x89f8f(%rip), %rbx     # 0xfddd4
movl %eax, 0x44(%rsp)
movq 0x6f0(%rsp), %rax
movq -0x18(%rax), %rdi
leaq 0x6f0(%rsp), %r14
addq %r14, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x23300
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x742c1
movq %r13, %rdi
movq %r12, %rsi
movl $0x20, %edx
callq 0x736e4
movq 0x120(%rsp), %rax
movaps 0x50(%rsp), %xmm0
movq 0x60(%rsp), %rcx
movq %rcx, 0x120(%rsp)
movapd 0x110(%rsp), %xmm1
movaps %xmm0, 0x110(%rsp)
movapd %xmm1, 0x10(%rsp)
movq %rax, 0x20(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x50(%rsp)
movq $0x0, 0x60(%rsp)
movq %rbp, %rdi
callq 0x31a0a
movq %r13, %rdi
callq 0x31a0a
movq 0x110(%rsp), %rsi
movq 0x118(%rsp), %rax
movq %rax, %rcx
subq %rsi, %rcx
cmpq $0x20, %rcx
ja 0x73f98
movq %r13, %rdi
movq %r12, %rsi
movl $0x9, %edx
callq 0x736e4
movq 0x120(%rsp), %rax
movaps 0x50(%rsp), %xmm0
movq 0x60(%rsp), %rcx
movq %rcx, 0x120(%rsp)
movapd 0x110(%rsp), %xmm1
movaps %xmm0, 0x110(%rsp)
movapd %xmm1, 0x10(%rsp)
movq %rax, 0x20(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x50(%rsp)
movq $0x0, 0x60(%rsp)
movq %rbp, %rdi
callq 0x31a0a
movq %r13, %rdi
callq 0x31a0a
movq 0x110(%rsp), %rsi
movq 0x118(%rsp), %rax
movq %rax, %rcx
subq %rsi, %rcx
cmpq $0x21, %rcx
jb 0x74418
cmpq %rsi, %rax
je 0x73fe6
xorl %ecx, %ecx
xorl %r12d, %r12d
shlq $0x5, %rcx
cmpq $0x0, 0x8(%rsi,%rcx)
jne 0x73fd1
addq %rcx, %rsi
leaq 0x110(%rsp), %rdi
callq 0x75fbc
decl %r12d
movq 0x110(%rsp), %rsi
movq 0x118(%rsp), %rax
incl %r12d
movq %rax, %rdx
subq %rsi, %rdx
sarq $0x5, %rdx
movq %r12, %rcx
cmpq %r12, %rdx
ja 0x73fa2
movq 0x70(%rsp), %rdi
cmpq %rdi, 0x78(%rsp)
je 0x7410a
movl $0x1, %r13d
xorl %r12d, %r12d
shlq $0x5, %r12
addq %r12, %rdi
movq %rbx, %rsi
callq 0x22250
testl %eax, %eax
jne 0x7405e
movq 0x70(%rsp), %rdi
addq %r12, %rdi
leaq 0x853d3(%rip), %rsi     # 0xf93f4
callq 0x22250
testl %eax, %eax
jne 0x7405e
movq 0x70(%rsp), %rdi
addq %r12, %rdi
leaq 0x7d771(%rip), %rsi     # 0xf17aa
callq 0x22250
testl %eax, %eax
jne 0x7405e
movq 0x70(%rsp), %rdi
addq %r12, %rdi
leaq 0x89d8d(%rip), %rsi     # 0xfddde
callq 0x22250
testl %eax, %eax
je 0x740ea
movq 0x110(%rsp), %rax
leaq 0x20(%rsp), %r14
movq %r14, 0x10(%rsp)
movq (%rax,%r12), %rsi
movq 0x8(%rax,%r12), %rdx
addq %rsi, %rdx
movq %rbp, %rdi
callq 0x3213c
leaq 0x1d8(%rsp), %rdi
movq %rbp, %rsi
callq 0x22bb0
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x740ab
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x1d8(%rsp), %rdi
callq 0x22be0
movsd %xmm0, 0x48(%rsp)
addq 0x70(%rsp), %r12
leaq 0x268(%rsp), %rdi
movq %r12, %rsi
callq 0x75e56
movq %rax, %rdi
leaq 0x44(%rsp), %rsi
callq 0x75ed2
movsd 0x48(%rsp), %xmm0
movsd %xmm0, (%rax)
movl %r13d, %r12d
movq 0x70(%rsp), %rdi
movq 0x78(%rsp), %rax
subq %rdi, %rax
sarq $0x5, %rax
incl %r13d
cmpq %r12, %rax
ja 0x73fff
movl 0x44(%rsp), %eax
incl %eax
leaq 0x160(%rsp), %r12
leaq 0x50(%rsp), %r13
jmp 0x73e45
leaq 0x89bef(%rip), %rsi     # 0xfdd18
jmp 0x74132
leaq 0x89c13(%rip), %rsi     # 0xfdd45
movq 0x101e6f(%rip), %rdi    # 0x175fa8
movl $0x2c, %edx
callq 0x22ab0
movss 0x89bad(%rip), %xmm0    # 0xfdcf8
movss %xmm0, 0x40(%rsp)
movq 0x1d8(%rsp), %rdi
leaq 0x1e8(%rsp), %rax
cmpq %rax, %rdi
je 0x74176
movq 0x1e8(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x160(%rsp), %rdi
leaq 0x170(%rsp), %rax
cmpq %rax, %rdi
je 0x7419b
movq 0x170(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x1b8(%rsp), %rdi
leaq 0x1c8(%rsp), %rax
cmpq %rax, %rdi
je 0x741c0
movq 0x1c8(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x1f8(%rsp), %rdi
callq 0x75f38
leaq 0x268(%rsp), %rdi
callq 0x75f38
movq 0x2a8(%rsp), %rdi
leaq 0x2b8(%rsp), %rax
cmpq %rax, %rdi
je 0x741ff
movq 0x2b8(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0xf0(%rsp), %rdi
callq 0x31a0a
leaq 0xb0(%rsp), %rdi
callq 0x31a0a
leaq 0x110(%rsp), %rdi
callq 0x31a0a
leaq 0x70(%rsp), %rdi
callq 0x31a0a
leaq 0x140(%rsp), %rdi
callq 0x31a0a
leaq 0x90(%rsp), %rdi
callq 0x31a0a
leaq 0xd0(%rsp), %rdi
callq 0x31a0a
movq 0x101d2a(%rip), %rax    # 0x175f88
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x2f0(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x2e8(%rsp,%rcx)
callq 0x227d0
leaq 0x3e0(%rsp), %rdi
callq 0x222d0
leaq 0x4e8(%rsp), %rdi
callq 0x22200
leaq 0x6f0(%rsp), %rdi
callq 0x22200
movss 0x40(%rsp), %xmm0
addq $0x8f8, %rsp            # imm = 0x8F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x6f0(%rsp), %rdi
callq 0x221b0
movq 0x4e8(%rsp), %rax
leaq 0x4e8(%rsp), %rdi
addq -0x18(%rax), %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %edx
leaq 0x4e8(%rsp), %rdi
leaq 0x160(%rsp), %rsi
callq 0x23300
leaq 0x50(%rsp), %rdi
leaq 0x160(%rsp), %rsi
movl $0x20, %edx
callq 0x736e4
movq 0xc0(%rsp), %rax
leaq 0x50(%rsp), %rbx
movaps (%rbx), %xmm0
movq 0x10(%rbx), %rcx
movq %rcx, 0xc0(%rsp)
movapd 0xb0(%rsp), %xmm1
movaps %xmm0, 0xb0(%rsp)
leaq 0x10(%rsp), %rdi
movapd %xmm1, (%rdi)
movq %rax, 0x10(%rdi)
xorps %xmm0, %xmm0
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
callq 0x31a0a
movq %rbx, %rdi
callq 0x31a0a
movq 0xb0(%rsp), %rsi
movq 0xb8(%rsp), %rax
movq %rax, %rcx
subq %rsi, %rcx
cmpq $0x20, %rcx
ja 0x74463
leaq 0x50(%rsp), %rdi
leaq 0x160(%rsp), %rsi
movl $0x9, %edx
callq 0x736e4
movq 0xc0(%rsp), %rax
leaq 0x50(%rsp), %rbx
movaps (%rbx), %xmm0
movq 0x10(%rbx), %rcx
movq %rcx, 0xc0(%rsp)
movapd 0xb0(%rsp), %xmm1
movaps %xmm0, 0xb0(%rsp)
leaq 0x10(%rsp), %rdi
movapd %xmm1, (%rdi)
movq %rax, 0x10(%rdi)
xorps %xmm0, %xmm0
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
callq 0x31a0a
movq %rbx, %rdi
callq 0x31a0a
movq 0xb0(%rsp), %rsi
movq 0xb8(%rsp), %rax
movq %rax, %rcx
subq %rsi, %rcx
cmpq $0x21, %rcx
jae 0x74463
movq 0x101b89(%rip), %rbx    # 0x175fa8
leaq 0x8996b(%rip), %rsi     # 0xfdd91
movl $0x42, %edx
movq %rbx, %rdi
callq 0x22ab0
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq 0x101b57(%rip), %rdi    # 0x175fa8
callq 0x22050
movq %rax, %rdi
callq 0x22660
jmp 0x74143
cmpq %rsi, %rax
je 0x744d3
xorl %r13d, %r13d
leaq 0xb0(%rsp), %rbx
leaq 0x83cc9(%rip), %r14     # 0xf8143
xorl %r12d, %r12d
shlq $0x5, %r13
cmpq $0x0, 0x8(%rsi,%r13)
je 0x744a3
addq %r13, %rsi
movq %rsi, %rdi
movq %r14, %rsi
callq 0x22250
testl %eax, %eax
jne 0x744b1
movq 0xb0(%rsp), %rsi
addq %r13, %rsi
movq %rbx, %rdi
callq 0x75fbc
decl %r12d
incl %r12d
movq 0xb0(%rsp), %rsi
movq 0xb8(%rsp), %rax
subq %rsi, %rax
sarq $0x5, %rax
movq %r12, %r13
cmpq %r12, %rax
ja 0x7447d
xorl %eax, %eax
leaq 0x160(%rsp), %r14
leaq 0x50(%rsp), %r12
leaq 0x10(%rsp), %r13
leaq 0x898e6(%rip), %rbp     # 0xfddd4
movl %eax, 0x44(%rsp)
movq 0x4e8(%rsp), %rax
movq -0x18(%rax), %rdi
leaq 0x4e8(%rsp), %rbx
addq %rbx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x23300
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x747ad
movq %r12, %rdi
movq %r14, %rsi
movl $0x20, %edx
callq 0x736e4
movq 0x100(%rsp), %rax
movaps 0x50(%rsp), %xmm0
movq 0x60(%rsp), %rcx
movq %rcx, 0x100(%rsp)
movapd 0xf0(%rsp), %xmm1
movaps %xmm0, 0xf0(%rsp)
movapd %xmm1, 0x10(%rsp)
movq %rax, 0x20(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x50(%rsp)
movq $0x0, 0x60(%rsp)
movq %r13, %rdi
callq 0x31a0a
movq %r12, %rdi
callq 0x31a0a
movq 0xf0(%rsp), %rsi
movq 0xf8(%rsp), %rax
movq %rax, %rcx
subq %rsi, %rcx
cmpq $0x20, %rcx
ja 0x74641
movq %r12, %rdi
movq %r14, %rsi
movl $0x9, %edx
callq 0x736e4
movq 0x100(%rsp), %rax
movaps 0x50(%rsp), %xmm0
movq 0x60(%rsp), %rcx
movq %rcx, 0x100(%rsp)
movapd 0xf0(%rsp), %xmm1
movaps %xmm0, 0xf0(%rsp)
movapd %xmm1, 0x10(%rsp)
movq %rax, 0x20(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x50(%rsp)
movq $0x0, 0x60(%rsp)
movq %r13, %rdi
callq 0x31a0a
movq %r12, %rdi
callq 0x31a0a
movq 0xf0(%rsp), %rsi
movq 0xf8(%rsp), %rax
movq %rax, %rcx
subq %rsi, %rcx
cmpq $0x20, %rcx
jbe 0x74418
cmpq %rsi, %rax
je 0x7468f
xorl %ecx, %ecx
xorl %r14d, %r14d
shlq $0x5, %rcx
cmpq $0x0, 0x8(%rsi,%rcx)
jne 0x7467a
addq %rcx, %rsi
leaq 0xf0(%rsp), %rdi
callq 0x75fbc
decl %r14d
movq 0xf0(%rsp), %rsi
movq 0xf8(%rsp), %rax
incl %r14d
movq %rax, %rdx
subq %rsi, %rdx
sarq $0x5, %rdx
movq %r14, %rcx
cmpq %r14, %rdx
ja 0x7464b
movq 0xb0(%rsp), %rdi
cmpq %rdi, 0xb8(%rsp)
je 0x74795
movl $0x1, %r12d
xorl %r14d, %r14d
shlq $0x5, %r14
addq %r14, %rdi
movq %rbp, %rsi
callq 0x22250
testl %eax, %eax
jne 0x746e0
movq 0xb0(%rsp), %rdi
addq %r14, %rdi
leaq 0x84d21(%rip), %rsi     # 0xf93f4
callq 0x22250
testl %eax, %eax
je 0x7476f
movq 0xf0(%rsp), %rax
leaq 0x20(%rsp), %rbx
movq %rbx, 0x10(%rsp)
movq (%rax,%r14), %rsi
movq 0x8(%rax,%r14), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0x3213c
leaq 0x1d8(%rsp), %rdi
movq %r13, %rsi
callq 0x22bb0
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x7472d
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x1d8(%rsp), %rdi
callq 0x22be0
movsd %xmm0, 0x48(%rsp)
addq 0xb0(%rsp), %r14
leaq 0x1f8(%rsp), %rdi
movq %r14, %rsi
callq 0x75e56
movq %rax, %rdi
leaq 0x44(%rsp), %rsi
callq 0x75ed2
movsd 0x48(%rsp), %xmm0
movsd %xmm0, (%rax)
movl %r12d, %r14d
movq 0xb0(%rsp), %rdi
movq 0xb8(%rsp), %rax
subq %rdi, %rax
sarq $0x5, %rax
incl %r12d
cmpq %r14, %rax
ja 0x746ae
movl 0x44(%rsp), %eax
incl %eax
leaq 0x160(%rsp), %r14
leaq 0x50(%rsp), %r12
jmp 0x744ee
leaq 0x4e8(%rsp), %rdi
callq 0x221b0
xorps %xmm0, %xmm0
movaps %xmm0, 0x180(%rsp)
movq $0x0, 0x190(%rsp)
leaq 0x89606(%rip), %rsi     # 0xfddde
leaq 0x2e8(%rsp), %rdi
movl $0x4, %edx
callq 0x22ab0
leaq 0x8247f(%rip), %rsi     # 0xf6c70
leaq 0x2e8(%rsp), %rdi
movl $0x1, %edx
callq 0x22ab0
leaq 0x895d9(%rip), %rsi     # 0xfdde3
leaq 0x2e8(%rsp), %rbx
movl $0x15, %edx
movq %rbx, %rdi
callq 0x22ab0
movq 0x2e8(%rsp), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
leaq 0x2e8(%rsp), %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq 0xd8(%rsp), %rax
cmpq 0xd0(%rsp), %rax
je 0x75a03
xorps %xmm0, %xmm0
cvtss2sd 0x138(%rsp), %xmm0
movsd %xmm0, 0x48(%rsp)
xorps %xmm0, %xmm0
cvtss2sd 0x8(%rsp), %xmm0
movsd %xmm0, 0x138(%rsp)
xorl %ebp, %ebp
xorps %xmm0, %xmm0
movss %xmm0, 0x40(%rsp)
movss %xmm0, 0xec(%rsp)
xorl %ecx, %ecx
movl $0x0, 0x8c(%rsp)
movq %rcx, 0x298(%rsp)
movl $0x1e, %edx
movq %r15, %rdi
leaq 0x89537(%rip), %rsi     # 0xfddf9
callq 0x22ab0
movq 0xd0(%rsp), %rax
shlq $0x5, %rbp
movq (%rax,%rbp), %rsi
movq 0x8(%rax,%rbp), %rdx
movq %r15, %rdi
callq 0x22ab0
movq %rax, %r14
movl $0x1, %edx
movq %rax, %rdi
leaq 0x8cb2e(%rip), %rsi     # 0x101424
callq 0x22ab0
movq 0x140(%rsp), %rax
movq (%rax,%rbp), %rsi
movq 0x8(%rax,%rbp), %rdx
movq %r14, %rdi
callq 0x22ab0
movq %rax, %r14
movl $0x1, %edx
movq %rax, %rdi
leaq 0x8cafe(%rip), %rsi     # 0x101424
callq 0x22ab0
movq 0x90(%rsp), %rax
movq (%rax,%rbp), %rsi
movq 0x8(%rax,%rbp), %rdx
movq %r14, %rdi
callq 0x22ab0
movq %rax, %r14
movl $0xc, %edx
movq %rax, %rdi
leaq 0x894c2(%rip), %rsi     # 0xfde18
callq 0x22ab0
movq %r14, %rdi
movsd 0x48(%rsp), %xmm0
callq 0x23060
movq %rax, %r14
movl $0xc, %edx
movq %rax, %rdi
leaq 0x894aa(%rip), %rsi     # 0xfde25
callq 0x22ab0
movq %r14, %rdi
movsd 0x138(%rsp), %xmm0
callq 0x23060
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %r14, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
xorl %ebx, %ebx
movq 0x70(%rsp), %rsi
addq %rbp, %rsi
leaq 0x268(%rsp), %rdi
callq 0x75e56
movl %ebx, %ecx
cmpq %rcx, 0x28(%rax)
jbe 0x759bf
leal 0x1(%rbx), %eax
movq %rax, 0x1a0(%rsp)
xorl %r12d, %r12d
movq 0xb0(%rsp), %rsi
addq %rbp, %rsi
leaq 0x1f8(%rsp), %rdi
callq 0x75e56
movl %r12d, %ecx
cmpq %rcx, 0x28(%rax)
jbe 0x759b2
movq 0x70(%rsp), %rsi
leaq 0x268(%rsp), %rdi
callq 0x75e56
movl %ebx, 0x10(%rsp)
movq %rax, %rdi
leaq 0x10(%rsp), %rsi
callq 0x65eca
movsd (%rax), %xmm0
ucomisd 0x48(%rsp), %xmm0
jne 0x758da
jp 0x758da
movq 0xb0(%rsp), %rsi
leaq 0x1f8(%rsp), %rdi
callq 0x75e56
movl %r12d, 0x50(%rsp)
movq %rax, %rdi
leaq 0x50(%rsp), %rsi
callq 0x65eca
movsd (%rax), %xmm0
ucomisd 0x138(%rsp), %xmm0
jne 0x758da
jp 0x758da
movl $0x14, %edx
movq %r15, %rdi
leaq 0x89399(%rip), %rsi     # 0xfde32
callq 0x22ab0
movq %r15, %rdi
movsd 0x48(%rsp), %xmm0
callq 0x23060
movq %rax, %r14
movl $0xe, %edx
movq %rax, %rdi
leaq 0x89389(%rip), %rsi     # 0xfde47
callq 0x22ab0
movq %r14, %rdi
movsd 0x138(%rsp), %xmm0
callq 0x23060
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %r14, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
movl $0x8, %edx
movq %r15, %rdi
leaq 0x89349(%rip), %rsi     # 0xfde56
callq 0x22ab0
movq 0x1b0(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %r15, %rdi
callq 0x22ab0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %r14, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
movl $0x8, %edx
movq %r15, %rdi
leaq 0x892fd(%rip), %rsi     # 0xfde5f
callq 0x22ab0
movq 0x1a8(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %r15, %rdi
callq 0x22ab0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %r14, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
movl $0x15, %edx
movq %r15, %rdi
leaq 0x892b1(%rip), %rsi     # 0xfde68
callq 0x22ab0
movq 0xd0(%rsp), %rax
movq (%rax,%rbp), %rsi
movq 0x8(%rax,%rbp), %rdx
movq %r15, %rdi
callq 0x22ab0
movq %rax, %r14
movl $0x1, %edx
movq %rax, %rdi
leaq 0x8c83d(%rip), %rsi     # 0x101424
callq 0x22ab0
movq 0x140(%rsp), %rax
movq (%rax,%rbp), %rsi
movq 0x8(%rax,%rbp), %rdx
movq %r14, %rdi
callq 0x22ab0
movq %rax, %r14
movl $0x1, %edx
movq %rax, %rdi
leaq 0x8c80d(%rip), %rsi     # 0x101424
callq 0x22ab0
movq 0x90(%rsp), %rax
movq (%rax,%rbp), %rsi
movq 0x8(%rax,%rbp), %rdx
movq %r14, %rdi
callq 0x22ab0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %r14, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq 0xd0(%rsp), %rdi
addq %rbp, %rdi
movl $0xd, %ecx
leaq 0x89208(%rip), %r14     # 0xfde7e
movq %r14, %rsi
xorl %edx, %edx
callq 0x23160
cmpq $-0x1, %rax
je 0x74f6b
movq 0x90(%rsp), %rdi
addq %rbp, %rdi
movl $0xd, %ecx
movq %r14, %rsi
xorl %edx, %edx
callq 0x23160
cmpq $-0x1, %rax
je 0x74f6b
movq 0xd0(%rsp), %rsi
addq %rbp, %rsi
leaq 0x268(%rsp), %rdi
callq 0x75e56
movl %ebx, 0x10(%rsp)
movq %rax, %rdi
leaq 0x10(%rsp), %rsi
callq 0x65eca
movsd (%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
movq 0x140(%rsp), %rax
leaq 0x258(%rsp), %rcx
movq %rcx, 0x248(%rsp)
movq (%rax,%rbp), %rsi
movq 0x8(%rax,%rbp), %rdx
addq %rsi, %rdx
leaq 0x248(%rsp), %rdi
callq 0x3213c
movq 0x90(%rsp), %rsi
addq %rbp, %rsi
leaq 0x1f8(%rsp), %rdi
callq 0x75e56
movl %ebx, 0x50(%rsp)
movq %rax, %rdi
leaq 0x50(%rsp), %rsi
callq 0x65eca
movsd (%rax), %xmm1
movsd 0x8(%rsp), %xmm0
leaq 0x248(%rsp), %rdi
callq 0x737fd
movl %eax, %r14d
movq 0x248(%rsp), %rdi
leaq 0x258(%rsp), %rax
cmpq %rax, %rdi
je 0x74d7a
movq 0x258(%rsp), %rsi
incq %rsi
callq 0x229c0
movl $0x13, %edx
movq %r15, %rdi
leaq 0x89103(%rip), %rsi     # 0xfde8c
callq 0x22ab0
movq 0xd0(%rsp), %rsi
addq %rbp, %rsi
leaq 0x268(%rsp), %rdi
callq 0x75e56
movl %ebx, 0x10(%rsp)
movq %rax, %rdi
leaq 0x10(%rsp), %rsi
callq 0x65eca
movsd (%rax), %xmm0
movq %r15, %rdi
callq 0x23060
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
leaq 0x8c64f(%rip), %rsi     # 0x101424
callq 0x22ab0
movq 0x140(%rsp), %rax
movq (%rax,%rbp), %rsi
movq 0x8(%rax,%rbp), %rdx
movq %r13, %rdi
callq 0x22ab0
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
leaq 0x8c61f(%rip), %rsi     # 0x101424
callq 0x22ab0
movq 0x90(%rsp), %rsi
addq %rbp, %rsi
leaq 0x1f8(%rsp), %rdi
callq 0x75e56
movl %ebx, 0x50(%rsp)
movq %rax, %rdi
leaq 0x50(%rsp), %rsi
callq 0x65eca
movsd (%rax), %xmm0
movq %r13, %rdi
callq 0x23060
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %r13, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
testl %r14d, %r14d
jne 0x75443
movq 0x90(%rsp), %rsi
addq %rbp, %rsi
leaq 0x1f8(%rsp), %rdi
callq 0x75e56
movl %ebx, 0x10(%rsp)
movq %rax, %rdi
leaq 0x10(%rsp), %rsi
callq 0x65eca
movsd (%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
movq 0xd0(%rsp), %rsi
addq %rbp, %rsi
leaq 0x268(%rsp), %rdi
callq 0x75e56
movl %ebx, 0x50(%rsp)
movq %rax, %rdi
leaq 0x50(%rsp), %rsi
callq 0x65eca
movsd 0x8(%rsp), %xmm0
subsd (%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
movq 0x90(%rsp), %rsi
addq %rbp, %rsi
leaq 0x1f8(%rsp), %rdi
callq 0x75e56
movl %ebx, 0x10(%rsp)
movq %rax, %rdi
leaq 0x10(%rsp), %rsi
callq 0x65eca
movsd (%rax), %xmm0
movsd %xmm0, 0x130(%rsp)
movq 0x90(%rsp), %rsi
addq %rbp, %rsi
leaq 0x1f8(%rsp), %rdi
callq 0x75e56
movl %ebx, 0x50(%rsp)
movq %rax, %rdi
leaq 0x50(%rsp), %rsi
callq 0x65eca
movsd 0x8(%rsp), %xmm0
mulsd %xmm0, %xmm0
sqrtsd %xmm0, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0x3c(%rsp)
cvtss2sd %xmm0, %xmm0
addsd (%rax), %xmm0
movsd 0x130(%rsp), %xmm1
jmp 0x752b2
movq 0xd0(%rsp), %rdi
addq %rbp, %rdi
movl $0xd, %ecx
movq %r14, %rsi
xorl %edx, %edx
callq 0x23160
cmpq $-0x1, %rax
je 0x74faf
movq 0x90(%rsp), %rdi
addq %rbp, %rdi
movl $0xd, %ecx
movq %r14, %rsi
xorl %edx, %edx
callq 0x23160
cmpq $-0x1, %rax
je 0x752c2
movq 0xd0(%rsp), %rdi
addq %rbp, %rdi
movl $0xd, %ecx
movq %r14, %rsi
xorl %edx, %edx
callq 0x23160
cmpq $-0x1, %rax
je 0x75028
movq 0xd0(%rsp), %rdi
addq %rbp, %rdi
movl $0xd, %ecx
movq %r14, %rsi
xorl %edx, %edx
callq 0x23160
xorps %xmm0, %xmm0
movss %xmm0, 0x3c(%rsp)
cmpq $-0x1, %rax
jne 0x754de
movq 0x90(%rsp), %rdi
addq %rbp, %rdi
movl $0xd, %ecx
movq %r14, %rsi
xorl %edx, %edx
callq 0x23160
cmpq $-0x1, %rax
je 0x758e2
xorps %xmm0, %xmm0
jmp 0x754de
movq 0x90(%rsp), %rdi
addq %rbp, %rdi
movl $0xd, %ecx
movq %r14, %rsi
xorl %edx, %edx
callq 0x23160
cmpq $-0x1, %rax
je 0x74fcf
movq 0xd0(%rsp), %rax
movq (%rax,%rbp), %rdi
callq 0x22be0
movsd %xmm0, 0x8(%rsp)
movq 0x140(%rsp), %rax
leaq 0x238(%rsp), %rcx
movq %rcx, 0x228(%rsp)
movq (%rax,%rbp), %rsi
movq 0x8(%rax,%rbp), %rdx
addq %rsi, %rdx
leaq 0x228(%rsp), %rdi
callq 0x3213c
movq 0x90(%rsp), %rsi
addq %rbp, %rsi
leaq 0x1f8(%rsp), %rdi
callq 0x75e56
movl %ebx, 0x10(%rsp)
movq %rax, %rdi
leaq 0x10(%rsp), %rsi
callq 0x65eca
movsd (%rax), %xmm1
movsd 0x8(%rsp), %xmm0
leaq 0x228(%rsp), %rdi
callq 0x737fd
movl %eax, %r14d
movq 0x228(%rsp), %rdi
leaq 0x238(%rsp), %rax
cmpq %rax, %rdi
je 0x750f8
movq 0x238(%rsp), %rsi
incq %rsi
callq 0x229c0
movl $0x13, %edx
movq %r15, %rdi
leaq 0x88d85(%rip), %rsi     # 0xfde8c
callq 0x22ab0
movq 0xd0(%rsp), %rax
movq (%rax,%rbp), %rdi
callq 0x22be0
movq %r15, %rdi
callq 0x23060
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
leaq 0x8c2ed(%rip), %rsi     # 0x101424
callq 0x22ab0
movq 0x140(%rsp), %rax
movq (%rax,%rbp), %rsi
movq 0x8(%rax,%rbp), %rdx
movq %r13, %rdi
callq 0x22ab0
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
leaq 0x8c2bd(%rip), %rsi     # 0x101424
callq 0x22ab0
movq 0x90(%rsp), %rsi
addq %rbp, %rsi
leaq 0x1f8(%rsp), %rdi
callq 0x75e56
movl %ebx, 0x10(%rsp)
movq %rax, %rdi
leaq 0x10(%rsp), %rsi
callq 0x65eca
movsd (%rax), %xmm0
movq %r13, %rdi
callq 0x23060
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %r13, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
testl %r14d, %r14d
jne 0x75443
movq 0x90(%rsp), %rsi
addq %rbp, %rsi
leaq 0x1f8(%rsp), %rdi
callq 0x75e56
movl %ebx, 0x10(%rsp)
movq %rax, %rdi
leaq 0x10(%rsp), %rsi
callq 0x65eca
movsd (%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
movq 0xd0(%rsp), %rax
movq (%rax,%rbp), %rdi
callq 0x22be0
movsd %xmm0, 0x130(%rsp)
movq 0x90(%rsp), %rsi
addq %rbp, %rsi
leaq 0x1f8(%rsp), %rdi
callq 0x75e56
movl %ebx, 0x10(%rsp)
movq %rax, %rdi
leaq 0x10(%rsp), %rsi
callq 0x65eca
movsd (%rax), %xmm0
movsd %xmm0, 0x2a0(%rsp)
movq 0x90(%rsp), %rsi
addq %rbp, %rsi
leaq 0x1f8(%rsp), %rdi
callq 0x75e56
movl %ebx, 0x50(%rsp)
movq %rax, %rdi
leaq 0x50(%rsp), %rsi
callq 0x65eca
movsd 0x8(%rsp), %xmm0
subsd 0x130(%rsp), %xmm0
mulsd %xmm0, %xmm0
sqrtsd %xmm0, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0x3c(%rsp)
cvtss2sd %xmm0, %xmm0
addsd (%rax), %xmm0
movsd 0x2a0(%rsp), %xmm1
divsd %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsd2ss %xmm1, %xmm0
jmp 0x754de
movq 0xd0(%rsp), %rsi
addq %rbp, %rsi
leaq 0x268(%rsp), %rdi
callq 0x75e56
movl %ebx, 0x10(%rsp)
movq %rax, %rdi
leaq 0x10(%rsp), %rsi
callq 0x65eca
leaq 0x2d8(%rsp), %r13
leaq 0x2c8(%rsp), %r14
movsd (%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
movq 0x140(%rsp), %rax
movq %r13, 0x2c8(%rsp)
movq (%rax,%rbp), %rsi
movq 0x8(%rax,%rbp), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x3213c
movq 0x90(%rsp), %rax
movq (%rax,%rbp), %rdi
callq 0x22be0
movaps %xmm0, %xmm1
movsd 0x8(%rsp), %xmm0
movq %r14, %rdi
callq 0x737fd
movl %eax, %r14d
movq 0x2c8(%rsp), %rdi
cmpq %r13, %rdi
je 0x7536b
movq 0x2d8(%rsp), %rsi
incq %rsi
callq 0x229c0
movl $0x13, %edx
movq %r15, %rdi
leaq 0x88b12(%rip), %rsi     # 0xfde8c
callq 0x22ab0
movq 0xd0(%rsp), %rsi
addq %rbp, %rsi
leaq 0x268(%rsp), %rdi
callq 0x75e56
movl %ebx, 0x10(%rsp)
movq %rax, %rdi
leaq 0x10(%rsp), %rsi
callq 0x65eca
movsd (%rax), %xmm0
movq %r15, %rdi
callq 0x23060
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
leaq 0x8c05e(%rip), %rsi     # 0x101424
callq 0x22ab0
movq 0x140(%rsp), %rax
movq (%rax,%rbp), %rsi
movq 0x8(%rax,%rbp), %rdx
movq %r13, %rdi
callq 0x22ab0
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
leaq 0x8c02e(%rip), %rsi     # 0x101424
callq 0x22ab0
movq 0x90(%rsp), %rax
movq (%rax,%rbp), %rdi
callq 0x22be0
movq %r13, %rdi
callq 0x23060
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %r13, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
testl %r14d, %r14d
je 0x7545f
xorps %xmm0, %xmm0
cvtsi2ss %r14d, %xmm0
movss %xmm0, 0x8(%rsp)
xorps %xmm0, %xmm0
movss %xmm0, 0x3c(%rsp)
jmp 0x754e4
movq 0x90(%rsp), %rax
movq (%rax,%rbp), %rdi
callq 0x22be0
movsd %xmm0, 0x8(%rsp)
movq 0xd0(%rsp), %rsi
addq %rbp, %rsi
leaq 0x268(%rsp), %rdi
callq 0x75e56
movl %ebx, 0x10(%rsp)
movq %rax, %rdi
leaq 0x10(%rsp), %rsi
callq 0x65eca
movsd 0x8(%rsp), %xmm0
subsd (%rax), %xmm0
mulsd %xmm0, %xmm0
sqrtsd %xmm0, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0x3c(%rsp)
movq 0x90(%rsp), %rax
movq (%rax,%rbp), %rdi
callq 0x22be0
cvtss2sd 0x3c(%rsp), %xmm1
addsd %xmm0, %xmm1
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0x8(%rsp)
movl $0x7, %edx
movq %r15, %rdi
leaq 0x88a17(%rip), %rsi     # 0xfdf0a
callq 0x22ab0
xorps %xmm0, %xmm0
cvtss2sd 0x8(%rsp), %xmm0
movq %r15, %rdi
movsd %xmm0, 0x130(%rsp)
callq 0x23060
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %r14, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
movss 0x887b4(%rip), %xmm0    # 0xfdcf8
movss 0x8(%rsp), %xmm1
ucomiss %xmm1, %xmm0
jb 0x7562e
movaps %xmm1, %xmm0
ucomiss 0x8879f(%rip), %xmm1    # 0xfdcfc
jbe 0x7562e
movaps %xmm0, %xmm1
movss 0x8878a(%rip), %xmm0    # 0xfdcf8
ucomiss %xmm1, %xmm0
jbe 0x755a1
xorps %xmm0, %xmm0
cvtss2sd 0x3c(%rsp), %xmm0
xorps %xmm1, %xmm1
cvtss2sd 0xec(%rsp), %xmm1
mulsd 0x88770(%rip), %xmm0    # 0xfdd00
addsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0xec(%rsp)
movss 0x40(%rsp), %xmm0
movss 0x8(%rsp), %xmm1
addss %xmm1, %xmm0
movss %xmm0, 0x40(%rsp)
ucomiss 0x8873a(%rip), %xmm1    # 0xfdcf8
jne 0x756e7
jp 0x756e7
movq 0xd0(%rsp), %rsi
addq %rbp, %rsi
movq 0x140(%rsp), %rdx
addq %rbp, %rdx
leaq 0x50(%rsp), %r14
movq %r14, %rdi
callq 0x335a4
movq 0x90(%rsp), %rax
movq (%rax,%rbp), %rsi
movq 0x8(%rax,%rbp), %rdx
movq %r14, %rdi
callq 0x222b0
leaq 0x20(%rsp), %rsi
movq %rsi, 0x10(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x7567f
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0x75685
movl $0x21, %edx
movq %r15, %rdi
leaq 0x888d5(%rip), %rsi     # 0xfdf12
callq 0x22ab0
movq %r15, %rdi
movsd 0x130(%rsp), %xmm0
callq 0x23060
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %r14, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
jmp 0x756e7
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x18(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x180(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x6a2a2
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x756cb
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x756e7
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x70(%rsp), %rdi
leaq 0x7c0b7(%rip), %rsi     # 0xf17aa
callq 0x22250
testl %eax, %eax
je 0x7574b
movq 0x70(%rsp), %rdi
leaq 0x886d6(%rip), %rsi     # 0xfddde
callq 0x22250
orl 0x8c(%rsp), %eax
je 0x75755
cmpl $0x0, 0x8c(%rsp)
jne 0x7579d
leaq 0x2e8(%rsp), %rdi
movq 0x1a0(%rsp), %rsi
callq 0x22650
movl $0x1, %edx
movq %rax, %rdi
leaq 0x8152c(%rip), %rsi     # 0xf6c70
callq 0x22ab0
jmp 0x7579d
cmpl $0x0, 0x8c(%rsp)
jne 0x7579d
movq 0x70(%rsp), %rsi
leaq 0x268(%rsp), %rdi
callq 0x75e56
movl %ebx, 0x10(%rsp)
movq %rax, %rdi
leaq 0x10(%rsp), %rsi
callq 0x65eca
movsd (%rax), %xmm0
leaq 0x2e8(%rsp), %rdi
callq 0x23060
movl $0x1, %edx
movq %rax, %rdi
leaq 0x814d8(%rip), %rsi     # 0xf6c70
callq 0x22ab0
movq 0xd0(%rsp), %rax
movq (%rax,%rbp), %rsi
movq 0x8(%rax,%rbp), %rdx
movq %r15, %rdi
callq 0x22ab0
movq 0x140(%rsp), %rcx
movq (%rcx,%rbp), %rsi
movq 0x8(%rcx,%rbp), %rdx
movq %rax, %rdi
callq 0x22ab0
movq 0x90(%rsp), %rcx
movq (%rcx,%rbp), %rsi
movq 0x8(%rcx,%rbp), %rdx
movq %rax, %rdi
callq 0x22ab0
movl $0x1, %edx
movq %rax, %rdi
leaq 0x81479(%rip), %rsi     # 0xf6c70
callq 0x22ab0
xorps %xmm0, %xmm0
movq %r15, %rdi
callq 0x23060
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %r14, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq 0xd0(%rsp), %rax
movq (%rax,%rbp), %rsi
movq 0x8(%rax,%rbp), %rdx
leaq 0x2e8(%rsp), %rdi
callq 0x22ab0
movq 0x140(%rsp), %rcx
movq (%rcx,%rbp), %rsi
movq 0x8(%rcx,%rbp), %rdx
movq %rax, %rdi
callq 0x22ab0
movq 0x90(%rsp), %rcx
movq (%rcx,%rbp), %rsi
movq 0x8(%rcx,%rbp), %rdx
movq %rax, %rdi
callq 0x22ab0
movl $0x1, %edx
movq %rax, %rdi
leaq 0x813e0(%rip), %rsi     # 0xf6c70
callq 0x22ab0
xorps %xmm0, %xmm0
leaq 0x2e8(%rsp), %rdi
callq 0x23060
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %r14, %rdi
callq 0x22050
movl $0x1, 0x8c(%rsp)
movq %rax, %rdi
callq 0x22660
incl %r12d
jmp 0x749ec
movl $0x3f, %edx
movq %r15, %rdi
leaq 0x885af(%rip), %rsi     # 0xfdea0
callq 0x22ab0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %r15, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
movl $0x14, %edx
movq %r15, %rdi
leaq 0x885b4(%rip), %rsi     # 0xfdee0
callq 0x22ab0
movq 0xd0(%rsp), %rax
movq (%rax,%rbp), %rsi
movq 0x8(%rax,%rbp), %rdx
movq %r15, %rdi
callq 0x22ab0
movq %rax, %r14
movl $0x14, %edx
movq %rax, %rdi
leaq 0x88599(%rip), %rsi     # 0xfdef5
callq 0x22ab0
movq 0x90(%rsp), %rax
movq (%rax,%rbp), %rsi
movq 0x8(%rax,%rbp), %rdx
movq %r14, %rdi
callq 0x22ab0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %r14, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
xorps %xmm0, %xmm0
movss %xmm0, 0x8(%rsp)
jmp 0x754e4
movq 0x1a0(%rsp), %rbx
jmp 0x749bd
movq 0xd8(%rsp), %rax
subq 0xd0(%rsp), %rax
movq 0x298(%rsp), %rcx
incl %ecx
sarq $0x5, %rax
movq %rcx, %rbp
cmpq %rcx, %rax
ja 0x748ab
xorps %xmm0, %xmm0
cvtss2sd 0xec(%rsp), %xmm0
movsd %xmm0, 0x48(%rsp)
movss 0x40(%rsp), %xmm0
jmp 0x75a10
xorps %xmm0, %xmm0
xorpd %xmm1, %xmm1
movsd %xmm1, 0x48(%rsp)
movss %xmm0, 0x40(%rsp)
cvtss2sd %xmm0, %xmm0
leaq 0x2e8(%rsp), %rdi
callq 0x23060
leaq 0x81242(%rip), %rsi     # 0xf6c70
movl $0x1, %edx
movq %rax, %rdi
callq 0x22ab0
movq 0x180(%rsp), %rax
cmpq %rax, 0x188(%rsp)
je 0x75aa8
movl $0x1, %ebp
xorl %ecx, %ecx
leaq 0x2e8(%rsp), %rbx
leaq 0x8120d(%rip), %r14     # 0xf6c70
shlq $0x5, %rcx
movq (%rax,%rcx), %rsi
movq 0x8(%rax,%rcx), %rdx
movq %rbx, %rdi
callq 0x22ab0
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x22ab0
movl %ebp, %ecx
movq 0x180(%rsp), %rax
movq 0x188(%rsp), %rdx
subq %rax, %rdx
sarq $0x5, %rdx
incl %ebp
cmpq %rcx, %rdx
ja 0x75a63
leaq 0x2e8(%rsp), %rdi
movsd 0x48(%rsp), %xmm0
callq 0x23060
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %rbx, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq 0x180(%rsp), %rbx
movq 0x188(%rsp), %r14
cmpq %rbx, %r14
je 0x75b2a
leaq 0x10(%rbx), %r15
movq -0x10(%r15), %rdi
cmpq %rdi, %r15
je 0x75b12
movq (%r15), %rsi
incq %rsi
callq 0x229c0
leaq 0x20(%r15), %rax
addq $0x10, %r15
cmpq %r14, %r15
movq %rax, %r15
jne 0x75afe
movq %rbx, 0x188(%rsp)
leaq 0x2e8(%rsp), %rdi
callq 0x22de0
leaq 0x180(%rsp), %rdi
callq 0x31a0a
jmp 0x74151
jmp 0x75cd2
jmp 0x75cd2
jmp 0x75cd2
jmp 0x75cd2
jmp 0x75ce5
jmp 0x75cd2
movq %rax, %rbx
jmp 0x75d64
movq %rax, %rbx
jmp 0x75e33
movq %rax, %rbx
jmp 0x75e40
jmp 0x75cd2
jmp 0x75ce5
jmp 0x75cd2
jmp 0x75cd2
jmp 0x75cd2
jmp 0x75cd2
jmp 0x75cd2
jmp 0x75bce
jmp 0x75bce
movq %rax, %rbx
jmp 0x75dfb
jmp 0x75cd2
jmp 0x75cd2
jmp 0x75cd2
jmp 0x75cd2
jmp 0x75cd2
jmp 0x75bce
jmp 0x75cd2
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x75cf5
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x75cf5
jmp 0x75cd2
jmp 0x75ce5
jmp 0x75ce5
jmp 0x75ce5
jmp 0x75ce5
jmp 0x75cd2
jmp 0x75ce5
jmp 0x75ce5
jmp 0x75c1b
movq %rax, %rbx
movq 0x228(%rsp), %rdi
leaq 0x238(%rsp), %rax
cmpq %rax, %rdi
je 0x75ce8
movq 0x238(%rsp), %rsi
jmp 0x75cc6
jmp 0x75cd2
jmp 0x75cd2
jmp 0x75ce5
jmp 0x75ce5
jmp 0x75cd2
jmp 0x75ce5
jmp 0x75ce5
jmp 0x75ce5
jmp 0x75cd2
movq %rax, %rbx
jmp 0x75c8c
movq %rax, %rbx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x75c8c
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x75ce8
movq 0x60(%rsp), %rsi
jmp 0x75cc6
jmp 0x75ce5
jmp 0x75ca6
movq %rax, %rbx
movq 0x248(%rsp), %rdi
leaq 0x258(%rsp), %rax
cmpq %rax, %rdi
je 0x75ce8
movq 0x258(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x75ce8
jmp 0x75ce5
movq %rax, %rbx
jmp 0x75cf5
jmp 0x75ce5
jmp 0x75ce5
jmp 0x75ce5
jmp 0x75ce5
jmp 0x75ce5
jmp 0x75ce5
jmp 0x75ce5
movq %rax, %rbx
leaq 0x180(%rsp), %rdi
callq 0x31a0a
movq 0x1d8(%rsp), %rdi
leaq 0x1e8(%rsp), %rax
cmpq %rax, %rdi
je 0x75d1a
movq 0x1e8(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x160(%rsp), %rdi
leaq 0x170(%rsp), %rax
cmpq %rax, %rdi
je 0x75d3f
movq 0x170(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x1b8(%rsp), %rdi
leaq 0x1c8(%rsp), %rax
cmpq %rax, %rdi
je 0x75d64
movq 0x1c8(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x1f8(%rsp), %rdi
callq 0x75f38
leaq 0x268(%rsp), %rdi
callq 0x75f38
movq 0x2a8(%rsp), %rdi
leaq 0x2b8(%rsp), %rax
cmpq %rax, %rdi
je 0x75da3
movq 0x2b8(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0xf0(%rsp), %rdi
callq 0x31a0a
leaq 0xb0(%rsp), %rdi
callq 0x31a0a
leaq 0x110(%rsp), %rdi
callq 0x31a0a
leaq 0x70(%rsp), %rdi
callq 0x31a0a
leaq 0x140(%rsp), %rdi
callq 0x31a0a
leaq 0x90(%rsp), %rdi
callq 0x31a0a
leaq 0xd0(%rsp), %rdi
callq 0x31a0a
movq 0x100186(%rip), %rax    # 0x175f88
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x2f0(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x2e8(%rsp,%rcx)
callq 0x227d0
leaq 0x3e0(%rsp), %rdi
callq 0x222d0
leaq 0x4e8(%rsp), %rdi
callq 0x22200
leaq 0x6f0(%rsp), %rdi
callq 0x22200
movq %rbx, %rdi
callq 0x23240
nop