// File: /workspace/github_c_makefile_star2_O2/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 %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
pushq $0x3
popq %rsi
pushq $0x1
popq %rdx
callq 0x5450
movl %eax, %r14d
leal -0x21001(%r14), %eax
cmpl $0xf, %eax
jbe 0xbac9
leal -0x20001(%r14), %eax
cmpl $0xe, %eax
jbe 0xbae3
leal -0x22001(%r14), %eax
cmpl $0xc, %eax
ja 0xbb04
leaq 0x8047(%rip), %rcx      # 0x13ae8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
pushq $0x4
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x5450
movq 0x10529(%rip), %rcx     # 0x1bfe8
movl $0x22001, %edi          # imm = 0x22001
jmp 0xbc8d
movl $0x57ff, %ecx           # imm = 0x57FF
btl %eax, %ecx
jae 0xbaf1
movq %rbx, %rdi
movl %r14d, %esi
popq %rbx
popq %r14
popq %r15
jmp 0xbf8f
movl $0x1ffd, %ecx           # imm = 0x1FFD
btl %eax, %ecx
jae 0xbb8a
movq %rbx, %rdi
movl %r14d, %esi
callq 0xbf6e
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
leal -0x24001(%r14), %eax
cmpl $0x2, %eax
jb 0xbb5d
leal -0x25001(%r14), %eax
cmpl $0x2, %eax
jb 0xbaf1
cmpl $0x23002, %r14d         # imm = 0x23002
je 0xbb5d
cmpl $0x26001, %r14d         # imm = 0x26001
je 0xbb5d
cmpl $0x23003, %r14d         # imm = 0x23003
je 0xbaf1
pushq $0x1
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x51e0
leaq 0x8057(%rip), %rsi      # 0x13ba2
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
jmp 0x55b0
pushq $0x2
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x5340
movq 0x10477(%rip), %rcx     # 0x1bfe8
movq 0x2f8(%rcx), %rcx
testq %rcx, %rcx
je 0xbbf5
movl %r14d, %edi
movq %rax, %rsi
callq *%rcx
jmp 0xbafc
movl $0x6000, %ecx           # imm = 0x6000
btl %eax, %ecx
jae 0xba8e
pushq $0x2
popq %rsi
movq %rbx, %rdi
callq 0x5630
pushq $0x2
popq %rsi
cmpl $0x4, %eax
jne 0xbc9a
movq %rbx, %rdi
xorl %edx, %edx
callq 0x51e0
movq %rax, %r15
movq %rax, %rdi
callq 0x5220
leaq 0x6d61(%rip), %rsi      # 0x1292c
movq %r15, %rdi
movq %rax, %rdx
callq 0x50e0
testl %eax, %eax
je 0xbcc5
leaq 0x7ffd(%rip), %rdx      # 0x13be2
pushq $0x2
popq %rsi
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x5150
pushq $0x3
popq %rdi
movl %edi, %esi
xorl %edx, %edx
callq 0x56a0
testl %eax, %eax
je 0xbca7
leaq 0x8023(%rip), %rsi      # 0x13c33
movq %rbx, %rdi
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
jmp 0x55b0
pushq $0x6
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x5450
movq 0x103b4(%rip), %rcx     # 0x1bfe8
movl $0x22009, %edi          # imm = 0x22009
jmp 0xbc8d
pushq $0xb
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x5450
movq 0x10398(%rip), %rcx     # 0x1bfe8
movl $0x2200b, %edi          # imm = 0x2200B
jmp 0xbc8d
pushq $0x5
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x5450
movq 0x1037c(%rip), %rcx     # 0x1bfe8
movl $0x22005, %edi          # imm = 0x22005
jmp 0xbc8d
pushq $0x7
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x5450
movq 0x10360(%rip), %rcx     # 0x1bfe8
movl $0x22008, %edi          # imm = 0x22008
movl %eax, %esi
callq *0x88(%rcx)
jmp 0xbafc
movq %rbx, %rdi
callq 0x53e0
movq %rax, %rsi
jmp 0xbcca
leaq 0x7f4e(%rip), %rsi      # 0x13bfc
pushq $0x3
popq %rcx
movq %rbx, %rdi
movl %ecx, %edx
xorl %r8d, %r8d
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
jmp 0x55b0
movl $0x80000000, %esi       # imm = 0x80000000
movq 0x10317(%rip), %rax     # 0x1bfe8
movl %r14d, %edi
callq *0x88(%rax)
jmp 0xbafc