// File: /workspace/github_c_makefile_star2_O1/ugobas[P]tnm/simulation.c
// Function: Simulate_ensemble
int Simulate_ensemble(int N_struct, float factor, char *name,
		      struct Para_simul Para_simul, float Mass_sqrt,
		      atom *atoms, int natoms,
		      struct axe *axe, int naxes,
		      struct bond *bonds,
		      struct residue *seq, int nres,
		      int N_diso, struct Normal_Mode NM,
		      struct Jacobian J, struct Reference Ref,
		      struct interaction *Int_list, int N_int,
		      struct interaction **Int_KB,
		      char *INT_TYPE, float s0, char *nameout,
		      int anhar)
{
  float E_thr=factor*factor*log(4*N_struct);
  float RMSD_mod_thr=0.02;
  float RMSD_min_fact=0.1;
  float sigma_thr=Mass_sqrt*RMSD_mod_thr/factor;
  float c_thr=Mass_sqrt*RMSD_mod_thr;
  float gasdev(long *idum);

  float *sigma2; int i, k;
  if(anhar){sigma2=NM.sigma2_anhar;}
  else{sigma2=NM.sigma2;}
  float sigma[NM.N];
  for(k=0; k<NM.N; k++){
    if(sigma2[k]>0){sigma[k]=sqrt(sigma2[k]);}
    else{sigma[k]=0;}
  }
  double RMSD_all=0;
  for(k=0; k<NM.N; k++){
    if(sigma[k]<sigma_thr)break;
    RMSD_all+=sigma2[k];
  }
  RMSD_all=sqrt(RMSD_all)/Mass_sqrt;
  float RMSD_thr=factor*RMSD_all*RMSD_min_fact;

  idum=randomgenerator();
  int n3=3*natoms;
  float mass[natoms]; for(i=0; i<natoms; i++)mass[i]=Mass(atoms+i);
  float coord_all_1[n3], coord_all[n3];
  Write_all_coord_atom(coord_all_1, atoms, natoms);

  // Open files
  char name_pdb[100], name_out[200];
  sprintf(name_pdb, "%s_%s_ensemble.pdb", nameout, name);
  FILE *file_pdb=fopen(name_pdb, "w");
  sprintf(name_out, "%s_%s_ensemble.dat", nameout, name);
  FILE *file_out=fopen(name_out, "w");
  fprintf(file_out, "#struct rmsd energy modes accept\n");
  if(anhar){
    fprintf(file_out, "# Omega2 corrected for anharmonicity\n");
    fprintf(file_pdb, "REMARK Omega2 corrected for anharmonicity\n");
  }

  double d_phi[naxes]; for(i=0; i<naxes; i++)d_phi[i]=0;
  float Ene_anhar,
    Ene_anhar_ini=Energy_anharmonic(coord_all_1,atoms,natoms,
				    seq,nres,Int_list,N_int,Int_KB,20,
				    axe, naxes, d_phi);
  // Write initial PDB
  //fprintf(file_pdb, "MODEL 0  RMSD from PDB= 0.0\n");
  //Print_PDB(file_pdb, atoms, natoms, coord_all_1, seq, 0, 0.00);
  fprintf(file_out, "%d %.3f %.3g 0 1\n", 0, 0.0, 0.0);

  int nsel=0, ndisc=0, ndisc_max=50, nconf=1;
  struct bond *bonds2=Set_bonds_topology(natoms, atoms, seq);
  //struct ali_atoms ali_a; Copy_ali(&ali_a, Ref);
  while(nsel<N_struct){
    if(ndisc>=ndisc_max)break;
    Set_bonds_measure(bonds, natoms, atoms);
    int nmode=0;
    for(k=0; k<NM.N; k++){
      // Change the structure with each relevant normal mode
      if(sigma[k]<sigma_thr)break;
      float c = gasdev(&idum)*factor*sigma[k], *mode=NM.Tors[k];
      if(c<c_thr)continue;
      nmode++;
      for(i=0; i<naxes; i++){d_phi[i]=c*mode[i];}
      Copy_bonds(bonds2, bonds, natoms);
      Build_up(bonds2, natoms, d_phi, naxes);
      Put_coord(coord_all, bonds2, natoms);
      Ene_anhar=Energy_anharmonic(coord_all,atoms,natoms,
				  seq,nres,Int_list,N_int,Int_KB,20,
				  axe, naxes, d_phi);
      Ene_anhar-= Ene_anhar_ini;
      if(Ene_anhar<=E_thr)Copy_bonds(bonds, bonds2, natoms); // accept
    }
    Put_coord(coord_all, bonds, natoms);
    float rmsd=rmsd_mclachlan_f(coord_all_1, coord_all, mass, natoms);
    Ene_anhar=Energy_anharmonic(coord_all,atoms,natoms,
				seq,nres,Int_list,N_int,Int_KB,20,
				axe, naxes, d_phi);
    Ene_anhar-= Ene_anhar_ini;
    fprintf(file_out, "%d %.3f %.3g %d", nconf, rmsd, Ene_anhar, nmode);
    nconf++;
    if(Ene_anhar>E_thr || rmsd<RMSD_thr){
      ndisc++; fprintf(file_out, " 0\n"); continue;
    }
    nsel++; fprintf(file_out, " 1\n");
    Print_PDB(file_pdb, atoms, natoms, coord_all, seq, nsel, rmsd);
  }
  printf("Distances printed in %s\n", name_out); fclose(file_out);
  if(nsel)printf("%d simulated structures printed in %s\n", nsel, name_pdb);
  fclose(file_pdb);
  Set_bonds_measure(bonds, natoms, atoms);
  //if(Ini_ch==0){Empty_tors(Diff_s); free(ali_sim.alignres); Ini_ch=1;}
  if(ndisc>=ndisc_max){
    printf("WARNING, amplitude factor= %.1f", factor);
    printf(" only %d over %d structure printed in ensemble\n",nsel,N_struct);
    printf("Rejection ratio= %.1f\n", (float)nconf/nsel-1);
    return(-1);
  }
  return(nsel);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x218, %rsp            # imm = 0x218
movq %r9, -0x48(%rbp)
movq %r8, -0xc0(%rbp)
movl %ecx, %r15d
movq %rdx, -0x40(%rbp)
movss %xmm1, -0x2c(%rbp)
movq %rsi, %r12
movss %xmm0, -0x34(%rbp)
movq %rdi, -0x98(%rbp)
leal (,%rdi,4), %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
callq 0x2120
movsd %xmm0, -0x68(%rbp)
movss 0x27b53(%rip), %xmm0    # 0x5ade0
mulss -0x2c(%rbp), %xmm0
movss %xmm0, -0x7c(%rbp)
cmpl $0x0, 0x1e0(%rbp)
leaq 0x98(%rbp), %rax
leaq 0xf8(%rbp), %rcx
cmoveq %rax, %rcx
movq (%rcx), %rbx
movl -0x28(%rax), %ecx
movq %rsp, %rdx
leaq 0xf(,%rcx,4), %rax
andq $-0x10, %rax
subq %rax, %rdx
movq %rdx, -0xc8(%rbp)
movq %rdx, %rsp
movq %rcx, -0x78(%rbp)
testl %ecx, %ecx
jle 0x3331a
xorl %r14d, %r14d
xorps %xmm2, %xmm2
movss (%rbx,%r14,4), %xmm1
ucomiss %xmm2, %xmm1
xorps %xmm0, %xmm0
jbe 0x33304
jb 0x332f9
xorps %xmm0, %xmm0
sqrtss %xmm1, %xmm0
jmp 0x33304
movaps %xmm1, %xmm0
callq 0x21c0
xorps %xmm2, %xmm2
movq -0xc8(%rbp), %rax
movss %xmm0, (%rax,%r14,4)
incq %r14
cmpq %r14, -0x78(%rbp)
jne 0x332e0
movss -0x7c(%rbp), %xmm0
divss -0x34(%rbp), %xmm0
movss %xmm0, -0x80(%rbp)
xorps %xmm1, %xmm1
xorps %xmm0, %xmm0
cmpl $0x0, -0x78(%rbp)
jle 0x3335e
xorl %eax, %eax
movq -0xc8(%rbp), %rcx
movss -0x80(%rbp), %xmm2
ucomiss (%rcx,%rax,4), %xmm2
ja 0x3335e
xorps %xmm2, %xmm2
cvtss2sd (%rbx,%rax,4), %xmm2
addsd %xmm2, %xmm0
incq %rax
cmpq %rax, -0x78(%rbp)
jne 0x3333e
ucomisd %xmm1, %xmm0
jb 0x3336a
sqrtsd %xmm0, %xmm0
jmp 0x3336f
callq 0x2290
movsd %xmm0, -0x60(%rbp)
callq 0x32e47
movq %rax, 0x46190(%rip)     # 0x79510
leal (%r15,%r15,2), %ebx
movl %r15d, %edi
movq %rsp, %r13
leaq 0xf(,%rdi,4), %rax
andq $-0x10, %rax
subq %rax, %r13
movq %r13, %rsp
movq %r15, -0x58(%rbp)
testl %r15d, %r15d
movq %rdi, -0x90(%rbp)
jle 0x333d5
xorl %r15d, %r15d
movq -0x40(%rbp), %r14
movq %r14, %rdi
callq 0x25e79
movq -0x90(%rbp), %rdi
movss %xmm0, (%r13,%r15,4)
incq %r15
addq $0x70, %r14
cmpq %r15, %rdi
jne 0x333b3
movq 0x1d8(%rbp), %r14
movl %ebx, %eax
movq %rsp, %rcx
leaq 0xf(,%rax,4), %rax
andq $-0x10, %rax
subq %rax, %rcx
movq %rcx, -0xa0(%rbp)
movq %rcx, %rsp
movq %rsp, %rcx
subq %rax, %rcx
movq %rcx, -0x70(%rbp)
movq %rcx, %rsp
movq -0x58(%rbp), %r15
testl %r15d, %r15d
jle 0x33444
xorl %eax, %eax
movq -0x40(%rbp), %rcx
movq -0xa0(%rbp), %rdx
xorl %esi, %esi
xorps %xmm0, %xmm0
cvtsd2ss (%rcx,%rsi,2), %xmm0
movss %xmm0, (%rdx,%rsi)
addq $0x4, %rsi
cmpl $0xc, %esi
jne 0x3341f
incq %rax
addq $0x70, %rcx
addq %rsi, %rdx
cmpq %rdi, %rax
jne 0x3341d
movq %r13, -0xf8(%rbp)
leaq 0x27b0a(%rip), %rsi     # 0x5af5c
leaq -0x170(%rbp), %rbx
movq %rbx, %rdi
movq %r14, %rdx
movq %r12, %rcx
xorl %eax, %eax
callq 0x2260
leaq 0x23dd0(%rip), %r13     # 0x57240
movq %rbx, %rdi
movq %r13, %rsi
callq 0x2210
movq %r12, %rcx
movq %rax, %r12
leaq 0x27ae7(%rip), %rsi     # 0x5af6f
leaq -0x240(%rbp), %rbx
movq %rbx, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x2260
movq %rbx, %rdi
movq %r13, %rsi
callq 0x2210
movq %rax, %rbx
leaq 0x27ad1(%rip), %rdi     # 0x5af82
movl $0x21, %esi
movl $0x1, %edx
movq %rax, %rcx
callq 0x2280
cmpl $0x0, 0x1e0(%rbp)
je 0x334fe
leaq 0x27ad1(%rip), %rdi     # 0x5afa4
movl $0x25, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x2280
leaq 0x27ade(%rip), %rdi     # 0x5afca
movl $0x2a, %esi
movl $0x1, %edx
movq %r12, %rcx
callq 0x2280
movq %rbx, -0xa8(%rbp)
movq %r12, -0xe0(%rbp)
movq -0x48(%rbp), %rcx
movl %ecx, %ebx
movq %rsp, %r14
leaq 0xf(,%rbx,8), %rax
andq $-0x10, %rax
subq %rax, %r14
movq %r14, %rsp
testl %ecx, %ecx
jle 0x3353d
leaq (,%rbx,8), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x2110
movq %rbx, -0x108(%rbp)
xorps %xmm0, %xmm0
cvtss2sd -0x34(%rbp), %xmm0
movsd %xmm0, -0xd8(%rbp)
movq 0x50(%rbp), %r13
movq -0xa0(%rbp), %rdi
movq -0x40(%rbp), %rbx
movq %rbx, %rsi
movl %r15d, %edx
movq 0x58(%rbp), %r12
movq %r12, %rcx
movl 0x60(%rbp), %r8d
movq 0x1b8(%rbp), %r9
pushq %r14
pushq -0x48(%rbp)
pushq -0xc0(%rbp)
pushq $0x14
pushq 0x1c8(%rbp)
movl 0x1c0(%rbp), %eax
pushq %rax
callq 0x1b4ee
addq $0x30, %rsp
movsd %xmm0, -0x88(%rbp)
leaq 0x27a48(%rip), %rsi     # 0x5aff5
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
movq -0xa8(%rbp), %rdi
xorl %edx, %edx
movb $0x2, %al
callq 0x2190
movl %r15d, %edi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x15a58
cmpl $0x0, -0x98(%rbp)
jle 0x33aab
movq %rax, %rbx
xorps %xmm0, %xmm0
cvtss2sd -0x2c(%rbp), %xmm0
movsd -0x60(%rbp), %xmm2
divsd %xmm0, %xmm2
movss -0x34(%rbp), %xmm0
mulss %xmm0, %xmm0
cvtss2sd %xmm0, %xmm0
mulsd -0xd8(%rbp), %xmm2
movsd -0x68(%rbp), %xmm1
mulsd %xmm0, %xmm1
mulsd 0x266b0(%rip), %xmm2    # 0x59cc8
xorps %xmm0, %xmm0
cvtsd2ss %xmm1, %xmm0
movss %xmm0, -0x60(%rbp)
xorps %xmm0, %xmm0
cvtsd2ss %xmm2, %xmm0
movss %xmm0, -0xcc(%rbp)
xorps %xmm0, %xmm0
cvtsd2ss -0x88(%rbp), %xmm0
movss %xmm0, -0x88(%rbp)
addq $0x8, %rax
movq %rax, -0x100(%rbp)
leaq 0x8(%r13), %rax
movq %rax, -0xf0(%rbp)
xorl %eax, %eax
movl $0x1, -0x4c(%rbp)
movl $0x0, -0x30(%rbp)
movq %r14, -0xb8(%rbp)
movq %rax, -0xe8(%rbp)
movq %r13, %rdi
movl %r15d, %esi
movq -0x40(%rbp), %rdx
callq 0x1512b
movl $0x0, -0x68(%rbp)
cmpl $0x0, -0x78(%rbp)
movq -0x90(%rbp), %rdi
jle 0x338ef
leaq 0x70(%rbp), %rax
movq 0x40(%rax), %rax
movq %rax, -0xb0(%rbp)
xorl %r12d, %r12d
movl $0x0, -0x68(%rbp)
movq -0xc8(%rbp), %rax
movss (%rax,%r12,4), %xmm1
movss -0x80(%rbp), %xmm0
ucomiss %xmm1, %xmm0
ja 0x338ef
leaq 0x45e34(%rip), %rdi     # 0x79510
movss %xmm1, -0x2c(%rbp)
callq 0x502bc
movss -0x2c(%rbp), %xmm1
mulss -0x34(%rbp), %xmm0
mulss %xmm0, %xmm1
movss -0x7c(%rbp), %xmm0
ucomiss %xmm1, %xmm0
ja 0x338db
cmpl $0x0, -0x48(%rbp)
movq -0x108(%rbp), %rdx
jle 0x33737
movq -0xb0(%rbp), %rax
movq (%rax,%r12,8), %rax
xorl %ecx, %ecx
movss (%rax,%rcx,4), %xmm0
mulss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, (%r14,%rcx,8)
incq %rcx
cmpq %rcx, %rdx
jne 0x3371c
movq $0x0, 0x28(%rbx)
testl %r15d, %r15d
jle 0x3380a
xorl %r15d, %r15d
xorl %r14d, %r14d
leaq (%r15,%r13), %rsi
leaq (%rbx,%r15), %rdi
movl $0xc0, %edx
callq 0x21a0
testl %r14d, %r14d
je 0x33789
movq 0x28(%r13,%r15), %rax
subq %r13, %rax
shrq $0x6, %rax
imull $0xaaaaaaab, %eax, %eax # imm = 0xAAAAAAAB
cltq
leaq (%rax,%rax,2), %rax
shlq $0x6, %rax
addq %rbx, %rax
movq %rax, 0x28(%rbx,%r15)
incl %r14d
addq $0xc0, %r15
cmpl %r14d, -0x58(%rbp)
jne 0x3374e
movq %rbx, %rdi
movq -0x58(%rbp), %r15
movl %r15d, %esi
movq -0xb8(%rbp), %r14
movq %r14, %rdx
movq -0x48(%rbp), %rcx
callq 0x154bb
testl %r15d, %r15d
movq -0x90(%rbp), %rdi
jle 0x3381c
movq -0x100(%rbp), %rax
xorl %ecx, %ecx
movq -0x70(%rbp), %rdx
leaq (%rcx,%rcx,2), %rsi
shlq $0x6, %rsi
cmpl $0x0, 0x20(%rbx,%rsi)
js 0x3381c
xorl %esi, %esi
xorps %xmm0, %xmm0
cvtsd2ss (%rax,%rsi,2), %xmm0
movss %xmm0, (%rdx,%rsi)
addq $0x4, %rsi
cmpq $0xc, %rsi
jne 0x337e0
incq %rcx
addq $0xc0, %rax
addq %rsi, %rdx
cmpq %rdi, %rcx
jne 0x337cf
jmp 0x3381c
movq %rbx, %rdi
movl %r15d, %esi
movq %r14, %rdx
movq -0x48(%rbp), %rcx
callq 0x154bb
incl -0x68(%rbp)
movq -0x70(%rbp), %rdi
movq -0x40(%rbp), %rsi
movl %r15d, %edx
movq 0x58(%rbp), %rcx
movl 0x60(%rbp), %r8d
movq 0x1b8(%rbp), %r9
pushq %r14
pushq -0x48(%rbp)
pushq -0xc0(%rbp)
pushq $0x14
pushq 0x1c8(%rbp)
movl 0x1c0(%rbp), %eax
pushq %rax
callq 0x1b4ee
addq $0x30, %rsp
cvtsd2ss %xmm0, %xmm0
subss -0x88(%rbp), %xmm0
movss -0x60(%rbp), %xmm1
ucomiss %xmm0, %xmm1
jb 0x338db
movq $0x0, 0x28(%r13)
testl %r15d, %r15d
jle 0x338db
xorl %r15d, %r15d
xorl %r14d, %r14d
leaq (%rbx,%r15), %rsi
leaq (%r15,%r13), %rdi
movl $0xc0, %edx
callq 0x21a0
testl %r14d, %r14d
je 0x338c0
movq 0x28(%rbx,%r15), %rax
subq %rbx, %rax
shrq $0x6, %rax
imull $0xaaaaaaab, %eax, %eax # imm = 0xAAAAAAAB
cltq
leaq (%rax,%rax,2), %rax
shlq $0x6, %rax
addq %r13, %rax
movq %rax, 0x28(%r13,%r15)
incl %r14d
addq $0xc0, %r15
cmpl %r14d, -0x58(%rbp)
jne 0x33885
movq -0x58(%rbp), %r15
movq -0xb8(%rbp), %r14
incq %r12
cmpq -0x78(%rbp), %r12
movq -0x90(%rbp), %rdi
jne 0x336ba
testl %r15d, %r15d
jle 0x3393b
movq -0xf0(%rbp), %rax
xorl %ecx, %ecx
movq -0x70(%rbp), %rdx
leaq (%rcx,%rcx,2), %rsi
shlq $0x6, %rsi
cmpl $0x0, 0x20(%r13,%rsi)
js 0x3393b
xorl %esi, %esi
xorps %xmm0, %xmm0
cvtsd2ss (%rax,%rsi,2), %xmm0
movss %xmm0, (%rdx,%rsi)
addq $0x4, %rsi
cmpq $0xc, %rsi
jne 0x33913
incq %rcx
addq $0xc0, %rax
addq %rsi, %rdx
cmpq %rdi, %rcx
jne 0x33901
movq -0xa0(%rbp), %rdi
movq -0x70(%rbp), %r12
movq %r12, %rsi
movq -0xf8(%rbp), %rdx
movl %r15d, %ecx
callq 0x4e010
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -0x2c(%rbp)
movq %r12, %rdi
movq -0x40(%rbp), %rsi
movl %r15d, %edx
movq 0x58(%rbp), %rcx
movl 0x60(%rbp), %r8d
movq 0x1b8(%rbp), %r9
pushq %r14
pushq -0x48(%rbp)
pushq -0xc0(%rbp)
pushq $0x14
pushq 0x1c8(%rbp)
movl 0x1c0(%rbp), %eax
pushq %rax
callq 0x1b4ee
addq $0x30, %rsp
xorps %xmm1, %xmm1
cvtsd2ss %xmm0, %xmm1
subss -0x88(%rbp), %xmm1
movss %xmm1, -0xb0(%rbp)
xorps %xmm0, %xmm0
cvtss2sd -0x2c(%rbp), %xmm0
cvtss2sd %xmm1, %xmm1
movq -0xa8(%rbp), %r12
movq %r12, %rdi
leaq 0x27636(%rip), %rsi     # 0x5b007
movl -0x4c(%rbp), %edx
movl -0x68(%rbp), %ecx
movb $0x2, %al
callq 0x2190
movss -0xb0(%rbp), %xmm0
ucomiss -0x60(%rbp), %xmm0
ja 0x33a46
movss -0xcc(%rbp), %xmm0
ucomiss -0x2c(%rbp), %xmm0
ja 0x33a46
movl -0x30(%rbp), %r14d
incl %r14d
movl $0x3, %esi
movl $0x1, %edx
leaq 0x275f1(%rip), %rdi     # 0x5b003
movq %r12, %rcx
callq 0x2280
movq -0xe0(%rbp), %rdi
movq -0x40(%rbp), %rsi
movl %r15d, %edx
movq -0x70(%rbp), %rcx
movq 0x58(%rbp), %r8
movl %r14d, %r9d
movss -0x2c(%rbp), %xmm0
callq 0x32c92
movq -0xe8(%rbp), %r15
jmp 0x33a6d
movq -0xe8(%rbp), %r15
incl %r15d
movl $0x3, %esi
movl $0x1, %edx
leaq 0x275b6(%rip), %rdi     # 0x5b017
movq %r12, %rcx
callq 0x2280
movl -0x30(%rbp), %r14d
incl -0x4c(%rbp)
cmpl $0x32, %r15d
setge %r12b
movl %r14d, -0x30(%rbp)
cmpl -0x98(%rbp), %r14d
movq -0xb8(%rbp), %r14
movq %r15, %rax
movq -0x58(%rbp), %r15
jge 0x33a9c
cmpl $0x32, %eax
jl 0x33673
xorps %xmm0, %xmm0
cvtsi2ssl -0x4c(%rbp), %xmm0
movss %xmm0, -0x2c(%rbp)
jmp 0x33ac2
movl $0x0, -0x30(%rbp)
movss 0x1d556(%rip), %xmm0    # 0x51010
movss %xmm0, -0x2c(%rbp)
xorl %r12d, %r12d
leaq 0x27552(%rip), %rdi     # 0x5b01b
leaq -0x240(%rbp), %rsi
xorl %eax, %eax
callq 0x20f0
movq -0xa8(%rbp), %rdi
callq 0x20c0
movl -0x30(%rbp), %r14d
testl %r14d, %r14d
movq -0xe0(%rbp), %rbx
je 0x33b0b
leaq 0x2753a(%rip), %rdi     # 0x5b034
leaq -0x170(%rbp), %rdx
movl %r14d, %esi
xorl %eax, %eax
callq 0x20f0
movq %rbx, %rdi
callq 0x20c0
movq %r13, %rdi
movl %r15d, %esi
movq -0x40(%rbp), %rdx
callq 0x1512b
testb %r12b, %r12b
je 0x33b89
leaq 0x2752d(%rip), %rdi     # 0x5b05b
movsd -0xd8(%rbp), %xmm0
movb $0x1, %al
callq 0x20f0
leaq 0x27537(%rip), %rdi     # 0x5b07b
movl %r14d, %esi
movq -0x98(%rbp), %rdx
xorl %eax, %eax
callq 0x20f0
xorps %xmm0, %xmm0
cvtsi2ss %r14d, %xmm0
movss -0x2c(%rbp), %xmm1
divss %xmm0, %xmm1
addss 0x1d496(%rip), %xmm1    # 0x51004
xorps %xmm0, %xmm0
cvtss2sd %xmm1, %xmm0
leaq 0x2752f(%rip), %rdi     # 0x5b0ab
movb $0x1, %al
callq 0x20f0
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
movl %r14d, %eax
leaq -0x28(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq