// File: /workspace/github_c_makefile_star2_O2/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 0x226cb(%rip), %rax     # 0x272d0
movq %rax, 0x8(%rsp)
andq $0x0, 0x226be(%rip)     # 0x272d0
movq %rdi, %rbx
pushq $0x1
popq %rbp
leaq 0x145fd(%rip), %r14     # 0x1921c
pushq $-0x1
popq %r15
pushq $-0x2
popq %r12
movq %rbx, %rdi
xorl %esi, %esi
callq 0x51fc
movq %rbx, %rdi
movl %ebp, %esi
callq 0x4fd1
testl %eax, %eax
je 0x4dbf
movq %rbx, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq 0x5665
movq %rax, %r13
movq %rbx, %rdi
movl %ebp, %esi
callq 0x56d3
movq %rbx, %rdi
movq %r13, %rsi
movq %rax, %rdx
movq %r14, %rcx
callq 0x102b8
cmpl $0x3, %eax
jne 0x4ced
movq %rbx, %rdi
movl %r15d, %esi
leaq 0x10(%rsp), %rdx
callq 0x5665
movq 0x10(%rsp), %rcx
leaq (%rax,%rcx), %r13
addq $-0x7, %r13
movq %rax, %rdi
leaq 0x145a9(%rip), %rsi     # 0x19242
callq 0x4530
movq %rbx, %rdi
cmpq %r13, %rax
jne 0x4d0a
movl %r12d, %esi
callq 0x51fc
movq %rbx, %rdi
xorl %esi, %esi
callq 0x4fd1
testl %eax, %eax
je 0x4dbf
movq %rbx, %rdi
leaq 0x1533e(%rip), %rsi     # 0x1a008
pushq $0x1
popq %rdx
callq 0x5819
movq %rbx, %rdi
movl %r12d, %esi
callq 0x5329
movq %rbx, %rdi
pushq $0x3
popq %rsi
callq 0x61ac
jmp 0x4c43
movl %eax, %r13d
movq %rbx, %rdi
movl %ebp, %esi
callq 0x523b
testl %r13d, %r13d
je 0x4d17
cmpl $-0x1, %r13d
jne 0x4d26
jmp 0x4dbf
movl %ebp, %esi
callq 0x523b
pushq $0x3
popq %r13
jmp 0x4d26
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4e54
movl %eax, %r13d
movq %rbx, %rdi
movl %r13d, %esi
callq 0x4b8d
testl %r13d, %r13d
jne 0x4c27
movq %rbx, %rdi
callq 0x51ef
testl %eax, %eax
jle 0x4c27
movq %rbx, %rdi
movl $0xffffd8ee, %esi       # imm = 0xFFFFD8EE
leaq 0x144a2(%rip), %rdx     # 0x191fb
callq 0x5aa6
movq %rbx, %rdi
movl %ebp, %esi
callq 0x5329
movq %rbx, %rdi
callq 0x51ef
leal -0x1(%rax), %esi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x5eec
testl %eax, %eax
je 0x4c27
movq 0x22542(%rip), %r13     # 0x272d0
movq %rbx, %rdi
movl %r15d, %esi
xorl %edx, %edx
callq 0x5665
movq %rbx, %rdi
leaq 0x1445c(%rip), %rsi     # 0x19201
movq %rax, %rdx
xorl %eax, %eax
callq 0x58eb
movq %r13, %rdi
movq %rax, %rsi
callq 0x46f0
jmp 0x4c27
movq %rbx, %rdi
xorl %esi, %esi
callq 0x51fc
movq 0x22200(%rip), %rbx     # 0x26fd0
movq (%rbx), %rsi
leaq 0x1522e(%rip), %rdi     # 0x1a008
callq 0x41a0
movq (%rbx), %rdi
callq 0x4340
movq 0x8(%rsp), %rax
movq %rax, 0x224dd(%rip)     # 0x272d0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq