// File: /workspace/github_cpp_makefile_star2_O3/stetre[P]moonvulkan/src/flags.c
// Function: QueryPipelineStatisticFlags
static int QueryPipelineStatisticFlags(lua_State *L)
    {
    if(lua_type(L, 1) == LUA_TNUMBER)
        return pushquerypipelinestatisticflags(L, luaL_checkinteger(L, 1));
    lua_pushinteger(L, checkquerypipelinestatisticflags(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 0x3bd67
movq %rbx, %rdi
movl $0x1, %esi
callq 0x190e0
movq %rax, %r14
xorl %ebp, %ebp
testb $0x1, %r14b
je 0x3bc76
leaq 0x5f673(%rip), %rsi     # 0x9b2dc
movq %rbx, %rdi
callq 0x1a2c0
movl $0x1, %ebp
testb $0x2, %r14b
je 0x3bc8d
leaq 0x5f671(%rip), %rsi     # 0x9b2f4
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb $0x4, %r14b
je 0x3bca4
leaq 0x5f674(%rip), %rsi     # 0x9b30e
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb $0x8, %r14b
je 0x3bcbb
leaq 0x5f677(%rip), %rsi     # 0x9b328
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb $0x10, %r14b
je 0x3bcd2
leaq 0x5f67c(%rip), %rsi     # 0x9b344
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb $0x20, %r14b
je 0x3bce9
leaq 0x5f680(%rip), %rsi     # 0x9b35f
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb $0x40, %r14b
je 0x3bd00
leaq 0x5f67e(%rip), %rsi     # 0x9b374
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb %r14b, %r14b
jns 0x3bd16
leaq 0x5f67c(%rip), %rsi     # 0x9b388
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x8, %r14d
jae 0x3bd2e
leaq 0x5f680(%rip), %rsi     # 0x9b3a4
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x9, %r14d
jae 0x3bd46
leaq 0x5f68c(%rip), %rsi     # 0x9b3c8
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0xa, %r14d
jae 0x3bef4
leaq 0x5f69b(%rip), %rsi     # 0x9b3f3
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
jmp 0x3bef4
movl $0x1, %ebp
movq %rbx, %rdi
movl $0x1, %esi
callq 0x1a640
xorl %r14d, %r14d
testl %eax, %eax
je 0x3bee4
leaq 0x5f551(%rip), %r15     # 0x9b2dc
leaq 0x5f562(%rip), %r12     # 0x9b2f4
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 0x3be89
movq %r13, %rdi
movq %r12, %rsi
callq 0x18ff0
testl %eax, %eax
je 0x3be90
movq %r13, %rdi
leaq 0x5f53d(%rip), %rsi     # 0x9b30e
callq 0x18ff0
testl %eax, %eax
je 0x3be97
movq %r13, %rdi
leaq 0x5f540(%rip), %rsi     # 0x9b328
callq 0x18ff0
testl %eax, %eax
je 0x3be9e
movq %r13, %rdi
leaq 0x5f545(%rip), %rsi     # 0x9b344
callq 0x18ff0
testl %eax, %eax
je 0x3bea5
movq %r13, %rdi
leaq 0x5f549(%rip), %rsi     # 0x9b35f
callq 0x18ff0
testl %eax, %eax
je 0x3beac
movq %r13, %rdi
leaq 0x5f547(%rip), %rsi     # 0x9b374
callq 0x18ff0
testl %eax, %eax
je 0x3beb3
movq %r13, %rdi
leaq 0x5f548(%rip), %rsi     # 0x9b388
callq 0x18ff0
testl %eax, %eax
je 0x3beba
movq %r13, %rdi
leaq 0x5f551(%rip), %rsi     # 0x9b3a4
callq 0x18ff0
testl %eax, %eax
je 0x3bec1
movq %r13, %rdi
leaq 0x5f562(%rip), %rsi     # 0x9b3c8
callq 0x18ff0
testl %eax, %eax
je 0x3bec8
movq %r13, %rdi
leaq 0x5f57a(%rip), %rsi     # 0x9b3f3
callq 0x18ff0
movl $0x400, %ecx            # imm = 0x400
testl %eax, %eax
je 0x3becd
jmp 0x3bf05
movl $0x1, %ecx
jmp 0x3becd
movl $0x2, %ecx
jmp 0x3becd
movl $0x4, %ecx
jmp 0x3becd
movl $0x8, %ecx
jmp 0x3becd
movl $0x10, %ecx
jmp 0x3becd
movl $0x20, %ecx
jmp 0x3becd
movl $0x40, %ecx
jmp 0x3becd
movl $0x80, %ecx
jmp 0x3becd
movl $0x100, %ecx            # imm = 0x100
jmp 0x3becd
movl $0x200, %ecx            # imm = 0x200
orl %ecx, %r14d
incl %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x1a640
testl %eax, %eax
jne 0x3bd92
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 0x52ada(%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 0x3bee4