// File: /workspace/github_c_makefile_star2_O1/ugobas[P]tnm/main_tnm.c
// Function: getArgs
int getArgs(int argc, char **argv,
	    char *file_pdb1, char *chain1,
            char *file_pdb2, char *chain2,
	    int *ANM, char *REF, int *LABEL,
	    int *SIDECHAINS, int *OMEGA, int *PSI,
	    double *K_OMEGA, double *K_PSI,
	    double *K_PHI, double *K_CHI,
	    double *K_BA, double *K_BL,
	    float *E_MIN, float *COLL_THR,
	    int *MIN_INT, char *INT_TYPE,
	    float *C_THR, int *S_TYPE, float *S_THR,
	    int *ONEINT, int *N_RESRES,
	    int *N_MODE, char *outdir,
	    int *PRINT_CONFCHANGE, int *PRINT_FORCE,
	    int *PRINT_PDB, int *PRINT_MODE_SUMM,
	    char **FILE_FORCE, int *ALLOSTERY,
	    float *KAPPA, int *FIT_B, float *RMSD_EXP,
	    float *RMSD_MIN, int *NMUT,
	    int *PRED_MUT, int *IWT, char *Mut_para,
	    struct Para_simul *Para_simul,
	    struct Para_confchange *Para_confchange,
	    float *SEQID_THR,
	    char *parameters,
	    int *PRINT_COV_COUPLING,
	    int *PRINT_DEF_COUPLING,
	    int *PRINT_DIR_COUPLING,
	    int *PRINT_COORD_COUPLING,
	    int *PRINT_SIGMA_DIJ,
	    char *PROF_TYPE,
	    int *ALL_PAIRS, float *SIGMA,
	    int *STRAIN, char *SITES,
	    int *PRINT_CMAT, int *ANHARMONIC,
	    int *PRINT_PDB_ANHARM, int *N_PDB_print,
	    int *FOLDING, int *BINDING, int *UNFOLDING,
	    int *n_apo, char *apo_chains)
{
  int i; //p1=0, p2=0, out=0

  /************** Initialize ****************/
  // Input
  file_pdb1[0]='\0'; strcpy(chain1, "");
  file_pdb2[0]='\0'; strcpy(chain2, "");
  // Model variables
  *ANM=0;  *C_THR=THR_ALL;
  INT_TYPE[0]='\0'; REF[0]='\0';
  EXP_HESSIAN=EXP_HESSIAN_DEF;
  POW=POW_DEF;
  *MIN_INT=MIN_INT_DEF;
  *K_PSI=K_PSI_DEF;
  *K_PHI=K_PHI_DEF;
  *K_CHI=K_CHI_DEF;
  *K_OMEGA=K_OMEGA_DEF;
  DA_THR=DA_THR_DEF;
  COS_DAA=COS_DAA_DEF;
  ENE_HB=ENE_HB_DEF;
  KINETIC=1;
  // Output
  *N_MODE=0;
  *PRINT_PDB_ANHARM=0; *N_PDB_print=5;

  // Analysis of conformation change
  Para_confchange->RMSD_THR=RMSD_THR_DEF; // Minimum confchange per mode
  Para_confchange->COLL_THR=COLL_THR_DEF; // Threshold on collectivity
  *SEQID_THR=SEQID_THR_DEF;

  // Simulations
  Para_simul->N_SIMUL=0;
  Para_simul->AMPLITUDE=AMPLITUDE_DEF;
  Para_simul->AMPL_MIN=AMPLITUDE_DEF;
  Para_simul->AMPL_MAX=AMPLITUDE_DEF;
  Para_simul->AMPL_FACT=1.0;
  Para_simul->D_REP=D_REP_DEF;
  Para_simul->E_THR=E_THR_DEF;
  Para_simul->PDB_STEP=PDB_STEP_DEF;
  Para_simul->MAX_ANGLE=MAX_ANGLE_DEF;
  Para_simul->RESET=0;
  Para_simul->SELECT_ENE=0;
  // Conformation changes
  Para_simul->NSTEPS=100;
  Para_simul->STEP_MAX=0.5;
  Para_simul->STEP_MIN=0.001;
  Para_simul->ANGLE=0.05;

  if(argc<2)help();
  printf("Reading parameters from command line\n");

  char input[80]="";
  for(i=0; i<argc; i++){
    if(strncmp(argv[i],"-file",3)==0){
      i++; if(i<argc){strcpy(input,argv[i]);}
      break;
    }
  }

  if(input[0]!='\0' && input[0]!='-'){
    printf("Reading parameters from file %s\n", input);
    Read_para(input, file_pdb1, chain1,file_pdb2, chain2,
		       ANM, REF, LABEL, SIDECHAINS, OMEGA, PSI,
		       K_OMEGA, K_PSI, K_PHI, K_CHI, K_BA, K_BL,
		       E_MIN, COLL_THR, MIN_INT, INT_TYPE, C_THR,
		       S_TYPE, S_THR, ONEINT, N_RESRES,
		       N_MODE, outdir, PRINT_CONFCHANGE, PRINT_FORCE,
		       PRINT_PDB, PRINT_MODE_SUMM, FILE_FORCE, ALLOSTERY,
		       KAPPA, FIT_B, RMSD_EXP, RMSD_MIN,
		       NMUT, PRED_MUT, IWT, Mut_para,
		       Para_simul, Para_confchange, SEQID_THR,
		       PRINT_COV_COUPLING, PRINT_DEF_COUPLING,
		       PRINT_DIR_COUPLING, PRINT_COORD_COUPLING,
		       PRINT_SIGMA_DIJ, PROF_TYPE, ALL_PAIRS, SIGMA,
		       STRAIN, SITES, PRINT_CMAT, ANHARMONIC,
		       PRINT_PDB_ANHARM, N_PDB_print,
		       FOLDING, BINDING, UNFOLDING, n_apo, apo_chains);
  }else{
    printf("WARNING, input file not specified or absent\n");
  }

  printf("Reading parameters from command line\n");
  for(i=0; i<argc; i++){
    if(strncmp(argv[i],"-file",3)==0){
      i++;
      // Proteins:
    }else if (strcmp(argv[i],"-p2")==0 || strcmp(argv[i],"-pdb2")==0){
      i++; if(i>=argc)continue;
      strcpy(file_pdb2,argv[i]); //p2=1;
      printf("file_pdb2=%s\n",file_pdb2);
    }else if (strncmp(argv[i],"-c2",3)==0){
      i++; if(i>=argc)continue;
      if((strncmp(argv[i], "all", 3)==0)||(strncmp(argv[i], "ALL",3)==0))
	{*chain2='*';}
      else{strcpy(chain2,argv[i]);}
      printf("chain2=%s\n",chain2);
    }else if (strcmp(argv[i],"-p1")==0 ||
	      strcmp(argv[i],"-pdb1")==0 || strcmp(argv[i],"-pdb")==0){
      i++; if(i>=argc)continue;
      strcpy(file_pdb1,argv[i]); //p1=1;
      printf("file_pdb1=%s\n",file_pdb1);
    }else if (strncmp(argv[i],"-c1",3)==0){
      i++; if(i>=argc)continue;
      if((strncmp(argv[i], "all",3)==0)||(strncmp(argv[i], "ALL",3)==0))
	{*chain1='*';}
      else{strcpy(chain1,argv[i]);}
      printf("chain(s) to read: %s\n",chain1);

      // Model:
    }else if (strncmp(argv[i],"-cont_type",10)==0){
      i++; if(i>=argc)continue;
      strcpy(INT_TYPE, argv[i]);
    }else if (strncmp(argv[i],"-cont_thr",9)==0){
      i++; if(i>=argc)continue;
      sscanf(argv[i], "%f", C_THR);
      printf("Threshold distance= %.1f\n", *C_THR);
    }else if (strncmp(argv[i],"-anm",4)==0){
      *ANM=1;
    }else if (strncmp(argv[i],"-hnm",4)==0){
      *ANM=1; HNM=1;
    }else if (strncmp(argv[i],"-sc",3)==0){
      *SIDECHAINS=1;
    }else if (strncmp(argv[i],"-omega",6)==0){
      *OMEGA=1;
    }else if (strncmp(argv[i],"-nopsi",6)==0){
      *PSI=0;
    }else if (strncmp(argv[i],"-ref",4)==0){
      i++; if(i>=argc)continue;
      strcpy(REF, argv[i]);
    }else if (strncmp(argv[i],"-expo", 5)==0){
      i++; if(i>=argc)continue;
      sscanf(argv[i], "%f", &EXP_HESSIAN);
    }else if (strncmp(argv[i],"-fit_B", 6)==0){
      *FIT_B=1;
    }else if (strncmp(argv[i],"-nokin",6)==0){
      KINETIC=0;

      // Force
    }else if (strncmp(argv[i],"-force",6)==0){
      i++; if(i>=argc)continue;
      *FILE_FORCE=malloc(400*sizeof(char));
      strcpy(*FILE_FORCE, argv[i]);
      // Simulation
    }else if (strncmp(argv[i],"-simul",6)==0){
      i++; if(i>=argc)continue;
      sscanf(argv[i], "%d", &(Para_simul->N_SIMUL));
      printf("Simulations to be done= %d\n", Para_simul->N_SIMUL);
    }else if (strncmp(argv[i],"-ampl",6)==0){
      i++; if(i>=argc)continue;
      sscanf(argv[i], "%f", &(Para_simul->AMPLITUDE));
      printf("Maximum amplitude= %.1f\n", Para_simul->AMPLITUDE);
      // Output:
    }else if (strncmp(argv[i],"-outdir",7)==0){
      i++; if(i>=argc)continue;
      strcpy(outdir, argv[i]); //out=1;
      printf("output directory= %s\n",outdir);
    }else if (strncmp(argv[i],"-modes",6)==0){
      i++; if(i>=argc)continue;
      *N_MODE=atoi(argv[i]);  //sscanf(argv[i], "%d", N_MODE);
      printf("%d normal modes to be printed\n",*N_MODE);
    }else if (strncmp(argv[i],"-print_pdb",10)==0){
      *PRINT_PDB=1;
    }else if (strncmp(argv[i],"-pred_mut",9)==0){
      *PRED_MUT=1;
    }else if (strncmp(argv[i],"-mut_para",9)==0){
      i++; strcpy(Mut_para, argv[i]);
    }else if (strncmp(argv[i],"-couplings",8)==0){
      *ALLOSTERY=1;
    }else if (strncmp(argv[i],"-sites",6)==0){
      i++; if(i>=argc)continue;
      sscanf(argv[i], SITES);
    }else if (strncmp(argv[i],"-print_confchange",13)==0){
      *PRINT_CONFCHANGE=1;
    }else if (strncmp(argv[i],"-print_force",12)==0){
      *PRINT_FORCE=1;
    }else if (strncmp(argv[i],"-print_summ",11)==0){
      *PRINT_MODE_SUMM=1;
    }else if (strncmp(argv[i],"-debug",6)==0){
      DEBUG=1;
    }else if (strncmp(argv[i],"-h",2)==0){
      help();
    }else if (argv[i][0]=='-'){
      printf("WARNING, argument %s does not exist\n", argv[i]);
    }
  }

  if(*SEQID_THR > 1.0)(*SEQID_THR)/=100;
  /*if(*SEQID_THR > 1.0)
    printf("WARNING, SEQID_THR=%.2f > 1, performing Mammoth alignment\n",
    *SEQID_THR);*/

  if(file_pdb1[0]=='\0'){
    printf("ERROR, at least one PDB file is mandatory\n");
    help();
  }
  if(*OMEGA>0){
    printf("Omega angle taken as degree of freedom.\n");
  }else if(*OMEGA<0){
    printf("Omega angle taken as dof if Domega>%d degrees.\n", D_omega_thr);
  }else{
    *K_OMEGA=0;
  }
  if(*PSI==0){
    printf("Psi angle frozen\n"); *K_PSI=0;
  }
  if(*SIDECHAINS){
    printf("Side chains degrees of freedom used\n");
    if((strncmp(INT_TYPE, "MIN", 3)!=0)||(strncmp(INT_TYPE, "SCR", 3)!=0)){
      printf("WARNING, interaction type %s not allowed with side chains\n",
	     INT_TYPE);
      strcpy(INT_TYPE, "MIN");
    }
    if((strncmp(REF, "ALL", 3)!=0)){
      printf("WARNING, reference atoms %s not allowed with side chains\n",
	     REF);
      strcpy(REF, "ALL");
    }
    printf("Reference atoms set to %s, interaction type set to %s\n",
	   REF, INT_TYPE);
    printf("Minimum number of interactions for accepting a degree of freedom");
    printf(": %d\n", *MIN_INT);
  }else{
    *K_CHI=0;
  }
  if((strncmp(INT_TYPE, "CA", 2)!=0)&&
     (strncmp(INT_TYPE, "CB", 2)!=0)&&
     (strncmp(INT_TYPE, "SCA", 3)!=0)&&
     (strncmp(INT_TYPE, "SCB", 3)!=0)&&
     (strncmp(INT_TYPE, "MIN", 3)!=0)&&
     (strncmp(INT_TYPE, "HYD", 3)!=0)&&
     (strncmp(INT_TYPE, "ALL", 3)!=0)&&
     (strncmp(INT_TYPE, "SCR", 3)!=0)&&
     (strncmp(INT_TYPE, "SHA", 3)!=0)&&
     (strncmp(INT_TYPE, "HB", 2)!=0)){
    if(INT_TYPE[0]!='\0')
      printf("WARNING, interaction type %s does not exist\n", INT_TYPE);
    printf("Interaction type set to default %s\n", INT_TYPE_DEF);
    strcpy(INT_TYPE, INT_TYPE_DEF);
  }else{
    printf("Contact type set to %s\n", INT_TYPE);
    if(strncmp(INT_TYPE, "HB", 2)==0){
      printf("Estimating hydrogen bonds, ");
      printf("Min.dist= %.3f max.cos(DAA')= %.3f Force factor= %.3f\n",
	     DA_THR, COS_DAA, ENE_HB);
    }
  }

  if(REF[0]!='\0'){
    if((strncmp(REF, "CA", 2)!=0)&&
       (strncmp(REF, "CB", 2)==0)&&
       (strncmp(REF, "BB", 2)==0)&&
       (strncmp(REF, "EB", 2)==0)&&
       (strncmp(REF, "ALL", 3)==0)){
      printf("WARNING, %s are not allowed reference atoms\n", REF);
      REF[0]='\0';
    }
  }
  if(EXP_HESSIAN<0){
    printf("ERROR, exponent must be positive (%.3f), setting it to zero\n",
	   EXP_HESSIAN); EXP_HESSIAN=0;
  }else if (EXP_HESSIAN){
    printf("Exponent of force constant = %.3f\n", EXP_HESSIAN);
  }


  if(*C_THR==0){
    if(strncmp(INT_TYPE, "CA", 2)==0){
      *C_THR=THR_CA;
    }else if(strncmp(INT_TYPE, "CB", 2)==0){
      *C_THR=THR_CB;
    }else if(strncmp(INT_TYPE, "SCB", 3)==0){
      *C_THR=THR_ALL;
    }else if(strncmp(INT_TYPE, "ALL", 3)==0){
      *C_THR=THR_ALL;
    }else if(strncmp(INT_TYPE, "MIN", 3)==0){
      *C_THR=THR_ALL;
    }else if(strncmp(INT_TYPE, "HYD", 3)==0){
      *C_THR=THR_ALL;
    }else if(strncmp(INT_TYPE, "SCR", 3)==0){
      *C_THR=THR_CA;
    }else if(strncmp(INT_TYPE, "HB", 2)==0){
      *C_THR=THR_ALL;
    }else{
      printf("ERROR, wrong interaction type %s\n", INT_TYPE);
      exit(8);
    }
    printf("Contact threshold set to default %.1f\n", *C_THR);
  }

  if(*ANM){
    printf("Degrees of freedom: Cartesian (ANM)\n");
    if(REF[0]!='\0')
      printf("WARNING, reference atoms can not be assigned in the ANM\n");
  }else{
    printf("Degrees of freedom: Torsional (TNM, default)\n");
  }


  //modyves: some changes to not sprintf parameters into parameters, which gave me some warnings.
  char tmp[100];
  sprintf(parameters, "Para: Psi=%d  Omega=%d Sidechain=%d Min_int=%d  REF=%s",
	  *PSI, *OMEGA, *SIDECHAINS, *MIN_INT, REF);
  sprintf(tmp," E_MIN=%.2g COLL_THR=%.0f", *E_MIN, *COLL_THR);
  strcat(parameters,tmp);
  sprintf(tmp," K_O=%.2g K_F=%.2g K_P=%.2g K_C=%.2g K_BA=%.2g K_BL=%.2g",
	  *K_OMEGA, *K_PHI, *K_PSI, *K_CHI, *K_BA, *K_BL);
  strcat(parameters,tmp);
  sprintf(tmp," CONT=%s ", INT_TYPE); strcat(parameters,tmp);
  if(strncmp(INT_TYPE, "SCR", 3)==0){
    sprintf(tmp, " Tolerance=%.2f THR=%.2f", *S_THR, *C_THR);
  }else if(strncmp(INT_TYPE, "SHA", 3)==0){
    sprintf(tmp, " type=%d d=%.2f THR=%.1f", *S_TYPE, *S_THR, *C_THR);
  }else{
    sprintf(tmp, " thr=%.2f", *C_THR);
  }
  strcat(parameters,tmp);
  sprintf(tmp, " EXPO=%.1f ", EXP_HESSIAN); strcat(parameters,tmp);
  if(*FIT_B==0){sprintf(tmp, " KAPPA=%.1f", *KAPPA);}
  else{sprintf(tmp, " KAPPA obtained from fit");}
  strcat(parameters,tmp);
  fflush(stdout);
  return (0);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rsi, %r14
movl %edi, %r12d
movq 0x1a0(%rsp), %rax
movq 0x198(%rsp), %r10
movq 0x190(%rsp), %rbx
movq 0x158(%rsp), %rsi
movq 0x128(%rsp), %rdi
movq 0x120(%rsp), %r11
xorl %ebp, %ebp
movq %rdx, 0x8(%rsp)
movb %bpl, (%rdx)
movq %rcx, 0x10(%rsp)
movb %bpl, (%rcx)
movq %r8, 0x20(%rsp)
movb %bpl, (%r8)
movq %r9, 0x18(%rsp)
movb %bpl, (%r9)
movl %ebp, (%r11)
movl $0x40900000, (%rax)     # imm = 0x40900000
movb %bpl, (%r10)
movb %bpl, (%rdi)
movl $0x40c00000, 0x6187e(%rip) # imm = 0x40C00000
movl $0x1, %eax
movl %eax, 0x60df3(%rip)     # 0x685ec
movl %eax, (%rbx)
movabsq $0x3fc999999999999a, %rdx # imm = 0x3FC999999999999A
movq %rdx, (%rsi)
movq 0x160(%rsp), %rsi
movq %rdx, (%rsi)
movq 0x168(%rsp), %rsi
movabsq $0x3fd999999999999a, %rdx # imm = 0x3FD999999999999A
movq %rdx, (%rsi)
movq 0x150(%rsp), %rsi
movabsq $0x3fe0000000000000, %rdx # imm = 0x3FE0000000000000
movq %rdx, (%rsi)
movl $0x40600000, 0x60dad(%rip) # imm = 0x40600000
movl $0xbda3d70a, 0x60da7(%rip) # imm = 0xBDA3D70A
movl $0x40000000, 0x60d95(%rip) # imm = 0x40000000
movl %eax, 0x60da3(%rip)     # 0x68604
movq 0x1c8(%rsp), %rcx
movl %ebp, (%rcx)
movq 0x2c8(%rsp), %rcx
movl %ebp, (%rcx)
movq 0x2d0(%rsp), %rbx
movl $0x5, (%rbx)
movq 0x250(%rsp), %rcx
movabsq $0x41f000003dcccccd, %rdx # imm = 0x41F000003DCCCCCD
movq %rdx, (%rcx)
movq 0x258(%rsp), %rcx
movl $0x3e99999a, (%rcx)     # imm = 0x3E99999A
movq 0x248(%rsp), %rdx
movl %ebp, (%rdx)
movaps 0x497c9(%rip), %xmm0    # 0x51080
movups %xmm0, 0x20(%rdx)
movabsq $0x3ecccccd40200000, %rcx # imm = 0x3ECCCCCD40200000
movq %rcx, 0x30(%rdx)
movl $0x41a00000, 0x38(%rdx) # imm = 0x41A00000
movl $0x3ecccccd, 0x1c(%rdx) # imm = 0x3ECCCCCD
movq $0x0, 0x14(%rdx)
movabsq $0x3a83126f3f000000, %rcx # imm = 0x3A83126F3F000000
movq %rcx, 0x4(%rdx)
movabsq $0x643d4ccccd, %rcx     # imm = 0x643D4CCCCD
movq %rcx, 0xc(%rdx)
cmpl %eax, %r12d
jle 0x8b88
leaq 0x20(%rdx), %rax
movq %rax, 0x28(%rsp)
leaq 0x4df1c(%rip), %rdi     # 0x55830
callq 0x2090
xorps %xmm0, %xmm0
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
movl %r12d, %ebp
negq %rbp
movl $0x1, %r13d
leaq 0x4ab67(%rip), %r15     # 0x524af
movq -0x8(%r14,%r13,8), %rdi
movl $0x3, %edx
movq %r15, %rsi
callq 0x2070
testl %eax, %eax
je 0x7974
leaq 0x1(,%r13), %rax
addq %rbp, %rax
incq %r13
cmpq $0x1, %rax
jne 0x7948
jmp 0x7987
cmpl %r12d, %r13d
jge 0x7987
movq (%r14,%r13,8), %rsi
leaq 0x30(%rsp), %rdi
callq 0x2080
movzbl 0x30(%rsp), %eax
testl %eax, %eax
je 0x7995
cmpl $0x2d, %eax
jne 0x79a6
leaq 0x4de68(%rip), %rdi     # 0x55804
callq 0x2090
jmp 0x7b77
leaq 0x4ab08(%rip), %rdi     # 0x524b5
leaq 0x30(%rsp), %r15
movq %r15, %rsi
xorl %eax, %eax
callq 0x20f0
movq %r15, %rdi
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x20(%rsp), %rcx
movq 0x18(%rsp), %r8
movq 0x120(%rsp), %r9
pushq 0x2f8(%rsp)
pushq 0x2f8(%rsp)
pushq 0x2f8(%rsp)
pushq 0x2f8(%rsp)
pushq 0x2f8(%rsp)
pushq %rbx
pushq 0x2f8(%rsp)
pushq 0x2f8(%rsp)
pushq 0x2f8(%rsp)
pushq 0x2f8(%rsp)
pushq 0x2f8(%rsp)
pushq 0x2f8(%rsp)
pushq 0x2f8(%rsp)
pushq 0x2f8(%rsp)
pushq 0x2f8(%rsp)
pushq 0x2f8(%rsp)
pushq 0x2f8(%rsp)
pushq 0x2f8(%rsp)
pushq 0x2f8(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
pushq 0x2f0(%rsp)
callq 0xae63
addq $0x1d0, %rsp            # imm = 0x1D0
leaq 0x4dcb2(%rip), %rdi     # 0x55830
callq 0x2090
leaq 0x4a925(%rip), %r13     # 0x524af
xorl %r15d, %r15d
movslq %r15d, %rbx
movq (%r14,%rbx,8), %rbp
movl $0x3, %edx
movq %rbp, %rdi
movq %r13, %rsi
callq 0x2070
testl %eax, %eax
je 0x7f74
movq %rbp, %rdi
leaq 0x4a920(%rip), %rsi     # 0x524d6
callq 0x2180
testl %eax, %eax
je 0x7f48
movq %rbp, %rdi
leaq 0x4a90d(%rip), %rsi     # 0x524da
callq 0x2180
testl %eax, %eax
je 0x7f48
movl $0x3, %edx
movq %rbp, %rdi
leaq 0x4a905(%rip), %rsi     # 0x524ee
callq 0x2070
testl %eax, %eax
je 0x7fa5
movq %rbp, %rdi
leaq 0x4a901(%rip), %rsi     # 0x52501
callq 0x2180
testl %eax, %eax
je 0x7f7c
movq %rbp, %rdi
leaq 0x4a8ee(%rip), %rsi     # 0x52505
callq 0x2180
testl %eax, %eax
je 0x7f7c
movq %rbp, %rdi
leaq 0x4a8dd(%rip), %rsi     # 0x5250b
callq 0x2180
testl %eax, %eax
je 0x7f7c
movl $0x3, %edx
movq %rbp, %rdi
leaq 0x4a8d4(%rip), %rsi     # 0x5251e
callq 0x2070
testl %eax, %eax
je 0x801b
movl $0xa, %edx
movq %rbp, %rdi
leaq 0x4a8d2(%rip), %rsi     # 0x52538
callq 0x2070
testl %eax, %eax
je 0x8070
movl $0x9, %edx
movq %rbp, %rdi
leaq 0x4a8c1(%rip), %rsi     # 0x52543
callq 0x2070
testl %eax, %eax
je 0x8091
movl $0x4, %edx
movq %rbp, %rdi
leaq 0x4a8c9(%rip), %rsi     # 0x52567
callq 0x2070
testl %eax, %eax
je 0x80e3
movl $0x4, %edx
movq %rbp, %rdi
leaq 0x4a8b2(%rip), %rsi     # 0x5256c
callq 0x2070
testl %eax, %eax
je 0x80ed
movl $0x3, %edx
movq %rbp, %rdi
leaq 0x4a89b(%rip), %rsi     # 0x52571
callq 0x2070
testl %eax, %eax
je 0x8107
movl $0x6, %edx
movq %rbp, %rdi
leaq 0x4a883(%rip), %rsi     # 0x52575
callq 0x2070
testl %eax, %eax
je 0x8111
movl $0x6, %edx
movq %rbp, %rdi
leaq 0x4a86e(%rip), %rsi     # 0x5257c
callq 0x2070
testl %eax, %eax
je 0x8124
movl $0x4, %edx
movq %rbp, %rdi
leaq 0x4a859(%rip), %rsi     # 0x52583
callq 0x2070
testl %eax, %eax
je 0x8137
movl $0x5, %edx
movq %rbp, %rdi
leaq 0x4a842(%rip), %rsi     # 0x52588
callq 0x2070
testl %eax, %eax
je 0x8157
movl $0x6, %edx
movq %rbp, %rdi
leaq 0x4a82c(%rip), %rsi     # 0x5258e
callq 0x2070
testl %eax, %eax
je 0x8184
movl $0x6, %edx
movq %rbp, %rdi
leaq 0x4a817(%rip), %rsi     # 0x52595
callq 0x2070
testl %eax, %eax
je 0x818e
movl $0x6, %edx
movq %rbp, %rdi
leaq 0x4a802(%rip), %rsi     # 0x5259c
callq 0x2070
testl %eax, %eax
je 0x819d
movl $0x6, %edx
movq %rbp, %rdi
leaq 0x4a7ed(%rip), %rsi     # 0x525a3
callq 0x2070
testl %eax, %eax
je 0x81cd
movl $0x6, %edx
movq %rbp, %rdi
leaq 0x4a7f4(%rip), %rsi     # 0x525c6
callq 0x2070
testl %eax, %eax
je 0x820e
movl $0x7, %edx
movq %rbp, %rdi
leaq 0x4a7f7(%rip), %rsi     # 0x525e5
callq 0x2070
testl %eax, %eax
je 0x8247
movl $0x6, %edx
movq %rbp, %rdi
leaq 0x4a7f9(%rip), %rsi     # 0x52603
callq 0x2070
testl %eax, %eax
je 0x8276
movl $0xa, %edx
movq %rbp, %rdi
leaq 0x4a803(%rip), %rsi     # 0x52629
callq 0x2070
testl %eax, %eax
je 0x82a6
movl $0x9, %edx
movq %rbp, %rdi
leaq 0x4a7f2(%rip), %rsi     # 0x52634
callq 0x2070
testl %eax, %eax
je 0x82b3
movl $0x9, %edx
movq %rbp, %rdi
leaq 0x4a7e0(%rip), %rsi     # 0x5263e
callq 0x2070
testl %eax, %eax
je 0x82c0
movl $0x8, %edx
movq %rbp, %rdi
leaq 0x4a7ce(%rip), %rsi     # 0x52648
callq 0x2070
testl %eax, %eax
je 0x82d5
movl $0x6, %edx
movq %rbp, %rdi
leaq 0x4a7bd(%rip), %rsi     # 0x52653
callq 0x2070
testl %eax, %eax
je 0x82e2
movl $0xd, %edx
movq %rbp, %rdi
leaq 0x4a7a8(%rip), %rsi     # 0x5265a
callq 0x2070
testl %eax, %eax
je 0x8309
movl $0xc, %edx
movq %rbp, %rdi
leaq 0x4a79e(%rip), %rsi     # 0x5266c
callq 0x2070
testl %eax, %eax
je 0x8316
movl $0xb, %edx
movq %rbp, %rdi
leaq 0x4a78f(%rip), %rsi     # 0x52679
callq 0x2070
testl %eax, %eax
je 0x8323
movl $0x6, %edx
movq %rbp, %rdi
leaq 0x4a77f(%rip), %rsi     # 0x52685
callq 0x2070
testl %eax, %eax
je 0x8330
movl $0x2, %edx
movq %rbp, %rdi
leaq 0x4a76a(%rip), %rsi     # 0x5268c
callq 0x2070
testl %eax, %eax
je 0x8b88
cmpb $0x2d, (%rbp)
jne 0x800a
leaq 0x4a74f(%rip), %rdi     # 0x5268f
movq %rbp, %rsi
jmp 0x8003
incl %r15d
cmpl %r12d, %r15d
jge 0x800a
movslq %r15d, %rax
movq (%r14,%rax,8), %rsi
movq 0x20(%rsp), %rbx
movq %rbx, %rdi
callq 0x2080
leaq 0x4a571(%rip), %rdi     # 0x524e0
jmp 0x8000
incl %r15d
jmp 0x800a
incl %r15d
cmpl %r12d, %r15d
jge 0x800a
movslq %r15d, %rax
movq (%r14,%rax,8), %rsi
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x2080
leaq 0x4a56d(%rip), %rdi     # 0x52510
jmp 0x8000
incl %r15d
cmpl %r12d, %r15d
jge 0x800a
movslq %r15d, %rax
movq (%r14,%rax,8), %rbp
movl $0x3, %edx
movq %rbp, %rdi
leaq 0x4a52f(%rip), %rsi     # 0x524f2
callq 0x2070
testl %eax, %eax
movq 0x18(%rsp), %rbx
je 0x7ff6
movl $0x3, %edx
movq %rbp, %rdi
leaq 0x4919e(%rip), %rsi     # 0x5117e
callq 0x2070
testl %eax, %eax
je 0x7ff6
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x2080
jmp 0x7ff9
movb $0x2a, (%rbx)
leaq 0x4a4f6(%rip), %rdi     # 0x524f6
movq %rbx, %rsi
xorl %eax, %eax
callq 0x20f0
incl %r15d
cmpl %r12d, %r15d
jl 0x7b8d
jmp 0x833c
incl %r15d
cmpl %r12d, %r15d
jge 0x800a
movslq %r15d, %rax
movq (%r14,%rax,8), %rbp
movl $0x3, %edx
movq %rbp, %rdi
leaq 0x4a4b9(%rip), %rsi     # 0x524f2
callq 0x2070
testl %eax, %eax
movq 0x10(%rsp), %rbx
je 0x80d4
movl $0x3, %edx
movq %rbp, %rdi
leaq 0x49124(%rip), %rsi     # 0x5117e
callq 0x2070
testl %eax, %eax
je 0x80d4
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x2080
jmp 0x80d7
incl %r15d
cmpl %r12d, %r15d
jge 0x800a
movslq %r15d, %rax
movq (%r14,%rax,8), %rsi
movq 0x198(%rsp), %rdi
callq 0x2080
jmp 0x800a
incl %r15d
cmpl %r12d, %r15d
jge 0x800a
movslq %r15d, %rax
movq (%r14,%rax,8), %rdi
leaq 0x4dc01(%rip), %rsi     # 0x55cac
movq 0x1a0(%rsp), %rbx
movq %rbx, %rdx
xorl %eax, %eax
callq 0x21f0
cvtss2sd (%rbx), %xmm0
leaq 0x4a485(%rip), %rdi     # 0x5254d
movb $0x1, %al
callq 0x20f0
jmp 0x800a
movb $0x2a, (%rbx)
leaq 0x4a444(%rip), %rdi     # 0x52522
jmp 0x8000
movq 0x120(%rsp), %rax
jmp 0x8119
movq 0x120(%rsp), %rax
movl $0x1, %ecx
movl %ecx, (%rax)
movl %ecx, 0x60fe6(%rip)     # 0x690e8
jmp 0x800a
movq 0x138(%rsp), %rax
jmp 0x8119
movq 0x140(%rsp), %rax
movl $0x1, (%rax)
jmp 0x800a
movq 0x148(%rsp), %rax
movl $0x0, (%rax)
jmp 0x800a
incl %r15d
cmpl %r12d, %r15d
jge 0x800a
movslq %r15d, %rax
movq (%r14,%rax,8), %rsi
movq 0x128(%rsp), %rdi
jmp 0x8087
incl %r15d
cmpl %r12d, %r15d
jge 0x800a
movslq %r15d, %rax
movq (%r14,%rax,8), %rdi
leaq 0x4db3b(%rip), %rsi     # 0x55cac
leaq 0x60ef4(%rip), %rdx     # 0x6906c
xorl %eax, %eax
callq 0x21f0
jmp 0x800a
movq 0x210(%rsp), %rax
jmp 0x8119
movl $0x0, 0x6046c(%rip)     # 0x68604
jmp 0x800a
incl %r15d
cmpl %r12d, %r15d
jge 0x800a
movl $0x190, %edi            # imm = 0x190
callq 0x21d0
movq 0x1f8(%rsp), %rcx
movq %rax, (%rcx)
movslq %r15d, %rcx
movq (%r14,%rcx,8), %rsi
movq %rax, %rdi
jmp 0x8087
incl %r15d
cmpl %r12d, %r15d
jge 0x800a
movslq %r15d, %rax
movq (%r14,%rax,8), %rdi
leaq 0x55104(%rip), %rsi     # 0x5d2eb
movq 0x248(%rsp), %rbx
movq %rbx, %rdx
xorl %eax, %eax
callq 0x21f0
movl (%rbx), %esi
leaq 0x4a3a8(%rip), %rdi     # 0x525aa
xorl %eax, %eax
callq 0x20f0
jmp 0x800a
incl %r15d
cmpl %r12d, %r15d
jge 0x800a
movslq %r15d, %rax
movq (%r14,%rax,8), %rdi
leaq 0x4da84(%rip), %rsi     # 0x55cac
movq 0x28(%rsp), %rbx
movq %rbx, %rdx
xorl %eax, %eax
callq 0x21f0
cvtss2sd (%rbx), %xmm0
leaq 0x4a38a(%rip), %rdi     # 0x525cc
jmp 0x80c8
incl %r15d
cmpl %r12d, %r15d
jge 0x800a
movslq %r15d, %rax
movq (%r14,%rax,8), %rsi
movq 0x1d0(%rsp), %rbx
movq %rbx, %rdi
callq 0x2080
leaq 0x4a37c(%rip), %rdi     # 0x525ed
jmp 0x8000
incl %r15d
cmpl %r12d, %r15d
jge 0x800a
movslq %r15d, %rax
movq (%r14,%rax,8), %rdi
callq 0x2230
movq 0x1c8(%rsp), %rcx
movl %eax, (%rcx)
leaq 0x4a36b(%rip), %rdi     # 0x5260a
movl %eax, %esi
jmp 0x8202
movq 0x1e8(%rsp), %rax
jmp 0x8119
movq 0x230(%rsp), %rax
jmp 0x8119
incl %r15d
movq 0x8(%r14,%rbx,8), %rsi
movq 0x240(%rsp), %rdi
jmp 0x8087
movq 0x200(%rsp), %rax
jmp 0x8119
incl %r15d
cmpl %r12d, %r15d
jge 0x800a
movslq %r15d, %rax
movq (%r14,%rax,8), %rdi
movq 0x2b0(%rsp), %rsi
xorl %eax, %eax
callq 0x21f0
jmp 0x800a
movq 0x1d8(%rsp), %rax
jmp 0x8119
movq 0x1e0(%rsp), %rax
jmp 0x8119
movq 0x1f0(%rsp), %rax
jmp 0x8119
leaq 0x710b5(%rip), %rax     # 0x793ec
jmp 0x8119
movq 0x258(%rsp), %rax
movss (%rax), %xmm0
ucomiss 0x48cc1(%rip), %xmm0    # 0x51010
jbe 0x835d
divss 0x48cbb(%rip), %xmm0    # 0x51014
movss %xmm0, (%rax)
movq 0x8(%rsp), %rax
cmpb $0x0, (%rax)
movq 0x1a0(%rsp), %r14
movq 0x260(%rsp), %r15
movq 0x198(%rsp), %r12
je 0x8b8d
movq 0x140(%rsp), %rax
cmpl $0x0, (%rax)
movq 0x158(%rsp), %r13
jle 0x83a6
leaq 0x4d4e0(%rip), %rdi     # 0x5587f
callq 0x2090
jmp 0x83cd
js 0x83b9
movq 0x150(%rsp), %rax
movq $0x0, (%rax)
jmp 0x83cd
movl 0x60d01(%rip), %esi     # 0x690c0
leaq 0x4a2ee(%rip), %rdi     # 0x526b4
xorl %eax, %eax
callq 0x20f0
movq 0x148(%rsp), %rax
cmpl $0x0, (%rax)
jne 0x83ee
leaq 0x4d786(%rip), %rdi     # 0x55b67
callq 0x2090
movq $0x0, (%r13)
movq 0x138(%rsp), %rax
cmpl $0x0, (%rax)
je 0x84cc
leaq 0x4d4a1(%rip), %rdi     # 0x558a7
callq 0x2090
leaq 0x4eeaa(%rip), %rsi     # 0x572bc
movl $0x3, %edx
movq %r12, %rdi
callq 0x2070
testl %eax, %eax
jne 0x843b
leaq 0x55a79(%rip), %rsi     # 0x5dea3
movl $0x3, %edx
movq %r12, %rdi
callq 0x2070
testl %eax, %eax
je 0x8454
leaq 0x4a2a2(%rip), %rdi     # 0x526e4
movq %r12, %rsi
xorl %eax, %eax
callq 0x20f0
movl $0x4e494d, (%r12)       # imm = 0x4E494D
leaq 0x48d23(%rip), %rsi     # 0x5117e
movl $0x3, %edx
movq 0x128(%rsp), %rbx
movq %rbx, %rdi
callq 0x2070
movq %rbx, %rsi
testl %eax, %eax
je 0x8493
leaq 0x4a2a1(%rip), %rdi     # 0x5271f
xorl %eax, %eax
callq 0x20f0
movq 0x128(%rsp), %rsi
movl $0x4c4c41, (%rsi)       # imm = 0x4C4C41
leaq 0x4a2bf(%rip), %rdi     # 0x52759
movq %r12, %rdx
xorl %eax, %eax
callq 0x20f0
leaq 0x4a2e5(%rip), %rdi     # 0x52790
xorl %eax, %eax
callq 0x20f0
movq 0x190(%rsp), %rax
movl (%rax), %esi
leaq 0x504b5(%rip), %rdi     # 0x58978
xorl %eax, %eax
callq 0x20f0
jmp 0x84db
movq 0x168(%rsp), %rax
movq $0x0, (%rax)
leaq 0x4cc88(%rip), %rsi     # 0x5516a
movl $0x2, %edx
movq %r12, %rdi
callq 0x2070
testl %eax, %eax
je 0x861a
leaq 0x48cc6(%rip), %rsi     # 0x511c4
movl $0x2, %edx
movq %r12, %rdi
callq 0x2070
testl %eax, %eax
je 0x861a
leaq 0x48c68(%rip), %rsi     # 0x51182
movl $0x3, %edx
movq %r12, %rdi
callq 0x2070
testl %eax, %eax
je 0x861a
leaq 0x48c8d(%rip), %rsi     # 0x511c3
movl $0x3, %edx
movq %r12, %rdi
callq 0x2070
testl %eax, %eax
je 0x861a
leaq 0x4ed6a(%rip), %rsi     # 0x572bc
movl $0x3, %edx
movq %r12, %rdi
callq 0x2070
testl %eax, %eax
je 0x861a
leaq 0x48cf1(%rip), %rsi     # 0x5125f
movl $0x3, %edx
movq %r12, %rdi
callq 0x2070
testl %eax, %eax
je 0x861a
leaq 0x48bf4(%rip), %rsi     # 0x5117e
movl $0x3, %edx
movq %r12, %rdi
callq 0x2070
testl %eax, %eax
je 0x861a
leaq 0x55901(%rip), %rsi     # 0x5dea3
movl $0x3, %edx
movq %r12, %rdi
callq 0x2070
testl %eax, %eax
je 0x861a
leaq 0x48eab(%rip), %rsi     # 0x51465
movl $0x3, %edx
movq %r12, %rdi
callq 0x2070
testl %eax, %eax
je 0x861a
leaq 0x4a1ff(%rip), %rsi     # 0x527d1
movl $0x2, %edx
movq %r12, %rdi
callq 0x2070
testl %eax, %eax
je 0x861a
cmpb $0x0, (%r12)
je 0x85fb
leaq 0x4a1e3(%rip), %rdi     # 0x527d4
movq %r12, %rsi
xorl %eax, %eax
callq 0x20f0
leaq 0x4a1ff(%rip), %rdi     # 0x52801
leaq 0x4ecb3(%rip), %rsi     # 0x572bc
xorl %eax, %eax
callq 0x20f0
movl $0x4e494d, (%r12)       # imm = 0x4E494D
jmp 0x867a
leaq 0x4a204(%rip), %rdi     # 0x52825
movq %r12, %rsi
xorl %eax, %eax
callq 0x20f0
leaq 0x4a19f(%rip), %rsi     # 0x527d1
movl $0x2, %edx
movq %r12, %rdi
callq 0x2070
testl %eax, %eax
jne 0x867a
leaq 0x4a1f3(%rip), %rdi     # 0x5283d
xorl %eax, %eax
callq 0x20f0
xorps %xmm0, %xmm0
cvtss2sd 0x5ff98(%rip), %xmm0    # 0x685f4
cvtss2sd 0x5ff94(%rip), %xmm1    # 0x685f8
cvtss2sd 0x5ff84(%rip), %xmm2    # 0x685f0
leaq 0x4a1e6(%rip), %rdi     # 0x52859
movb $0x3, %al
callq 0x20f0
movq 0x128(%rsp), %rdi
cmpb $0x0, (%rdi)
je 0x8739
leaq 0x4cad8(%rip), %rsi     # 0x5516a
movl $0x2, %edx
callq 0x2070
movq 0x128(%rsp), %rdi
testl %eax, %eax
je 0x8739
leaq 0x48b11(%rip), %rsi     # 0x511c4
movl $0x2, %edx
callq 0x2070
movq 0x128(%rsp), %rdi
testl %eax, %eax
jne 0x8739
leaq 0x4a1c0(%rip), %rsi     # 0x52890
movl $0x2, %edx
callq 0x2070
movq 0x128(%rsp), %rdi
testl %eax, %eax
jne 0x8739
leaq 0x48b76(%rip), %rsi     # 0x51263
movl $0x2, %edx
callq 0x2070
movq 0x128(%rsp), %rdi
testl %eax, %eax
jne 0x8739
leaq 0x48a74(%rip), %rsi     # 0x5117e
movl $0x3, %edx
callq 0x2070
movq 0x128(%rsp), %rsi
testl %eax, %eax
jne 0x8739
leaq 0x4a16c(%rip), %rdi     # 0x52893
xorl %eax, %eax
callq 0x20f0
movq 0x128(%rsp), %rax
movb $0x0, (%rax)
movss 0x6092b(%rip), %xmm0    # 0x6906c
xorps %xmm1, %xmm1
ucomiss %xmm0, %xmm1
jbe 0x8767
cvtss2sd %xmm0, %xmm0
leaq 0x4a16c(%rip), %rdi     # 0x528c0
movb $0x1, %al
callq 0x20f0
movl $0x0, 0x60907(%rip)     # 0x6906c
jmp 0x8780
ucomiss %xmm1, %xmm0
jne 0x876e
jnp 0x8780
cvtss2sd %xmm0, %xmm0
leaq 0x4a184(%rip), %rdi     # 0x528fd
movb $0x1, %al
callq 0x20f0
movss (%r14), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x88cb
jp 0x88cb
leaq 0x4c9cc(%rip), %rsi     # 0x5516a
movl $0x2, %edx
movq %r12, %rdi
callq 0x2070
movss 0x48865(%rip), %xmm0    # 0x51018
testl %eax, %eax
je 0x88b4
leaq 0x48a02(%rip), %rsi     # 0x511c4
movl $0x2, %edx
movq %r12, %rdi
callq 0x2070
testl %eax, %eax
je 0x88a2
leaq 0x489e5(%rip), %rsi     # 0x511c3
movl $0x3, %edx
movq %r12, %rdi
callq 0x2070
movss 0x48829(%rip), %xmm0    # 0x5101c
testl %eax, %eax
je 0x88b4
leaq 0x4897c(%rip), %rsi     # 0x5117e
movl $0x3, %edx
movq %r12, %rdi
callq 0x2070
testl %eax, %eax
je 0x88ac
leaq 0x4ea9e(%rip), %rsi     # 0x572bc
movl $0x3, %edx
movq %r12, %rdi
callq 0x2070
testl %eax, %eax
je 0x88ac
leaq 0x48a29(%rip), %rsi     # 0x5125f
movl $0x3, %edx
movq %r12, %rdi
callq 0x2070
testl %eax, %eax
je 0x88ac
leaq 0x55655(%rip), %rsi     # 0x5dea3
movl $0x3, %edx
movq %r12, %rdi
callq 0x2070
testl %eax, %eax
movss 0x487b3(%rip), %xmm0    # 0x51018
je 0x88b4
leaq 0x49f63(%rip), %rsi     # 0x527d1
movl $0x2, %edx
movq %r12, %rdi
callq 0x2070
movss 0x48799(%rip), %xmm0    # 0x5101c
testl %eax, %eax
je 0x88b4
leaq 0x4a092(%rip), %rdi     # 0x52920
movq %r12, %rsi
xorl %eax, %eax
callq 0x20f0
movl $0x8, %edi
callq 0x2270
movss 0x4876e(%rip), %xmm0    # 0x51018
jmp 0x88b4
movss 0x48768(%rip), %xmm0    # 0x5101c
movss %xmm0, (%r14)
cvtss2sd %xmm0, %xmm0
leaq 0x4a07e(%rip), %rdi     # 0x52942
movb $0x1, %al
callq 0x20f0
movq 0x120(%rsp), %rax
cmpl $0x0, (%rax)
je 0x88fb
leaq 0x4d019(%rip), %rdi     # 0x558f8
callq 0x2090
movq 0x128(%rsp), %r10
cmpb $0x0, (%r10)
je 0x890f
leaq 0x4d023(%rip), %rdi     # 0x5591c
jmp 0x8902
leaq 0x4cfc9(%rip), %rdi     # 0x558cb
callq 0x2090
movq 0x128(%rsp), %r10
movq 0x148(%rsp), %rax
movl (%rax), %edx
movq 0x140(%rsp), %rax
movl (%rax), %ecx
movq 0x138(%rsp), %rax
movl (%rax), %r8d
movq 0x190(%rsp), %rax
movl (%rax), %r9d
subq $0x8, %rsp
leaq 0x4a025(%rip), %rsi     # 0x52969
movq %r15, %rdi
xorl %eax, %eax
pushq %r10
callq 0x2260
addq $0x10, %rsp
movq 0x180(%rsp), %rax
xorps %xmm0, %xmm0
cvtss2sd (%rax), %xmm0
movq 0x188(%rsp), %rax
xorps %xmm1, %xmm1
cvtss2sd (%rax), %xmm1
leaq 0x4a027(%rip), %rsi     # 0x529a0
leaq 0x80(%rsp), %rbx
movq %rbx, %rdi
movb $0x2, %al
callq 0x2260
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2240
movq 0x150(%rsp), %rax
movsd (%rax), %xmm0
movq 0x160(%rsp), %rax
movsd (%rax), %xmm1
movsd (%r13), %xmm2
movq 0x168(%rsp), %rax
movsd (%rax), %xmm3
movq 0x170(%rsp), %rax
movsd (%rax), %xmm4
movq 0x178(%rsp), %rax
movsd (%rax), %xmm5
leaq 0x49fdb(%rip), %rsi     # 0x529ba
movq %rbx, %rdi
movb $0x6, %al
callq 0x2260
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2240
leaq 0x49ff8(%rip), %rsi     # 0x529f3
movq %rbx, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq 0x2260
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2240
leaq 0x55489(%rip), %rsi     # 0x5dea3
movl $0x3, %edx
movq %r12, %rdi
callq 0x2070
testl %eax, %eax
je 0x8a63
leaq 0x48a33(%rip), %rsi     # 0x51465
movl $0x3, %edx
movq %r12, %rdi
callq 0x2070
testl %eax, %eax
je 0x8a92
xorps %xmm0, %xmm0
cvtss2sd (%r14), %xmm0
leaq 0x49fdd(%rip), %rsi     # 0x52a2f
leaq 0x80(%rsp), %rdi
movb $0x1, %al
callq 0x2260
jmp 0x8ac9
movq 0x1b0(%rsp), %rax
xorps %xmm0, %xmm0
cvtss2sd (%rax), %xmm0
xorps %xmm1, %xmm1
cvtss2sd (%r14), %xmm1
leaq 0x49f7c(%rip), %rsi     # 0x529fd
leaq 0x80(%rsp), %rdi
movb $0x2, %al
callq 0x2260
jmp 0x8ac9
movq 0x1a8(%rsp), %rax
movl (%rax), %edx
movq 0x1b0(%rsp), %rax
xorps %xmm0, %xmm0
cvtss2sd (%rax), %xmm0
xorps %xmm1, %xmm1
cvtss2sd (%r14), %xmm1
leaq 0x49f5c(%rip), %rsi     # 0x52a16
leaq 0x80(%rsp), %rdi
movb $0x2, %al
callq 0x2260
leaq 0x80(%rsp), %rbx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2240
xorps %xmm0, %xmm0
cvtss2sd 0x60585(%rip), %xmm0    # 0x6906c
leaq 0x49f4b(%rip), %rsi     # 0x52a39
movq %rbx, %rdi
movb $0x1, %al
callq 0x2260
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2240
movq 0x210(%rsp), %rax
cmpl $0x0, (%rax)
je 0x8b30
movups 0x49f37(%rip), %xmm0    # 0x52a4e
movups %xmm0, 0x89(%rsp)
movups 0x49f1f(%rip), %xmm0    # 0x52a45
movaps %xmm0, 0x80(%rsp)
jmp 0x8b55
movq 0x208(%rsp), %rax
xorps %xmm0, %xmm0
cvtss2sd (%rax), %xmm0
leaq 0x488f1(%rip), %rsi     # 0x51437
leaq 0x80(%rsp), %rdi
movb $0x1, %al
callq 0x2260
leaq 0x80(%rsp), %rsi
movq %r15, %rdi
callq 0x2240
movq 0x5e464(%rip), %rax     # 0x66fd0
movq (%rax), %rdi
callq 0x21e0
xorl %eax, %eax
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0xad21
leaq 0x4ccc1(%rip), %rdi     # 0x55855
callq 0x2090
callq 0xad21