// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonsndfile/src/enums.c
// Function: Enum
static int Enum(lua_State *L)
/* { strings } = cl.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(type);
    CASE(format);
    CASE(subformat);
    CASE(endianness);
    CASE(stringtype);
    CASE(whence);
    CASE(openmode);
    CASE(channelmap);
    CASE(ditherlevel);
    CASE(dithertype);
    CASE(loopmode);
    CASE(ambisonic);
    CASE(bitratemode);
#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 0x4380
movq %rax, (%rsp)
movq (%rsp), %rdi
leaq 0x8bb3(%rip), %rsi      # 0x134ce
callq 0x4430
cmpl $0x0, %eax
jne 0xa93d
movq 0x8(%rsp), %rdi
movl $0x65, %esi
callq 0x4540
movl %eax, 0x14(%rsp)
jmp 0xab58
movq (%rsp), %rdi
leaq 0x84b9(%rip), %rsi      # 0x12e01
callq 0x4430
cmpl $0x0, %eax
jne 0xa96a
movq 0x8(%rsp), %rdi
movl $0x1, %esi
callq 0x4540
movl %eax, 0x14(%rsp)
jmp 0xab58
movq (%rsp), %rdi
leaq 0x8cce(%rip), %rsi      # 0x13643
callq 0x4430
cmpl $0x0, %eax
jne 0xa997
movq 0x8(%rsp), %rdi
movl $0x2, %esi
callq 0x4540
movl %eax, 0x14(%rsp)
jmp 0xab58
movq (%rsp), %rdi
leaq 0x84d9(%rip), %rsi      # 0x12e7b
callq 0x4430
cmpl $0x0, %eax
jne 0xa9c4
movq 0x8(%rsp), %rdi
movl $0x3, %esi
callq 0x4540
movl %eax, 0x14(%rsp)
jmp 0xab58
movq (%rsp), %rdi
leaq 0x84b7(%rip), %rsi      # 0x12e86
callq 0x4430
cmpl $0x0, %eax
jne 0xa9f1
movq 0x8(%rsp), %rdi
movl $0x4, %esi
callq 0x4540
movl %eax, 0x14(%rsp)
jmp 0xab58
movq (%rsp), %rdi
leaq 0x8495(%rip), %rsi      # 0x12e91
callq 0x4430
cmpl $0x0, %eax
jne 0xaa1e
movq 0x8(%rsp), %rdi
movl $0x5, %esi
callq 0x4540
movl %eax, 0x14(%rsp)
jmp 0xab58
movq (%rsp), %rdi
leaq 0x846f(%rip), %rsi      # 0x12e98
callq 0x4430
cmpl $0x0, %eax
jne 0xaa4b
movq 0x8(%rsp), %rdi
movl $0x6, %esi
callq 0x4540
movl %eax, 0x14(%rsp)
jmp 0xab58
movq (%rsp), %rdi
leaq 0x844b(%rip), %rsi      # 0x12ea1
callq 0x4430
cmpl $0x0, %eax
jne 0xaa78
movq 0x8(%rsp), %rdi
movl $0x7, %esi
callq 0x4540
movl %eax, 0x14(%rsp)
jmp 0xab58
movq (%rsp), %rdi
leaq 0x8429(%rip), %rsi      # 0x12eac
callq 0x4430
cmpl $0x0, %eax
jne 0xaaa5
movq 0x8(%rsp), %rdi
movl $0x8, %esi
callq 0x4540
movl %eax, 0x14(%rsp)
jmp 0xab58
movq (%rsp), %rdi
leaq 0x8408(%rip), %rsi      # 0x12eb8
callq 0x4430
cmpl $0x0, %eax
jne 0xaad2
movq 0x8(%rsp), %rdi
movl $0x9, %esi
callq 0x4540
movl %eax, 0x14(%rsp)
jmp 0xab58
movq (%rsp), %rdi
leaq 0x83e6(%rip), %rsi      # 0x12ec3
callq 0x4430
cmpl $0x0, %eax
jne 0xaafc
movq 0x8(%rsp), %rdi
movl $0xa, %esi
callq 0x4540
movl %eax, 0x14(%rsp)
jmp 0xab58
movq (%rsp), %rdi
leaq 0x7746(%rip), %rsi      # 0x1224d
callq 0x4430
cmpl $0x0, %eax
jne 0xab26
movq 0x8(%rsp), %rdi
movl $0xb, %esi
callq 0x4540
movl %eax, 0x14(%rsp)
jmp 0xab58
movq (%rsp), %rdi
leaq 0x839b(%rip), %rsi      # 0x12ecc
callq 0x4430
cmpl $0x0, %eax
jne 0xab50
movq 0x8(%rsp), %rdi
movl $0xc, %esi
callq 0x4540
movl %eax, 0x14(%rsp)
jmp 0xab58
movl $0x0, 0x14(%rsp)
movl 0x14(%rsp), %eax
addq $0x18, %rsp
retq
nopw %cs:(%rax,%rax)