// File: /workspace/github_c_makefile_star2_O2/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 $0x108, %rsp            # imm = 0x108
movq %rsi, 0x10(%rsp)
movq 0x1c0(%rsp), %r13
movq 0x1b8(%rsp), %rbx
movq 0x1b0(%rsp), %r10
movq 0x180(%rsp), %r15
movq 0x178(%rsp), %rsi
movq 0x148(%rsp), %r14
movq 0x140(%rsp), %r11
xorl %eax, %eax
movq %rdx, 0x28(%rsp)
movb %al, (%rdx)
movq %rcx, 0x18(%rsp)
movb %al, (%rcx)
movq %r8, 0x30(%rsp)
movb %al, (%r8)
movq %r9, 0x20(%rsp)
movb %al, (%r9)
andl $0x0, (%r11)
movl $0x40900000, (%r13)     # imm = 0x40900000
movb %al, (%rbx)
movb %al, (%r14)
movl $0x40c00000, 0x5cbb8(%rip) # imm = 0x40C00000
pushq $0x1
popq %rdx
movl %edx, 0x5c12f(%rip)     # 0x635ec
movl %edx, (%r10)
movabsq $0x3fc999999999999a, %rax # imm = 0x3FC999999999999A
movq %rax, (%rsi)
movq %rax, (%r15)
movq 0x188(%rsp), %rcx
movabsq $0x3fd999999999999a, %rax # imm = 0x3FD999999999999A
movq %rax, (%rcx)
movq 0x170(%rsp), %rcx
movabsq $0x3fe0000000000000, %rax # imm = 0x3FE0000000000000
movq %rax, (%rcx)
movl $0x40600000, 0x5c0f0(%rip) # imm = 0x40600000
movl $0xbda3d70a, 0x5c0ea(%rip) # imm = 0xBDA3D70A
movl $0x40000000, 0x5c0d8(%rip) # imm = 0x40000000
movl %edx, 0x5c0e6(%rip)     # 0x63604
movq 0x1e8(%rsp), %rax
andl $0x0, (%rax)
movq 0x2e8(%rsp), %rbp
andl $0x0, (%rbp)
movq 0x2f0(%rsp), %rbx
movl $0x5, (%rbx)
movsd 0x43b35(%rip), %xmm0    # 0x4b080
movq 0x270(%rsp), %r13
movsd %xmm0, (%r13)
movq 0x278(%rsp), %rax
movl $0x3e99999a, (%rax)     # imm = 0x3E99999A
movq 0x268(%rsp), %rcx
andl $0x0, (%rcx)
movaps 0x43b17(%rip), %xmm0    # 0x4b090
movups %xmm0, 0x1c(%rcx)
movaps 0x43b1c(%rip), %xmm0    # 0x4b0a0
movups %xmm0, 0x2c(%rcx)
andq $0x0, 0x14(%rcx)
movsd 0x43b1b(%rip), %xmm0    # 0x4b0b0
movsd %xmm0, 0x4(%rcx)
movabsq $0x643d4ccccd, %rax     # imm = 0x643D4CCCCD
movq %rax, 0xc(%rcx)
cmpl %edx, %edi
jle 0x8729
movl %edi, %r14d
movq 0x1d8(%rsp), %r15
movq 0x150(%rsp), %r12
leaq 0x20(%rcx), %rax
movq %rax, 0x38(%rsp)
leaq 0x481e1(%rip), %rdi     # 0x4f7b4
callq 0x2090
xorps %xmm0, %xmm0
movaps %xmm0, 0xf0(%rsp)
movaps %xmm0, 0xe0(%rsp)
movaps %xmm0, 0xd0(%rsp)
movaps %xmm0, 0xc0(%rsp)
movaps %xmm0, 0xb0(%rsp)
movl %r14d, 0xc(%rsp)
movl %r14d, %ecx
negq %rcx
pushq $0x1
popq %rax
leaq (%rcx,%rax), %rdx
cmpq $0x1, %rdx
je 0x766e
movq 0x10(%rsp), %rdx
movq -0x8(%rdx,%rax,8), %rdx
cmpb $0x2d, (%rdx)
jne 0x7636
cmpb $0x66, 0x1(%rdx)
jne 0x7636
cmpb $0x69, 0x2(%rdx)
je 0x763b
incq %rax
jmp 0x7611
cmpl 0xc(%rsp), %eax
jge 0x766e
movq 0x10(%rsp), %rcx
movq (%rcx,%rax,8), %rsi
movq %r15, %r14
leaq 0xb0(%rsp), %r15
movq %r15, %rdi
callq 0x2080
movzbl (%r15), %eax
testl %eax, %eax
je 0x766e
cmpl $0x2d, %eax
jne 0x8565
leaq 0x48113(%rip), %rdi     # 0x4f788
callq 0x2090
leaq 0x48133(%rip), %rdi     # 0x4f7b4
callq 0x2090
pushq $0x9
popq %r14
pushq $0x4
popq %r12
xorl %r15d, %r15d
movl 0xc(%rsp), %ebp
cmpl %ebp, %r15d
jge 0x7ec2
movslq %r15d, %r13
movq 0x10(%rsp), %rax
movq (%rax,%r13,8), %rbp
movb (%rbp), %bl
cmpb $0x2d, %bl
jne 0x76ca
cmpb $0x66, 0x1(%rbp)
jne 0x76ca
cmpb $0x69, 0x2(%rbp)
jne 0x76ca
incl %r15d
movl 0xc(%rsp), %ebp
jmp 0x7863
movq %rbp, %rdi
leaq 0x44dc8(%rip), %rsi     # 0x4c49c
callq 0x2180
testl %eax, %eax
je 0x7753
movq %rbp, %rdi
leaq 0x44db9(%rip), %rsi     # 0x4c4a0
callq 0x2180
testl %eax, %eax
je 0x7753
cmpb $0x2d, %bl
jne 0x7788
cmpb $0x63, 0x1(%rbp)
jne 0x7788
cmpb $0x32, 0x2(%rbp)
jne 0x7788
incl %r15d
movl 0xc(%rsp), %ebp
cmpl %ebp, %r15d
jge 0x7863
movslq %r15d, %rax
movq 0x10(%rsp), %rcx
movq (%rcx,%rax,8), %rsi
movzbl (%rsi), %eax
cmpl $0x41, %eax
je 0x7bc2
cmpl $0x61, %eax
jne 0x7bd8
cmpb $0x6c, 0x1(%rsi)
jne 0x7bd8
cmpb $0x6c, 0x2(%rsi)
je 0x7bce
jmp 0x7bd8
incl %r15d
movl 0xc(%rsp), %ebp
cmpl %ebp, %r15d
jge 0x7863
movslq %r15d, %rax
movq 0x10(%rsp), %rcx
movq (%rcx,%rax,8), %rsi
movq 0x30(%rsp), %rbx
movq %rbx, %rdi
callq 0x2080
leaq 0x44d23(%rip), %rdi     # 0x4c4a6
jmp 0x7859
movq %rbp, %rdi
leaq 0x44d31(%rip), %rsi     # 0x4c4c3
callq 0x2180
testl %eax, %eax
je 0x782d
movq %rbp, %rdi
leaq 0x44d1e(%rip), %rsi     # 0x4c4c7
callq 0x2180
testl %eax, %eax
je 0x782d
movq %rbp, %rdi
leaq 0x44d11(%rip), %rsi     # 0x4c4cd
callq 0x2180
testl %eax, %eax
je 0x782d
cmpb $0x2d, %bl
jne 0x786b
cmpb $0x63, 0x1(%rbp)
jne 0x786b
cmpb $0x31, 0x2(%rbp)
jne 0x786b
incl %r15d
movl 0xc(%rsp), %ebp
cmpl %ebp, %r15d
jge 0x7863
movslq %r15d, %rax
movq 0x10(%rsp), %rcx
movq (%rcx,%rax,8), %rsi
movzbl (%rsi), %eax
cmpl $0x41, %eax
je 0x7c2f
cmpl $0x61, %eax
movq 0x18(%rsp), %rax
jne 0x7c45
cmpb $0x6c, 0x1(%rsi)
jne 0x7c45
cmpb $0x6c, 0x2(%rsi)
je 0x7c40
jmp 0x7c45
incl %r15d
movl 0xc(%rsp), %ebp
cmpl %ebp, %r15d
jge 0x7863
movslq %r15d, %rax
movq 0x10(%rsp), %rcx
movq (%rcx,%rax,8), %rsi
movq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x2080
leaq 0x44c79(%rip), %rdi     # 0x4c4d2
movq %rbx, %rsi
xorl %eax, %eax
callq 0x20f0
incl %r15d
jmp 0x7695
movq %rbp, %rdi
leaq 0x44c81(%rip), %rsi     # 0x4c4f6
pushq $0xa
popq %rdx
callq 0x2070
testl %eax, %eax
je 0x78fc
movq %rbp, %rdi
leaq 0x44c76(%rip), %rsi     # 0x4c501
movq %r14, %rdx
callq 0x2070
testl %eax, %eax
je 0x792a
movq %rbp, %rdi
leaq 0x44c80(%rip), %rsi     # 0x4c525
movq %r12, %rdx
callq 0x2070
testl %eax, %eax
je 0x7976
movq %rbp, %rdi
leaq 0x44c6b(%rip), %rsi     # 0x4c52a
pushq $0x4
popq %rdx
callq 0x2070
testl %eax, %eax
je 0x7bf4
cmpb $0x2d, %bl
pushq $0x6
popq %rax
jne 0x7991
cmpb $0x73, 0x1(%rbp)
jne 0x7991
cmpb $0x63, 0x2(%rbp)
jne 0x7991
movq 0x158(%rsp), %rax
jmp 0x7c14
incl %r15d
movl 0xc(%rsp), %ebp
cmpl %ebp, %r15d
jge 0x7863
movslq %r15d, %rax
movq 0x10(%rsp), %rcx
movq (%rcx,%rax,8), %rsi
movq 0x1b8(%rsp), %rdi
callq 0x2080
jmp 0x7863
incl %r15d
movl 0xc(%rsp), %ebp
cmpl %ebp, %r15d
jge 0x7863
movslq %r15d, %rax
movq 0x10(%rsp), %rcx
movq (%rcx,%rax,8), %rdi
leaq 0x482f7(%rip), %rsi     # 0x4fc44
movq 0x1c0(%rsp), %rbx
movq %rbx, %rdx
xorl %eax, %eax
callq 0x21f0
cvtss2sd (%rbx), %xmm0
leaq 0x44ba1(%rip), %rdi     # 0x4c50b
movb $0x1, %al
callq 0x20f0
jmp 0x7863
movq 0x140(%rsp), %rax
movl $0x1, (%rax)
movl 0xc(%rsp), %ebp
pushq $0x4
popq %r12
jmp 0x7863
movq %rbp, %rdi
leaq 0x44b94(%rip), %rsi     # 0x4c52f
movq %rax, %rdx
callq 0x2070
testl %eax, %eax
je 0x7c0c
movq %rbp, %rdi
leaq 0x44b81(%rip), %rsi     # 0x4c536
pushq $0x6
popq %rdx
callq 0x2070
testl %eax, %eax
je 0x7c1f
movq %rbp, %rdi
leaq 0x44b6e(%rip), %rsi     # 0x4c53d
movq %r12, %rdx
callq 0x2070
testl %eax, %eax
je 0x7c61
movq %rbp, %rdi
leaq 0x44b59(%rip), %rsi     # 0x4c542
pushq $0x5
popq %rdx
callq 0x2070
testl %eax, %eax
je 0x7c8a
movq %rbp, %rdi
leaq 0x44b45(%rip), %rsi     # 0x4c548
pushq $0x6
popq %rdx
callq 0x2070
testl %eax, %eax
je 0x7cc0
movq %rbp, %rdi
leaq 0x44b32(%rip), %rsi     # 0x4c54f
pushq $0x6
popq %rdx
callq 0x2070
testl %eax, %eax
je 0x7ccd
movq %rbp, %rdi
leaq 0x44b1f(%rip), %rsi     # 0x4c556
pushq $0x6
popq %rdx
callq 0x2070
testl %eax, %eax
je 0x7cd9
movq %rbp, %rdi
leaq 0x44b0c(%rip), %rsi     # 0x4c55d
pushq $0x6
popq %rdx
callq 0x2070
testl %eax, %eax
je 0x7d12
movq %rbp, %rdi
leaq 0x44b15(%rip), %rsi     # 0x4c580
pushq $0x6
popq %rdx
callq 0x2070
testl %eax, %eax
je 0x7d5c
movq %rbp, %rdi
leaq 0x44b1a(%rip), %rsi     # 0x4c59f
pushq $0x7
popq %rdx
callq 0x2070
testl %eax, %eax
je 0x7d9e
movq %rbp, %rdi
leaq 0x44b1e(%rip), %rsi     # 0x4c5bd
pushq $0x6
popq %rdx
callq 0x2070
testl %eax, %eax
je 0x7dd6
movq %rbp, %rdi
leaq 0x44b2a(%rip), %rsi     # 0x4c5e3
pushq $0xa
popq %rdx
callq 0x2070
testl %eax, %eax
je 0x7e0f
movq %rbp, %rdi
leaq 0x44b1b(%rip), %rsi     # 0x4c5ee
movq %r14, %rdx
callq 0x2070
testl %eax, %eax
je 0x7e1c
movq %rbp, %rdi
leaq 0x44b0b(%rip), %rsi     # 0x4c5f8
pushq $0x9
popq %rdx
callq 0x2070
testl %eax, %eax
je 0x7e33
movq %rbp, %rdi
leaq 0x44afb(%rip), %rsi     # 0x4c602
pushq $0x8
popq %rdx
callq 0x2070
testl %eax, %eax
je 0x7e52
movq %rbp, %rdi
leaq 0x44aec(%rip), %rsi     # 0x4c60d
pushq $0x6
popq %rdx
callq 0x2070
testl %eax, %eax
je 0x7e5f
movq %rbp, %rdi
leaq 0x44ad9(%rip), %rsi     # 0x4c614
pushq $0xd
popq %rdx
callq 0x2070
testl %eax, %eax
je 0x7e8f
movq %rbp, %rdi
leaq 0x44ad1(%rip), %rsi     # 0x4c626
pushq $0xc
popq %rdx
callq 0x2070
testl %eax, %eax
je 0x7e9c
movq %rbp, %rdi
leaq 0x44ac4(%rip), %rsi     # 0x4c633
pushq $0xb
popq %rdx
callq 0x2070
testl %eax, %eax
je 0x7ea9
movq %rbp, %rdi
leaq 0x44ab6(%rip), %rsi     # 0x4c63f
pushq $0x6
popq %rdx
callq 0x2070
testl %eax, %eax
je 0x7eb6
cmpb $0x2d, %bl
jne 0x76c1
cmpb $0x68, 0x1(%rbp)
je 0x8729
leaq 0x44a93(%rip), %rdi     # 0x4c646
movq %rbp, %rsi
xorl %eax, %eax
callq 0x20f0
jmp 0x76c1
cmpb $0x4c, 0x1(%rsi)
jne 0x7bd8
cmpb $0x4c, 0x2(%rsi)
jne 0x7bd8
movq 0x20(%rsp), %rsi
movb $0x2a, (%rsi)
jmp 0x7be8
movq 0x20(%rsp), %rbx
movq %rbx, %rdi
callq 0x2080
movq %rbx, %rsi
leaq 0x448c9(%rip), %rdi     # 0x4c4b8
jmp 0x785c
movq 0x140(%rsp), %rax
pushq $0x1
popq %rcx
movl %ecx, (%rax)
movl %ecx, 0x5c4e1(%rip)     # 0x640e8
jmp 0x76c1
movq 0x160(%rsp), %rax
movl $0x1, (%rax)
jmp 0x76c1
movq 0x168(%rsp), %rax
andl $0x0, (%rax)
jmp 0x76c1
cmpb $0x4c, 0x1(%rsi)
movq 0x18(%rsp), %rax
jne 0x7c45
cmpb $0x4c, 0x2(%rsi)
jne 0x7c45
movb $0x2a, (%rax)
jmp 0x7c52
movq %rax, %rdi
callq 0x2080
movq 0x18(%rsp), %rax
leaq 0x44887(%rip), %rdi     # 0x4c4e0
movq %rax, %rsi
jmp 0x785c
incl %r15d
movl 0xc(%rsp), %ebp
cmpl %ebp, %r15d
jge 0x7863
movslq %r15d, %rax
movq 0x10(%rsp), %rcx
movq (%rcx,%rax,8), %rsi
movq 0x148(%rsp), %rdi
jmp 0x7920
incl %r15d
movl 0xc(%rsp), %ebp
cmpl %ebp, %r15d
jge 0x7863
movslq %r15d, %rax
movq 0x10(%rsp), %rcx
movq (%rcx,%rax,8), %rdi
leaq 0x47f97(%rip), %rsi     # 0x4fc44
leaq 0x5c3b8(%rip), %rdx     # 0x6406c
xorl %eax, %eax
callq 0x21f0
jmp 0x7863
movq 0x230(%rsp), %rax
jmp 0x7c14
andl $0x0, 0x5b930(%rip)     # 0x63604
jmp 0x76c1
incl %r15d
movl 0xc(%rsp), %ebp
cmpl %ebp, %r15d
jge 0x7863
movl $0x190, %edi            # imm = 0x190
callq 0x21d0
movq 0x218(%rsp), %rcx
movq %rax, (%rcx)
movslq %r15d, %rcx
movq 0x10(%rsp), %rdx
movq (%rdx,%rcx,8), %rsi
movq %rax, %rdi
jmp 0x7920
incl %r15d
movl 0xc(%rsp), %ebp
cmpl %ebp, %r15d
jge 0x7863
movslq %r15d, %rax
movq 0x10(%rsp), %rcx
movq (%rcx,%rax,8), %rdi
leaq 0x4f4f6(%rip), %rsi     # 0x5722b
movq 0x268(%rsp), %rbx
movq %rbx, %rdx
xorl %eax, %eax
callq 0x21f0
movl (%rbx), %esi
leaq 0x44814(%rip), %rdi     # 0x4c564
xorl %eax, %eax
callq 0x20f0
jmp 0x7863
incl %r15d
movl 0xc(%rsp), %ebp
cmpl %ebp, %r15d
jge 0x7863
movslq %r15d, %rax
movq 0x10(%rsp), %rcx
movq (%rcx,%rax,8), %rdi
leaq 0x47ec5(%rip), %rsi     # 0x4fc44
movq 0x38(%rsp), %rbx
movq %rbx, %rdx
xorl %eax, %eax
callq 0x21f0
cvtss2sd (%rbx), %xmm0
leaq 0x447ed(%rip), %rdi     # 0x4c586
jmp 0x796a
incl %r15d
movl 0xc(%rsp), %ebp
cmpl %ebp, %r15d
jge 0x7863
movslq %r15d, %rax
movq 0x10(%rsp), %rcx
movq (%rcx,%rax,8), %rsi
movq 0x1f0(%rsp), %rbx
movq %rbx, %rdi
callq 0x2080
leaq 0x447d6(%rip), %rdi     # 0x4c5a7
jmp 0x7859
incl %r15d
movl 0xc(%rsp), %ebp
cmpl %ebp, %r15d
jge 0x7863
movslq %r15d, %rax
movq 0x10(%rsp), %rcx
movq (%rcx,%rax,8), %rdi
callq 0x2230
movq 0x1e8(%rsp), %rcx
movl %eax, (%rcx)
leaq 0x447bc(%rip), %rdi     # 0x4c5c4
movl %eax, %esi
jmp 0x7d50
movq 0x208(%rsp), %rax
jmp 0x7c14
movq 0x250(%rsp), %rax
movl $0x1, (%rax)
pushq $0x9
popq %r14
jmp 0x76c1
incl %r15d
movq 0x10(%rsp), %rax
movq 0x8(%rax,%r13,8), %rsi
movq 0x260(%rsp), %rdi
callq 0x2080
jmp 0x76c1
movq 0x220(%rsp), %rax
jmp 0x7c14
incl %r15d
movl 0xc(%rsp), %ebp
cmpl %ebp, %r15d
jge 0x7863
movslq %r15d, %rax
movq 0x10(%rsp), %rcx
movq (%rcx,%rax,8), %rdi
movq 0x2d0(%rsp), %rsi
xorl %eax, %eax
callq 0x21f0
jmp 0x7863
movq 0x1f8(%rsp), %rax
jmp 0x7c14
movq 0x200(%rsp), %rax
jmp 0x7c14
movq 0x210(%rsp), %rax
jmp 0x7c14
leaq 0x6c52f(%rip), %rax     # 0x743ec
jmp 0x7c14
movq 0x278(%rsp), %rax
movss (%rax), %xmm0
ucomiss 0x4313b(%rip), %xmm0    # 0x4b010
jbe 0x7ee3
divss 0x43135(%rip), %xmm0    # 0x4b014
movss %xmm0, (%rax)
movq 0x28(%rsp), %rax
cmpb $0x0, (%rax)
movq 0x1c0(%rsp), %r14
movq 0x280(%rsp), %r15
movq 0x1b8(%rsp), %r12
je 0x872e
movq 0x160(%rsp), %rax
cmpl $0x0, (%rax)
jle 0x7f24
leaq 0x478e6(%rip), %rdi     # 0x4f803
callq 0x2090
jmp 0x7f48
js 0x7f34
movq 0x170(%rsp), %rax
andq $0x0, (%rax)
jmp 0x7f48
movl 0x5c186(%rip), %esi     # 0x640c0
leaq 0x4472a(%rip), %rdi     # 0x4c66b
xorl %eax, %eax
callq 0x20f0
movq 0x168(%rsp), %rax
cmpl $0x0, (%rax)
jne 0x7f6d
leaq 0x47b8f(%rip), %rdi     # 0x4faeb
callq 0x2090
movq 0x178(%rsp), %rax
andq $0x0, (%rax)
movq 0x158(%rsp), %rax
cmpl $0x0, (%rax)
je 0x8011
leaq 0x478a6(%rip), %rdi     # 0x4f82b
callq 0x2090
leaq 0x4470a(%rip), %rdi     # 0x4c69b
movq %r12, %rsi
xorl %eax, %eax
callq 0x20f0
movl $0x4e494d, (%r12)       # imm = 0x4E494D
movq 0x148(%rsp), %rsi
cmpb $0x41, (%rsi)
jne 0x7fbc
cmpb $0x4c, 0x1(%rsi)
jne 0x7fbc
cmpb $0x4c, 0x2(%rsi)
je 0x7fd8
leaq 0x44713(%rip), %rdi     # 0x4c6d6
xorl %eax, %eax
callq 0x20f0
movq 0x148(%rsp), %rsi
movl $0x4c4c41, (%rsi)       # imm = 0x4C4C41
leaq 0x44731(%rip), %rdi     # 0x4c710
movq %r12, %rdx
xorl %eax, %eax
callq 0x20f0
leaq 0x44757(%rip), %rdi     # 0x4c747
xorl %eax, %eax
callq 0x20f0
movq 0x1b0(%rsp), %rax
movl (%rax), %esi
leaq 0x4a8a6(%rip), %rdi     # 0x528ae
xorl %eax, %eax
callq 0x20f0
jmp 0x801d
movq 0x188(%rsp), %rax
andq $0x0, (%rax)
movzbl (%r12), %eax
testl %eax, %eax
je 0x8169
cmpl $0x41, %eax
je 0x80f2
cmpl $0x53, %eax
je 0x806c
cmpl $0x48, %eax
je 0x80d4
cmpl $0x4d, %eax
je 0x80ba
cmpl $0x43, %eax
jne 0x8158
cmpb $0x41, 0x1(%r12)
je 0x8102
cmpb $0x42, 0x1(%r12)
jne 0x8158
jmp 0x8102
cmpb $0x43, 0x1(%r12)
jne 0x8080
cmpb $0x41, 0x2(%r12)
je 0x8102
cmpb $0x43, 0x1(%r12)
jne 0x8090
cmpb $0x42, 0x2(%r12)
je 0x8102
cmpb $0x43, 0x1(%r12)
jne 0x80a0
cmpb $0x52, 0x2(%r12)
je 0x8102
cmpb $0x48, 0x1(%r12)
jne 0x8158
cmpb $0x41, 0x2(%r12)
jne 0x8158
jmp 0x8102
cmpb $0x49, 0x1(%r12)
jne 0x8158
cmpb $0x4e, 0x2(%r12)
jne 0x8158
jmp 0x8102
cmpb $0x59, 0x1(%r12)
jne 0x80e4
cmpb $0x44, 0x2(%r12)
je 0x8102
cmpb $0x42, 0x1(%r12)
je 0x8102
testb %al, %al
jne 0x8158
jmp 0x8169
cmpb $0x4c, 0x1(%r12)
jne 0x8158
cmpb $0x4c, 0x2(%r12)
jne 0x8158
leaq 0x446d0(%rip), %rdi     # 0x4c7d9
movq %r12, %rsi
xorl %eax, %eax
callq 0x20f0
cmpb $0x48, (%r12)
jne 0x8186
cmpb $0x42, 0x1(%r12)
jne 0x8186
leaq 0x446c8(%rip), %rdi     # 0x4c7f1
xorl %eax, %eax
callq 0x20f0
cvtss2sd 0x5b4bc(%rip), %xmm0    # 0x635f4
cvtss2sd 0x5b4b8(%rip), %xmm1    # 0x635f8
cvtss2sd 0x5b4a8(%rip), %xmm2    # 0x635f0
leaq 0x446be(%rip), %rdi     # 0x4c80d
movb $0x3, %al
callq 0x20f0
jmp 0x8186
leaq 0x44629(%rip), %rdi     # 0x4c788
movq %r12, %rsi
xorl %eax, %eax
callq 0x20f0
leaq 0x44645(%rip), %rdi     # 0x4c7b5
leaq 0x49055(%rip), %rsi     # 0x511cc
xorl %eax, %eax
callq 0x20f0
movl $0x4e494d, (%r12)       # imm = 0x4E494D
movss 0x5bede(%rip), %xmm1    # 0x6406c
xorps %xmm2, %xmm2
ucomiss %xmm1, %xmm2
cvtss2sd %xmm1, %xmm0
jbe 0x81b1
leaq 0x446a3(%rip), %rdi     # 0x4c844
movb $0x1, %al
callq 0x20f0
andl $0x0, 0x5bebd(%rip)     # 0x6406c
jmp 0x81c6
ucomiss %xmm2, %xmm1
jne 0x81b8
jnp 0x81c6
leaq 0x446c2(%rip), %rdi     # 0x4c881
movb $0x1, %al
callq 0x20f0
movss (%r14), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x82e3
jp 0x82e3
movzbl (%r12), %eax
cmpl $0x41, %eax
je 0x8272
cmpl $0x53, %eax
je 0x8238
cmpl $0x48, %eax
je 0x828b
cmpl $0x4d, %eax
je 0x82a8
cmpl $0x43, %eax
jne 0x873f
movsd 0x42e4d(%rip), %xmm0    # 0x4b060
movss 0x42e01(%rip), %xmm1    # 0x4b01c
cmpb $0x41, 0x1(%r12)
je 0x82d0
cmpb $0x42, 0x1(%r12)
je 0x82d0
jmp 0x873f
cmpb $0x43, 0x1(%r12)
jne 0x8248
cmpb $0x42, 0x2(%r12)
je 0x82c0
cmpb $0x43, 0x1(%r12)
jne 0x873f
cmpb $0x52, 0x2(%r12)
jne 0x873f
movsd 0x42df8(%rip), %xmm0    # 0x4b060
movss 0x42dac(%rip), %xmm1    # 0x4b01c
jmp 0x82d0
cmpb $0x4c, 0x1(%r12)
jne 0x873f
cmpb $0x4c, 0x2(%r12)
je 0x82c0
jmp 0x873f
cmpb $0x59, 0x1(%r12)
jne 0x829b
cmpb $0x44, 0x2(%r12)
je 0x82c0
cmpb $0x42, 0x1(%r12)
je 0x82c0
jmp 0x873f
cmpb $0x49, 0x1(%r12)
jne 0x873f
cmpb $0x4e, 0x2(%r12)
jne 0x873f
movsd 0x42d90(%rip), %xmm0    # 0x4b058
movss 0x42d48(%rip), %xmm1    # 0x4b018
movss %xmm1, (%r14)
leaq 0x445ea(%rip), %rdi     # 0x4c8c6
movb $0x1, %al
callq 0x20f0
movq 0x140(%rsp), %rax
cmpl $0x0, (%rax)
je 0x8313
leaq 0x47585(%rip), %rdi     # 0x4f87c
callq 0x2090
movq 0x148(%rsp), %r10
cmpb $0x0, (%r10)
je 0x8327
leaq 0x4758f(%rip), %rdi     # 0x4f8a0
jmp 0x831a
leaq 0x47535(%rip), %rdi     # 0x4f84f
callq 0x2090
movq 0x148(%rsp), %r10
movq 0x168(%rsp), %rax
movl (%rax), %edx
movq 0x160(%rsp), %rax
movl (%rax), %ecx
movq 0x158(%rsp), %rax
movl (%rax), %r8d
movq 0x1b0(%rsp), %rax
movl (%rax), %r9d
subq $0x8, %rsp
leaq 0x44591(%rip), %rsi     # 0x4c8ed
movq %r15, %rdi
xorl %eax, %eax
pushq %r10
callq 0x2260
popq %rcx
popq %rdx
movq 0x1a0(%rsp), %rax
cvtss2sd (%rax), %xmm0
movq 0x1a8(%rsp), %rax
cvtss2sd (%rax), %xmm1
leaq 0x4459b(%rip), %rsi     # 0x4c924
leaq 0x40(%rsp), %rbx
movq %rbx, %rdi
movb $0x2, %al
callq 0x2260
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2240
movq 0x170(%rsp), %rax
movsd (%rax), %xmm0
movq 0x180(%rsp), %rax
movsd (%rax), %xmm1
movq 0x178(%rsp), %rax
movsd (%rax), %xmm2
movq 0x188(%rsp), %rax
movsd (%rax), %xmm3
movq 0x190(%rsp), %rax
movsd (%rax), %xmm4
movq 0x198(%rsp), %rax
movsd (%rax), %xmm5
leaq 0x4454c(%rip), %rsi     # 0x4c93e
movq %rbx, %rdi
movb $0x6, %al
callq 0x2260
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2240
leaq 0x44569(%rip), %rsi     # 0x4c977
movq %rbx, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq 0x2260
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2240
cmpb $0x53, (%r12)
jne 0x84a3
cmpb $0x43, 0x1(%r12)
jne 0x8463
cmpb $0x52, 0x2(%r12)
jne 0x8463
movq 0x1d0(%rsp), %rax
cvtss2sd (%rax), %xmm0
cvtss2sd (%r14), %xmm1
leaq 0x4452c(%rip), %rsi     # 0x4c981
leaq 0x40(%rsp), %rdi
movb $0x2, %al
callq 0x2260
jmp 0x84bb
cmpb $0x48, 0x1(%r12)
jne 0x84a3
cmpb $0x41, 0x2(%r12)
jne 0x84a3
movq 0x1c8(%rsp), %rax
movl (%rax), %edx
movq 0x1d0(%rsp), %rax
cvtss2sd (%rax), %xmm0
cvtss2sd (%r14), %xmm1
leaq 0x44505(%rip), %rsi     # 0x4c99a
leaq 0x40(%rsp), %rdi
movb $0x2, %al
callq 0x2260
jmp 0x84bb
cvtss2sd (%r14), %xmm0
leaq 0x44504(%rip), %rsi     # 0x4c9b3
leaq 0x40(%rsp), %rdi
movb $0x1, %al
callq 0x2260
leaq 0x40(%rsp), %rbx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2240
cvtss2sd 0x5bb99(%rip), %xmm0    # 0x6406c
leaq 0x444e3(%rip), %rsi     # 0x4c9bd
movq %rbx, %rdi
movb $0x1, %al
callq 0x2260
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2240
movq 0x230(%rsp), %rax
cmpl $0x0, (%rax)
je 0x8516
movups 0x444cf(%rip), %xmm0    # 0x4c9d2
movups %xmm0, 0x49(%rsp)
movups 0x444ba(%rip), %xmm0    # 0x4c9c9
movaps %xmm0, 0x40(%rsp)
jmp 0x8535
movq 0x228(%rsp), %rax
cvtss2sd (%rax), %xmm0
leaq 0x42eda(%rip), %rsi     # 0x4b403
leaq 0x40(%rsp), %rdi
movb $0x1, %al
callq 0x2260
leaq 0x40(%rsp), %rsi
movq %r15, %rdi
callq 0x2240
movq 0x59a87(%rip), %rax     # 0x61fd0
movq (%rax), %rdi
callq 0x21e0
xorl %eax, %eax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x43f0f(%rip), %rdi     # 0x4c47b
leaq 0xb0(%rsp), %r15
movq %r15, %rsi
xorl %eax, %eax
callq 0x20f0
movq %r15, %rdi
movq 0x28(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x30(%rsp), %rcx
movq 0x20(%rsp), %r8
movq 0x140(%rsp), %r9
pushq 0x318(%rsp)
pushq 0x318(%rsp)
pushq 0x318(%rsp)
pushq 0x318(%rsp)
pushq 0x318(%rsp)
pushq %rbx
pushq %rbp
pushq 0x318(%rsp)
pushq 0x318(%rsp)
pushq 0x318(%rsp)
pushq 0x318(%rsp)
pushq 0x318(%rsp)
pushq 0x318(%rsp)
pushq 0x318(%rsp)
pushq 0x318(%rsp)
pushq 0x318(%rsp)
pushq 0x318(%rsp)
pushq 0x318(%rsp)
pushq 0x318(%rsp)
pushq 0x310(%rsp)
pushq %r13
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq %r14
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq 0x310(%rsp)
pushq %r12
pushq 0x310(%rsp)
callq 0xa89b
addq $0x1d0, %rsp            # imm = 0x1D0
jmp 0x767a
callq 0xa75e
leaq 0x470a4(%rip), %rdi     # 0x4f7d9
callq 0x2090
callq 0xa75e
leaq 0x4415e(%rip), %rdi     # 0x4c8a4
movq %r12, %rsi
xorl %eax, %eax
callq 0x20f0
pushq $0x8
popq %rdi
callq 0x2270