// File: /workspace/github_c_makefile_star2_O3/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 0x5450
movl %eax, %ebp
cmpl $0x22000, %eax          # imm = 0x22000
jg 0xc026
leal -0x21001(%rax), %ecx
cmpl $0xf, %ecx
ja 0xc073
movl $0x57ff, %eax           # imm = 0x57FF
btl %ecx, %eax
jae 0xc08b
movq %rbx, %rdi
movl %ebp, %esi
popq %rbx
popq %r14
popq %rbp
jmp 0xc5a3
cmpl $0x24000, %eax          # imm = 0x24000
jg 0xc0b1
leal -0x22001(%rax), %ecx
cmpl $0xc, %ecx
ja 0xc144
leaq 0x8aa1(%rip), %rax      # 0x14ae8
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movq %rbx, %rdi
movl $0x4, %esi
movl $0x2, %edx
callq 0x5450
movq 0xff7f(%rip), %rcx      # 0x1bfe8
movl $0x22001, %edi          # imm = 0x22001
jmp 0xc26c
addl $0xfffdffff, %eax       # imm = 0xFFFDFFFF
cmpl $0xe, %eax
ja 0xc156
movl $0x1ffd, %ecx           # imm = 0x1FFD
btl %eax, %ecx
jae 0xc0d8
movq %rbx, %rdi
movl $0x2, %esi
callq 0x5070
movzbl %al, %esi
movq 0xff46(%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 0xc17d
leal -0x25001(%rax), %ecx
cmpl $0x2, %ecx
jb 0xc08b
cmpl $0x26001, %eax          # imm = 0x26001
je 0xc17d
jmp 0xc156
movl $0x6000, %ecx           # imm = 0x6000
btl %eax, %ecx
jae 0xc156
movq %rbx, %rdi
movl $0x2, %esi
callq 0x5630
cmpl $0x4, %eax
jne 0xc1d9
movq %rbx, %rdi
movl $0x2, %esi
xorl %edx, %edx
callq 0x51e0
movq %rax, %r14
movq %rax, %rdi
callq 0x5220
leaq 0x7813(%rip), %rsi      # 0x1392c
movq %r14, %rdi
movq %rax, %rdx
callq 0x50e0
testl %eax, %eax
je 0xc29b
leaq 0x8aaf(%rip), %rdx      # 0x14be2
movq %rbx, %rdi
movl $0x2, %esi
popq %rbx
popq %r14
popq %rbp
jmp 0x5150
cmpl $0x23002, %eax          # imm = 0x23002
je 0xc17d
cmpl $0x23003, %eax          # imm = 0x23003
je 0xc08b
movq %rbx, %rdi
movl $0x1, %esi
xorl %edx, %edx
callq 0x51e0
leaq 0x8a36(%rip), %rsi      # 0x14ba2
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp 0x55b0
movq %rbx, %rdi
movl $0x2, %esi
xorl %edx, %edx
callq 0x5340
movq 0xfe55(%rip), %rcx      # 0x1bfe8
movq 0x2f8(%rcx), %rcx
testq %rcx, %rcx
je 0xc1ab
movl %ebp, %edi
movq %rax, %rsi
callq *%rcx
jmp 0xc0aa
movl $0x3, %edi
movl $0x3, %esi
xorl %edx, %edx
callq 0x56a0
testl %eax, %eax
je 0xc279
leaq 0x8a68(%rip), %rsi      # 0x14c33
movq %rbx, %rdi
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp 0x55b0
movq %rbx, %rdi
movl $0x2, %esi
callq 0x53e0
movq %rax, %rsi
jmp 0xc2a0
movq %rbx, %rdi
movl $0xb, %esi
movl $0x2, %edx
callq 0x5450
movq 0xfde1(%rip), %rcx      # 0x1bfe8
movl $0x2200b, %edi          # imm = 0x2200B
jmp 0xc26c
movq %rbx, %rdi
movl $0x5, %esi
movl $0x2, %edx
callq 0x5450
movq 0xfdc1(%rip), %rcx      # 0x1bfe8
movl $0x22005, %edi          # imm = 0x22005
jmp 0xc26c
movq %rbx, %rdi
movl $0x7, %esi
movl $0x2, %edx
callq 0x5450
movq 0xfda1(%rip), %rcx      # 0x1bfe8
movl $0x22008, %edi          # imm = 0x22008
jmp 0xc26c
movq %rbx, %rdi
movl $0x6, %esi
movl $0x2, %edx
callq 0x5450
movq 0xfd81(%rip), %rcx      # 0x1bfe8
movl $0x22009, %edi          # imm = 0x22009
movl %eax, %esi
callq *0x88(%rcx)
jmp 0xc0aa
leaq 0x897c(%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 0x55b0
movl $0x80000000, %esi       # imm = 0x80000000
movq 0xfd41(%rip), %rax      # 0x1bfe8
movl %ebp, %edi
jmp 0xc0a4