// File: /workspace/github_c_makefile_star2_O3/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
movl $0x1, %esi
callq 0x13df0
cmpl $0x3, %eax
jne 0x1f97a
movq %rbx, %rdi
movl $0x1, %esi
callq 0x12f30
movq %rax, %r14
xorl %ebp, %ebp
testb $0x1, %r14b
je 0x1f889
leaq 0x4b077(%rip), %rsi     # 0x6a8f3
movq %rbx, %rdi
callq 0x13f90
movl $0x1, %ebp
testb $0x2, %r14b
je 0x1f8a0
leaq 0x4d57a(%rip), %rsi     # 0x6ce10
movq %rbx, %rdi
callq 0x13f90
incl %ebp
testb $0x4, %r14b
je 0x1f8b7
leaq 0x4d56b(%rip), %rsi     # 0x6ce18
movq %rbx, %rdi
callq 0x13f90
incl %ebp
testb $0x8, %r14b
je 0x1f8ce
leaq 0x4d55d(%rip), %rsi     # 0x6ce21
movq %rbx, %rdi
callq 0x13f90
incl %ebp
testb $0x10, %r14b
je 0x1f8e5
leaq 0x4d54f(%rip), %rsi     # 0x6ce2a
movq %rbx, %rdi
callq 0x13f90
incl %ebp
testb $0x20, %r14b
je 0x1f8fc
leaq 0x4d544(%rip), %rsi     # 0x6ce36
movq %rbx, %rdi
callq 0x13f90
incl %ebp
testb $0x40, %r14b
je 0x1f913
leaq 0x4d53a(%rip), %rsi     # 0x6ce43
movq %rbx, %rdi
callq 0x13f90
incl %ebp
testb %r14b, %r14b
jns 0x1f929
leaq 0x4d52a(%rip), %rsi     # 0x6ce49
movq %rbx, %rdi
callq 0x13f90
incl %ebp
btl $0x8, %r14d
jae 0x1f941
leaq 0x4af4e(%rip), %rsi     # 0x6a885
movq %rbx, %rdi
callq 0x13f90
incl %ebp
btl $0x9, %r14d
jae 0x1f959
leaq 0x4d50b(%rip), %rsi     # 0x6ce5a
movq %rbx, %rdi
callq 0x13f90
incl %ebp
btl $0xa, %r14d
jae 0x1fb07
leaq 0x4d4fa(%rip), %rsi     # 0x6ce65
movq %rbx, %rdi
callq 0x13f90
incl %ebp
jmp 0x1fb07
movl $0x1, %ebp
movq %rbx, %rdi
movl $0x1, %esi
callq 0x141b0
xorl %r14d, %r14d
testl %eax, %eax
je 0x1faf7
leaq 0x4af55(%rip), %r15     # 0x6a8f3
leaq 0x4d46b(%rip), %r12     # 0x6ce10
movq %rbx, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq 0x12630
movq %rax, %r13
movq %rax, %rdi
movq %r15, %rsi
callq 0x12e90
testl %eax, %eax
je 0x1fa9c
movq %r13, %rdi
movq %r12, %rsi
callq 0x12e90
testl %eax, %eax
je 0x1faa3
movq %r13, %rdi
leaq 0x4d434(%rip), %rsi     # 0x6ce18
callq 0x12e90
testl %eax, %eax
je 0x1faaa
movq %r13, %rdi
leaq 0x4d426(%rip), %rsi     # 0x6ce21
callq 0x12e90
testl %eax, %eax
je 0x1fab1
movq %r13, %rdi
leaq 0x4d418(%rip), %rsi     # 0x6ce2a
callq 0x12e90
testl %eax, %eax
je 0x1fab8
movq %r13, %rdi
leaq 0x4d40d(%rip), %rsi     # 0x6ce36
callq 0x12e90
testl %eax, %eax
je 0x1fabf
movq %r13, %rdi
leaq 0x4d403(%rip), %rsi     # 0x6ce43
callq 0x12e90
testl %eax, %eax
je 0x1fac6
movq %r13, %rdi
leaq 0x4d3f6(%rip), %rsi     # 0x6ce49
callq 0x12e90
testl %eax, %eax
je 0x1facd
movq %r13, %rdi
leaq 0x4ae1f(%rip), %rsi     # 0x6a885
callq 0x12e90
testl %eax, %eax
je 0x1fad4
movq %r13, %rdi
leaq 0x4d3e1(%rip), %rsi     # 0x6ce5a
callq 0x12e90
testl %eax, %eax
je 0x1fadb
movq %r13, %rdi
leaq 0x4d3d9(%rip), %rsi     # 0x6ce65
callq 0x12e90
movl $0x400, %ecx            # imm = 0x400
testl %eax, %eax
je 0x1fae0
jmp 0x1fb18
movl $0x1, %ecx
jmp 0x1fae0
movl $0x2, %ecx
jmp 0x1fae0
movl $0x4, %ecx
jmp 0x1fae0
movl $0x8, %ecx
jmp 0x1fae0
movl $0x10, %ecx
jmp 0x1fae0
movl $0x20, %ecx
jmp 0x1fae0
movl $0x40, %ecx
jmp 0x1fae0
movl $0x80, %ecx
jmp 0x1fae0
movl $0x100, %ecx            # imm = 0x100
jmp 0x1fae0
movl $0x200, %ecx            # imm = 0x200
orl %ecx, %r14d
incl %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x141b0
testl %eax, %eax
jne 0x1f9a5
movl %r14d, %esi
movq %rbx, %rdi
callq 0x12b60
movl $0x1, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x47972(%rip), %rsi     # 0x67491
movq %rbx, %rdi
movq %r13, %rdx
xorl %eax, %eax
callq 0x12d80
movq %rbx, %rdi
movl %ebp, %esi
movq %rax, %rdx
callq 0x12460
movl %eax, %r14d
jmp 0x1faf7