// File: /workspace/github_c_makefile_star2_O3/gplessis[P]dotdeb-redis/deps/lua/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 == 0) status = docall(L, 0, 0);
    report(L, status);
    if (status == 0 && lua_gettop(L) > 0) {  /* any result to print? */
      lua_getglobal(L, "print");
      lua_insert(L, 1);
      if (lua_pcall(L, lua_gettop(L)-1, 0, 0) != 0)
        l_message(progname, lua_pushfstring(L,
                               "error calling " LUA_QL("print") " (%s)",
                               lua_tostring(L, -1)));
    }
  }
  lua_settop(L, 0);  /* clear stack */
  fputs("\n", stdout);
  fflush(stdout);
  progname = oldprogname;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq 0x2240b(%rip), %rax     # 0x272d8
movq %rax, 0x8(%rsp)
movq $0x0, 0x223fb(%rip) # 0x272d8
xorl %esi, %esi
callq 0x54e9
movq %rbx, %rdi
movl $0x1, %esi
callq 0x52b4
testl %eax, %eax
je 0x508e
leaq 0x1631c(%rip), %r14     # 0x1b21c
leaq 0x10(%rsp), %r15
leaq 0x16336(%rip), %r12     # 0x1b242
leaq 0x17135(%rip), %r13     # 0x1c048
movq %rbx, %rdi
movl $0x1, %esi
xorl %edx, %edx
callq 0x5a88
movq %rax, %rbp
movq %rbx, %rdi
movl $0x1, %esi
callq 0x5af9
movq %rbx, %rdi
movq %rbp, %rsi
movq %rax, %rdx
movq %r14, %rcx
callq 0x117dc
cmpl $0x3, %eax
jne 0x4fc7
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movq %r15, %rdx
callq 0x5a88
movq 0x10(%rsp), %rcx
leaq (%rax,%rcx), %rbp
addq $-0x7, %rbp
movq %rax, %rdi
movq %r12, %rsi
callq 0x4540
movq %rbx, %rdi
cmpq %rbp, %rax
jne 0x5056
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x54e9
movq %rbx, %rdi
xorl %esi, %esi
callq 0x52b4
testl %eax, %eax
je 0x508e
movl $0x1, %edx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x5c5a
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x572e
movq %rbx, %rdi
movl $0x3, %esi
callq 0x65fa
jmp 0x4f13
movl %eax, %ebp
movq %rbx, %rdi
movl $0x1, %esi
callq 0x5640
testl %ebp, %ebp
je 0x4fe8
cmpl $-0x1, %ebp
jne 0x5065
jmp 0x508e
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x5125
movl %eax, %ebp
movq %rbx, %rdi
movl %eax, %esi
callq 0x4e86
testl %ebp, %ebp
jne 0x506f
movq %rbx, %rdi
callq 0x54dc
testl %eax, %eax
jle 0x506f
movq %rbx, %rdi
movl $0xffffd8ee, %esi       # imm = 0xFFFFD8EE
leaq 0x161dc(%rip), %rdx     # 0x1b1fb
callq 0x5eef
movq %rbx, %rdi
movl $0x1, %esi
callq 0x572e
movq %rbx, %rdi
callq 0x54dc
leal -0x1(%rax), %esi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x633d
testl %eax, %eax
je 0x506f
movq %rbx, %rdi
callq 0x46b3
jmp 0x506f
movl $0x1, %esi
callq 0x5640
movl $0x3, %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x4e86
movq %rbx, %rdi
xorl %esi, %esi
callq 0x54e9
movq %rbx, %rdi
movl $0x1, %esi
callq 0x52b4
testl %eax, %eax
jne 0x4f13
movq %rbx, %rdi
xorl %esi, %esi
callq 0x54e9
movq 0x21f31(%rip), %rbx     # 0x26fd0
movq (%rbx), %rsi
leaq 0x16f9f(%rip), %rdi     # 0x1c048
callq 0x41a0
movq (%rbx), %rdi
callq 0x4350
movq 0x8(%rsp), %rax
movq %rax, 0x22216(%rip)     # 0x272d8
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq