// File: /workspace/github_cpp_makefile_star2_O2/WolfgangLechner[P]StructureAnalysis/molecular_system.cpp
// Function: CMolecularSystem::update_bondOrderHistogramms()
void CMolecularSystem::update_bondOrderHistogramms()
{

  double a,b;
  int n;
  int nop;
  nop = parameter->nop;
  a = OrderParameterHistoStart;
  b = OrderParameterHistoStop;
  n = OrderParameterHistoSize;

  for (int ti= 0;ti<this->parameter->nop;ti++)
  {
    q4Histo[get_HistoBox(this->molecules[ti].Q4,a,b,n)]   += 1;
    q6Histo[get_HistoBox(this->molecules[ti].Q6,a,b,n)]   += 1;
    aq4Histo[get_HistoBox(this->molecules[ti].AQ4,a,b,n)] += 1;
    aq6Histo[get_HistoBox(this->molecules[ti].AQ6,a,b,n)] += 1;
    q46Histo3d[get_HistoBox(this->molecules[ti].Q4,a,b,n)][get_HistoBox(this->molecules[ti].Q6,a,b,n)] += 1;
    aq46Histo3d[get_HistoBox(this->molecules[ti].AQ4,a,b,n)][get_HistoBox(this->molecules[ti].AQ6,a,b,n)] += 1;
  }
  this->normq4 += nop;
  this->normq6 += nop;
  this->normaq4 += nop;
  this->normaq6 += nop;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq 0xb4e8c0(%rdi), %rax
movl 0x3208(%rax), %eax
leaq 0x3ea4(%rdi), %rcx
movq %rcx, -0x38(%rbp)
leaq 0x3d47a4(%rdi), %r12
xorl %r13d, %r13d
movl %eax, -0x2c(%rbp)
xorl %r14d, %r14d
cltq
cmpq %rax, %r14
jge 0x5899
movq 0xb4e8b8(%rbx), %rax
movsd 0x820(%rax,%r13), %xmm0
movsd 0x1960(%rip), %xmm1     # 0x7058
movsd 0x1908(%rip), %xmm2     # 0x7008
movl $0x3e8, %esi            # imm = 0x3E8
callq 0x563a
cltq
incl 0x24(%rbx,%rax,4)
movq 0xb4e8b8(%rbx), %rax
movsd 0x818(%rax,%r13), %xmm0
movsd 0x192f(%rip), %xmm1     # 0x7058
movsd 0x18d7(%rip), %xmm2     # 0x7008
movl $0x3e8, %esi            # imm = 0x3E8
callq 0x563a
cltq
incl 0xfc4(%rbx,%rax,4)
movq 0xb4e8b8(%rbx), %rax
movsd 0x840(%rax,%r13), %xmm0
movsd 0x18fb(%rip), %xmm1     # 0x7058
movsd 0x18a3(%rip), %xmm2     # 0x7008
movl $0x3e8, %esi            # imm = 0x3E8
callq 0x563a
cltq
incl 0x1f64(%rbx,%rax,4)
movq 0xb4e8b8(%rbx), %rax
movsd 0x838(%rax,%r13), %xmm0
movsd 0x18c7(%rip), %xmm1     # 0x7058
movsd 0x186f(%rip), %xmm2     # 0x7008
movl $0x3e8, %esi            # imm = 0x3E8
callq 0x563a
cltq
incl 0x2f04(%rbx,%rax,4)
movq 0xb4e8b8(%rbx), %rax
movsd 0x820(%rax,%r13), %xmm0
movsd 0x1893(%rip), %xmm1     # 0x7058
movsd 0x183b(%rip), %xmm2     # 0x7008
movl $0x3e8, %esi            # imm = 0x3E8
callq 0x563a
movslq %eax, %r15
movq 0xb4e8b8(%rbx), %rax
movsd 0x818(%rax,%r13), %xmm0
movsd 0x1865(%rip), %xmm1     # 0x7058
movsd 0x180d(%rip), %xmm2     # 0x7008
movl $0x3e8, %esi            # imm = 0x3E8
callq 0x563a
cltq
imulq $0xfa0, %r15, %rcx      # imm = 0xFA0
addq -0x38(%rbp), %rcx
incl (%rcx,%rax,4)
movq 0xb4e8b8(%rbx), %rax
movsd 0x840(%rax,%r13), %xmm0
movsd 0x182a(%rip), %xmm1     # 0x7058
movsd 0x17d2(%rip), %xmm2     # 0x7008
movl $0x3e8, %esi            # imm = 0x3E8
callq 0x563a
movslq %eax, %r15
movq 0xb4e8b8(%rbx), %rax
movsd 0x838(%rax,%r13), %xmm0
movsd 0x17fc(%rip), %xmm1     # 0x7058
movsd 0x17a4(%rip), %xmm2     # 0x7008
movl $0x3e8, %esi            # imm = 0x3E8
callq 0x563a
cltq
imulq $0xfa0, %r15, %rcx      # imm = 0xFA0
addq %r12, %rcx
incl (%rcx,%rax,4)
incq %r14
movq 0xb4e8c0(%rbx), %rax
movl 0x3208(%rax), %eax
addq $0x870, %r13            # imm = 0x870
jmp 0x56d4
movl -0x2c(%rbp), %eax
addl %eax, 0x7a50a4(%rbx)
addl %eax, 0x7a50a8(%rbx)
addl %eax, 0x7a50ac(%rbx)
addl %eax, 0x7a50b0(%rbx)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop