// File: /workspace/github_cpp_makefile_star2_O1/ArashPartow[P]exprtk/./exprtk.hpp
// Function: exprtk::details::node_collection_destructor<exprtk::details::expression_node<double>>::collect_nodes(exprtk::details::expression_node<double>*&, std::vector<exprtk::details::expression_node<double>**, std::allocator<exprtk::details::expression_node<double>**>>&)
static void collect_nodes(node_ptr_t& root, noderef_list_t& node_delete_list)
         {
            std::deque<node_ptr_t> node_list;
            node_list.push_back(root);
            node_delete_list.push_back(&root);

            noderef_list_t child_node_delete_list;
            child_node_delete_list.reserve(1000);

            while (!node_list.empty())
            {
               node_list.front()->collect_nodes(child_node_delete_list);

               if (!child_node_delete_list.empty())
               {
                  for (std::size_t i = 0; i < child_node_delete_list.size(); ++i)
                  {
                     node_pp_t& node = child_node_delete_list[i];

                     if (0 == (*node))
                     {
                        exprtk_debug(("ncd::collect_nodes() - null node encountered.\n"));
                     }

                     node_list.push_back(*node);
                  }

                  node_delete_list.insert(
                     node_delete_list.end(),
                     child_node_delete_list.begin(), child_node_delete_list.end());

                  child_node_delete_list.clear();
               }

               node_list.pop_front();
            }

            std::reverse(node_delete_list.begin(), node_delete_list.end());
         }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rsi, %rbx
movq %rdi, %r14
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %r15
movaps %xmm0, 0x40(%r15)
movaps %xmm0, 0x30(%r15)
movaps %xmm0, 0x20(%r15)
movaps %xmm0, 0x10(%r15)
movaps %xmm0, (%r15)
movq %r15, %rdi
xorl %esi, %esi
callq 0x1f1a22
movq 0x30(%r15), %rax
movq 0x40(%r15), %rcx
addq $-0x8, %rcx
cmpq %rcx, %rax
je 0x1f182a
movq (%r14), %rcx
movq %rcx, (%rax)
addq $0x8, 0x50(%rsp)
jmp 0x1f1837
leaq 0x20(%rsp), %rdi
movq %r14, %rsi
callq 0x1f1b98
movq %rsp, %rsi
movq %r14, (%rsi)
movq %rbx, %rdi
callq 0x1f1dac
xorps %xmm0, %xmm0
movq %rsp, %rdi
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movl $0x3e8, %esi            # imm = 0x3E8
callq 0x1f173a
movq 0x30(%rsp), %rax
cmpq %rax, 0x50(%rsp)
je 0x1f195f
movq %rsp, %r14
leaq 0x20(%rsp), %r15
movq (%rax), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x10(%rax)
movq (%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x1f1904
movq (%rsp), %rdx
movq 0x8(%rsp), %rcx
cmpq %rdx, %rcx
je 0x1f18e8
xorl %r12d, %r12d
movq (%rdx,%r12,8), %rsi
movq 0x50(%rsp), %rax
movq 0x60(%rsp), %rcx
addq $-0x8, %rcx
cmpq %rcx, %rax
je 0x1f18c5
movq (%rsi), %rcx
movq %rcx, (%rax)
addq $0x8, 0x50(%rsp)
jmp 0x1f18cd
movq %r15, %rdi
callq 0x1f1b98
incq %r12
movq (%rsp), %rdx
movq 0x8(%rsp), %rcx
movq %rcx, %rax
subq %rdx, %rax
sarq $0x3, %rax
cmpq %rax, %r12
jb 0x1f18a0
movq 0x8(%rbx), %rsi
movq %rbx, %rdi
callq 0x1f1efc
movq (%rsp), %rax
cmpq %rax, 0x8(%rsp)
je 0x1f1904
movq %rax, 0x8(%rsp)
movq 0x30(%rsp), %rax
movq 0x40(%rsp), %rcx
addq $-0x8, %rcx
cmpq %rcx, %rax
je 0x1f191d
addq $0x8, %rax
jmp 0x1f194f
movq 0x38(%rsp), %rdi
movl $0x200, %esi            # imm = 0x200
callq 0x1200c0
movq 0x48(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x48(%rsp)
movq 0x8(%rax), %rax
movq %rax, 0x38(%rsp)
leaq 0x200(%rax), %rcx
movq %rcx, 0x40(%rsp)
movq %rax, 0x30(%rsp)
cmpq %rax, 0x50(%rsp)
jne 0x1f1878
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
cmpq %rcx, %rax
setne %dl
addq $-0x8, %rcx
cmpq %rax, %rcx
seta %sil
andb %dl, %sil
cmpb $0x1, %sil
jne 0x1f19a2
addq $0x8, %rax
movq -0x8(%rax), %rdx
movq (%rcx), %rsi
movq %rsi, -0x8(%rax)
movq %rdx, (%rcx)
addq $-0x8, %rcx
leaq 0x8(%rax), %rdx
cmpq %rcx, %rax
movq %rdx, %rax
jb 0x1f1984
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x1f19b8
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x1200c0
leaq 0x20(%rsp), %rdi
callq 0x1f20f0
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x1f19d2
jmp 0x1f19db
movq %rax, %rbx
jmp 0x1f19f4
jmp 0x1f19db
jmp 0x1f19db
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x1f19f4
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x1200c0
leaq 0x20(%rsp), %rdi
callq 0x1f20f0
movq %rbx, %rdi
callq 0x120330