// File: /workspace/github_cpp_makefile_star2_O2/stetre[P]moonvulkan/src/flags.c
// Function: ShaderStageFlags
static int ShaderStageFlags(lua_State *L)
    {
    if(lua_type(L, 1) == LUA_TNUMBER)
        return pushshaderstageflags(L, luaL_checkinteger(L, 1));
    lua_pushinteger(L, checkshaderstageflags(L, 1));
    return 1;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
pushq $0x1
popq %rbp
movl %ebp, %esi
callq 0x1a110
cmpl $0x3, %eax
jne 0x38a92
pushq $0x1
popq %r15
movq %rbx, %rdi
movl %r15d, %esi
callq 0x190d0
movq %rax, %r14
xorl %ebp, %ebp
testb $0x1, %r14b
je 0x38955
leaq 0x4e85f(%rip), %rsi     # 0x871a9
movq %rbx, %rdi
callq 0x1a2e0
movl %r15d, %ebp
testb $0x2, %r14b
je 0x3896c
leaq 0x535e8(%rip), %rsi     # 0x8bf4a
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
testb $0x4, %r14b
je 0x38983
leaq 0x535e6(%rip), %rsi     # 0x8bf5f
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
testb $0x8, %r14b
je 0x3899a
leaq 0x535e7(%rip), %rsi     # 0x8bf77
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
testb $0x10, %r14b
je 0x389b1
leaq 0x535d9(%rip), %rsi     # 0x8bf80
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
testb $0x20, %r14b
je 0x389c8
leaq 0x4c6ab(%rip), %rsi     # 0x85069
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x8, %r14d
jae 0x389e0
leaq 0x535b3(%rip), %rsi     # 0x8bf89
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x9, %r14d
jae 0x389f8
leaq 0x4eb3c(%rip), %rsi     # 0x8752a
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0xa, %r14d
jae 0x38a10
leaq 0x4eaf8(%rip), %rsi     # 0x874fe
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0xb, %r14d
jae 0x38a28
leaq 0x53572(%rip), %rsi     # 0x8bf90
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0xc, %r14d
jae 0x38a40
leaq 0x4eb18(%rip), %rsi     # 0x8754e
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0xd, %r14d
jae 0x38a58
leaq 0x53547(%rip), %rsi     # 0x8bf95
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
testb $0x1f, %r14b
je 0x38a6f
leaq 0x53539(%rip), %rsi     # 0x8bf9e
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
testl $0x7fffffff, %r14d      # imm = 0x7FFFFFFF
je 0x38c91
leaq 0x4d102(%rip), %rsi     # 0x85b85
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
jmp 0x38c91
xorl %r14d, %r14d
leaq 0x4e70d(%rip), %r15     # 0x871a9
leaq 0x534a7(%rip), %r12     # 0x8bf4a
movq %rbx, %rdi
movl %ebp, %esi
callq 0x1a660
testl %eax, %eax
je 0x38c83
movq %rbx, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq 0x18680
movq %rax, %r13
movq %rax, %rdi
movq %r15, %rsi
callq 0x18fe0
testl %eax, %eax
je 0x38bfa
movq %r13, %rdi
movq %r12, %rsi
callq 0x18fe0
testl %eax, %eax
je 0x38c00
movq %r13, %rdi
leaq 0x5346b(%rip), %rsi     # 0x8bf5f
callq 0x18fe0
testl %eax, %eax
je 0x38c06
movq %r13, %rdi
leaq 0x5346c(%rip), %rsi     # 0x8bf77
callq 0x18fe0
testl %eax, %eax
je 0x38c0c
movq %r13, %rdi
leaq 0x5345e(%rip), %rsi     # 0x8bf80
callq 0x18fe0
testl %eax, %eax
je 0x38c12
movq %r13, %rdi
leaq 0x4c530(%rip), %rsi     # 0x85069
callq 0x18fe0
testl %eax, %eax
je 0x38c18
movq %r13, %rdi
leaq 0x53439(%rip), %rsi     # 0x8bf89
callq 0x18fe0
testl %eax, %eax
je 0x38c1e
movq %r13, %rdi
leaq 0x4e9c3(%rip), %rsi     # 0x8752a
callq 0x18fe0
testl %eax, %eax
je 0x38c27
movq %r13, %rdi
leaq 0x4e980(%rip), %rsi     # 0x874fe
callq 0x18fe0
testl %eax, %eax
je 0x38c30
movq %r13, %rdi
leaq 0x533fb(%rip), %rsi     # 0x8bf90
callq 0x18fe0
testl %eax, %eax
je 0x38c39
movq %r13, %rdi
leaq 0x4e9a2(%rip), %rsi     # 0x8754e
callq 0x18fe0
testl %eax, %eax
je 0x38c42
movq %r13, %rdi
leaq 0x533d2(%rip), %rsi     # 0x8bf95
callq 0x18fe0
testl %eax, %eax
je 0x38c4b
movq %r13, %rdi
leaq 0x533c8(%rip), %rsi     # 0x8bf9e
callq 0x18fe0
testl %eax, %eax
je 0x38c54
movq %r13, %rdi
leaq 0x4cf9c(%rip), %rsi     # 0x85b85
callq 0x18fe0
movl $0x7fffffff, %r14d      # imm = 0x7FFFFFFF
testl %eax, %eax
je 0x38c58
jmp 0x38c5f
orl $0x1, %r14d
jmp 0x38c58
orl $0x2, %r14d
jmp 0x38c58
orl $0x4, %r14d
jmp 0x38c58
orl $0x8, %r14d
jmp 0x38c58
orl $0x10, %r14d
jmp 0x38c58
orl $0x20, %r14d
jmp 0x38c58
orl $0x100, %r14d           # imm = 0x100
jmp 0x38c58
orl $0x200, %r14d           # imm = 0x200
jmp 0x38c58
orl $0x400, %r14d           # imm = 0x400
jmp 0x38c58
orl $0x800, %r14d           # imm = 0x800
jmp 0x38c58
orl $0x1000, %r14d          # imm = 0x1000
jmp 0x38c58
orl $0x2000, %r14d          # imm = 0x2000
jmp 0x38c58
orl $0x1f, %r14d
incl %ebp
jmp 0x38aa3
leaq 0x46d80(%rip), %rsi     # 0x7f9e6
movq %rbx, %rdi
movq %r13, %rdx
xorl %eax, %eax
callq 0x18e90
movq %rbx, %rdi
movl %ebp, %esi
movq %rax, %rdx
callq 0x18420
movl %eax, %r14d
movl %r14d, %esi
movq %rbx, %rdi
callq 0x18b50
pushq $0x1
popq %rbp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq