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

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x1, %ebp
movl $0x1, %esi
callq 0x13df0
cmpl $0x3, %eax
jne 0x20318
movq %rbx, %rdi
movl $0x1, %esi
callq 0x12f30
movq %rax, %r14
leaq 0x541e1(%rip), %rsi     # 0x743ce
movq %rbx, %rdi
callq 0x13f90
testb $0x1, %r14b
je 0x2020f
leaq 0x4dcd0(%rip), %rsi     # 0x6ded2
movq %rbx, %rdi
callq 0x13f90
movl $0x2, %ebp
testb $0x2, %r14b
je 0x20226
leaq 0x4dcc0(%rip), %rsi     # 0x6dedc
movq %rbx, %rdi
callq 0x13f90
incl %ebp
testb $0x4, %r14b
je 0x2023d
leaq 0x4dcb5(%rip), %rsi     # 0x6dee8
movq %rbx, %rdi
callq 0x13f90
incl %ebp
testb $0x8, %r14b
je 0x20254
leaq 0x4dca8(%rip), %rsi     # 0x6def2
movq %rbx, %rdi
callq 0x13f90
incl %ebp
testb $0x10, %r14b
je 0x2026b
leaq 0x4dc9b(%rip), %rsi     # 0x6defc
movq %rbx, %rdi
callq 0x13f90
incl %ebp
testb $0x20, %r14b
je 0x20282
leaq 0x4dc8e(%rip), %rsi     # 0x6df06
movq %rbx, %rdi
callq 0x13f90
incl %ebp
testb $0x40, %r14b
je 0x20299
leaq 0x4dc82(%rip), %rsi     # 0x6df11
movq %rbx, %rdi
callq 0x13f90
incl %ebp
testb %r14b, %r14b
jns 0x202af
leaq 0x4dc76(%rip), %rsi     # 0x6df1b
movq %rbx, %rdi
callq 0x13f90
incl %ebp
btl $0x8, %r14d
jae 0x202c7
leaq 0x4dc71(%rip), %rsi     # 0x6df2e
movq %rbx, %rdi
callq 0x13f90
incl %ebp
btl $0x9, %r14d
jae 0x202df
leaq 0x4dc6e(%rip), %rsi     # 0x6df43
movq %rbx, %rdi
callq 0x13f90
incl %ebp
btl $0xa, %r14d
jae 0x202f7
leaq 0x4dc69(%rip), %rsi     # 0x6df56
movq %rbx, %rdi
callq 0x13f90
incl %ebp
btl $0xb, %r14d
jae 0x20565
leaq 0x4dc57(%rip), %rsi     # 0x6df60
movq %rbx, %rdi
callq 0x13f90
incl %ebp
jmp 0x20565
movl $0x1, %ebp
movq %rbx, %rdi
movl $0x1, %esi
callq 0x141b0
xorl %r14d, %r14d
testl %eax, %eax
je 0x20555
leaq 0x54092(%rip), %r15     # 0x743ce
leaq 0x4db8f(%rip), %r12     # 0x6ded2
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 0x20541
movq %r13, %rdi
movq %r12, %rsi
callq 0x12e90
testl %eax, %eax
je 0x204da
movq %r13, %rdi
leaq 0x4db5a(%rip), %rsi     # 0x6dedc
callq 0x12e90
testl %eax, %eax
je 0x204e0
movq %r13, %rdi
leaq 0x4db4f(%rip), %rsi     # 0x6dee8
callq 0x12e90
testl %eax, %eax
je 0x204e6
movq %r13, %rdi
leaq 0x4db42(%rip), %rsi     # 0x6def2
callq 0x12e90
testl %eax, %eax
je 0x204ec
movq %r13, %rdi
leaq 0x4db35(%rip), %rsi     # 0x6defc
callq 0x12e90
testl %eax, %eax
je 0x204f2
movq %r13, %rdi
leaq 0x4db28(%rip), %rsi     # 0x6df06
callq 0x12e90
testl %eax, %eax
je 0x204f8
movq %r13, %rdi
leaq 0x4db1c(%rip), %rsi     # 0x6df11
callq 0x12e90
testl %eax, %eax
je 0x204fe
movq %r13, %rdi
leaq 0x4db0f(%rip), %rsi     # 0x6df1b
callq 0x12e90
testl %eax, %eax
je 0x20504
movq %r13, %rdi
leaq 0x4db0b(%rip), %rsi     # 0x6df2e
callq 0x12e90
testl %eax, %eax
je 0x2050d
movq %r13, %rdi
leaq 0x4db09(%rip), %rsi     # 0x6df43
callq 0x12e90
testl %eax, %eax
je 0x20516
movq %r13, %rdi
leaq 0x4db05(%rip), %rsi     # 0x6df56
callq 0x12e90
testl %eax, %eax
je 0x2051f
movq %r13, %rdi
leaq 0x4daf8(%rip), %rsi     # 0x6df60
callq 0x12e90
testl %eax, %eax
je 0x20528
movq %r13, %rdi
leaq 0x4daf6(%rip), %rsi     # 0x6df75
callq 0x12e90
testl %eax, %eax
je 0x20516
movq %r13, %rdi
leaq 0x4d284(%rip), %rsi     # 0x6d71a
callq 0x12e90
testl %eax, %eax
je 0x20531
movq %r13, %rdi
leaq 0x5458d(%rip), %rsi     # 0x74a3a
callq 0x12e90
testl %eax, %eax
je 0x2053a
movq %r13, %rdi
leaq 0x4dab8(%rip), %rsi     # 0x6df7c
callq 0x12e90
testl %eax, %eax
jne 0x20576
orl $0x468, %r14d           # imm = 0x468
jmp 0x20541
orl $0x1, %r14d
jmp 0x20541
orl $0x2, %r14d
jmp 0x20541
orl $0x4, %r14d
jmp 0x20541
orl $0x8, %r14d
jmp 0x20541
orl $0x10, %r14d
jmp 0x20541
orl $0x20, %r14d
jmp 0x20541
orl $0x40, %r14d
jmp 0x20541
orl $0x80, %r14d
jmp 0x20541
orl $0x100, %r14d           # imm = 0x100
jmp 0x20541
orl $0x200, %r14d           # imm = 0x200
jmp 0x20541
orl $0x400, %r14d           # imm = 0x400
jmp 0x20541
orl $0x800, %r14d           # imm = 0x800
jmp 0x20541
orl $0x260, %r14d           # imm = 0x260
jmp 0x20541
orl $0x668, %r14d           # imm = 0x668
incl %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x141b0
testl %eax, %eax
jne 0x20343
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 0x47f14(%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 0x20555