// File: /workspace/github_c_makefile_star2_O1/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 0x1f8f2
movq %rbx, %rdi
movl $0x1, %esi
callq 0x12f30
movq %rax, %r14
xorl %ebp, %ebp
testb $0x1, %r14b
je 0x1f801
leaq 0x4c0ff(%rip), %rsi     # 0x6b8f3
movq %rbx, %rdi
callq 0x13f90
movl $0x1, %ebp
testb $0x2, %r14b
je 0x1f818
leaq 0x4e602(%rip), %rsi     # 0x6de10
movq %rbx, %rdi
callq 0x13f90
incl %ebp
testb $0x4, %r14b
je 0x1f82f
leaq 0x4e5f3(%rip), %rsi     # 0x6de18
movq %rbx, %rdi
callq 0x13f90
incl %ebp
testb $0x8, %r14b
je 0x1f846
leaq 0x4e5e5(%rip), %rsi     # 0x6de21
movq %rbx, %rdi
callq 0x13f90
incl %ebp
testb $0x10, %r14b
je 0x1f85d
leaq 0x4e5d7(%rip), %rsi     # 0x6de2a
movq %rbx, %rdi
callq 0x13f90
incl %ebp
testb $0x20, %r14b
je 0x1f874
leaq 0x4e5cc(%rip), %rsi     # 0x6de36
movq %rbx, %rdi
callq 0x13f90
incl %ebp
testb $0x40, %r14b
je 0x1f88b
leaq 0x4e5c2(%rip), %rsi     # 0x6de43
movq %rbx, %rdi
callq 0x13f90
incl %ebp
testb %r14b, %r14b
jns 0x1f8a1
leaq 0x4e5b2(%rip), %rsi     # 0x6de49
movq %rbx, %rdi
callq 0x13f90
incl %ebp
btl $0x8, %r14d
jae 0x1f8b9
leaq 0x4bfd6(%rip), %rsi     # 0x6b885
movq %rbx, %rdi
callq 0x13f90
incl %ebp
btl $0x9, %r14d
jae 0x1f8d1
leaq 0x4e593(%rip), %rsi     # 0x6de5a
movq %rbx, %rdi
callq 0x13f90
incl %ebp
btl $0xa, %r14d
jae 0x1fa7f
leaq 0x4e582(%rip), %rsi     # 0x6de65
movq %rbx, %rdi
callq 0x13f90
incl %ebp
jmp 0x1fa7f
movl $0x1, %ebp
movq %rbx, %rdi
movl $0x1, %esi
callq 0x141b0
xorl %r14d, %r14d
testl %eax, %eax
je 0x1fa6f
leaq 0x4bfdd(%rip), %r15     # 0x6b8f3
leaq 0x4e4f3(%rip), %r12     # 0x6de10
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 0x1fa14
movq %r13, %rdi
movq %r12, %rsi
callq 0x12e90
testl %eax, %eax
je 0x1fa1b
movq %r13, %rdi
leaq 0x4e4bc(%rip), %rsi     # 0x6de18
callq 0x12e90
testl %eax, %eax
je 0x1fa22
movq %r13, %rdi
leaq 0x4e4ae(%rip), %rsi     # 0x6de21
callq 0x12e90
testl %eax, %eax
je 0x1fa29
movq %r13, %rdi
leaq 0x4e4a0(%rip), %rsi     # 0x6de2a
callq 0x12e90
testl %eax, %eax
je 0x1fa30
movq %r13, %rdi
leaq 0x4e495(%rip), %rsi     # 0x6de36
callq 0x12e90
testl %eax, %eax
je 0x1fa37
movq %r13, %rdi
leaq 0x4e48b(%rip), %rsi     # 0x6de43
callq 0x12e90
testl %eax, %eax
je 0x1fa3e
movq %r13, %rdi
leaq 0x4e47e(%rip), %rsi     # 0x6de49
callq 0x12e90
testl %eax, %eax
je 0x1fa45
movq %r13, %rdi
leaq 0x4bea7(%rip), %rsi     # 0x6b885
callq 0x12e90
testl %eax, %eax
je 0x1fa4c
movq %r13, %rdi
leaq 0x4e469(%rip), %rsi     # 0x6de5a
callq 0x12e90
testl %eax, %eax
je 0x1fa53
movq %r13, %rdi
leaq 0x4e461(%rip), %rsi     # 0x6de65
callq 0x12e90
movl $0x400, %ecx            # imm = 0x400
testl %eax, %eax
je 0x1fa58
jmp 0x1fa90
movl $0x1, %ecx
jmp 0x1fa58
movl $0x2, %ecx
jmp 0x1fa58
movl $0x4, %ecx
jmp 0x1fa58
movl $0x8, %ecx
jmp 0x1fa58
movl $0x10, %ecx
jmp 0x1fa58
movl $0x20, %ecx
jmp 0x1fa58
movl $0x40, %ecx
jmp 0x1fa58
movl $0x80, %ecx
jmp 0x1fa58
movl $0x100, %ecx            # imm = 0x100
jmp 0x1fa58
movl $0x200, %ecx            # imm = 0x200
orl %ecx, %r14d
incl %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x141b0
testl %eax, %eax
jne 0x1f91d
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 0x489fa(%rip), %rsi     # 0x68491
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 0x1fa6f