// File: /workspace/github_c_makefile_star2_O1/ugobas[P]tnm/mutation.c
// Function: Optimize_coeff
float Optimize_coeff(float *C_size_opt, float *C_stab_opt, float *C_dist_opt,
		     float *MSD_mut, float *MSD_cross,
		     float *A_mut, float *A_nomut,float *A_cross,float *offset,
		     float *pred_mut_3, float *pred_mut_2,
		     float *pred_mut_tot_2, 
		     int Na, int *n_cont_mut, float *Force, float *Force_coeff,
		     float *pred_mut_Cart, int N_Cart, 
		     float *pred_mut_Tors, int N_axes,
		     char *AAwt, int *Posmut, char *AAmut, int Nmut,
		     int **clist, int **cnum, struct interaction *Int_list,
		     struct residue *seq, int Nres, atom *atoms, int *resatom,
		     struct Reference Ref_kin,
		     int *kin_atom, struct Normal_Mode NM, float *sigma2,
		     float **B3, float *B_pred,
		     float *str_diff_3, float *str_diff_2)
{
  float y_max=-1000; float DE=0;
  ini_fit=1;

  // Initialize parameters
  float C_size=*C_size_opt, C_stab=*C_stab_opt, C_dist=*C_dist_opt;

  printf("Optimizing mutation coefficients\n");
  int ifit=0, j, n_fail=0;
  for(int it=0; it<200; it++){
    float x[3], y[3], yy, *C_move, *C_move_opt;
    if(ifit==0){C_move=&C_size; C_move_opt=C_size_opt; ifit=1;}
    else{C_move=&C_dist; C_move_opt=C_dist_opt; ifit=0;}
    if(it==0){
      y_max=Pred_mut_str(C_size, C_stab, C_dist, &DE, MSD_mut, MSD_cross,
			 A_mut, A_nomut, A_cross, offset,
			 pred_mut_3, pred_mut_2, pred_mut_tot_2, Na,
			 n_cont_mut, Force, Force_coeff,
			 pred_mut_Cart, N_Cart, pred_mut_Tors, N_axes, 
			 AAwt,Posmut,AAmut,Nmut,clist,cnum,Int_list,seq,Nres,
			 atoms, resatom, Ref_kin, kin_atom, NM, sigma2,
			 B3, B_pred, str_diff_2, str_diff_3);
      printf("%d cc: %.4g Weights: %.3g %.3g %.3g\n",
	     -1,y_max,C_size/scale_C,C_stab/scale_C,C_dist/scale_C);
    }
    x[1]=*C_move; y[1]=y_max; int j_max=1;
    float x_min=0, x_max=x[1]*100;
    for(j=0; j<=2; j+=2){
      if(j==0){x[0]=x[1]*0.85;}
      else if(j==2){x[2]=x[1]*1.15;}
      *C_move=x[j];
      y[j]=Pred_mut_str(C_size, C_stab, C_dist, &DE, MSD_mut, MSD_cross,
			A_mut, A_nomut, A_cross, offset,
			pred_mut_3, pred_mut_2, pred_mut_tot_2, Na,
			n_cont_mut, Force, Force_coeff,
			pred_mut_Cart, N_Cart, pred_mut_Tors, N_axes, 
			AAwt,Posmut,AAmut,Nmut,clist,cnum,Int_list,seq,Nres,
			atoms, resatom, Ref_kin, kin_atom, NM, sigma2,
			B3, B_pred, str_diff_3, str_diff_2);
      if(y[j] > y_max){y_max=y[j]; j_max=j;}
    }
    // Determine new value of x and test its score
    *C_move=Find_max_quad(x[0], x[1], x[2], y[0], y[1], y[2], x_min, x_max);
    if(*C_move==x[j_max]){yy=y_max;}
    else{
      yy=Pred_mut_str(C_size, C_stab, C_dist, &DE, MSD_mut, MSD_cross, 
		      A_mut, A_nomut, A_cross, offset,
		      pred_mut_3, pred_mut_2, pred_mut_tot_2, Na,
		      n_cont_mut, Force, Force_coeff,
		      pred_mut_Cart, N_Cart, pred_mut_Tors, N_axes, 
		      AAwt,Posmut,AAmut,Nmut,clist,cnum,Int_list,seq,Nres,
		      atoms, resatom, Ref_kin, kin_atom, NM, sigma2,
		      B3, B_pred, str_diff_3, str_diff_2);
    }
    printf("%d cc: %.4g Weights: %.3g %.3g %.3g\n",
	   it,yy,C_size/scale_C,C_stab/scale_C,C_dist/scale_C);
    if(yy > y_max){
      n_fail=0; y_max=yy;
    }else if(j_max!=1){
      n_fail=0; *C_move=x[j_max];
    }else{
      // Score does not improve. If two consecutive failures, exit.
      n_fail++; *C_move=x[j_max];
    }
    *C_move_opt=*C_move;
    if(n_fail>=2){
      printf("%d consecutive decreases, exiting\n", n_fail); break;
    }
  } // end iterations
  // Recompute
  y_max=Pred_mut_str(*C_size_opt, *C_stab_opt, *C_dist_opt, &DE,
		     MSD_mut, MSD_cross,
		     A_mut, A_nomut, A_cross, offset,
		     pred_mut_3, pred_mut_2, pred_mut_tot_2, Na,
		     n_cont_mut, Force, Force_coeff,
		     pred_mut_Cart, N_Cart, pred_mut_Tors, N_axes, 
		     AAwt,Posmut,AAmut,Nmut,clist,cnum,Int_list,seq,Nres,
		     atoms, resatom, Ref_kin, kin_atom, NM, sigma2,
		     B3, B_pred, str_diff_3, str_diff_2);
  printf("mut_pred_score: %.4g  Weights: %.3g %.3g %.3g\n",
  	 y_max, *C_size_opt/scale_C, *C_stab_opt/scale_C, *C_dist_opt/scale_C);

  return(y_max);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x268, %rsp            # imm = 0x268
movq %r9, 0x218(%rsp)
movq %r8, %r13
movq %rcx, %rbp
leaq 0x368(%rsp), %rbx
leaq 0x208(%rsp), %rax
movl $0x0, (%rax)
movl $0x1, 0x2b492(%rip)     # 0x68f64
movq %rdi, 0x248(%rsp)
movss (%rdi), %xmm0
movss %xmm0, 0x1f0(%rsp)
movq %rsi, 0x258(%rsp)
movss (%rsi), %xmm0
movss %xmm0, 0x1fc(%rsp)
movq %rdx, 0x250(%rsp)
movss (%rdx), %xmm0
movss %xmm0, 0x1f4(%rsp)
leaq 0x1f0cf(%rip), %rdi     # 0x5cbe7
callq 0x2090
movss 0x1f4(%rsp), %xmm2
movss 0x1f0(%rsp), %xmm3
xorl %r15d, %r15d
movss 0x1bf7a(%rip), %xmm1    # 0x59ab4
xorl %r12d, %r12d
xorl %esi, %esi
movl %esi, 0x210(%rsp)
testl %r15d, %r15d
movq 0x250(%rsp), %rax
cmoveq 0x248(%rsp), %rax
movq %rax, 0x260(%rsp)
movaps %xmm1, %xmm4
testl %r12d, %r12d
jne 0x3de00
leaq 0xf0(%rsp), %rdi
movl $0x1a, %ecx
leaq 0x3a0(%rsp), %rsi
rep  movsq (%rsi), %es:(%rdi)
movups (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movups 0x20(%rbx), %xmm4
movups %xmm4, 0xd8(%rsp)
movups %xmm1, 0xc8(%rsp)
movups %xmm0, 0xb8(%rsp)
movq 0x488(%rsp), %rax
movq %rax, 0x1e0(%rsp)
movq 0x490(%rsp), %rax
movq %rax, 0x1d8(%rsp)
movq 0x480(%rsp), %rax
movq %rax, 0x1d0(%rsp)
movq 0x478(%rsp), %rax
movq %rax, 0x1c8(%rsp)
movq 0x470(%rsp), %rax
movq %rax, 0x1c0(%rsp)
movq 0x398(%rsp), %rax
movq %rax, 0xe8(%rsp)
movq 0x360(%rsp), %rax
movq %rax, 0xb0(%rsp)
movq 0x358(%rsp), %rax
movq %rax, 0xa8(%rsp)
movl 0x350(%rsp), %eax
movl %eax, 0xa0(%rsp)
movq 0x348(%rsp), %rax
movq %rax, 0x98(%rsp)
movq 0x340(%rsp), %rax
movq %rax, 0x90(%rsp)
movq 0x338(%rsp), %rax
movq %rax, 0x88(%rsp)
movq 0x330(%rsp), %rax
movq %rax, 0x80(%rsp)
movl 0x328(%rsp), %eax
movl %eax, 0x78(%rsp)
movq 0x320(%rsp), %rax
movq %rax, 0x70(%rsp)
movq 0x318(%rsp), %rax
movq %rax, 0x68(%rsp)
movq 0x310(%rsp), %rax
movq %rax, 0x60(%rsp)
movl 0x308(%rsp), %eax
movl %eax, 0x58(%rsp)
movq 0x300(%rsp), %rax
movq %rax, 0x50(%rsp)
movl 0x2f8(%rsp), %eax
movl %eax, 0x48(%rsp)
movq 0x2f0(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x2e8(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0x2e0(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x2d8(%rsp), %rax
movq %rax, 0x28(%rsp)
movl 0x2d0(%rsp), %eax
movl %eax, 0x20(%rsp)
movq 0x2c8(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x2c0(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x2b8(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x2b0(%rsp), %rax
movq %rax, (%rsp)
movaps %xmm3, %xmm0
movss 0x1fc(%rsp), %xmm1
leaq 0x208(%rsp), %rdi
movq %rbp, %rsi
movq %r13, %rdx
movq 0x218(%rsp), %rcx
movq 0x2a0(%rsp), %r8
movq 0x2a8(%rsp), %r9
movss %xmm3, 0x1f0(%rsp)
movss %xmm2, 0x1f4(%rsp)
callq 0x3e7ae
movss %xmm0, 0x1f8(%rsp)
cvtss2sd %xmm0, %xmm0
movss 0x3b800(%rip), %xmm3    # 0x7959c
movss 0x1f0(%rsp), %xmm1
divss %xmm3, %xmm1
cvtss2sd %xmm1, %xmm1
movss 0x1fc(%rsp), %xmm2
divss %xmm3, %xmm2
cvtss2sd %xmm2, %xmm2
movss 0x1f4(%rsp), %xmm4
divss %xmm3, %xmm4
xorps %xmm3, %xmm3
cvtss2sd %xmm4, %xmm3
leaq 0x1eb16(%rip), %rdi     # 0x5c8ef
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movb $0x4, %al
callq 0x20f0
movss 0x1f8(%rsp), %xmm4
movss 0x1f4(%rsp), %xmm2
movss 0x1f0(%rsp), %xmm3
movl %r12d, 0x238(%rsp)
movaps %xmm3, %xmm0
testl %r15d, %r15d
je 0x3de13
movaps %xmm2, %xmm0
movl %r15d, %eax
xorl $0x1, %eax
movl %eax, 0x230(%rsp)
movss %xmm0, 0x228(%rsp)
movss %xmm4, 0x240(%rsp)
movss %xmm0, 0x234(%rsp)
cvtss2sd %xmm0, %xmm0
movaps %xmm0, %xmm1
mulsd 0x1e18e(%rip), %xmm1    # 0x5bfd8
cvtsd2ss %xmm1, %xmm1
movss %xmm1, 0x204(%rsp)
mulsd 0x1e181(%rip), %xmm0    # 0x5bfe0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0x200(%rsp)
movl $0x1, %r14d
xorl %r12d, %r12d
movaps %xmm2, %xmm1
cmpl $0x2, %r12d
je 0x3de97
testl %r12d, %r12d
jne 0x3dea9
movss 0x200(%rsp), %xmm0
movss %xmm0, 0x224(%rsp)
jmp 0x3dea9
movss 0x204(%rsp), %xmm0
movss %xmm0, 0x22c(%rsp)
movss 0x224(%rsp,%r12,4), %xmm2
testl %r15d, %r15d
movss %xmm3, 0x20c(%rsp)
movss %xmm1, 0x214(%rsp)
movss %xmm4, 0x1f8(%rsp)
je 0x3ded8
movaps %xmm3, %xmm0
jmp 0x3dede
movaps %xmm2, %xmm0
movaps %xmm1, %xmm2
movss %xmm2, 0x1f4(%rsp)
movss %xmm0, 0x1f0(%rsp)
leaq 0xf0(%rsp), %rdi
movl $0x1a, %ecx
leaq 0x3a0(%rsp), %rsi
rep  movsq (%rsi), %es:(%rdi)
movups (%rbx), %xmm3
movups 0x10(%rbx), %xmm1
movups 0x20(%rbx), %xmm4
movups %xmm4, 0xd8(%rsp)
movups %xmm1, 0xc8(%rsp)
movups %xmm3, 0xb8(%rsp)
movq 0x490(%rsp), %rax
movq %rax, 0x1e0(%rsp)
movq 0x488(%rsp), %rax
movq %rax, 0x1d8(%rsp)
movq 0x480(%rsp), %rax
movq %rax, 0x1d0(%rsp)
movq 0x478(%rsp), %rax
movq %rax, 0x1c8(%rsp)
movq 0x470(%rsp), %rax
movq %rax, 0x1c0(%rsp)
movq 0x398(%rsp), %rax
movq %rax, 0xe8(%rsp)
movq 0x360(%rsp), %rax
movq %rax, 0xb0(%rsp)
movq 0x358(%rsp), %rax
movq %rax, 0xa8(%rsp)
movl 0x350(%rsp), %eax
movl %eax, 0xa0(%rsp)
movq 0x348(%rsp), %rax
movq %rax, 0x98(%rsp)
movq 0x340(%rsp), %rax
movq %rax, 0x90(%rsp)
movq 0x338(%rsp), %rax
movq %rax, 0x88(%rsp)
movq 0x330(%rsp), %rax
movq %rax, 0x80(%rsp)
movl 0x328(%rsp), %eax
movl %eax, 0x78(%rsp)
movq 0x320(%rsp), %rax
movq %rax, 0x70(%rsp)
movq 0x318(%rsp), %rax
movq %rax, 0x68(%rsp)
movq 0x310(%rsp), %rax
movq %rax, 0x60(%rsp)
movl 0x308(%rsp), %eax
movl %eax, 0x58(%rsp)
movq 0x300(%rsp), %rax
movq %rax, 0x50(%rsp)
movl 0x2f8(%rsp), %eax
movl %eax, 0x48(%rsp)
movq 0x2f0(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x2e8(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0x2e0(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x2d8(%rsp), %rax
movq %rax, 0x28(%rsp)
movl 0x2d0(%rsp), %eax
movl %eax, 0x20(%rsp)
movq 0x2c8(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x2c0(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x2b8(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x2b0(%rsp), %rax
movq %rax, (%rsp)
movss 0x1fc(%rsp), %xmm1
leaq 0x208(%rsp), %rdi
movq %rbp, %rsi
movq %r13, %rdx
movq 0x218(%rsp), %rcx
movq 0x2a0(%rsp), %r8
movq 0x2a8(%rsp), %r9
callq 0x3e7ae
movss 0x1f4(%rsp), %xmm2
movss 0x1f0(%rsp), %xmm3
movss 0x1f8(%rsp), %xmm1
ucomiss %xmm1, %xmm0
movss %xmm0, 0x23c(%rsp,%r12,4)
cmoval %r12d, %r14d
maxss %xmm1, %xmm0
addq $0x2, %r12
movaps %xmm0, %xmm4
cmpq $0x2, %r12
je 0x3de75
movss %xmm0, 0x1f8(%rsp)
movss 0x234(%rsp), %xmm1
movaps %xmm1, %xmm7
mulss 0x12ec2(%rip), %xmm7    # 0x51014
movss 0x224(%rsp), %xmm0
movss 0x22c(%rsp), %xmm2
movss 0x23c(%rsp), %xmm3
movss 0x240(%rsp), %xmm4
movss 0x244(%rsp), %xmm5
xorps %xmm6, %xmm6
callq 0x41150
movaps %xmm0, %xmm4
movss 0x214(%rsp), %xmm5
testl %r15d, %r15d
movl 0x238(%rsp), %r12d
je 0x3e1ac
movss 0x20c(%rsp), %xmm4
movaps %xmm0, %xmm5
movslq %r14d, %rax
movss 0x224(%rsp,%rax,4), %xmm1
movss %xmm1, 0x200(%rsp)
ucomiss %xmm1, %xmm0
movss 0x1f8(%rsp), %xmm0
movss %xmm4, 0x1f0(%rsp)
movss %xmm5, 0x1f4(%rsp)
jne 0x3e1e7
jnp 0x3e403
leaq 0xf0(%rsp), %rdi
movl $0x1a, %ecx
leaq 0x3a0(%rsp), %rsi
rep  movsq (%rsi), %es:(%rdi)
movups (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movups 0x20(%rbx), %xmm2
movups %xmm2, 0xd8(%rsp)
movups %xmm1, 0xc8(%rsp)
movups %xmm0, 0xb8(%rsp)
movq 0x490(%rsp), %rax
movq %rax, 0x1e0(%rsp)
movq 0x488(%rsp), %rax
movq %rax, 0x1d8(%rsp)
movq 0x480(%rsp), %rax
movq %rax, 0x1d0(%rsp)
movq 0x478(%rsp), %rax
movq %rax, 0x1c8(%rsp)
movq 0x470(%rsp), %rax
movq %rax, 0x1c0(%rsp)
movq 0x398(%rsp), %rax
movq %rax, 0xe8(%rsp)
movq 0x360(%rsp), %rax
movq %rax, 0xb0(%rsp)
movq 0x358(%rsp), %rax
movq %rax, 0xa8(%rsp)
movl 0x350(%rsp), %eax
movl %eax, 0xa0(%rsp)
movq 0x348(%rsp), %rax
movq %rax, 0x98(%rsp)
movq 0x340(%rsp), %rax
movq %rax, 0x90(%rsp)
movq 0x338(%rsp), %rax
movq %rax, 0x88(%rsp)
movq 0x330(%rsp), %rax
movq %rax, 0x80(%rsp)
movl 0x328(%rsp), %eax
movl %eax, 0x78(%rsp)
movq 0x320(%rsp), %rax
movq %rax, 0x70(%rsp)
movq 0x318(%rsp), %rax
movq %rax, 0x68(%rsp)
movq 0x310(%rsp), %rax
movq %rax, 0x60(%rsp)
movl 0x308(%rsp), %eax
movl %eax, 0x58(%rsp)
movq 0x300(%rsp), %rax
movq %rax, 0x50(%rsp)
movl 0x2f8(%rsp), %eax
movl %eax, 0x48(%rsp)
movq 0x2f0(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x2e8(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0x2e0(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x2d8(%rsp), %rax
movq %rax, 0x28(%rsp)
movl 0x2d0(%rsp), %eax
movl %eax, 0x20(%rsp)
movq 0x2c8(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x2c0(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x2b8(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x2b0(%rsp), %rax
movq %rax, (%rsp)
movaps %xmm4, %xmm0
movss 0x1fc(%rsp), %xmm1
movaps %xmm5, %xmm2
leaq 0x208(%rsp), %rdi
movq %rbp, %rsi
movq %r13, %rdx
movq 0x218(%rsp), %rcx
movq 0x2a0(%rsp), %r8
movq 0x2a8(%rsp), %r9
callq 0x3e7ae
movss 0x1f4(%rsp), %xmm5
movss 0x1f0(%rsp), %xmm4
movss %xmm0, 0x204(%rsp)
xorps %xmm0, %xmm0
cvtss2sd 0x204(%rsp), %xmm0
movss 0x3b17c(%rip), %xmm3    # 0x7959c
divss %xmm3, %xmm4
xorps %xmm1, %xmm1
cvtss2sd %xmm4, %xmm1
movss 0x1fc(%rsp), %xmm2
divss %xmm3, %xmm2
cvtss2sd %xmm2, %xmm2
divss %xmm3, %xmm5
xorps %xmm3, %xmm3
cvtss2sd %xmm5, %xmm3
leaq 0x1e4a1(%rip), %rdi     # 0x5c8ef
movl %r12d, %esi
movb $0x4, %al
callq 0x20f0
movss 0x204(%rsp), %xmm0
xorl %esi, %esi
movss 0x1f8(%rsp), %xmm1
ucomiss %xmm1, %xmm0
jbe 0x3e488
movaps %xmm0, %xmm1
movss 0x1f0(%rsp), %xmm3
movss 0x1f4(%rsp), %xmm2
jmp 0x3e4dc
cmpl $0x1, %r14d
movss 0x214(%rsp), %xmm0
jne 0x3e4bf
testl %r15d, %r15d
movss 0x20c(%rsp), %xmm3
movss 0x200(%rsp), %xmm2
jne 0x3e4b4
movaps %xmm2, %xmm3
movaps %xmm0, %xmm2
movl 0x210(%rsp), %esi
incl %esi
jmp 0x3e4dc
testl %r15d, %r15d
movss 0x20c(%rsp), %xmm3
movss 0x200(%rsp), %xmm2
jne 0x3e4dc
movaps %xmm2, %xmm3
movaps %xmm0, %xmm2
movaps %xmm3, %xmm0
testl %r15d, %r15d
je 0x3e4e7
movaps %xmm2, %xmm0
movq 0x260(%rsp), %rax
movss %xmm0, (%rax)
cmpl $0x2, %esi
jge 0x3e514
incl %r12d
movl 0x230(%rsp), %eax
movl %eax, %r15d
cmpl $0xc8, %r12d
jne 0x3db3f
jmp 0x3e522
leaq 0x1e3f9(%rip), %rdi     # 0x5c914
xorl %eax, %eax
callq 0x20f0
movq 0x248(%rsp), %r12
movss (%r12), %xmm0
movq 0x258(%rsp), %r15
movss (%r15), %xmm1
movq 0x250(%rsp), %r14
movss (%r14), %xmm2
movl $0x1a, %ecx
leaq 0xf0(%rsp), %rdi
leaq 0x3a0(%rsp), %rsi
rep  movsq (%rsi), %es:(%rdi)
movups (%rbx), %xmm3
movups 0x10(%rbx), %xmm4
movups 0x20(%rbx), %xmm5
movups %xmm5, 0xd8(%rsp)
movups %xmm4, 0xc8(%rsp)
movups %xmm3, 0xb8(%rsp)
movq 0x490(%rsp), %rax
movq %rax, 0x1e0(%rsp)
movq 0x488(%rsp), %rax
movq %rax, 0x1d8(%rsp)
movq 0x480(%rsp), %rax
movq %rax, 0x1d0(%rsp)
movq 0x478(%rsp), %rax
movq %rax, 0x1c8(%rsp)
movq 0x470(%rsp), %rax
movq %rax, 0x1c0(%rsp)
movq 0x398(%rsp), %rax
movq %rax, 0xe8(%rsp)
movq 0x360(%rsp), %rax
movq %rax, 0xb0(%rsp)
movq 0x358(%rsp), %rax
movq %rax, 0xa8(%rsp)
movl 0x350(%rsp), %eax
movl %eax, 0xa0(%rsp)
movq 0x348(%rsp), %rax
movq %rax, 0x98(%rsp)
movq 0x340(%rsp), %rax
movq %rax, 0x90(%rsp)
movq 0x338(%rsp), %rax
movq %rax, 0x88(%rsp)
movq 0x330(%rsp), %rax
movq %rax, 0x80(%rsp)
movl 0x328(%rsp), %eax
movl %eax, 0x78(%rsp)
movq 0x320(%rsp), %rax
movq %rax, 0x70(%rsp)
movq 0x318(%rsp), %rax
movq %rax, 0x68(%rsp)
movq 0x310(%rsp), %rax
movq %rax, 0x60(%rsp)
movl 0x308(%rsp), %eax
movl %eax, 0x58(%rsp)
movq 0x300(%rsp), %rax
movq %rax, 0x50(%rsp)
movl 0x2f8(%rsp), %eax
movl %eax, 0x48(%rsp)
movq 0x2f0(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x2e8(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0x2e0(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x2d8(%rsp), %rax
movq %rax, 0x28(%rsp)
movl 0x2d0(%rsp), %eax
movl %eax, 0x20(%rsp)
movq 0x2c8(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x2c0(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x2b8(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x2b0(%rsp), %rax
movq %rax, (%rsp)
leaq 0x208(%rsp), %rdi
movq 0x2a0(%rsp), %r8
movq 0x2a8(%rsp), %r9
movq %rbp, %rsi
movq %r13, %rdx
movq 0x218(%rsp), %rcx
callq 0x3e7ae
movss %xmm0, 0x1f0(%rsp)
cvtss2sd %xmm0, %xmm0
movss (%r12), %xmm1
movss 0x3ae3c(%rip), %xmm3    # 0x7959c
divss %xmm3, %xmm1
cvtss2sd %xmm1, %xmm1
movss (%r15), %xmm2
divss %xmm3, %xmm2
cvtss2sd %xmm2, %xmm2
movss (%r14), %xmm4
divss %xmm3, %xmm4
xorps %xmm3, %xmm3
cvtss2sd %xmm4, %xmm3
leaq 0x1e1ab(%rip), %rdi     # 0x5c937
movb $0x4, %al
callq 0x20f0
movss 0x1f0(%rsp), %xmm0
addq $0x268, %rsp            # imm = 0x268
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq