// File: /workspace/github_cpp_makefile_star2_O2/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
pushq $0x1
popq %rbp
movl %ebp, %esi
callq 0x1a110
cmpl $0x3, %eax
jne 0x37fa3
pushq $0x1
popq %r15
movq %rbx, %rdi
movl %r15d, %esi
callq 0x190d0
movq %rax, %r14
xorl %ebp, %ebp
testb $0x1, %r14b
je 0x37d03
leaq 0x53f86(%rip), %rsi     # 0x8bc7e
movq %rbx, %rdi
callq 0x1a2e0
movl %r15d, %ebp
testb $0x2, %r14b
je 0x37d1a
leaq 0x53f84(%rip), %rsi     # 0x8bc94
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
testb $0x4, %r14b
je 0x37d31
leaq 0x53f78(%rip), %rsi     # 0x8bc9f
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
testb $0x8, %r14b
je 0x37d48
leaq 0x53f77(%rip), %rsi     # 0x8bcb5
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
testb $0x10, %r14b
je 0x37d5f
leaq 0x53f6d(%rip), %rsi     # 0x8bcc2
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
testb $0x20, %r14b
je 0x37d76
leaq 0x53f6c(%rip), %rsi     # 0x8bcd8
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
testb $0x40, %r14b
je 0x37d8d
leaq 0x53f61(%rip), %rsi     # 0x8bce4
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
testb %r14b, %r14b
jns 0x37da3
leaq 0x53f58(%rip), %rsi     # 0x8bcf1
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x8, %r14d
jae 0x37dbb
leaq 0x53f56(%rip), %rsi     # 0x8bd07
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x9, %r14d
jae 0x37dd3
leaq 0x53f55(%rip), %rsi     # 0x8bd1e
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0xa, %r14d
jae 0x37deb
leaq 0x53f5b(%rip), %rsi     # 0x8bd3c
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0xb, %r14d
jae 0x37e03
leaq 0x53f62(%rip), %rsi     # 0x8bd5b
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0xc, %r14d
jae 0x37e1b
leaq 0x53f58(%rip), %rsi     # 0x8bd69
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0xd, %r14d
jae 0x37e33
leaq 0x53f4f(%rip), %rsi     # 0x8bd78
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0xe, %r14d
jae 0x37e4b
leaq 0x53f41(%rip), %rsi     # 0x8bd82
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
testw %r14w, %r14w
jns 0x37e62
leaq 0x53f35(%rip), %rsi     # 0x8bd8d
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x10, %r14d
jae 0x37e7a
leaq 0x53f29(%rip), %rsi     # 0x8bd99
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x13, %r14d
jae 0x37e92
leaq 0x53f1e(%rip), %rsi     # 0x8bda6
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x14, %r14d
jae 0x37eaa
leaq 0x53f28(%rip), %rsi     # 0x8bdc8
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x19, %r14d
jae 0x37ec2
leaq 0x53f2b(%rip), %rsi     # 0x8bde3
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x1a, %r14d
jae 0x37eda
leaq 0x53f2c(%rip), %rsi     # 0x8bdfc
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x1b, %r14d
jae 0x37ef2
leaq 0x53f34(%rip), %rsi     # 0x8be1c
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x18, %r14d
jae 0x37f0a
leaq 0x53f3d(%rip), %rsi     # 0x8be3d
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x15, %r14d
jae 0x37f22
leaq 0x53f3f(%rip), %rsi     # 0x8be57
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x16, %r14d
jae 0x37f3a
leaq 0x53f43(%rip), %rsi     # 0x8be73
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x17, %r14d
jae 0x37f52
leaq 0x53f48(%rip), %rsi     # 0x8be90
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btq $0x20, %r14
jae 0x37f6a
leaq 0x53f56(%rip), %rsi     # 0x8beb6
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btq $0x21, %r14
jae 0x37f82
leaq 0x53f52(%rip), %rsi     # 0x8beca
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btq $0x22, %r14
jae 0x383ca
leaq 0x53f4a(%rip), %rsi     # 0x8bede
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
jmp 0x383ca
xorl %r14d, %r14d
leaq 0x53cd1(%rip), %r15     # 0x8bc7e
leaq 0x53ce0(%rip), %r12     # 0x8bc94
movq %rbx, %rdi
movl %ebp, %esi
callq 0x1a660
testl %eax, %eax
je 0x383bc
movq %rbx, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq 0x18680
movq %rax, %r13
movq %rax, %rdi
movq %r15, %rsi
callq 0x18fe0
testl %eax, %eax
je 0x38289
movq %r13, %rdi
movq %r12, %rsi
callq 0x18fe0
testl %eax, %eax
je 0x38292
movq %r13, %rdi
leaq 0x53c9a(%rip), %rsi     # 0x8bc9f
callq 0x18fe0
testl %eax, %eax
je 0x3829b
movq %r13, %rdi
leaq 0x53c99(%rip), %rsi     # 0x8bcb5
callq 0x18fe0
testl %eax, %eax
je 0x382a4
movq %r13, %rdi
leaq 0x53c8f(%rip), %rsi     # 0x8bcc2
callq 0x18fe0
testl %eax, %eax
je 0x382ad
movq %r13, %rdi
leaq 0x53c8e(%rip), %rsi     # 0x8bcd8
callq 0x18fe0
testl %eax, %eax
je 0x382b6
movq %r13, %rdi
leaq 0x53c83(%rip), %rsi     # 0x8bce4
callq 0x18fe0
testl %eax, %eax
je 0x382bf
movq %r13, %rdi
leaq 0x53c79(%rip), %rsi     # 0x8bcf1
callq 0x18fe0
testl %eax, %eax
je 0x382c8
movq %r13, %rdi
leaq 0x53c78(%rip), %rsi     # 0x8bd07
callq 0x18fe0
testl %eax, %eax
je 0x382d4
movq %r13, %rdi
leaq 0x53c78(%rip), %rsi     # 0x8bd1e
callq 0x18fe0
testl %eax, %eax
je 0x382e0
movq %r13, %rdi
leaq 0x53c7f(%rip), %rsi     # 0x8bd3c
callq 0x18fe0
testl %eax, %eax
je 0x382ec
movq %r13, %rdi
leaq 0x53c87(%rip), %rsi     # 0x8bd5b
callq 0x18fe0
testl %eax, %eax
je 0x382f8
movq %r13, %rdi
leaq 0x53c7e(%rip), %rsi     # 0x8bd69
callq 0x18fe0
testl %eax, %eax
je 0x38304
movq %r13, %rdi
leaq 0x53c76(%rip), %rsi     # 0x8bd78
callq 0x18fe0
testl %eax, %eax
je 0x38310
movq %r13, %rdi
leaq 0x53c69(%rip), %rsi     # 0x8bd82
callq 0x18fe0
testl %eax, %eax
je 0x38319
movq %r13, %rdi
leaq 0x53c5d(%rip), %rsi     # 0x8bd8d
callq 0x18fe0
testl %eax, %eax
je 0x38322
movq %r13, %rdi
leaq 0x53c52(%rip), %rsi     # 0x8bd99
callq 0x18fe0
testl %eax, %eax
je 0x3832b
movq %r13, %rdi
leaq 0x53c48(%rip), %rsi     # 0x8bda6
callq 0x18fe0
testl %eax, %eax
je 0x38334
movq %r13, %rdi
leaq 0x53c53(%rip), %rsi     # 0x8bdc8
callq 0x18fe0
testl %eax, %eax
je 0x3833d
movq %r13, %rdi
leaq 0x53c57(%rip), %rsi     # 0x8bde3
callq 0x18fe0
testl %eax, %eax
je 0x38346
movq %r13, %rdi
leaq 0x53c59(%rip), %rsi     # 0x8bdfc
callq 0x18fe0
testl %eax, %eax
je 0x3834f
movq %r13, %rdi
leaq 0x53c62(%rip), %rsi     # 0x8be1c
callq 0x18fe0
testl %eax, %eax
je 0x38358
movq %r13, %rdi
leaq 0x53c6c(%rip), %rsi     # 0x8be3d
callq 0x18fe0
testl %eax, %eax
je 0x38361
movq %r13, %rdi
leaq 0x53c6f(%rip), %rsi     # 0x8be57
callq 0x18fe0
testl %eax, %eax
je 0x3836a
movq %r13, %rdi
leaq 0x53c74(%rip), %rsi     # 0x8be73
callq 0x18fe0
testl %eax, %eax
je 0x38373
movq %r13, %rdi
leaq 0x53c7a(%rip), %rsi     # 0x8be90
callq 0x18fe0
testl %eax, %eax
je 0x3837c
movq %r13, %rdi
leaq 0x5e7d1(%rip), %rsi     # 0x969fe
callq 0x18fe0
testl %eax, %eax
je 0x38391
movq %r13, %rdi
leaq 0x53c72(%rip), %rsi     # 0x8beb6
callq 0x18fe0
testl %eax, %eax
je 0x38385
movq %r13, %rdi
leaq 0x53c6f(%rip), %rsi     # 0x8beca
callq 0x18fe0
testl %eax, %eax
je 0x3838c
movq %r13, %rdi
leaq 0x53c6c(%rip), %rsi     # 0x8bede
callq 0x18fe0
testl %eax, %eax
jne 0x38398
btsq $0x22, %r14
jmp 0x38391
orq $0x1, %r14
jmp 0x38391
orq $0x2, %r14
jmp 0x38391
orq $0x4, %r14
jmp 0x38391
orq $0x8, %r14
jmp 0x38391
orq $0x10, %r14
jmp 0x38391
orq $0x20, %r14
jmp 0x38391
orq $0x40, %r14
jmp 0x38391
orq $0x80, %r14
jmp 0x38391
orq $0x100, %r14            # imm = 0x100
jmp 0x38391
orq $0x200, %r14            # imm = 0x200
jmp 0x38391
orq $0x400, %r14            # imm = 0x400
jmp 0x38391
orq $0x800, %r14            # imm = 0x800
jmp 0x38391
orq $0x1000, %r14           # imm = 0x1000
jmp 0x38391
orq $0x2000, %r14           # imm = 0x2000
jmp 0x38391
orq $0x4000, %r14           # imm = 0x4000
jmp 0x38391
orq $0x8000, %r14           # imm = 0x8000
jmp 0x38391
orq $0x10000, %r14          # imm = 0x10000
jmp 0x38391
orq $0x80000, %r14          # imm = 0x80000
jmp 0x38391
orq $0x100000, %r14         # imm = 0x100000
jmp 0x38391
orq $0x2000000, %r14        # imm = 0x2000000
jmp 0x38391
orq $0x4000000, %r14        # imm = 0x4000000
jmp 0x38391
orq $0x8000000, %r14        # imm = 0x8000000
jmp 0x38391
orq $0x1000000, %r14        # imm = 0x1000000
jmp 0x38391
orq $0x200000, %r14         # imm = 0x200000
jmp 0x38391
orq $0x400000, %r14         # imm = 0x400000
jmp 0x38391
orq $0x800000, %r14         # imm = 0x800000
jmp 0x38391
btsq $0x20, %r14
jmp 0x38391
btsq $0x21, %r14
incl %ebp
jmp 0x37fb4
leaq 0x47647(%rip), %rsi     # 0x7f9e6
movq %rbx, %rdi
movq %r13, %rdx
xorl %eax, %eax
callq 0x18e90
movq %rbx, %rdi
movl %ebp, %esi
movq %rax, %rdx
callq 0x18420
movslq %eax, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x18b50
pushq $0x1
popq %rbp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq