// File: /workspace/github_c_makefile_star2_O3/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 %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
movq %rdi, %rbx
leaq 0xa0(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x61ee4(%rip), %r14     # 0x77672
leaq 0x90(%rsp), %rdi
movq %r14, %rsi
movq %r14, %rdx
callq 0xedf0
leaq 0x80(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x70(%rsp), %rdi
movq %r14, %rsi
movq %r14, %rdx
callq 0xedf0
movq 0x7f504(%rip), %rbp     # 0x94cc8
testq %rbp, %rbp
je 0x1582a
leaq 0x10(%rsp), %r13
movq %rsp, %r14
leaq 0x5c177(%rip), %r15     # 0x7194f
leaq 0x90(%rsp), %r12
movq %r13, (%rsp)
movq 0x8(%rbp), %rsi
movq 0x10(%rbp), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x12380
movq %r14, %rdi
movq %r15, %rsi
callq 0xc790
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %r12, %rdi
callq 0xc830
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x15821
callq 0xc640
movq (%rbp), %rbp
testq %rbp, %rbp
jne 0x157e0
movq 0x7f45f(%rip), %rbp     # 0x94c90
testq %rbp, %rbp
je 0x15894
leaq 0x10(%rsp), %r13
movq %rsp, %r14
leaq 0x5c10a(%rip), %r15     # 0x7194f
leaq 0x70(%rsp), %r12
movq %r13, (%rsp)
movq 0x8(%rbp), %rsi
movq 0x10(%rbp), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x12380
movq %r14, %rdi
movq %r15, %rsi
callq 0xc790
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %r12, %rdi
callq 0xc830
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x1588b
callq 0xc640
movq (%rbp), %rbp
testq %rbp, %rbp
jne 0x1584a
leaq 0x68(%rsp), %rdi
callq 0xc820
movq $0x0, 0x60(%rsp)
leaq 0x5c0c2(%rip), %rdi     # 0x71970
leaq 0x63aa0(%rip), %rsi     # 0x79355
callq 0xcd00
testq %rax, %rax
je 0x158f9
movq %rax, %r14
subq $0x8, %rsp
leaq 0x1b8(%rsp), %rdx
leaq 0x5c0ac(%rip), %rsi     # 0x71981
leaq 0x68(%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
movq %rsp, %rdi
movq %rbx, %rsi
callq 0xefe4
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x5c089(%rip), %rsi     # 0x7199d
leaq 0x5c08d(%rip), %rdx     # 0x719a8
leaq 0x20(%rsp), %rdi
callq 0xedf0
leaq 0x7f3fc(%rip), %rdi     # 0x94d28
leaq 0x20(%rsp), %rsi
callq 0x181be
movq %rax, %r14
leaq 0x50(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x5c05f(%rip), %rsi     # 0x719a9
leaq 0x5c068(%rip), %rdx     # 0x719b9
leaq 0x40(%rsp), %rdi
callq 0xedf0
leaq 0x1c8(%r14), %rdi
leaq 0x40(%rsp), %rsi
callq 0x1c4c8
movb $0x1, (%rax)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x18304
movq %rax, %r14
movq %rax, %rdi
callq 0x19de2
movq %r14, %rdi
callq 0xc640
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x1599c
callq 0xc640
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x159ab
callq 0xc640
leaq 0x20(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x5c000(%rip), %rsi     # 0x719ba
leaq 0x5c004(%rip), %rdx     # 0x719c5
callq 0xedf0
leaq 0x7f35b(%rip), %rdi     # 0x94d28
leaq 0x20(%rsp), %rsi
callq 0x181be
movq %rax, %r14
leaq 0x40(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x5c4bb(%rip), %rsi     # 0x71ea4
leaq 0x5c4bc(%rip), %rdx     # 0x71eac
callq 0xedf0
movq %rbx, %rdi
callq 0xef14
movl %eax, %ebp
movq 0x8(%rsp), %r12
leaq 0x1c8(%r14), %r15
leaq 0x40(%rsp), %rsi
movq %r15, %rdi
callq 0x1c4c8
testq %r12, %r12
setne %cl
orb %cl, %bpl
movb %bpl, (%rax)
leaq 0x180(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x5bf8f(%rip), %rsi     # 0x719c6
leaq 0x5bf91(%rip), %rdx     # 0x719cf
leaq 0x170(%rsp), %rdi
callq 0xedf0
movq 0x8(%rsp), %r12
leaq 0x170(%rsp), %rsi
movq %r15, %rdi
callq 0x1c4c8
testq %r12, %r12
setne (%rax)
leaq 0x120(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x5bf57(%rip), %rsi     # 0x719d0
leaq 0x5bf5b(%rip), %rdx     # 0x719db
leaq 0x110(%rsp), %rdi
callq 0xedf0
leaq 0x198(%r14), %rdi
leaq 0x110(%rsp), %rsi
callq 0x18044
movq %rsp, %rsi
movq %rax, %rdi
callq 0xcc40
leaq 0x100(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x5bf1d(%rip), %rsi     # 0x719dc
leaq 0x5bf22(%rip), %rdx     # 0x719e8
leaq 0xf0(%rsp), %rdi
callq 0xedf0
movq 0x68(%rsp), %rax
subq 0x7f121(%rip), %rax     # 0x94c00
movabsq $0x48d159e26af37c05, %rcx # imm = 0x48D159E26AF37C05
imulq %rcx
movq %rdx, %rax
shrq $0x3f, %rax
shrq $0xa, %rdx
addl %eax, %edx
leaq 0xf0(%rsp), %rsi
movq %r14, %rdi
callq 0x18388
movq %rax, %r14
leaq 0xe0(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x5beca(%rip), %rsi     # 0x719e9
leaq 0x5becf(%rip), %rdx     # 0x719f5
leaq 0xd0(%rsp), %rdi
callq 0xedf0
movl 0x60(%rsp), %edx
shll $0x2, %edx
leaq 0xd0(%rsp), %rsi
movq %r14, %rdi
callq 0x18388
movq %rax, %r14
leaq 0xc0(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x5be96(%rip), %rsi     # 0x719f6
leaq 0x5be9a(%rip), %rdx     # 0x71a01
leaq 0xb0(%rsp), %rdi
callq 0xedf0
leaq 0x198(%r14), %r15
leaq 0xb0(%rsp), %rsi
movq %r15, %rdi
callq 0x18044
leaq 0x90(%rsp), %rsi
movq %rax, %rdi
callq 0xcc40
leaq 0x160(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x5be54(%rip), %rsi     # 0x71a02
leaq 0x5be58(%rip), %rdx     # 0x71a0d
leaq 0x150(%rsp), %rdi
callq 0xedf0
movq %rbp, %r12
leaq 0x150(%rsp), %rsi
movq %r15, %rdi
callq 0x18044
leaq 0x70(%rsp), %rsi
movq %rax, %rdi
callq 0xcc40
leaq 0x140(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x5be19(%rip), %rsi     # 0x71a0e
leaq 0x5be20(%rip), %rdx     # 0x71a1c
leaq 0x130(%rsp), %rdi
callq 0xedf0
leaq 0x7ef40(%rip), %rdi     # 0x94b50
callq 0x11bec
leaq 0x190(%rsp), %rdi
movq %rax, %rsi
callq 0x1848c
leaq 0x130(%rsp), %rsi
movq %r15, %rdi
callq 0x18044
leaq 0x190(%rsp), %rsi
movq %rax, %rdi
callq 0xcc40
movq %r14, %rdi
movq %rbx, %rsi
callq 0x18304
movq %rax, %r14
movq %rax, %rdi
callq 0x19de2
movq %r14, %rdi
callq 0xc640
leaq 0x1a0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x15c79
callq 0xc640
movq 0x130(%rsp), %rdi
cmpq %rbp, %rdi
je 0x15c8b
callq 0xc640
movq 0x150(%rsp), %rdi
cmpq %r13, %rdi
movq %r12, %r14
je 0x15ca0
callq 0xc640
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
leaq 0x30(%rsp), %r15
leaq 0x50(%rsp), %r12
je 0x15cc4
callq 0xc640
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x15cde
callq 0xc640
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x15cf8
callq 0xc640
movq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
je 0x15d12
callq 0xc640
movq 0x170(%rsp), %rdi
cmpq %r14, %rdi
je 0x15d24
callq 0xc640
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x15d33
callq 0xc640
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x15d42
callq 0xc640
leaq 0x20(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x5bccc(%rip), %rsi     # 0x71a1d
leaq 0x5bcd0(%rip), %rdx     # 0x71a28
callq 0xedf0
leaq 0x7efc4(%rip), %rdi     # 0x94d28
leaq 0x20(%rsp), %rsi
callq 0x181be
movq %rax, %r14
leaq 0x40(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x5bc64(%rip), %rsi     # 0x719e4
leaq 0x5bc61(%rip), %rdx     # 0x719e8
callq 0xedf0
leaq 0x40(%rsp), %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0x18388
movq %rax, %rdi
movq %rbx, %rsi
callq 0x18304
movq %rax, %rbx
movq %rax, %rdi
callq 0x19de2
movq %rbx, %rdi
callq 0xc640
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x15dc8
callq 0xc640
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x15dd7
callq 0xc640
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x15dea
callq 0xc640
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x15e01
callq 0xc640
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x15e1b
callq 0xc640
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x16021
jmp 0x15e34
movq %rax, %rbx
jmp 0x15eb2
jmp 0x15e8b
movq %rax, %rbx
jmp 0x15f2d
jmp 0x15eca
jmp 0x15ecf
jmp 0x15e4f
movq %rbp, %r12
movq %rax, %rbx
jmp 0x15f6b
jmp 0x15e5c
movq %rbp, %r12
movq %rax, %rbx
jmp 0x15f85
jmp 0x15ed7
jmp 0x15e6b
movq %rbp, %r12
movq %rax, %rbx
jmp 0x15fb9
jmp 0x15ee2
jmp 0x15e7a
movq %rax, %rbx
jmp 0x15fdf
jmp 0x15e8b
jmp 0x15e86
movq %rax, %rbx
jmp 0x15efc
movq %rax, %rbx
jmp 0x15ff3
jmp 0x16021
movq %rax, %rbx
jmp 0x1605c
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x15eb2
callq 0xc640
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x15ff3
jmp 0x15fee
movq %rax, %rbx
jmp 0x15f3f
movq %rbp, %r12
movq %rax, %rbx
jmp 0x15f51
movq %rbp, %r12
movq %rax, %rbx
jmp 0x15f9f
movq %rax, %rbx
jmp 0x15fcb
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x15efc
callq 0xc640
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x15ff3
jmp 0x15fee
movq %rax, %rbx
leaq 0x1a0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x15f2d
callq 0xc640
movq 0x130(%rsp), %rdi
cmpq %rbp, %rdi
je 0x15f3f
callq 0xc640
movq 0x150(%rsp), %rdi
cmpq %r13, %rdi
je 0x15f51
callq 0xc640
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x15f6b
callq 0xc640
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x15f85
callq 0xc640
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x15f9f
callq 0xc640
movq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
je 0x15fb9
callq 0xc640
movq 0x170(%rsp), %rdi
cmpq %r12, %rdi
je 0x15fcb
callq 0xc640
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x15fdf
callq 0xc640
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x15ff3
callq 0xc640
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16045
jmp 0x16040
jmp 0x16021
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x16045
jmp 0x16040
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x16045
jmp 0x16040
movq %rax, %rbx
jmp 0x16045
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x16045
jmp 0x16040
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x16045
callq 0xc640
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x1605c
callq 0xc640
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x16076
callq 0xc640
movq %rbx, %rdi
callq 0xc760