// File: /workspace/github_c_makefile_star2_O1/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
movl $0x1, %esi
xorl %edx, %edx
callq 0xc445
movq %rax, %r14
movq 0x10(%rbx), %rcx
movq 0x20(%rbx), %rax
movq (%rax), %rax
addq $0x20, %rax
cmpq %rax, %rcx
jae 0x1ccfd
movl $0x0, 0x8(%rcx)
addq $0x10, %rcx
cmpq %rax, %rcx
jb 0x1cce9
movq %rcx, 0x10(%rbx)
movq %rax, 0x10(%rbx)
movq 0x18(%rbx), %rsi
addq $0x40, %rsi
leaq 0x13216(%rip), %rdx     # 0x2ff26
movq %rbx, %rdi
callq 0x8ff7
movq 0x20(%rbx), %rax
movq (%rax), %rsi
addq $0x20, %rsi
cmpq 0x10(%rbx), %rsi
leaq 0x12c32(%rip), %r15     # 0x2f960
cmovaeq %r15, %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x8ff7
movq 0x10(%rbx), %rax
movl -0x8(%rax), %ecx
testl %ecx, %ecx
je 0x1cd5b
cmpl $0x1, %ecx
jne 0x1cf5f
cmpl $0x0, -0x10(%rax)
jne 0x1cf5f
addq $-0x10, %rax
movq %rax, 0x10(%rbx)
leaq 0x28(%rsp), %rax
movq %rbx, -0x8(%rax)
movq %rax, -0x20(%rax)
movq $0x0, -0x10(%rax)
movq $0x2000, -0x18(%rax)    # imm = 0x2000
movq 0x20(%rbx), %rax
movq (%rax), %rax
cmpl $0x16, 0x8(%rax)
je 0x1cda3
movq (%rax), %rax
cmpb $0x0, 0xa(%rax)
leaq 0x20(%rax), %rax
leaq 0x12bc1(%rip), %r15     # 0x2f960
cmovneq %rax, %r15
leaq 0x1428e(%rip), %rdx     # 0x31038
movq %rbx, %rdi
movq %r15, %rsi
callq 0x8ff7
cmpl $0x5, %eax
jne 0x1cfaa
movl $0x1, %r12d
leaq 0x12b95(%rip), %r15     # 0x2f960
leaq 0x8(%rsp), %r13
movq 0x10(%rbx), %rbp
movq 0x20(%rbx), %rax
movq (%rax), %rax
addq $0x30, %rax
cmpq %rbp, %rax
cmovaeq %r15, %rax
movq (%rax), %rdi
movq %r12, %rsi
callq 0x9079
movups (%rax), %xmm0
movups %xmm0, (%rbp)
movq 0x10(%rbx), %rax
leaq 0x10(%rax), %rcx
movq %rcx, 0x10(%rbx)
testb $0xf, 0x8(%rax)
je 0x1cf76
movq %rbx, %rdi
movq %r14, %rsi
callq 0x8927
movq 0x10(%rbx), %rsi
addq $-0x20, %rsi
incw 0xc4(%rbx)
movq %rbx, %rdi
movl $0x2, %edx
callq 0xa0fc
decw 0xc4(%rbx)
movq 0x10(%rbx), %rax
leaq -0x20(%rax), %rcx
cmpq %r15, %rcx
je 0x1ce54
movl -0x18(%rax), %edx
andl $0xf, %edx
cmpl $0x6, %edx
je 0x1ce80
movl -0x18(%rax), %edx
andl $0xf, %edx
addl $-0x5, %edx
cmpl $-0x2, %edx
jae 0x1ce68
movq %rcx, 0x10(%rbx)
jmp 0x1ce78
addq $-0x10, %rax
movq %rax, 0x10(%rbx)
movq %r13, %rdi
callq 0xc88a
incq %r12
jmp 0x1cdd0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x8927
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
movl $0x1, %edx
callq 0x72c6
movq 0x10(%rbx), %rsi
addq $-0x30, %rsi
incw 0xc4(%rbx)
movq %rbx, %rdi
movl $0x1, %edx
callq 0xa0fc
decw 0xc4(%rbx)
movq 0x10(%rbx), %rax
leaq -0x10(%rax), %rcx
cmpq %r15, %rcx
je 0x1ced3
testb $0xf, -0x8(%rax)
je 0x1cef0
movq 0x20(%rbx), %rcx
movq (%rcx), %rsi
addq $0x20, %rsi
cmpq %rax, %rsi
cmovaeq %r15, %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x9843
movq 0x20(%rbx), %rax
movq (%rax), %rsi
addq $0x20, %rsi
cmpq 0x10(%rbx), %rsi
cmovaeq %r15, %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x8ff7
testl %eax, %eax
jne 0x1cf5f
movq 0x10(%rbx), %rax
movl $0x1, %ecx
movl %ecx, (%rax)
movl %ecx, 0x8(%rax)
movq 0x10(%rbx), %rax
leaq 0x10(%rax), %rcx
movq %rcx, 0x10(%rbx)
movups (%rax), %xmm0
movups %xmm0, 0x10(%rax)
movq 0x10(%rbx), %rax
movq 0x20(%rbx), %rcx
addq $0x10, %rax
movq %rax, 0x10(%rbx)
movq (%rcx), %rcx
addq $0x20, %rcx
cmpq %rax, %rcx
cmovbq %rcx, %r15
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x9843
movl $0x1, %eax
addq $0x2028, %rsp           # imm = 0x2028
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, 0x10(%rbx)
leaq 0x8(%rsp), %rdi
callq 0xc830
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
xorl %edx, %edx
callq 0x8296
leaq 0x141df(%rip), %rsi     # 0x31179
movq %rbx, %rdi
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0xbda0
leaq 0x141a4(%rip), %rsi     # 0x31155
movq %rbx, %rdi
xorl %eax, %eax
callq 0xbda0