// File: /workspace/github_c_makefile_star2_O2/kieselsteini[P]PiXL-old/lua53.c
// Function: ll_require
static int ll_require (lua_State *L) {
  const char *name = luaL_checkstring(L, 1);
  lua_settop(L, 1);  /* LOADED table will be at index 2 */
  lua_getfield(L, LUA_REGISTRYINDEX, LUA_LOADED_TABLE);
  lua_getfield(L, 2, name);  /* LOADED[name] */
  if (lua_toboolean(L, -1))  /* is it there? */
    return 1;  /* package is already loaded */
  /* else must load package */
  lua_pop(L, 1);  /* remove 'getfield' result */
  findloader(L, name);
  lua_pushstring(L, name);  /* pass name as argument to module loader */
  lua_insert(L, -2);  /* name is 1st argument (before search data) */
  lua_call(L, 2, 1);  /* run loader to load module */
  if (!lua_isnil(L, -1))  /* non-nil return? */
    lua_setfield(L, 2, name);  /* LOADED[name] = returned value */
  if (lua_getfield(L, 2, name) == LUA_TNIL) {   /* module set no value? */
    lua_pushboolean(L, 1);  /* use true as result */
    lua_pushvalue(L, -1);  /* extra copy to be returned */
    lua_setfield(L, 2, name);  /* LOADED[name] = true */
  }
  return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2028, %rsp           # imm = 0x2028
movq %rdi, %rbx
pushq $0x1
popq %rbp
movl %ebp, %esi
xorl %edx, %edx
callq 0xafc5
movq %rax, %r14
movq %rbx, %rdi
movl %ebp, %esi
callq 0x6b49
leaq 0x10da1(%rip), %rdx     # 0x29ff6
movq %rbx, %rdi
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x86b4
pushq $0x2
popq %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x86b4
pushq $-0x1
popq %rsi
movq %rbx, %rdi
callq 0x78dd
testl %eax, %eax
jne 0x193c5
addq $-0x10, 0x10(%rbx)
leaq 0x28(%rsp), %rax
movq %rbx, -0x8(%rax)
movq %rax, -0x20(%rax)
andq $0x0, -0x10(%rax)
movq $0x2000, -0x18(%rax)    # imm = 0x2000
leaq 0x11e5e(%rip), %rdx     # 0x2b107
movq %rbx, %rdi
movl $0xfff0b9d7, %esi       # imm = 0xFFF0B9D7
callq 0x86b4
cmpl $0x5, %eax
jne 0x1940d
pushq $0x1
popq %r15
pushq $0x3
popq %rbp
pushq $0x2
popq %r12
pushq $-0x2
popq %r13
movq %rbx, %rdi
movl %ebp, %esi
movq %r15, %rdx
callq 0x878f
testl %eax, %eax
je 0x193da
movq %rbx, %rdi
movq %r14, %rsi
callq 0x7e73
movq 0x10(%rbx), %rsi
addq $-0x20, %rsi
movq %rbx, %rdi
movl %r12d, %edx
callq 0x93da
movq %rbx, %rdi
movl %r13d, %esi
callq 0x6d43
movq %rbx, %rdi
cmpl $0x6, %eax
je 0x19345
movl %r13d, %esi
callq 0x6e3b
movq 0x10(%rbx), %rcx
testl %eax, %eax
je 0x19338
addq $-0x10, %rcx
movq %rcx, 0x10(%rbx)
leaq 0x8(%rsp), %rdi
callq 0xb364
jmp 0x19340
addq $-0x20, %rcx
movq %rcx, 0x10(%rbx)
incq %r15
jmp 0x192ce
movq %r14, %rsi
callq 0x7e73
pushq $-0x2
popq %rsi
pushq $0x1
popq %rbp
movq %rbx, %rdi
movl %ebp, %edx
callq 0x6b97
movq 0x10(%rbx), %rsi
addq $-0x30, %rsi
movq %rbx, %rdi
movl %ebp, %edx
callq 0x93da
pushq $-0x1
popq %rsi
movq %rbx, %rdi
callq 0x6d43
testl %eax, %eax
je 0x1938c
pushq $0x2
popq %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x8e94
pushq $0x2
popq %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x86b4
testl %eax, %eax
jne 0x193c5
movq 0x10(%rbx), %rax
movl %ebp, (%rax)
movl %ebp, 0x8(%rax)
addq $0x10, 0x10(%rbx)
pushq $-0x1
popq %rsi
movq %rbx, %rdi
callq 0x6d1f
pushq $0x2
popq %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x8e94
pushq $0x1
popq %rax
addq $0x2028, %rsp           # imm = 0x2028
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
addq $-0x10, 0x10(%rbx)
leaq 0x8(%rsp), %rdi
callq 0xb312
pushq $-0x1
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x7901
leaq 0x11e4b(%rip), %rsi     # 0x2b248
movq %rbx, %rdi
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0xaa53
leaq 0x11e10(%rip), %rsi     # 0x2b224
movq %rbx, %rdi
xorl %eax, %eax
callq 0xaa53