// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonfreetype/src/flags.c
// Function: pushloadflags
static int pushloadflags(lua_State *L, FT_Int32 flags_)
    {
#define TARGET_MASK (15 << 16)
    int n = 0;
    FT_Int32 flags = flags_ & ~TARGET_MASK;
    FT_Int32 target = flags_ & TARGET_MASK;

#define CASE(CODE,str) do { if( flags & CODE) { lua_pushstring(L, str); n++; } } while(0)
//      CASE(FT_LOAD_DEFAULT,"default");
        CASE(FT_LOAD_NO_SCALE,"no scale");
        CASE(FT_LOAD_NO_HINTING,"no hinting");
        CASE(FT_LOAD_RENDER,"render");
        CASE(FT_LOAD_NO_BITMAP,"no bitmap");
        CASE(FT_LOAD_VERTICAL_LAYOUT,"vertical layout");
        CASE(FT_LOAD_FORCE_AUTOHINT,"force autohint");
        CASE(FT_LOAD_CROP_BITMAP,"crop bitmap");
        CASE(FT_LOAD_PEDANTIC,"pedantic");
        CASE(FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH,"ignore global advance width");
        CASE(FT_LOAD_NO_RECURSE,"no recurse");
        CASE(FT_LOAD_IGNORE_TRANSFORM,"ignore transform");
        CASE(FT_LOAD_MONOCHROME,"monochrome");
        CASE(FT_LOAD_LINEAR_DESIGN,"linear design");
        CASE(FT_LOAD_NO_AUTOHINT,"no autohint");
        CASE(FT_LOAD_COLOR,"color");
        CASE(FT_LOAD_COMPUTE_METRICS,"compute metrics");
        CASE(FT_ADVANCE_FLAG_FAST_ONLY, "fast only");
#undef CASE
    if(flags==FT_LOAD_DEFAULT) { lua_pushstring(L, "default"); n++; }

#define CASE(CODE,str) do { if( target & CODE) { lua_pushstring(L, str); n++; } } while(0)
//      CASE(FT_LOAD_TARGET_NORMAL,"target normal");
        CASE(FT_LOAD_TARGET_LIGHT,"target light");
        CASE(FT_LOAD_TARGET_MONO,"target mono");
        CASE(FT_LOAD_TARGET_LCD,"target lcd");
        CASE(FT_LOAD_TARGET_LCD_V,"target lcd v");
#undef CASE
    if(target==FT_LOAD_TARGET_NORMAL) { lua_pushstring(L, "target normal"); n++; }
    return n;
    }

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movl %esi, 0xc(%rsp)
movl $0x0, 0x8(%rsp)
movl 0xc(%rsp), %eax
andl $0xfff0ffff, %eax       # imm = 0xFFF0FFFF
movl %eax, 0x4(%rsp)
movl 0xc(%rsp), %eax
andl $0xf0000, %eax          # imm = 0xF0000
movl %eax, (%rsp)
movslq 0x4(%rsp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x11329
movq 0x10(%rsp), %rdi
leaq 0x9c8f(%rip), %rsi      # 0x1afa8
callq 0x7cb0
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x1132b
jmp 0x1132d
movslq 0x4(%rsp), %rax
andq $0x2, %rax
cmpq $0x0, %rax
je 0x11358
movq 0x10(%rsp), %rdi
leaq 0x9c69(%rip), %rsi      # 0x1afb1
callq 0x7cb0
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x1135a
jmp 0x1135c
movslq 0x4(%rsp), %rax
andq $0x4, %rax
cmpq $0x0, %rax
je 0x11387
movq 0x10(%rsp), %rdi
leaq 0xa188(%rip), %rsi      # 0x1b4ff
callq 0x7cb0
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x11389
jmp 0x1138b
movslq 0x4(%rsp), %rax
andq $0x8, %rax
cmpq $0x0, %rax
je 0x113b6
movq 0x10(%rsp), %rdi
leaq 0x9c16(%rip), %rsi      # 0x1afbc
callq 0x7cb0
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x113b8
jmp 0x113ba
movslq 0x4(%rsp), %rax
andq $0x10, %rax
cmpq $0x0, %rax
je 0x113e5
movq 0x10(%rsp), %rdi
leaq 0x9bf1(%rip), %rsi      # 0x1afc6
callq 0x7cb0
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x113e7
jmp 0x113e9
movslq 0x4(%rsp), %rax
andq $0x20, %rax
cmpq $0x0, %rax
je 0x11414
movq 0x10(%rsp), %rdi
leaq 0x9bd2(%rip), %rsi      # 0x1afd6
callq 0x7cb0
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x11416
jmp 0x11418
movslq 0x4(%rsp), %rax
andq $0x40, %rax
cmpq $0x0, %rax
je 0x11443
movq 0x10(%rsp), %rdi
leaq 0x9bb2(%rip), %rsi      # 0x1afe5
callq 0x7cb0
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x11445
jmp 0x11447
movslq 0x4(%rsp), %rax
andq $0x80, %rax
cmpq $0x0, %rax
je 0x11474
movq 0x10(%rsp), %rdi
leaq 0x9b8d(%rip), %rsi      # 0x1aff1
callq 0x7cb0
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x11476
jmp 0x11478
movslq 0x4(%rsp), %rax
andq $0x200, %rax            # imm = 0x200
cmpq $0x0, %rax
je 0x114a5
movq 0x10(%rsp), %rdi
leaq 0x9b65(%rip), %rsi      # 0x1affa
callq 0x7cb0
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x114a7
jmp 0x114a9
movslq 0x4(%rsp), %rax
andq $0x400, %rax            # imm = 0x400
cmpq $0x0, %rax
je 0x114d6
movq 0x10(%rsp), %rdi
leaq 0x9b50(%rip), %rsi      # 0x1b016
callq 0x7cb0
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x114d8
jmp 0x114da
movslq 0x4(%rsp), %rax
andq $0x800, %rax            # imm = 0x800
cmpq $0x0, %rax
je 0x11507
movq 0x10(%rsp), %rdi
leaq 0x9b2a(%rip), %rsi      # 0x1b021
callq 0x7cb0
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x11509
jmp 0x1150b
movslq 0x4(%rsp), %rax
andq $0x1000, %rax           # imm = 0x1000
cmpq $0x0, %rax
je 0x11538
movq 0x10(%rsp), %rdi
leaq 0x9b0a(%rip), %rsi      # 0x1b032
callq 0x7cb0
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x1153a
jmp 0x1153c
movslq 0x4(%rsp), %rax
andq $0x2000, %rax           # imm = 0x2000
cmpq $0x0, %rax
je 0x11569
movq 0x10(%rsp), %rdi
leaq 0x9ae4(%rip), %rsi      # 0x1b03d
callq 0x7cb0
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x1156b
jmp 0x1156d
movslq 0x4(%rsp), %rax
andq $0x8000, %rax           # imm = 0x8000
cmpq $0x0, %rax
je 0x1159a
movq 0x10(%rsp), %rdi
leaq 0x9ac1(%rip), %rsi      # 0x1b04b
callq 0x7cb0
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x1159c
jmp 0x1159e
movslq 0x4(%rsp), %rax
andq $0x100000, %rax         # imm = 0x100000
cmpq $0x0, %rax
je 0x115cb
movq 0x10(%rsp), %rdi
leaq 0x93ae(%rip), %rsi      # 0x1a969
callq 0x7cb0
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x115cd
jmp 0x115cf
movslq 0x4(%rsp), %rax
andq $0x200000, %rax         # imm = 0x200000
cmpq $0x0, %rax
je 0x115fc
movq 0x10(%rsp), %rdi
leaq 0x9a6b(%rip), %rsi      # 0x1b057
callq 0x7cb0
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x115fe
jmp 0x11600
movslq 0x4(%rsp), %rax
andq $0x20000000, %rax       # imm = 0x20000000
cmpq $0x0, %rax
je 0x1162d
movq 0x10(%rsp), %rdi
leaq 0x9a4a(%rip), %rsi      # 0x1b067
callq 0x7cb0
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x1162f
cmpl $0x0, 0x4(%rsp)
jne 0x11652
movq 0x10(%rsp), %rdi
leaq 0xa3de(%rip), %rsi      # 0x1ba20
callq 0x7cb0
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x11654
movl (%rsp), %eax
andl $0x10000, %eax          # imm = 0x10000
cmpl $0x0, %eax
je 0x1167d
movq 0x10(%rsp), %rdi
leaq 0x9a04(%rip), %rsi      # 0x1b071
callq 0x7cb0
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x1167f
jmp 0x11681
movl (%rsp), %eax
andl $0x20000, %eax          # imm = 0x20000
cmpl $0x0, %eax
je 0x116aa
movq 0x10(%rsp), %rdi
leaq 0x99e4(%rip), %rsi      # 0x1b07e
callq 0x7cb0
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x116ac
jmp 0x116ae
movl (%rsp), %eax
andl $0x30000, %eax          # imm = 0x30000
cmpl $0x0, %eax
je 0x116d7
movq 0x10(%rsp), %rdi
leaq 0x99c3(%rip), %rsi      # 0x1b08a
callq 0x7cb0
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x116d9
jmp 0x116db
movl (%rsp), %eax
andl $0x40000, %eax          # imm = 0x40000
cmpl $0x0, %eax
je 0x11704
movq 0x10(%rsp), %rdi
leaq 0x99a1(%rip), %rsi      # 0x1b095
callq 0x7cb0
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x11706
cmpl $0x0, (%rsp)
jne 0x11728
movq 0x10(%rsp), %rdi
leaq 0x998a(%rip), %rsi      # 0x1b0a2
callq 0x7cb0
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
movl 0x8(%rsp), %eax
addq $0x18, %rsp
retq
nopw %cs:(%rax,%rax)