// File: /workspace/github_c_makefile_star2_O1/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 0x26298(%rip), %rax     # 0x2d310
movq %rax, (%rsp)
movq $0x0, 0x26289(%rip) # 0x2d310
leaq 0x8(%rsp), %r12
leaq 0x19243(%rip), %r13     # 0x202d6
leaq 0x10(%rsp), %rbp
movq %rbx, %rdi
xorl %esi, %esi
callq 0x7697
movq %rbx, %rdi
movl $0x1, %esi
callq 0x7462
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
testl %eax, %eax
je 0x71a0
movq %rbx, %rdi
movl $0x1, %esi
movq %r12, %rdx
callq 0x7bdc
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
movq %rax, %rsi
movq %r13, %rcx
xorl %r8d, %r8d
callq 0x9da8
movl %eax, %r15d
movl $0x2, %r14d
cmpl $0x3, %eax
jne 0x717c
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movq %rbp, %rdx
callq 0x7bdc
movq 0x10(%rsp), %rcx
cmpq $0x5, %rcx
jb 0x717c
leaq (%rax,%rcx), %rdi
addq $-0x5, %rdi
leaq 0x191dd(%rip), %rsi     # 0x202fc
callq 0x62e0
testl %eax, %eax
jne 0x717c
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x7697
movq %rbx, %rdi
xorl %esi, %esi
callq 0x7462
testl %eax, %eax
je 0x7176
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x1abf5(%rip), %rsi     # 0x21d47
callq 0x7dc7
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x779a
movq %rbx, %rdi
movl $0x3, %esi
callq 0x899d
xorl %r14d, %r14d
jmp 0x717c
movl $0x1, %r14d
testl %r14d, %r14d
je 0x70bd
cmpl $0x2, %r14d
jne 0x719a
movq %rbx, %rdi
movl $0x1, %esi
callq 0x76e8
jmp 0x71a0
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
testl %r15d, %r15d
je 0x71b0
cmpl $-0x1, %r15d
jne 0x71c2
jmp 0x7248
movq %rbx, %rdi
xorl %esi, %esi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x72f7
movl %eax, %r15d
movq %rbx, %rdi
movl %r15d, %esi
callq 0x7381
testl %r15d, %r15d
jne 0x7098
movq %rbx, %rdi
callq 0x7683
testl %eax, %eax
jle 0x7098
movq %rbx, %rdi
movl $0x14, %esi
leaq 0x190ac(%rip), %rdx     # 0x202a1
callq 0x9593
movq %rbx, %rdi
leaq 0x190b1(%rip), %rsi     # 0x202b5
callq 0x8033
movq %rbx, %rdi
movl $0x1, %esi
callq 0x779a
movq %rbx, %rdi
callq 0x7683
leal -0x1(%rax), %esi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x8652
testl %eax, %eax
je 0x7098
movq %rbx, %rdi
callq 0x66f3
jmp 0x7098
movq %rbx, %rdi
xorl %esi, %esi
callq 0x7697
movq 0x25d6f(%rip), %rbx     # 0x2cfc8
movq (%rbx), %rsi
movl $0xa, %edi
callq 0x6260
movq (%rbx), %rdi
callq 0x63c0
movq (%rsp), %rax
movq %rax, 0x26097(%rip)     # 0x2d310
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq