// File: /workspace/github_c_makefile_star2_O2/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
pushq $0x1
popq %rbp
movl %ebp, %esi
callq 0x14030
cmpl $0x3, %eax
jne 0x1f722
pushq $0x1
popq %rbp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x13060
movq %rax, %r14
leaq 0x4cd15(%rip), %rsi     # 0x6c30e
movq %rbx, %rdi
callq 0x141d0
testb $0x1, %r14b
je 0x1f619
leaq 0x468c4(%rip), %rsi     # 0x65ed2
movq %rbx, %rdi
callq 0x141d0
pushq $0x2
popq %rbp
testb $0x2, %r14b
je 0x1f630
leaq 0x468b6(%rip), %rsi     # 0x65edc
movq %rbx, %rdi
callq 0x141d0
incl %ebp
testb $0x4, %r14b
je 0x1f647
leaq 0x468ab(%rip), %rsi     # 0x65ee8
movq %rbx, %rdi
callq 0x141d0
incl %ebp
testb $0x8, %r14b
je 0x1f65e
leaq 0x4689e(%rip), %rsi     # 0x65ef2
movq %rbx, %rdi
callq 0x141d0
incl %ebp
testb $0x10, %r14b
je 0x1f675
leaq 0x46891(%rip), %rsi     # 0x65efc
movq %rbx, %rdi
callq 0x141d0
incl %ebp
testb $0x20, %r14b
je 0x1f68c
leaq 0x46884(%rip), %rsi     # 0x65f06
movq %rbx, %rdi
callq 0x141d0
incl %ebp
testb $0x40, %r14b
je 0x1f6a3
leaq 0x46878(%rip), %rsi     # 0x65f11
movq %rbx, %rdi
callq 0x141d0
incl %ebp
testb %r14b, %r14b
jns 0x1f6b9
leaq 0x4686c(%rip), %rsi     # 0x65f1b
movq %rbx, %rdi
callq 0x141d0
incl %ebp
btl $0x8, %r14d
jae 0x1f6d1
leaq 0x46867(%rip), %rsi     # 0x65f2e
movq %rbx, %rdi
callq 0x141d0
incl %ebp
btl $0x9, %r14d
jae 0x1f6e9
leaq 0x46864(%rip), %rsi     # 0x65f43
movq %rbx, %rdi
callq 0x141d0
incl %ebp
btl $0xa, %r14d
jae 0x1f701
leaq 0x4685f(%rip), %rsi     # 0x65f56
movq %rbx, %rdi
callq 0x141d0
incl %ebp
btl $0xb, %r14d
jae 0x1f974
leaq 0x4684d(%rip), %rsi     # 0x65f60
movq %rbx, %rdi
callq 0x141d0
incl %ebp
jmp 0x1f974
xorl %r14d, %r14d
leaq 0x4cbe2(%rip), %r15     # 0x6c30e
leaq 0x4679f(%rip), %r12     # 0x65ed2
movq %rbx, %rdi
movl %ebp, %esi
callq 0x14440
testl %eax, %eax
je 0x1f966
movq %rbx, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq 0x12690
movq %rax, %r13
movq %rax, %rdi
movq %r15, %rsi
callq 0x12fb0
testl %eax, %eax
je 0x1f93b
movq %r13, %rdi
movq %r12, %rsi
callq 0x12fb0
testl %eax, %eax
je 0x1f8d4
movq %r13, %rdi
leaq 0x46758(%rip), %rsi     # 0x65edc
callq 0x12fb0
testl %eax, %eax
je 0x1f8da
movq %r13, %rdi
leaq 0x4674d(%rip), %rsi     # 0x65ee8
callq 0x12fb0
testl %eax, %eax
je 0x1f8e0
movq %r13, %rdi
leaq 0x46740(%rip), %rsi     # 0x65ef2
callq 0x12fb0
testl %eax, %eax
je 0x1f8e6
movq %r13, %rdi
leaq 0x46733(%rip), %rsi     # 0x65efc
callq 0x12fb0
testl %eax, %eax
je 0x1f8ec
movq %r13, %rdi
leaq 0x46726(%rip), %rsi     # 0x65f06
callq 0x12fb0
testl %eax, %eax
je 0x1f8f2
movq %r13, %rdi
leaq 0x4671a(%rip), %rsi     # 0x65f11
callq 0x12fb0
testl %eax, %eax
je 0x1f8f8
movq %r13, %rdi
leaq 0x4670d(%rip), %rsi     # 0x65f1b
callq 0x12fb0
testl %eax, %eax
je 0x1f8fe
movq %r13, %rdi
leaq 0x46709(%rip), %rsi     # 0x65f2e
callq 0x12fb0
testl %eax, %eax
je 0x1f907
movq %r13, %rdi
leaq 0x46707(%rip), %rsi     # 0x65f43
callq 0x12fb0
testl %eax, %eax
je 0x1f910
movq %r13, %rdi
leaq 0x46703(%rip), %rsi     # 0x65f56
callq 0x12fb0
testl %eax, %eax
je 0x1f919
movq %r13, %rdi
leaq 0x466f6(%rip), %rsi     # 0x65f60
callq 0x12fb0
testl %eax, %eax
je 0x1f922
movq %r13, %rdi
leaq 0x466f4(%rip), %rsi     # 0x65f75
callq 0x12fb0
testl %eax, %eax
je 0x1f910
movq %r13, %rdi
leaq 0x45e82(%rip), %rsi     # 0x6571a
callq 0x12fb0
testl %eax, %eax
je 0x1f92b
movq %r13, %rdi
leaq 0x4d0cb(%rip), %rsi     # 0x6c97a
callq 0x12fb0
testl %eax, %eax
je 0x1f934
movq %r13, %rdi
leaq 0x466ba(%rip), %rsi     # 0x65f7c
callq 0x12fb0
testl %eax, %eax
jne 0x1f942
orl $0x468, %r14d           # imm = 0x468
jmp 0x1f93b
orl $0x1, %r14d
jmp 0x1f93b
orl $0x2, %r14d
jmp 0x1f93b
orl $0x4, %r14d
jmp 0x1f93b
orl $0x8, %r14d
jmp 0x1f93b
orl $0x10, %r14d
jmp 0x1f93b
orl $0x20, %r14d
jmp 0x1f93b
orl $0x40, %r14d
jmp 0x1f93b
orl $0x80, %r14d
jmp 0x1f93b
orl $0x100, %r14d           # imm = 0x100
jmp 0x1f93b
orl $0x200, %r14d           # imm = 0x200
jmp 0x1f93b
orl $0x400, %r14d           # imm = 0x400
jmp 0x1f93b
orl $0x800, %r14d           # imm = 0x800
jmp 0x1f93b
orl $0x260, %r14d           # imm = 0x260
jmp 0x1f93b
orl $0x668, %r14d           # imm = 0x668
incl %ebp
jmp 0x1f733
leaq 0x40b48(%rip), %rsi     # 0x60491
movq %rbx, %rdi
movq %r13, %rdx
xorl %eax, %eax
callq 0x12ea0
movq %rbx, %rdi
movl %ebp, %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