// File: /workspace/github_cpp_makefile_star2_O1/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
movl $0x1, %esi
callq 0x1a130
cmpl $0x3, %eax
jne 0x3afae
movq %rbx, %rdi
movl $0x1, %esi
callq 0x190f0
movq %rax, %r14
xorl %ebp, %ebp
testb $0x1, %r14b
je 0x3ae71
leaq 0x5e345(%rip), %rsi     # 0x991a9
movq %rbx, %rdi
callq 0x1a300
movl $0x1, %ebp
testb $0x2, %r14b
je 0x3ae88
leaq 0x630a9(%rip), %rsi     # 0x9df27
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb $0x4, %r14b
je 0x3ae9f
leaq 0x630a7(%rip), %rsi     # 0x9df3c
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb $0x8, %r14b
je 0x3aeb6
leaq 0x630a8(%rip), %rsi     # 0x9df54
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb $0x10, %r14b
je 0x3aecd
leaq 0x6309a(%rip), %rsi     # 0x9df5d
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb $0x20, %r14b
je 0x3aee4
leaq 0x5c18f(%rip), %rsi     # 0x97069
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x8, %r14d
jae 0x3aefc
leaq 0x63074(%rip), %rsi     # 0x9df66
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x9, %r14d
jae 0x3af14
leaq 0x5e620(%rip), %rsi     # 0x9952a
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0xa, %r14d
jae 0x3af2c
leaq 0x5e5dc(%rip), %rsi     # 0x994fe
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0xb, %r14d
jae 0x3af44
leaq 0x63033(%rip), %rsi     # 0x9df6d
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0xc, %r14d
jae 0x3af5c
leaq 0x5e5fc(%rip), %rsi     # 0x9954e
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0xd, %r14d
jae 0x3af74
leaq 0x63008(%rip), %rsi     # 0x9df72
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb $0x1f, %r14b
je 0x3af8b
leaq 0x62ffa(%rip), %rsi     # 0x9df7b
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testl $0x7fffffff, %r14d      # imm = 0x7FFFFFFF
je 0x3b1a7
leaq 0x5cbe6(%rip), %rsi     # 0x97b85
movq %rbx, %rdi
callq 0x1a300
incl %ebp
jmp 0x3b1a7
movl $0x1, %ebp
movq %rbx, %rdi
movl $0x1, %esi
callq 0x1a680
xorl %r14d, %r14d
testl %eax, %eax
je 0x3b197
leaq 0x5e1d7(%rip), %r15     # 0x991a9
leaq 0x62f4e(%rip), %r12     # 0x9df27
movq %rbx, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq 0x18690
movq %rax, %r13
movq %rax, %rdi
movq %r15, %rsi
callq 0x19000
testl %eax, %eax
je 0x3b125
movq %r13, %rdi
movq %r12, %rsi
callq 0x19000
testl %eax, %eax
je 0x3b12b
movq %r13, %rdi
leaq 0x62f24(%rip), %rsi     # 0x9df3c
callq 0x19000
testl %eax, %eax
je 0x3b131
movq %r13, %rdi
leaq 0x62f25(%rip), %rsi     # 0x9df54
callq 0x19000
testl %eax, %eax
je 0x3b137
movq %r13, %rdi
leaq 0x62f17(%rip), %rsi     # 0x9df5d
callq 0x19000
testl %eax, %eax
je 0x3b13d
movq %r13, %rdi
leaq 0x5c00c(%rip), %rsi     # 0x97069
callq 0x19000
testl %eax, %eax
je 0x3b143
movq %r13, %rdi
leaq 0x62ef2(%rip), %rsi     # 0x9df66
callq 0x19000
testl %eax, %eax
je 0x3b149
movq %r13, %rdi
leaq 0x5e49f(%rip), %rsi     # 0x9952a
callq 0x19000
testl %eax, %eax
je 0x3b152
movq %r13, %rdi
leaq 0x5e45c(%rip), %rsi     # 0x994fe
callq 0x19000
testl %eax, %eax
je 0x3b15b
movq %r13, %rdi
leaq 0x62eb4(%rip), %rsi     # 0x9df6d
callq 0x19000
testl %eax, %eax
je 0x3b164
movq %r13, %rdi
leaq 0x5e47e(%rip), %rsi     # 0x9954e
callq 0x19000
testl %eax, %eax
je 0x3b16d
movq %r13, %rdi
leaq 0x62e8b(%rip), %rsi     # 0x9df72
callq 0x19000
testl %eax, %eax
je 0x3b176
movq %r13, %rdi
leaq 0x62e7d(%rip), %rsi     # 0x9df7b
callq 0x19000
testl %eax, %eax
je 0x3b17f
movq %r13, %rdi
leaq 0x5ca74(%rip), %rsi     # 0x97b85
callq 0x19000
movl $0x7fffffff, %r14d      # imm = 0x7FFFFFFF
testl %eax, %eax
je 0x3b183
jmp 0x3b1b8
orl $0x1, %r14d
jmp 0x3b183
orl $0x2, %r14d
jmp 0x3b183
orl $0x4, %r14d
jmp 0x3b183
orl $0x8, %r14d
jmp 0x3b183
orl $0x10, %r14d
jmp 0x3b183
orl $0x20, %r14d
jmp 0x3b183
orl $0x100, %r14d           # imm = 0x100
jmp 0x3b183
orl $0x200, %r14d           # imm = 0x200
jmp 0x3b183
orl $0x400, %r14d           # imm = 0x400
jmp 0x3b183
orl $0x800, %r14d           # imm = 0x800
jmp 0x3b183
orl $0x1000, %r14d          # imm = 0x1000
jmp 0x3b183
orl $0x2000, %r14d          # imm = 0x2000
jmp 0x3b183
orl $0x1f, %r14d
incl %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x1a680
testl %eax, %eax
jne 0x3afd9
movl %r14d, %esi
movq %rbx, %rdi
callq 0x18b60
movl $0x1, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x56827(%rip), %rsi     # 0x919e6
movq %rbx, %rdi
movq %r13, %rdx
xorl %eax, %eax
callq 0x18eb0
movq %rbx, %rdi
movl %ebp, %esi
movq %rax, %rdx
callq 0x18420
movl %eax, %r14d
jmp 0x3b197