// File: /workspace/github_cpp_makefile_star2_O1/ArashPartow[P]exprtk-extras/exprtk_repl.cpp
// Function: void repl<double>(int, char**)
void repl(int argc, char* argv[])
{
   expression_processor<T> processor;

   if (argc > 1)
   {
      for (int i = 1; i < argc; ++i)
      {
         processor.process_from_file(argv[i]);
      }
   }
   else
   {
      for ( ; ; )
      {
         std::string expression;

         std::cout << ">> ";
         std::getline(std::cin,expression);

         if (expression.empty())
            continue;
         else if ("exit" == expression)
            break;
         else if ("quit" == expression)
            break;
         else if ('$' == expression[0])
            processor.process_directive(expression);
         else
            processor.process(expression);
      }
   }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20b8, %rsp           # imm = 0x20B8
movq %rsi, %rbx
movl %edi, %ebp
leaq 0x68(%rsp), %rdi
callq 0x121b0e
cmpl $0x1, %ebp
jle 0x12188a
movl %ebp, %ebp
movl $0x1, %r13d
leaq 0x8(%rsp), %r14
leaq 0x7(%rsp), %r15
leaq 0x68(%rsp), %r12
movq (%rbx,%r13,8), %rsi
movq %r14, %rdi
movq %r15, %rdx
callq 0x1217ce
movq %r12, %rdi
movq %r14, %rsi
callq 0x122b2c
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x12187d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x11e0d0
incq %r13
cmpq %r13, %rbp
jne 0x121847
jmp 0x1219d7
leaq 0x18(%rsp), %rbp
movq 0x34273a(%rip), %rbx    # 0x463fd0
leaq 0x1c90eb(%rip), %r14    # 0x2ea988
movq 0x342744(%rip), %r15    # 0x463fe8
leaq 0x8(%rsp), %r12
movq %rbp, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
movb $0x0, 0x18(%rsp)
movl $0x3, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x11e5d0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x11e630
movsbl %al, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x11e030
cmpq $0x0, 0x10(%rsp)
je 0x1219b4
movq %r12, %rdi
leaq 0x1c9088(%rip), %rsi    # 0x2ea98c
callq 0x11e550
movb $0x1, %r13b
testl %eax, %eax
je 0x1219b7
movq %r12, %rdi
leaq 0x1c9073(%rip), %rsi    # 0x2ea991
callq 0x11e550
testl %eax, %eax
je 0x1219b7
movq 0x8(%rsp), %rsi
cmpb $0x24, (%rsi)
jne 0x12196c
leaq 0x58(%rsp), %rax
movq %rax, 0x48(%rsp)
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %rdi
callq 0x2e41d0
leaq 0x68(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x122c1a
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rcx
jmp 0x1219a1
leaq 0x38(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %rdi
callq 0x2e41d0
leaq 0x68(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x1231e8
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rcx
movq %rcx, %rax
cmpq %rcx, %rdi
je 0x1219b4
movq (%rax), %rsi
incq %rsi
callq 0x11e0d0
xorl %r13d, %r13d
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x1219ce
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x11e0d0
testb %r13b, %r13b
je 0x1218a9
leaq 0x68(%rsp), %rdi
callq 0x123cf8
addq $0x20b8, %rsp           # imm = 0x20B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x121a49
movq 0x38(%rsp), %rsi
jmp 0x121a23
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x121a49
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x11e0d0
jmp 0x121a49
movq %rax, %rbx
jmp 0x121a60
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
jne 0x121a53
jmp 0x121a60
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x121a60
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x11e0d0
leaq 0x68(%rsp), %rdi
callq 0x123cf8
movq %rbx, %rdi
callq 0x11e3c0