// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq 0x28(%rsp), %rdi
movl $0x3, %esi
movl $0x1, %edx
callq 0x5430
movl %eax, 0x24(%rsp)
movl 0x24(%rsp), %eax
movl %eax, 0xc(%rsp)
subl $0x20001, %eax          # imm = 0x20001
je 0x108ba
jmp 0x10746
movl 0xc(%rsp), %eax
addl $0xfffdfffd, %eax       # imm = 0xFFFDFFFD
subl $0xb, %eax
jb 0x108ba
jmp 0x1075a
movl 0xc(%rsp), %eax
addl $0xfffdfff2, %eax       # imm = 0xFFFDFFF2
subl $0x2, %eax
jb 0x108e8
jmp 0x1076e
movl 0xc(%rsp), %eax
addl $0xfffdefff, %eax       # imm = 0xFFFDEFFF
subl $0xb, %eax
jb 0x108d1
jmp 0x10782
movl 0xc(%rsp), %eax
subl $0x2100c, %eax          # imm = 0x2100C
je 0x108ff
jmp 0x10793
movl 0xc(%rsp), %eax
subl $0x2100d, %eax          # imm = 0x2100D
je 0x108d1
jmp 0x107a4
movl 0xc(%rsp), %eax
subl $0x2100e, %eax          # imm = 0x2100E
je 0x108ff
jmp 0x107b5
movl 0xc(%rsp), %eax
subl $0x2100f, %eax          # imm = 0x2100F
je 0x108d1
jmp 0x107c6
movl 0xc(%rsp), %eax
subl $0x21010, %eax          # imm = 0x21010
je 0x108ff
jmp 0x107d7
movl 0xc(%rsp), %eax
subl $0x22001, %eax          # imm = 0x22001
je 0x10916
jmp 0x107e8
movl 0xc(%rsp), %eax
addl $0xfffddffe, %eax       # imm = 0xFFFDDFFE
subl $0x2, %eax
jb 0x10994
jmp 0x107fc
movl 0xc(%rsp), %eax
subl $0x22005, %eax          # imm = 0x22005
je 0x109ab
jmp 0x1080d
movl 0xc(%rsp), %eax
addl $0xfffddffa, %eax       # imm = 0xFFFDDFFA
subl $0x2, %eax
jb 0x10a29
jmp 0x10821
movl 0xc(%rsp), %eax
subl $0x22008, %eax          # imm = 0x22008
je 0x10a40
jmp 0x10832
movl 0xc(%rsp), %eax
subl $0x22009, %eax          # imm = 0x22009
je 0x109ea
jmp 0x10843
movl 0xc(%rsp), %eax
subl $0x2200b, %eax          # imm = 0x2200B
je 0x10955
jmp 0x10854
movl 0xc(%rsp), %eax
addl $0xfffddff4, %eax       # imm = 0xFFFDDFF4
subl $0x2, %eax
jb 0x108ba
jmp 0x10864
movl 0xc(%rsp), %eax
subl $0x23002, %eax          # imm = 0x23002
je 0x10a7c
jmp 0x10875
movl 0xc(%rsp), %eax
subl $0x23003, %eax          # imm = 0x23003
je 0x108ba
jmp 0x10882
movl 0xc(%rsp), %eax
addl $0xfffdbfff, %eax       # imm = 0xFFFDBFFF
subl $0x2, %eax
jb 0x10a7c
jmp 0x10896
movl 0xc(%rsp), %eax
addl $0xfffdafff, %eax       # imm = 0xFFFDAFFF
subl $0x2, %eax
jb 0x108ba
jmp 0x108a6
movl 0xc(%rsp), %eax
subl $0x26001, %eax          # imm = 0x26001
je 0x10a7c
jmp 0x10a90
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0x10f50
movl %eax, 0x34(%rsp)
jmp 0x10ac5
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0x10fa0
movl %eax, 0x34(%rsp)
jmp 0x10ac5
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0x11070
movl %eax, 0x34(%rsp)
jmp 0x10ac5
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0x10f50
movl %eax, 0x34(%rsp)
jmp 0x10ac5
jmp 0x10918
movq 0x28(%rsp), %rdi
movl $0x4, %esi
movl $0x2, %edx
callq 0x5430
movl %eax, 0x20(%rsp)
movq 0x136b1(%rip), %rax     # 0x23fe8
movq 0x88(%rax), %rax
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
callq *%rax
movl $0x0, 0x34(%rsp)
jmp 0x10ac5
jmp 0x10957
movq 0x28(%rsp), %rdi
movl $0xb, %esi
movl $0x2, %edx
callq 0x5430
movl %eax, 0x1c(%rsp)
movq 0x13672(%rip), %rax     # 0x23fe8
movq 0x88(%rax), %rax
movl 0x24(%rsp), %edi
movl 0x1c(%rsp), %esi
callq *%rax
movl $0x0, 0x34(%rsp)
jmp 0x10ac5
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0x10fa0
movl %eax, 0x34(%rsp)
jmp 0x10ac5
jmp 0x109ad
movq 0x28(%rsp), %rdi
movl $0x5, %esi
movl $0x2, %edx
callq 0x5430
movl %eax, 0x18(%rsp)
movq 0x1361c(%rip), %rax     # 0x23fe8
movq 0x88(%rax), %rax
movl 0x24(%rsp), %edi
movl 0x18(%rsp), %esi
callq *%rax
movl $0x0, 0x34(%rsp)
jmp 0x10ac5
jmp 0x109ec
movq 0x28(%rsp), %rdi
movl $0x6, %esi
movl $0x2, %edx
callq 0x5430
movl %eax, 0x14(%rsp)
movq 0x135dd(%rip), %rax     # 0x23fe8
movq 0x88(%rax), %rax
movl 0x24(%rsp), %edi
movl 0x14(%rsp), %esi
callq *%rax
movl $0x0, 0x34(%rsp)
jmp 0x10ac5
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0x10f50
movl %eax, 0x34(%rsp)
jmp 0x10ac5
jmp 0x10a42
movq 0x28(%rsp), %rdi
movl $0x7, %esi
movl $0x2, %edx
callq 0x5430
movl %eax, 0x10(%rsp)
movq 0x13587(%rip), %rax     # 0x23fe8
movq 0x88(%rax), %rax
movl 0x24(%rsp), %edi
movl 0x10(%rsp), %esi
callq *%rax
movl $0x0, 0x34(%rsp)
jmp 0x10ac5
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0x11140
movl %eax, 0x34(%rsp)
jmp 0x10ac5
movq 0x28(%rsp), %rax
movq %rax, (%rsp)
movq 0x28(%rsp), %rdi
movl $0x1, %esi
xorl %eax, %eax
movl %eax, %edx
callq 0x51d0
movq (%rsp), %rdi
movq %rax, %rdx
leaq 0xd07f(%rip), %rsi      # 0x1db39
movb $0x0, %al
callq 0x5590
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nop