// File: /workspace/github_c_makefile_star2_O2/tylerneylon[P]APIsWithLua/lua/loadlib.c
// Function: luaopen_package
LUAMOD_API int luaopen_package (lua_State *L) {
  createclibstable(L);
  luaL_newlib(L, pk_funcs);  /* create 'package' table */
  createsearcherstable(L);
  /* set field 'path' */
  setpath(L, "path", LUA_PATHVARVERSION, LUA_PATH_VAR, LUA_PATH_DEFAULT);
  /* set field 'cpath' */
  setpath(L, "cpath", LUA_CPATHVARVERSION, LUA_CPATH_VAR, LUA_CPATH_DEFAULT);
  /* store config information */
  lua_pushliteral(L, LUA_DIRSEP "\n" LUA_PATH_SEP "\n" LUA_PATH_MARK "\n"
                     LUA_EXEC_DIR "\n" LUA_IGMARK "\n");
  lua_setfield(L, -2, "config");
  /* set field 'loaded' */
  luaL_getsubtable(L, LUA_REGISTRYINDEX, "_LOADED");
  lua_setfield(L, -2, "loaded");
  /* set field 'preload' */
  luaL_getsubtable(L, LUA_REGISTRYINDEX, "_PRELOAD");
  lua_setfield(L, -2, "preload");
  lua_pushglobaltable(L);
  lua_pushvalue(L, -2);  /* set 'package' as upvalue for next lib */
  luaL_setfuncs(L, ll_funcs, 1);  /* open lib into global table */
  lua_pop(L, 1);  /* pop global table */
  return 1;  /* return 'package' table */
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
xorl %esi, %esi
xorl %edx, %edx
callq 0x665a
pushq $0x1
popq %rbp
movq %rbx, %rdi
xorl %esi, %esi
movl %ebp, %edx
callq 0x665a
leaq 0x2a1(%rip), %rsi       # 0x1e093
movq %rbx, %rdi
xorl %edx, %edx
callq 0x630a
leaq 0x1f79(%rip), %rdx      # 0x1fd7c
pushq $-0x2
popq %r14
movq %rbx, %rdi
movl %r14d, %esi
callq 0x68b9
movq %rbx, %rdi
movl %r14d, %esi
callq 0x6ad0
leaq 0x4014(%rip), %rdx      # 0x21e38
movq %rbx, %rdi
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x6a5b
movsd 0x2ee7(%rip), %xmm0     # 0x20d20
movl $0x88, %esi
movq %rbx, %rdi
callq 0x13f6d
pushq $0x7
popq %rdx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x665a
leaq 0x10ea6(%rip), %rsi     # 0x2ed00
movq %rbx, %rdi
xorl %edx, %edx
callq 0x13c52
pushq $0x4
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x665a
pushq $0x1
popq %r15
leaq 0x10f24(%rip), %r12     # 0x2eda0
cmpq $0x5, %r15
je 0x1deb2
movq %rbx, %rdi
movl %r14d, %esi
callq 0x5cee
movq (%r12), %rsi
movq %rbx, %rdi
movl %ebp, %edx
callq 0x630a
movq %rbx, %rdi
movl %r14d, %esi
movq %r15, %rdx
callq 0x69fb
incq %r15
addq $0x8, %r12
jmp 0x1de7c
leaq 0x3e34(%rip), %rdx      # 0x21ced
pushq $-0x2
popq %rbp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x68b9
leaq 0x3d81(%rip), %rsi      # 0x21c4e
leaq 0x3ccc(%rip), %rdx      # 0x21ba0
leaq 0x3cd2(%rip), %rcx      # 0x21bad
leaq 0x3cd4(%rip), %r8       # 0x21bb6
movq %rbx, %rdi
callq 0x1dfbe
leaq 0x3d5c(%rip), %rsi      # 0x21c4d
leaq 0x3d5b(%rip), %rdx      # 0x21c53
leaq 0x3d62(%rip), %rcx      # 0x21c61
leaq 0x3d65(%rip), %r8       # 0x21c6b
movq %rbx, %rdi
callq 0x1dfbe
leaq 0x3d9b(%rip), %rsi      # 0x21cb0
movq %rbx, %rdi
callq 0x61d0
leaq 0x3d97(%rip), %rdx      # 0x21cbb
movq %rbx, %rdi
movl %ebp, %esi
callq 0x68b9
leaq 0x24b0(%rip), %rdx      # 0x203e5
movq %rbx, %rdi
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x13ceb
leaq 0x3d79(%rip), %rdx      # 0x21cc2
movq %rbx, %rdi
movl %ebp, %esi
callq 0x68b9
leaq 0x3d6f(%rip), %rdx      # 0x21cc9
movq %rbx, %rdi
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x13ceb
leaq 0x3d64(%rip), %rdx      # 0x21cd2
movq %rbx, %rdi
movl %ebp, %esi
callq 0x68b9
pushq $0x2
popq %rdx
movq %rbx, %rdi
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x65cf
movq %rbx, %rdi
movl %ebp, %esi
callq 0x5cee
leaq 0x10de7(%rip), %rsi     # 0x2ed80
pushq $0x1
popq %r14
movq %rbx, %rdi
movl %r14d, %edx
callq 0x13c52
movq %rbx, %rdi
movl %ebp, %esi
callq 0x5b31
movl %r14d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq