// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/flags.c
// Function: pusheditflags
static int pusheditflags(lua_State *L, nk_flags flags)
    {
    int n = 0;

#define CASE(CODE,str) do { if((flags & CODE)==CODE) { lua_pushstring(L, str); n++; } } while(0)
    CASE(NK_EDIT_DEFAULT, "default");
    CASE(NK_EDIT_READ_ONLY, "read only");
    CASE(NK_EDIT_AUTO_SELECT, "auto select");
    CASE(NK_EDIT_SIG_ENTER, "sig enter");
    CASE(NK_EDIT_ALLOW_TAB, "allow tab");
    CASE(NK_EDIT_NO_CURSOR, "no cursor");
    CASE(NK_EDIT_SELECTABLE, "selectable");
    CASE(NK_EDIT_CLIPBOARD, "clipboard");
    CASE(NK_EDIT_CTRL_ENTER_NEWLINE, "ctrl enter newline");
    CASE(NK_EDIT_NO_HORIZONTAL_SCROLL, "no horizontal scroll");
    CASE(NK_EDIT_ALWAYS_INSERT_MODE, "always insert mode");
    CASE(NK_EDIT_MULTILINE, "multiline");
    CASE(NK_EDIT_GOTO_END_ON_ACTIVATE, "goto end on activate");
#undef CASE

    return n;
    }

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movl %esi, 0xc(%rsp)
movl $0x0, 0x8(%rsp)
movl 0xc(%rsp), %eax
andl $0x0, %eax
cmpl $0x0, %eax
jne 0x2632d
movq 0x10(%rsp), %rdi
leaq 0x8eca9(%rip), %rsi     # 0xb4fc6
callq 0x15240
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x2632f
jmp 0x26331
movl 0xc(%rsp), %eax
andl $0x1, %eax
cmpl $0x1, %eax
jne 0x26359
movq 0x10(%rsp), %rdi
leaq 0x86b89(%rip), %rsi     # 0xaced2
callq 0x15240
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x2635b
jmp 0x2635d
movl 0xc(%rsp), %eax
andl $0x2, %eax
cmpl $0x2, %eax
jne 0x26385
movq 0x10(%rsp), %rdi
leaq 0x86b67(%rip), %rsi     # 0xacedc
callq 0x15240
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x26387
jmp 0x26389
movl 0xc(%rsp), %eax
andl $0x4, %eax
cmpl $0x4, %eax
jne 0x263b1
movq 0x10(%rsp), %rdi
leaq 0x86b47(%rip), %rsi     # 0xacee8
callq 0x15240
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x263b3
jmp 0x263b5
movl 0xc(%rsp), %eax
andl $0x8, %eax
cmpl $0x8, %eax
jne 0x263dd
movq 0x10(%rsp), %rdi
leaq 0x86b25(%rip), %rsi     # 0xacef2
callq 0x15240
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x263df
jmp 0x263e1
movl 0xc(%rsp), %eax
andl $0x10, %eax
cmpl $0x10, %eax
jne 0x26409
movq 0x10(%rsp), %rdi
leaq 0x86b03(%rip), %rsi     # 0xacefc
callq 0x15240
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x2640b
jmp 0x2640d
movl 0xc(%rsp), %eax
andl $0x20, %eax
cmpl $0x20, %eax
jne 0x26435
movq 0x10(%rsp), %rdi
leaq 0x86ae1(%rip), %rsi     # 0xacf06
callq 0x15240
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x26437
jmp 0x26439
movl 0xc(%rsp), %eax
andl $0x40, %eax
cmpl $0x40, %eax
jne 0x26461
movq 0x10(%rsp), %rdi
leaq 0x86ac0(%rip), %rsi     # 0xacf11
callq 0x15240
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x26463
jmp 0x26465
movl 0xc(%rsp), %eax
andl $0x80, %eax
cmpl $0x80, %eax
jne 0x26491
movq 0x10(%rsp), %rdi
leaq 0x86a9a(%rip), %rsi     # 0xacf1b
callq 0x15240
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x26493
jmp 0x26495
movl 0xc(%rsp), %eax
andl $0x100, %eax            # imm = 0x100
cmpl $0x100, %eax            # imm = 0x100
jne 0x264c1
movq 0x10(%rsp), %rdi
leaq 0x86a7d(%rip), %rsi     # 0xacf2e
callq 0x15240
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x264c3
jmp 0x264c5
movl 0xc(%rsp), %eax
andl $0x200, %eax            # imm = 0x200
cmpl $0x200, %eax            # imm = 0x200
jne 0x264f1
movq 0x10(%rsp), %rdi
leaq 0x86a62(%rip), %rsi     # 0xacf43
callq 0x15240
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x264f3
jmp 0x264f5
movl 0xc(%rsp), %eax
andl $0x400, %eax            # imm = 0x400
cmpl $0x400, %eax            # imm = 0x400
jne 0x26521
movq 0x10(%rsp), %rdi
leaq 0x86a45(%rip), %rsi     # 0xacf56
callq 0x15240
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x26523
jmp 0x26525
movl 0xc(%rsp), %eax
andl $0x800, %eax            # imm = 0x800
cmpl $0x800, %eax            # imm = 0x800
jne 0x26551
movq 0x10(%rsp), %rdi
leaq 0x86a1f(%rip), %rsi     # 0xacf60
callq 0x15240
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x26553
movl 0x8(%rsp), %eax
addq $0x18, %rsp
retq
nopl (%rax)