LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/main_tnm.c
// Function: Get_modes_Cart
void Get_modes_Cart(struct Normal_Mode NM, int N_modes,
		    double **Hessian, struct Jacobian J,
		    struct axe *axe1, int naxe1, struct Reference Ref_kin)
{
  float t0=clock();
  d_Diagonalize(N_modes, Hessian, NM.omega2, NM.Cart, -1);
  printf("Hessian diagonalization. Time= %.2lf sec.\n", (clock()-t0)/nbtops);
  t0=clock();
    
  //  Convert normal modes
  struct Tors D_NM;
  D_NM.N_axes=naxe1;
  D_NM.N_Cart=NM.N_Cart;
  D_NM.coeff=malloc(1*sizeof(float));
  for(int ia=0; ia<NM.N; ia++){
    // Normalize_vector_weighted(NM.Cart[ia], Ref_kin.mass_coord, N_modes);
    D_NM.Cart=NM.Cart[ia];
    D_NM.Tors=NM.Tors[ia];
    D_NM.MW_Tors=NM.MW_Tors[ia];
    Convert_cart2torsion(&D_NM, Ref_kin, &J);
    NM.Tors_frac[ia]=Tors_fraction(&D_NM, Ref_kin.mass_coord);
  }
  printf("Torsional and Cartesian modes. Time= %.2lf sec.\n",
	 (clock()-t0)/nbtops);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
leaq 0x128(%rbp), %rax
movq %rax, -0x80(%rbp)
leaq 0xe0(%rbp), %rax
movq %rax, -0x78(%rbp)
leaq 0x10(%rbp), %rax
movq %rax, -0x70(%rbp)
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
callq 0x1090
movq %rax, %rcx
movq -0x70(%rbp), %rax
cvtsi2ss %rcx, %xmm0
movss %xmm0, -0x20(%rbp)
movl -0x4(%rbp), %edi
movq -0x10(%rbp), %rsi
movq 0x20(%rax), %rdx
movq 0x38(%rax), %rcx
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
callq 0x6ac30
callq 0x1090
cvtsi2ss %rax, %xmm0
subss -0x20(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
divsd 0x8015e(%rip), %xmm0    # 0x8b5a0
leaq 0x6f583(%rip), %rdi     # 0x7a9cc
movb $0x1, %al
callq 0x10d0
callq 0x1090
movq %rax, %rcx
movq -0x70(%rbp), %rax
cvtsi2ss %rcx, %xmm0
movss %xmm0, -0x20(%rbp)
movl -0x1c(%rbp), %ecx
movl %ecx, -0x60(%rbp)
movl 0xc(%rax), %eax
movl %eax, -0x5c(%rbp)
movl $0x4, %edi
callq 0x1180
movq %rax, -0x40(%rbp)
movl $0x0, -0x64(%rbp)
movq -0x70(%rbp), %rcx
movl -0x64(%rbp), %eax
cmpl (%rcx), %eax
jge 0xb524
movq -0x70(%rbp), %rcx
movq -0x80(%rbp), %rax
movq -0x78(%rbp), %rsi
movq 0x38(%rcx), %rdx
movslq -0x64(%rbp), %rdi
movq (%rdx,%rdi,8), %rdx
movq %rdx, -0x58(%rbp)
movq 0x40(%rcx), %rdx
movslq -0x64(%rbp), %rdi
movq (%rdx,%rdi,8), %rdx
movq %rdx, -0x48(%rbp)
movq 0x48(%rcx), %rcx
movslq -0x64(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movq %rcx, -0x50(%rbp)
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movups 0x20(%rax), %xmm2
movq %rsp, %rax
movups %xmm2, 0x20(%rax)
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
leaq -0x60(%rbp), %rdi
callq 0x35fb0
movq -0x80(%rbp), %rax
movq 0x18(%rax), %rsi
leaq -0x60(%rbp), %rdi
callq 0x36670
movq -0x70(%rbp), %rax
movq 0x60(%rax), %rax
movslq -0x64(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x64(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x64(%rbp)
jmp 0xb487
callq 0x1090
cvtsi2ss %rax, %xmm0
subss -0x20(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
divsd 0x80061(%rip), %xmm0    # 0x8b5a0
leaq 0x6f4b1(%rip), %rdi     # 0x7a9f7
movb $0x1, %al
callq 0x10d0
addq $0xb0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/main_tnm.c
// Function: Rescale_para
void Rescale_para(float kappa)
{
  printf("Rescaling force constant by factor %.4g\n", kappa);
  KAPPA*=kappa;
  K_PSI*=kappa; K_PHI*=kappa; K_OMEGA*=kappa; K_CHI*=kappa;
  K_BA*=kappa; K_BL*=kappa;
  K0=KAPPA*pow(C0,EXP_HESSIAN);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movss %xmm0, -0x4(%rbp)
movss -0x4(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
leaq 0x6be5d(%rip), %rdi     # 0x7770a
movb $0x1, %al
callq 0x10d0
movss -0x4(%rbp), %xmm0
mulss 0x80777(%rip), %xmm0    # 0x8c038
movss %xmm0, 0x8076f(%rip)    # 0x8c038
movss -0x4(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
mulsd 0x8077e(%rip), %xmm0    # 0x8c058
movsd %xmm0, 0x80776(%rip)    # 0x8c058
movss -0x4(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
mulsd 0x8076d(%rip), %xmm0    # 0x8c060
movsd %xmm0, 0x80765(%rip)    # 0x8c060
movss -0x4(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
mulsd 0x80744(%rip), %xmm0    # 0x8c050
movsd %xmm0, 0x8073c(%rip)    # 0x8c050
movss -0x4(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
mulsd 0x80743(%rip), %xmm0    # 0x8c068
movsd %xmm0, 0x8073b(%rip)    # 0x8c068
movss -0x4(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
mulsd 0x80732(%rip), %xmm0    # 0x8c070
movsd %xmm0, 0x8072a(%rip)    # 0x8c070
movss -0x4(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
mulsd 0x80721(%rip), %xmm0    # 0x8c078
movsd %xmm0, 0x80719(%rip)    # 0x8c078
movss 0x806d1(%rip), %xmm0    # 0x8c038
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0x10(%rbp)
movss 0x806bc(%rip), %xmm0    # 0x8c034
cvtss2sd %xmm0, %xmm0
movss 0x806a8(%rip), %xmm1    # 0x8c02c
cvtss2sd %xmm1, %xmm1
callq 0x1080
movaps %xmm0, %xmm1
movsd -0x10(%rbp), %xmm0
mulsd %xmm1, %xmm0
movsd %xmm0, 0x8069f(%rip)    # 0x8c040
addq $0x10, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/main_tnm.c
// Function: Rescale_Hessian
double Rescale_Hessian(struct Normal_Mode NM,
		       struct interaction *Int_list, int N_int, 
		       float kappa, int anharmonic)
{

  // rescale interactions
  for(int i=0; i<N_int; i++)Int_list[i].sec_der*=kappa;

  double sum_sigma2=0; int i;
  printf("Rescaling omega2 by factor %.3g\n", kappa);

  // rescale modes
  for(i=0; i<NM.N; i++){
    if(anharmonic==0){
      NM.omega2[i]*=kappa;
      NM.sigma2[i]/=kappa;
      if(NM.select[i]==0){NM.omega[i]=0;}
      else{NM.omega[i]=sqrt(NM.omega2[i]);}
      sum_sigma2+=NM.sigma2[i];
    }else{
      NM.sigma2_anhar[i]/=kappa;
      sum_sigma2+=NM.sigma2_anhar[i];
    }
  }
  return(sum_sigma2);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
leaq 0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movss %xmm0, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movl $0x0, -0x18(%rbp)
movl -0x18(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0xba0e
movss -0x10(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movq -0x8(%rbp), %rax
movslq -0x18(%rbp), %rcx
imulq $0xc8, %rcx, %rcx
addq %rcx, %rax
mulsd 0x28(%rax), %xmm0
movsd %xmm0, 0x28(%rax)
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0xb9d6
xorps %xmm0, %xmm0
movsd %xmm0, -0x20(%rbp)
movss -0x10(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
leaq 0x6bd0d(%rip), %rdi     # 0x77733
movb $0x1, %al
callq 0x10d0
movl $0x0, -0x24(%rbp)
movq -0x30(%rbp), %rcx
movl -0x24(%rbp), %eax
cmpl (%rcx), %eax
jge 0xbb4a
cmpl $0x0, -0x14(%rbp)
jne 0xbafa
movq -0x30(%rbp), %rax
movss -0x10(%rbp), %xmm0
movq 0x20(%rax), %rcx
movslq -0x24(%rbp), %rdx
mulss (%rcx,%rdx,4), %xmm0
movss %xmm0, (%rcx,%rdx,4)
movss -0x10(%rbp), %xmm1
movq 0x28(%rax), %rcx
movslq -0x24(%rbp), %rdx
movss (%rcx,%rdx,4), %xmm0
divss %xmm1, %xmm0
movss %xmm0, (%rcx,%rdx,4)
movq 0xc0(%rax), %rax
movslq -0x24(%rbp), %rcx
cmpl $0x0, (%rax,%rcx,4)
jne 0xbaaa
movq -0x30(%rbp), %rax
movq 0x18(%rax), %rax
movslq -0x24(%rbp), %rcx
xorps %xmm0, %xmm0
movss %xmm0, (%rax,%rcx,4)
jmp 0xbad9
movq -0x30(%rbp), %rax
movq 0x20(%rax), %rax
movslq -0x24(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
cvtss2sd %xmm0, %xmm0
callq 0x1220
movq -0x30(%rbp), %rax
cvtsd2ss %xmm0, %xmm0
movq 0x18(%rax), %rax
movslq -0x24(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movq -0x30(%rbp), %rax
movq 0x28(%rax), %rax
movslq -0x24(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
cvtss2sd %xmm0, %xmm0
addsd -0x20(%rbp), %xmm0
movsd %xmm0, -0x20(%rbp)
jmp 0xbb3a
movq -0x30(%rbp), %rax
movss -0x10(%rbp), %xmm1
movq 0x88(%rax), %rcx
movslq -0x24(%rbp), %rdx
movss (%rcx,%rdx,4), %xmm0
divss %xmm1, %xmm0
movss %xmm0, (%rcx,%rdx,4)
movq 0x88(%rax), %rax
movslq -0x24(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
cvtss2sd %xmm0, %xmm0
addsd -0x20(%rbp), %xmm0
movsd %xmm0, -0x20(%rbp)
jmp 0xbb3c
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0xba34
movsd -0x20(%rbp), %xmm0
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/main_tnm.c
// Function: Write_ref_coord_d
void Write_ref_coord_d(double *coords, int N_ref, atom *atoms, int *atom_num)
{
  double *coord=coords;
  for(int i=0; i<N_ref; i++){
    double *r=atoms[atom_num[i]].r;
    for(int j=0; j<3; j++){*coord=*r; coord++; r++;}
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0xf212
movq -0x18(%rbp), %rax
movq -0x20(%rbp), %rcx
movslq -0x2c(%rbp), %rdx
movslq (%rcx,%rdx,4), %rcx
imulq $0x70, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x38(%rbp)
movl $0x0, -0x3c(%rbp)
cmpl $0x3, -0x3c(%rbp)
jge 0xf205
movq -0x38(%rbp), %rax
movsd (%rax), %xmm0
movq -0x28(%rbp), %rax
movsd %xmm0, (%rax)
movq -0x28(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x28(%rbp)
movq -0x38(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x38(%rbp)
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
jmp 0xf1cc
jmp 0xf207
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0xf1a2
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/read.c
// Function: GetPdbId
void GetPdbId(char *pdb_file_in, char *pdbid){
     /* This subroutine pretends to get the
        PDB id from a pdb file name, and ressembles
	quite a lot my "old-and-dirty-Perl" days */

  int start=0, end=0, i,j; //end2=0

  for(i=strlen(pdb_file_in)-1;i>=0;i--){
    if (pdb_file_in[i]=='.'){
      end=i-1;
    }else if (pdb_file_in[i]=='/'){
      start=i+1; //end2=i-1;
      break;
    }
  }
  j=0;
  for (i=start;i<=end;i++){
    pdbid[j]=pdb_file_in[i];
    j++;
  }
  pdbid[j]='\0';
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x0, -0x14(%rbp)
movl $0x0, -0x18(%rbp)
movq -0x8(%rbp), %rdi
callq 0x10b0
subq $0x1, %rax
movl %eax, -0x1c(%rbp)
cmpl $0x0, -0x1c(%rbp)
jl 0x1107b
movq -0x8(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x2e, %eax
jne 0x11050
movl -0x1c(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0x1106e
movq -0x8(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x2f, %eax
jne 0x1106c
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x1107b
jmp 0x1106e
jmp 0x11070
movl -0x1c(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x1102e
movl $0x0, -0x20(%rbp)
movl -0x14(%rbp), %eax
movl %eax, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
cmpl -0x18(%rbp), %eax
jg 0x110ba
movq -0x8(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -0x10(%rbp), %rax
movslq -0x20(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x11088
movq -0x10(%rbp), %rax
movslq -0x20(%rbp), %rcx
movb $0x0, (%rax,%rcx)
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/read.c
// Function: Order_atoms
int Order_atoms(atom *atoms, int natoms, struct residue *seq, int Nres)
{
  int ires;
  for(ires=0; ires<Nres; ires++){
    struct residue *res=seq+ires;
    if((res->type==1)||(res->type==-1)){
      // Store side chain before CO
      Order_atoms_aa(res->atom_ptr, res->n_atom);
    }
  }
  return(1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movl $0x0, -0x20(%rbp)
movl -0x20(%rbp), %eax
cmpl -0x1c(%rbp), %eax
jge 0x11632
movq -0x18(%rbp), %rax
movslq -0x20(%rbp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movswl 0x18(%rax), %eax
cmpl $0x1, %eax
je 0x11612
movq -0x28(%rbp), %rax
movswl 0x18(%rax), %eax
cmpl $-0x1, %eax
jne 0x11625
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movl 0x8(%rax), %esi
callq 0x13870
jmp 0x11627
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x115dd
movl $0x1, %eax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/read.c
// Function: Find_PDB_order
void Find_PDB_order(atom *atoms, int N_atoms)
{
  int i, i_next, res=atoms[0].res, ares=0, i2=0, i_min;
  int i_max=N_atoms+1000;
  atom *atom1=atoms, *atom2;
  for(i=0; i<N_atoms; i++){
    atom1=atoms+i;
    if(atom1->res > res){ares=i; res=atom1->res;}
    i_min=i_max; i_next=atom1->i_num+1;
    atom2=atoms+ares; i2=ares;
    while((i2<N_atoms)&&(atom2->res==res)){
      if((atom2->i_num>=i_next)&&(atom2->i_num<i_min)){
	i_min=i2; if(i_min==i_next)break;
      }
      atom2++; i2++;
    }
    if(i_min < i_max){atom1->i_next=i_min;}
    else if(i2<N_atoms){atom1->i_next=i2;}
    else{atom1->i_next=-1;}
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rax
movl 0x64(%rax), %eax
movl %eax, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
movl $0x0, -0x20(%rbp)
movl -0xc(%rbp), %eax
addl $0x3e8, %eax            # imm = 0x3E8
movl %eax, -0x28(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x11790
movq -0x8(%rbp), %rax
movslq -0x10(%rbp), %rcx
imulq $0x70, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movl 0x64(%rax), %eax
cmpl -0x18(%rbp), %eax
jle 0x116b8
movl -0x10(%rbp), %eax
movl %eax, -0x1c(%rbp)
movq -0x30(%rbp), %rax
movl 0x64(%rax), %eax
movl %eax, -0x18(%rbp)
movl -0x28(%rbp), %eax
movl %eax, -0x24(%rbp)
movq -0x30(%rbp), %rax
movl 0x50(%rax), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
movq -0x8(%rbp), %rax
movslq -0x1c(%rbp), %rcx
imulq $0x70, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x38(%rbp)
movl -0x1c(%rbp), %eax
movl %eax, -0x20(%rbp)
movl -0x20(%rbp), %ecx
xorl %eax, %eax
cmpl -0xc(%rbp), %ecx
movb %al, -0x39(%rbp)
jge 0x11701
movq -0x38(%rbp), %rax
movl 0x64(%rax), %eax
cmpl -0x18(%rbp), %eax
sete %al
movb %al, -0x39(%rbp)
movb -0x39(%rbp), %al
testb $0x1, %al
jne 0x1170a
jmp 0x1174b
movq -0x38(%rbp), %rax
movl 0x50(%rax), %eax
cmpl -0x14(%rbp), %eax
jl 0x11734
movq -0x38(%rbp), %rax
movl 0x50(%rax), %eax
cmpl -0x24(%rbp), %eax
jge 0x11734
movl -0x20(%rbp), %eax
movl %eax, -0x24(%rbp)
movl -0x24(%rbp), %eax
cmpl -0x14(%rbp), %eax
jne 0x11732
jmp 0x1174b
jmp 0x11734
movq -0x38(%rbp), %rax
addq $0x70, %rax
movq %rax, -0x38(%rbp)
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x116e4
movl -0x24(%rbp), %eax
cmpl -0x28(%rbp), %eax
jge 0x1175f
movl -0x24(%rbp), %ecx
movq -0x30(%rbp), %rax
movl %ecx, 0x4c(%rax)
jmp 0x11780
movl -0x20(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x11773
movl -0x20(%rbp), %ecx
movq -0x30(%rbp), %rax
movl %ecx, 0x4c(%rax)
jmp 0x1177e
movq -0x30(%rbp), %rax
movl $0xffffffff, 0x4c(%rax) # imm = 0xFFFFFFFF
jmp 0x11780
jmp 0x11782
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x1167d
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/read.c
// Function: Open_compressed_file
FILE *Open_compressed_file(char *name, int *Compression)
{
  FILE *file_in;
  printf("Reading %s ", name);
  *Compression=Get_compression(name);
  char command[200];
  if(*Compression){
    sprintf(command, "%s %s > %s\n", PDBCAT, name, PDBTMP);
    system(command);
    file_in=fopen(PDBTMP, "r");
  }else{
    file_in=fopen(name, "r");
  }
  if(file_in==NULL){
    printf("\nERROR, %s not found\n", name); return(NULL);
  }
  return(file_in);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rsi
leaq 0x697fc(%rip), %rdi     # 0x7afba
movb $0x0, %al
callq 0x10d0
movq -0x10(%rbp), %rdi
callq 0x127a0
movl %eax, %ecx
movq -0x18(%rbp), %rax
movl %ecx, (%rax)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x1182b
leaq -0xf0(%rbp), %rdi
movq -0x10(%rbp), %rcx
leaq 0x696de(%rip), %rsi     # 0x7aecf
leaq 0x696e3(%rip), %rdx     # 0x7aedb
leaq 0x696e1(%rip), %r8      # 0x7aee0
movb $0x0, %al
callq 0x1200
leaq -0xf0(%rbp), %rdi
callq 0x10c0
leaq 0x696c7(%rip), %rdi     # 0x7aee0
leaq 0x70cbd(%rip), %rsi     # 0x824dd
callq 0x11b0
movq %rax, -0x20(%rbp)
jmp 0x1183f
movq -0x10(%rbp), %rdi
leaq 0x70ca7(%rip), %rsi     # 0x824dd
callq 0x11b0
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x11862
movq -0x10(%rbp), %rsi
leaq 0x69697(%rip), %rdi     # 0x7aee8
movb $0x0, %al
callq 0x10d0
movq $0x0, -0x8(%rbp)
jmp 0x1186a
movq -0x20(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0xf0, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/read.c
// Function: Next_residue
int Next_residue(int *N_res, int *start, struct residue *seq,
		 atom *first_atom, short *i_atom,
		 char *res_type_old, int *res_num_old, char *icode_old,
		 char *chain_old, int *hetatm_old, int n_exo,
		 char *res_type, int res_num, char icode, char chain,
		 int hetatm)
{
  if((*start)==0){*start=1;}
  else if(*i_atom)
  	{Write_residue(res_type_old, first_atom, *i_atom, seq+*N_res,
		  n_exo, *res_num_old, *icode_old, *chain_old, *hetatm_old);
     //if(type==1){(*N_res)++;}else{n_atom-=(*i_atom);}
     (*N_res)++;
     (*i_atom)=0;
  	}
  	
  strcpy(res_type_old,res_type);
  *icode_old=icode;
  *res_num_old=res_num;
  *chain_old=chain;
  *hetatm_old=hetatm;

  return(0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movl 0x58(%rbp), %eax
movb 0x50(%rbp), %al
movb 0x48(%rbp), %al
movl 0x40(%rbp), %eax
movq 0x38(%rbp), %rax
movl 0x30(%rbp), %eax
movq 0x28(%rbp), %rax
movq 0x20(%rbp), %rax
movq 0x18(%rbp), %rax
movq 0x10(%rbp), %rax
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movq -0x10(%rbp), %rax
cmpl $0x0, (%rax)
jne 0x118d8
movq -0x10(%rbp), %rax
movl $0x1, (%rax)
jmp 0x11955
movq -0x28(%rbp), %rax
cmpw $0x0, (%rax)
je 0x11953
movq -0x30(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x28(%rbp), %rax
movw (%rax), %dx
movq -0x18(%rbp), %rcx
movq -0x8(%rbp), %rax
movslq (%rax), %rax
shlq $0x5, %rax
addq %rax, %rcx
movl 0x30(%rbp), %r8d
movq 0x10(%rbp), %rax
movl (%rax), %r9d
movq 0x18(%rbp), %rax
movb (%rax), %r11b
movq 0x20(%rbp), %rax
movb (%rax), %r10b
movq 0x28(%rbp), %rax
movl (%rax), %eax
movswl %dx, %edx
movsbl %r11b, %r11d
movl %r11d, (%rsp)
movsbl %r10b, %r10d
movl %r10d, 0x8(%rsp)
movl %eax, 0x10(%rsp)
callq 0x13fd0
movq -0x8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
movq -0x28(%rbp), %rax
movw $0x0, (%rax)
jmp 0x11955
movq -0x30(%rbp), %rdi
movq 0x38(%rbp), %rsi
callq 0x1060
movb 0x48(%rbp), %cl
movq 0x18(%rbp), %rax
movb %cl, (%rax)
movl 0x40(%rbp), %ecx
movq 0x10(%rbp), %rax
movl %ecx, (%rax)
movb 0x50(%rbp), %cl
movq 0x20(%rbp), %rax
movb %cl, (%rax)
movl 0x58(%rbp), %ecx
movq 0x28(%rbp), %rax
movl %ecx, (%rax)
xorl %eax, %eax
addq $0x50, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/read.c
// Function: Get_compression
int Get_compression(char *name){
  char *tmp=name;
  while(*tmp!='\0'){
    if((*tmp=='.')&&(*(tmp+1)=='g')&&(*(tmp+2)=='z')){
      return(1);
    }
    tmp++;
  }
  return(0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
je 0x127f9
movq -0x18(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x2e, %eax
jne 0x127eb
movq -0x18(%rbp), %rax
movsbl 0x1(%rax), %eax
cmpl $0x67, %eax
jne 0x127eb
movq -0x18(%rbp), %rax
movsbl 0x2(%rax), %eax
cmpl $0x7a, %eax
jne 0x127eb
movl $0x1, -0x4(%rbp)
jmp 0x12800
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
jmp 0x127b0
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/read.c
// Function: Check_chain
int Check_chain(int *ichain, int *sel, int *na, int ini_r, int nres)
{
  int del;
  if(*na < MIN_ATOM){
    int j; for(j=ini_r; j< nres; j++)sel[j]=0;
    del=1;
  }else{
    (*ichain)++; del=0;
  }
  *na=0;
  return(del);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movl %r8d, -0x20(%rbp)
movq -0x18(%rbp), %rax
movl (%rax), %eax
cmpl 0x77e11(%rip), %eax     # 0x8b5d4
jge 0x137f6
movl -0x1c(%rbp), %eax
movl %eax, -0x28(%rbp)
movl -0x28(%rbp), %eax
cmpl -0x20(%rbp), %eax
jge 0x137ed
movq -0x10(%rbp), %rax
movslq -0x28(%rbp), %rcx
movl $0x0, (%rax,%rcx,4)
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
jmp 0x137cb
movl $0x1, -0x24(%rbp)
jmp 0x13808
movq -0x8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
movl $0x0, -0x24(%rbp)
movq -0x18(%rbp), %rax
movl $0x0, (%rax)
movl -0x24(%rbp), %eax
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/read.c
// Function: Store_chain
void Store_chain(struct chain *chp, int *ichain, int n, int *nr)
{
  (*ichain)++; 
  chp->natoms=n-chp->ini_atom;
  chp->nres=*nr; 
  *nr=0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x10(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
movl -0x14(%rbp), %ecx
movq -0x8(%rbp), %rax
subl (%rax), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0x20(%rbp), %rax
movl (%rax), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x1c(%rax)
movq -0x20(%rbp), %rax
movl $0x0, (%rax)
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/read.c
// Function: Copy_atom
int Copy_atom(atom **atom2, atom *atom1, int i)
{
  if(i<0)return(0);
  *(*atom2)=*(atom1+i);
  (*atom2)++;
  return(1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
cmpl $0x0, -0x1c(%rbp)
jge 0x13f12
movl $0x0, -0x4(%rbp)
jmp 0x13f47
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movq -0x18(%rbp), %rsi
movslq -0x1c(%rbp), %rax
imulq $0x70, %rax, %rax
addq %rax, %rsi
movl $0x70, %edx
callq 0x1160
movq -0x10(%rbp), %rax
movq (%rax), %rcx
addq $0x70, %rcx
movq %rcx, (%rax)
movl $0x1, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x20, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/read.c
// Function: Store_branch
int Store_branch(atom **atom2, char BRANCH,
		 atom *res_atom, int n_atom)
{
  atom *atom1=res_atom; int i, n=0;
  for(i=0; i<n_atom; i++){
    if(atom1->name[1]==BRANCH){
      n+=Copy_atom(atom2, res_atom, i);
    }
    atom1++;
  }
  return(n);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movb %sil, %al
movq %rdi, -0x8(%rbp)
movb %al, -0x9(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x28(%rbp)
movl $0x0, -0x30(%rbp)
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0x1c(%rbp), %eax
jge 0x13fc4
movq -0x28(%rbp), %rax
movsbl 0x19(%rax), %eax
movsbl -0x9(%rbp), %ecx
cmpl %ecx, %eax
jne 0x13fad
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rsi
movl -0x2c(%rbp), %edx
callq 0x13ef0
addl -0x30(%rbp), %eax
movl %eax, -0x30(%rbp)
movq -0x28(%rbp), %rax
addq $0x70, %rax
movq %rax, -0x28(%rbp)
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x13f7f
movl -0x30(%rbp), %eax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/vector.c
// Function: Rotate
void Rotate(float *r, float **rot){
  float tmp[3];
  tmp[0]=rot[0][0]*r[0]+rot[0][1]*r[1]+rot[0][2]*r[2];
  tmp[1]=rot[1][0]*r[0]+rot[1][1]*r[1]+rot[1][2]*r[2];
  tmp[2]=rot[2][0]*r[0]+rot[2][1]*r[1]+rot[2][2]*r[2];
  r[0]=tmp[0]; r[1]=tmp[1]; r[2]=tmp[2]; 
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movss (%rax), %xmm1
movq -0x8(%rbp), %rax
movss (%rax), %xmm2
movq -0x10(%rbp), %rax
movq (%rax), %rax
movss 0x4(%rax), %xmm0
movq -0x8(%rbp), %rax
mulss 0x4(%rax), %xmm0
mulss %xmm2, %xmm1
addss %xmm0, %xmm1
movq -0x10(%rbp), %rax
movq (%rax), %rax
movss 0x8(%rax), %xmm0
movq -0x8(%rbp), %rax
movss 0x8(%rax), %xmm2
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -0x1c(%rbp)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movss (%rax), %xmm1
movq -0x8(%rbp), %rax
movss (%rax), %xmm2
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movss 0x4(%rax), %xmm0
movq -0x8(%rbp), %rax
mulss 0x4(%rax), %xmm0
mulss %xmm2, %xmm1
addss %xmm0, %xmm1
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movss 0x8(%rax), %xmm0
movq -0x8(%rbp), %rax
movss 0x8(%rax), %xmm2
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movss (%rax), %xmm1
movq -0x8(%rbp), %rax
movss (%rax), %xmm2
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movss 0x4(%rax), %xmm0
movq -0x8(%rbp), %rax
mulss 0x4(%rax), %xmm0
mulss %xmm2, %xmm1
addss %xmm0, %xmm1
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movss 0x8(%rax), %xmm0
movq -0x8(%rbp), %rax
movss 0x8(%rax), %xmm2
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -0x14(%rbp)
movss -0x1c(%rbp), %xmm0
movq -0x8(%rbp), %rax
movss %xmm0, (%rax)
movss -0x18(%rbp), %xmm0
movq -0x8(%rbp), %rax
movss %xmm0, 0x4(%rax)
movss -0x14(%rbp), %xmm0
movq -0x8(%rbp), %rax
movss %xmm0, 0x8(%rax)
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/vector.c
// Function: Rotate_d
void Rotate_d(double *r, double **rot){
  double tmp[3];
  tmp[0]=rot[0][0]*r[0]+rot[0][1]*r[1]+rot[0][2]*r[2];
  tmp[1]=rot[1][0]*r[0]+rot[1][1]*r[1]+rot[1][2]*r[2];
  tmp[2]=rot[2][0]*r[0]+rot[2][1]*r[1]+rot[2][2]*r[2];
  r[0]=tmp[0]; r[1]=tmp[1]; r[2]=tmp[2]; 
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movsd (%rax), %xmm1
movq -0x8(%rbp), %rax
movsd (%rax), %xmm2
movq -0x10(%rbp), %rax
movq (%rax), %rax
movsd 0x8(%rax), %xmm0
movq -0x8(%rbp), %rax
mulsd 0x8(%rax), %xmm0
mulsd %xmm2, %xmm1
addsd %xmm0, %xmm1
movq -0x10(%rbp), %rax
movq (%rax), %rax
movsd 0x10(%rax), %xmm0
movq -0x8(%rbp), %rax
movsd 0x10(%rax), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x30(%rbp)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movsd (%rax), %xmm1
movq -0x8(%rbp), %rax
movsd (%rax), %xmm2
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movsd 0x8(%rax), %xmm0
movq -0x8(%rbp), %rax
mulsd 0x8(%rax), %xmm0
mulsd %xmm2, %xmm1
addsd %xmm0, %xmm1
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movsd 0x10(%rax), %xmm0
movq -0x8(%rbp), %rax
movsd 0x10(%rax), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x28(%rbp)
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movsd (%rax), %xmm1
movq -0x8(%rbp), %rax
movsd (%rax), %xmm2
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movsd 0x8(%rax), %xmm0
movq -0x8(%rbp), %rax
mulsd 0x8(%rax), %xmm0
mulsd %xmm2, %xmm1
addsd %xmm0, %xmm1
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movsd 0x10(%rax), %xmm0
movq -0x8(%rbp), %rax
movsd 0x10(%rax), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x20(%rbp)
movsd -0x30(%rbp), %xmm0
movq -0x8(%rbp), %rax
movsd %xmm0, (%rax)
movsd -0x28(%rbp), %xmm0
movq -0x8(%rbp), %rax
movsd %xmm0, 0x8(%rax)
movsd -0x20(%rbp), %xmm0
movq -0x8(%rbp), %rax
movsd %xmm0, 0x10(%rax)
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/vector.c
// Function: Matrix_multiplication
void Matrix_multiplication(double *w, double **M, double *v, int n)
{
  int i, j;
  for(i=0; i<n; i++){
    double sum=0, *mi=M[i], *v0=v;
    for(j=0; j<n; j++){sum+=(*mi)*(*v0); mi++; v0++;}
    w[i]=sum;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movl $0x0, -0x20(%rbp)
movl -0x20(%rbp), %eax
cmpl -0x1c(%rbp), %eax
jge 0x1511a
xorps %xmm0, %xmm0
movsd %xmm0, -0x30(%rbp)
movq -0x10(%rbp), %rax
movslq -0x20(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x38(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x40(%rbp)
movl $0x0, -0x24(%rbp)
movl -0x24(%rbp), %eax
cmpl -0x1c(%rbp), %eax
jge 0x150fa
movq -0x38(%rbp), %rax
movsd (%rax), %xmm0
movq -0x40(%rbp), %rax
movsd (%rax), %xmm2
movsd -0x30(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x30(%rbp)
movq -0x38(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x38(%rbp)
movq -0x40(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x40(%rbp)
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x150ad
movsd -0x30(%rbp), %xmm0
movq -0x8(%rbp), %rax
movslq -0x20(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x1507a
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/vector.c
// Function: Transform_matrix
void Transform_matrix(float A[3][3], float **R){
  // Similarity transformation A'=RAR^T
  float tmp[3][3]; int i, j, k;
  for(i=0; i<3; i++){
    float *Ai=A[i];
    for(j=0; j<3; j++){
      float t=0, *Rj=R[j];
      for(k=0; k<3; k++)t+=Ai[k]*Rj[k];
      tmp[i][j]=t; 
    }
  }
  for(i=0; i<3; i++){
    float *Ri=R[i];
    for(j=0; j<3; j++){
      float t=0;
      for(k=0; k<3; k++)t+=Ri[k]*tmp[k][j];
      A[i][j]=t; 
    }
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x0, -0x44(%rbp)
cmpl $0x3, -0x44(%rbp)
jge 0x151f8
movq -0x8(%rbp), %rax
movslq -0x44(%rbp), %rcx
imulq $0xc, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x58(%rbp)
movl $0x0, -0x48(%rbp)
cmpl $0x3, -0x48(%rbp)
jge 0x151e8
xorps %xmm0, %xmm0
movss %xmm0, -0x5c(%rbp)
movq -0x10(%rbp), %rax
movslq -0x48(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x68(%rbp)
movl $0x0, -0x4c(%rbp)
cmpl $0x3, -0x4c(%rbp)
jge 0x151bd
movq -0x58(%rbp), %rax
movslq -0x4c(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
movq -0x68(%rbp), %rax
movslq -0x4c(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2
movss -0x5c(%rbp), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -0x5c(%rbp)
movl -0x4c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4c(%rbp)
jmp 0x15180
movss -0x5c(%rbp), %xmm0
movslq -0x44(%rbp), %rcx
leaq -0x40(%rbp), %rax
imulq $0xc, %rcx, %rcx
addq %rcx, %rax
movslq -0x48(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x15157
jmp 0x151ea
movl -0x44(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x44(%rbp)
jmp 0x15133
movl $0x0, -0x44(%rbp)
cmpl $0x3, -0x44(%rbp)
jge 0x152bc
movq -0x10(%rbp), %rax
movslq -0x44(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x70(%rbp)
movl $0x0, -0x48(%rbp)
cmpl $0x3, -0x48(%rbp)
jge 0x152ac
xorps %xmm0, %xmm0
movss %xmm0, -0x74(%rbp)
movl $0x0, -0x4c(%rbp)
cmpl $0x3, -0x4c(%rbp)
jge 0x15281
movq -0x70(%rbp), %rax
movslq -0x4c(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
movslq -0x4c(%rbp), %rcx
leaq -0x40(%rbp), %rax
imulq $0xc, %rcx, %rcx
addq %rcx, %rax
movslq -0x48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2
movss -0x74(%rbp), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -0x74(%rbp)
movl -0x4c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4c(%rbp)
jmp 0x15239
movss -0x74(%rbp), %xmm0
movq -0x8(%rbp), %rax
movslq -0x44(%rbp), %rcx
imulq $0xc, %rcx, %rcx
addq %rcx, %rax
movslq -0x48(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x15220
jmp 0x152ae
movl -0x44(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x44(%rbp)
jmp 0x151ff
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/vector.c
// Function: Transform_matrix_d
void Transform_matrix_d(double **A, double **R){
  // Similarity transformation A'=RAR^T
  double tmp[3][3]; int i, j, k;
  for(i=0; i<3; i++){
    double *Ai=A[i];
    for(j=0; j<3; j++){
      double t=0, *Rj=R[j];
      for(k=0; k<3; k++)t+=Ai[k]*Rj[k];
      tmp[i][j]=t; 
    }
  }
  for(i=0; i<3; i++){
    double *Ri=R[i];
    for(j=0; j<3; j++){
      double t=0;
      for(k=0; k<3; k++)t+=Ri[k]*tmp[k][j];
      A[i][j]=t; 
    }
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x0, -0x64(%rbp)
cmpl $0x3, -0x64(%rbp)
jge 0x1539f
movq -0x8(%rbp), %rax
movslq -0x64(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x78(%rbp)
movl $0x0, -0x68(%rbp)
cmpl $0x3, -0x68(%rbp)
jge 0x1538f
xorps %xmm0, %xmm0
movsd %xmm0, -0x80(%rbp)
movq -0x10(%rbp), %rax
movslq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x88(%rbp)
movl $0x0, -0x6c(%rbp)
cmpl $0x3, -0x6c(%rbp)
jge 0x15364
movq -0x78(%rbp), %rax
movslq -0x6c(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq -0x88(%rbp), %rax
movslq -0x6c(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm2
movsd -0x80(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x80(%rbp)
movl -0x6c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x6c(%rbp)
jmp 0x15324
movsd -0x80(%rbp), %xmm0
movslq -0x64(%rbp), %rcx
leaq -0x60(%rbp), %rax
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movslq -0x68(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl -0x68(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x68(%rbp)
jmp 0x152f8
jmp 0x15391
movl -0x64(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x64(%rbp)
jmp 0x152d7
movl $0x0, -0x64(%rbp)
cmpl $0x3, -0x64(%rbp)
jge 0x15472
movq -0x10(%rbp), %rax
movslq -0x64(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x90(%rbp)
movl $0x0, -0x68(%rbp)
cmpl $0x3, -0x68(%rbp)
jge 0x15462
xorps %xmm0, %xmm0
movsd %xmm0, -0x98(%rbp)
movl $0x0, -0x6c(%rbp)
cmpl $0x3, -0x6c(%rbp)
jge 0x15437
movq -0x90(%rbp), %rax
movslq -0x6c(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movslq -0x6c(%rbp), %rcx
leaq -0x60(%rbp), %rax
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movslq -0x68(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm2
movsd -0x98(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x98(%rbp)
movl -0x6c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x6c(%rbp)
jmp 0x153e6
movsd -0x98(%rbp), %xmm0
movq -0x8(%rbp), %rax
movslq -0x64(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x68(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl -0x68(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x68(%rbp)
jmp 0x153ca
jmp 0x15464
movl -0x64(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x64(%rbp)
jmp 0x153a6
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/vector.c
// Function: Collectivity_norm1
float Collectivity_norm1(float *v, int N){
  double sum=0, Entropy=0;
  for(int i=0; i<N; i++){
    float w=v[i]; if(w<=0)continue; sum+=w; Entropy-=w*log(w);
  }
  if(sum==0){
    printf("ERROR in collectivity_norm1, sum= %.2g\n", sum);
    return(0);
  }
  Entropy=Entropy/sum+log(sum);
  float kappa=exp(Entropy);
  return(kappa);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x20(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x28(%rbp)
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x15d3d
movq -0x10(%rbp), %rax
movslq -0x2c(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
movss %xmm0, -0x30(%rbp)
xorps %xmm0, %xmm0
ucomiss -0x30(%rbp), %xmm0
jb 0x15ccf
jmp 0x15d2f
movss -0x30(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
addsd -0x20(%rbp), %xmm0
movsd %xmm0, -0x20(%rbp)
movss -0x30(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0x40(%rbp)
movss -0x30(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
callq 0x10f0
movaps %xmm0, %xmm2
movsd -0x40(%rbp), %xmm0
movsd -0x28(%rbp), %xmm1
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x28(%rbp)
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x15ca6
movsd -0x20(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x15d6a
jp 0x15d6a
movsd -0x20(%rbp), %xmm0
leaq 0x6546b(%rip), %rdi     # 0x7b1c4
movb $0x1, %al
callq 0x10d0
xorps %xmm0, %xmm0
movss %xmm0, -0x4(%rbp)
jmp 0x15db1
movsd -0x28(%rbp), %xmm0
divsd -0x20(%rbp), %xmm0
movsd %xmm0, -0x48(%rbp)
movsd -0x20(%rbp), %xmm0
callq 0x10f0
movaps %xmm0, %xmm1
movsd -0x48(%rbp), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x28(%rbp)
movsd -0x28(%rbp), %xmm0
callq 0x1230
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -0x34(%rbp)
movss -0x34(%rbp), %xmm0
movss %xmm0, -0x4(%rbp)
movss -0x4(%rbp), %xmm0
addq $0x50, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/vector.c
// Function: Collectivity_norm2
float Collectivity_norm2(float *v, int N){
  float kappa, w; double sum=0, Entropy=0; int i;
  for(i=0; i<N; i++){
    w=v[i]*v[i]; if(w>0){sum+=w; Entropy-=w*log(w);}
  }
  if(sum>0){
    Entropy=Entropy/sum;
    Entropy+=log(sum);
  }
  kappa=exp(Entropy);
  if(isnan(kappa)){
    printf("Warning in Collectivity_norm2 ");
    printf("Entropy: %.2g sum: %.2g kappa: %.2g\n", Entropy, sum, kappa);
    printf("v: ");
    for(i=0; i<30; i++)printf(" %.2g", v[i]);
    printf(" ...\n");
    //exit(8);
  }
  return(kappa);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x20(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x28(%rbp)
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x15e8e
movq -0x8(%rbp), %rax
movslq -0x2c(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
movq -0x8(%rbp), %rax
movslq -0x2c(%rbp), %rcx
mulss (%rax,%rcx,4), %xmm0
movss %xmm0, -0x14(%rbp)
movss -0x14(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe 0x15e7e
movss -0x14(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
addsd -0x20(%rbp), %xmm0
movsd %xmm0, -0x20(%rbp)
movss -0x14(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0x38(%rbp)
movss -0x14(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
callq 0x10f0
movaps %xmm0, %xmm2
movsd -0x38(%rbp), %xmm0
movsd -0x28(%rbp), %xmm1
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x28(%rbp)
jmp 0x15e80
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x15de6
movsd -0x20(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x15ebf
movsd -0x28(%rbp), %xmm0
divsd -0x20(%rbp), %xmm0
movsd %xmm0, -0x28(%rbp)
movsd -0x20(%rbp), %xmm0
callq 0x10f0
addsd -0x28(%rbp), %xmm0
movsd %xmm0, -0x28(%rbp)
movsd -0x28(%rbp), %xmm0
callq 0x1230
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -0x10(%rbp)
movss -0x10(%rbp), %xmm0
ucomiss %xmm0, %xmm0
setp %al
testb $0x1, %al
jne 0x15ee6
jmp 0x15f68
leaq 0x652ff(%rip), %rdi     # 0x7b1ec
movb $0x0, %al
callq 0x10d0
movsd -0x28(%rbp), %xmm0
movsd -0x20(%rbp), %xmm1
movss -0x10(%rbp), %xmm2
cvtss2sd %xmm2, %xmm2
leaq 0x652fd(%rip), %rdi     # 0x7b20b
movb $0x3, %al
callq 0x10d0
leaq 0x65314(%rip), %rdi     # 0x7b230
movb $0x0, %al
callq 0x10d0
movl $0x0, -0x2c(%rbp)
cmpl $0x1e, -0x2c(%rbp)
jge 0x15f5a
movq -0x8(%rbp), %rax
movslq -0x2c(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
cvtss2sd %xmm0, %xmm0
leaq 0x6698f(%rip), %rdi     # 0x7c8d7
movb $0x1, %al
callq 0x10d0
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x15f2a
leaq 0x652d3(%rip), %rdi     # 0x7b234
movb $0x0, %al
callq 0x10d0
movss -0x10(%rbp), %xmm0
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/vector.c
// Function: Collectivity_norm2_outlier
float Collectivity_norm2_outlier(float *v, int N, int *outlier){
  float kappa, w; double sum=0, Entropy=0; int i;
  for(i=0; i<N; i++){
    if(outlier && (outlier[i]))continue;
    w=v[i]*v[i]; if(w>0){sum+=w; Entropy-=w*log(w);}
  }
  Entropy=Entropy/sum+log(sum);
  kappa=exp(Entropy);
  return(kappa);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x28(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x30(%rbp)
movl $0x0, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x1606c
cmpq $0x0, -0x18(%rbp)
je 0x15fd0
movq -0x18(%rbp), %rax
movslq -0x34(%rbp), %rcx
cmpl $0x0, (%rax,%rcx,4)
je 0x15fd0
jmp 0x1605e
movq -0x8(%rbp), %rax
movslq -0x34(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
movq -0x8(%rbp), %rax
movslq -0x34(%rbp), %rcx
mulss (%rax,%rcx,4), %xmm0
movss %xmm0, -0x20(%rbp)
movss -0x20(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe 0x1605c
movss -0x20(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
addsd -0x28(%rbp), %xmm0
movsd %xmm0, -0x28(%rbp)
movss -0x20(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0x40(%rbp)
movss -0x20(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
callq 0x10f0
movaps %xmm0, %xmm2
movsd -0x40(%rbp), %xmm0
movsd -0x30(%rbp), %xmm1
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x30(%rbp)
jmp 0x1605e
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0x15faa
movsd -0x30(%rbp), %xmm0
divsd -0x28(%rbp), %xmm0
movsd %xmm0, -0x48(%rbp)
movsd -0x28(%rbp), %xmm0
callq 0x10f0
movaps %xmm0, %xmm1
movsd -0x48(%rbp), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x30(%rbp)
movsd -0x30(%rbp), %xmm0
callq 0x1230
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -0x1c(%rbp)
movss -0x1c(%rbp), %xmm0
addq $0x50, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/vector.c
// Function: Collectivity_Renyi_norm1
float Collectivity_Renyi_norm1(float *v, int N){
  double sum=0, sum2=0, SR; int i; float w;
  for(i=0; i<N; i++){
    w=v[i]; if(w<=0)continue; sum+=w; sum2+=w*w;
  }
  SR=(sum*sum)/sum2;
  return(SR);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x18(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x20(%rbp)
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x1613d
movq -0x8(%rbp), %rax
movslq -0x2c(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
movss %xmm0, -0x30(%rbp)
xorps %xmm0, %xmm0
ucomiss -0x30(%rbp), %xmm0
jb 0x16107
jmp 0x16132
movss -0x30(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
addsd -0x18(%rbp), %xmm0
movsd %xmm0, -0x18(%rbp)
movss -0x30(%rbp), %xmm0
mulss -0x30(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
addsd -0x20(%rbp), %xmm0
movsd %xmm0, -0x20(%rbp)
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x160e2
movsd -0x18(%rbp), %xmm0
mulsd -0x18(%rbp), %xmm0
divsd -0x20(%rbp), %xmm0
movsd %xmm0, -0x28(%rbp)
movsd -0x28(%rbp), %xmm0
cvtsd2ss %xmm0, %xmm0
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/vector.c
// Function: Area_norm1
float Area_norm1(float *v, int N){
  double sum=0, sum2=0, imean; int i; float w;
  for(i=0; i<N; i++){
    w=v[i]; if(w<=0)continue; sum+=w; sum2+=i*w;
  }
  imean=sum2/sum;
  return((N-imean-1)/(N-1));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x18(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x20(%rbp)
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x1628d
movq -0x8(%rbp), %rax
movslq -0x2c(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
movss %xmm0, -0x30(%rbp)
xorps %xmm0, %xmm0
ucomiss -0x30(%rbp), %xmm0
jb 0x16257
jmp 0x16282
movss -0x30(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
addsd -0x18(%rbp), %xmm0
movsd %xmm0, -0x18(%rbp)
cvtsi2ssl -0x2c(%rbp), %xmm0
mulss -0x30(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
addsd -0x20(%rbp), %xmm0
movsd %xmm0, -0x20(%rbp)
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x16232
movsd -0x20(%rbp), %xmm0
divsd -0x18(%rbp), %xmm0
movsd %xmm0, -0x28(%rbp)
cvtsi2sdl -0xc(%rbp), %xmm0
subsd -0x28(%rbp), %xmm0
movsd 0x5fd9a(%rip), %xmm1    # 0x76048
subsd %xmm1, %xmm0
movl -0xc(%rbp), %eax
subl $0x1, %eax
cvtsi2sd %eax, %xmm1
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/vector.c
// Function: Area_norm2
float Area_norm2(float *v, int N){
  double sum=0, sum2=0, imean; int i; float w;
  for(i=0; i<N; i++){
    w=v[i]*v[i]; if(w<=0)continue; sum+=w; sum2+=i*w;
  }
  imean=sum2/sum;
  return((N-imean-1)/(N-1));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x18(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x20(%rbp)
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x1635a
movq -0x8(%rbp), %rax
movslq -0x2c(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
movq -0x8(%rbp), %rax
movslq -0x2c(%rbp), %rcx
mulss (%rax,%rcx,4), %xmm0
movss %xmm0, -0x30(%rbp)
xorps %xmm0, %xmm0
ucomiss -0x30(%rbp), %xmm0
jb 0x16324
jmp 0x1634f
movss -0x30(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
addsd -0x18(%rbp), %xmm0
movsd %xmm0, -0x18(%rbp)
cvtsi2ssl -0x2c(%rbp), %xmm0
mulss -0x30(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
addsd -0x20(%rbp), %xmm0
movsd %xmm0, -0x20(%rbp)
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x162f2
movsd -0x20(%rbp), %xmm0
divsd -0x18(%rbp), %xmm0
movsd %xmm0, -0x28(%rbp)
cvtsi2sdl -0xc(%rbp), %xmm0
subsd -0x28(%rbp), %xmm0
movsd 0x5fccd(%rip), %xmm1    # 0x76048
subsd %xmm1, %xmm0
movl -0xc(%rbp), %eax
subl $0x1, %eax
cvtsi2sd %eax, %xmm1
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/allocate_tnm.c
// Function: Allocate_tors
void Allocate_tors(struct Tors *X, int N_axes, int N_Cart, int N_modes)
{
  X->N_axes=N_axes;
  X->N_Cart=N_Cart;
  X->Cart=malloc(N_Cart*sizeof(float));
  X->Tors=malloc(N_axes*sizeof(float));
  X->MW_Tors=malloc(N_axes*sizeof(float));
  X->coeff=malloc(N_modes*sizeof(float));
  X->RMSD=0; X->M=0; 
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movl %ecx, -0x14(%rbp)
movl -0xc(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, (%rax)
movl -0x10(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x4(%rax)
movslq -0x10(%rbp), %rdi
shlq $0x2, %rdi
callq 0x1180
movq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x8(%rax)
movslq -0xc(%rbp), %rdi
shlq $0x2, %rdi
callq 0x1180
movq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x18(%rax)
movslq -0xc(%rbp), %rdi
shlq $0x2, %rdi
callq 0x1180
movq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x10(%rax)
movslq -0x14(%rbp), %rdi
shlq $0x2, %rdi
callq 0x1180
movq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x8(%rbp), %rax
xorps %xmm0, %xmm0
movss %xmm0, 0x30(%rax)
movq -0x8(%rbp), %rax
xorps %xmm0, %xmm0
movss %xmm0, 0x3c(%rax)
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/allocate_tnm.c
// Function: Empty_tors
void Empty_tors(struct Tors X){
  free(X.Tors);
  free(X.MW_Tors);
  free(X.Cart);
  free(X.coeff);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
leaq 0x10(%rbp), %rax
movq %rax, -0x8(%rbp)
movq 0x18(%rax), %rdi
callq 0x1040
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rdi
callq 0x1040
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x1040
movq -0x8(%rbp), %rax
movq 0x20(%rax), %rdi
callq 0x1040
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)