// File: /workspace/github_cpp_makefile_star2_O3/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 0x1a0f0
cmpl $0x3, %eax
jne 0x3ae36
movq %rbx, %rdi
movl $0x1, %esi
callq 0x190e0
movq %rax, %r14
xorl %ebp, %ebp
testb $0x1, %r14b
je 0x3acf9
leaq 0x5b4bd(%rip), %rsi     # 0x961a9
movq %rbx, %rdi
callq 0x1a2c0
movl $0x1, %ebp
testb $0x2, %r14b
je 0x3ad10
leaq 0x60244(%rip), %rsi     # 0x9af4a
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb $0x4, %r14b
je 0x3ad27
leaq 0x60242(%rip), %rsi     # 0x9af5f
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb $0x8, %r14b
je 0x3ad3e
leaq 0x60243(%rip), %rsi     # 0x9af77
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb $0x10, %r14b
je 0x3ad55
leaq 0x60235(%rip), %rsi     # 0x9af80
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb $0x20, %r14b
je 0x3ad6c
leaq 0x59307(%rip), %rsi     # 0x94069
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x8, %r14d
jae 0x3ad84
leaq 0x6020f(%rip), %rsi     # 0x9af89
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x9, %r14d
jae 0x3ad9c
leaq 0x5b798(%rip), %rsi     # 0x9652a
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0xa, %r14d
jae 0x3adb4
leaq 0x5b754(%rip), %rsi     # 0x964fe
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0xb, %r14d
jae 0x3adcc
leaq 0x601ce(%rip), %rsi     # 0x9af90
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0xc, %r14d
jae 0x3ade4
leaq 0x5b774(%rip), %rsi     # 0x9654e
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0xd, %r14d
jae 0x3adfc
leaq 0x601a3(%rip), %rsi     # 0x9af95
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb $0x1f, %r14b
je 0x3ae13
leaq 0x60195(%rip), %rsi     # 0x9af9e
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testl $0x7fffffff, %r14d      # imm = 0x7FFFFFFF
je 0x3b02f
leaq 0x59d5e(%rip), %rsi     # 0x94b85
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
jmp 0x3b02f
movl $0x1, %ebp
movq %rbx, %rdi
movl $0x1, %esi
callq 0x1a640
xorl %r14d, %r14d
testl %eax, %eax
je 0x3b01f
leaq 0x5b34f(%rip), %r15     # 0x961a9
leaq 0x600e9(%rip), %r12     # 0x9af4a
movq %rbx, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq 0x18680
movq %rax, %r13
movq %rax, %rdi
movq %r15, %rsi
callq 0x18ff0
testl %eax, %eax
je 0x3afad
movq %r13, %rdi
movq %r12, %rsi
callq 0x18ff0
testl %eax, %eax
je 0x3afb3
movq %r13, %rdi
leaq 0x600bf(%rip), %rsi     # 0x9af5f
callq 0x18ff0
testl %eax, %eax
je 0x3afb9
movq %r13, %rdi
leaq 0x600c0(%rip), %rsi     # 0x9af77
callq 0x18ff0
testl %eax, %eax
je 0x3afbf
movq %r13, %rdi
leaq 0x600b2(%rip), %rsi     # 0x9af80
callq 0x18ff0
testl %eax, %eax
je 0x3afc5
movq %r13, %rdi
leaq 0x59184(%rip), %rsi     # 0x94069
callq 0x18ff0
testl %eax, %eax
je 0x3afcb
movq %r13, %rdi
leaq 0x6008d(%rip), %rsi     # 0x9af89
callq 0x18ff0
testl %eax, %eax
je 0x3afd1
movq %r13, %rdi
leaq 0x5b617(%rip), %rsi     # 0x9652a
callq 0x18ff0
testl %eax, %eax
je 0x3afda
movq %r13, %rdi
leaq 0x5b5d4(%rip), %rsi     # 0x964fe
callq 0x18ff0
testl %eax, %eax
je 0x3afe3
movq %r13, %rdi
leaq 0x6004f(%rip), %rsi     # 0x9af90
callq 0x18ff0
testl %eax, %eax
je 0x3afec
movq %r13, %rdi
leaq 0x5b5f6(%rip), %rsi     # 0x9654e
callq 0x18ff0
testl %eax, %eax
je 0x3aff5
movq %r13, %rdi
leaq 0x60026(%rip), %rsi     # 0x9af95
callq 0x18ff0
testl %eax, %eax
je 0x3affe
movq %r13, %rdi
leaq 0x60018(%rip), %rsi     # 0x9af9e
callq 0x18ff0
testl %eax, %eax
je 0x3b007
movq %r13, %rdi
leaq 0x59bec(%rip), %rsi     # 0x94b85
callq 0x18ff0
movl $0x7fffffff, %r14d      # imm = 0x7FFFFFFF
testl %eax, %eax
je 0x3b00b
jmp 0x3b040
orl $0x1, %r14d
jmp 0x3b00b
orl $0x2, %r14d
jmp 0x3b00b
orl $0x4, %r14d
jmp 0x3b00b
orl $0x8, %r14d
jmp 0x3b00b
orl $0x10, %r14d
jmp 0x3b00b
orl $0x20, %r14d
jmp 0x3b00b
orl $0x100, %r14d           # imm = 0x100
jmp 0x3b00b
orl $0x200, %r14d           # imm = 0x200
jmp 0x3b00b
orl $0x400, %r14d           # imm = 0x400
jmp 0x3b00b
orl $0x800, %r14d           # imm = 0x800
jmp 0x3b00b
orl $0x1000, %r14d          # imm = 0x1000
jmp 0x3b00b
orl $0x2000, %r14d          # imm = 0x2000
jmp 0x3b00b
orl $0x1f, %r14d
incl %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x1a640
testl %eax, %eax
jne 0x3ae61
movl %r14d, %esi
movq %rbx, %rdi
callq 0x18b50
movl $0x1, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x5399f(%rip), %rsi     # 0x8e9e6
movq %rbx, %rdi
movq %r13, %rdx
xorl %eax, %eax
callq 0x18ea0
movq %rbx, %rdi
movl %ebp, %esi
movq %rax, %rdx
callq 0x18410
movl %eax, %r14d
jmp 0x3b01f