// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/main.c
// Function: InitHint
static int InitHint(lua_State *L)
    {
    int hint;
    if(Initialized)
        { glfw.Terminate(); Initialized = 0; }
    CheckPfn(L, InitHint, 3, 3, 0);
    hint = checkinithint(L, 1);
    switch(hint)
        {
        case GLFW_JOYSTICK_HAT_BUTTONS:
        case GLFW_COCOA_CHDIR_RESOURCES:
        case GLFW_COCOA_MENUBAR:
        case GLFW_X11_XCB_VULKAN_SURFACE: return Boolean(L, hint);
        case GLFW_ANGLE_PLATFORM_TYPE: ENUM(L, hint, checkangleplatformtype);
        case GLFW_PLATFORM: ENUM(L, hint, checkplatform);
        case GLFW_WAYLAND_LIBDECOR: ENUM(L, hint, checkwaylandlibdecor);
        default:
            return luaL_error(L, "invalid init hint '%s'", lua_tostring(L, 1));
        }
    return 0;
    }

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
cmpl $0x0, 0x10918(%rip)     # 0x24898
je 0x13f96
movq 0x1005f(%rip), %rax     # 0x23fe8
callq *0x8(%rax)
movl $0x0, 0x10902(%rip)     # 0x24898
jmp 0x13f98
movq 0x10049(%rip), %rax     # 0x23fe8
cmpq $0x0, 0x2c8(%rax)
jne 0x13ffe
movl $0x3, %esi
xorl %edx, %edx
movl %esi, %edi
callq 0x5680
cmpl $0x0, %eax
jne 0x13fe2
movq 0x28(%rsp), %rdi
leaq 0xa430(%rip), %rsi      # 0x1e3f8
movl $0x3, %ecx
xorl %r8d, %r8d
movl %ecx, %edx
movb $0x0, %al
callq 0x5590
movl %eax, 0x34(%rsp)
jmp 0x1417d
movq 0x28(%rsp), %rdi
leaq 0xa439(%rip), %rsi      # 0x1e427
movb $0x0, %al
callq 0x5590
movl %eax, 0x34(%rsp)
jmp 0x1417d
jmp 0x14000
movq 0x28(%rsp), %rdi
movl $0xe, %esi
movl $0x1, %edx
callq 0x5430
movl %eax, 0x24(%rsp)
movl 0x24(%rsp), %eax
movl %eax, 0x14(%rsp)
subl $0x50001, %eax          # imm = 0x50001
je 0x14078
jmp 0x14029
movl 0x14(%rsp), %eax
subl $0x50002, %eax          # imm = 0x50002
je 0x1408f
jmp 0x14036
movl 0x14(%rsp), %eax
subl $0x50003, %eax          # imm = 0x50003
je 0x140ce
jmp 0x14047
movl 0x14(%rsp), %eax
addl $0xfffaefff, %eax       # imm = 0xFFFAEFFF
subl $0x2, %eax
jb 0x14078
jmp 0x14057
movl 0x14(%rsp), %eax
subl $0x52001, %eax          # imm = 0x52001
je 0x14078
jmp 0x14064
movl 0x14(%rsp), %eax
subl $0x53001, %eax          # imm = 0x53001
je 0x1410a
jmp 0x14146
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0x14460
movl %eax, 0x34(%rsp)
jmp 0x1417d
jmp 0x14091
movq 0x28(%rsp), %rdi
movl $0x11, %esi
movl $0x2, %edx
callq 0x5430
movl %eax, 0x20(%rsp)
movq 0xff38(%rip), %rax      # 0x23fe8
movq 0x2c8(%rax), %rax
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
callq *%rax
movl $0x0, 0x34(%rsp)
jmp 0x1417d
jmp 0x140d0
movq 0x28(%rsp), %rdi
movl $0xf, %esi
movl $0x2, %edx
callq 0x5430
movl %eax, 0x1c(%rsp)
movq 0xfef9(%rip), %rax      # 0x23fe8
movq 0x2c8(%rax), %rax
movl 0x24(%rsp), %edi
movl 0x1c(%rsp), %esi
callq *%rax
movl $0x0, 0x34(%rsp)
jmp 0x1417d
jmp 0x1410c
movq 0x28(%rsp), %rdi
movl $0x10, %esi
movl $0x2, %edx
callq 0x5430
movl %eax, 0x18(%rsp)
movq 0xfebd(%rip), %rax      # 0x23fe8
movq 0x2c8(%rax), %rax
movl 0x24(%rsp), %edi
movl 0x18(%rsp), %esi
callq *%rax
movl $0x0, 0x34(%rsp)
jmp 0x1417d
movq 0x28(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x28(%rsp), %rdi
movl $0x1, %esi
xorl %eax, %eax
movl %eax, %edx
callq 0x51d0
movq 0x8(%rsp), %rdi
movq %rax, %rdx
leaq 0xa2d4(%rip), %rsi      # 0x1e446
movb $0x0, %al
callq 0x5590
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)