// File: /workspace/github_cpp_makefile_star2_O3/stetre[P]moonvulkan/src/flags.c
// Function: PipelineStageFlags
static int PipelineStageFlags(lua_State *L)
    {
    if(lua_type(L, 1) == LUA_TNUMBER)
        return pushpipelinestageflags(L, luaL_checkinteger(L, 1));
    lua_pushinteger(L, checkpipelinestageflags(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 0x3c83c
movq %rbx, %rdi
movl $0x1, %esi
callq 0x190e0
movq %rax, %r14
xorl %ebp, %ebp
testb $0x1, %r14b
je 0x3c584
leaq 0x5ef1b(%rip), %rsi     # 0x9b492
movq %rbx, %rdi
callq 0x1a2c0
movl $0x1, %ebp
testb $0x2, %r14b
je 0x3c59b
leaq 0x5ef0d(%rip), %rsi     # 0x9b49e
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb $0x4, %r14b
je 0x3c5b2
leaq 0x572f7(%rip), %rsi     # 0x9389f
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb $0x8, %r14b
je 0x3c5c9
leaq 0x5eeed(%rip), %rsi     # 0x9b4ac
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb $0x10, %r14b
je 0x3c5e0
leaq 0x5eee4(%rip), %rsi     # 0x9b4ba
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb $0x20, %r14b
je 0x3c5f7
leaq 0x5eee9(%rip), %rsi     # 0x9b4d6
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb $0x40, %r14b
je 0x3c60e
leaq 0x5eef1(%rip), %rsi     # 0x9b4f5
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb %r14b, %r14b
jns 0x3c624
leaq 0x5eeeb(%rip), %rsi     # 0x9b505
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x8, %r14d
jae 0x3c63c
leaq 0x5eee3(%rip), %rsi     # 0x9b515
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x9, %r14d
jae 0x3c654
leaq 0x5eee0(%rip), %rsi     # 0x9b52a
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0xa, %r14d
jae 0x3c66c
leaq 0x5eedc(%rip), %rsi     # 0x9b53e
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0xb, %r14d
jae 0x3c684
leaq 0x5eedc(%rip), %rsi     # 0x9b556
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0xc, %r14d
jae 0x3c69c
leaq 0x5eed3(%rip), %rsi     # 0x9b565
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0xd, %r14d
jae 0x3c6b4
leaq 0x5eec4(%rip), %rsi     # 0x9b56e
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0xe, %r14d
jae 0x3c6cc
leaq 0x59d1c(%rip), %rsi     # 0x963de
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x12, %r14d
jae 0x3c6e4
leaq 0x5ead2(%rip), %rsi     # 0x9b1ac
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x18, %r14d
jae 0x3c6fc
leaq 0x5ee8b(%rip), %rsi     # 0x9b57d
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x17, %r14d
jae 0x3c714
leaq 0x5ee86(%rip), %rsi     # 0x9b590
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x19, %r14d
jae 0x3c72c
leaq 0x5ee87(%rip), %rsi     # 0x9b5a9
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x15, %r14d
jae 0x3c744
leaq 0x5ee8c(%rip), %rsi     # 0x9b5c6
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x16, %r14d
jae 0x3c75c
leaq 0x5ee87(%rip), %rsi     # 0x9b5d9
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btq $0x20, %r14
jae 0x3c774
leaq 0x56347(%rip), %rsi     # 0x92ab1
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btq $0x21, %r14
jae 0x3c78c
leaq 0x692bd(%rip), %rsi     # 0xa5a3f
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btq $0x22, %r14
jae 0x3c7a4
leaq 0x5ee60(%rip), %rsi     # 0x9b5fa
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btq $0x23, %r14
jae 0x3c7bc
leaq 0x562bc(%rip), %rsi     # 0x92a6e
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btq $0x24, %r14
jae 0x3c7d4
leaq 0x5ee35(%rip), %rsi     # 0x9b5ff
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btq $0x25, %r14
jae 0x3c7ec
leaq 0x5ee29(%rip), %rsi     # 0x9b60b
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btq $0x26, %r14
jae 0x3c804
leaq 0x5ee28(%rip), %rsi     # 0x9b622
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testw %r14w, %r14w
jns 0x3c81b
leaq 0x5e78d(%rip), %rsi     # 0x9af9e
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x10, %r14d
jae 0x3cc6e
leaq 0x5ee0f(%rip), %rsi     # 0x9b63c
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
jmp 0x3cc6e
movl $0x1, %ebp
movq %rbx, %rdi
movl $0x1, %esi
callq 0x1a640
xorl %r14d, %r14d
testl %eax, %eax
je 0x3cc5e
leaq 0x5ec32(%rip), %r15     # 0x9b492
leaq 0x5ec37(%rip), %r12     # 0x9b49e
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 0x3cb43
movq %r13, %rdi
movq %r12, %rsi
callq 0x18ff0
testl %eax, %eax
je 0x3cb4c
movq %r13, %rdi
leaq 0x56ff9(%rip), %rsi     # 0x9389f
callq 0x18ff0
testl %eax, %eax
je 0x3cb55
movq %r13, %rdi
leaq 0x5ebef(%rip), %rsi     # 0x9b4ac
callq 0x18ff0
testl %eax, %eax
je 0x3cb5e
movq %r13, %rdi
leaq 0x5ebe6(%rip), %rsi     # 0x9b4ba
callq 0x18ff0
testl %eax, %eax
je 0x3cb67
movq %r13, %rdi
leaq 0x5ebeb(%rip), %rsi     # 0x9b4d6
callq 0x18ff0
testl %eax, %eax
je 0x3cb70
movq %r13, %rdi
leaq 0x5ebf3(%rip), %rsi     # 0x9b4f5
callq 0x18ff0
testl %eax, %eax
je 0x3cb79
movq %r13, %rdi
leaq 0x5ebec(%rip), %rsi     # 0x9b505
callq 0x18ff0
testl %eax, %eax
je 0x3cb82
movq %r13, %rdi
leaq 0x5ebe5(%rip), %rsi     # 0x9b515
callq 0x18ff0
testl %eax, %eax
je 0x3cb8e
movq %r13, %rdi
leaq 0x5ebe3(%rip), %rsi     # 0x9b52a
callq 0x18ff0
testl %eax, %eax
je 0x3cb9a
movq %r13, %rdi
leaq 0x5ebe0(%rip), %rsi     # 0x9b53e
callq 0x18ff0
testl %eax, %eax
je 0x3cba6
movq %r13, %rdi
leaq 0x5ebe1(%rip), %rsi     # 0x9b556
callq 0x18ff0
testl %eax, %eax
je 0x3cbb2
movq %r13, %rdi
leaq 0x5ebd9(%rip), %rsi     # 0x9b565
callq 0x18ff0
testl %eax, %eax
je 0x3cbbe
movq %r13, %rdi
leaq 0x5ebcb(%rip), %rsi     # 0x9b56e
callq 0x18ff0
testl %eax, %eax
je 0x3cbca
movq %r13, %rdi
leaq 0x59a24(%rip), %rsi     # 0x963de
callq 0x18ff0
testl %eax, %eax
je 0x3cbd3
movq %r13, %rdi
leaq 0x5e7db(%rip), %rsi     # 0x9b1ac
callq 0x18ff0
testl %eax, %eax
je 0x3cbdc
movq %r13, %rdi
leaq 0x5eb95(%rip), %rsi     # 0x9b57d
callq 0x18ff0
testl %eax, %eax
je 0x3cbe5
movq %r13, %rdi
leaq 0x5eb91(%rip), %rsi     # 0x9b590
callq 0x18ff0
testl %eax, %eax
je 0x3cbee
movq %r13, %rdi
leaq 0x5eb93(%rip), %rsi     # 0x9b5a9
callq 0x18ff0
testl %eax, %eax
je 0x3cbf7
movq %r13, %rdi
leaq 0x5eb99(%rip), %rsi     # 0x9b5c6
callq 0x18ff0
testl %eax, %eax
je 0x3cc00
movq %r13, %rdi
leaq 0x5eb95(%rip), %rsi     # 0x9b5d9
callq 0x18ff0
testl %eax, %eax
je 0x3cc09
movq %r13, %rdi
leaq 0x68fd3(%rip), %rsi     # 0xa5a2e
callq 0x18ff0
testl %eax, %eax
je 0x3cc4a
movq %r13, %rdi
leaq 0x5603f(%rip), %rsi     # 0x92ab1
callq 0x18ff0
testl %eax, %eax
je 0x3cc12
movq %r13, %rdi
leaq 0x68fb6(%rip), %rsi     # 0xa5a3f
callq 0x18ff0
testl %eax, %eax
je 0x3cc19
movq %r13, %rdi
leaq 0x5eb5a(%rip), %rsi     # 0x9b5fa
callq 0x18ff0
testl %eax, %eax
je 0x3cc20
movq %r13, %rdi
leaq 0x55fb7(%rip), %rsi     # 0x92a6e
callq 0x18ff0
testl %eax, %eax
je 0x3cc27
movq %r13, %rdi
leaq 0x5eb31(%rip), %rsi     # 0x9b5ff
callq 0x18ff0
testl %eax, %eax
je 0x3cc2e
movq %r13, %rdi
leaq 0x5eb26(%rip), %rsi     # 0x9b60b
callq 0x18ff0
testl %eax, %eax
je 0x3cc35
movq %r13, %rdi
leaq 0x5eb26(%rip), %rsi     # 0x9b622
callq 0x18ff0
testl %eax, %eax
je 0x3cc3c
movq %r13, %rdi
leaq 0x5e48b(%rip), %rsi     # 0x9af9e
callq 0x18ff0
testl %eax, %eax
je 0x3cc43
movq %r13, %rdi
leaq 0x5eb12(%rip), %rsi     # 0x9b63c
callq 0x18ff0
testl %eax, %eax
jne 0x3cc7f
orq $0x10000, %r14          # imm = 0x10000
jmp 0x3cc4a
orq $0x1, %r14
jmp 0x3cc4a
orq $0x2, %r14
jmp 0x3cc4a
orq $0x4, %r14
jmp 0x3cc4a
orq $0x8, %r14
jmp 0x3cc4a
orq $0x10, %r14
jmp 0x3cc4a
orq $0x20, %r14
jmp 0x3cc4a
orq $0x40, %r14
jmp 0x3cc4a
orq $0x80, %r14
jmp 0x3cc4a
orq $0x100, %r14            # imm = 0x100
jmp 0x3cc4a
orq $0x200, %r14            # imm = 0x200
jmp 0x3cc4a
orq $0x400, %r14            # imm = 0x400
jmp 0x3cc4a
orq $0x800, %r14            # imm = 0x800
jmp 0x3cc4a
orq $0x1000, %r14           # imm = 0x1000
jmp 0x3cc4a
orq $0x2000, %r14           # imm = 0x2000
jmp 0x3cc4a
orq $0x4000, %r14           # imm = 0x4000
jmp 0x3cc4a
orq $0x40000, %r14          # imm = 0x40000
jmp 0x3cc4a
orq $0x1000000, %r14        # imm = 0x1000000
jmp 0x3cc4a
orq $0x800000, %r14         # imm = 0x800000
jmp 0x3cc4a
orq $0x2000000, %r14        # imm = 0x2000000
jmp 0x3cc4a
orq $0x200000, %r14         # imm = 0x200000
jmp 0x3cc4a
orq $0x400000, %r14         # imm = 0x400000
jmp 0x3cc4a
btsq $0x20, %r14
jmp 0x3cc4a
btsq $0x21, %r14
jmp 0x3cc4a
btsq $0x22, %r14
jmp 0x3cc4a
btsq $0x23, %r14
jmp 0x3cc4a
btsq $0x24, %r14
jmp 0x3cc4a
btsq $0x25, %r14
jmp 0x3cc4a
btsq $0x26, %r14
jmp 0x3cc4a
orq $0x8000, %r14           # imm = 0x8000
incl %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x1a640
testl %eax, %eax
jne 0x3c867
movq %rbx, %rdi
movq %r14, %rsi
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 0x51d60(%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
movslq %eax, %r14
jmp 0x3cc5e