// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/confchange.c
// Function: Print_force_confchange
void Print_force_confchange(struct Normal_Mode NM, struct Tors Diff,
			    atom *atoms, struct axe *axes, int N_axes,
			    struct residue *seq, int N_res,
			    char *nameout2)
{
  // Squared conformation changes
  struct Tors Diff2;   int i;
  Allocate_tors(&Diff2, NM.N_axes, NM.N_Cart, NM.N);
  for(i=0; i<NM.N_Cart;  i++){
    Diff2.Cart[i]=Diff.Cart[i]*Diff.Cart[i];
  }
  for(i=0; i<NM.N_axes;  i++){
    Diff2.Tors[i]=Diff.Tors[i]*Diff.Tors[i];
    Diff2.MW_Tors[i]=Diff.MW_Tors[i]*Diff.MW_Tors[i];
  }

  Print_change(NM.cart_fluct, Diff2.Cart, N_res,  nameout2, "Cart");
  Print_change(NM.tors_fluct, Diff2.Tors, N_axes, nameout2, "Tors");
  char namepdb[200];
  sprintf(namepdb, "%s1.pdb", nameout2);
  Print_tors_fluct(axes,N_axes,Diff2.Tors,atoms,seq,namepdb,"CONFCHANGE");
  sprintf(namepdb, "%s2.pdb", nameout2);
  Print_tors_fluct(axes,N_axes, NM.tors_fluct,atoms,seq,namepdb,"FLUCT");

  Empty_tors(Diff2);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x190, %rsp            # imm = 0x190
leaq 0xe0(%rbp), %rax
movq %rax, -0x150(%rbp)
leaq 0x10(%rbp), %rax
movq %rax, -0x148(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq %rcx, -0x20(%rbp)
movl %r8d, -0x24(%rbp)
movq %r9, -0x30(%rbp)
movl 0x8(%rax), %esi
movl 0xc(%rax), %edx
movl (%rax), %ecx
leaq -0x70(%rbp), %rdi
callq 0x163a0
movl $0x0, -0x74(%rbp)
movq -0x148(%rbp), %rcx
movl -0x74(%rbp), %eax
cmpl 0xc(%rcx), %eax
jge 0x442db
movq -0x150(%rbp), %rax
movq 0x8(%rax), %rcx
movslq -0x74(%rbp), %rdx
movss (%rcx,%rdx,4), %xmm0
movq 0x8(%rax), %rax
movslq -0x74(%rbp), %rcx
mulss (%rax,%rcx,4), %xmm0
movq -0x68(%rbp), %rax
movslq -0x74(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x74(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x74(%rbp)
jmp 0x44293
movl $0x0, -0x74(%rbp)
movq -0x148(%rbp), %rcx
movl -0x74(%rbp), %eax
cmpl 0x8(%rcx), %eax
jge 0x44351
movq -0x150(%rbp), %rax
movq 0x18(%rax), %rcx
movslq -0x74(%rbp), %rdx
movss (%rcx,%rdx,4), %xmm0
movq 0x18(%rax), %rcx
movslq -0x74(%rbp), %rdx
mulss (%rcx,%rdx,4), %xmm0
movq -0x58(%rbp), %rcx
movslq -0x74(%rbp), %rdx
movss %xmm0, (%rcx,%rdx,4)
movq 0x10(%rax), %rcx
movslq -0x74(%rbp), %rdx
movss (%rcx,%rdx,4), %xmm0
movq 0x10(%rax), %rax
movslq -0x74(%rbp), %rcx
mulss (%rax,%rcx,4), %xmm0
movq -0x60(%rbp), %rax
movslq -0x74(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x74(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x74(%rbp)
jmp 0x442e2
movq -0x148(%rbp), %rax
movq 0x58(%rax), %rdi
movq -0x68(%rbp), %rsi
movl -0x24(%rbp), %edx
movq -0x30(%rbp), %rcx
leaq 0x3324e(%rip), %r8      # 0x775bc
callq 0x5ed60
movq -0x148(%rbp), %rax
movq 0x50(%rax), %rdi
movq -0x58(%rbp), %rsi
movl -0x14(%rbp), %edx
movq -0x30(%rbp), %rcx
leaq 0x33233(%rip), %r8      # 0x775c3
callq 0x5ed60
leaq -0x140(%rbp), %rdi
movq -0x30(%rbp), %rdx
leaq 0x3b5d5(%rip), %rsi     # 0x7f97c
movb $0x0, %al
callq 0x1200
movq -0x10(%rbp), %rdi
movl -0x14(%rbp), %esi
movq -0x58(%rbp), %rdx
movq -0x8(%rbp), %rcx
movq -0x20(%rbp), %r8
leaq -0x140(%rbp), %r9
leaq 0x3b5b5(%rip), %rax     # 0x7f984
movq %rax, (%rsp)
callq 0x5e440
leaq -0x140(%rbp), %rdi
movq -0x30(%rbp), %rdx
leaq 0x3b5a5(%rip), %rsi     # 0x7f98f
movb $0x0, %al
callq 0x1200
movq -0x148(%rbp), %rax
movq -0x10(%rbp), %rdi
movl -0x14(%rbp), %esi
movq 0x50(%rax), %rdx
movq -0x8(%rbp), %rcx
movq -0x20(%rbp), %r8
leaq -0x140(%rbp), %r9
leaq 0x3b57e(%rip), %rax     # 0x7f997
movq %rax, (%rsp)
callq 0x5e440
movups -0x70(%rbp), %xmm0
movups -0x60(%rbp), %xmm1
movups -0x50(%rbp), %xmm2
movups -0x40(%rbp), %xmm3
movq %rsp, %rax
movups %xmm3, 0x30(%rax)
movups %xmm2, 0x20(%rax)
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
callq 0x16450
addq $0x190, %rsp            # imm = 0x190
popq %rbp
retq
nopw %cs:(%rax,%rax)