// File: /workspace/github_c_makefile_star2_O3/samtools[P]htslib/test/hfile.c
// Function: main
int main(void)
{
    static const int size[] = { 1, 13, 403, 999, 30000 };

    char buffer[40000];
    char *original;
    int c, i;
    ssize_t n;
    off_t off;

    reopen("vcf.c", "test/hfile1.tmp");
    while ((c = hgetc(fin)) != EOF) {
        if (hputc(c, fout) == EOF) fail("hputc");
    }
    if (herrno(fin)) { errno = herrno(fin); fail("hgetc"); }

    reopen("test/hfile1.tmp", "test/hfile2.tmp");
    if (hpeek(fin, buffer, 50) < 0) fail("hpeek");
    while ((n = hread(fin, buffer, 17)) > 0) {
        if (hwrite(fout, buffer, n) != n) fail("hwrite");
    }
    if (n < 0) fail("hread");

    reopen("test/hfile2.tmp", "test/hfile3.tmp");
    while ((n = hread(fin, buffer, sizeof buffer)) > 0) {
        if (hwrite(fout, buffer, n) != n) fail("hwrite");
        if (hpeek(fin, buffer, 700) < 0) fail("hpeek");
    }
    if (n < 0) fail("hread");

    reopen("test/hfile3.tmp", "test/hfile4.tmp");
    i = 0;
    off = 0;
    while ((n = hread(fin, buffer, size[i++ % 5])) > 0) {
        off += n;
        buffer[n] = '\0';
        check_offset(fin, off, "pre-peek");
        if (hputs(buffer, fout) == EOF) fail("hputs");
        if ((n = hpeek(fin, buffer, size[(i+3) % 5])) < 0) fail("hpeek");
        check_offset(fin, off, "post-peek");
    }
    if (n < 0) fail("hread");

    reopen("test/hfile4.tmp", "test/hfile5.tmp");
    while (hgets(buffer, 80, fin) != NULL) {
        size_t l = strlen(buffer);
        if (l > 79) fail("hgets read %zu bytes, should be < 80", l);
        if (hwrite(fout, buffer, l) != l) fail("hwrite");
    }
    if (herrno(fin)) fail("hgets");

    reopen("test/hfile5.tmp", "test/hfile6.tmp");
    n = hread(fin, buffer, 200);
    if (n < 0) fail("hread");
    else if (n != 200) fail("hread only got %d", (int)n);
    if (hwrite(fout, buffer, 1000) != 1000) fail("hwrite");
    check_offset(fin, 200, "input/first200");
    check_offset(fout, 1000, "output/first200");

    if (hseek(fin, 800, SEEK_CUR) < 0) fail("hseek/cur");
    check_offset(fin, 1000, "input/seek");
    for (off = 1000; (n = hread(fin, buffer, sizeof buffer)) > 0; off += n)
        if (hwrite(fout, buffer, n) != n) fail("hwrite");
    if (n < 0) fail("hread");
    check_offset(fin, off, "input/eof");
    check_offset(fout, off, "output/eof");

    if (hseek(fin, 200, SEEK_SET) < 0) fail("hseek/set");
    if (hseek(fout, 200, SEEK_SET) < 0) fail("hseek(output)");
    check_offset(fin, 200, "input/backto200");
    check_offset(fout, 200, "output/backto200");
    n = hread(fin, buffer, 800);
    if (n < 0) fail("hread");
    else if (n != 800) fail("hread only got %d", (int)n);
    if (hwrite(fout, buffer, 800) != 800) fail("hwrite");
    check_offset(fin, 1000, "input/wrote800");
    check_offset(fout, 1000, "output/wrote800");

    if (hflush(fout) == EOF) fail("hflush");

    original = slurp("vcf.c");
    for (i = 1; i <= 6; i++) {
        char *text;
        snprintf(buffer, sizeof(buffer), "test/hfile%d.tmp", i);
        text = slurp(buffer);
        if (strcmp(original, text) != 0) {
            fprintf(stderr, "%s differs from vcf.c\n", buffer);
            free(text);
            free(original);
            return EXIT_FAILURE;
        }
        free(text);
    }
    free(original);

    if (hclose(fin) != 0) fail("hclose(input)");
    if (hclose(fout) != 0) fail("hclose(output)");

    fout = hopen("test/hfile_chars.tmp", "w");
    if (fout == NULL) fail("hopen(\"test/hfile_chars.tmp\")");
    for (i = 0; i < 256; i++)
        if (hputc(i, fout) != i) fail("chars: hputc (%d)", i);
    if (hclose(fout) != 0) fail("hclose(test/hfile_chars.tmp)");

    fin = hopen("test/hfile_chars.tmp", "r");
    if (fin == NULL) fail("hopen(\"test/hfile_chars.tmp\") for reading");
    for (i = 0; i < 256; i++)
        if ((c = hgetc(fin)) != i)
            fail("chars: hgetc (%d = 0x%x) returned %d = 0x%x", i, i, c, c);
    if ((c = hgetc(fin)) != EOF) fail("chars: hgetc (EOF) returned %d", c);
    if (hclose(fin) != 0) fail("hclose(test/hfile_chars.tmp) for reading");

    fin = hopen("preload:test/hfile_chars.tmp", "r");
    if (fin == NULL) fail("preloading \"test/hfile_chars.tmp\" for reading");
    for (i = 0; i < 256; i++)
        if ((c = hgetc(fin)) != i)
            fail("preloading chars: hgetc (%d = 0x%x) returned %d = 0x%x", i, i, c, c);
    if ((c = hgetc(fin)) != EOF) fail("preloading chars: hgetc (EOF) returned %d", c);
    if (hclose(fin) != 0) fail("preloading hclose(test/hfile_chars.tmp) for reading");

    char* test_string = strdup("Test string");
    fin = hopen("mem:", "r:", test_string, 12);
    if (fin == NULL) fail("hopen(\"mem:\", \"r:\", ...)");
    if (hread(fin, buffer, 12) != 12)
        fail("hopen('mem:', 'r') failed read");
    if(strcmp(buffer, test_string) != 0)
        fail("hopen('mem:', 'r') missread '%s' != '%s'", buffer, test_string);
    char* internal_buf;
    size_t interval_buf_len;
    if((internal_buf = hfile_mem_get_buffer(fin, &interval_buf_len)) == NULL){
        fail("hopen('mem:', 'r') failed to get internal buffer");
    }
    if (hclose(fin) != 0) fail("hclose mem for reading");

    test_string = strdup("Test string");
    fin = hopen("mem:", "wr:", test_string, 12);
    if (fin == NULL) fail("hopen(\"mem:\", \"w:\", ...)");
    if (hseek(fin, -1, SEEK_END) < 0)
        fail("hopen('mem:', 'wr') failed seek");
    if (hwrite(fin, " extra", 7) != 7)
        fail("hopen('mem:', 'wr') failed write");
    if (hseek(fin, 0, SEEK_SET) < 0)
        fail("hopen('mem:', 'wr') failed seek");
    if (hread(fin, buffer, 18) != 18)
        fail("hopen('mem:', 'wr') failed read");
    if (strcmp(buffer, "Test string extra") != 0)
        fail("hopen('mem:', 'wr') misswrote '%s' != '%s'", buffer, "Test string extra");
    if((internal_buf = hfile_mem_steal_buffer(fin, &interval_buf_len)) == NULL){
        fail("hopen('mem:', 'wr') failed to get internal buffer");
    }
    free(internal_buf);
    if (hclose(fin) != 0) fail("hclose mem for writing");

    fin = hopen("data:,hello, world!%0A", "r");
    if (fin == NULL) fail("hopen(\"data:...\")");
    n = hread(fin, buffer, 300);
    if (n < 0) fail("hread");
    buffer[n] = '\0';
    if (strcmp(buffer, "hello, world!\x0A") != 0) fail("hread result");
    if (hclose(fin) != 0) fail("hclose(\"data:...\")");

    fin = hopen("test/emptyfile", "r");
    if (fin == NULL) fail("hopen(\"test/emptyfile\") for reading");
    if (hread(fin, buffer, 100) != 0) fail("test/emptyfile is non-empty");
    if (hclose(fin) != 0) fail("hclose(\"test/emptyfile\") for reading");

    fin = hopen("data:,", "r");
    if (fin == NULL) fail("hopen(\"data:\") for reading");
    if (hread(fin, buffer, 100) != 0) fail("empty data: URL is non-empty");
    if (hclose(fin) != 0) fail("hclose(\"data:\") for reading");

    fin = hopen("data:;base64,"
// Wikipedia's example quote from Thomas Hobbes' Leviathan
"TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb24sIGJ1dCBieSB0aGlz"
"IHNpbmd1bGFyIHBhc3Npb24gZnJvbSBvdGhlciBhbmltYWxzLCB3aGljaCBpcyBhIGx1c3Qgb2Yg"
"dGhlIG1pbmQsIHRoYXQgYnkgYSBwZXJzZXZlcmFuY2Ugb2YgZGVsaWdodCBpbiB0aGUgY29udGlu"
"dWVkIGFuZCBpbmRlZmF0aWdhYmxlIGdlbmVyYXRpb24gb2Yga25vd2xlZGdlLCBleGNlZWRzIHRo"
"ZSBzaG9ydCB2ZWhlbWVuY2Ugb2YgYW55IGNhcm5hbCBwbGVhc3VyZS4=", "r");
    if (fin == NULL) fail("hopen(\"data:;base64,...\")");
    n = hread(fin, buffer, 300);
    if (n < 0) fail("hread for base64");
    buffer[n] = '\0';
    if (strcmp(buffer, "Man is distinguished, not only by his reason, but by "
"this singular passion from other animals, which is a lust of the mind, that "
"by a perseverance of delight in the continued and indefatigable generation "
"of knowledge, exceeds the short vehemence of any carnal pleasure.") != 0)
        fail("hread result for base64");
    if (hclose(fin) != 0) fail("hclose(\"data:;base64,...\")");

    kstring_t kstr = { 0, 0, NULL };

    if (strcmp(haddextension(&kstr, "foo/bar.bam", 0, ".bai"),
               "foo/bar.bam.bai") != 0) fail("haddextension foo/bar.bam[.bai]");
    if (strcmp(haddextension(&kstr, "foo/bar.bam", 1, ".bai"),
               "foo/bar.bai") != 0) fail("haddextension foo/bar[.bai]");
    if (strcmp(haddextension(&kstr, "foo.bar/baz", 1, ".bai"),
               "foo.bar/baz.bai") != 0) fail("haddextension foo.bar/baz[.bai]");
    if (strcmp(haddextension(&kstr, "foo#bar.bam", 0, ".bai"),
               "foo#bar.bam.bai") != 0) fail("haddextension foo#bar.bam[.bai]");
    if (strcmp(haddextension(&kstr, ".bam", 1, ".bai"),
               ".bai") != 0) fail("haddextension [.bai]");
    if (strcmp(haddextension(&kstr, "foo", 1, ".csi"),
               "foo.csi") != 0) fail("haddextension foo[.csi]");

    if (strcmp(haddextension(&kstr, "http://host/bar.cram?a&b&c", 0, ".crai"),
               "http://host/bar.cram.crai?a&b&c") != 0)
        fail("haddextension http://host/bar.cram[.crai]?a&b&c");

    if (strcmp(haddextension(&kstr, "http://host/bar.cram#frag", 1, ".crai"),
               "http://host/bar.crai#frag") != 0)
        fail("haddextension http://host/bar[.crai]#frag");

    free(ks_release(&kstr));

    return EXIT_SUCCESS;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x9c88, %rsp           # imm = 0x9C88
leaq 0x8a063(%rip), %rdi     # 0x900c6
leaq 0x8a062(%rip), %rsi     # 0x900cc
callq 0x5fa1
movq 0xac492(%rip), %rdi     # 0xb2508
movq 0x8(%rdi), %rax
cmpq %rax, 0x10(%rdi)
jbe 0x608d
leaq 0x1(%rax), %rcx
movq %rcx, 0x8(%rdi)
movzbl (%rax), %eax
jmp 0x6097
callq 0x7873
cmpl $-0x1, %eax
je 0x60cc
movq 0xac472(%rip), %rsi     # 0xb2510
movq 0x8(%rsi), %rcx
cmpq 0x18(%rsi), %rcx
jae 0x60b4
leaq 0x1(%rcx), %rdx
movq %rdx, 0x8(%rsi)
movb %al, (%rcx)
jmp 0x60bb
movl %eax, %edi
callq 0x7ca3
cmpl $-0x1, %eax
jne 0x606f
leaq 0x8a015(%rip), %rdi     # 0x900dc
jmp 0x65ba
movq 0xac435(%rip), %rax     # 0xb2508
movl 0x34(%rax), %ebx
testl %ebx, %ebx
jne 0x7427
leaq 0x89fe7(%rip), %rdi     # 0x900cc
leaq 0x89ffc(%rip), %rsi     # 0x900e8
callq 0x5fa1
movq 0xac410(%rip), %rdi     # 0xb2508
leaq 0x40(%rsp), %rsi
movl $0x32, %edx
callq 0x7a81
testq %rax, %rax
js 0x6322
leaq 0x40(%rsp), %rbx
movq 0xac3ec(%rip), %r15     # 0xb2508
movq 0x8(%r15), %rsi
movq 0x10(%r15), %r12
subq %rsi, %r12
cmpq $0x11, %r12
movl $0x11, %r14d
cmovbq %r12, %r14
movq %rbx, %rdi
movq %r14, %rdx
callq 0x43b0
addq %r14, 0x8(%r15)
cmpq $0x10, %r12
ja 0x6167
testb $0x2, 0x30(%r15)
je 0x6167
movl $0x11, %edx
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rcx
callq 0x7b01
movq %rax, %r14
testq %r14, %r14
jle 0x61fd
movq 0xac399(%rip), %r15     # 0xb2510
testb $0x2, 0x30(%r15)
movq 0x18(%r15), %r12
jne 0x61a7
movq %r12, %rax
subq 0x8(%r15), %rax
cmpq %r14, %rax
jae 0x61a7
addq %r14, %r12
subq (%r15), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x77fc
movq 0x18(%r15), %r12
movq %r12, 0x10(%r15)
movq 0x8(%r15), %rdi
subq %rdi, %r12
cmpq %r14, %r12
ja 0x61b8
cmpq (%r15), %rdi
je 0x61d8
cmpq %r14, %r12
movq %r14, %r13
cmovbq %r12, %r13
movq %rbx, %rsi
movq %r13, %rdx
callq 0x43b0
addq %r13, 0x8(%r15)
cmpq %r14, %r12
jb 0x61db
jmp 0x61ef
xorl %r13d, %r13d
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
movq %r13, %rcx
callq 0x7cd8
movq %rax, %r13
cmpq %r14, %r13
je 0x6115
jmp 0x65b3
js 0x7404
leaq 0x89ede(%rip), %rdi     # 0x900e8
leaq 0x89ef4(%rip), %rsi     # 0x90105
callq 0x5fa1
movl $0x9c40, %ebp           # imm = 0x9C40
leaq 0x40(%rsp), %rbx
movq 0xac2e1(%rip), %r15     # 0xb2508
movq 0x8(%r15), %rsi
movq 0x10(%r15), %r12
subq %rsi, %r12
cmpq %rbp, %r12
movl $0x9c40, %r14d          # imm = 0x9C40
cmovbq %r12, %r14
movq %rbx, %rdi
movq %r14, %rdx
callq 0x43b0
addq %r14, 0x8(%r15)
cmpq $0x9c3f, %r12           # imm = 0x9C3F
ja 0x6274
testb $0x2, 0x30(%r15)
je 0x6274
movl $0x9c40, %edx           # imm = 0x9C40
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rcx
callq 0x7b01
movq %rax, %r14
testq %r14, %r14
jle 0x632e
movq 0xac28c(%rip), %r15     # 0xb2510
testb $0x2, 0x30(%r15)
movq 0x18(%r15), %r12
jne 0x62b4
movq %r12, %rax
subq 0x8(%r15), %rax
cmpq %r14, %rax
jae 0x62b4
addq %r14, %r12
subq (%r15), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x77fc
movq 0x18(%r15), %r12
movq %r12, 0x10(%r15)
movq 0x8(%r15), %rdi
subq %rdi, %r12
cmpq %r14, %r12
ja 0x62c5
cmpq (%r15), %rdi
je 0x62e5
cmpq %r14, %r12
movq %r14, %r13
cmovbq %r12, %r13
movq %rbx, %rsi
movq %r13, %rdx
callq 0x43b0
addq %r13, 0x8(%r15)
cmpq %r14, %r12
jb 0x62e8
jmp 0x62fc
xorl %r13d, %r13d
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
movq %r13, %rcx
callq 0x7cd8
movq %rax, %r13
cmpq %r14, %r13
jne 0x65b3
movq 0xac1fc(%rip), %rdi     # 0xb2508
movl $0x2bc, %edx            # imm = 0x2BC
movq %rbx, %rsi
callq 0x7a81
testq %rax, %rax
jns 0x6220
leaq 0x89dcf(%rip), %rdi     # 0x900f8
jmp 0x65ba
js 0x7404
leaq 0x89dca(%rip), %rdi     # 0x90105
leaq 0x89dd3(%rip), %rsi     # 0x90115
callq 0x5fa1
leaq 0x8a832(%rip), %rax     # 0x90b80
movq %rax, 0x18(%rsp)
movl $0x4, %eax
leaq 0x8a811(%rip), %rcx     # 0x90b70
xorl %esi, %esi
xorl %ebp, %ebp
movq %rax, 0x30(%rsp)
movabsq $-0x3333333333333333, %rdi # imm = 0xCCCCCCCCCCCCCCCD
mulq %rdi
movq %rdx, %r12
movq %rsi, 0x20(%rsp)
movq %rsi, %rax
mulq %rdi
andq $-0x4, %rdx
leaq (%rdx,%rdx,4), %rax
movq %rcx, 0x28(%rsp)
subq %rax, %rcx
movq 0xac16e(%rip), %rbx     # 0xb2508
movslq (%rcx), %r15
movq 0x8(%rbx), %rsi
movq 0x10(%rbx), %r14
subq %rsi, %r14
cmpq %r15, %r14
movq %r15, %r13
cmovbq %r14, %r13
leaq 0x40(%rsp), %rdi
movq %r13, %rdx
callq 0x43b0
addq %r13, 0x8(%rbx)
cmpq %r15, %r14
jae 0x63ce
testb $0x2, 0x30(%rbx)
jne 0x63d5
leaq 0x40(%rsp), %rbx
jmp 0x63ee
movq %rbx, %rdi
leaq 0x40(%rsp), %rbx
movq %rbx, %rsi
movq %r15, %rdx
movq %r13, %rcx
callq 0x7b01
movq %rax, %r13
testq %r13, %r13
jle 0x64db
addq %r13, %rbp
movb $0x0, 0x40(%rsp,%r13)
movq 0xac101(%rip), %rdi     # 0xb2508
movq %rbp, %rsi
leaq 0x89d14(%rip), %rdx     # 0x90125
callq 0x5ea1
movq 0xac0f3(%rip), %r13     # 0xb2510
movq %rbx, %rdi
callq 0x41c0
movq %rax, %rbx
movq 0x8(%r13), %rdi
movq 0x18(%r13), %r14
subq %rdi, %r14
cmpq %rax, %r14
movq %rax, %r15
cmovbq %r14, %r15
leaq 0x40(%rsp), %rsi
movq %r15, %rdx
callq 0x43b0
addq %r15, 0x8(%r13)
cmpq %r14, %rbx
leaq 0x40(%rsp), %r14
jbe 0x6472
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
movq %r13, %rcx
callq 0x7d70
cmpl $-0x1, %eax
je 0x73e8
andq $-0x4, %r12
leaq (%r12,%r12,4), %rax
negq %rax
movq 0xac084(%rip), %rdi     # 0xb2508
movq 0x18(%rsp), %rbx
movslq (%rbx,%rax), %rdx
movq %r14, %rsi
callq 0x7a81
testq %rax, %rax
js 0x6322
movq 0xac063(%rip), %rdi     # 0xb2508
movq %rbp, %rsi
leaq 0x89c85(%rip), %rdx     # 0x90134
callq 0x5ea1
addq $0x4, %rbx
movq %rbx, 0x18(%rsp)
movq 0x30(%rsp), %rax
incq %rax
movq 0x28(%rsp), %rcx
addq $0x4, %rcx
movq 0x20(%rsp), %rsi
incq %rsi
jmp 0x6363
js 0x7404
leaq 0x89c2d(%rip), %rdi     # 0x90115
leaq 0x89c4f(%rip), %rsi     # 0x9013e
callq 0x5fa1
leaq 0x40(%rsp), %rbx
movq 0xac008(%rip), %rdx     # 0xb2508
movq %rbx, %rdi
movl $0x50, %esi
callq 0x7a3d
testq %rax, %rax
je 0x65c1
movq %rbx, %rdi
callq 0x41c0
movq %rax, %r14
cmpq $0x50, %rax
jae 0x73b7
movq 0xabfde(%rip), %r15     # 0xb2510
testb $0x2, 0x30(%r15)
movq 0x18(%r15), %r12
jne 0x6562
movq %r12, %rax
subq 0x8(%r15), %rax
cmpq %r14, %rax
jae 0x6562
addq %r14, %r12
subq (%r15), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x77fc
movq 0x18(%r15), %r12
movq %r12, 0x10(%r15)
movq 0x8(%r15), %rdi
subq %rdi, %r12
cmpq %r14, %r12
ja 0x6573
cmpq (%r15), %rdi
je 0x6593
cmpq %r14, %r12
movq %r14, %r13
cmovbq %r12, %r13
movq %rbx, %rsi
movq %r13, %rdx
callq 0x43b0
addq %r13, 0x8(%r15)
cmpq %r14, %r12
jb 0x6596
jmp 0x65aa
xorl %r13d, %r13d
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
movq %r13, %rcx
callq 0x7cd8
movq %rax, %r13
cmpq %r14, %r13
je 0x64f9
leaq 0x89b44(%rip), %rdi     # 0x900fe
xorl %eax, %eax
callq 0x5dcc
movq 0xabf40(%rip), %rax     # 0xb2508
cmpl $0x0, 0x34(%rax)
jne 0x743a
leaq 0x89b65(%rip), %rdi     # 0x9013e
leaq 0x89b99(%rip), %rsi     # 0x90179
callq 0x5fa1
movq 0xabf1c(%rip), %r14     # 0xb2508
movq 0x8(%r14), %rsi
movq 0x10(%r14), %r15
subq %rsi, %r15
movl $0xc8, %ebx
cmpq %rbx, %r15
cmovbq %r15, %rbx
leaq 0x40(%rsp), %rdi
movq %rbx, %rdx
callq 0x43b0
addq %rbx, 0x8(%r14)
cmpq $0xc7, %r15
ja 0x6645
testb $0x2, 0x30(%r14)
je 0x6645
leaq 0x40(%rsp), %rsi
movl $0xc8, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x7b01
movq %rax, %rbx
testq %rax, %rax
js 0x7404
cmpq $0xc8, %rbx
jne 0x7410
movq 0xabeb7(%rip), %rbx     # 0xb2510
testb $0x2, 0x30(%rbx)
movq 0x18(%rbx), %r14
jne 0x668f
movq %r14, %rax
subq 0x8(%rbx), %rax
cmpq $0x3e7, %rax            # imm = 0x3E7
ja 0x668f
subq (%rbx), %r14
addq $0x3e8, %r14            # imm = 0x3E8
movq %rbx, %rdi
movq %r14, %rsi
callq 0x77fc
movq 0x18(%rbx), %r14
movq %r14, 0x10(%rbx)
movq 0x8(%rbx), %rdi
subq %rdi, %r14
cmpq $0x3e8, %r14            # imm = 0x3E8
ja 0x66a4
cmpq (%rbx), %rdi
je 0x66cd
movl $0x3e8, %r15d           # imm = 0x3E8
cmpq %r15, %r14
cmovbq %r14, %r15
leaq 0x40(%rsp), %rsi
movq %r15, %rdx
callq 0x43b0
addq %r15, 0x8(%rbx)
cmpq $0x3e7, %r14            # imm = 0x3E7
jbe 0x66d0
jmp 0x66e8
xorl %r15d, %r15d
leaq 0x40(%rsp), %rsi
movl $0x3e8, %edx            # imm = 0x3E8
movq %rbx, %rdi
movq %r15, %rcx
callq 0x7cd8
movq %rax, %r15
cmpq $0x3e8, %r15            # imm = 0x3E8
jne 0x65b3
movq 0xabe0c(%rip), %rdi     # 0xb2508
leaq 0x89a98(%rip), %rdx     # 0x9019b
movl $0xc8, %esi
callq 0x5ea1
movq 0xabdfc(%rip), %rdi     # 0xb2510
leaq 0x89a8f(%rip), %rdx     # 0x901aa
movl $0x3e8, %ebx            # imm = 0x3E8
movl $0x3e8, %esi            # imm = 0x3E8
callq 0x5ea1
movq 0xabdd7(%rip), %rdi     # 0xb2508
movl $0x320, %esi            # imm = 0x320
movl $0x1, %edx
callq 0x7d8b
testq %rax, %rax
js 0x7446
movq 0xabdb8(%rip), %rdi     # 0xb2508
leaq 0x89a6d(%rip), %rdx     # 0x901c4
movl $0x3e8, %esi            # imm = 0x3E8
callq 0x5ea1
leaq 0x40(%rsp), %r14
movq 0xabd9b(%rip), %r12     # 0xb2508
movq 0x8(%r12), %rsi
movq 0x10(%r12), %r13
subq %rsi, %r13
movl $0x9c40, %eax           # imm = 0x9C40
cmpq %rax, %r13
movl $0x9c40, %r15d          # imm = 0x9C40
cmovbq %r13, %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x43b0
addq %r15, 0x8(%r12)
cmpq $0x9c3f, %r13           # imm = 0x9C3F
ja 0x67c3
testb $0x2, 0x30(%r12)
je 0x67c3
movl $0x9c40, %edx           # imm = 0x9C40
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rcx
callq 0x7b01
movq %rax, %r15
testq %r15, %r15
jle 0x6864
movq 0xabd3d(%rip), %r12     # 0xb2510
testb $0x2, 0x30(%r12)
movq 0x18(%r12), %r13
jne 0x6809
movq %r13, %rax
subq 0x8(%r12), %rax
cmpq %r15, %rax
jae 0x6809
addq %r15, %r13
subq (%r12), %r13
movq %r12, %rdi
movq %r13, %rsi
callq 0x77fc
movq 0x18(%r12), %r13
movq %r13, 0x10(%r12)
movq 0x8(%r12), %rdi
subq %rdi, %r13
cmpq %r15, %r13
ja 0x681c
cmpq (%r12), %rdi
je 0x683d
cmpq %r15, %r13
movq %r15, %rbp
cmovbq %r13, %rbp
movq %r14, %rsi
movq %rbp, %rdx
callq 0x43b0
addq %rbp, 0x8(%r12)
cmpq %r15, %r13
jb 0x683f
jmp 0x6853
xorl %ebp, %ebp
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbp, %rcx
callq 0x7cd8
movq %rax, %rbp
cmpq %r15, %rbp
jne 0x65b3
addq %r15, %rbx
jmp 0x6766
js 0x7404
movq 0xabc97(%rip), %rdi     # 0xb2508
leaq 0x89957(%rip), %rdx     # 0x901cf
movq %rbx, %rsi
callq 0x5ea1
movq 0xabc89(%rip), %rdi     # 0xb2510
leaq 0x8994b(%rip), %rdx     # 0x901d9
movq %rbx, %rsi
callq 0x5ea1
movq 0xabc6b(%rip), %rdi     # 0xb2508
movl $0xc8, %esi
xorl %edx, %edx
callq 0x7d8b
testq %rax, %rax
js 0x7452
movq 0xabc57(%rip), %rdi     # 0xb2510
movl $0xc8, %esi
xorl %edx, %edx
callq 0x7d8b
testq %rax, %rax
js 0x745e
movq 0xabc33(%rip), %rdi     # 0xb2508
leaq 0x89920(%rip), %rdx     # 0x901fc
movl $0xc8, %esi
callq 0x5ea1
movq 0xabc23(%rip), %rdi     # 0xb2510
leaq 0x89918(%rip), %rdx     # 0x9020c
movl $0xc8, %esi
callq 0x5ea1
movq 0xabc03(%rip), %r14     # 0xb2508
movq 0x8(%r14), %rsi
movq 0x10(%r14), %r15
subq %rsi, %r15
movl $0x320, %ebx            # imm = 0x320
cmpq %rbx, %r15
cmovbq %r15, %rbx
leaq 0x40(%rsp), %rdi
movq %rbx, %rdx
callq 0x43b0
addq %rbx, 0x8(%r14)
cmpq $0x31f, %r15            # imm = 0x31F
ja 0x695e
testb $0x2, 0x30(%r14)
je 0x695e
leaq 0x40(%rsp), %rsi
movl $0x320, %edx            # imm = 0x320
movq %r14, %rdi
movq %rbx, %rcx
callq 0x7b01
movq %rax, %rbx
testq %rax, %rax
js 0x7404
cmpq $0x320, %rbx            # imm = 0x320
jne 0x7410
movq 0xabb9e(%rip), %rbx     # 0xb2510
testb $0x2, 0x30(%rbx)
movq 0x18(%rbx), %r14
jne 0x69a8
movq %r14, %rax
subq 0x8(%rbx), %rax
cmpq $0x31f, %rax            # imm = 0x31F
ja 0x69a8
subq (%rbx), %r14
addq $0x320, %r14            # imm = 0x320
movq %rbx, %rdi
movq %r14, %rsi
callq 0x77fc
movq 0x18(%rbx), %r14
movq %r14, 0x10(%rbx)
movq 0x8(%rbx), %rdi
subq %rdi, %r14
cmpq $0x320, %r14            # imm = 0x320
ja 0x69bd
cmpq (%rbx), %rdi
je 0x69e6
movl $0x320, %r15d           # imm = 0x320
cmpq %r15, %r14
cmovbq %r14, %r15
leaq 0x40(%rsp), %rsi
movq %r15, %rdx
callq 0x43b0
addq %r15, 0x8(%rbx)
cmpq $0x31f, %r14            # imm = 0x31F
jbe 0x69e9
jmp 0x6a01
xorl %r15d, %r15d
leaq 0x40(%rsp), %rsi
movl $0x320, %edx            # imm = 0x320
movq %rbx, %rdi
movq %r15, %rcx
callq 0x7cd8
movq %rax, %r15
cmpq $0x320, %r15            # imm = 0x320
jne 0x65b3
movq 0xabaf3(%rip), %rdi     # 0xb2508
leaq 0x89801(%rip), %rdx     # 0x9021d
movl $0x3e8, %esi            # imm = 0x3E8
callq 0x5ea1
movq 0xabae3(%rip), %rdi     # 0xb2510
leaq 0x897f8(%rip), %rdx     # 0x9022c
movl $0x3e8, %esi            # imm = 0x3E8
callq 0x5ea1
movq 0xabacb(%rip), %rdi     # 0xb2510
callq 0x7c03
cmpl $-0x1, %eax
je 0x746a
leaq 0x8966c(%rip), %rdi     # 0x900c6
callq 0x5eec
movq %rax, %rbx
movl $0x1, %ebp
leaq 0x897d5(%rip), %r14     # 0x90243
leaq 0x40(%rsp), %r15
movl $0x9c40, %esi           # imm = 0x9C40
movq %r15, %rdi
movq %r14, %rdx
movl %ebp, %ecx
xorl %eax, %eax
callq 0x47f0
movq %r15, %rdi
callq 0x5eec
movq %rax, %r12
movq %rbx, %rdi
movq %rax, %rsi
callq 0x46b0
testl %eax, %eax
jne 0x7383
movq %r12, %rdi
callq 0x45b0
incl %ebp
cmpl $0x7, %ebp
jne 0x6a73
movq %rbx, %rdi
callq 0x45b0
movq 0xaba45(%rip), %rdi     # 0xb2508
callq 0x7eb7
testl %eax, %eax
jne 0x7476
movq 0xaba39(%rip), %rdi     # 0xb2510
callq 0x7eb7
testl %eax, %eax
jne 0x7482
leaq 0x897ff(%rip), %rdi     # 0x902ea
leaq 0x8c36f(%rip), %rsi     # 0x92e61
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x881c
movq %rax, 0xaba0e(%rip)     # 0xb2510
testq %rax, %rax
je 0x748e
movq 0xab9fe(%rip), %rsi     # 0xb2510
movq 0x8(%rsi), %rax
cmpq 0x18(%rsi), %rax
jae 0x6b28
leaq 0x1(%rax), %rcx
movq %rcx, 0x8(%rsi)
movb %bl, (%rax)
jmp 0x6b37
movl %ebx, %edi
callq 0x7ca3
cmpl %eax, %ebx
jne 0x73f4
incl %ebx
cmpl $0x100, %ebx            # imm = 0x100
jne 0x6b0b
movq 0xab9c8(%rip), %rdi     # 0xb2510
callq 0x7eb7
testl %eax, %eax
jne 0x749a
leaq 0x8978e(%rip), %rdi     # 0x902ea
leaq 0x8d0d9(%rip), %rsi     # 0x93c3c
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x881c
movq %rax, 0xab995(%rip)     # 0xb2508
testq %rax, %rax
je 0x74a6
movq %rax, %rdi
movq 0x8(%rdi), %rax
cmpq %rax, 0x10(%rdi)
jbe 0x6b96
leaq 0x1(%rax), %rcx
movq %rcx, 0x8(%rdi)
movzbl (%rax), %eax
jmp 0x6ba2
callq 0x7873
movq 0xab966(%rip), %rdi     # 0xb2508
cmpl %eax, %ebx
jne 0x73c8
incl %ebx
cmpl $0x100, %ebx            # imm = 0x100
jne 0x6b7f
movq 0x8(%rdi), %rax
cmpq %rax, 0x10(%rdi)
ja 0x74b2
callq 0x7873
cmpl $-0x1, %eax
jne 0x74bd
movq 0xab931(%rip), %rdi     # 0xb2508
callq 0x7eb7
testl %eax, %eax
jne 0x74c6
leaq 0x896f7(%rip), %rdi     # 0x902e2
leaq 0x8d04a(%rip), %rsi     # 0x93c3c
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x881c
movq %rax, 0xab906(%rip)     # 0xb2508
testq %rax, %rax
je 0x74d2
movq %rax, %rdi
movq 0x8(%rdi), %rax
cmpq %rax, 0x10(%rdi)
jbe 0x6c25
leaq 0x1(%rax), %rcx
movq %rcx, 0x8(%rdi)
movzbl (%rax), %eax
jmp 0x6c31
callq 0x7873
movq 0xab8d7(%rip), %rdi     # 0xb2508
cmpl %eax, %ebx
jne 0x73d1
incl %ebx
cmpl $0x100, %ebx            # imm = 0x100
jne 0x6c0e
movq 0x8(%rdi), %rax
cmpq %rax, 0x10(%rdi)
ja 0x74de
callq 0x7873
cmpl $-0x1, %eax
jne 0x74e9
movq 0xab8a2(%rip), %rdi     # 0xb2508
callq 0x7eb7
testl %eax, %eax
jne 0x74f7
leaq 0x89748(%rip), %rdi     # 0x903c2
callq 0x4900
movq %rax, %rbx
leaq 0x89745(%rip), %rdi     # 0x903ce
leaq 0x897ed(%rip), %rsi     # 0x9047d
movq %rax, %rdx
movl $0xc, %ecx
xorl %eax, %eax
callq 0x881c
movq %rax, 0xab862(%rip)     # 0xb2508
testq %rax, %rax
je 0x7503
movq %rax, %r15
movq 0x8(%rax), %rsi
movq 0x10(%rax), %r12
subq %rsi, %r12
cmpq $0xc, %r12
movl $0xc, %r14d
cmovbq %r12, %r14
leaq 0x40(%rsp), %rdi
movq %r14, %rdx
callq 0x43b0
addq %r14, 0x8(%r15)
cmpq $0xb, %r12
ja 0x6d01
testb $0x2, 0x30(%r15)
je 0x6d01
leaq 0x40(%rsp), %rsi
movl $0xc, %edx
movq %r15, %rdi
movq %r14, %rcx
callq 0x7b01
movq %rax, %r14
cmpq $0xc, %r14
jne 0x750f
leaq 0x40(%rsp), %rdi
movq %rbx, %rsi
callq 0x46b0
testl %eax, %eax
jne 0x751b
movq 0xab7e1(%rip), %rdi     # 0xb2508
leaq 0x38(%rsp), %rsi
callq 0x804d
testq %rax, %rax
je 0x752c
movq 0xab7c7(%rip), %rdi     # 0xb2508
callq 0x7eb7
testl %eax, %eax
jne 0x7538
leaq 0x8966d(%rip), %rdi     # 0x903c2
callq 0x4900
leaq 0x8966d(%rip), %rdi     # 0x903ce
leaq 0x89714(%rip), %rsi     # 0x9047c
movq %rax, %rdx
movl $0xc, %ecx
xorl %eax, %eax
callq 0x881c
movq %rax, 0xab78a(%rip)     # 0xb2508
testq %rax, %rax
je 0x7544
movq %rax, %rdi
movq $-0x1, %rsi
movl $0x2, %edx
callq 0x7d8b
testq %rax, %rax
js 0x741b
movq 0xab75d(%rip), %rbx     # 0xb2508
testb $0x2, 0x30(%rbx)
movq 0x18(%rbx), %r14
jne 0x6ddc
movq %r14, %rax
subq 0x8(%rbx), %rax
cmpq $0x6, %rax
ja 0x6ddc
subq (%rbx), %r14
addq $0x7, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x77fc
movq 0x18(%rbx), %r14
movq %r14, 0x10(%rbx)
movq 0x8(%rbx), %rdi
subq %rdi, %r14
cmpq $0x7, %r14
ja 0x6dee
cmpq (%rbx), %rdi
je 0x6e17
cmpq $0x7, %r14
movl $0x7, %r15d
cmovbq %r14, %r15
leaq 0x89702(%rip), %rsi     # 0x90505
movq %r15, %rdx
callq 0x43b0
addq %r15, 0x8(%rbx)
cmpq $0x6, %r14
jbe 0x6e1a
jmp 0x6e34
xorl %r15d, %r15d
leaq 0x896e4(%rip), %rsi     # 0x90505
movl $0x7, %edx
movq %rbx, %rdi
movq %r15, %rcx
callq 0x7cd8
movq %rax, %r15
cmpq $0x7, %r15
jne 0x7550
movq 0xab6c3(%rip), %rdi     # 0xb2508
xorl %esi, %esi
xorl %edx, %edx
callq 0x7d8b
testq %rax, %rax
js 0x741b
movq 0xab6aa(%rip), %r14     # 0xb2508
movq 0x8(%r14), %rsi
movq 0x10(%r14), %r15
subq %rsi, %r15
cmpq $0x12, %r15
movl $0x12, %ebx
cmovbq %r15, %rbx
leaq 0x40(%rsp), %rdi
movq %rbx, %rdx
callq 0x43b0
addq %rbx, 0x8(%r14)
cmpq $0x11, %r15
ja 0x6eac
testb $0x2, 0x30(%r14)
je 0x6eac
leaq 0x40(%rsp), %rsi
movl $0x12, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x7b01
movq %rax, %rbx
cmpq $0x12, %rbx
jne 0x755c
movdqa 0x40(%rsp), %xmm0
movzwl 0x50(%rsp), %eax
movd %eax, %xmm1
pcmpeqb 0x89143(%rip), %xmm0    # 0x90010
pcmpeqb 0x8914b(%rip), %xmm1    # 0x90020
pand %xmm0, %xmm1
pmovmskb %xmm1, %eax
cmpl $0xffff, %eax           # imm = 0xFFFF
jne 0x7568
movq 0xab619(%rip), %rdi     # 0xb2508
leaq 0x38(%rsp), %rsi
callq 0x8080
testq %rax, %rax
je 0x7582
movq %rax, %rdi
callq 0x45b0
movq 0xab5f7(%rip), %rdi     # 0xb2508
callq 0x7eb7
testl %eax, %eax
jne 0x758e
leaq 0x8965b(%rip), %rdi     # 0x90580
leaq 0x8cd10(%rip), %rsi     # 0x93c3c
xorl %eax, %eax
callq 0x881c
movq %rax, 0xab5ce(%rip)     # 0xb2508
testq %rax, %rax
je 0x759a
movq %rax, %r14
movq 0x8(%rax), %rsi
movq 0x10(%rax), %r15
subq %rsi, %r15
movl $0x12c, %ebx            # imm = 0x12C
cmpq %rbx, %r15
cmovbq %r15, %rbx
leaq 0x40(%rsp), %rdi
movq %rbx, %rdx
callq 0x43b0
addq %rbx, 0x8(%r14)
cmpq $0x12b, %r15            # imm = 0x12B
ja 0x6f9f
testb $0x2, 0x30(%r14)
je 0x6f9f
leaq 0x40(%rsp), %rsi
movl $0x12c, %edx            # imm = 0x12C
movq %r14, %rdi
movq %rbx, %rcx
callq 0x7b01
movq %rax, %rbx
testq %rax, %rax
js 0x7404
movb $0x0, 0x40(%rsp,%rbx)
movabsq $0x77202c6f6c6c6568, %rax # imm = 0x77202C6F6C6C6568
xorq 0x40(%rsp), %rax
movabsq $0xa21646c726f77, %rcx  # imm = 0xA21646C726F77
xorq 0x47(%rsp), %rcx
orq %rax, %rcx
jne 0x75a6
movq 0xab536(%rip), %rdi     # 0xb2508
callq 0x7eb7
testl %eax, %eax
jne 0x75b2
leaq 0x895f2(%rip), %rdi     # 0x905d8
leaq 0x8cc4f(%rip), %rsi     # 0x93c3c
xorl %eax, %eax
callq 0x881c
movq %rax, 0xab50d(%rip)     # 0xb2508
testq %rax, %rax
je 0x75be
movq %rax, %r14
movq 0x8(%rax), %rsi
movq 0x10(%rax), %r15
subq %rsi, %r15
cmpq $0x64, %r15
movl $0x64, %ebx
cmovbq %r15, %rbx
leaq 0x40(%rsp), %rdi
movq %rbx, %rdx
callq 0x43b0
addq %rbx, 0x8(%r14)
cmpq $0x63, %r15
ja 0x7055
testb $0x2, 0x30(%r14)
je 0x7055
leaq 0x40(%rsp), %rsi
movl $0x64, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x7b01
movq %rax, %rbx
testq %rbx, %rbx
jne 0x75ca
movq 0xab4a3(%rip), %rdi     # 0xb2508
callq 0x7eb7
testl %eax, %eax
jne 0x75d6
leaq 0x895d3(%rip), %rdi     # 0x9064c
leaq 0x8cbbc(%rip), %rsi     # 0x93c3c
xorl %eax, %eax
callq 0x881c
movq %rax, 0xab47a(%rip)     # 0xb2508
testq %rax, %rax
je 0x75e2
movq %rax, %r14
movq 0x8(%rax), %rsi
movq 0x10(%rax), %r15
subq %rsi, %r15
cmpq $0x64, %r15
movl $0x64, %ebx
cmovbq %r15, %rbx
leaq 0x40(%rsp), %rdi
movq %rbx, %rdx
callq 0x43b0
addq %rbx, 0x8(%r14)
cmpq $0x63, %r15
ja 0x70e8
testb $0x2, 0x30(%r14)
je 0x70e8
leaq 0x40(%rsp), %rsi
movl $0x64, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x7b01
movq %rax, %rbx
testq %rbx, %rbx
jne 0x75ee
movq 0xab410(%rip), %rdi     # 0xb2508
callq 0x7eb7
testl %eax, %eax
jne 0x75fa
leaq 0x8959b(%rip), %rdi     # 0x906a7
leaq 0x8cb29(%rip), %rsi     # 0x93c3c
xorl %eax, %eax
callq 0x881c
movq %rax, 0xab3e7(%rip)     # 0xb2508
testq %rax, %rax
je 0x7606
movq %rax, %r14
movq 0x8(%rax), %rsi
movq 0x10(%rax), %r15
subq %rsi, %r15
movl $0x12c, %ebx            # imm = 0x12C
cmpq %rbx, %r15
cmovbq %r15, %rbx
leaq 0x40(%rsp), %rdi
movq %rbx, %rdx
callq 0x43b0
addq %rbx, 0x8(%r14)
cmpq $0x12b, %r15            # imm = 0x12B
ja 0x7186
testb $0x2, 0x30(%r14)
je 0x7186
leaq 0x40(%rsp), %rsi
movl $0x12c, %edx            # imm = 0x12C
movq %r14, %rdi
movq %rbx, %rcx
callq 0x7b01
movq %rax, %rbx
testq %rax, %rax
js 0x768a
movb $0x0, 0x40(%rsp,%rbx)
leaq 0x896b6(%rip), %rsi     # 0x90848
leaq 0x40(%rsp), %rdi
movl $0x10e, %edx            # imm = 0x10E
callq 0x44c0
testl %eax, %eax
jne 0x7612
movq 0xab358(%rip), %rdi     # 0xb2508
callq 0x7eb7
testl %eax, %eax
jne 0x761e
pxor %xmm0, %xmm0
movq %rsp, %rdi
movdqa %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
leaq 0x897b2(%rip), %rsi     # 0x90989
leaq 0x89862(%rip), %rcx     # 0x90a40
xorl %edx, %edx
callq 0x8bdd
leaq 0x897a9(%rip), %rsi     # 0x90995
movq %rax, %rdi
callq 0x46b0
testl %eax, %eax
jne 0x762a
leaq 0x89786(%rip), %rsi     # 0x90989
leaq 0x89836(%rip), %rcx     # 0x90a40
movq %rsp, %rdi
movl $0x1, %edx
callq 0x8bdd
leaq 0x897a7(%rip), %rsi     # 0x909c5
movq %rax, %rdi
callq 0x46b0
testl %eax, %eax
jne 0x7636
leaq 0x897b8(%rip), %rsi     # 0x909ed
leaq 0x89804(%rip), %rcx     # 0x90a40
movq %rsp, %rdi
movl $0x1, %edx
callq 0x8bdd
leaq 0x897a9(%rip), %rsi     # 0x909f9
movq %rax, %rdi
callq 0x46b0
testl %eax, %eax
jne 0x7642
leaq 0x897c2(%rip), %rsi     # 0x90a29
leaq 0x897d2(%rip), %rcx     # 0x90a40
movq %rsp, %rdi
xorl %edx, %edx
callq 0x8bdd
leaq 0x897b6(%rip), %rsi     # 0x90a35
movq %rax, %rdi
callq 0x46b0
testl %eax, %eax
jne 0x764e
leaq 0x8979a(%rip), %rsi     # 0x90a30
leaq 0x897a3(%rip), %rbx     # 0x90a40
movq %rsp, %rdi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x8bdd
movq %rax, %rdi
movq %rbx, %rsi
callq 0x46b0
testl %eax, %eax
jne 0x765a
leaq 0x897b3(%rip), %rsi     # 0x90a7a
leaq 0x897b3(%rip), %rcx     # 0x90a81
movq %rsp, %rdi
movl $0x1, %edx
callq 0x8bdd
leaq 0x8979c(%rip), %rsi     # 0x90a7e
movq %rax, %rdi
callq 0x46b0
testl %eax, %eax
jne 0x7666
leaq 0x897a5(%rip), %rsi     # 0x90a9e
leaq 0x897b9(%rip), %rcx     # 0x90ab9
movq %rsp, %rdi
xorl %edx, %edx
callq 0x8bdd
leaq 0x897ae(%rip), %rsi     # 0x90abf
movq %rax, %rdi
callq 0x46b0
testl %eax, %eax
jne 0x7672
leaq 0x897e7(%rip), %rsi     # 0x90b0f
leaq 0x8978a(%rip), %rcx     # 0x90ab9
movq %rsp, %rdi
movl $0x1, %edx
callq 0x8bdd
leaq 0x897e6(%rip), %rsi     # 0x90b29
movq %rax, %rdi
callq 0x46b0
testl %eax, %eax
jne 0x767e
movq 0x10(%rsp), %rdi
pxor %xmm0, %xmm0
movdqa %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
callq 0x45b0
xorl %eax, %eax
addq $0x9c88, %rsp           # imm = 0x9C88
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0xaac56(%rip), %rax     # 0xb1fe0
movq (%rax), %rdi
leaq 0x88ec0(%rip), %rsi     # 0x90254
leaq 0x40(%rsp), %rdx
xorl %eax, %eax
callq 0x46f0
movq %r12, %rdi
callq 0x45b0
movq %rbx, %rdi
callq 0x45b0
movl $0x1, %eax
jmp 0x7371
leaq 0x88d90(%rip), %rdi     # 0x9014e
movq %r14, %rsi
xorl %eax, %eax
callq 0x5dcc
leaq 0x88f69(%rip), %rdi     # 0x90338
jmp 0x73d8
leaq 0x88f55(%rip), %rdi     # 0x9032d
movl %ebx, %esi
movl %ebx, %edx
movl %eax, %ecx
movl %eax, %r8d
xorl %eax, %eax
callq 0x5dcc
leaq 0x88d3f(%rip), %rdi     # 0x9012e
jmp 0x65ba
leaq 0x88e8e(%rip), %rdi     # 0x90289
movl %ebx, %esi
xorl %eax, %eax
callq 0x5dcc
leaq 0x8f44a(%rip), %rdi     # 0x96855
jmp 0x65ba
leaq 0x88d72(%rip), %rdi     # 0x90189
movl %ebx, %esi
jmp 0x73fd
leaq 0x89077(%rip), %rdi     # 0x90499
jmp 0x65ba
callq 0x4050
movl %ebx, (%rax)
leaq 0x88cad(%rip), %rdi     # 0x900e2
jmp 0x65ba
leaq 0x88d32(%rip), %rdi     # 0x90173
jmp 0x65ba
leaq 0x88d6d(%rip), %rdi     # 0x901ba
jmp 0x65ba
leaq 0x88d8b(%rip), %rdi     # 0x901e4
jmp 0x65ba
leaq 0x88d89(%rip), %rdi     # 0x901ee
jmp 0x65ba
leaq 0x88dcb(%rip), %rdi     # 0x9023c
jmp 0x65ba
leaq 0x88c20(%rip), %rdi     # 0x9009d
jmp 0x65ba
leaq 0x88c22(%rip), %rdi     # 0x900ab
jmp 0x65ba
leaq 0x88dd6(%rip), %rdi     # 0x9026b
jmp 0x65ba
leaq 0x88dfa(%rip), %rdi     # 0x9029b
jmp 0x65ba
leaq 0x88e0b(%rip), %rdi     # 0x902b8
jmp 0x65ba
leaq 0x1(%rax), %rcx
movq %rcx, 0x8(%rdi)
movzbl (%rax), %eax
leaq 0x88eab(%rip), %rdi     # 0x9036f
jmp 0x74f0
leaq 0x88ecc(%rip), %rdi     # 0x90399
jmp 0x65ba
leaq 0x88e26(%rip), %rdi     # 0x902ff
jmp 0x65ba
leaq 0x1(%rax), %rcx
movq %rcx, 0x8(%rdi)
movzbl (%rax), %eax
leaq 0x88e74(%rip), %rdi     # 0x90364
movl %eax, %esi
jmp 0x73fd
leaq 0x88e90(%rip), %rdi     # 0x9038e
jmp 0x65ba
leaq 0x88ec9(%rip), %rdi     # 0x903d3
jmp 0x65ba
leaq 0x88ed6(%rip), %rdi     # 0x903ec
jmp 0x65ba
leaq 0x88ee9(%rip), %rdi     # 0x9040b
leaq 0x40(%rsp), %rsi
movq %rbx, %rdx
jmp 0x757b
leaq 0x88f01(%rip), %rdi     # 0x90434
jmp 0x65ba
leaq 0x88f26(%rip), %rdi     # 0x90465
jmp 0x65ba
leaq 0x88f35(%rip), %rdi     # 0x90480
jmp 0x65ba
leaq 0x88f62(%rip), %rdi     # 0x904b9
jmp 0x65ba
leaq 0x88f77(%rip), %rdi     # 0x904da
jmp 0x65ba
leaq 0x88f9d(%rip), %rdi     # 0x9050c
leaq 0x88f84(%rip), %rdx     # 0x904fa
leaq 0x40(%rsp), %rsi
xorl %eax, %eax
callq 0x5dcc
leaq 0x88fae(%rip), %rdi     # 0x90537
jmp 0x65ba
leaq 0x88fd4(%rip), %rdi     # 0x90569
jmp 0x65ba
leaq 0x88ff6(%rip), %rdi     # 0x90597
jmp 0x65ba
leaq 0x8900b(%rip), %rdi     # 0x905b8
jmp 0x65ba
leaq 0x8900c(%rip), %rdi     # 0x905c5
jmp 0x65ba
leaq 0x89022(%rip), %rdi     # 0x905e7
jmp 0x65ba
leaq 0x8903a(%rip), %rdi     # 0x9060b
jmp 0x65ba
leaq 0x8904a(%rip), %rdi     # 0x90627
jmp 0x65ba
leaq 0x8906a(%rip), %rdi     # 0x90653
jmp 0x65ba
leaq 0x89079(%rip), %rdi     # 0x9066e
jmp 0x65ba
leaq 0x8908a(%rip), %rdi     # 0x9068b
jmp 0x65ba
leaq 0x89210(%rip), %rdi     # 0x9081d
jmp 0x65ba
leaq 0x8933d(%rip), %rdi     # 0x90956
jmp 0x65ba
leaq 0x89349(%rip), %rdi     # 0x9096e
jmp 0x65ba
leaq 0x89374(%rip), %rdi     # 0x909a5
jmp 0x65ba
leaq 0x89394(%rip), %rdi     # 0x909d1
jmp 0x65ba
leaq 0x893c0(%rip), %rdi     # 0x90a09
jmp 0x65ba
leaq 0x893f0(%rip), %rdi     # 0x90a45
jmp 0x65ba
leaq 0x89404(%rip), %rdi     # 0x90a65
jmp 0x65ba
leaq 0x89419(%rip), %rdi     # 0x90a86
jmp 0x65ba
leaq 0x89466(%rip), %rdi     # 0x90adf
jmp 0x65ba
leaq 0x894be(%rip), %rdi     # 0x90b43
jmp 0x65ba
leaq 0x891a6(%rip), %rdi     # 0x90837
jmp 0x65ba
nop