// File: /workspace/github_cpp_makefile_star2_O1/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 0x1a130
cmpl $0x3, %eax
jne 0x3c9b4
movq %rbx, %rdi
movl $0x1, %esi
callq 0x190f0
movq %rax, %r14
xorl %ebp, %ebp
testb $0x1, %r14b
je 0x3c6fc
leaq 0x61d80(%rip), %rsi     # 0x9e46f
movq %rbx, %rdi
callq 0x1a300
movl $0x1, %ebp
testb $0x2, %r14b
je 0x3c713
leaq 0x61d72(%rip), %rsi     # 0x9e47b
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb $0x4, %r14b
je 0x3c72a
leaq 0x5a17f(%rip), %rsi     # 0x9689f
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb $0x8, %r14b
je 0x3c741
leaq 0x61d52(%rip), %rsi     # 0x9e489
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb $0x10, %r14b
je 0x3c758
leaq 0x61d49(%rip), %rsi     # 0x9e497
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb $0x20, %r14b
je 0x3c76f
leaq 0x61d4e(%rip), %rsi     # 0x9e4b3
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb $0x40, %r14b
je 0x3c786
leaq 0x61d56(%rip), %rsi     # 0x9e4d2
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb %r14b, %r14b
jns 0x3c79c
leaq 0x61d50(%rip), %rsi     # 0x9e4e2
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x8, %r14d
jae 0x3c7b4
leaq 0x61d48(%rip), %rsi     # 0x9e4f2
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x9, %r14d
jae 0x3c7cc
leaq 0x61d45(%rip), %rsi     # 0x9e507
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0xa, %r14d
jae 0x3c7e4
leaq 0x61d41(%rip), %rsi     # 0x9e51b
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0xb, %r14d
jae 0x3c7fc
leaq 0x61d41(%rip), %rsi     # 0x9e533
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0xc, %r14d
jae 0x3c814
leaq 0x61d38(%rip), %rsi     # 0x9e542
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0xd, %r14d
jae 0x3c82c
leaq 0x61d29(%rip), %rsi     # 0x9e54b
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0xe, %r14d
jae 0x3c844
leaq 0x5cba4(%rip), %rsi     # 0x993de
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x12, %r14d
jae 0x3c85c
leaq 0x61937(%rip), %rsi     # 0x9e189
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x18, %r14d
jae 0x3c874
leaq 0x61cf0(%rip), %rsi     # 0x9e55a
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x17, %r14d
jae 0x3c88c
leaq 0x61ceb(%rip), %rsi     # 0x9e56d
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x19, %r14d
jae 0x3c8a4
leaq 0x61cec(%rip), %rsi     # 0x9e586
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x15, %r14d
jae 0x3c8bc
leaq 0x61cf1(%rip), %rsi     # 0x9e5a3
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x16, %r14d
jae 0x3c8d4
leaq 0x61cec(%rip), %rsi     # 0x9e5b6
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btq $0x20, %r14
jae 0x3c8ec
leaq 0x591cf(%rip), %rsi     # 0x95ab1
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btq $0x21, %r14
jae 0x3c904
leaq 0x6c125(%rip), %rsi     # 0xa8a1f
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btq $0x22, %r14
jae 0x3c91c
leaq 0x61cc5(%rip), %rsi     # 0x9e5d7
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btq $0x23, %r14
jae 0x3c934
leaq 0x59144(%rip), %rsi     # 0x95a6e
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btq $0x24, %r14
jae 0x3c94c
leaq 0x61c9a(%rip), %rsi     # 0x9e5dc
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btq $0x25, %r14
jae 0x3c964
leaq 0x61c8e(%rip), %rsi     # 0x9e5e8
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btq $0x26, %r14
jae 0x3c97c
leaq 0x61c8d(%rip), %rsi     # 0x9e5ff
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testw %r14w, %r14w
jns 0x3c993
leaq 0x615f2(%rip), %rsi     # 0x9df7b
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x10, %r14d
jae 0x3cde6
leaq 0x61c74(%rip), %rsi     # 0x9e619
movq %rbx, %rdi
callq 0x1a300
incl %ebp
jmp 0x3cde6
movl $0x1, %ebp
movq %rbx, %rdi
movl $0x1, %esi
callq 0x1a680
xorl %r14d, %r14d
testl %eax, %eax
je 0x3cdd6
leaq 0x61a97(%rip), %r15     # 0x9e46f
leaq 0x61a9c(%rip), %r12     # 0x9e47b
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 0x3ccbb
movq %r13, %rdi
movq %r12, %rsi
callq 0x19000
testl %eax, %eax
je 0x3ccc4
movq %r13, %rdi
leaq 0x59e81(%rip), %rsi     # 0x9689f
callq 0x19000
testl %eax, %eax
je 0x3cccd
movq %r13, %rdi
leaq 0x61a54(%rip), %rsi     # 0x9e489
callq 0x19000
testl %eax, %eax
je 0x3ccd6
movq %r13, %rdi
leaq 0x61a4b(%rip), %rsi     # 0x9e497
callq 0x19000
testl %eax, %eax
je 0x3ccdf
movq %r13, %rdi
leaq 0x61a50(%rip), %rsi     # 0x9e4b3
callq 0x19000
testl %eax, %eax
je 0x3cce8
movq %r13, %rdi
leaq 0x61a58(%rip), %rsi     # 0x9e4d2
callq 0x19000
testl %eax, %eax
je 0x3ccf1
movq %r13, %rdi
leaq 0x61a51(%rip), %rsi     # 0x9e4e2
callq 0x19000
testl %eax, %eax
je 0x3ccfa
movq %r13, %rdi
leaq 0x61a4a(%rip), %rsi     # 0x9e4f2
callq 0x19000
testl %eax, %eax
je 0x3cd06
movq %r13, %rdi
leaq 0x61a48(%rip), %rsi     # 0x9e507
callq 0x19000
testl %eax, %eax
je 0x3cd12
movq %r13, %rdi
leaq 0x61a45(%rip), %rsi     # 0x9e51b
callq 0x19000
testl %eax, %eax
je 0x3cd1e
movq %r13, %rdi
leaq 0x61a46(%rip), %rsi     # 0x9e533
callq 0x19000
testl %eax, %eax
je 0x3cd2a
movq %r13, %rdi
leaq 0x61a3e(%rip), %rsi     # 0x9e542
callq 0x19000
testl %eax, %eax
je 0x3cd36
movq %r13, %rdi
leaq 0x61a30(%rip), %rsi     # 0x9e54b
callq 0x19000
testl %eax, %eax
je 0x3cd42
movq %r13, %rdi
leaq 0x5c8ac(%rip), %rsi     # 0x993de
callq 0x19000
testl %eax, %eax
je 0x3cd4b
movq %r13, %rdi
leaq 0x61640(%rip), %rsi     # 0x9e189
callq 0x19000
testl %eax, %eax
je 0x3cd54
movq %r13, %rdi
leaq 0x619fa(%rip), %rsi     # 0x9e55a
callq 0x19000
testl %eax, %eax
je 0x3cd5d
movq %r13, %rdi
leaq 0x619f6(%rip), %rsi     # 0x9e56d
callq 0x19000
testl %eax, %eax
je 0x3cd66
movq %r13, %rdi
leaq 0x619f8(%rip), %rsi     # 0x9e586
callq 0x19000
testl %eax, %eax
je 0x3cd6f
movq %r13, %rdi
leaq 0x619fe(%rip), %rsi     # 0x9e5a3
callq 0x19000
testl %eax, %eax
je 0x3cd78
movq %r13, %rdi
leaq 0x619fa(%rip), %rsi     # 0x9e5b6
callq 0x19000
testl %eax, %eax
je 0x3cd81
movq %r13, %rdi
leaq 0x6be3b(%rip), %rsi     # 0xa8a0e
callq 0x19000
testl %eax, %eax
je 0x3cdc2
movq %r13, %rdi
leaq 0x58ec7(%rip), %rsi     # 0x95ab1
callq 0x19000
testl %eax, %eax
je 0x3cd8a
movq %r13, %rdi
leaq 0x6be1e(%rip), %rsi     # 0xa8a1f
callq 0x19000
testl %eax, %eax
je 0x3cd91
movq %r13, %rdi
leaq 0x619bf(%rip), %rsi     # 0x9e5d7
callq 0x19000
testl %eax, %eax
je 0x3cd98
movq %r13, %rdi
leaq 0x58e3f(%rip), %rsi     # 0x95a6e
callq 0x19000
testl %eax, %eax
je 0x3cd9f
movq %r13, %rdi
leaq 0x61996(%rip), %rsi     # 0x9e5dc
callq 0x19000
testl %eax, %eax
je 0x3cda6
movq %r13, %rdi
leaq 0x6198b(%rip), %rsi     # 0x9e5e8
callq 0x19000
testl %eax, %eax
je 0x3cdad
movq %r13, %rdi
leaq 0x6198b(%rip), %rsi     # 0x9e5ff
callq 0x19000
testl %eax, %eax
je 0x3cdb4
movq %r13, %rdi
leaq 0x612f0(%rip), %rsi     # 0x9df7b
callq 0x19000
testl %eax, %eax
je 0x3cdbb
movq %r13, %rdi
leaq 0x61977(%rip), %rsi     # 0x9e619
callq 0x19000
testl %eax, %eax
jne 0x3cdf7
orq $0x10000, %r14          # imm = 0x10000
jmp 0x3cdc2
orq $0x1, %r14
jmp 0x3cdc2
orq $0x2, %r14
jmp 0x3cdc2
orq $0x4, %r14
jmp 0x3cdc2
orq $0x8, %r14
jmp 0x3cdc2
orq $0x10, %r14
jmp 0x3cdc2
orq $0x20, %r14
jmp 0x3cdc2
orq $0x40, %r14
jmp 0x3cdc2
orq $0x80, %r14
jmp 0x3cdc2
orq $0x100, %r14            # imm = 0x100
jmp 0x3cdc2
orq $0x200, %r14            # imm = 0x200
jmp 0x3cdc2
orq $0x400, %r14            # imm = 0x400
jmp 0x3cdc2
orq $0x800, %r14            # imm = 0x800
jmp 0x3cdc2
orq $0x1000, %r14           # imm = 0x1000
jmp 0x3cdc2
orq $0x2000, %r14           # imm = 0x2000
jmp 0x3cdc2
orq $0x4000, %r14           # imm = 0x4000
jmp 0x3cdc2
orq $0x40000, %r14          # imm = 0x40000
jmp 0x3cdc2
orq $0x1000000, %r14        # imm = 0x1000000
jmp 0x3cdc2
orq $0x800000, %r14         # imm = 0x800000
jmp 0x3cdc2
orq $0x2000000, %r14        # imm = 0x2000000
jmp 0x3cdc2
orq $0x200000, %r14         # imm = 0x200000
jmp 0x3cdc2
orq $0x400000, %r14         # imm = 0x400000
jmp 0x3cdc2
btsq $0x20, %r14
jmp 0x3cdc2
btsq $0x21, %r14
jmp 0x3cdc2
btsq $0x22, %r14
jmp 0x3cdc2
btsq $0x23, %r14
jmp 0x3cdc2
btsq $0x24, %r14
jmp 0x3cdc2
btsq $0x25, %r14
jmp 0x3cdc2
btsq $0x26, %r14
jmp 0x3cdc2
orq $0x8000, %r14           # imm = 0x8000
incl %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x1a680
testl %eax, %eax
jne 0x3c9df
movq %rbx, %rdi
movq %r14, %rsi
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 0x54be8(%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
movslq %eax, %r14
jmp 0x3cdd6