// File: /workspace/github_cpp_makefile_star2_O3/npaster[P]gmsh_tools/gmshData.cpp
// Function: gmsh::NodeData::saveNodeData(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, gmsh::Gmesh const&)
void
NodeData::saveNodeData(const std::string name_mesh, const Gmesh& mesh)
{
   Gmesh meshtmp(mesh);

   if (m_subdatas.size() > 0) {
      size_t indnode = mesh.getNumberofNodes();
      for (size_t i = 0; i < m_subdatas.size(); i++) {
         m_subdatas[i].changeIndex(indnode + i + 1);
         meshtmp.addNode(m_subdatas[i].getNode());
         Vertice vert(indnode + i + 1, indnode + i + 1, 1, 1);
         meshtmp.addVertice(vert);
      }
   }
   meshtmp.writeGmesh(name_mesh, 2);
   writeNodeData(name_mesh);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x178, %rsp            # imm = 0x178
movq %rdx, %r14
movq %rsi, -0x38(%rbp)
movq %rdi, %rbx
leaq -0x198(%rbp), %rdi
movq %rdx, %rsi
callq 0xecd4
movq 0x50(%rbx), %rax
cmpq 0x48(%rbx), %rax
je 0xd9df
movq %r14, %rdi
callq 0x3e9c
movq %rax, -0x30(%rbp)
movq 0x48(%rbx), %rdi
cmpq %rdi, 0x50(%rbx)
je 0xd9df
incq -0x30(%rbp)
movl $0x20, %r15d
xorl %r12d, %r12d
leaq -0xb0(%rbp), %r13
movq -0x30(%rbp), %rax
leaq (%rax,%r12), %r14
movq %r14, -0x20(%rdi,%r15)
addq %r15, %rdi
movq %r14, %rsi
callq 0x2b26
movq 0x48(%rbx), %rax
movq 0x20(%rax,%r15), %rcx
movq %rcx, -0x90(%rbp)
movups (%rax,%r15), %xmm0
movups 0x10(%rax,%r15), %xmm1
movaps %xmm1, -0xa0(%rbp)
movaps %xmm0, -0xb0(%rbp)
leaq -0x198(%rbp), %rdi
movq %r13, %rsi
callq 0x9684
movl $0x1, %ecx
movl $0x1, %r8d
movq %r13, %rdi
movq %r14, %rsi
movq %r14, %rdx
callq 0x2f18
leaq -0x198(%rbp), %rdi
movq %r13, %rsi
callq 0x96bc
movq -0xb0(%rbp), %rdi
testq %rdi, %rdi
je 0xd9b2
callq 0x21e0
incq %r12
movq 0x48(%rbx), %rdi
movq 0x50(%rbx), %rax
subq %rdi, %rax
sarq $0x3, %rax
movabsq $-0x71c71c71c71c71c7, %rcx # imm = 0x8E38E38E38E38E39
imulq %rcx, %rax
addq $0x48, %r15
cmpq %rax, %r12
jb 0xd929
leaq -0x68(%rbp), %r14
movq %r14, -0x10(%r14)
movq -0x38(%rbp), %r15
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq -0x78(%rbp), %rdi
callq 0xb17c
leaq -0x198(%rbp), %rdi
leaq -0x78(%rbp), %rsi
movl $0x2, %edx
callq 0x917c
movq -0x78(%rbp), %rdi
cmpq %r14, %rdi
je 0xda21
callq 0x21e0
leaq -0x48(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq -0x58(%rbp), %rdi
callq 0xb17c
leaq -0x58(%rbp), %rsi
movq %rbx, %rdi
callq 0xd14e
movq -0x58(%rbp), %rdi
cmpq %r14, %rdi
je 0xda56
callq 0x21e0
leaq -0xd0(%rbp), %rdi
callq 0xeefe
leaq -0xe8(%rbp), %rdi
callq 0xab88
leaq -0x100(%rbp), %rdi
callq 0xabdc
leaq -0x118(%rbp), %rdi
callq 0xa9a8
leaq -0x130(%rbp), %rdi
callq 0xa9fc
leaq -0x148(%rbp), %rdi
callq 0xa7c8
leaq -0x160(%rbp), %rdi
callq 0xa81c
leaq -0x178(%rbp), %rbx
movq %rbx, %rdi
callq 0xa63c
movq -0x18(%rbx), %rdi
testq %rdi, %rdi
je 0xdac7
callq 0x21e0
addq $0x178, %rsp            # imm = 0x178
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xdaf8
movq %rax, %rbx
movq -0x58(%rbp), %rdi
jmp 0xdaeb
movq %rax, %rbx
movq -0x78(%rbp), %rdi
cmpq %r14, %rdi
jne 0xdb1e
jmp 0xdafb
jmp 0xdaf8
jmp 0xdaf8
jmp 0xdaf8
movq %rax, %rbx
leaq -0x198(%rbp), %rdi
callq 0xee34
movq %rbx, %rdi
callq 0x22f0
movq %rax, %rbx
movq -0xb0(%rbp), %rdi
testq %rdi, %rdi
je 0xdafb
callq 0x21e0
jmp 0xdafb
nop