// File: /workspace/github_c_makefile_star2_O3/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 0x203a0
movq %rbx, %rdi
movl $0x1, %esi
callq 0x12f30
movq %rax, %r14
leaq 0x53129(%rip), %rsi     # 0x7339e
movq %rbx, %rdi
callq 0x13f90
testb $0x1, %r14b
je 0x20297
leaq 0x4cc48(%rip), %rsi     # 0x6ced2
movq %rbx, %rdi
callq 0x13f90
movl $0x2, %ebp
testb $0x2, %r14b
je 0x202ae
leaq 0x4cc38(%rip), %rsi     # 0x6cedc
movq %rbx, %rdi
callq 0x13f90
incl %ebp
testb $0x4, %r14b
je 0x202c5
leaq 0x4cc2d(%rip), %rsi     # 0x6cee8
movq %rbx, %rdi
callq 0x13f90
incl %ebp
testb $0x8, %r14b
je 0x202dc
leaq 0x4cc20(%rip), %rsi     # 0x6cef2
movq %rbx, %rdi
callq 0x13f90
incl %ebp
testb $0x10, %r14b
je 0x202f3
leaq 0x4cc13(%rip), %rsi     # 0x6cefc
movq %rbx, %rdi
callq 0x13f90
incl %ebp
testb $0x20, %r14b
je 0x2030a
leaq 0x4cc06(%rip), %rsi     # 0x6cf06
movq %rbx, %rdi
callq 0x13f90
incl %ebp
testb $0x40, %r14b
je 0x20321
leaq 0x4cbfa(%rip), %rsi     # 0x6cf11
movq %rbx, %rdi
callq 0x13f90
incl %ebp
testb %r14b, %r14b
jns 0x20337
leaq 0x4cbee(%rip), %rsi     # 0x6cf1b
movq %rbx, %rdi
callq 0x13f90
incl %ebp
btl $0x8, %r14d
jae 0x2034f
leaq 0x4cbe9(%rip), %rsi     # 0x6cf2e
movq %rbx, %rdi
callq 0x13f90
incl %ebp
btl $0x9, %r14d
jae 0x20367
leaq 0x4cbe6(%rip), %rsi     # 0x6cf43
movq %rbx, %rdi
callq 0x13f90
incl %ebp
btl $0xa, %r14d
jae 0x2037f
leaq 0x4cbe1(%rip), %rsi     # 0x6cf56
movq %rbx, %rdi
callq 0x13f90
incl %ebp
btl $0xb, %r14d
jae 0x205ed
leaq 0x4cbcf(%rip), %rsi     # 0x6cf60
movq %rbx, %rdi
callq 0x13f90
incl %ebp
jmp 0x205ed
movl $0x1, %ebp
movq %rbx, %rdi
movl $0x1, %esi
callq 0x141b0
xorl %r14d, %r14d
testl %eax, %eax
je 0x205dd
leaq 0x52fda(%rip), %r15     # 0x7339e
leaq 0x4cb07(%rip), %r12     # 0x6ced2
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 0x205c9
movq %r13, %rdi
movq %r12, %rsi
callq 0x12e90
testl %eax, %eax
je 0x20562
movq %r13, %rdi
leaq 0x4cad2(%rip), %rsi     # 0x6cedc
callq 0x12e90
testl %eax, %eax
je 0x20568
movq %r13, %rdi
leaq 0x4cac7(%rip), %rsi     # 0x6cee8
callq 0x12e90
testl %eax, %eax
je 0x2056e
movq %r13, %rdi
leaq 0x4caba(%rip), %rsi     # 0x6cef2
callq 0x12e90
testl %eax, %eax
je 0x20574
movq %r13, %rdi
leaq 0x4caad(%rip), %rsi     # 0x6cefc
callq 0x12e90
testl %eax, %eax
je 0x2057a
movq %r13, %rdi
leaq 0x4caa0(%rip), %rsi     # 0x6cf06
callq 0x12e90
testl %eax, %eax
je 0x20580
movq %r13, %rdi
leaq 0x4ca94(%rip), %rsi     # 0x6cf11
callq 0x12e90
testl %eax, %eax
je 0x20586
movq %r13, %rdi
leaq 0x4ca87(%rip), %rsi     # 0x6cf1b
callq 0x12e90
testl %eax, %eax
je 0x2058c
movq %r13, %rdi
leaq 0x4ca83(%rip), %rsi     # 0x6cf2e
callq 0x12e90
testl %eax, %eax
je 0x20595
movq %r13, %rdi
leaq 0x4ca81(%rip), %rsi     # 0x6cf43
callq 0x12e90
testl %eax, %eax
je 0x2059e
movq %r13, %rdi
leaq 0x4ca7d(%rip), %rsi     # 0x6cf56
callq 0x12e90
testl %eax, %eax
je 0x205a7
movq %r13, %rdi
leaq 0x4ca70(%rip), %rsi     # 0x6cf60
callq 0x12e90
testl %eax, %eax
je 0x205b0
movq %r13, %rdi
leaq 0x4ca6e(%rip), %rsi     # 0x6cf75
callq 0x12e90
testl %eax, %eax
je 0x2059e
movq %r13, %rdi
leaq 0x4c1fc(%rip), %rsi     # 0x6c71a
callq 0x12e90
testl %eax, %eax
je 0x205b9
movq %r13, %rdi
leaq 0x534d5(%rip), %rsi     # 0x73a0a
callq 0x12e90
testl %eax, %eax
je 0x205c2
movq %r13, %rdi
leaq 0x4ca30(%rip), %rsi     # 0x6cf7c
callq 0x12e90
testl %eax, %eax
jne 0x205fe
orl $0x468, %r14d           # imm = 0x468
jmp 0x205c9
orl $0x1, %r14d
jmp 0x205c9
orl $0x2, %r14d
jmp 0x205c9
orl $0x4, %r14d
jmp 0x205c9
orl $0x8, %r14d
jmp 0x205c9
orl $0x10, %r14d
jmp 0x205c9
orl $0x20, %r14d
jmp 0x205c9
orl $0x40, %r14d
jmp 0x205c9
orl $0x80, %r14d
jmp 0x205c9
orl $0x100, %r14d           # imm = 0x100
jmp 0x205c9
orl $0x200, %r14d           # imm = 0x200
jmp 0x205c9
orl $0x400, %r14d           # imm = 0x400
jmp 0x205c9
orl $0x800, %r14d           # imm = 0x800
jmp 0x205c9
orl $0x260, %r14d           # imm = 0x260
jmp 0x205c9
orl $0x668, %r14d           # imm = 0x668
incl %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x141b0
testl %eax, %eax
jne 0x203cb
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 0x46e8c(%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 0x205dd