// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/flags.c
// Function: pushpanelflags
static int pushpanelflags(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_WINDOW_BORDER, "border");
    CASE(NK_WINDOW_MOVABLE, "movable");
    CASE(NK_WINDOW_SCALABLE, "scalable");
    CASE(NK_WINDOW_CLOSABLE, "closable");
    CASE(NK_WINDOW_MINIMIZABLE, "minimizable");
    CASE(NK_WINDOW_NO_SCROLLBAR, "no scrollbar");
    CASE(NK_WINDOW_TITLE, "title");
    CASE(NK_WINDOW_SCROLL_AUTO_HIDE, "scroll auto hide");
    CASE(NK_WINDOW_BACKGROUND, "background");
    CASE(NK_WINDOW_SCALE_LEFT, "scale left");
    CASE(NK_WINDOW_NO_INPUT, "no input");
#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 $0x1, %eax
cmpl $0x1, %eax
jne 0x254bd
movq 0x10(%rsp), %rdi
leaq 0x85446(%rip), %rsi     # 0xaa8f3
callq 0x15240
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x254bf
jmp 0x254c1
movl 0xc(%rsp), %eax
andl $0x2, %eax
cmpl $0x2, %eax
jne 0x254e9
movq 0x10(%rsp), %rdi
leaq 0x87937(%rip), %rsi     # 0xace10
callq 0x15240
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x254eb
jmp 0x254ed
movl 0xc(%rsp), %eax
andl $0x4, %eax
cmpl $0x4, %eax
jne 0x25515
movq 0x10(%rsp), %rdi
leaq 0x87913(%rip), %rsi     # 0xace18
callq 0x15240
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x25517
jmp 0x25519
movl 0xc(%rsp), %eax
andl $0x8, %eax
cmpl $0x8, %eax
jne 0x25541
movq 0x10(%rsp), %rdi
leaq 0x878f0(%rip), %rsi     # 0xace21
callq 0x15240
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x25543
jmp 0x25545
movl 0xc(%rsp), %eax
andl $0x10, %eax
cmpl $0x10, %eax
jne 0x2556d
movq 0x10(%rsp), %rdi
leaq 0x878cd(%rip), %rsi     # 0xace2a
callq 0x15240
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x2556f
jmp 0x25571
movl 0xc(%rsp), %eax
andl $0x20, %eax
cmpl $0x20, %eax
jne 0x25599
movq 0x10(%rsp), %rdi
leaq 0x878ad(%rip), %rsi     # 0xace36
callq 0x15240
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x2559b
jmp 0x2559d
movl 0xc(%rsp), %eax
andl $0x40, %eax
cmpl $0x40, %eax
jne 0x255c5
movq 0x10(%rsp), %rdi
leaq 0x8788e(%rip), %rsi     # 0xace43
callq 0x15240
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x255c7
jmp 0x255c9
movl 0xc(%rsp), %eax
andl $0x80, %eax
cmpl $0x80, %eax
jne 0x255f5
movq 0x10(%rsp), %rdi
leaq 0x87864(%rip), %rsi     # 0xace49
callq 0x15240
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x255f7
jmp 0x255f9
movl 0xc(%rsp), %eax
andl $0x100, %eax            # imm = 0x100
cmpl $0x100, %eax            # imm = 0x100
jne 0x25625
movq 0x10(%rsp), %rdi
leaq 0x85270(%rip), %rsi     # 0xaa885
callq 0x15240
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x25627
jmp 0x25629
movl 0xc(%rsp), %eax
andl $0x200, %eax            # imm = 0x200
cmpl $0x200, %eax            # imm = 0x200
jne 0x25655
movq 0x10(%rsp), %rdi
leaq 0x87815(%rip), %rsi     # 0xace5a
callq 0x15240
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x25657
jmp 0x25659
movl 0xc(%rsp), %eax
andl $0x400, %eax            # imm = 0x400
cmpl $0x400, %eax            # imm = 0x400
jne 0x25685
movq 0x10(%rsp), %rdi
leaq 0x877f0(%rip), %rsi     # 0xace65
callq 0x15240
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x25687
movl 0x8(%rsp), %eax
addq $0x18, %rsp
retq