// File: /workspace/github_c_makefile_star2_O0/coyove[P]chann/./src/views/list/gallery.cpp
// Function: views::gallery::render(mg_connection*)
void render(mg_connection* conn){
            ConfigManager configs;
            int num = cc_extract_uri_num(conn);

            templates.invoke("site_header").var("CURRENT_PAGE", num).toggle("is_admin", is_admin(conn)) \
                .toggle("gallery_page").pipe_to(conn).destory();

            if(!configs.global().get<bool>("archive")) 
                templates.invoke("post_form").toggle("is_admin", is_admin(conn) || !is_assist(conn).empty()) \
                .toggle("post_new_thread").pipe_to(conn).destory();

            clock_t startc = clock();
            int max_page_viewable = configs.global().get<int>("user::viewable_pages");
            int threads_per_page = configs.global().get<int>("user::threads_per_page");

            bool admin_view = is_admin(conn);
            int start_no = 1, end_no = threads_per_page;

            cclong cp = cc_extract_uri_num(conn);
            if(cp <= max_page_viewable || max_page_viewable == 0 || admin_view){
                end_no = cp * threads_per_page;
                start_no = end_no - threads_per_page + 1;
                showGallery(conn, start_no, end_no);
            }
            
            cclong current_page = end_no / threads_per_page;
            queue<string> before, after;
            for (cclong i = 1; i <= (max_page_viewable == 0 || admin_view ? 10000 : max_page_viewable); ++i){
                if (current_page - i < 4 && current_page - i > 0) before.push(to_string(i));
                else if (i - current_page < 4 && i - current_page > 0) after.push(to_string(i));
                else if (i - current_page > 4) break;
            }
            
            templates.invoke("pager").toggle("gallery_page") \
                .var("CURRENT_PAGE", current_page) \
                .var("PREVIOUS_PAGE", current_page > 1 ? (current_page - 1) : 1) \
                .var("NEXT_PAGE", current_page + 1) \
                .loop("before_pages", before).loop("after_pages", after).pipe_to(conn).destory();

            clock_t endc = clock();
            templates.invoke("site_footer").var("TIME", (int)((endc-startc) * 1000 / CLOCKS_PER_SEC)).pipe_to(conn).destory();
        }

