// File: /workspace/github_c_makefile_star2_O2/coyove[P]chann/./src/main.cpp
// Function: views::admin::render(mg_connection*)
void render(mg_connection* conn){
            string ip_ban_list = "";
            string id_ban_list = "";
            for(auto i = IPBanList.begin(); i != IPBanList.end(); ++i) ip_ban_list += (*i + ",");
            for(auto j = IDBanList.begin(); j != IDBanList.end(); ++j) id_ban_list += (*j + ",");

            time_t c; time(&c);
            unsigned long dummy, res = 0;

            FILE *f = fopen("/proc/self/statm", "r");
            if(f){
                fscanf(f,"%ld %ld %ld %ld %ld %ld %ld", &dummy, &res, &dummy, &dummy, &dummy, &dummy, &dummy);
                fclose(f);
            }

            string ass = is_assist(conn);

            templates.invoke("site_header").toggle("admin_panel_page").pipe_to(conn).destory();
            templates.invoke("admin_panel") \
                .toggle("is_admin", is_admin(conn) || !ass.empty()) \
                .toggle("is_assist", !ass.empty()) \
                .var("ASSIST_NAME", ass) \
                .var("RUNNING_TIME", (int)((c - gStartupTime) / 3600)) \
                .var("MEMORY_USAGE", res * 4) \
                .var("IP_BAN_LIST", ip_ban_list) \
                .var("ID_BAN_LIST", id_ban_list) \
                .var("GLOBAL_CONFIGS", configs.global().serialize_to_json()) \
                .pipe_to(conn).destory();
            templates.invoke("site_footer").var("TIME", 0).pipe_to(conn).destory();
        }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1d0, %rsp            # imm = 0x1D0
