// File: /workspace/github_c_makefile_star2_O1/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 %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
xorl %esi, %esi
xorl %edx, %edx
callq 0x68d6
movq %rbx, %rdi
xorl %esi, %esi
movl $0x1, %edx
callq 0x68d6
leaq 0x2c7(%rip), %rsi       # 0x1ffd2
movq %rbx, %rdi
xorl %edx, %edx
callq 0x6591
leaq 0x1fc8(%rip), %rdx      # 0x21ce4
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x6b3f
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x6d47
leaq 0x3fdb(%rip), %rdx      # 0x23d18
movq %rbx, %rdi
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x6cd9
movsd 0x2eae(%rip), %xmm0     # 0x22c00
movl $0x88, %esi
movq %rbx, %rdi
callq 0x1540b
movq %rbx, %rdi
xorl %esi, %esi
movl $0x7, %edx
callq 0x68d6
leaq 0xef8b(%rip), %rsi      # 0x2ed00
movq %rbx, %rdi
xorl %edx, %edx
callq 0x150f3
movq %rbx, %rdi
movl $0x4, %esi
xorl %edx, %edx
callq 0x68d6
movl $0x1, %r14d
leaq 0xf005(%rip), %r15      # 0x2eda0
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x5f5b
movq (%r15), %rsi
movq %rbx, %rdi
movl $0x1, %edx
callq 0x6591
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
movq %r14, %rdx
callq 0x6c80
incq %r14
addq $0x8, %r15
cmpq $0x5, %r14
jne 0x1fd9b
leaq 0x3df1(%rip), %rdx      # 0x23bcd
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x6b3f
leaq 0x3d3e(%rip), %rsi      # 0x23b2e
leaq 0x3c89(%rip), %rdx      # 0x23a80
leaq 0x3c8f(%rip), %rcx      # 0x23a8d
leaq 0x3c91(%rip), %r8       # 0x23a96
movq %rbx, %rdi
callq 0x1feef
leaq 0x3d19(%rip), %rsi      # 0x23b2d
leaq 0x3d18(%rip), %rdx      # 0x23b33
leaq 0x3d1f(%rip), %rcx      # 0x23b41
leaq 0x3d22(%rip), %r8       # 0x23b4b
movq %rbx, %rdi
callq 0x1feef
leaq 0x3d58(%rip), %rsi      # 0x23b90
movq %rbx, %rdi
callq 0x645b
leaq 0x3d54(%rip), %rdx      # 0x23b9b
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x6b3f
leaq 0x24be(%rip), %rdx      # 0x22319
movq %rbx, %rdi
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x1517e
leaq 0x3d33(%rip), %rdx      # 0x23ba2
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x6b3f
leaq 0x3d26(%rip), %rdx      # 0x23ba9
movq %rbx, %rdi
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x1517e
leaq 0x3d1b(%rip), %rdx      # 0x23bb2
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x6b3f
movl $0x2, %edx
movq %rbx, %rdi
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0x684b
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x5f5b
leaq 0xeeb6(%rip), %rsi      # 0x2ed80
movq %rbx, %rdi
movl $0x1, %edx
callq 0x150f3
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x5d51
movl $0x1, %eax
popq %rbx
popq %r14
popq %r15
retq