// File: /workspace/github_c_makefile_star2_O2/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), %r15
movl $0x1, 0x2b5aa(%rip)     # 0x63f64
movq %rdi, 0x240(%rsp)
movss (%rdi), %xmm0
movss %xmm0, 0x1f8(%rsp)
movq %rsi, 0x258(%rsp)
movss (%rsi), %xmm0
movss %xmm0, 0x208(%rsp)
movq %rdx, 0x248(%rsp)
movss (%rdx), %xmm0
movss %xmm0, 0x1f4(%rsp)
leaq 0x1e10f(%rip), %rdi     # 0x56b0f
callq 0x2090
movss 0x1f8(%rsp), %xmm0
movss 0x1afa2(%rip), %xmm2    # 0x539b8
xorl %ebx, %ebx
xorl %r12d, %r12d
xorl %r14d, %r14d
cmpl $0xc8, %r12d
je 0x39410
testl %r14d, %r14d
movq 0x248(%rsp), %rax
cmoveq 0x240(%rsp), %rax
movq %rax, 0x250(%rsp)
testl %r12d, %r12d
movss %xmm0, 0x1f8(%rsp)
jne 0x38cd2
leaq 0xf0(%rsp), %rdi
pushq $0x1a
popq %rcx
leaq 0x3a0(%rsp), %rsi
rep  movsq (%rsi), %es:(%rdi)
movups (%r15), %xmm3
movups 0x10(%r15), %xmm1
movups 0x20(%r15), %xmm2
movups %xmm2, 0xd8(%rsp)
movups %xmm1, 0xc8(%rsp)
movups %xmm3, 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)
movss 0x208(%rsp), %xmm1
movss 0x1f4(%rsp), %xmm2
leaq 0x210(%rsp), %rdi
movq %rbp, %rsi
movq %r13, %rdx
movq 0x218(%rsp), %rcx
movq 0x2a0(%rsp), %r8
movq 0x2a8(%rsp), %r9
callq 0x39698
movss %xmm0, 0x200(%rsp)
cvtss2sd %xmm0, %xmm0
movss 0x3b920(%rip), %xmm3    # 0x7459c
movss 0x1f8(%rsp), %xmm1
divss %xmm3, %xmm1
cvtss2sd %xmm1, %xmm1
movss 0x208(%rsp), %xmm2
divss %xmm3, %xmm2
cvtss2sd %xmm2, %xmm2
movss 0x1f4(%rsp), %xmm4
divss %xmm3, %xmm4
cvtss2sd %xmm4, %xmm3
leaq 0x1db61(%rip), %rdi     # 0x56817
pushq $-0x1
popq %rsi
movb $0x4, %al
callq 0x20f0
movss 0x200(%rsp), %xmm2
movss 0x1f8(%rsp), %xmm0
movq %rbx, 0x260(%rsp)
movl %r12d, 0x224(%rsp)
testl %r14d, %r14d
je 0x38cf0
movss 0x1f4(%rsp), %xmm0
movl %r14d, %eax
xorl $0x1, %eax
movl %eax, 0x220(%rsp)
movss %xmm0, 0x22c(%rsp)
movss %xmm2, 0x238(%rsp)
movss %xmm0, 0x20c(%rsp)
cvtss2sd %xmm0, %xmm0
movaps %xmm0, %xmm1
mulsd 0x1d1d1(%rip), %xmm1    # 0x55ef8
cvtsd2ss %xmm1, %xmm1
movss %xmm1, 0x204(%rsp)
mulsd 0x1d1c4(%rip), %xmm0    # 0x55f00
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0x1fc(%rsp)
xorl %r12d, %r12d
pushq $0x1
popq %rbx
cmpq $0x2, %r12
movss %xmm2, 0x200(%rsp)
ja 0x39003
cmpl $0x2, %r12d
je 0x38d8a
testl %r12d, %r12d
movss 0x1f8(%rsp), %xmm0
jne 0x38da5
movss 0x1fc(%rsp), %xmm1
movss %xmm1, 0x228(%rsp)
jmp 0x38da5
movss 0x204(%rsp), %xmm0
movss %xmm0, 0x230(%rsp)
movss 0x1f8(%rsp), %xmm0
movss 0x228(%rsp,%r12,4), %xmm2
testl %r14d, %r14d
je 0x38dbf
movss %xmm2, 0x1f4(%rsp)
jmp 0x38dcb
movaps %xmm2, %xmm0
movss 0x1f4(%rsp), %xmm2
leaq 0xf0(%rsp), %rdi
pushq $0x1a
popq %rcx
leaq 0x3a0(%rsp), %rsi
rep  movsq (%rsi), %es:(%rdi)
movups (%r15), %xmm4
movups 0x10(%r15), %xmm1
movups 0x20(%r15), %xmm3
movups %xmm3, 0xd8(%rsp)
movups %xmm1, 0xc8(%rsp)
movups %xmm4, 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 %xmm0, 0x1f8(%rsp)
movss 0x208(%rsp), %xmm1
leaq 0x210(%rsp), %rdi
movq %rbp, %rsi
movq %r13, %rdx
movq 0x218(%rsp), %rcx
movq 0x2a0(%rsp), %r8
movq 0x2a8(%rsp), %r9
callq 0x39698
movss 0x200(%rsp), %xmm1
ucomiss %xmm1, %xmm0
cmoval %r12d, %ebx
movss %xmm0, 0x234(%rsp,%r12,4)
maxss %xmm1, %xmm0
addq $0x2, %r12
movaps %xmm0, %xmm2
jmp 0x38d4f
movss 0x20c(%rsp), %xmm1
movaps %xmm1, %xmm7
mulss 0x11ffd(%rip), %xmm7    # 0x4b014
movss 0x230(%rsp), %xmm2
movss 0x234(%rsp), %xmm3
movss 0x238(%rsp), %xmm4
movss 0x23c(%rsp), %xmm5
xorps %xmm6, %xmm6
movss 0x1fc(%rsp), %xmm0
callq 0x3bda0
movaps %xmm0, %xmm4
movss 0x1f4(%rsp), %xmm5
testl %r14d, %r14d
je 0x39069
movss 0x1f8(%rsp), %xmm4
movaps %xmm0, %xmm5
movslq %ebx, %rax
movss 0x228(%rsp,%rax,4), %xmm1
movss %xmm1, 0x214(%rsp)
ucomiss %xmm1, %xmm0
movss 0x200(%rsp), %xmm0
movl 0x224(%rsp), %r12d
movss %xmm5, 0x204(%rsp)
movss %xmm4, 0x1fc(%rsp)
jne 0x390ac
jnp 0x392c9
leaq 0xf0(%rsp), %rdi
pushq $0x1a
popq %rcx
leaq 0x3a0(%rsp), %rsi
rep  movsq (%rsi), %es:(%rdi)
movups (%r15), %xmm0
movups 0x10(%r15), %xmm1
movups 0x20(%r15), %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 0x208(%rsp), %xmm1
movaps %xmm5, %xmm2
leaq 0x210(%rsp), %rdi
movq %rbp, %rsi
movq %r13, %rdx
movq 0x218(%rsp), %rcx
movq 0x2a0(%rsp), %r8
movq 0x2a8(%rsp), %r9
callq 0x39698
movss 0x204(%rsp), %xmm5
movss 0x1fc(%rsp), %xmm4
movss %xmm0, 0x20c(%rsp)
cvtss2sd %xmm0, %xmm0
movss 0x3b2be(%rip), %xmm3    # 0x7459c
divss %xmm3, %xmm4
cvtss2sd %xmm4, %xmm1
movss 0x208(%rsp), %xmm2
divss %xmm3, %xmm2
cvtss2sd %xmm2, %xmm2
divss %xmm3, %xmm5
cvtss2sd %xmm5, %xmm3
leaq 0x1d511(%rip), %rdi     # 0x56817
movl %r12d, %esi
movb $0x4, %al
callq 0x20f0
movss 0x20c(%rsp), %xmm3
movss 0x200(%rsp), %xmm2
ucomiss %xmm2, %xmm3
ja 0x393b6
cmpl $0x1, %ebx
movss 0x1f8(%rsp), %xmm0
jne 0x39376
movss 0x214(%rsp), %xmm3
movaps %xmm3, %xmm1
testl %r14d, %r14d
je 0x39356
movaps %xmm0, %xmm1
movss %xmm3, 0x1f4(%rsp)
movq 0x260(%rsp), %rax
leal 0x1(%rax), %esi
movq 0x250(%rsp), %rcx
movss %xmm3, (%rcx)
testl %eax, %eax
jle 0x393ed
jmp 0x39402
testl %r14d, %r14d
movss 0x214(%rsp), %xmm1
je 0x39398
movss %xmm0, 0x1fc(%rsp)
movss %xmm1, 0x204(%rsp)
jmp 0x393b3
movss %xmm1, 0x1fc(%rsp)
movss 0x1f4(%rsp), %xmm0
movss %xmm0, 0x204(%rsp)
movaps %xmm2, %xmm3
movss 0x1fc(%rsp), %xmm1
movaps %xmm1, %xmm0
testl %r14d, %r14d
movss 0x204(%rsp), %xmm2
je 0x393d3
movaps %xmm2, %xmm0
movq 0x250(%rsp), %rax
movss %xmm0, (%rax)
xorl %esi, %esi
movss %xmm2, 0x1f4(%rsp)
movaps %xmm3, %xmm2
incl %r12d
movaps %xmm1, %xmm0
movl %esi, %ebx
movl 0x220(%rsp), %r14d
jmp 0x38a1e
leaq 0x1d433(%rip), %rdi     # 0x5683c
xorl %eax, %eax
callq 0x20f0
movq 0x240(%rsp), %r12
movss (%r12), %xmm0
movq 0x258(%rsp), %r14
movss (%r14), %xmm1
movq 0x248(%rsp), %rbx
movss (%rbx), %xmm2
leaq 0xf0(%rsp), %rdi
pushq $0x1a
popq %rcx
leaq 0x3a0(%rsp), %rsi
rep  movsq (%rsi), %es:(%rdi)
movups (%r15), %xmm3
movups 0x10(%r15), %xmm4
movups 0x20(%r15), %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 0x210(%rsp), %rdi
movq 0x2a0(%rsp), %r8
movq 0x2a8(%rsp), %r9
movq %rbp, %rsi
movq %r13, %rdx
movq 0x218(%rsp), %rcx
callq 0x39698
movss %xmm0, 0x200(%rsp)
cvtss2sd %xmm0, %xmm0
movss (%r12), %xmm1
movss 0x3af4e(%rip), %xmm3    # 0x7459c
divss %xmm3, %xmm1
cvtss2sd %xmm1, %xmm1
movss (%r14), %xmm2
divss %xmm3, %xmm2
cvtss2sd %xmm2, %xmm2
movss (%rbx), %xmm4
divss %xmm3, %xmm4
cvtss2sd %xmm4, %xmm3
leaq 0x1d1e9(%rip), %rdi     # 0x5685f
movb $0x4, %al
callq 0x20f0
movss 0x200(%rsp), %xmm0
addq $0x268, %rsp            # imm = 0x268
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq