// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/flags.c
// Function: PanelFlags
static int PanelFlags(lua_State *L)
    {
    if(lua_type(L, 1) == LUA_TNUMBER)
        return pushpanelflags(L, luaL_checkinteger(L, 1));
    lua_pushinteger(L, checkpanelflags(L, 1));
    return 1;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
pushq $0x1
popq %rbp
movl %ebp, %esi
callq 0x14030
cmpl $0x3, %eax
jne 0x1eddf
pushq $0x1
popq %r15
movq %rbx, %rdi
movl %r15d, %esi
callq 0x13060
movq %rax, %r14
xorl %ebp, %ebp
testb $0x1, %r14b
je 0x1ecee
leaq 0x44c10(%rip), %rsi     # 0x638f3
movq %rbx, %rdi
callq 0x141d0
movl %r15d, %ebp
testb $0x2, %r14b
je 0x1ed05
leaq 0x47115(%rip), %rsi     # 0x65e10
movq %rbx, %rdi
callq 0x141d0
incl %ebp
testb $0x4, %r14b
je 0x1ed1c
leaq 0x47106(%rip), %rsi     # 0x65e18
movq %rbx, %rdi
callq 0x141d0
incl %ebp
testb $0x8, %r14b
je 0x1ed33
leaq 0x470f8(%rip), %rsi     # 0x65e21
movq %rbx, %rdi
callq 0x141d0
incl %ebp
testb $0x10, %r14b
je 0x1ed4a
leaq 0x470ea(%rip), %rsi     # 0x65e2a
movq %rbx, %rdi
callq 0x141d0
incl %ebp
testb $0x20, %r14b
je 0x1ed61
leaq 0x470df(%rip), %rsi     # 0x65e36
movq %rbx, %rdi
callq 0x141d0
incl %ebp
testb $0x40, %r14b
je 0x1ed78
leaq 0x470d5(%rip), %rsi     # 0x65e43
movq %rbx, %rdi
callq 0x141d0
incl %ebp
testb %r14b, %r14b
jns 0x1ed8e
leaq 0x470c5(%rip), %rsi     # 0x65e49
movq %rbx, %rdi
callq 0x141d0
incl %ebp
btl $0x8, %r14d
jae 0x1eda6
leaq 0x44ae9(%rip), %rsi     # 0x63885
movq %rbx, %rdi
callq 0x141d0
incl %ebp
btl $0x9, %r14d
jae 0x1edbe
leaq 0x470a6(%rip), %rsi     # 0x65e5a
movq %rbx, %rdi
callq 0x141d0
incl %ebp
btl $0xa, %r14d
jae 0x1ef5c
leaq 0x47095(%rip), %rsi     # 0x65e65
movq %rbx, %rdi
callq 0x141d0
incl %ebp
jmp 0x1ef5c
xorl %r14d, %r14d
leaq 0x44b0a(%rip), %r15     # 0x638f3
movl %ebp, %r13d
movq %rbx, %rdi
movl %r13d, %esi
callq 0x14440
testl %eax, %eax
je 0x1ef4e
movq %rbx, %rdi
movl %r13d, %esi
xorl %edx, %edx
callq 0x12690
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x12fb0
movl %ebp, %ecx
testl %eax, %eax
je 0x1ef1e
movq %r12, %rdi
leaq 0x46fe2(%rip), %rsi     # 0x65e10
callq 0x12fb0
pushq $0x2
popq %rcx
testl %eax, %eax
je 0x1ef1e
movq %r12, %rdi
leaq 0x46fd0(%rip), %rsi     # 0x65e18
callq 0x12fb0
pushq $0x4
popq %rcx
testl %eax, %eax
je 0x1ef1e
movq %r12, %rdi
leaq 0x46fbf(%rip), %rsi     # 0x65e21
callq 0x12fb0
pushq $0x8
popq %rcx
testl %eax, %eax
je 0x1ef1e
movq %r12, %rdi
leaq 0x46fae(%rip), %rsi     # 0x65e2a
callq 0x12fb0
pushq $0x10
popq %rcx
testl %eax, %eax
je 0x1ef1e
movq %r12, %rdi
leaq 0x46fa0(%rip), %rsi     # 0x65e36
callq 0x12fb0
pushq $0x20
popq %rcx
testl %eax, %eax
je 0x1ef1e
movq %r12, %rdi
leaq 0x46f97(%rip), %rsi     # 0x65e43
callq 0x12fb0
pushq $0x40
popq %rcx
testl %eax, %eax
je 0x1ef1e
movq %r12, %rdi
leaq 0x46f87(%rip), %rsi     # 0x65e49
callq 0x12fb0
testl %eax, %eax
je 0x1ef0b
movq %r12, %rdi
leaq 0x449b0(%rip), %rsi     # 0x63885
callq 0x12fb0
testl %eax, %eax
je 0x1ef12
movq %r12, %rdi
leaq 0x46f72(%rip), %rsi     # 0x65e5a
callq 0x12fb0
testl %eax, %eax
je 0x1ef19
movq %r12, %rdi
leaq 0x46f6a(%rip), %rsi     # 0x65e65
callq 0x12fb0
movl $0x400, %ecx            # imm = 0x400
testl %eax, %eax
je 0x1ef1e
jmp 0x1ef29
movl $0x80, %ecx
jmp 0x1ef1e
movl $0x100, %ecx            # imm = 0x100
jmp 0x1ef1e
movl $0x200, %ecx            # imm = 0x200
orl %ecx, %r14d
incl %r13d
jmp 0x1edec
leaq 0x41561(%rip), %rsi     # 0x60491
movq %rbx, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq 0x12ea0
movq %rbx, %rdi
movl %r13d, %esi
movq %rax, %rdx
callq 0x124a0
movl %eax, %r14d
movl %r14d, %esi
movq %rbx, %rdi
callq 0x12c20
pushq $0x1
popq %rbp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq