// File: /workspace/github_cpp_makefile_star2_O2/stetre[P]moonvulkan/src/flags.c
// Function: FormatFeatureFlags
static int FormatFeatureFlags(lua_State *L)
    {
    if(lua_type(L, 1) == LUA_TNUMBER)
        return pushformatfeatureflags(L, luaL_checkinteger(L, 1));
    lua_pushinteger(L, checkformatfeatureflags(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 0x3b643
pushq $0x1
popq %r15
movq %rbx, %rdi
movl %r15d, %esi
callq 0x190d0
movq %rax, %r14
xorl %ebp, %ebp
testb $0x1, %r14b
je 0x3b38d
leaq 0x499b0(%rip), %rsi     # 0x84d32
movq %rbx, %rdi
callq 0x1a2e0
movl %r15d, %ebp
testb $0x2, %r14b
je 0x3b3a4
leaq 0x499c4(%rip), %rsi     # 0x84d5e
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
testb $0x4, %r14b
je 0x3b3bb
leaq 0x513e7(%rip), %rsi     # 0x8c798
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
testb $0x8, %r14b
je 0x3b3d2
leaq 0x499c2(%rip), %rsi     # 0x84d8a
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
testb $0x10, %r14b
je 0x3b3e9
leaq 0x499e5(%rip), %rsi     # 0x84dc4
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
testb $0x20, %r14b
je 0x3b400
leaq 0x513b7(%rip), %rsi     # 0x8c7ad
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
testb $0x40, %r14b
je 0x3b417
leaq 0x5156f(%rip), %rsi     # 0x8c97c
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
testb %r14b, %r14b
jns 0x3b42d
leaq 0x51321(%rip), %rsi     # 0x8c744
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x8, %r14d
jae 0x3b445
leaq 0x5138e(%rip), %rsi     # 0x8c7c9
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x9, %r14d
jae 0x3b45d
leaq 0x51302(%rip), %rsi     # 0x8c755
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0xa, %r14d
jae 0x3b475
leaq 0x51375(%rip), %rsi     # 0x8c7e0
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0xb, %r14d
jae 0x3b48d
leaq 0x51366(%rip), %rsi     # 0x8c7e9
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0xe, %r14d
jae 0x3b4a5
leaq 0x50cda(%rip), %rsi     # 0x8c175
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
testw %r14w, %r14w
jns 0x3b4bc
leaq 0x50cd0(%rip), %rsi     # 0x8c182
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0xc, %r14d
jae 0x3b4d4
leaq 0x51328(%rip), %rsi     # 0x8c7f2
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x10, %r14d
jae 0x3b4ec
leaq 0x5132c(%rip), %rsi     # 0x8c80e
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x11, %r14d
jae 0x3b504
leaq 0x51330(%rip), %rsi     # 0x8c82a
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x12, %r14d
jae 0x3b51c
leaq 0x51330(%rip), %rsi     # 0x8c842
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x13, %r14d
jae 0x3b534
leaq 0x51345(%rip), %rsi     # 0x8c86f
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x14, %r14d
jae 0x3b54c
leaq 0x5136b(%rip), %rsi     # 0x8c8ad
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x15, %r14d
jae 0x3b564
leaq 0x51391(%rip), %rsi     # 0x8c8eb
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x16, %r14d
jae 0x3b57c
leaq 0x4a7fb(%rip), %rsi     # 0x85d6d
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x17, %r14d
jae 0x3b594
leaq 0x513a9(%rip), %rsi     # 0x8c933
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x18, %r14d
jae 0x3b5ac
leaq 0x511e1(%rip), %rsi     # 0x8c783
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0xd, %r14d
jae 0x3b5c4
leaq 0x51390(%rip), %rsi     # 0x8c94a
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x1d, %r14d
jae 0x3b5dc
leaq 0x51393(%rip), %rsi     # 0x8c965
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btl $0x1e, %r14d
jae 0x3b5f4
leaq 0x50fef(%rip), %rsi     # 0x8c5d9
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
testl %r14d, %r14d
jns 0x3b60a
leaq 0x5138a(%rip), %rsi     # 0x8c98a
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btq $0x20, %r14
jae 0x3b622
leaq 0x5138e(%rip), %rsi     # 0x8c9a6
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
btq $0x21, %r14
jae 0x3ba21
leaq 0x5138f(%rip), %rsi     # 0x8c9c3
movq %rbx, %rdi
callq 0x1a2e0
incl %ebp
jmp 0x3ba21
xorl %r14d, %r14d
leaq 0x496e5(%rip), %r15     # 0x84d32
pushq $0x1
popq %r12
movq %rbx, %rdi
movl %ebp, %esi
callq 0x1a660
testl %eax, %eax
je 0x3ba13
movq %rbx, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq 0x18680
movq %rax, %r13
movq %rax, %rdi
movq %r15, %rsi
callq 0x18fe0
movq %r12, %rcx
testl %eax, %eax
je 0x3b9e5
movq %r13, %rdi
leaq 0x496cc(%rip), %rsi     # 0x84d5e
callq 0x18fe0
pushq $0x2
popq %rcx
testl %eax, %eax
je 0x3b9e5
movq %r13, %rdi
leaq 0x510ec(%rip), %rsi     # 0x8c798
callq 0x18fe0
pushq $0x4
popq %rcx
testl %eax, %eax
je 0x3b9e5
movq %r13, %rdi
leaq 0x496c4(%rip), %rsi     # 0x84d8a
callq 0x18fe0
pushq $0x8
popq %rcx
testl %eax, %eax
je 0x3b9e5
movq %r13, %rdi
leaq 0x496e4(%rip), %rsi     # 0x84dc4
callq 0x18fe0
pushq $0x10
popq %rcx
testl %eax, %eax
je 0x3b9e5
movq %r13, %rdi
leaq 0x510b3(%rip), %rsi     # 0x8c7ad
callq 0x18fe0
pushq $0x20
popq %rcx
testl %eax, %eax
je 0x3b9e5
movq %r13, %rdi
leaq 0x51268(%rip), %rsi     # 0x8c97c
callq 0x18fe0
pushq $0x40
popq %rcx
testl %eax, %eax
je 0x3b9e5
movq %r13, %rdi
leaq 0x51016(%rip), %rsi     # 0x8c744
callq 0x18fe0
testl %eax, %eax
je 0x3b94e
movq %r13, %rdi
leaq 0x51084(%rip), %rsi     # 0x8c7c9
callq 0x18fe0
testl %eax, %eax
je 0x3b958
movq %r13, %rdi
leaq 0x50ff9(%rip), %rsi     # 0x8c755
callq 0x18fe0
testl %eax, %eax
je 0x3b962
movq %r13, %rdi
leaq 0x5106d(%rip), %rsi     # 0x8c7e0
callq 0x18fe0
testl %eax, %eax
je 0x3b969
movq %r13, %rdi
leaq 0x5105f(%rip), %rsi     # 0x8c7e9
callq 0x18fe0
testl %eax, %eax
je 0x3b970
movq %r13, %rdi
leaq 0x509d4(%rip), %rsi     # 0x8c175
callq 0x18fe0
testl %eax, %eax
je 0x3b977
movq %r13, %rdi
leaq 0x509ca(%rip), %rsi     # 0x8c182
callq 0x18fe0
testl %eax, %eax
je 0x3b97e
movq %r13, %rdi
leaq 0x51023(%rip), %rsi     # 0x8c7f2
callq 0x18fe0
testl %eax, %eax
je 0x3b985
movq %r13, %rdi
leaq 0x51028(%rip), %rsi     # 0x8c80e
callq 0x18fe0
testl %eax, %eax
je 0x3b98c
movq %r13, %rdi
leaq 0x5102d(%rip), %rsi     # 0x8c82a
callq 0x18fe0
testl %eax, %eax
je 0x3b993
movq %r13, %rdi
leaq 0x5102e(%rip), %rsi     # 0x8c842
callq 0x18fe0
testl %eax, %eax
je 0x3b99a
movq %r13, %rdi
leaq 0x51044(%rip), %rsi     # 0x8c86f
callq 0x18fe0
testl %eax, %eax
je 0x3b9a1
movq %r13, %rdi
leaq 0x5106b(%rip), %rsi     # 0x8c8ad
callq 0x18fe0
testl %eax, %eax
je 0x3b9a8
movq %r13, %rdi
leaq 0x51092(%rip), %rsi     # 0x8c8eb
callq 0x18fe0
testl %eax, %eax
je 0x3b9af
movq %r13, %rdi
leaq 0x4a4fd(%rip), %rsi     # 0x85d6d
callq 0x18fe0
testl %eax, %eax
je 0x3b9b6
movq %r13, %rdi
leaq 0x510ac(%rip), %rsi     # 0x8c933
callq 0x18fe0
testl %eax, %eax
je 0x3b9bd
movq %r13, %rdi
leaq 0x50ee5(%rip), %rsi     # 0x8c783
callq 0x18fe0
testl %eax, %eax
je 0x3b9c4
movq %r13, %rdi
leaq 0x51095(%rip), %rsi     # 0x8c94a
callq 0x18fe0
testl %eax, %eax
je 0x3b9cb
movq %r13, %rdi
leaq 0x51099(%rip), %rsi     # 0x8c965
callq 0x18fe0
testl %eax, %eax
je 0x3b9d2
movq %r13, %rdi
leaq 0x50cf6(%rip), %rsi     # 0x8c5d9
callq 0x18fe0
testl %eax, %eax
je 0x3b9d9
movq %r13, %rdi
leaq 0x51090(%rip), %rsi     # 0x8c98a
callq 0x18fe0
testl %eax, %eax
je 0x3b9e0
movq %r13, %rdi
leaq 0x51095(%rip), %rsi     # 0x8c9a6
callq 0x18fe0
movabsq $0x100000000, %rcx      # imm = 0x100000000
testl %eax, %eax
je 0x3b9e5
movq %r13, %rdi
leaq 0x51091(%rip), %rsi     # 0x8c9c3
callq 0x18fe0
movabsq $0x200000000, %rcx      # imm = 0x200000000
testl %eax, %eax
je 0x3b9e5
jmp 0x3b9ef
movl $0x80, %ecx
jmp 0x3b9e5
movl $0x100, %ecx            # imm = 0x100
jmp 0x3b9e5
movl $0x200, %ecx            # imm = 0x200
jmp 0x3b9e5
movl $0x400, %ecx            # imm = 0x400
jmp 0x3b9e5
movl $0x800, %ecx            # imm = 0x800
jmp 0x3b9e5
movl $0x4000, %ecx           # imm = 0x4000
jmp 0x3b9e5
movl $0x8000, %ecx           # imm = 0x8000
jmp 0x3b9e5
movl $0x1000, %ecx           # imm = 0x1000
jmp 0x3b9e5
movl $0x10000, %ecx          # imm = 0x10000
jmp 0x3b9e5
movl $0x20000, %ecx          # imm = 0x20000
jmp 0x3b9e5
movl $0x40000, %ecx          # imm = 0x40000
jmp 0x3b9e5
movl $0x80000, %ecx          # imm = 0x80000
jmp 0x3b9e5
movl $0x100000, %ecx         # imm = 0x100000
jmp 0x3b9e5
movl $0x200000, %ecx         # imm = 0x200000
jmp 0x3b9e5
movl $0x400000, %ecx         # imm = 0x400000
jmp 0x3b9e5
movl $0x800000, %ecx         # imm = 0x800000
jmp 0x3b9e5
movl $0x1000000, %ecx        # imm = 0x1000000
jmp 0x3b9e5
movl $0x2000, %ecx           # imm = 0x2000
jmp 0x3b9e5
movl $0x20000000, %ecx       # imm = 0x20000000
jmp 0x3b9e5
movl $0x40000000, %ecx       # imm = 0x40000000
jmp 0x3b9e5
movl $0x80000000, %ecx       # imm = 0x80000000
orq %rcx, %r14
incl %ebp
jmp 0x3b651
leaq 0x43ff0(%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