// File: /workspace/github_cpp_makefile_star2_O1/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 0x11631b(%rip), %rsi    # 0x1535c0
movq %r9, %rdi
callq 0x4170
testl %eax, %eax
je 0x3d2f0
leaq 0x11633f(%rip), %rsi    # 0x1535f7
movq %r12, %rdi
callq 0x4170
testl %eax, %eax
je 0x3d316
leaq 0x11633e(%rip), %rsi    # 0x153609
movq %r12, %rdi
callq 0x4170
testl %eax, %eax
je 0x3d489
movq 0x159cde(%rip), %rdi    # 0x196fc0
leaq 0x11632a(%rip), %rsi    # 0x153613
movl $0x28, %edx
jmp 0x3d303
movq 0x159cc9(%rip), %rdi    # 0x196fc0
leaq 0x11633e(%rip), %rsi    # 0x15363c
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 0x3d5ee
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 0x52144
movq %rbp, %rdi
xorl %esi, %esi
callq 0x85478
movsd (%rax), %xmm0
movq 0x30(%rsp), %rdi
callq 0x46b0
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
leaq 0x11a109(%rip), %r14    # 0x157486
movq %r14, %rsi
callq 0x44e0
movq %rbp, %rdi
movl $0x1, %esi
callq 0x85478
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 0x85478
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 0x3d5fd
movl (%rax,%r12,4), %esi
movq %r13, %rdi
callq 0x4750
movq %rax, %r13
movl $0x2, %edx
movq %rax, %rdi
leaq 0x112078(%rip), %rsi    # 0x14f48f
callq 0x44e0
movq 0x20(%rsp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %r12, %rdx
jbe 0x3d5fd
movsd (%rax,%r12,8), %xmm0
movq %r13, %rdi
callq 0x46b0
movl $0x1, %edx
movq %rax, %rdi
leaq 0x1180d9(%rip), %rsi    # 0x15552e
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 0x3d330
jmp 0x3d5ee
movq (%r15), %rax
cmpq %rax, 0x8(%r15)
je 0x3d5ee
movl $0x1, %ebx
xorl %r13d, %r13d
leaq 0x40(%rsp), %r14
leaq 0x119fdc(%rip), %rbp    # 0x157486
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 0x85478
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 0x85478
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 0x85478
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 0x3d609
movl (%rax,%r13,4), %esi
movq %r12, %rdi
callq 0x4750
movq %rax, %r12
movl $0x2, %edx
movq %rax, %rdi
leaq 0x111f0a(%rip), %rsi    # 0x14f48f
callq 0x44e0
movq 0x20(%rsp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %r13, %rdx
jbe 0x3d609
movsd (%rax,%r13,8), %xmm0
movq %r12, %rdi
callq 0x46b0
movl $0x1, %edx
movq %rax, %rdi
leaq 0x117f6f(%rip), %rsi    # 0x15552e
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 0x3d4aa
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1120a1(%rip), %rdi    # 0x14f6a5
movq %r12, %rsi
jmp 0x3d613
leaq 0x112095(%rip), %rdi    # 0x14f6a5
movq %r13, %rsi
xorl %eax, %eax
callq 0x4630