// File: /workspace/github_c_makefile_star2_O2/coyove[P]chann/./src/views/single.cpp
// Function: views::each_thread(mg_connection*, Thread*, char, bool, char const*, char const*)
void each_thread(mg_connection* conn, struct Thread* r, char display_state, bool admin_view, 
        const char* iid,
        const char* uid){
        time_t now = time(NULL);

        string thread_post_time = cc_timestamp_to_time(r->date);
        int diff_day = cc_timestamp_diff_day(now, r->date);

        const char* content = unq_read_string(pDb, r->content);
        string thread_content(content);
        delete [] content;

        if((display_state & SEND_CUT_LONG_COMMENT) && thread_content.size() > 1024) 
            thread_content = thread_content.substr(0, 1024) + templates.invoke("misc").toggle("more_contents").build_destory();
            //+ "<font color='red'><b>&#128065;" + STRING_MORE + "</b></font>";

        HTMLTemplate *ht = templates.invoke_pointer("single_thread");

        map<string, bool> stats;
        map<string, string> vars;

        ConfigManager c;

        stats["reply"]                      = display_state & SEND_IS_REPLY;
        stats["show_reply"]                 = display_state & SEND_SHOW_REPLY_LINK;
        stats["archive"]                    = c.global().get<bool>("archive");
        stats["normal_display"]             = r->state & NORMAL_DISPLAY || admin_view;
        stats["thread_poster_is_admin"]     = (strcmp(r->ssid, "Admin") == 0);
        stats["thread_poster_is_sameone"]   = (strcmp(r->ssid, iid) == 0);
        stats["is_sameone"]                 = (strcmp(r->ssid, uid) == 0);
        stats["sage"]                       = (r->state & SAGE_THREAD && !stats["reply"]);
        stats["lock"]                       = (r->state & LOCKED_THREAD);
        stats["delete"]                     = !(r->state & NORMAL_DISPLAY);
        stats["show_admin"]                 = admin_view;
        if (strlen(r->imgSrc) >= 4){
            string fname(r->imgSrc);
            vars["THREAD_IMAGE"]            = fname;

            if (!cc_valid_image_ext(fname).empty()){
                stats["image_attached"]     = true;
                if(display_state & SEND_CUT_IMAGE){
                    struct stat st;
                    stat(("images/" + fname).c_str(), &st);
                    stats["show_size_only"] = true;
                    vars["THREAD_IMAGE_SIZE"] = to_string((int)(st.st_size / 1024));
                }
                else{
                    stats["show_full_image"] = true;
                    vars["THREAD_THUMB_PREFIX"] = c.global().get("image::thumb_prefix");
                }
            }else{
                stats["file_attached"]      = true;
            }
        }
        if(r->childThread && !(display_state & SEND_CUT_REPLY_COUNT)){
            struct Thread* c = unq_read_thread(pDb, r->childThread);
            const char *first_reply = unq_read_string(pDb, c->content);
            string display_reply = (c->state & NORMAL_DISPLAY) ? string(first_reply) : "";

            stats["show_num_replies"]       = true;
            vars["NUM_REPLIES"]             = to_string(c->childCount);
            vars["FIRST_REPLY"]             = cc_smart_shorten(display_reply);// display_reply.substr(0, display_reply.find_first_of("<")).substr(0,15);

            delete c;
            delete[] first_reply;
        }

        vars["THREAD_POSTER"]               = string(r->ssid);
        vars["THREAD_NO"]                   = to_string(r->threadID);
        vars["THREAD_CONTENT"]              = thread_content;

        // stats["show_title"]					= !stats["reply"] || strcmp(r->author, STRING_UNTITLED) != 0;
        vars["THREAD_TITLE"]                = string(r->author);

        vars["THREAD_IP"]                   = string(r->email);
        vars["THREAD_POST_TIME"]            = thread_post_time;
        vars["THREAD_STATE"]                = to_string(r->state);

        if(diff_day >= 0 && diff_day <= 2){
            stats["show_easy_date"]         = true;
            vars["THREAD_POST_DATE"]        = to_string(diff_day);
        }else{
            char timetmp[64];
            struct tm post_date;
            localtime_r(&(r->date), &post_date);

            strftime(timetmp, 64, "%Y-%m-%d", &post_date);
            vars["THREAD_POST_DATE"]        = string(timetmp);
        }

        map<string, queue<string>> loops; //nothing

        mg_printf_data(conn, "%s", ht->build(vars, stats, loops).c_str());

        // if(content) delete [] content;
        delete ht;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2c8, %rsp            # imm = 0x2C8
movq %r9, %rbx
movq %r8, %r15
movl %ecx, 0x104(%rsp)
movl %edx, %r12d
movq %rsi, %r14
movq %rdi, 0x198(%rsp)
xorl %edi, %edi
callq 0xc850
movq %rax, %r13
movq 0xa0(%r14), %rsi
leaq 0x200(%rsp), %rdi
callq 0xea93
movq 0xa0(%r14), %rsi
movq %r13, %rdi
callq 0xeaf1
movl %eax, 0x13c(%rsp)
leaq 0x6929d(%rip), %rax     # 0x87c18
movq (%rax), %rdi
leaq 0x1(%r14), %rsi
callq 0xdd4d
movq %rax, %r13
leaq 0x1a0(%rsp), %rdi
leaq 0x220(%rsp), %rdx
movq %rax, %rsi
callq 0xcb10
testq %r13, %r13
je 0x1e9af
movq %r13, %rdi
callq 0xc400
testb $0x4, %r12b
je 0x1eab9
cmpq $0x401, 0x1a8(%rsp) # imm = 0x401
jb 0x1eab9
leaq 0x70(%rsp), %rdi
leaq 0x1a0(%rsp), %rsi
movl $0x400, %ecx            # imm = 0x400
xorl %edx, %edx
callq 0xcb30
leaq 0x44eaf(%rip), %rsi     # 0x6389a
leaq 0x108(%rsp), %rdi
leaq 0x1c0(%rsp), %rdx
callq 0xcb10
leaq 0x69341(%rip), %rdi     # 0x87d48
leaq 0x108(%rsp), %rsi
callq 0x14fb0
movq %rax, %r13
leaq 0x4343c(%rip), %rsi     # 0x61e5a
leaq 0x160(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0xcb10
leaq 0x1c8(%r13), %rdi
leaq 0x160(%rsp), %rsi
callq 0x189cc
movb $0x1, (%rax)
leaq 0x10(%rsp), %rdi
movq %r13, %rsi
callq 0x1501c
leaq 0x220(%rsp), %rdi
leaq 0x70(%rsp), %rsi
leaq 0x10(%rsp), %rdx
callq 0x1020c
leaq 0x1a0(%rsp), %rdi
leaq 0x220(%rsp), %r13
movq %r13, %rsi
callq 0xc5f0
movq %r13, %rdi
callq 0xcd88
leaq 0x10(%rsp), %rdi
callq 0xcd88
leaq 0x160(%rsp), %rdi
callq 0xcd88
leaq 0x108(%rsp), %rdi
callq 0xcd88
leaq 0x70(%rsp), %rdi
callq 0xcd88
leaq 0x433a8(%rip), %rsi     # 0x61e68
leaq 0x220(%rsp), %rdi
leaq 0x70(%rsp), %rdx
callq 0xcb10
leaq 0x6926f(%rip), %rdi     # 0x87d48
leaq 0x220(%rsp), %rsi
callq 0x1fa38
movq %rax, 0x190(%rsp)
leaq 0x220(%rsp), %rdi
callq 0xcd88
leaq 0x110(%rsp), %rax
andl $0x0, (%rax)
andq $0x0, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
andq $0x0, 0x20(%rax)
leaq 0x168(%rsp), %rax
andl $0x0, (%rax)
andq $0x0, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
andq $0x0, 0x20(%rax)
leaq 0x250(%rsp), %rax
movq %rax, -0x30(%rax)
pushq $0x1
popq %rcx
movq %rcx, -0x28(%rax)
xorps %xmm0, %xmm0
movups %xmm0, -0x20(%rax)
movl $0x3f800000, %edx       # imm = 0x3F800000
movl %edx, -0x10(%rax)
movups %xmm0, -0x8(%rax)
leaq 0x288(%rsp), %rax
movq %rax, -0x30(%rax)
movq %rcx, -0x28(%rax)
movups %xmm0, -0x20(%rax)
movl %edx, -0x10(%rax)
movups %xmm0, -0x8(%rax)
leaq 0x2c0(%rsp), %rax
movq %rax, -0x30(%rax)
movq %rcx, -0x28(%rax)
movups %xmm0, -0x20(%rax)
movl %edx, -0x10(%rax)
movups %xmm0, -0x8(%rax)
leaq 0x432e3(%rip), %rsi     # 0x61e7b
leaq 0x70(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0xcb10
leaq 0x108(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x1914c
movl %r12d, %ecx
andb $0x1, %cl
movb %cl, (%rax)
leaq 0x70(%rsp), %rdi
callq 0xcd88
leaq 0x432a4(%rip), %rsi     # 0x61e76
leaq 0x70(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0xcb10
leaq 0x108(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x1914c
movl %r12d, %ecx
shrb %cl
andb $0x1, %cl
movb %cl, (%rax)
leaq 0x70(%rsp), %rdi
callq 0xcd88
leaq 0x220(%rsp), %rdi
callq 0x1008c
movq %rax, %r13
leaq 0x48a4a(%rip), %rsi     # 0x67668
leaq 0x70(%rsp), %rdi
leaq 0x1c0(%rsp), %rdx
callq 0xcb10
leaq 0x70(%rsp), %rsi
movq %r13, %rdi
callq 0x14efa
movl %eax, %r13d
leaq 0x48a21(%rip), %rsi     # 0x67668
leaq 0x10(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0xcb10
leaq 0x108(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x1914c
movb %r13b, (%rax)
leaq 0x10(%rsp), %rdi
callq 0xcd88
leaq 0x70(%rsp), %rdi
callq 0xcd88
movb (%r14), %bpl
orb 0x104(%rsp), %bpl
leaq 0x431f0(%rip), %rsi     # 0x61e81
leaq 0x70(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0xcb10
leaq 0x108(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x1914c
andb $0x1, %bpl
movb %bpl, (%rax)
leaq 0x70(%rsp), %rdi
callq 0xcd88
leaq 0x91(%r14), %r13
leaq 0x431bf(%rip), %rsi     # 0x61e90
movq %r13, %rdi
callq 0xc970
movl %eax, %ebp
leaq 0x431b4(%rip), %rsi     # 0x61e96
leaq 0x70(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0xcb10
leaq 0x108(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x1914c
testl %ebp, %ebp
sete (%rax)
leaq 0x70(%rsp), %rdi
callq 0xcd88
movq %r13, %rdi
movq %r15, %rsi
callq 0xc970
movl %eax, %ebp
leaq 0x43187(%rip), %rsi     # 0x61ead
leaq 0x70(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0xcb10
leaq 0x108(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x1914c
testl %ebp, %ebp
sete (%rax)
leaq 0x70(%rsp), %rdi
callq 0xcd88
movq %r13, %rdi
movq %rbx, %rsi
callq 0xc970
movl %eax, %ebp
leaq 0x43151(%rip), %rsi     # 0x61ebb
leaq 0x70(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0xcb10
leaq 0x108(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x1914c
testl %ebp, %ebp
sete (%rax)
leaq 0x70(%rsp), %rdi
callq 0xcd88
movb (%r14), %bpl
testb $0x10, %bpl
jne 0x1eda8
xorl %r15d, %r15d
jmp 0x1eddd
leaq 0x430cc(%rip), %rsi     # 0x61e7b
leaq 0x1c0(%rsp), %rdi
leaq 0x6f(%rsp), %rdx
callq 0xcb10
leaq 0x108(%rsp), %rdi
leaq 0x1c0(%rsp), %rsi
callq 0x1914c
movb (%rax), %r15b
xorb $0x1, %r15b
leaq 0x43548(%rip), %rsi     # 0x6232c
leaq 0x70(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0xcb10
leaq 0x108(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x1914c
movb %r15b, (%rax)
leaq 0x70(%rsp), %rdi
callq 0xcd88
testb $0x10, %bpl
je 0x1ee25
leaq 0x1c0(%rsp), %rdi
callq 0xcd88
movb (%r14), %bpl
leaq 0x44cca(%rip), %rsi     # 0x63af9
leaq 0x70(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0xcb10
leaq 0x108(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x1914c
shrb $0x7, %bpl
movb %bpl, (%rax)
leaq 0x70(%rsp), %rdi
callq 0xcd88
movb (%r14), %bpl
leaq 0x45088(%rip), %rsi     # 0x63ef3
leaq 0x70(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0xcb10
leaq 0x108(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x1914c
andb $0x1, %bpl
xorb $0x1, %bpl
movb %bpl, (%rax)
leaq 0x70(%rsp), %rdi
callq 0xcd88
leaq 0x4301e(%rip), %rsi     # 0x61ec6
leaq 0x70(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0xcb10
leaq 0x108(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x1914c
movl 0x104(%rsp), %ecx
movb %cl, (%rax)
leaq 0x70(%rsp), %rdi
callq 0xcd88
leaq 0xa8(%r14), %rbx
movq %rbx, %rdi
callq 0xc470
cmpq $0x4, %rax
jb 0x1f192
leaq 0x10(%rsp), %rdi
leaq 0x70(%rsp), %rdx
movq %rbx, %rsi
callq 0xcb10
leaq 0x42fc3(%rip), %rsi     # 0x61ed1
leaq 0x70(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0xcb10
leaq 0x160(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x1924e
leaq 0x10(%rsp), %rsi
movq %rax, %rdi
callq 0xcc70
leaq 0x70(%rsp), %rdi
callq 0xcd88
leaq 0x1e0(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0xc640
leaq 0x70(%rsp), %rdi
leaq 0x1e0(%rsp), %rsi
callq 0xe8eb
leaq 0x70(%rsp), %rdi
movq 0x8(%rdi), %rbx
callq 0xcd88
leaq 0x1e0(%rsp), %rdi
callq 0xcd88
testq %rbx, %rbx
je 0x1f07a
leaq 0x42f49(%rip), %rsi     # 0x61ede
leaq 0x70(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0xcb10
leaq 0x108(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x1914c
movb $0x1, (%rax)
leaq 0x70(%rsp), %rdi
callq 0xcd88
testb $0x8, %r12b
jne 0x1f0af
leaq 0x42f3a(%rip), %rsi     # 0x61f0e
leaq 0x70(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0xcb10
leaq 0x108(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x1914c
movb $0x1, (%rax)
leaq 0x70(%rsp), %rdi
callq 0xcd88
leaq 0x220(%rsp), %rdi
callq 0x1008c
movq %rax, %rbx
leaq 0x42f05(%rip), %rsi     # 0x61f1e
leaq 0x70(%rsp), %rdi
leaq 0x140(%rsp), %rdx
callq 0xcb10
leaq 0x70(%rsp), %rsi
movq %rbx, %rdi
callq 0x104e4
movq %rax, %rbx
leaq 0x42ef0(%rip), %rsi     # 0x61f32
leaq 0x48(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0xcb10
leaq 0x160(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x1924e
movq %rax, %rdi
movq %rbx, %rsi
callq 0xcc70
leaq 0x48(%rsp), %rdi
callq 0xcd88
jmp 0x1f0a5
leaq 0x42ec5(%rip), %rsi     # 0x61f46
leaq 0x70(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0xcb10
leaq 0x108(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x1914c
movb $0x1, (%rax)
leaq 0x70(%rsp), %rdi
jmp 0x1f183
leaq 0x423d1(%rip), %rsi     # 0x61487
leaq 0x48(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0x10196
leaq 0x48(%rsp), %rbx
movq (%rbx), %rdi
leaq 0x70(%rsp), %rsi
callq 0xc120
movq %rbx, %rdi
callq 0xcd88
leaq 0x42e07(%rip), %rsi     # 0x61eed
leaq 0x48(%rsp), %rdi
leaq 0x140(%rsp), %rdx
callq 0xcb10
leaq 0x108(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x1914c
movb $0x1, (%rax)
leaq 0x48(%rsp), %rdi
callq 0xcd88
movq 0xa0(%rsp), %rax
movl $0x400, %ecx            # imm = 0x400
cqto
idivq %rcx
leaq 0x48(%rsp), %rdi
movl %eax, %esi
callq 0x10273
leaq 0x42dc0(%rip), %rsi     # 0x61efc
leaq 0x140(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0xcb10
leaq 0x160(%rsp), %rdi
leaq 0x140(%rsp), %rsi
callq 0x1924e
leaq 0x48(%rsp), %rbx
movq %rax, %rdi
movq %rbx, %rsi
callq 0xc5f0
leaq 0x140(%rsp), %rdi
callq 0xcd88
movq %rbx, %rdi
callq 0xcd88
leaq 0x10(%rsp), %rdi
callq 0xcd88
movzbl %r12b, %eax
movl 0xc4(%r14), %esi
testl %esi, %esi
sete %cl
andl $0x10, %eax
shrl $0x4, %eax
orb %cl, %al
jne 0x1f310
leaq 0x68a61(%rip), %r15     # 0x87c18
movq (%r15), %rdi
callq 0xd515
movq %rax, %rbx
movq (%r15), %rdi
leaq 0x1(%rax), %rsi
callq 0xdd4d
movq %rax, %r15
testb $0x1, (%rbx)
jne 0x1f1ee
leaq 0x48475(%rip), %rsi     # 0x67652
leaq 0x70(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0xcb10
jmp 0x1f200
leaq 0x70(%rsp), %rdi
leaq 0x10(%rsp), %rdx
movq %r15, %rsi
callq 0xcb10
leaq 0x42d4d(%rip), %rsi     # 0x61f54
leaq 0x10(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0xcb10
leaq 0x108(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x1914c
movb $0x1, (%rax)
leaq 0x10(%rsp), %rdi
callq 0xcd88
movl 0xcc(%rbx), %esi
leaq 0x10(%rsp), %rdi
callq 0x10273
leaq 0x42d19(%rip), %rsi     # 0x61f65
leaq 0x48(%rsp), %rdi
leaq 0x140(%rsp), %rdx
callq 0xcb10
leaq 0x160(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x1924e
leaq 0x10(%rsp), %r12
movq %rax, %rdi
movq %r12, %rsi
callq 0xc5f0
leaq 0x48(%rsp), %rdi
callq 0xcd88
movq %r12, %rdi
callq 0xcd88
leaq 0x10(%rsp), %rdi
leaq 0x70(%rsp), %rsi
pushq $0x24
popq %rdx
callq 0xece4
leaq 0x42cc6(%rip), %rsi     # 0x61f71
leaq 0x48(%rsp), %rdi
leaq 0x140(%rsp), %rdx
callq 0xcb10
leaq 0x160(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x1924e
leaq 0x10(%rsp), %r12
movq %rax, %rdi
movq %r12, %rsi
callq 0xc5f0
leaq 0x48(%rsp), %rdi
callq 0xcd88
movq %r12, %rdi
callq 0xcd88
movq %rbx, %rdi
callq 0xc660
testq %r15, %r15
je 0x1f306
movq %r15, %rdi
callq 0xc400
leaq 0x70(%rsp), %rdi
callq 0xcd88
leaq 0x70(%rsp), %rdi
leaq 0x48(%rsp), %rdx
movq %r13, %rsi
callq 0xcb10
leaq 0x42c54(%rip), %rsi     # 0x61f7d
leaq 0x10(%rsp), %rdi
leaq 0x140(%rsp), %rdx
callq 0xcb10
leaq 0x160(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x1924e
leaq 0x70(%rsp), %rbx
movq %rax, %rdi
movq %rbx, %rsi
callq 0xc5f0
leaq 0x10(%rsp), %rdi
callq 0xcd88
movq %rbx, %rdi
callq 0xcd88
movl 0xb8(%r14), %esi
leaq 0x70(%rsp), %rdi
callq 0x10273
leaq 0x429e9(%rip), %rsi     # 0x61d70
leaq 0x10(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0xcb10
leaq 0x160(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x1924e
leaq 0x70(%rsp), %rbx
movq %rax, %rdi
movq %rbx, %rsi
callq 0xc5f0
leaq 0x10(%rsp), %rdi
callq 0xcd88
movq %rbx, %rdi
callq 0xcd88
leaq 0x42bba(%rip), %rsi     # 0x61f8b
leaq 0x70(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0xcb10
leaq 0x160(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x1924e
leaq 0x1a0(%rsp), %rsi
movq %rax, %rdi
callq 0xcc70
leaq 0x70(%rsp), %rdi
callq 0xcd88
leaq 0x11(%r14), %rsi
leaq 0x70(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0xcb10
leaq 0x42b74(%rip), %rsi     # 0x61f9a
leaq 0x10(%rsp), %rdi
leaq 0x140(%rsp), %rdx
callq 0xcb10
leaq 0x160(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x1924e
leaq 0x70(%rsp), %rbx
movq %rax, %rdi
movq %rbx, %rsi
callq 0xc5f0
leaq 0x10(%rsp), %rdi
callq 0xcd88
movq %rbx, %rdi
callq 0xcd88
leaq 0x51(%r14), %rsi
leaq 0x70(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0xcb10
leaq 0x42b21(%rip), %rsi     # 0x61fa7
leaq 0x10(%rsp), %rdi
leaq 0x140(%rsp), %rdx
callq 0xcb10
leaq 0x160(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x1924e
leaq 0x70(%rsp), %rbx
movq %rax, %rdi
movq %rbx, %rsi
callq 0xc5f0
leaq 0x10(%rsp), %rdi
callq 0xcd88
movq %rbx, %rdi
callq 0xcd88
leaq 0x42ade(%rip), %rsi     # 0x61fb1
leaq 0x70(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0xcb10
leaq 0x160(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x1924e
leaq 0x200(%rsp), %rsi
movq %rax, %rdi
callq 0xcc70
leaq 0x70(%rsp), %rdi
callq 0xcd88
movsbl (%r14), %esi
leaq 0x70(%rsp), %rdi
callq 0x10273
leaq 0x42a9f(%rip), %rsi     # 0x61fc2
leaq 0x10(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0xcb10
leaq 0x160(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x1924e
leaq 0x70(%rsp), %rbx
movq %rax, %rdi
movq %rbx, %rsi
callq 0xc5f0
leaq 0x10(%rsp), %rdi
callq 0xcd88
movq %rbx, %rdi
callq 0xcd88
movl 0x13c(%rsp), %ebx
cmpl $0x2, %ebx
ja 0x1f5f9
leaq 0x42a52(%rip), %rsi     # 0x61fcf
leaq 0x70(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0xcb10
leaq 0x108(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x1914c
movb $0x1, (%rax)
leaq 0x70(%rsp), %rdi
callq 0xcd88
leaq 0x70(%rsp), %rdi
movl %ebx, %esi
callq 0x10273
leaq 0x42a20(%rip), %rsi     # 0x61fde
leaq 0x10(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0xcb10
leaq 0x160(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x1924e
leaq 0x70(%rsp), %rbx
movq %rax, %rdi
movq %rbx, %rsi
callq 0xc5f0
leaq 0x10(%rsp), %rdi
jmp 0x1f682
addq $0xa0, %r14
leaq 0x10(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xc200
leaq 0x429d8(%rip), %rdx     # 0x61fef
leaq 0x70(%rsp), %r14
pushq $0x40
popq %rsi
movq %r14, %rdi
movq %rbx, %rcx
callq 0xca00
leaq 0x48(%rsp), %rdi
leaq 0xf(%rsp), %rdx
movq %r14, %rsi
callq 0xcb10
leaq 0x4299b(%rip), %rsi     # 0x61fde
leaq 0x140(%rsp), %rdi
leaq 0x6e(%rsp), %rdx
callq 0xcb10
leaq 0x160(%rsp), %rdi
leaq 0x140(%rsp), %rsi
callq 0x1924e
leaq 0x48(%rsp), %rbx
movq %rax, %rdi
movq %rbx, %rsi
callq 0xc5f0
leaq 0x140(%rsp), %rdi
callq 0xcd88
movq %rbx, %rdi
callq 0xcd88
leaq 0x78(%rsp), %rax
andl $0x0, (%rax)
andq $0x0, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
andq $0x0, 0x20(%rax)
leaq 0x10(%rsp), %rdi
leaq 0x160(%rsp), %rdx
leaq 0x108(%rsp), %rcx
leaq 0x70(%rsp), %r8
movq 0x190(%rsp), %rbx
movq %rbx, %rsi
callq 0x18d90
movq 0x10(%rsp), %rdx
leaq 0x46c50(%rip), %rsi     # 0x6632f
movq 0x198(%rsp), %rdi
xorl %eax, %eax
callq 0x59649
leaq 0x10(%rsp), %rdi
callq 0xcd88
movq %rbx, %rdi
callq 0x16312
movq %rbx, %rdi
callq 0xc660
leaq 0x70(%rsp), %rdi
callq 0x163b4
leaq 0x220(%rsp), %rdi
callq 0x10136
leaq 0x160(%rsp), %rdi
callq 0x161aa
leaq 0x108(%rsp), %rdi
callq 0x1654a
leaq 0x1a0(%rsp), %rdi
callq 0xcd88
leaq 0x200(%rsp), %rdi
callq 0xcd88
addq $0x2c8, %rsp            # imm = 0x2C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x140(%rsp), %rdi
callq 0xcd88
jmp 0x1f78b
jmp 0x1f788
jmp 0x1f919
jmp 0x1f869
jmp 0x1f919
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
jmp 0x1f921
jmp 0x1f869
jmp 0x1f869
jmp 0x1f919
jmp 0x1f869
jmp 0x1f869
jmp 0x1f919
jmp 0x1f869
jmp 0x1f996
jmp 0x1f996
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0xcd88
jmp 0x1f91c
jmp 0x1f919
jmp 0x1f869
jmp 0x1f97b
jmp 0x1f9e1
movq %rax, %rbx
leaq 0x140(%rsp), %rdi
callq 0xcd88
jmp 0x1f802
jmp 0x1f996
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
jmp 0x1f9e9
jmp 0x1f9e1
jmp 0x1f996
jmp 0x1f996
jmp 0x1f827
jmp 0x1f97b
jmp 0x1f9e1
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0xcd88
jmp 0x1f97e
jmp 0x1f97b
jmp 0x1f9e1
jmp 0x1f97b
jmp 0x1f9e1
jmp 0x1f996
jmp 0x1f996
movq %rax, %rbx
leaq 0x1e0(%rsp), %rdi
jmp 0x1f921
jmp 0x1f869
movq %rax, %rbx
jmp 0x1f926
jmp 0x1f996
movq %rax, %rbx
jmp 0x1f961
jmp 0x1f996
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xcd88
jmp 0x1f99e
jmp 0x1f897
movq %rax, %rbx
jmp 0x1f9ab
movq %rax, %rbx
jmp 0x1f9b8
jmp 0x1f9d1
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xcd88
jmp 0x1f8be
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x163b4
jmp 0x1f9ee
jmp 0x1f97b
jmp 0x1f9e1
jmp 0x1f996
jmp 0x1f996
jmp 0x1f97b
jmp 0x1f9e1
jmp 0x1f996
jmp 0x1f97b
jmp 0x1f9e1
jmp 0x1f996
jmp 0x1f996
jmp 0x1f97b
jmp 0x1f9e1
jmp 0x1f996
jmp 0x1f97b
jmp 0x1f9e1
jmp 0x1f996
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0xcd88
leaq 0x10(%rsp), %rdi
jmp 0x1f9e9
jmp 0x1f9e1
jmp 0x1f996
jmp 0x1f9e1
jmp 0x1f996
jmp 0x1f9e1
jmp 0x1f996
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0xcd88
jmp 0x1f957
movq %rax, %rbx
testb $0x10, %bpl
je 0x1f9ee
leaq 0x1c0(%rsp), %rdi
jmp 0x1f9e9
jmp 0x1f9e1
jmp 0x1f996
jmp 0x1f9e1
jmp 0x1f996
jmp 0x1f9e1
jmp 0x1f996
jmp 0x1f9e1
jmp 0x1f996
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xcd88
jmp 0x1f9e4
jmp 0x1f9e1
jmp 0x1f9e1
jmp 0x1f996
jmp 0x1f9e1
jmp 0x1f996
jmp 0x1f9e1
movq %rax, %rbx
jmp 0x1f9ee
movq %rax, %rbx
leaq 0x160(%rsp), %rdi
callq 0xcd88
leaq 0x108(%rsp), %rdi
callq 0xcd88
leaq 0x70(%rsp), %rdi
jmp 0x1f9ca
movq %rax, %rbx
leaq 0x220(%rsp), %rdi
callq 0xcd88
jmp 0x1fa15
movq %rax, %rbx
jmp 0x1fa15
jmp 0x1f9da
jmp 0x1f9da
movq %rax, %rbx
jmp 0x1fa22
jmp 0x1f9e1
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0xcd88
leaq 0x220(%rsp), %rdi
callq 0x10136
leaq 0x160(%rsp), %rdi
callq 0x161aa
leaq 0x108(%rsp), %rdi
callq 0x1654a
leaq 0x1a0(%rsp), %rdi
callq 0xcd88
leaq 0x200(%rsp), %rdi
callq 0xcd88
movq %rbx, %rdi
callq 0xc790
nop