// File: /workspace/github_cpp_makefile_star2_O1/stetre[P]moonvulkan/src/flags.c
// Function: BufferUsageFlags
static int BufferUsageFlags(lua_State *L)
    {
    if(lua_type(L, 1) == LUA_TNUMBER)
        return pushbufferusageflags(L, luaL_checkinteger(L, 1));
    lua_pushinteger(L, checkbufferusageflags(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 0x3b7ed
movq %rbx, %rdi
movl $0x1, %esi
callq 0x190f0
movq %rax, %r14
xorl %ebp, %ebp
testb $0x1, %r14b
je 0x3b684
leaq 0x62adb(%rip), %rsi     # 0x9e152
movq %rbx, %rdi
callq 0x1a300
movl $0x1, %ebp
testb $0x2, %r14b
je 0x3b69b
leaq 0x62ace(%rip), %rsi     # 0x9e15f
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb $0x4, %r14b
je 0x3b6b2
leaq 0x5b6e2(%rip), %rsi     # 0x96d8a
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb $0x8, %r14b
je 0x3b6c9
leaq 0x5b705(%rip), %rsi     # 0x96dc4
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb $0x10, %r14b
je 0x3b6e0
leaq 0x5b728(%rip), %rsi     # 0x96dfe
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb $0x20, %r14b
je 0x3b6f7
leaq 0x5b73f(%rip), %rsi     # 0x96e2c
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb $0x40, %r14b
je 0x3b70e
leaq 0x62a68(%rip), %rsi     # 0x9e16c
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb %r14b, %r14b
jns 0x3b724
leaq 0x6323f(%rip), %rsi     # 0x9e959
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x8, %r14d
jae 0x3b73c
leaq 0x62a47(%rip), %rsi     # 0x9e179
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x9, %r14d
jae 0x3b754
leaq 0x62a3f(%rip), %rsi     # 0x9e189
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0xb, %r14d
jae 0x3b76c
leaq 0x62a3d(%rip), %rsi     # 0x9e19f
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0xc, %r14d
jae 0x3b784
leaq 0x62a3f(%rip), %rsi     # 0x9e1b9
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x11, %r14d
jae 0x3b79c
leaq 0x62a49(%rip), %rsi     # 0x9e1db
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x13, %r14d
jae 0x3b7b4
leaq 0x62a47(%rip), %rsi     # 0x9e1f1
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x14, %r14d
jae 0x3b7cc
leaq 0x62a5c(%rip), %rsi     # 0x9e21e
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0xa, %r14d
jae 0x3ba1f
leaq 0x62a5f(%rip), %rsi     # 0x9e23d
movq %rbx, %rdi
callq 0x1a300
incl %ebp
jmp 0x3ba1f
movl $0x1, %ebp
movq %rbx, %rdi
movl $0x1, %esi
callq 0x1a680
xorl %r14d, %r14d
testl %eax, %eax
je 0x3ba0f
leaq 0x62941(%rip), %r15     # 0x9e152
leaq 0x62947(%rip), %r12     # 0x9e15f
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 0x3b991
movq %r13, %rdi
movq %r12, %rsi
callq 0x19000
testl %eax, %eax
je 0x3b998
movq %r13, %rdi
leaq 0x5b533(%rip), %rsi     # 0x96d8a
callq 0x19000
testl %eax, %eax
je 0x3b99f
movq %r13, %rdi
leaq 0x5b556(%rip), %rsi     # 0x96dc4
callq 0x19000
testl %eax, %eax
je 0x3b9a6
movq %r13, %rdi
leaq 0x5b579(%rip), %rsi     # 0x96dfe
callq 0x19000
testl %eax, %eax
je 0x3b9ad
movq %r13, %rdi
leaq 0x5b590(%rip), %rsi     # 0x96e2c
callq 0x19000
testl %eax, %eax
je 0x3b9b4
movq %r13, %rdi
leaq 0x628b9(%rip), %rsi     # 0x9e16c
callq 0x19000
testl %eax, %eax
je 0x3b9bb
movq %r13, %rdi
leaq 0x6308f(%rip), %rsi     # 0x9e959
callq 0x19000
testl %eax, %eax
je 0x3b9c2
movq %r13, %rdi
leaq 0x62898(%rip), %rsi     # 0x9e179
callq 0x19000
testl %eax, %eax
je 0x3b9c9
movq %r13, %rdi
leaq 0x62891(%rip), %rsi     # 0x9e189
callq 0x19000
testl %eax, %eax
je 0x3b9d0
movq %r13, %rdi
leaq 0x62890(%rip), %rsi     # 0x9e19f
callq 0x19000
testl %eax, %eax
je 0x3b9d7
movq %r13, %rdi
leaq 0x62893(%rip), %rsi     # 0x9e1b9
callq 0x19000
testl %eax, %eax
je 0x3b9de
movq %r13, %rdi
leaq 0x6289e(%rip), %rsi     # 0x9e1db
callq 0x19000
testl %eax, %eax
je 0x3b9e5
movq %r13, %rdi
leaq 0x6289d(%rip), %rsi     # 0x9e1f1
callq 0x19000
testl %eax, %eax
je 0x3b9ec
movq %r13, %rdi
leaq 0x628b3(%rip), %rsi     # 0x9e21e
callq 0x19000
testl %eax, %eax
je 0x3b9f3
movq %r13, %rdi
leaq 0x628bf(%rip), %rsi     # 0x9e23d
callq 0x19000
movl $0x400, %ecx            # imm = 0x400
testl %eax, %eax
je 0x3b9f8
jmp 0x3ba30
movl $0x1, %ecx
jmp 0x3b9f8
movl $0x2, %ecx
jmp 0x3b9f8
movl $0x4, %ecx
jmp 0x3b9f8
movl $0x8, %ecx
jmp 0x3b9f8
movl $0x10, %ecx
jmp 0x3b9f8
movl $0x20, %ecx
jmp 0x3b9f8
movl $0x40, %ecx
jmp 0x3b9f8
movl $0x80, %ecx
jmp 0x3b9f8
movl $0x100, %ecx            # imm = 0x100
jmp 0x3b9f8
movl $0x200, %ecx            # imm = 0x200
jmp 0x3b9f8
movl $0x800, %ecx            # imm = 0x800
jmp 0x3b9f8
movl $0x1000, %ecx           # imm = 0x1000
jmp 0x3b9f8
movl $0x20000, %ecx          # imm = 0x20000
jmp 0x3b9f8
movl $0x80000, %ecx          # imm = 0x80000
jmp 0x3b9f8
movl $0x100000, %ecx         # imm = 0x100000
orl %ecx, %r14d
incl %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x1a680
testl %eax, %eax
jne 0x3b818
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 0x55faf(%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 0x3ba0f