// File: /workspace/github_cpp_makefile_star2_O1/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 0x1a130
cmpl $0x3, %eax
jne 0x3c4eb
movq %rbx, %rdi
movl $0x1, %esi
callq 0x190f0
movq %rax, %r14
xorl %ebp, %ebp
testb $0x1, %r14b
je 0x3c3fa
leaq 0x59a50(%rip), %rsi     # 0x95e3d
movq %rbx, %rdi
callq 0x1a300
movl $0x1, %ebp
testb $0x2, %r14b
je 0x3c411
leaq 0x622d9(%rip), %rsi     # 0x9e6e0
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb $0x4, %r14b
je 0x3c428
leaq 0x6200d(%rip), %rsi     # 0x9e42b
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb $0x8, %r14b
je 0x3c43f
leaq 0x67414(%rip), %rsi     # 0xa3849
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb $0x10, %r14b
je 0x3c456
leaq 0x61fee(%rip), %rsi     # 0x9e43a
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb $0x20, %r14b
je 0x3c46d
leaq 0x61fe6(%rip), %rsi     # 0x9e449
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb $0x40, %r14b
je 0x3c484
leaq 0x61fde(%rip), %rsi     # 0x9e458
movq %rbx, %rdi
callq 0x1a300
incl %ebp
testb %r14b, %r14b
jns 0x3c49a
leaq 0x61fa3(%rip), %rsi     # 0x9e433
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x8, %r14d
jae 0x3c4b2
leaq 0x61f9a(%rip), %rsi     # 0x9e442
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0x9, %r14d
jae 0x3c4ca
leaq 0x61f91(%rip), %rsi     # 0x9e451
movq %rbx, %rdi
callq 0x1a300
incl %ebp
btl $0xa, %r14d
jae 0x3c678
leaq 0x61f84(%rip), %rsi     # 0x9e460
movq %rbx, %rdi
callq 0x1a300
incl %ebp
jmp 0x3c678
movl $0x1, %ebp
movq %rbx, %rdi
movl $0x1, %esi
callq 0x1a680
xorl %r14d, %r14d
testl %eax, %eax
je 0x3c668
leaq 0x5992e(%rip), %r15     # 0x95e3d
leaq 0x621ca(%rip), %r12     # 0x9e6e0
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 0x3c60d
movq %r13, %rdi
movq %r12, %rsi
callq 0x19000
testl %eax, %eax
je 0x3c614
movq %r13, %rdi
leaq 0x61ed6(%rip), %rsi     # 0x9e42b
callq 0x19000
testl %eax, %eax
je 0x3c61b
movq %r13, %rdi
leaq 0x672dd(%rip), %rsi     # 0xa3849
callq 0x19000
testl %eax, %eax
je 0x3c622
movq %r13, %rdi
leaq 0x61eb7(%rip), %rsi     # 0x9e43a
callq 0x19000
testl %eax, %eax
je 0x3c629
movq %r13, %rdi
leaq 0x61eaf(%rip), %rsi     # 0x9e449
callq 0x19000
testl %eax, %eax
je 0x3c630
movq %r13, %rdi
leaq 0x61ea7(%rip), %rsi     # 0x9e458
callq 0x19000
testl %eax, %eax
je 0x3c637
movq %r13, %rdi
leaq 0x61e6f(%rip), %rsi     # 0x9e433
callq 0x19000
testl %eax, %eax
je 0x3c63e
movq %r13, %rdi
leaq 0x61e6b(%rip), %rsi     # 0x9e442
callq 0x19000
testl %eax, %eax
je 0x3c645
movq %r13, %rdi
leaq 0x61e67(%rip), %rsi     # 0x9e451
callq 0x19000
testl %eax, %eax
je 0x3c64c
movq %r13, %rdi
leaq 0x61e63(%rip), %rsi     # 0x9e460
callq 0x19000
movl $0x400, %ecx            # imm = 0x400
testl %eax, %eax
je 0x3c651
jmp 0x3c689
movl $0x1, %ecx
jmp 0x3c651
movl $0x2, %ecx
jmp 0x3c651
movl $0x4, %ecx
jmp 0x3c651
movl $0x8, %ecx
jmp 0x3c651
movl $0x10, %ecx
jmp 0x3c651
movl $0x20, %ecx
jmp 0x3c651
movl $0x40, %ecx
jmp 0x3c651
movl $0x80, %ecx
jmp 0x3c651
movl $0x100, %ecx            # imm = 0x100
jmp 0x3c651
movl $0x200, %ecx            # imm = 0x200
orl %ecx, %r14d
incl %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x1a680
testl %eax, %eax
jne 0x3c516
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 0x55356(%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 0x3c668