// File: /workspace/github_c_makefile_star2_O3/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 %rdi, %rbx
movq 0x262bc(%rip), %rax     # 0x2d310
movq %rax, 0x8(%rsp)
movq $0x0, 0x262ac(%rip) # 0x2d310
xorl %esi, %esi
callq 0x7688
movq %rbx, %rdi
movl $0x1, %esi
callq 0x744e
testl %eax, %eax
je 0x7233
movq %rsp, %r14
leaq 0x19249(%rip), %r15     # 0x202d3
leaq 0x10(%rsp), %r12
leaq 0x19263(%rip), %r13     # 0x202f9
movq %rbx, %rdi
movl $0x1, %esi
movq %r14, %rdx
callq 0x7cea
movq (%rsp), %rdx
movq %rbx, %rdi
movq %rax, %rsi
movq %r15, %rcx
xorl %r8d, %r8d
callq 0x9efc
cmpl $0x3, %eax
jne 0x714d
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movq %r12, %rdx
callq 0x7cea
movq 0x10(%rsp), %rcx
cmpq $0x5, %rcx
jb 0x71f8
leaq (%rax,%rcx), %rdi
addq $-0x5, %rdi
movq %r13, %rsi
callq 0x62e0
testl %eax, %eax
jne 0x71f8
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x7688
movq %rbx, %rdi
xorl %esi, %esi
callq 0x744e
testl %eax, %eax
je 0x7233
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x1ac1e(%rip), %rsi     # 0x21d47
callq 0x7ecb
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x789f
movq %rbx, %rdi
movl $0x3, %esi
callq 0x8ac0
jmp 0x7096
movl %eax, %ebp
movq %rbx, %rdi
movl $0x1, %esi
callq 0x77ed
testl %ebp, %ebp
je 0x716e
cmpl $-0x1, %ebp
jne 0x720a
jmp 0x7233
movq %rbx, %rdi
xorl %esi, %esi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x72e3
movl %eax, %ebp
movq %rbx, %rdi
movl %eax, %esi
callq 0x736d
testl %ebp, %ebp
jne 0x7214
movq %rbx, %rdi
callq 0x7674
testl %eax, %eax
jle 0x7214
movq %rbx, %rdi
movl $0x14, %esi
leaq 0x190f2(%rip), %rdx     # 0x2029e
callq 0x96ca
movq %rbx, %rdi
leaq 0x190f7(%rip), %rsi     # 0x202b2
callq 0x8137
movq %rbx, %rdi
movl $0x1, %esi
callq 0x789f
movq %rbx, %rdi
callq 0x7674
leal -0x1(%rax), %esi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x8776
testl %eax, %eax
je 0x7214
movq %rbx, %rdi
callq 0x66f3
jmp 0x7214
movq %rbx, %rdi
movl $0x1, %esi
callq 0x77ed
movl $0x3, %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x736d
movq %rbx, %rdi
xorl %esi, %esi
callq 0x7688
movq %rbx, %rdi
movl $0x1, %esi
callq 0x744e
testl %eax, %eax
jne 0x7096
movq %rbx, %rdi
xorl %esi, %esi
callq 0x7688
movq 0x25d84(%rip), %rbx     # 0x2cfc8
movq (%rbx), %rsi
movl $0xa, %edi
callq 0x6260
movq (%rbx), %rdi
callq 0x63c0
movq 0x8(%rsp), %rax
movq %rax, 0x260ab(%rip)     # 0x2d310
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq