// File: /workspace/github_c_makefile_star2_O1/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 0x63bda(%rip), %r14     # 0x79667
leaq 0x90(%rsp), %rdi
movq %r14, %rsi
movq %r14, %rdx
callq 0xedfa
leaq 0x80(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x70(%rsp), %rdi
movq %r14, %rsi
movq %r14, %rdx
callq 0xedfa
movq 0x81205(%rip), %rbp     # 0x96cc8
testq %rbp, %rbp
je 0x15b29
leaq 0x10(%rsp), %r13
movq %rsp, %r14
leaq 0x5de78(%rip), %r15     # 0x7394f
leaq 0x90(%rsp), %r12
movq %r13, (%rsp)
movq 0x8(%rbp), %rsi
movq 0x10(%rbp), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x12396
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 0x15b20
callq 0xc640
movq (%rbp), %rbp
testq %rbp, %rbp
jne 0x15adf
movq 0x81160(%rip), %rbp     # 0x96c90
testq %rbp, %rbp
je 0x15b93
leaq 0x10(%rsp), %r13
movq %rsp, %r14
leaq 0x5de0b(%rip), %r15     # 0x7394f
leaq 0x70(%rsp), %r12
movq %r13, (%rsp)
movq 0x8(%rbp), %rsi
movq 0x10(%rbp), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x12396
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 0x15b8a
callq 0xc640
movq (%rbp), %rbp
testq %rbp, %rbp
jne 0x15b49
leaq 0x68(%rsp), %rdi
callq 0xc820
movq $0x0, 0x60(%rsp)
leaq 0x5ddc3(%rip), %rdi     # 0x73970
leaq 0x657a1(%rip), %rsi     # 0x7b355
callq 0xcd00
testq %rax, %rax
je 0x15bf8
movq %rax, %r14
subq $0x8, %rsp
leaq 0x1b8(%rsp), %rdx
leaq 0x5ddad(%rip), %rsi     # 0x73981
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 0xefe6
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x5dd8a(%rip), %rsi     # 0x7399d
leaq 0x5dd8e(%rip), %rdx     # 0x739a8
leaq 0x20(%rsp), %rdi
callq 0xedfa
leaq 0x810fd(%rip), %rdi     # 0x96d28
leaq 0x20(%rsp), %rsi
callq 0x1852c
movq %rax, %r14
leaq 0x50(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x5dd60(%rip), %rsi     # 0x739a9
leaq 0x5dd69(%rip), %rdx     # 0x739b9
leaq 0x40(%rsp), %rdi
callq 0xedfa
leaq 0x1c8(%r14), %rdi
leaq 0x40(%rsp), %rsi
callq 0x1c82a
movb $0x1, (%rax)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x18672
movq %rax, %r14
movq %rax, %rdi
callq 0x1a17a
movq %r14, %rdi
callq 0xc640
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x15c9b
callq 0xc640
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x15caa
callq 0xc640
leaq 0x20(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x5dd01(%rip), %rsi     # 0x739ba
leaq 0x5dd05(%rip), %rdx     # 0x739c5
callq 0xedfa
leaq 0x8105c(%rip), %rdi     # 0x96d28
leaq 0x20(%rsp), %rsi
callq 0x1852c
movq %rax, %r14
leaq 0x40(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x5e1cc(%rip), %rsi     # 0x73eb4
leaq 0x5e1cd(%rip), %rdx     # 0x73ebc
callq 0xedfa
movq %rbx, %rdi
callq 0xef24
movl %eax, %ebp
movq 0x8(%rsp), %r12
leaq 0x1c8(%r14), %r15
leaq 0x40(%rsp), %rsi
movq %r15, %rdi
callq 0x1c82a
testq %r12, %r12
setne %cl
orb %cl, %bpl
movb %bpl, (%rax)
leaq 0x180(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x5dc90(%rip), %rsi     # 0x739c6
leaq 0x5dc92(%rip), %rdx     # 0x739cf
leaq 0x170(%rsp), %rdi
callq 0xedfa
movq 0x8(%rsp), %r12
leaq 0x170(%rsp), %rsi
movq %r15, %rdi
callq 0x1c82a
testq %r12, %r12
setne (%rax)
leaq 0x120(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x5dc58(%rip), %rsi     # 0x739d0
leaq 0x5dc5c(%rip), %rdx     # 0x739db
leaq 0x110(%rsp), %rdi
callq 0xedfa
leaq 0x198(%r14), %rdi
leaq 0x110(%rsp), %rsi
callq 0x183b2
movq %rsp, %rsi
movq %rax, %rdi
callq 0xcc40
leaq 0x100(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x5dc1e(%rip), %rsi     # 0x739dc
leaq 0x5dc23(%rip), %rdx     # 0x739e8
leaq 0xf0(%rsp), %rdi
callq 0xedfa
movq 0x68(%rsp), %rax
subq 0x80e22(%rip), %rax     # 0x96c00
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 0x186f6
movq %rax, %r14
leaq 0xe0(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x5dbcb(%rip), %rsi     # 0x739e9
leaq 0x5dbd0(%rip), %rdx     # 0x739f5
leaq 0xd0(%rsp), %rdi
callq 0xedfa
movl 0x60(%rsp), %edx
shll $0x2, %edx
leaq 0xd0(%rsp), %rsi
movq %r14, %rdi
callq 0x186f6
movq %rax, %r14
leaq 0xc0(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x5db97(%rip), %rsi     # 0x739f6
leaq 0x5db9b(%rip), %rdx     # 0x73a01
leaq 0xb0(%rsp), %rdi
callq 0xedfa
leaq 0x198(%r14), %r15
leaq 0xb0(%rsp), %rsi
movq %r15, %rdi
callq 0x183b2
leaq 0x90(%rsp), %rsi
movq %rax, %rdi
callq 0xcc40
leaq 0x160(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x5db55(%rip), %rsi     # 0x73a02
leaq 0x5db59(%rip), %rdx     # 0x73a0d
leaq 0x150(%rsp), %rdi
callq 0xedfa
movq %rbp, %r12
leaq 0x150(%rsp), %rsi
movq %r15, %rdi
callq 0x183b2
leaq 0x70(%rsp), %rsi
movq %rax, %rdi
callq 0xcc40
leaq 0x140(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x5db1a(%rip), %rsi     # 0x73a0e
leaq 0x5db21(%rip), %rdx     # 0x73a1c
leaq 0x130(%rsp), %rdi
callq 0xedfa
leaq 0x80c41(%rip), %rdi     # 0x96b50
callq 0x11bfe
leaq 0x190(%rsp), %rdi
movq %rax, %rsi
callq 0x187fa
leaq 0x130(%rsp), %rsi
movq %r15, %rdi
callq 0x183b2
leaq 0x190(%rsp), %rsi
movq %rax, %rdi
callq 0xcc40
movq %r14, %rdi
movq %rbx, %rsi
callq 0x18672
movq %rax, %r14
movq %rax, %rdi
callq 0x1a17a
movq %r14, %rdi
callq 0xc640
leaq 0x1a0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x15f78
callq 0xc640
movq 0x130(%rsp), %rdi
cmpq %rbp, %rdi
je 0x15f8a
callq 0xc640
movq 0x150(%rsp), %rdi
cmpq %r13, %rdi
movq %r12, %r14
je 0x15f9f
callq 0xc640
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
leaq 0x30(%rsp), %r15
leaq 0x50(%rsp), %r12
je 0x15fc3
callq 0xc640
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x15fdd
callq 0xc640
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x15ff7
callq 0xc640
movq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
je 0x16011
callq 0xc640
movq 0x170(%rsp), %rdi
cmpq %r14, %rdi
je 0x16023
callq 0xc640
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x16032
callq 0xc640
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x16041
callq 0xc640
leaq 0x20(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x5d9cd(%rip), %rsi     # 0x73a1d
leaq 0x5d9d1(%rip), %rdx     # 0x73a28
callq 0xedfa
leaq 0x80cc5(%rip), %rdi     # 0x96d28
leaq 0x20(%rsp), %rsi
callq 0x1852c
movq %rax, %r14
leaq 0x40(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x5d965(%rip), %rsi     # 0x739e4
leaq 0x5d962(%rip), %rdx     # 0x739e8
callq 0xedfa
leaq 0x40(%rsp), %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0x186f6
movq %rax, %rdi
movq %rbx, %rsi
callq 0x18672
movq %rax, %rbx
movq %rax, %rdi
callq 0x1a17a
movq %rbx, %rdi
callq 0xc640
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x160c7
callq 0xc640
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x160d6
callq 0xc640
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x160e9
callq 0xc640
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x16100
callq 0xc640
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x1611a
callq 0xc640
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x16320
jmp 0x16133
movq %rax, %rbx
jmp 0x161b1
jmp 0x1618a
movq %rax, %rbx
jmp 0x1622c
jmp 0x161c9
jmp 0x161ce
jmp 0x1614e
movq %rbp, %r12
movq %rax, %rbx
jmp 0x1626a
jmp 0x1615b
movq %rbp, %r12
movq %rax, %rbx
jmp 0x16284
jmp 0x161d6
jmp 0x1616a
movq %rbp, %r12
movq %rax, %rbx
jmp 0x162b8
jmp 0x161e1
jmp 0x16179
movq %rax, %rbx
jmp 0x162de
jmp 0x1618a
jmp 0x16185
movq %rax, %rbx
jmp 0x161fb
movq %rax, %rbx
jmp 0x162f2
jmp 0x16320
movq %rax, %rbx
jmp 0x1635b
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x161b1
callq 0xc640
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x162f2
jmp 0x162ed
movq %rax, %rbx
jmp 0x1623e
movq %rbp, %r12
movq %rax, %rbx
jmp 0x16250
movq %rbp, %r12
movq %rax, %rbx
jmp 0x1629e
movq %rax, %rbx
jmp 0x162ca
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x161fb
callq 0xc640
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x162f2
jmp 0x162ed
movq %rax, %rbx
leaq 0x1a0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1622c
callq 0xc640
movq 0x130(%rsp), %rdi
cmpq %rbp, %rdi
je 0x1623e
callq 0xc640
movq 0x150(%rsp), %rdi
cmpq %r13, %rdi
je 0x16250
callq 0xc640
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x1626a
callq 0xc640
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x16284
callq 0xc640
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x1629e
callq 0xc640
movq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
je 0x162b8
callq 0xc640
movq 0x170(%rsp), %rdi
cmpq %r12, %rdi
je 0x162ca
callq 0xc640
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x162de
callq 0xc640
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x162f2
callq 0xc640
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16344
jmp 0x1633f
jmp 0x16320
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x16344
jmp 0x1633f
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x16344
jmp 0x1633f
movq %rax, %rbx
jmp 0x16344
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x16344
jmp 0x1633f
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x16344
callq 0xc640
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x1635b
callq 0xc640
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x16375
callq 0xc640
movq %rbx, %rdi
callq 0xc760