// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonassimp/src/bitfields.c
// Function: moonassimp_pushpostprocessflags
int pushpostprocessflags(lua_State *L, unsigned int flags, int pushcode)
/* Pushes an integer followed by a list of strings */
    {
    int n = 0;
    if(pushcode)
        { lua_pushinteger(L, flags); return 1; }

#define CASE(CODE,str) do { if( flags & CODE) { lua_pushstring(L, str); n++; } } while(0)
        CASE(aiProcess_CalcTangentSpace,"calc tangent space");
        CASE(aiProcess_JoinIdenticalVertices,"join identical vertices");
        CASE(aiProcess_MakeLeftHanded,"make left handed");
        CASE(aiProcess_Triangulate,"triangulate");
        CASE(aiProcess_RemoveComponent,"remove component");
        CASE(aiProcess_GenNormals,"gen normals");
        CASE(aiProcess_GenSmoothNormals,"gen smooth normals");
        CASE(aiProcess_SplitLargeMeshes,"split large meshes");
        CASE(aiProcess_PreTransformVertices,"pre transform vertices");
        CASE(aiProcess_LimitBoneWeights,"limit bone weights");
        CASE(aiProcess_ValidateDataStructure,"validate data structure");
        CASE(aiProcess_ImproveCacheLocality,"improve cache locality");
        CASE(aiProcess_RemoveRedundantMaterials,"remove redundant materials");
        CASE(aiProcess_FixInfacingNormals,"fix infacing normals");
        CASE(aiProcess_SortByPType,"sort by p type");
        CASE(aiProcess_FindDegenerates,"find degenerates");
        CASE(aiProcess_FindInvalidData,"find invalid data");
        CASE(aiProcess_GenUVCoords,"gen uv coords");
        CASE(aiProcess_TransformUVCoords,"transform uv coords");
        CASE(aiProcess_FindInstances,"find instances");
        CASE(aiProcess_OptimizeMeshes ,"optimize meshes");
        CASE(aiProcess_OptimizeGraph ,"optimize graph");
        CASE(aiProcess_FlipUVs,"flip uvs");
        CASE(aiProcess_FlipWindingOrder ,"flip winding order");
        CASE(aiProcess_SplitByBoneCount ,"split by bone count");
        CASE(aiProcess_Debone ,"debone");

#undef CASE
    if(flags==0) { lua_pushstring(L, "none"); n++; }
    return n;
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %r14d
movq %rdi, %rbx
testl %edx, %edx
je 0x7f74
movl %r14d, %esi
movq %rbx, %rdi
callq 0x6300
movl $0x1, %ebp
jmp 0x81f5
xorl %ebp, %ebp
testb $0x1, %r14b
je 0x7f90
leaq 0x8320(%rip), %rsi      # 0x102a3
movq %rbx, %rdi
callq 0x6920
movl $0x1, %ebp
testb $0x2, %r14b
je 0x7fa7
leaq 0x8319(%rip), %rsi      # 0x102b6
movq %rbx, %rdi
callq 0x6920
incl %ebp
testb $0x4, %r14b
je 0x7fbe
leaq 0x831a(%rip), %rsi      # 0x102ce
movq %rbx, %rdi
callq 0x6920
incl %ebp
testb $0x8, %r14b
je 0x7fd5
leaq 0x8314(%rip), %rsi      # 0x102df
movq %rbx, %rdi
callq 0x6920
incl %ebp
testb $0x10, %r14b
je 0x7fec
leaq 0x8309(%rip), %rsi      # 0x102eb
movq %rbx, %rdi
callq 0x6920
incl %ebp
testb $0x20, %r14b
je 0x8003
leaq 0x8303(%rip), %rsi      # 0x102fc
movq %rbx, %rdi
callq 0x6920
incl %ebp
testb $0x40, %r14b
je 0x801a
leaq 0x82f8(%rip), %rsi      # 0x10308
movq %rbx, %rdi
callq 0x6920
incl %ebp
testb %r14b, %r14b
jns 0x8030
leaq 0x82f5(%rip), %rsi      # 0x1031b
movq %rbx, %rdi
callq 0x6920
incl %ebp
btl $0x8, %r14d
jae 0x8048
leaq 0x82f0(%rip), %rsi      # 0x1032e
movq %rbx, %rdi
callq 0x6920
incl %ebp
btl $0x9, %r14d
jae 0x8060
leaq 0x82ef(%rip), %rsi      # 0x10345
movq %rbx, %rdi
callq 0x6920
incl %ebp
btl $0xa, %r14d
jae 0x8078
leaq 0x82ea(%rip), %rsi      # 0x10358
movq %rbx, %rdi
callq 0x6920
incl %ebp
btl $0xb, %r14d
jae 0x8090
leaq 0x82ea(%rip), %rsi      # 0x10370
movq %rbx, %rdi
callq 0x6920
incl %ebp
btl $0xc, %r14d
jae 0x80a8
leaq 0x82e9(%rip), %rsi      # 0x10387
movq %rbx, %rdi
callq 0x6920
incl %ebp
btl $0xd, %r14d
jae 0x80c0
leaq 0x82ec(%rip), %rsi      # 0x103a2
movq %rbx, %rdi
callq 0x6920
incl %ebp
testw %r14w, %r14w
jns 0x80d7
leaq 0x82ea(%rip), %rsi      # 0x103b7
movq %rbx, %rdi
callq 0x6920
incl %ebp
btl $0x10, %r14d
jae 0x80ef
leaq 0x82e1(%rip), %rsi      # 0x103c6
movq %rbx, %rdi
callq 0x6920
incl %ebp
btl $0x11, %r14d
jae 0x8107
leaq 0x82da(%rip), %rsi      # 0x103d7
movq %rbx, %rdi
callq 0x6920
incl %ebp
btl $0x12, %r14d
jae 0x811f
leaq 0x82d4(%rip), %rsi      # 0x103e9
movq %rbx, %rdi
callq 0x6920
incl %ebp
btl $0x13, %r14d
jae 0x8137
leaq 0x82ca(%rip), %rsi      # 0x103f7
movq %rbx, %rdi
callq 0x6920
incl %ebp
btl $0x14, %r14d
jae 0x814f
leaq 0x82c6(%rip), %rsi      # 0x1040b
movq %rbx, %rdi
callq 0x6920
incl %ebp
btl $0x15, %r14d
jae 0x8167
leaq 0x82bd(%rip), %rsi      # 0x1041a
movq %rbx, %rdi
callq 0x6920
incl %ebp
btl $0x16, %r14d
jae 0x817f
leaq 0x82b5(%rip), %rsi      # 0x1042a
movq %rbx, %rdi
callq 0x6920
incl %ebp
btl $0x17, %r14d
jae 0x8197
leaq 0x82ac(%rip), %rsi      # 0x10439
movq %rbx, %rdi
callq 0x6920
incl %ebp
btl $0x18, %r14d
jae 0x81af
leaq 0x829d(%rip), %rsi      # 0x10442
movq %rbx, %rdi
callq 0x6920
incl %ebp
btl $0x19, %r14d
jae 0x81c7
leaq 0x8298(%rip), %rsi      # 0x10455
movq %rbx, %rdi
callq 0x6920
incl %ebp
btl $0x1a, %r14d
jae 0x81df
leaq 0x8294(%rip), %rsi      # 0x10469
movq %rbx, %rdi
callq 0x6920
incl %ebp
testl %r14d, %r14d
jne 0x81f5
leaq 0x8046(%rip), %rsi      # 0x10231
movq %rbx, %rdi
callq 0x6920
incl %ebp
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq