// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonglfw/src/hint.c
// Function: WindowHint
static int WindowHint(lua_State *L)
    {
    int target = checktarget(L, 1);
    switch(target)
        {
        case GLFW_RESIZABLE:
        case GLFW_VISIBLE:
        case GLFW_DECORATED:
        case GLFW_FOCUSED:
        case GLFW_AUTO_ICONIFY:
        case GLFW_FLOATING:
        case GLFW_MAXIMIZED:
        case GLFW_CENTER_CURSOR:
        case GLFW_TRANSPARENT_FRAMEBUFFER:
        case GLFW_HOVERED:
        case GLFW_FOCUS_ON_SHOW:
        case GLFW_SCALE_TO_MONITOR:
        case GLFW_MOUSE_PASSTHROUGH:
        case GLFW_SCALE_FRAMEBUFFER:
        case GLFW_WIN32_KEYBOARD_MENU:
        case GLFW_WIN32_SHOWDEFAULT:
        case GLFW_COCOA_GRAPHICS_SWITCHING:
                    return Boolean(L, target);
        case GLFW_RED_BITS:
        case GLFW_GREEN_BITS:
        case GLFW_BLUE_BITS:
        case GLFW_ALPHA_BITS:
        case GLFW_DEPTH_BITS:
        case GLFW_STENCIL_BITS:
        case GLFW_ACCUM_RED_BITS:
        case GLFW_ACCUM_GREEN_BITS:
        case GLFW_ACCUM_BLUE_BITS:
        case GLFW_ACCUM_ALPHA_BITS:
        case GLFW_AUX_BUFFERS:
        case GLFW_SAMPLES:
        case GLFW_REFRESH_RATE: return Integer(L, target);
        case GLFW_POSITION_X:
        case GLFW_POSITION_Y:
                                    return Position(L, target);
        case GLFW_STEREO:
        case GLFW_SRGB_CAPABLE:
        case GLFW_DOUBLEBUFFER: return Boolean(L, target);
        case GLFW_CLIENT_API: ENUM(L, target, checkapi);
        case GLFW_CONTEXT_CREATION_API: ENUM(L, target, checkcontextcreationapi);
        case GLFW_CONTEXT_VERSION_MAJOR:
        case GLFW_CONTEXT_VERSION_MINOR: return Integer(L, target);
        case GLFW_CONTEXT_ROBUSTNESS: ENUM(L, target, checkrobustness);
        case GLFW_CONTEXT_RELEASE_BEHAVIOR: ENUM(L, target, checkreleasebehavior);
        case GLFW_OPENGL_FORWARD_COMPAT:
        case GLFW_OPENGL_DEBUG_CONTEXT: return Boolean(L, target);
        case GLFW_OPENGL_PROFILE: ENUM(L, target, checkprofile);
        case GLFW_X11_CLASS_NAME:
        case GLFW_X11_INSTANCE_NAME: 
        case GLFW_WAYLAND_APP_ID:
        case GLFW_COCOA_FRAME_NAME:
                                  return String(L, target);
        default:
            return luaL_error(L, "invalid target '%s'", lua_tostring(L, 1));
        }
    return 0;
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movl $0x3, %esi
movl $0x1, %edx
callq 0x5440
movl %eax, %ebp
cmpl $0x22000, %eax          # imm = 0x22000
jg 0xbf26
leal -0x21001(%rax), %ecx
cmpl $0xf, %ecx
ja 0xbf73
movl $0x57ff, %eax           # imm = 0x57FF
btl %ecx, %eax
jae 0xbf8b
movq %rbx, %rdi
movl %ebp, %esi
popq %rbx
popq %r14
popq %rbp
jmp 0xc4a3
cmpl $0x24000, %eax          # imm = 0x24000
jg 0xbfb1
leal -0x22001(%rax), %ecx
cmpl $0xc, %ecx
ja 0xc044
leaq 0x8ba1(%rip), %rax      # 0x14ae8
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movq %rbx, %rdi
movl $0x4, %esi
movl $0x2, %edx
callq 0x5440
movq 0x1007f(%rip), %rcx     # 0x1bfe8
movl $0x22001, %edi          # imm = 0x22001
jmp 0xc16c
addl $0xfffdffff, %eax       # imm = 0xFFFDFFFF
cmpl $0xe, %eax
ja 0xc056
movl $0x1ffd, %ecx           # imm = 0x1FFD
btl %eax, %ecx
jae 0xbfd8
movq %rbx, %rdi
movl $0x2, %esi
callq 0x5070
movzbl %al, %esi
movq 0x10046(%rip), %rax     # 0x1bfe8
movl %ebp, %edi
callq *0x88(%rax)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
leal -0x24001(%rax), %ecx
cmpl $0x2, %ecx
jb 0xc07d
leal -0x25001(%rax), %ecx
cmpl $0x2, %ecx
jb 0xbf8b
cmpl $0x26001, %eax          # imm = 0x26001
je 0xc07d
jmp 0xc056
movl $0x6000, %ecx           # imm = 0x6000
btl %eax, %ecx
jae 0xc056
movq %rbx, %rdi
movl $0x2, %esi
callq 0x5620
cmpl $0x4, %eax
jne 0xc0d9
movq %rbx, %rdi
movl $0x2, %esi
xorl %edx, %edx
callq 0x51e0
movq %rax, %r14
movq %rax, %rdi
callq 0x5220
leaq 0x7913(%rip), %rsi      # 0x1392c
movq %r14, %rdi
movq %rax, %rdx
callq 0x50e0
testl %eax, %eax
je 0xc19b
leaq 0x8baf(%rip), %rdx      # 0x14be2
movq %rbx, %rdi
movl $0x2, %esi
popq %rbx
popq %r14
popq %rbp
jmp 0x5150
cmpl $0x23002, %eax          # imm = 0x23002
je 0xc07d
cmpl $0x23003, %eax          # imm = 0x23003
je 0xbf8b
movq %rbx, %rdi
movl $0x1, %esi
xorl %edx, %edx
callq 0x51e0
leaq 0x8b36(%rip), %rsi      # 0x14ba2
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp 0x55a0
movq %rbx, %rdi
movl $0x2, %esi
xorl %edx, %edx
callq 0x5340
movq 0xff55(%rip), %rcx      # 0x1bfe8
movq 0x2f8(%rcx), %rcx
testq %rcx, %rcx
je 0xc0ab
movl %ebp, %edi
movq %rax, %rsi
callq *%rcx
jmp 0xbfaa
movl $0x3, %edi
movl $0x3, %esi
xorl %edx, %edx
callq 0x5690
testl %eax, %eax
je 0xc179
leaq 0x8b68(%rip), %rsi      # 0x14c33
movq %rbx, %rdi
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp 0x55a0
movq %rbx, %rdi
movl $0x2, %esi
callq 0x53d0
movq %rax, %rsi
jmp 0xc1a0
movq %rbx, %rdi
movl $0xb, %esi
movl $0x2, %edx
callq 0x5440
movq 0xfee1(%rip), %rcx      # 0x1bfe8
movl $0x2200b, %edi          # imm = 0x2200B
jmp 0xc16c
movq %rbx, %rdi
movl $0x5, %esi
movl $0x2, %edx
callq 0x5440
movq 0xfec1(%rip), %rcx      # 0x1bfe8
movl $0x22005, %edi          # imm = 0x22005
jmp 0xc16c
movq %rbx, %rdi
movl $0x7, %esi
movl $0x2, %edx
callq 0x5440
movq 0xfea1(%rip), %rcx      # 0x1bfe8
movl $0x22008, %edi          # imm = 0x22008
jmp 0xc16c
movq %rbx, %rdi
movl $0x6, %esi
movl $0x2, %edx
callq 0x5440
movq 0xfe81(%rip), %rcx      # 0x1bfe8
movl $0x22009, %edi          # imm = 0x22009
movl %eax, %esi
callq *0x88(%rcx)
jmp 0xbfaa
leaq 0x8a7c(%rip), %rsi      # 0x14bfc
movq %rbx, %rdi
movl $0x3, %edx
movl $0x3, %ecx
xorl %r8d, %r8d
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp 0x55a0
movl $0x80000000, %esi       # imm = 0x80000000
movq 0xfe41(%rip), %rax      # 0x1bfe8
movl %ebp, %edi
jmp 0xbfa4