// Assembly:
subq $0x728, %rsp            # imm = 0x728
movq %rdi, 0x720(%rsp)
leaq 0x678(%rsp), %rdi
callq 0x14680
movq 0x720(%rsp), %rdi
callq 0x13610
movl %eax, 0x190(%rsp)
jmp 0x45112
movl 0x190(%rsp), %eax
movl %eax, 0x674(%rsp)
leaq 0x63f(%rsp), %rdi
movq %rdi, 0x188(%rsp)
callq 0xdc30
movq 0x188(%rsp), %rdx
leaq 0x7a7f1(%rip), %rsi     # 0xbf935
leaq 0x640(%rsp), %rdi
callq 0xdad0
jmp 0x45153
leaq 0xa9fc6(%rip), %rdi     # 0xef120
leaq 0x640(%rsp), %rsi
callq 0x23b70
movq %rax, 0x180(%rsp)
jmp 0x45171
leaq 0x617(%rsp), %rdi
movq %rdi, 0x178(%rsp)
callq 0xdc30
movq 0x178(%rsp), %rdx
leaq 0x7af0e(%rip), %rsi     # 0xc00a3
leaq 0x618(%rsp), %rdi
callq 0xdad0
jmp 0x451a4
movq 0x180(%rsp), %rdi
movl 0x674(%rsp), %edx
leaq 0x618(%rsp), %rsi
callq 0x24100
movq %rax, 0x170(%rsp)
jmp 0x451ca
leaq 0x5ef(%rsp), %rdi
movq %rdi, 0x168(%rsp)
callq 0xdc30
movq 0x168(%rsp), %rdx
leaq 0x7ac86(%rip), %rsi     # 0xbfe74
leaq 0x5f0(%rsp), %rdi
callq 0xdad0
jmp 0x451fd
movq 0x720(%rsp), %rdi
callq 0x101d0
movb %al, 0x167(%rsp)
jmp 0x45213
movq 0x170(%rsp), %rdi
movb 0x167(%rsp), %al
movzbl %al, %edx
andl $0x1, %edx
leaq 0x5f0(%rsp), %rsi
callq 0x23bf0
movq %rax, 0x158(%rsp)
jmp 0x4523f
leaq 0x5c7(%rsp), %rdi
movq %rdi, 0x150(%rsp)
callq 0xdc30
movq 0x150(%rsp), %rdx
leaq 0x7ae4d(%rip), %rsi     # 0xc00b0
leaq 0x5c8(%rsp), %rdi
callq 0xdad0
jmp 0x45272
movq 0x158(%rsp), %rdi
leaq 0x5c8(%rsp), %rsi
movl $0x1, %edx
callq 0x23bf0
movq %rax, 0x148(%rsp)
jmp 0x45296
movq 0x148(%rsp), %rdi
movq 0x720(%rsp), %rsi
callq 0x24010
movq %rax, 0x140(%rsp)
jmp 0x452b5
movq 0x140(%rsp), %rdi
callq 0x240c0
jmp 0x452c4
leaq 0x5c8(%rsp), %rdi
callq 0xdf50
leaq 0x5c7(%rsp), %rdi
callq 0xdf30
leaq 0x5f0(%rsp), %rdi
callq 0xdf50
leaq 0x5ef(%rsp), %rdi
callq 0xdf30
leaq 0x618(%rsp), %rdi
callq 0xdf50
leaq 0x617(%rsp), %rdi
callq 0xdf30
leaq 0x640(%rsp), %rdi
callq 0xdf50
leaq 0x63f(%rsp), %rdi
callq 0xdf30
leaq 0x678(%rsp), %rdi
callq 0x146c0
movq %rax, 0x138(%rsp)
jmp 0x45343
leaq 0x59f(%rsp), %rdi
movq %rdi, 0x130(%rsp)
callq 0xdc30
movq 0x130(%rsp), %rdx
leaq 0x807fa(%rip), %rsi     # 0xc5b61
leaq 0x5a0(%rsp), %rdi
callq 0xdad0
jmp 0x45376
movq 0x138(%rsp), %rdi
leaq 0x5a0(%rsp), %rsi
callq 0x23990
movb %al, 0x12f(%rsp)
jmp 0x45394
movb 0x12f(%rsp), %al
xorb $-0x1, %al
movb %al, 0x12e(%rsp)
leaq 0x5a0(%rsp), %rdi
callq 0xdf50
leaq 0x59f(%rsp), %rdi
callq 0xdf30
movb 0x12e(%rsp), %al
testb $0x1, %al
jne 0x453ce
jmp 0x45871
leaq 0x577(%rsp), %rdi
movq %rdi, 0x120(%rsp)
callq 0xdc30
movq 0x120(%rsp), %rdx
leaq 0x7a6c1(%rip), %rsi     # 0xbfab3
leaq 0x578(%rsp), %rdi
callq 0xdad0
jmp 0x45401
leaq 0xa9d18(%rip), %rdi     # 0xef120
leaq 0x578(%rsp), %rsi
callq 0x23b70
movq %rax, 0x118(%rsp)
jmp 0x4541f
leaq 0x54f(%rsp), %rdi
movq %rdi, 0x110(%rsp)
callq 0xdc30
movq 0x110(%rsp), %rdx
leaq 0x7aa31(%rip), %rsi     # 0xbfe74
leaq 0x550(%rsp), %rdi
callq 0xdad0
jmp 0x45452
movq 0x720(%rsp), %rdi
movb $0x0, 0x527(%rsp)
callq 0x101d0
movb %al, 0x10f(%rsp)
jmp 0x45470
movb 0x10f(%rsp), %cl
movb $0x1, %al
testb $0x1, %cl
movb %al, 0x10e(%rsp)
jne 0x454bc
jmp 0x45487
movq 0x720(%rsp), %rsi
leaq 0x528(%rsp), %rdi
callq 0x10300
jmp 0x4549e
movb $0x1, 0x527(%rsp)
leaq 0x528(%rsp), %rdi
callq 0xd3f0
xorb $-0x1, %al
movb %al, 0x10e(%rsp)
movq 0x118(%rsp), %rdi
movb 0x10e(%rsp), %al
movzbl %al, %edx
andl $0x1, %edx
leaq 0x550(%rsp), %rsi
callq 0x23bf0
movq %rax, 0x100(%rsp)
jmp 0x454e8
leaq 0x4ff(%rsp), %rdi
movq %rdi, 0xf8(%rsp)
callq 0xdc30
movq 0xf8(%rsp), %rdx
leaq 0x7abb1(%rip), %rsi     # 0xc00bd
leaq 0x500(%rsp), %rdi
callq 0xdad0
jmp 0x4551b
movq 0x100(%rsp), %rdi
leaq 0x500(%rsp), %rsi
movl $0x1, %edx
callq 0x23bf0
movq %rax, 0xf0(%rsp)
jmp 0x4553f
movq 0xf0(%rsp), %rdi
movq 0x720(%rsp), %rsi
callq 0x24010
movq %rax, 0xe8(%rsp)
jmp 0x4555e
movq 0xe8(%rsp), %rdi
callq 0x240c0
jmp 0x4556d
leaq 0x500(%rsp), %rdi
callq 0xdf50
leaq 0x4ff(%rsp), %rdi
callq 0xdf30
testb $0x1, 0x527(%rsp)
jne 0x45593
jmp 0x455a0
leaq 0x528(%rsp), %rdi
callq 0xdf50
leaq 0x550(%rsp), %rdi
callq 0xdf50
leaq 0x54f(%rsp), %rdi
callq 0xdf30
leaq 0x578(%rsp), %rdi
callq 0xdf50
leaq 0x577(%rsp), %rdi
callq 0xdf30
jmp 0x45871
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x464ec
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x45707
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x456fa
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x456ed
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x456e0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x456d3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x456c6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x456b9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
leaq 0x5c8(%rsp), %rdi
callq 0xdf50
leaq 0x5c7(%rsp), %rdi
callq 0xdf30
leaq 0x5f0(%rsp), %rdi
callq 0xdf50
leaq 0x5ef(%rsp), %rdi
callq 0xdf30
leaq 0x618(%rsp), %rdi
callq 0xdf50
leaq 0x617(%rsp), %rdi
callq 0xdf30
leaq 0x640(%rsp), %rdi
callq 0xdf50
leaq 0x63f(%rsp), %rdi
callq 0xdf30
jmp 0x464ec
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x45750
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
leaq 0x5a0(%rsp), %rdi
callq 0xdf50
leaq 0x59f(%rsp), %rdi
callq 0xdf30
jmp 0x464ec
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x4585f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x45852
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x45845
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x45838
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x4581d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x45810
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
leaq 0x500(%rsp), %rdi
callq 0xdf50
leaq 0x4ff(%rsp), %rdi
callq 0xdf30
testb $0x1, 0x527(%rsp)
jne 0x45829
jmp 0x45836
leaq 0x528(%rsp), %rdi
callq 0xdf50
jmp 0x45838
leaq 0x550(%rsp), %rdi
callq 0xdf50
leaq 0x54f(%rsp), %rdi
callq 0xdf30
leaq 0x578(%rsp), %rdi
callq 0xdf50
leaq 0x577(%rsp), %rdi
callq 0xdf30
jmp 0x464ec
callq 0xd070
movq %rax, 0x4f0(%rsp)
leaq 0x678(%rsp), %rdi
callq 0x146c0
movq %rax, 0xe0(%rsp)
jmp 0x45895
leaq 0x4c7(%rsp), %rdi
movq %rdi, 0xd8(%rsp)
callq 0xdc30
movq 0xd8(%rsp), %rdx
leaq 0x7a814(%rip), %rsi     # 0xc00cd
leaq 0x4c8(%rsp), %rdi
callq 0xdad0
jmp 0x458c8
movq 0xe0(%rsp), %rdi
leaq 0x4c8(%rsp), %rsi
callq 0x14720
movl %eax, 0xd4(%rsp)
jmp 0x458e6
leaq 0x4c8(%rsp), %rdi
callq 0xdf50
leaq 0x4c7(%rsp), %rdi
callq 0xdf30
movl 0xd4(%rsp), %eax
movl %eax, 0x4ec(%rsp)
leaq 0x678(%rsp), %rdi
callq 0x146c0
movq %rax, 0xc8(%rsp)
jmp 0x45925
leaq 0x49f(%rsp), %rdi
movq %rdi, 0xc0(%rsp)
callq 0xdc30
movq 0xc0(%rsp), %rdx
leaq 0x7a799(%rip), %rsi     # 0xc00e2
leaq 0x4a0(%rsp), %rdi
callq 0xdad0
jmp 0x45958
movq 0xc8(%rsp), %rdi
leaq 0x4a0(%rsp), %rsi
callq 0x14720
movl %eax, 0xbc(%rsp)
jmp 0x45976
leaq 0x4a0(%rsp), %rdi
callq 0xdf50
leaq 0x49f(%rsp), %rdi
callq 0xdf30
movl 0xbc(%rsp), %eax
movl %eax, 0x4c0(%rsp)
movq 0x720(%rsp), %rdi
callq 0x101d0
movb %al, 0xbb(%rsp)
jmp 0x459b4
movb 0xbb(%rsp), %al
andb $0x1, %al
movb %al, 0x49e(%rsp)
movl $0x1, 0x498(%rsp)
movl 0x4c0(%rsp), %eax
movl %eax, 0x494(%rsp)
movq 0x720(%rsp), %rdi
callq 0x13610
movl %eax, 0xb4(%rsp)
jmp 0x459f3
movl 0xb4(%rsp), %eax
movl %eax, 0x490(%rsp)
movl 0x490(%rsp), %eax
cmpl 0x4ec(%rsp), %eax
jle 0x45a29
cmpl $0x0, 0x4ec(%rsp)
je 0x45a29
testb $0x1, 0x49e(%rsp)
je 0x45b0e
movl 0x490(%rsp), %eax
movl 0x4c0(%rsp), %ecx
imull %ecx, %eax
movl %eax, 0x494(%rsp)
movl 0x494(%rsp), %eax
movl 0x4c0(%rsp), %ecx
subl %ecx, %eax
incl %eax
movl %eax, 0x498(%rsp)
movq 0x720(%rsp), %rdi
movl 0x498(%rsp), %esi
movl 0x494(%rsp), %edx
callq 0x44ea0
jmp 0x45a77
jmp 0x45b0e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x45ab3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
leaq 0x4c8(%rsp), %rdi
callq 0xdf50
leaq 0x4c7(%rsp), %rdi
callq 0xdf30
jmp 0x464ec
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x45afc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
leaq 0x4a0(%rsp), %rdi
callq 0xdf50
leaq 0x49f(%rsp), %rdi
callq 0xdf30
jmp 0x464ec
movl 0x494(%rsp), %eax
movl 0x4c0(%rsp), %ecx
cltd
idivl %ecx
movl %eax, 0x48c(%rsp)
leaq 0x438(%rsp), %rdi
callq 0x34420
jmp 0x45b35
leaq 0x3e8(%rsp), %rdi
callq 0x34420
jmp 0x45b44
movl $0x1, 0x3e4(%rsp)
movl 0x3e4(%rsp), %eax
movl %eax, 0xb0(%rsp)
cmpl $0x0, 0x4ec(%rsp)
je 0x45b71
testb $0x1, 0x49e(%rsp)
je 0x45b7f
movl $0x2710, %eax           # imm = 0x2710
movl %eax, 0xac(%rsp)
jmp 0x45b8d
movl 0x4ec(%rsp), %eax
movl %eax, 0xac(%rsp)
movl 0xb0(%rsp), %eax
movl 0xac(%rsp), %ecx
cmpl %ecx, %eax
jg 0x45d21
movl 0x48c(%rsp), %eax
subl 0x3e4(%rsp), %eax
cmpl $0x4, %eax
jge 0x45c68
movl 0x48c(%rsp), %eax
subl 0x3e4(%rsp), %eax
cmpl $0x0, %eax
jle 0x45c68
movl 0x3e4(%rsp), %esi
leaq 0x3c0(%rsp), %rdi
callq 0x14c00
jmp 0x45be7
leaq 0x438(%rsp), %rdi
leaq 0x3c0(%rsp), %rsi
callq 0x46510
jmp 0x45bfe
leaq 0x3c0(%rsp), %rdi
callq 0xdf50
jmp 0x45d09
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x464df
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x464d2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
leaq 0x3c0(%rsp), %rdi
callq 0xdf50
jmp 0x464d2
movl 0x3e4(%rsp), %eax
subl 0x48c(%rsp), %eax
cmpl $0x4, %eax
jge 0x45cf0
movl 0x3e4(%rsp), %eax
subl 0x48c(%rsp), %eax
cmpl $0x0, %eax
jle 0x45cf0
movl 0x3e4(%rsp), %esi
leaq 0x3a0(%rsp), %rdi
callq 0x14c00
jmp 0x45ca4
leaq 0x3e8(%rsp), %rdi
leaq 0x3a0(%rsp), %rsi
callq 0x46510
jmp 0x45cbb
leaq 0x3a0(%rsp), %rdi
callq 0xdf50
jmp 0x45d07
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
leaq 0x3a0(%rsp), %rdi
callq 0xdf50
jmp 0x464d2
movl 0x3e4(%rsp), %eax
subl 0x48c(%rsp), %eax
cmpl $0x4, %eax
jle 0x45d05
jmp 0x45d21
jmp 0x45d07
jmp 0x45d09
jmp 0x45d0b
movl 0x3e4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3e4(%rsp)
jmp 0x45b4f
leaq 0x37f(%rsp), %rdi
movq %rdi, 0xa0(%rsp)
callq 0xdc30
movq 0xa0(%rsp), %rdx
leaq 0x7a3b4(%rip), %rsi     # 0xc00f9
leaq 0x380(%rsp), %rdi
callq 0xdad0
jmp 0x45d54
leaq 0xa93c5(%rip), %rdi     # 0xef120
leaq 0x380(%rsp), %rsi
callq 0x23b70
movq %rax, 0x98(%rsp)
jmp 0x45d72
leaq 0x357(%rsp), %rdi
movq %rdi, 0x90(%rsp)
callq 0xdc30
movq 0x90(%rsp), %rdx
leaq 0x7a31a(%rip), %rsi     # 0xc00b0
leaq 0x358(%rsp), %rdi
callq 0xdad0
jmp 0x45da5
movq 0x98(%rsp), %rdi
leaq 0x358(%rsp), %rsi
movl $0x1, %edx
callq 0x23bf0
movq %rax, 0x88(%rsp)
jmp 0x45dc9
leaq 0x32f(%rsp), %rdi
movq %rdi, 0x80(%rsp)
callq 0xdc30
movq 0x80(%rsp), %rdx
leaq 0x7a2b6(%rip), %rsi     # 0xc00a3
leaq 0x330(%rsp), %rdi
callq 0xdad0
jmp 0x45dfc
movq 0x88(%rsp), %rdi
movl 0x48c(%rsp), %edx
leaq 0x330(%rsp), %rsi
callq 0x24100
movq %rax, 0x78(%rsp)
jmp 0x45e1f
leaq 0x307(%rsp), %rdi
movq %rdi, 0x70(%rsp)
callq 0xdc30
movq 0x70(%rsp), %rdx
leaq 0x7a2c2(%rip), %rsi     # 0xc00ff
leaq 0x308(%rsp), %rdi
callq 0xdad0
jmp 0x45e4c
cmpl $0x1, 0x48c(%rsp)
jle 0x45e66
movl 0x48c(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x6c(%rsp)
jmp 0x45e71
movl $0x1, %eax
movl %eax, 0x6c(%rsp)
jmp 0x45e71
movq 0x78(%rsp), %rdi
movl 0x6c(%rsp), %edx
leaq 0x308(%rsp), %rsi
callq 0x24100
movq %rax, 0x60(%rsp)
jmp 0x45e8e
leaq 0x2df(%rsp), %rdi
movq %rdi, 0x58(%rsp)
callq 0xdc30
movq 0x58(%rsp), %rdx
leaq 0x7a261(%rip), %rsi     # 0xc010d
leaq 0x2e0(%rsp), %rdi
callq 0xdad0
jmp 0x45ebb
movq 0x60(%rsp), %rdi
movl 0x48c(%rsp), %edx
incl %edx
leaq 0x2e0(%rsp), %rsi
callq 0x24100
movq %rax, 0x50(%rsp)
jmp 0x45edd
leaq 0x2b7(%rsp), %rdi
movq %rdi, 0x48(%rsp)
callq 0xdc30
movq 0x48(%rsp), %rdx
leaq 0x7a21c(%rip), %rsi     # 0xc0117
leaq 0x2b8(%rsp), %rdi
callq 0xdad0
jmp 0x45f0a
leaq 0x260(%rsp), %rdi
leaq 0x438(%rsp), %rsi
callq 0x2e190
jmp 0x45f21
movq 0x50(%rsp), %rdi
leaq 0x2b8(%rsp), %rsi
leaq 0x260(%rsp), %rdx
callq 0x46540
movq %rax, 0x40(%rsp)
jmp 0x45f42
leaq 0x23f(%rsp), %rdi
movq %rdi, 0x38(%rsp)
callq 0xdc30
movq 0x38(%rsp), %rdx
leaq 0x7a1c4(%rip), %rsi     # 0xc0124
leaq 0x240(%rsp), %rdi
callq 0xdad0
jmp 0x45f6f
leaq 0x1e8(%rsp), %rdi
leaq 0x3e8(%rsp), %rsi
callq 0x2e190
jmp 0x45f86
movq 0x40(%rsp), %rdi
leaq 0x240(%rsp), %rsi
leaq 0x1e8(%rsp), %rdx
callq 0x46540
movq %rax, 0x30(%rsp)
jmp 0x45fa7
movq 0x30(%rsp), %rdi
movq 0x720(%rsp), %rsi
callq 0x24010
movq %rax, 0x28(%rsp)
jmp 0x45fc0
movq 0x28(%rsp), %rdi
callq 0x240c0
jmp 0x45fcc
leaq 0x1e8(%rsp), %rdi
callq 0x27350
leaq 0x240(%rsp), %rdi
callq 0xdf50
leaq 0x23f(%rsp), %rdi
callq 0xdf30
leaq 0x260(%rsp), %rdi
callq 0x27350
leaq 0x2b8(%rsp), %rdi
callq 0xdf50
leaq 0x2b7(%rsp), %rdi
callq 0xdf30
leaq 0x2e0(%rsp), %rdi
callq 0xdf50
leaq 0x2df(%rsp), %rdi
callq 0xdf30
leaq 0x308(%rsp), %rdi
callq 0xdf50
leaq 0x307(%rsp), %rdi
callq 0xdf30
leaq 0x330(%rsp), %rdi
callq 0xdf50
leaq 0x32f(%rsp), %rdi
callq 0xdf30
leaq 0x358(%rsp), %rdi
callq 0xdf50
leaq 0x357(%rsp), %rdi
callq 0xdf30
leaq 0x380(%rsp), %rdi
callq 0xdf50
leaq 0x37f(%rsp), %rdi
callq 0xdf30
callq 0xd070
movq %rax, 0x1e0(%rsp)
leaq 0x1bf(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0xdc30
movq 0x20(%rsp), %rdx
leaq 0x798ee(%rip), %rsi     # 0xbf9b5
leaq 0x1c0(%rsp), %rdi
callq 0xdad0
jmp 0x460d6
leaq 0xa9043(%rip), %rdi     # 0xef120
leaq 0x1c0(%rsp), %rsi
callq 0x23b70
movq %rax, 0x18(%rsp)
jmp 0x460f1
leaq 0x197(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0xdc30
movq 0x10(%rsp), %rdx
leaq 0x7986d(%rip), %rsi     # 0xbf97c
leaq 0x198(%rsp), %rdi
callq 0xdad0
jmp 0x4611e
movq 0x18(%rsp), %rdi
movq 0x1e0(%rsp), %rax
movq 0x4f0(%rsp), %rcx
subq %rcx, %rax
imulq $0x3e8, %rax, %rax      # imm = 0x3E8
movabsq $0x431bde82d7b634db, %rcx # imm = 0x431BDE82D7B634DB
imulq %rcx
movq %rdx, %rax
shrq $0x3f, %rax
shrq $0x12, %rdx
addl %eax, %edx
leaq 0x198(%rsp), %rsi
callq 0x24100
movq %rax, 0x8(%rsp)
jmp 0x4616b
movq 0x8(%rsp), %rdi
movq 0x720(%rsp), %rsi
callq 0x24010
movq %rax, (%rsp)
jmp 0x46183
movq (%rsp), %rdi
callq 0x240c0
jmp 0x4618e
leaq 0x198(%rsp), %rdi
callq 0xdf50
leaq 0x197(%rsp), %rdi
callq 0xdf30
leaq 0x1c0(%rsp), %rdi
callq 0xdf50
leaq 0x1bf(%rsp), %rdi
callq 0xdf30
leaq 0x3e8(%rsp), %rdi
callq 0x27350
leaq 0x438(%rsp), %rdi
callq 0x27350
leaq 0x678(%rsp), %rdi
callq 0x14880
addq $0x728, %rsp            # imm = 0x728
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x46436
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x46429
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x4641c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x4640f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x46402
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x463f5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x463e8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x463db
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x463ce
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x463c1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x463b4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x463a7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x4639a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x4638d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x46380
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
leaq 0x1e8(%rsp), %rdi
callq 0x27350
leaq 0x240(%rsp), %rdi
callq 0xdf50
leaq 0x23f(%rsp), %rdi
callq 0xdf30
leaq 0x260(%rsp), %rdi
callq 0x27350
leaq 0x2b8(%rsp), %rdi
callq 0xdf50
leaq 0x2b7(%rsp), %rdi
callq 0xdf30
leaq 0x2e0(%rsp), %rdi
callq 0xdf50
leaq 0x2df(%rsp), %rdi
callq 0xdf30
leaq 0x308(%rsp), %rdi
callq 0xdf50
leaq 0x307(%rsp), %rdi
callq 0xdf30
leaq 0x330(%rsp), %rdi
callq 0xdf50
leaq 0x32f(%rsp), %rdi
callq 0xdf30
leaq 0x358(%rsp), %rdi
callq 0xdf50
leaq 0x357(%rsp), %rdi
callq 0xdf30
leaq 0x380(%rsp), %rdi
callq 0xdf50
leaq 0x37f(%rsp), %rdi
callq 0xdf30
jmp 0x464d2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x464c5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x464b8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
jmp 0x464ab
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x668(%rsp)
movl %eax, 0x664(%rsp)
leaq 0x198(%rsp), %rdi
callq 0xdf50
leaq 0x197(%rsp), %rdi
callq 0xdf30
leaq 0x1c0(%rsp), %rdi
callq 0xdf50
leaq 0x1bf(%rsp), %rdi
callq 0xdf30
leaq 0x3e8(%rsp), %rdi
callq 0x27350
leaq 0x438(%rsp), %rdi
callq 0x27350
leaq 0x678(%rsp), %rdi
callq 0x14880
movq 0x668(%rsp), %rdi
callq 0xd8a0
nopw %cs:(%rax,%rax)