// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x28, %rsp
movq %rdi, 0x18(%rsp)
movl %esi, 0x14(%rsp)
movl %edx, 0x10(%rsp)
movl $0x0, 0xc(%rsp)
cmpl $0x0, 0x10(%rsp)
je 0x8aed
movq 0x18(%rsp), %rdi
movl 0x14(%rsp), %eax
movl %eax, %esi
callq 0x6310
movl $0x1, 0x24(%rsp)
jmp 0x8fb6
jmp 0x8aef
movl 0x14(%rsp), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x8b17
movq 0x18(%rsp), %rdi
leaq 0xd79c(%rip), %rsi      # 0x162a3
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8b19
jmp 0x8b1b
movl 0x14(%rsp), %eax
andl $0x2, %eax
cmpl $0x0, %eax
je 0x8b43
movq 0x18(%rsp), %rdi
leaq 0xd783(%rip), %rsi      # 0x162b6
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8b45
jmp 0x8b47
movl 0x14(%rsp), %eax
andl $0x4, %eax
cmpl $0x0, %eax
je 0x8b6f
movq 0x18(%rsp), %rdi
leaq 0xd76f(%rip), %rsi      # 0x162ce
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8b71
jmp 0x8b73
movl 0x14(%rsp), %eax
andl $0x8, %eax
cmpl $0x0, %eax
je 0x8b9b
movq 0x18(%rsp), %rdi
leaq 0xd754(%rip), %rsi      # 0x162df
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8b9d
jmp 0x8b9f
movl 0x14(%rsp), %eax
andl $0x10, %eax
cmpl $0x0, %eax
je 0x8bc7
movq 0x18(%rsp), %rdi
leaq 0xd734(%rip), %rsi      # 0x162eb
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8bc9
jmp 0x8bcb
movl 0x14(%rsp), %eax
andl $0x20, %eax
cmpl $0x0, %eax
je 0x8bf3
movq 0x18(%rsp), %rdi
leaq 0xd719(%rip), %rsi      # 0x162fc
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8bf5
jmp 0x8bf7
movl 0x14(%rsp), %eax
andl $0x40, %eax
cmpl $0x0, %eax
je 0x8c1f
movq 0x18(%rsp), %rdi
leaq 0xd6f9(%rip), %rsi      # 0x16308
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8c21
jmp 0x8c23
movl 0x14(%rsp), %eax
andl $0x80, %eax
cmpl $0x0, %eax
je 0x8c4d
movq 0x18(%rsp), %rdi
leaq 0xd6de(%rip), %rsi      # 0x1631b
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8c4f
jmp 0x8c51
movl 0x14(%rsp), %eax
andl $0x100, %eax            # imm = 0x100
cmpl $0x0, %eax
je 0x8c7b
movq 0x18(%rsp), %rdi
leaq 0xd6c3(%rip), %rsi      # 0x1632e
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8c7d
jmp 0x8c7f
movl 0x14(%rsp), %eax
andl $0x200, %eax            # imm = 0x200
cmpl $0x0, %eax
je 0x8ca9
movq 0x18(%rsp), %rdi
leaq 0xd6ac(%rip), %rsi      # 0x16345
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8cab
jmp 0x8cad
movl 0x14(%rsp), %eax
andl $0x400, %eax            # imm = 0x400
cmpl $0x0, %eax
je 0x8cd7
movq 0x18(%rsp), %rdi
leaq 0xd691(%rip), %rsi      # 0x16358
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8cd9
jmp 0x8cdb
movl 0x14(%rsp), %eax
andl $0x800, %eax            # imm = 0x800
cmpl $0x0, %eax
je 0x8d05
movq 0x18(%rsp), %rdi
leaq 0xd67b(%rip), %rsi      # 0x16370
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8d07
jmp 0x8d09
movl 0x14(%rsp), %eax
andl $0x1000, %eax           # imm = 0x1000
cmpl $0x0, %eax
je 0x8d33
movq 0x18(%rsp), %rdi
leaq 0xd664(%rip), %rsi      # 0x16387
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8d35
jmp 0x8d37
movl 0x14(%rsp), %eax
andl $0x2000, %eax           # imm = 0x2000
cmpl $0x0, %eax
je 0x8d61
movq 0x18(%rsp), %rdi
leaq 0xd651(%rip), %rsi      # 0x163a2
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8d63
jmp 0x8d65
movl 0x14(%rsp), %eax
andl $0x8000, %eax           # imm = 0x8000
cmpl $0x0, %eax
je 0x8d8f
movq 0x18(%rsp), %rdi
leaq 0xd638(%rip), %rsi      # 0x163b7
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8d91
jmp 0x8d93
movl 0x14(%rsp), %eax
andl $0x10000, %eax          # imm = 0x10000
cmpl $0x0, %eax
je 0x8dbd
movq 0x18(%rsp), %rdi
leaq 0xd619(%rip), %rsi      # 0x163c6
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8dbf
jmp 0x8dc1
movl 0x14(%rsp), %eax
andl $0x20000, %eax          # imm = 0x20000
cmpl $0x0, %eax
je 0x8deb
movq 0x18(%rsp), %rdi
leaq 0xd5fc(%rip), %rsi      # 0x163d7
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8ded
jmp 0x8def
movl 0x14(%rsp), %eax
andl $0x40000, %eax          # imm = 0x40000
cmpl $0x0, %eax
je 0x8e19
movq 0x18(%rsp), %rdi
leaq 0xd5e0(%rip), %rsi      # 0x163e9
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8e1b
jmp 0x8e1d
movl 0x14(%rsp), %eax
andl $0x80000, %eax          # imm = 0x80000
cmpl $0x0, %eax
je 0x8e47
movq 0x18(%rsp), %rdi
leaq 0xd5c0(%rip), %rsi      # 0x163f7
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8e49
jmp 0x8e4b
movl 0x14(%rsp), %eax
andl $0x100000, %eax         # imm = 0x100000
cmpl $0x0, %eax
je 0x8e75
movq 0x18(%rsp), %rdi
leaq 0xd5a6(%rip), %rsi      # 0x1640b
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8e77
jmp 0x8e79
movl 0x14(%rsp), %eax
andl $0x200000, %eax         # imm = 0x200000
cmpl $0x0, %eax
je 0x8ea3
movq 0x18(%rsp), %rdi
leaq 0xd587(%rip), %rsi      # 0x1641a
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8ea5
jmp 0x8ea7
movl 0x14(%rsp), %eax
andl $0x400000, %eax         # imm = 0x400000
cmpl $0x0, %eax
je 0x8ed1
movq 0x18(%rsp), %rdi
leaq 0xd569(%rip), %rsi      # 0x1642a
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8ed3
jmp 0x8ed5
movl 0x14(%rsp), %eax
andl $0x800000, %eax         # imm = 0x800000
cmpl $0x0, %eax
je 0x8eff
movq 0x18(%rsp), %rdi
leaq 0xd54a(%rip), %rsi      # 0x16439
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8f01
jmp 0x8f03
movl 0x14(%rsp), %eax
andl $0x1000000, %eax        # imm = 0x1000000
cmpl $0x0, %eax
je 0x8f2d
movq 0x18(%rsp), %rdi
leaq 0xd525(%rip), %rsi      # 0x16442
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8f2f
jmp 0x8f31
movl 0x14(%rsp), %eax
andl $0x2000000, %eax        # imm = 0x2000000
cmpl $0x0, %eax
je 0x8f5b
movq 0x18(%rsp), %rdi
leaq 0xd50a(%rip), %rsi      # 0x16455
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8f5d
jmp 0x8f5f
movl 0x14(%rsp), %eax
andl $0x4000000, %eax        # imm = 0x4000000
cmpl $0x0, %eax
je 0x8f89
movq 0x18(%rsp), %rdi
leaq 0xd4f0(%rip), %rsi      # 0x16469
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x8f8b
cmpl $0x0, 0x14(%rsp)
jne 0x8fae
movq 0x18(%rsp), %rdi
leaq 0xd293(%rip), %rsi      # 0x16231
callq 0x6930
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
movl 0xc(%rsp), %eax
movl %eax, 0x24(%rsp)
movl 0x24(%rsp), %eax
addq $0x28, %rsp
retq
nop