// File: /workspace/github_cpp_makefile_star2_O3/stetre[P]moonvulkan/src/flags.c
// Function: AccessFlags
static int AccessFlags(lua_State *L)
    {
    if(lua_type(L, 1) == LUA_TNUMBER)
        return pushaccessflags(L, luaL_checkinteger(L, 1));
    lua_pushinteger(L, checkaccessflags(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 0x3a2e5
movq %rbx, %rdi
movl $0x1, %esi
callq 0x190e0
movq %rax, %r14
xorl %ebp, %ebp
testb $0x1, %r14b
je 0x3a045
leaq 0x60c46(%rip), %rsi     # 0x9ac7e
movq %rbx, %rdi
callq 0x1a2c0
movl $0x1, %ebp
testb $0x2, %r14b
je 0x3a05c
leaq 0x60c42(%rip), %rsi     # 0x9ac94
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb $0x4, %r14b
je 0x3a073
leaq 0x60c36(%rip), %rsi     # 0x9ac9f
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb $0x8, %r14b
je 0x3a08a
leaq 0x60c35(%rip), %rsi     # 0x9acb5
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb $0x10, %r14b
je 0x3a0a1
leaq 0x60c2b(%rip), %rsi     # 0x9acc2
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb $0x20, %r14b
je 0x3a0b8
leaq 0x60c2a(%rip), %rsi     # 0x9acd8
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb $0x40, %r14b
je 0x3a0cf
leaq 0x60c1f(%rip), %rsi     # 0x9ace4
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb %r14b, %r14b
jns 0x3a0e5
leaq 0x60c16(%rip), %rsi     # 0x9acf1
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x8, %r14d
jae 0x3a0fd
leaq 0x60c14(%rip), %rsi     # 0x9ad07
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x9, %r14d
jae 0x3a115
leaq 0x60c13(%rip), %rsi     # 0x9ad1e
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0xa, %r14d
jae 0x3a12d
leaq 0x60c19(%rip), %rsi     # 0x9ad3c
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0xb, %r14d
jae 0x3a145
leaq 0x60c20(%rip), %rsi     # 0x9ad5b
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0xc, %r14d
jae 0x3a15d
leaq 0x60c16(%rip), %rsi     # 0x9ad69
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0xd, %r14d
jae 0x3a175
leaq 0x60c0d(%rip), %rsi     # 0x9ad78
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0xe, %r14d
jae 0x3a18d
leaq 0x60bff(%rip), %rsi     # 0x9ad82
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testw %r14w, %r14w
jns 0x3a1a4
leaq 0x60bf3(%rip), %rsi     # 0x9ad8d
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x10, %r14d
jae 0x3a1bc
leaq 0x60be7(%rip), %rsi     # 0x9ad99
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x13, %r14d
jae 0x3a1d4
leaq 0x60bdc(%rip), %rsi     # 0x9ada6
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x14, %r14d
jae 0x3a1ec
leaq 0x60be6(%rip), %rsi     # 0x9adc8
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x19, %r14d
jae 0x3a204
leaq 0x60be9(%rip), %rsi     # 0x9ade3
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x1a, %r14d
jae 0x3a21c
leaq 0x60bea(%rip), %rsi     # 0x9adfc
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x1b, %r14d
jae 0x3a234
leaq 0x60bf2(%rip), %rsi     # 0x9ae1c
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x18, %r14d
jae 0x3a24c
leaq 0x60bfb(%rip), %rsi     # 0x9ae3d
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x15, %r14d
jae 0x3a264
leaq 0x60bfd(%rip), %rsi     # 0x9ae57
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x16, %r14d
jae 0x3a27c
leaq 0x60c01(%rip), %rsi     # 0x9ae73
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x17, %r14d
jae 0x3a294
leaq 0x60c06(%rip), %rsi     # 0x9ae90
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btq $0x20, %r14
jae 0x3a2ac
leaq 0x60c14(%rip), %rsi     # 0x9aeb6
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btq $0x21, %r14
jae 0x3a2c4
leaq 0x60c10(%rip), %rsi     # 0x9aeca
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btq $0x22, %r14
jae 0x3a6ff
leaq 0x60c08(%rip), %rsi     # 0x9aede
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
jmp 0x3a6ff
movl $0x1, %ebp
movq %rbx, %rdi
movl $0x1, %esi
callq 0x1a640
xorl %r14d, %r14d
testl %eax, %eax
je 0x3a6ef
leaq 0x60975(%rip), %r15     # 0x9ac7e
leaq 0x60984(%rip), %r12     # 0x9ac94
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 0x3a5d3
movq %r13, %rdi
movq %r12, %rsi
callq 0x18ff0
testl %eax, %eax
je 0x3a5dc
movq %r13, %rdi
leaq 0x60950(%rip), %rsi     # 0x9ac9f
callq 0x18ff0
testl %eax, %eax
je 0x3a5e5
movq %r13, %rdi
leaq 0x6094f(%rip), %rsi     # 0x9acb5
callq 0x18ff0
testl %eax, %eax
je 0x3a5ee
movq %r13, %rdi
leaq 0x60945(%rip), %rsi     # 0x9acc2
callq 0x18ff0
testl %eax, %eax
je 0x3a5f7
movq %r13, %rdi
leaq 0x60944(%rip), %rsi     # 0x9acd8
callq 0x18ff0
testl %eax, %eax
je 0x3a600
movq %r13, %rdi
leaq 0x60939(%rip), %rsi     # 0x9ace4
callq 0x18ff0
testl %eax, %eax
je 0x3a609
movq %r13, %rdi
leaq 0x6092f(%rip), %rsi     # 0x9acf1
callq 0x18ff0
testl %eax, %eax
je 0x3a612
movq %r13, %rdi
leaq 0x6092e(%rip), %rsi     # 0x9ad07
callq 0x18ff0
testl %eax, %eax
je 0x3a61e
movq %r13, %rdi
leaq 0x6092e(%rip), %rsi     # 0x9ad1e
callq 0x18ff0
testl %eax, %eax
je 0x3a62a
movq %r13, %rdi
leaq 0x60935(%rip), %rsi     # 0x9ad3c
callq 0x18ff0
testl %eax, %eax
je 0x3a636
movq %r13, %rdi
leaq 0x6093d(%rip), %rsi     # 0x9ad5b
callq 0x18ff0
testl %eax, %eax
je 0x3a642
movq %r13, %rdi
leaq 0x60934(%rip), %rsi     # 0x9ad69
callq 0x18ff0
testl %eax, %eax
je 0x3a64e
movq %r13, %rdi
leaq 0x6092c(%rip), %rsi     # 0x9ad78
callq 0x18ff0
testl %eax, %eax
je 0x3a65a
movq %r13, %rdi
leaq 0x6091f(%rip), %rsi     # 0x9ad82
callq 0x18ff0
testl %eax, %eax
je 0x3a663
movq %r13, %rdi
leaq 0x60913(%rip), %rsi     # 0x9ad8d
callq 0x18ff0
testl %eax, %eax
je 0x3a66c
movq %r13, %rdi
leaq 0x60908(%rip), %rsi     # 0x9ad99
callq 0x18ff0
testl %eax, %eax
je 0x3a675
movq %r13, %rdi
leaq 0x608fe(%rip), %rsi     # 0x9ada6
callq 0x18ff0
testl %eax, %eax
je 0x3a67e
movq %r13, %rdi
leaq 0x60909(%rip), %rsi     # 0x9adc8
callq 0x18ff0
testl %eax, %eax
je 0x3a687
movq %r13, %rdi
leaq 0x6090d(%rip), %rsi     # 0x9ade3
callq 0x18ff0
testl %eax, %eax
je 0x3a690
movq %r13, %rdi
leaq 0x6090f(%rip), %rsi     # 0x9adfc
callq 0x18ff0
testl %eax, %eax
je 0x3a699
movq %r13, %rdi
leaq 0x60918(%rip), %rsi     # 0x9ae1c
callq 0x18ff0
testl %eax, %eax
je 0x3a6a2
movq %r13, %rdi
leaq 0x60922(%rip), %rsi     # 0x9ae3d
callq 0x18ff0
testl %eax, %eax
je 0x3a6ab
movq %r13, %rdi
leaq 0x60925(%rip), %rsi     # 0x9ae57
callq 0x18ff0
testl %eax, %eax
je 0x3a6b4
movq %r13, %rdi
leaq 0x6092a(%rip), %rsi     # 0x9ae73
callq 0x18ff0
testl %eax, %eax
je 0x3a6bd
movq %r13, %rdi
leaq 0x60930(%rip), %rsi     # 0x9ae90
callq 0x18ff0
testl %eax, %eax
je 0x3a6c6
movq %r13, %rdi
leaq 0x6b4b7(%rip), %rsi     # 0xa5a2e
callq 0x18ff0
testl %eax, %eax
je 0x3a6db
movq %r13, %rdi
leaq 0x60928(%rip), %rsi     # 0x9aeb6
callq 0x18ff0
testl %eax, %eax
je 0x3a6cf
movq %r13, %rdi
leaq 0x60925(%rip), %rsi     # 0x9aeca
callq 0x18ff0
testl %eax, %eax
je 0x3a6d6
movq %r13, %rdi
leaq 0x60922(%rip), %rsi     # 0x9aede
callq 0x18ff0
testl %eax, %eax
jne 0x3a710
btsq $0x22, %r14
jmp 0x3a6db
orq $0x1, %r14
jmp 0x3a6db
orq $0x2, %r14
jmp 0x3a6db
orq $0x4, %r14
jmp 0x3a6db
orq $0x8, %r14
jmp 0x3a6db
orq $0x10, %r14
jmp 0x3a6db
orq $0x20, %r14
jmp 0x3a6db
orq $0x40, %r14
jmp 0x3a6db
orq $0x80, %r14
jmp 0x3a6db
orq $0x100, %r14            # imm = 0x100
jmp 0x3a6db
orq $0x200, %r14            # imm = 0x200
jmp 0x3a6db
orq $0x400, %r14            # imm = 0x400
jmp 0x3a6db
orq $0x800, %r14            # imm = 0x800
jmp 0x3a6db
orq $0x1000, %r14           # imm = 0x1000
jmp 0x3a6db
orq $0x2000, %r14           # imm = 0x2000
jmp 0x3a6db
orq $0x4000, %r14           # imm = 0x4000
jmp 0x3a6db
orq $0x8000, %r14           # imm = 0x8000
jmp 0x3a6db
orq $0x10000, %r14          # imm = 0x10000
jmp 0x3a6db
orq $0x80000, %r14          # imm = 0x80000
jmp 0x3a6db
orq $0x100000, %r14         # imm = 0x100000
jmp 0x3a6db
orq $0x2000000, %r14        # imm = 0x2000000
jmp 0x3a6db
orq $0x4000000, %r14        # imm = 0x4000000
jmp 0x3a6db
orq $0x8000000, %r14        # imm = 0x8000000
jmp 0x3a6db
orq $0x1000000, %r14        # imm = 0x1000000
jmp 0x3a6db
orq $0x200000, %r14         # imm = 0x200000
jmp 0x3a6db
orq $0x400000, %r14         # imm = 0x400000
jmp 0x3a6db
orq $0x800000, %r14         # imm = 0x800000
jmp 0x3a6db
btsq $0x20, %r14
jmp 0x3a6db
btsq $0x21, %r14
incl %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x1a640
testl %eax, %eax
jne 0x3a310
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 0x542cf(%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 0x3a6ef