// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonglfw/src/enums.c
// Function: Enum
static int Enum(lua_State *L)
/* { strings } = glfw.enum('type') lists all the values for a given enum type */
    { 
    const char *s = luaL_checkstring(L, 1); 
#define CASE(xxx) if(strcmp(s, ""#xxx) == 0) return values##xxx(L)
    CASE(action);
    CASE(button);
    CASE(key);
    CASE(target);
    CASE(api);
    CASE(robustness);
    CASE(releasebehavior);
    CASE(profile);
    CASE(inputmode);
    CASE(cursormode);
    CASE(cursorshape);
    CASE(contextcreationapi);
//  CASE(gamepadbutton);
//  CASE(gamepadaxis);
    CASE(inithint);
    CASE(platform);
    CASE(waylandlibdecor);
    CASE(angleplatformtype);
#undef CASE
    return 0;
    }

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
movq 0x8(%rsp), %rdi
movl $0x1, %esi
xorl %eax, %eax
movl %eax, %edx
callq 0x5330
movq %rax, (%rsp)
movq (%rsp), %rdi
leaq 0xf7e8(%rip), %rsi      # 0x1cad3
callq 0x53a0
cmpl $0x0, %eax
jne 0xd30a
movq 0x8(%rsp), %rdi
xorl %esi, %esi
callq 0x56e0
movl %eax, 0x14(%rsp)
jmp 0xd5ac
movq (%rsp), %rdi
leaq 0x109e4(%rip), %rsi     # 0x1dcf9
callq 0x53a0
cmpl $0x0, %eax
jne 0xd337
movq 0x8(%rsp), %rdi
movl $0x1, %esi
callq 0x56e0
movl %eax, 0x14(%rsp)
jmp 0xd5ac
movq (%rsp), %rdi
leaq 0x1098b(%rip), %rsi     # 0x1dccd
callq 0x53a0
cmpl $0x0, %eax
jne 0xd364
movq 0x8(%rsp), %rdi
movl $0x2, %esi
callq 0x56e0
movl %eax, 0x14(%rsp)
jmp 0xd5ac
movq (%rsp), %rdi
leaq 0xf76b(%rip), %rsi      # 0x1cada
callq 0x53a0
cmpl $0x0, %eax
jne 0xd391
movq 0x8(%rsp), %rdi
movl $0x3, %esi
callq 0x56e0
movl %eax, 0x14(%rsp)
jmp 0xd5ac
movq (%rsp), %rdi
leaq 0xf3d3(%rip), %rsi      # 0x1c76f
callq 0x53a0
cmpl $0x0, %eax
jne 0xd3be
movq 0x8(%rsp), %rdi
movl $0x4, %esi
callq 0x56e0
movl %eax, 0x14(%rsp)
jmp 0xd5ac
movq (%rsp), %rdi
leaq 0xf52c(%rip), %rsi      # 0x1c8f5
callq 0x53a0
cmpl $0x0, %eax
jne 0xd3eb
movq 0x8(%rsp), %rdi
movl $0x5, %esi
callq 0x56e0
movl %eax, 0x14(%rsp)
jmp 0xd5ac
movq (%rsp), %rdi
leaq 0xf6eb(%rip), %rsi      # 0x1cae1
callq 0x53a0
cmpl $0x0, %eax
jne 0xd418
movq 0x8(%rsp), %rdi
movl $0x6, %esi
callq 0x56e0
movl %eax, 0x14(%rsp)
jmp 0xd5ac
movq (%rsp), %rdi
leaq 0xf3da(%rip), %rsi      # 0x1c7fd
callq 0x53a0
cmpl $0x0, %eax
jne 0xd445
movq 0x8(%rsp), %rdi
movl $0x7, %esi
callq 0x56e0
movl %eax, 0x14(%rsp)
jmp 0xd5ac
movq (%rsp), %rdi
leaq 0xf6a1(%rip), %rsi      # 0x1caf1
callq 0x53a0
cmpl $0x0, %eax
jne 0xd472
movq 0x8(%rsp), %rdi
movl $0x8, %esi
callq 0x56e0
movl %eax, 0x14(%rsp)
jmp 0xd5ac
movq (%rsp), %rdi
leaq 0xf67e(%rip), %rsi      # 0x1cafb
callq 0x53a0
cmpl $0x0, %eax
jne 0xd49f
movq 0x8(%rsp), %rdi
movl $0x9, %esi
callq 0x56e0
movl %eax, 0x14(%rsp)
jmp 0xd5ac
movq (%rsp), %rdi
leaq 0xf65c(%rip), %rsi      # 0x1cb06
callq 0x53a0
cmpl $0x0, %eax
jne 0xd4cc
movq 0x8(%rsp), %rdi
movl $0xa, %esi
callq 0x56e0
movl %eax, 0x14(%rsp)
jmp 0xd5ac
movq (%rsp), %rdi
leaq 0xf63b(%rip), %rsi      # 0x1cb12
callq 0x53a0
cmpl $0x0, %eax
jne 0xd4f9
movq 0x8(%rsp), %rdi
movl $0xb, %esi
callq 0x56e0
movl %eax, 0x14(%rsp)
jmp 0xd5ac
movq (%rsp), %rdi
leaq 0xf621(%rip), %rsi      # 0x1cb25
callq 0x53a0
cmpl $0x0, %eax
jne 0xd526
movq 0x8(%rsp), %rdi
movl $0xe, %esi
callq 0x56e0
movl %eax, 0x14(%rsp)
jmp 0xd5ac
movq (%rsp), %rdi
leaq 0x10e7c(%rip), %rsi     # 0x1e3ad
callq 0x53a0
cmpl $0x0, %eax
jne 0xd550
movq 0x8(%rsp), %rdi
movl $0xf, %esi
callq 0x56e0
movl %eax, 0x14(%rsp)
jmp 0xd5ac
movq (%rsp), %rdi
leaq 0xf5d3(%rip), %rsi      # 0x1cb2e
callq 0x53a0
cmpl $0x0, %eax
jne 0xd57a
movq 0x8(%rsp), %rdi
movl $0x10, %esi
callq 0x56e0
movl %eax, 0x14(%rsp)
jmp 0xd5ac
movq (%rsp), %rdi
leaq 0xf5b9(%rip), %rsi      # 0x1cb3e
callq 0x53a0
cmpl $0x0, %eax
jne 0xd5a4
movq 0x8(%rsp), %rdi
movl $0x11, %esi
callq 0x56e0
movl %eax, 0x14(%rsp)
jmp 0xd5ac
movl $0x0, 0x14(%rsp)
movl 0x14(%rsp), %eax
addq $0x18, %rsp
retq
nopw %cs:(%rax,%rax)