// File: /workspace/github_cpp_makefile_star2_O1/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 0x1a130
cmpl $0x3, %eax
jne 0x3a411
movq %rbx, %rdi
movl $0x1, %esi
callq 0x190f0
movq %rax, %r14
xorl %ebp, %ebp
testb $0x1, %r14b
je 0x3a171
leaq 0x63af7(%rip), %rsi     # 0x9dc5b
movq %rbx, %rdi
callq 0x1a300
movl $0x1, %ebp
testb $0x2, %r14b
je 0x3a188
leaq 0x63af3(%rip), %rsi     # 0x9dc71
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb $0x4, %r14b
je 0x3a19f
leaq 0x63ae7(%rip), %rsi     # 0x9dc7c
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb $0x8, %r14b
je 0x3a1b6
leaq 0x63ae6(%rip), %rsi     # 0x9dc92
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb $0x10, %r14b
je 0x3a1cd
leaq 0x63adc(%rip), %rsi     # 0x9dc9f
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb $0x20, %r14b
je 0x3a1e4
leaq 0x63adb(%rip), %rsi     # 0x9dcb5
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb $0x40, %r14b
je 0x3a1fb
leaq 0x63ad0(%rip), %rsi     # 0x9dcc1
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb %r14b, %r14b
jns 0x3a211
leaq 0x63ac7(%rip), %rsi     # 0x9dcce
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x8, %r14d
jae 0x3a229
leaq 0x63ac5(%rip), %rsi     # 0x9dce4
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x9, %r14d
jae 0x3a241
leaq 0x63ac4(%rip), %rsi     # 0x9dcfb
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0xa, %r14d
jae 0x3a259
leaq 0x63aca(%rip), %rsi     # 0x9dd19
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0xb, %r14d
jae 0x3a271
leaq 0x63ad1(%rip), %rsi     # 0x9dd38
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0xc, %r14d
jae 0x3a289
leaq 0x63ac7(%rip), %rsi     # 0x9dd46
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0xd, %r14d
jae 0x3a2a1
leaq 0x63abe(%rip), %rsi     # 0x9dd55
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0xe, %r14d
jae 0x3a2b9
leaq 0x63ab0(%rip), %rsi     # 0x9dd5f
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testw %r14w, %r14w
jns 0x3a2d0
leaq 0x63aa4(%rip), %rsi     # 0x9dd6a
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x10, %r14d
jae 0x3a2e8
leaq 0x63a98(%rip), %rsi     # 0x9dd76
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x13, %r14d
jae 0x3a300
leaq 0x63a8d(%rip), %rsi     # 0x9dd83
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x14, %r14d
jae 0x3a318
leaq 0x63a97(%rip), %rsi     # 0x9dda5
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x19, %r14d
jae 0x3a330
leaq 0x63a9a(%rip), %rsi     # 0x9ddc0
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x1a, %r14d
jae 0x3a348
leaq 0x63a9b(%rip), %rsi     # 0x9ddd9
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x1b, %r14d
jae 0x3a360
leaq 0x63aa3(%rip), %rsi     # 0x9ddf9
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x18, %r14d
jae 0x3a378
leaq 0x63aac(%rip), %rsi     # 0x9de1a
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x15, %r14d
jae 0x3a390
leaq 0x63aae(%rip), %rsi     # 0x9de34
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x16, %r14d
jae 0x3a3a8
leaq 0x63ab2(%rip), %rsi     # 0x9de50
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x17, %r14d
jae 0x3a3c0
leaq 0x63ab7(%rip), %rsi     # 0x9de6d
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btq $0x20, %r14
jae 0x3a3d8
leaq 0x63ac5(%rip), %rsi     # 0x9de93
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btq $0x21, %r14
jae 0x3a3f0
leaq 0x63ac1(%rip), %rsi     # 0x9dea7
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btq $0x22, %r14
jae 0x3a82b
leaq 0x63ab9(%rip), %rsi     # 0x9debb
movq %rbx, %rdi
callq 0x1a300
incl %ebp
jmp 0x3a82b
movl $0x1, %ebp
movq %rbx, %rdi
movl $0x1, %esi
callq 0x1a680
xorl %r14d, %r14d
testl %eax, %eax
je 0x3a81b
leaq 0x63826(%rip), %r15     # 0x9dc5b
leaq 0x63835(%rip), %r12     # 0x9dc71
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 0x3a6ff
movq %r13, %rdi
movq %r12, %rsi
callq 0x19000
testl %eax, %eax
je 0x3a708
movq %r13, %rdi
leaq 0x63801(%rip), %rsi     # 0x9dc7c
callq 0x19000
testl %eax, %eax
je 0x3a711
movq %r13, %rdi
leaq 0x63800(%rip), %rsi     # 0x9dc92
callq 0x19000
testl %eax, %eax
je 0x3a71a
movq %r13, %rdi
leaq 0x637f6(%rip), %rsi     # 0x9dc9f
callq 0x19000
testl %eax, %eax
je 0x3a723
movq %r13, %rdi
leaq 0x637f5(%rip), %rsi     # 0x9dcb5
callq 0x19000
testl %eax, %eax
je 0x3a72c
movq %r13, %rdi
leaq 0x637ea(%rip), %rsi     # 0x9dcc1
callq 0x19000
testl %eax, %eax
je 0x3a735
movq %r13, %rdi
leaq 0x637e0(%rip), %rsi     # 0x9dcce
callq 0x19000
testl %eax, %eax
je 0x3a73e
movq %r13, %rdi
leaq 0x637df(%rip), %rsi     # 0x9dce4
callq 0x19000
testl %eax, %eax
je 0x3a74a
movq %r13, %rdi
leaq 0x637df(%rip), %rsi     # 0x9dcfb
callq 0x19000
testl %eax, %eax
je 0x3a756
movq %r13, %rdi
leaq 0x637e6(%rip), %rsi     # 0x9dd19
callq 0x19000
testl %eax, %eax
je 0x3a762
movq %r13, %rdi
leaq 0x637ee(%rip), %rsi     # 0x9dd38
callq 0x19000
testl %eax, %eax
je 0x3a76e
movq %r13, %rdi
leaq 0x637e5(%rip), %rsi     # 0x9dd46
callq 0x19000
testl %eax, %eax
je 0x3a77a
movq %r13, %rdi
leaq 0x637dd(%rip), %rsi     # 0x9dd55
callq 0x19000
testl %eax, %eax
je 0x3a786
movq %r13, %rdi
leaq 0x637d0(%rip), %rsi     # 0x9dd5f
callq 0x19000
testl %eax, %eax
je 0x3a78f
movq %r13, %rdi
leaq 0x637c4(%rip), %rsi     # 0x9dd6a
callq 0x19000
testl %eax, %eax
je 0x3a798
movq %r13, %rdi
leaq 0x637b9(%rip), %rsi     # 0x9dd76
callq 0x19000
testl %eax, %eax
je 0x3a7a1
movq %r13, %rdi
leaq 0x637af(%rip), %rsi     # 0x9dd83
callq 0x19000
testl %eax, %eax
je 0x3a7aa
movq %r13, %rdi
leaq 0x637ba(%rip), %rsi     # 0x9dda5
callq 0x19000
testl %eax, %eax
je 0x3a7b3
movq %r13, %rdi
leaq 0x637be(%rip), %rsi     # 0x9ddc0
callq 0x19000
testl %eax, %eax
je 0x3a7bc
movq %r13, %rdi
leaq 0x637c0(%rip), %rsi     # 0x9ddd9
callq 0x19000
testl %eax, %eax
je 0x3a7c5
movq %r13, %rdi
leaq 0x637c9(%rip), %rsi     # 0x9ddf9
callq 0x19000
testl %eax, %eax
je 0x3a7ce
movq %r13, %rdi
leaq 0x637d3(%rip), %rsi     # 0x9de1a
callq 0x19000
testl %eax, %eax
je 0x3a7d7
movq %r13, %rdi
leaq 0x637d6(%rip), %rsi     # 0x9de34
callq 0x19000
testl %eax, %eax
je 0x3a7e0
movq %r13, %rdi
leaq 0x637db(%rip), %rsi     # 0x9de50
callq 0x19000
testl %eax, %eax
je 0x3a7e9
movq %r13, %rdi
leaq 0x637e1(%rip), %rsi     # 0x9de6d
callq 0x19000
testl %eax, %eax
je 0x3a7f2
movq %r13, %rdi
leaq 0x6e36b(%rip), %rsi     # 0xa8a0e
callq 0x19000
testl %eax, %eax
je 0x3a807
movq %r13, %rdi
leaq 0x637d9(%rip), %rsi     # 0x9de93
callq 0x19000
testl %eax, %eax
je 0x3a7fb
movq %r13, %rdi
leaq 0x637d6(%rip), %rsi     # 0x9dea7
callq 0x19000
testl %eax, %eax
je 0x3a802
movq %r13, %rdi
leaq 0x637d3(%rip), %rsi     # 0x9debb
callq 0x19000
testl %eax, %eax
jne 0x3a83c
btsq $0x22, %r14
jmp 0x3a807
orq $0x1, %r14
jmp 0x3a807
orq $0x2, %r14
jmp 0x3a807
orq $0x4, %r14
jmp 0x3a807
orq $0x8, %r14
jmp 0x3a807
orq $0x10, %r14
jmp 0x3a807
orq $0x20, %r14
jmp 0x3a807
orq $0x40, %r14
jmp 0x3a807
orq $0x80, %r14
jmp 0x3a807
orq $0x100, %r14            # imm = 0x100
jmp 0x3a807
orq $0x200, %r14            # imm = 0x200
jmp 0x3a807
orq $0x400, %r14            # imm = 0x400
jmp 0x3a807
orq $0x800, %r14            # imm = 0x800
jmp 0x3a807
orq $0x1000, %r14           # imm = 0x1000
jmp 0x3a807
orq $0x2000, %r14           # imm = 0x2000
jmp 0x3a807
orq $0x4000, %r14           # imm = 0x4000
jmp 0x3a807
orq $0x8000, %r14           # imm = 0x8000
jmp 0x3a807
orq $0x10000, %r14          # imm = 0x10000
jmp 0x3a807
orq $0x80000, %r14          # imm = 0x80000
jmp 0x3a807
orq $0x100000, %r14         # imm = 0x100000
jmp 0x3a807
orq $0x2000000, %r14        # imm = 0x2000000
jmp 0x3a807
orq $0x4000000, %r14        # imm = 0x4000000
jmp 0x3a807
orq $0x8000000, %r14        # imm = 0x8000000
jmp 0x3a807
orq $0x1000000, %r14        # imm = 0x1000000
jmp 0x3a807
orq $0x200000, %r14         # imm = 0x200000
jmp 0x3a807
orq $0x400000, %r14         # imm = 0x400000
jmp 0x3a807
orq $0x800000, %r14         # imm = 0x800000
jmp 0x3a807
btsq $0x20, %r14
jmp 0x3a807
btsq $0x21, %r14
incl %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x1a680
testl %eax, %eax
jne 0x3a43c
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 0x571a3(%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 0x3a81b