movq %rdi, %rbx
leaq 0x5474b(%rip), %r14     # 0x67652
leaq 0xe8(%rsp), %rdi
leaq 0xc8(%rsp), %rdx
movq %r14, %rsi
callq 0xcb10
leaq 0xc8(%rsp), %rdi
leaq 0x60(%rsp), %rdx
movq %r14, %rsi
callq 0xcb10
leaq 0x74dad(%rip), %r13     # 0x87ce8
leaq 0x4e9dd(%rip), %r14     # 0x6191f
leaq 0x60(%rsp), %r15
leaq 0xe8(%rsp), %r12
movq (%r13), %r13
testq %r13, %r13
je 0x12f7c
leaq 0x8(%r13), %rsi
movq %r15, %rdi
movq %r14, %rdx
callq 0x1509e
movq %r12, %rdi
movq %r15, %rsi
callq 0xc9c0
movq %r15, %rdi
callq 0xcd88
jmp 0x12f4f
leaq 0x74d2d(%rip), %r13     # 0x87cb0
leaq 0x4e995(%rip), %r14     # 0x6191f
leaq 0x60(%rsp), %r15
leaq 0xc8(%rsp), %r12
movq (%r13), %r13
testq %r13, %r13
je 0x12fc4
leaq 0x8(%r13), %rsi
movq %r15, %rdi
movq %r14, %rdx
callq 0x1509e
movq %r12, %rdi
movq %r15, %rsi
callq 0xc9c0
movq %r15, %rdi
callq 0xcd88
jmp 0x12f97
leaq 0x80(%rsp), %rdi
callq 0xc850
andq $0x0, 0x58(%rsp)
leaq 0x4e962(%rip), %rdi     # 0x61940
leaq 0x56350(%rip), %rsi     # 0x69335
callq 0xcd40
testq %rax, %rax
je 0x13029
movq %rax, %r14
subq $0x8, %rsp
leaq 0x1d0(%rsp), %rdx
leaq 0x4e94c(%rip), %rsi     # 0x61951
leaq 0x60(%rsp), %rcx
movq %rax, %rdi
movq %rdx, %r8
movq %rdx, %r9
xorl %eax, %eax
pushq %rdx
pushq %rdx
pushq %rdx
callq 0xc240
addq $0x20, %rsp
movq %r14, %rdi
callq 0xc4c0
leaq 0x60(%rsp), %rdi
movq %rbx, %rsi
callq 0xe111
leaq 0x4e930(%rip), %rsi     # 0x6196d
leaq 0x38(%rsp), %rdi
leaq 0xa8(%rsp), %rdx
callq 0xcb10
leaq 0x74cf2(%rip), %rdi     # 0x87d48
leaq 0x38(%rsp), %rsi
callq 0x14fb0
movq %rax, %r14
leaq 0x4e90f(%rip), %rsi     # 0x61979
leaq 0x18(%rsp), %rdi
leaq 0x88(%rsp), %rdx
callq 0xcb10
leaq 0x1c8(%r14), %rdi
leaq 0x18(%rsp), %rsi
callq 0x189cc
movb $0x1, (%rax)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x151b6
movq %rax, %rdi
callq 0x15224
leaq 0x18(%rsp), %rdi
callq 0xcd88
leaq 0x38(%rsp), %rdi
callq 0xcd88
leaq 0x4e8cc(%rip), %rsi     # 0x6198a
leaq 0x38(%rsp), %rdi
leaq 0x17(%rsp), %rdx
callq 0xcb10
leaq 0x74c74(%rip), %rdi     # 0x87d48
leaq 0x38(%rsp), %rsi
callq 0x14fb0
movq %rax, %r14
leaq 0x4edbc(%rip), %rsi     # 0x61ea4
leaq 0x18(%rsp), %rdi
leaq 0x16(%rsp), %rdx
callq 0xcb10
movq %rbx, %rdi
callq 0xe080
cmpq $0x0, 0x68(%rsp)
setne %cl
orb %cl, %al
movzbl %al, %edx
leaq 0x18(%rsp), %rsi
movq %r14, %rdi
callq 0x14ffa
movq %rax, %r14
leaq 0x4e872(%rip), %rsi     # 0x61996
leaq 0xa8(%rsp), %rdi
leaq 0x15(%rsp), %rdx
callq 0xcb10
xorl %edx, %edx
cmpq $0x0, 0x68(%rsp)
setne %dl
leaq 0xa8(%rsp), %rsi
movq %r14, %rdi
callq 0x14ffa
movq %rax, %r14
leaq 0x4e845(%rip), %rsi     # 0x619a0
leaq 0x88(%rsp), %rdi
leaq 0x14(%rsp), %rdx
callq 0xcb10
leaq 0x88(%rsp), %rsi
leaq 0x60(%rsp), %rdx
movq %r14, %rdi
callq 0x1505c
movq %rax, %r14
leaq 0x4e820(%rip), %rsi     # 0x619ac
leaq 0x1a8(%rsp), %rdi
leaq 0x13(%rsp), %rdx
callq 0xcb10
movq 0x80(%rsp), %rax
subq 0x74a73(%rip), %rax     # 0x87c20
movl $0xe10, %ecx            # imm = 0xE10
cqto
idivq %rcx
leaq 0x1a8(%rsp), %rsi
movq %r14, %rdi
movl %eax, %edx
callq 0x15236
movq %rax, %r14
leaq 0x4e7e6(%rip), %rsi     # 0x619b9
leaq 0x188(%rsp), %rdi
leaq 0x12(%rsp), %rdx
callq 0xcb10
movl 0x58(%rsp), %edx
shll $0x2, %edx
leaq 0x188(%rsp), %rsi
movq %r14, %rdi
callq 0x15236
movq %rax, %r14
leaq 0x4e7c0(%rip), %rsi     # 0x619c6
leaq 0x168(%rsp), %rdi
leaq 0x11(%rsp), %rdx
callq 0xcb10
leaq 0x168(%rsp), %rsi
leaq 0xe8(%rsp), %rdx
movq %r14, %rdi
callq 0x1505c
movq %rax, %r14
leaq 0x4e798(%rip), %rsi     # 0x619d2
leaq 0x148(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0xcb10
leaq 0x148(%rsp), %rsi
leaq 0xc8(%rsp), %rdx
movq %r14, %rdi
callq 0x1505c
movq %rax, %r14
leaq 0x4e770(%rip), %rsi     # 0x619de
leaq 0x128(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0xcb10
leaq 0x748e9(%rip), %rdi     # 0x87b70
callq 0x1008c
leaq 0x108(%rsp), %rdi
movq %rax, %rsi
callq 0x15296
leaq 0x128(%rsp), %rsi
leaq 0x108(%rsp), %rdx
movq %r14, %rdi
callq 0x1505c
movq %rax, %rdi
movq %rbx, %rsi
callq 0x151b6
movq %rax, %rdi
callq 0x15224
leaq 0x108(%rsp), %rdi
callq 0xcd88
leaq 0x128(%rsp), %rdi
callq 0xcd88
leaq 0x148(%rsp), %rdi
callq 0xcd88
leaq 0x168(%rsp), %rdi
callq 0xcd88
leaq 0x188(%rsp), %rdi
callq 0xcd88
leaq 0x1a8(%rsp), %rdi
callq 0xcd88
leaq 0x88(%rsp), %rdi
callq 0xcd88
leaq 0xa8(%rsp), %rdi
callq 0xcd88
leaq 0x18(%rsp), %rdi
callq 0xcd88
leaq 0x38(%rsp), %rdi
callq 0xcd88
leaq 0x4e6a3(%rip), %rsi     # 0x619ed
leaq 0x38(%rsp), %rdi
leaq 0xa8(%rsp), %rdx
callq 0xcb10
leaq 0x749e5(%rip), %rdi     # 0x87d48
leaq 0x38(%rsp), %rsi
callq 0x14fb0
movq %rax, %r14
leaq 0x4e63d(%rip), %rsi     # 0x619b4
leaq 0x18(%rsp), %rdi
leaq 0x88(%rsp), %rdx
callq 0xcb10
leaq 0x18(%rsp), %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0x15236
movq %rax, %rdi
movq %rbx, %rsi
callq 0x151b6
movq %rax, %rdi
callq 0x15224
leaq 0x18(%rsp), %rdi
callq 0xcd88
leaq 0x38(%rsp), %rdi
callq 0xcd88
leaq 0x60(%rsp), %rdi
callq 0xcd88
leaq 0xc8(%rsp), %rdi
callq 0xcd88
leaq 0xe8(%rsp), %rdi
callq 0xcd88
addq $0x1d0, %rsp            # imm = 0x1D0
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x1350e
jmp 0x133fb
movq %rax, %rbx
jmp 0x1347d
jmp 0x1345b
movq %rax, %rbx
jmp 0x1348f
jmp 0x1340c
movq %rax, %rbx
jmp 0x1349c
jmp 0x13416
movq %rax, %rbx
jmp 0x134a9
jmp 0x13420
movq %rax, %rbx
jmp 0x134b6
jmp 0x1342a
movq %rax, %rbx
jmp 0x134c3
jmp 0x13434
movq %rax, %rbx
jmp 0x134d0
jmp 0x1343e
movq %rax, %rbx
jmp 0x134dd
jmp 0x13500
jmp 0x13453
jmp 0x13453
jmp 0x1345b
jmp 0x13453
movq %rax, %rbx
jmp 0x134f4
movq %rax, %rbx
jmp 0x134fe
jmp 0x1350e
movq %rax, %rbx
jmp 0x1352d
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0xcd88
jmp 0x134f4
movq %rax, %rbx
leaq 0x108(%rsp), %rdi
callq 0xcd88
leaq 0x128(%rsp), %rdi
callq 0xcd88
leaq 0x148(%rsp), %rdi
callq 0xcd88
leaq 0x168(%rsp), %rdi
callq 0xcd88
leaq 0x188(%rsp), %rdi
callq 0xcd88
leaq 0x1a8(%rsp), %rdi
callq 0xcd88
leaq 0x88(%rsp), %rdi
callq 0xcd88
leaq 0xa8(%rsp), %rdi
callq 0xcd88
leaq 0x18(%rsp), %rdi
callq 0xcd88
leaq 0x38(%rsp), %rdi
callq 0xcd88
jmp 0x13516
movq %rax, %rbx
jmp 0x134ea
movq %rax, %rbx
jmp 0x134ea
jmp 0x1350e
jmp 0x13513
movq %rax, %rbx
jmp 0x13520
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0xcd88
leaq 0xc8(%rsp), %rdi
callq 0xcd88
leaq 0xe8(%rsp), %rdi
callq 0xcd88
movq %rbx, %rdi
callq 0xc790