// File: /workspace/github_c_makefile_star2_O2/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/lua.c
// Function: dotty
static void dotty (lua_State *L) {
  int status;
  const char *oldprogname = progname;
  progname = NULL;
  while ((status = loadline(L)) != -1) {
    if (status == LUA_OK) status = docall(L, 0, LUA_MULTRET);
    report(L, status);
    if (status == LUA_OK && lua_gettop(L) > 0) {  /* any result to print? */
      luaL_checkstack(L, LUA_MINSTACK, "too many results to print");
      lua_getglobal(L, "print");
      lua_insert(L, 1);
      if (lua_pcall(L, lua_gettop(L)-1, 0, 0) != LUA_OK)
        l_message(progname, lua_pushfstring(L,
                               "error calling " LUA_QL("print") " (%s)",
                               lua_tostring(L, -1)));
    }
  }
  lua_settop(L, 0);  /* clear stack */
  luai_writeline();
  progname = oldprogname;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq 0x26510(%rip), %rax     # 0x2d308
movq %rax, (%rsp)
andq $0x0, 0x26504(%rip)     # 0x2d308
movq %rdi, %rbx
pushq $0x1
popq %rbp
leaq 0x174c2(%rip), %r15     # 0x1e2d3
pushq $-0x1
popq %r12
pushq $-0x2
popq %r13
movq %rbx, %rdi
xorl %esi, %esi
callq 0x7437
movq %rbx, %rdi
movl %ebp, %esi
callq 0x7206
testl %eax, %eax
je 0x6fc9
movq %rbx, %rdi
movl %ebp, %esi
leaq 0x8(%rsp), %rdx
callq 0x7967
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
movq %rax, %rsi
movq %r15, %rcx
xorl %r8d, %r8d
callq 0x9a5e
cmpl $0x3, %eax
jne 0x6ef0
movq %rbx, %rdi
movl %r12d, %esi
leaq 0x10(%rsp), %rdx
callq 0x7967
movq 0x10(%rsp), %rcx
cmpq $0x5, %rcx
jb 0x6ee0
leaq (%rax,%rcx), %rdi
addq $-0x5, %rdi
leaq 0x1746c(%rip), %rsi     # 0x1e2f9
callq 0x62d0
testl %eax, %eax
jne 0x6ee0
movq %rbx, %rdi
movl %r13d, %esi
callq 0x7437
movq %rbx, %rdi
xorl %esi, %esi
callq 0x7206
testl %eax, %eax
je 0x6fc9
movq %rbx, %rdi
leaq 0x18e46(%rip), %rsi     # 0x1fd03
pushq $0x1
popq %rdx
callq 0x7b27
movq %rbx, %rdi
movl %r13d, %esi
callq 0x7537
movq %rbx, %rdi
pushq $0x3
popq %rsi
callq 0x8700
jmp 0x6e35
movq %rbx, %rdi
movl %ebp, %esi
callq 0x7485
pushq $0x3
popq %r14
jmp 0x6f1d
movl %eax, %r14d
movq %rbx, %rdi
movl %ebp, %esi
callq 0x7485
testl %r14d, %r14d
je 0x6f0d
cmpl $-0x1, %r14d
jne 0x6f1d
jmp 0x6fc9
movq %rbx, %rdi
xorl %esi, %esi
movl %r12d, %edx
callq 0x7076
movl %eax, %r14d
movq %rbx, %rdi
movl %r14d, %esi
callq 0x70ff
testl %r14d, %r14d
jne 0x6e19
movq %rbx, %rdi
callq 0x7423
testl %eax, %eax
jle 0x6e19
movq %rbx, %rdi
pushq $0x14
popq %rsi
leaq 0x17350(%rip), %rdx     # 0x1e29e
callq 0x9291
movq %rbx, %rdi
leaq 0x17355(%rip), %rsi     # 0x1e2b2
callq 0x7d8f
movq %rbx, %rdi
movl %ebp, %esi
callq 0x7537
movq %rbx, %rdi
callq 0x7423
leal -0x1(%rax), %esi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x83be
testl %eax, %eax
je 0x6e19
movq 0x26370(%rip), %r14     # 0x2d308
movq %rbx, %rdi
movl %r12d, %esi
xorl %edx, %edx
callq 0x7967
movq %rbx, %rdi
leaq 0x17309(%rip), %rsi     # 0x1e2b8
movq %rax, %rdx
xorl %eax, %eax
callq 0x7c0d
movq %r14, %rdi
movq %rax, %rsi
callq 0x67ca
jmp 0x6e19
movq %rbx, %rdi
xorl %esi, %esi
callq 0x7437
movq 0x25fee(%rip), %rbx     # 0x2cfc8
movq (%rbx), %rsi
pushq $0xa
popq %rdi
callq 0x6250
movq (%rbx), %rdi
callq 0x63b0
movq (%rsp), %rax
movq %rax, 0x26310(%rip)     # 0x2d308
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq