// File: /workspace/github_cpp_makefile_star2_O3/Luthaf[P]zeopp/area_and_volume.cc
// Function: NEWreportPointsValue(std::ostream&, ATOM_NETWORK*, std::vector<Point, std::allocator<Point>>*, std::vector<int, std::allocator<int>>*, std::vector<double, std::allocator<double>>*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void NEWreportPointsValue(ostream &output, ATOM_NETWORK *atmnet, vector<Point> *axsPoints, vector<int> *axsPChIDs, 
                                                         vector<double> *value, string type)
{ 
 if(type=="ZEOVIS")
   {
   cout << "ZEOVIS not supported. Not saving anything.\n";
   } 
 else if(type=="VISIT")
  {
  for(unsigned int i = 0; i < axsPoints->size(); i++){
    Point coords = atmnet->abc_to_xyz(axsPoints->at(i));
    output << coords[0] << " " << coords[1] << " " << coords[2] << " " << axsPChIDs->at(i) << "  " << value->at(i) << "\n";
    }

  }
 else if(type=="LIVERPOOL")
  {
  for(unsigned int i = 0; i < axsPoints->size(); i++){
    Point coords = axsPoints->at(i);
    output << coords[0] << " " << coords[1] << " " << coords[2] << " " << axsPChIDs->at(i) << "  " << value->at(i) << "\n";
    }
  }
 else
  {
  cout << "Output format unknown. Points not saved\n";
  };


}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %r9, %r12
movq %r8, 0x20(%rsp)
movq %rcx, 0x28(%rsp)
movq %rdx, %r15
movq %rsi, 0x38(%rsp)
movq %rdi, 0x30(%rsp)
leaq 0x1147eb(%rip), %rsi    # 0x151670
movq %r9, %rdi
callq 0x4170
testl %eax, %eax
je 0x3ced0
leaq 0x11480f(%rip), %rsi    # 0x1516a7
movq %r12, %rdi
callq 0x4170
testl %eax, %eax
je 0x3cef6
leaq 0x11480e(%rip), %rsi    # 0x1516b9
movq %r12, %rdi
callq 0x4170
testl %eax, %eax
je 0x3d069
movq 0x1580fe(%rip), %rdi    # 0x194fc0
leaq 0x1147fa(%rip), %rsi    # 0x1516c3
movl $0x28, %edx
jmp 0x3cee3
movq 0x1580e9(%rip), %rdi    # 0x194fc0
leaq 0x11480e(%rip), %rsi    # 0x1516ec
movl $0x2b, %edx
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x44e0
movq (%r15), %rax
cmpq %rax, 0x8(%r15)
je 0x3d1ce
movl $0x1, %ebx
xorl %r12d, %r12d
leaq 0x40(%rsp), %rbp
leaq (%r12,%r12,2), %rcx
movq 0x10(%rax,%rcx,8), %rdx
movq %rdx, 0x10(%rsp)
movups (%rax,%rcx,8), %xmm0
movups %xmm0, (%rsp)
movq %rbp, %rdi
movq 0x38(%rsp), %rsi
callq 0x51d04
movq %rbp, %rdi
xorl %esi, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movq 0x30(%rsp), %rdi
callq 0x46b0
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
leaq 0x118679(%rip), %r14    # 0x1555d6
movq %r14, %rsi
callq 0x44e0
movq %rbp, %rdi
movl $0x1, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movq %r13, %rdi
callq 0x46b0
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x44e0
movq %rbp, %rdi
movl $0x2, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movq %r13, %rdi
callq 0x46b0
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x44e0
movq 0x28(%rsp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rdx
subq %rax, %rdx
sarq $0x2, %rdx
cmpq %r12, %rdx
jbe 0x3d1dd
movl (%rax,%r12,4), %esi
movq %r13, %rdi
callq 0x4750
movq %rax, %r13
movl $0x2, %edx
movq %rax, %rdi
leaq 0x1104e8(%rip), %rsi    # 0x14d4df
callq 0x44e0
movq 0x20(%rsp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %r12, %rdx
jbe 0x3d1dd
movsd (%rax,%r12,8), %xmm0
movq %r13, %rdi
callq 0x46b0
movl $0x1, %edx
movq %rax, %rdi
leaq 0x1165e9(%rip), %rsi    # 0x15361e
callq 0x44e0
movl %ebx, %r12d
movq (%r15), %rax
movq 0x8(%r15), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %rcx
incl %ebx
cmpq %r12, %rcx
ja 0x3cf10
jmp 0x3d1ce
movq (%r15), %rax
cmpq %rax, 0x8(%r15)
je 0x3d1ce
movl $0x1, %ebx
xorl %r13d, %r13d
leaq 0x40(%rsp), %r14
leaq 0x11854c(%rip), %rbp    # 0x1555d6
leaq (,%r13,2), %rcx
addq %r13, %rcx
movq 0x10(%rax,%rcx,8), %rdx
movq %rdx, 0x50(%rsp)
movups (%rax,%rcx,8), %xmm0
movaps %xmm0, 0x40(%rsp)
movq %r14, %rdi
xorl %esi, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movq 0x30(%rsp), %rdi
callq 0x46b0
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x44e0
movq %r14, %rdi
movl $0x1, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movq %r12, %rdi
callq 0x46b0
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x44e0
movq %r14, %rdi
movl $0x2, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movq %r12, %rdi
callq 0x46b0
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x44e0
movq 0x28(%rsp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rdx
subq %rax, %rdx
sarq $0x2, %rdx
cmpq %r13, %rdx
jbe 0x3d1e9
movl (%rax,%r13,4), %esi
movq %r12, %rdi
callq 0x4750
movq %rax, %r12
movl $0x2, %edx
movq %rax, %rdi
leaq 0x11037a(%rip), %rsi    # 0x14d4df
callq 0x44e0
movq 0x20(%rsp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %r13, %rdx
jbe 0x3d1e9
movsd (%rax,%r13,8), %xmm0
movq %r12, %rdi
callq 0x46b0
movl $0x1, %edx
movq %rax, %rdi
leaq 0x11647f(%rip), %rsi    # 0x15361e
callq 0x44e0
movl %ebx, %r13d
movq (%r15), %rax
movq 0x8(%r15), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %rcx
incl %ebx
cmpq %r13, %rcx
ja 0x3d08a
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x110511(%rip), %rdi    # 0x14d6f5
movq %r12, %rsi
jmp 0x3d1f3
leaq 0x110505(%rip), %rdi    # 0x14d6f5
movq %r13, %rsi
xorl %eax, %eax
callq 0x4630