// File: /workspace/github_cpp_makefile_star2_O2/ArashPartow[P]exprtk/./exprtk.hpp
// Function: exprtk::parser<double>::expression_generator<double>::while_loop(exprtk::details::expression_node<double>*&, exprtk::details::expression_node<double>*&, bool) const
inline expression_node_ptr while_loop(expression_node_ptr& condition,
                                               expression_node_ptr& branch,
                                               const bool break_continue_present = false) const
         {
            if (
                 !break_continue_present              &&
                 !parser_->state_.return_stmt_present &&
                 details::is_constant_node(condition)
               )
            {
               expression_node_ptr result = error_node();
               if (details::is_true(condition))
               {
                  // Infinite loops are not allowed.

                  parser_->set_error(parser_error::make_error(
                     parser_error::e_parser,
                     parser_->current_state().token,
                     "ERR260 - Infinite loop condition without 'break' or 'return' not allowed in while-loops",
                     exprtk_error_location));

                  result = error_node();
               }
               else
                  result = node_allocator_->allocate<details::null_node<Type> >();

               details::free_node(*node_allocator_, condition);
               details::free_node(*node_allocator_, branch   );

               return result;
            }
            else if (details::is_null_node(condition))
            {
               details::free_node(*node_allocator_,condition);

               return branch;
            }

            loop_runtime_check_ptr rtc = get_loop_runtime_check(loop_runtime_check::e_while_loop);

            if (!break_continue_present)
            {
               if (rtc)
                  return node_allocator_->allocate<while_loop_rtc_node_t>
                           (condition, branch,  rtc);
               else
                  return node_allocator_->allocate<while_loop_node_t>
                           (condition, branch);
            }
            #ifndef exprtk_disable_break_continue
            else
            {
               if (rtc)
                  return node_allocator_->allocate<while_loop_bc_rtc_node_t>
                           (condition, branch, rtc);
               else
                  return node_allocator_->allocate<while_loop_bc_node_t>
                           (condition, branch);
            }
            #else
               return error_node();
            #endif
         }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x150, %rsp            # imm = 0x150
movl %ecx, %ebp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
testl %ecx, %ecx
jne 0x28bb66
movq 0x68(%r15), %rax
cmpb $0x0, 0x3ab(%rax)
jne 0x28bb66
movq (%r14), %rdi
callq 0x208267
testb %al, %al
je 0x28bb66
movq (%r14), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x28baa4
jnp 0x28bbfe
movq 0x68(%r15), %r12
leaq 0x68(%rsp), %rdi
movq %r12, %rsi
callq 0x2248d4
leaq 0x4f9af(%rip), %rsi     # 0x2db46b
leaq 0x48(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x127016
leaq 0x8(%rsp), %rdi
movl $0x8012, %esi           # imm = 0x8012
callq 0x1f7a3c
leaq 0x4e11a(%rip), %rsi     # 0x2d9bfb
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x1b4349
leaq 0x78(%rsp), %rdx
leaq 0xa8(%rsp), %rdi
pushq $0x9
popq %rsi
leaq 0x48(%rsp), %rcx
leaq 0x28(%rsp), %r8
callq 0x1f7341
addq $0x308, %r12            # imm = 0x308
leaq 0xa8(%rsp), %rsi
movq %r12, %rdi
callq 0x1f76ce
leaq 0xa8(%rsp), %rdi
callq 0x1f5c4c
leaq 0x28(%rsp), %rdi
callq 0x118648
leaq 0x8(%rsp), %rdi
callq 0x118648
leaq 0x48(%rsp), %rdi
callq 0x118648
leaq 0x80(%rsp), %rdi
callq 0x118648
xorl %r12d, %r12d
jmp 0x28bc0a
movq (%r14), %rdi
testq %rdi, %rdi
je 0x28bb8a
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x1, %eax
jne 0x28bb8a
movq 0x8(%r15), %rdi
movq %r14, %rsi
callq 0x1ad9c8
movq (%rbx), %r12
jmp 0x28bbeb
movq 0x68(%r15), %rax
movq 0x8d8(%rax), %rax
testq %rax, %rax
je 0x28bba0
testb $0x2, 0x8(%rax)
jne 0x28bbbd
movq 0x8(%r15), %rdi
movq %r14, %rsi
movq %rbx, %rdx
testb %bpl, %bpl
je 0x28bbb6
callq 0x28bfbe
jmp 0x28bbe8
callq 0x28bf0a
jmp 0x28bbe8
movq %rax, 0xa8(%rsp)
movq 0x8(%r15), %rdi
leaq 0xa8(%rsp), %rcx
movq %r14, %rsi
movq %rbx, %rdx
testb %bpl, %bpl
je 0x28bbe3
callq 0x28bf5c
jmp 0x28bbe8
callq 0x28bea8
movq %rax, %r12
movq %r12, %rax
addq $0x150, %rsp            # imm = 0x150
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%r15), %rdi
callq 0x208182
movq %rax, %r12
movq 0x8(%r15), %rdi
movq %r14, %rsi
callq 0x1ad9c8
movq 0x8(%r15), %rdi
movq %rbx, %rsi
callq 0x1ad9c8
jmp 0x28bbeb
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
callq 0x1f5c4c
jmp 0x28bc39
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x118648
jmp 0x28bc48
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x118648
jmp 0x28bc57
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x118648
jmp 0x28bc66
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x118648
movq %rbx, %rdi
callq 0x118360
nop