// File: /workspace/github_cpp_makefile_star2_O3/stetre[P]moonvulkan/src/flags.c
// Function: ImageAspectFlags
static int ImageAspectFlags(lua_State *L)
    {
    if(lua_type(L, 1) == LUA_TNUMBER)
        return pushimageaspectflags(L, luaL_checkinteger(L, 1));
    lua_pushinteger(L, checkimageaspectflags(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 0x3c373
movq %rbx, %rdi
movl $0x1, %esi
callq 0x190e0
movq %rax, %r14
xorl %ebp, %ebp
testb $0x1, %r14b
je 0x3c282
leaq 0x56bc8(%rip), %rsi     # 0x92e3d
movq %rbx, %rdi
callq 0x1a2c0
movl $0x1, %ebp
testb $0x2, %r14b
je 0x3c299
leaq 0x5f474(%rip), %rsi     # 0x9b703
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb $0x4, %r14b
je 0x3c2b0
leaq 0x5f1a8(%rip), %rsi     # 0x9b44e
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb $0x8, %r14b
je 0x3c2c7
leaq 0x645ac(%rip), %rsi     # 0xa0869
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb $0x10, %r14b
je 0x3c2de
leaq 0x5f189(%rip), %rsi     # 0x9b45d
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb $0x20, %r14b
je 0x3c2f5
leaq 0x5f181(%rip), %rsi     # 0x9b46c
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb $0x40, %r14b
je 0x3c30c
leaq 0x5f179(%rip), %rsi     # 0x9b47b
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
testb %r14b, %r14b
jns 0x3c322
leaq 0x5f13e(%rip), %rsi     # 0x9b456
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x8, %r14d
jae 0x3c33a
leaq 0x5f135(%rip), %rsi     # 0x9b465
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0x9, %r14d
jae 0x3c352
leaq 0x5f12c(%rip), %rsi     # 0x9b474
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
btl $0xa, %r14d
jae 0x3c500
leaq 0x5f11f(%rip), %rsi     # 0x9b483
movq %rbx, %rdi
callq 0x1a2c0
incl %ebp
jmp 0x3c500
movl $0x1, %ebp
movq %rbx, %rdi
movl $0x1, %esi
callq 0x1a640
xorl %r14d, %r14d
testl %eax, %eax
je 0x3c4f0
leaq 0x56aa6(%rip), %r15     # 0x92e3d
leaq 0x5f365(%rip), %r12     # 0x9b703
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 0x3c495
movq %r13, %rdi
movq %r12, %rsi
callq 0x18ff0
testl %eax, %eax
je 0x3c49c
movq %r13, %rdi
leaq 0x5f071(%rip), %rsi     # 0x9b44e
callq 0x18ff0
testl %eax, %eax
je 0x3c4a3
movq %r13, %rdi
leaq 0x64475(%rip), %rsi     # 0xa0869
callq 0x18ff0
testl %eax, %eax
je 0x3c4aa
movq %r13, %rdi
leaq 0x5f052(%rip), %rsi     # 0x9b45d
callq 0x18ff0
testl %eax, %eax
je 0x3c4b1
movq %r13, %rdi
leaq 0x5f04a(%rip), %rsi     # 0x9b46c
callq 0x18ff0
testl %eax, %eax
je 0x3c4b8
movq %r13, %rdi
leaq 0x5f042(%rip), %rsi     # 0x9b47b
callq 0x18ff0
testl %eax, %eax
je 0x3c4bf
movq %r13, %rdi
leaq 0x5f00a(%rip), %rsi     # 0x9b456
callq 0x18ff0
testl %eax, %eax
je 0x3c4c6
movq %r13, %rdi
leaq 0x5f006(%rip), %rsi     # 0x9b465
callq 0x18ff0
testl %eax, %eax
je 0x3c4cd
movq %r13, %rdi
leaq 0x5f002(%rip), %rsi     # 0x9b474
callq 0x18ff0
testl %eax, %eax
je 0x3c4d4
movq %r13, %rdi
leaq 0x5effe(%rip), %rsi     # 0x9b483
callq 0x18ff0
movl $0x400, %ecx            # imm = 0x400
testl %eax, %eax
je 0x3c4d9
jmp 0x3c511
movl $0x1, %ecx
jmp 0x3c4d9
movl $0x2, %ecx
jmp 0x3c4d9
movl $0x4, %ecx
jmp 0x3c4d9
movl $0x8, %ecx
jmp 0x3c4d9
movl $0x10, %ecx
jmp 0x3c4d9
movl $0x20, %ecx
jmp 0x3c4d9
movl $0x40, %ecx
jmp 0x3c4d9
movl $0x80, %ecx
jmp 0x3c4d9
movl $0x100, %ecx            # imm = 0x100
jmp 0x3c4d9
movl $0x200, %ecx            # imm = 0x200
orl %ecx, %r14d
incl %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x1a640
testl %eax, %eax
jne 0x3c39e
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 0x524ce(%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 0x3c4f0