// File: /workspace/github_c_makefile_star2_O3/c-zhou[P]yahs/sdict.c
// Function: make_asm_dict_from_agp
asm_dict_t *make_asm_dict_from_agp(sdict_t *sdict, const char *f, int allow_unknown_oris)
{
    iostream_t *fp;
    char *line;
    char sname[256], type[4], cname[256], cstarts[16], cends[16], oris[64];
    char *name = NULL;
    uint64_t a, b;
    uint32_t l, cstart, cend, ctype, coris;
    uint32_t c, s, n;
    kvec_t(uint32_t) gs, gsize, gcomp, gtype, glink, gevid;

    fp = iostream_open(f);
    if (fp == NULL) {
        fprintf(stderr, "[E::%s] cannot open file %s for reading\n", __func__, f);
        exit(EXIT_FAILURE);
    }

    asm_dict_t *d;
    sd_seq_t *sd;
    d = asm_init(sdict);
    a = b = 0;
    s = n = 0;
    kv_init(gs);
    kv_init(gsize);
    kv_init(gcomp);
    kv_init(gtype);
    kv_init(glink);
    kv_init(gevid);
    while ((line = iostream_getline(fp)) != NULL) {
        if (is_empty_line(line) || !strncmp(line, "#", 1))
            // header or empty lines
            continue;
        
        sscanf(line, "%s %*s %*s %*s %s %s %s %s %s", sname, type, cname, cstarts, cends, oris);
        if (!name)
            name = strdup(sname);
        if (strcmp(sname, name)) {
            asm_put(d, name, a, b - a, n, s - n, gs.n, gs.a, gsize.a, gcomp.a, gtype.a, glink.a, gevid.a);
            a = 0;
            b = 0;
            n = 0;
            gs.n = 0;
            gsize.n = 0;
            gcomp.n = 0;
            gtype.n = 0;
            glink.n = 0;
            gevid.n = 0;
            free(name);
            name = strdup(sname);
        }

        ctype = agp_component_type_key(type);
        if (ctype == AGP_CT_N || ctype == AGP_CT_U) {
            // gap
            kv_push(uint32_t, gs, n);
            kv_push(uint32_t, gcomp, ctype);
            c = strtoul(cname, NULL, 10); kv_push(uint32_t, gsize, c);
            if (ctype == AGP_CT_U && c != DEFAULT_AGP_U_GAP_SIZE)
                fprintf(stderr, "[W::%s] type 'U' gap size is not %d\n", __func__, DEFAULT_AGP_U_GAP_SIZE);
            b += c;
            c = agp_gap_type_key(cstarts); kv_push(uint32_t, gtype, c);
            c = agp_linkage_key(cends); kv_push(uint32_t, glink, c);
            c = agp_linkage_evidence_key(oris); kv_push(uint32_t, gevid, c);
            continue;
        }

        cstart = strtoul(cstarts, NULL, 10);
        cend = strtoul(cends, NULL, 10);
        c = sd_get(sdict, cname);
        if (c == UINT32_MAX) {
            fprintf(stderr, "[E::%s] sequence %s not found\n", __func__, cname);
            return 0;
        }
        sd = &sdict->s[c];
        if (cstart < 1 || cstart > cend || cend > sd->len) {
            fprintf(stderr, "[E::%s] invalid sequence component %s:%u-%u on %s\n", __func__, cname, cstart, cend, sname);
            if (cend > sd->len)
                fprintf(stderr, "[E::%s] sequence end position (%u) greater than sequence length (%u)\n", __func__, cend, sd->len);
            exit(EXIT_FAILURE);
        }
        coris = agp_orientation_key(oris);
        if (!allow_unknown_oris && coris != AGP_OT_PLUS && coris != AGP_OT_MINUS) {
            // unknown orientation is not allowed
            fprintf(stderr, "[E::%s] unknown orientation of sequence component %s:%u-%u on %s: '%s'\n", __func__, cname, cstart, cend, sname, oris);
            if (allow_unknown_oris) {
                fprintf(stderr, "[E::%s] valid identifiers for unorientated sequence include: '?', '0' and 'na'\n", __func__);
                fprintf(stderr, "[E::%s] see %s\n", __func__, AGP_SPEC_ONLINE_DOC);
            } else {
                fprintf(stderr, "[E::%s] run program with '-u' option to include sequence components\n", __func__);
            }
            exit(EXIT_FAILURE);
        }
        c <<= 1;
        if (coris == AGP_OT_MINUS) c |= 1;
        l = cend - cstart + 1;
        seg_put(d, d->n, n, a, b, c, cstart - 1, l, ctype, coris);
        a += l;
        b += l;
        ++s;
        ++n;
    }
    asm_put(d, name, a, b - a, n, s - n, gs.n, gs.a, gsize.a, gcomp.a, gtype.a, glink.a, gevid.a);
    d->sdict = sdict;
#ifdef DEBUG_DICT
    for (int i = 0; i < s; ++i)
        fprintf(stderr, "[DEBUG_DICT::%s] %u %lu %u %u %u\n", __func__, d->seg[i].s, d->seg[i].a, d->seg[i].c, d->seg[i].x, d->seg[i].y);
    for (int i = 0; i < d->n; ++i)
        fprintf(stderr, "[DEBUG_DICT::%s] %s %lu %u %u\n", __func__, d->s[i].name, d->s[i].len, d->s[i].n, d->s[i].s);
#endif
    asm_index(d);

    if (name)
        free(name);
    iostream_close(fp);
    kv_destroy(gs);
    kv_destroy(gsize);
    kv_destroy(gcomp);
    kv_destroy(gtype);
    kv_destroy(glink);
    kv_destroy(gevid);

    return d;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x368, %rsp            # imm = 0x368
movl %edx, 0xdc(%rsp)
movq %rsi, %rbx
movq %rdi, 0xb8(%rsp)
movq %rsi, %rdi
callq 0x2db7
testq %rax, %rax
je 0x6a7a
movq %rax, %r14
movq 0xb8(%rsp), %rdi
callq 0x427e
movq %rax, 0x68(%rsp)
movq %r14, %rdi
callq 0x2ee7
testq %rax, %rax
je 0x68e5
movq %rax, %r15
leaq 0x1(%rsp), %rbp
leaq 0xe0(%rsp), %r13
leaq 0x260(%rsp), %rbx
movl $0x0, %eax
movq %rax, 0x78(%rsp)
movl $0x0, %eax
movq %rax, 0xa8(%rsp)
movl $0x0, %eax
movq %rax, 0x130(%rsp)
movl $0x0, %r12d
movl $0x0, %eax
movq %rax, 0x90(%rsp)
movl $0x0, %eax
movq %rax, 0x150(%rsp)
movl $0x0, %eax
movq %rax, 0x60(%rsp)
movl $0x0, %eax
movq %rax, 0x98(%rsp)
movl $0x0, %eax
movq %rax, 0x158(%rsp)
xorl %eax, %eax
movq $0x0, 0xb0(%rsp)
movq $0x0, 0x140(%rsp)
xorl %r10d, %r10d
movq $0x0, 0x70(%rsp)
movq $0x0, 0x138(%rsp)
xorl %r11d, %r11d
movq $0x0, 0x30(%rsp)
movq $0x0, 0x148(%rsp)
movq $0x0, 0x38(%rsp)
xorl %r8d, %r8d
xorl %r9d, %r9d
xorl %edx, %edx
xorl %ecx, %ecx
movq %rdx, 0x10(%rsp)
movl %r8d, 0x4(%rsp)
movq %r9, 0xa0(%rsp)
movq %r11, 0x28(%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x18(%rsp)
movq %r12, 0x20(%rsp)
movq %rcx, %r12
movq %r15, %rdi
callq 0x2d94
testl %eax, %eax
jne 0x596a
cmpb $0x23, (%r15)
jne 0x597f
movq %r14, %rdi
callq 0x2ee7
movq %rax, %r15
testq %rax, %rax
jne 0x5958
jmp 0x68ba
movq %r15, %rdi
leaq 0x4b6a(%rip), %rsi      # 0xa4f3
movq %rbx, %rdx
movq %rsp, %rcx
leaq 0x160(%rsp), %r8
leaq 0x40(%rsp), %r9
xorl %eax, %eax
pushq %r13
leaq 0xc8(%rsp), %r10
pushq %r10
callq 0x2260
addq $0x10, %rsp
movq 0x78(%rsp), %rsi
testq %rsi, %rsi
jne 0x59c8
movq %rbx, %rdi
callq 0x23b0
movq %rax, %rsi
movq %rbx, %rdi
movq %rsi, %r15
callq 0x21e0
testl %eax, %eax
movq 0x60(%rsp), %rax
je 0x5a9f
movq 0x10(%rsp), %rdx
subq %rdx, %r12
movq 0xa0(%rsp), %rcx
movl %ecx, %r9d
movl 0x4(%rsp), %r8d
subl %r8d, %r9d
subq $0x8, %rsp
movq 0x70(%rsp), %rdi
movq %r15, %rsi
movq %r12, %rcx
pushq 0x28(%rsp)
pushq %rax
pushq 0x30(%rsp)
pushq 0x28(%rsp)
pushq 0x50(%rsp)
pushq 0x68(%rsp)
pushq 0x68(%rsp)
callq 0x4fa1
addq $0x40, %rsp
movq %r15, %rdi
callq 0x2050
movq %rbx, %rdi
callq 0x23b0
movq %rax, 0x78(%rsp)
movq $0x0, 0x58(%rsp)
movq $0x0, 0x10(%rsp)
movl $0x0, 0x4(%rsp)
movq $0x0, 0x30(%rsp)
movq $0x0, 0x70(%rsp)
movq $0x0, 0xb0(%rsp)
movq $0x0, 0x98(%rsp)
movq $0x0, 0x90(%rsp)
movq $0x0, 0xa8(%rsp)
jmp 0x5aa9
movq %r15, 0x78(%rsp)
movq %r12, 0x58(%rsp)
callq 0x23d0
movq %rax, 0x88(%rsp)
movq (%rax), %rax
movsbq (%rsp), %rcx
movl (%rax,%rcx,4), %ecx
testl %ecx, %ecx
leaq 0x4ea1(%rip), %r8       # 0xa96b
leaq 0x4e9c(%rip), %r9       # 0xa96d
leaq 0x4e97(%rip), %r10      # 0xa96f
leaq 0x4e92(%rip), %r11      # 0xa971
leaq 0x4c35(%rip), %r15      # 0xa71b
je 0x6a8b
movl $0x1505, %r12d          # imm = 0x1505
movq %rbp, %rdx
movl %r12d, %esi
shll $0x5, %esi
addl %ecx, %r12d
addl %esi, %r12d
movsbq (%rdx), %rcx
movl (%rax,%rcx,4), %ecx
incq %rdx
testl %ecx, %ecx
jne 0x5af5
leal -0x2b609(%r12), %ecx
cmpl $0x13, %ecx
ja 0x5b51
leaq 0x4739(%rip), %rdx      # 0xa25c
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
xorl %edx, %edx
movzbl (%rsp,%rdx), %esi
movl (%rax,%rsi,4), %ecx
movzbl (%rdx,%r9), %edi
subl (%rax,%rdi,4), %ecx
testl %esi, %esi
je 0x5c80
incq %rdx
testl %ecx, %ecx
je 0x5b2e
jmp 0x5c80
cmpl $0x2b606, %r12d         # imm = 0x2B606
jne 0x6a8b
xorl %edx, %edx
movzbl (%rsp,%rdx), %esi
movl (%rax,%rsi,4), %ecx
movzbl (%rdx,%r8), %edi
subl (%rax,%rdi,4), %ecx
testl %esi, %esi
je 0x5c80
incq %rdx
testl %ecx, %ecx
je 0x5b60
jmp 0x5c80
xorl %edx, %edx
movzbl (%rsp,%rdx), %esi
movl (%rax,%rsi,4), %ecx
leaq 0x4b8a(%rip), %rdi      # 0xa71d
movzbl (%rdx,%rdi), %edi
subl (%rax,%rdi,4), %ecx
testl %esi, %esi
je 0x5c80
incq %rdx
testl %ecx, %ecx
je 0x5b85
jmp 0x5c80
xorl %edx, %edx
movzbl (%rsp,%rdx), %esi
movl (%rax,%rsi,4), %ecx
leaq 0x4db9(%rip), %rdi      # 0xa977
movzbl (%rdx,%rdi), %edi
subl (%rax,%rdi,4), %ecx
testl %esi, %esi
je 0x5c80
incq %rdx
testl %ecx, %ecx
je 0x5bb0
jmp 0x5c80
xorl %edx, %edx
movzbl (%rsp,%rdx), %esi
movl (%rax,%rsi,4), %ecx
movzbl (%rdx,%r10), %edi
subl (%rax,%rdi,4), %ecx
testl %esi, %esi
je 0x5c80
incq %rdx
testl %ecx, %ecx
je 0x5bdb
jmp 0x5c80
xorl %edx, %edx
movzbl (%rsp,%rdx), %esi
movl (%rax,%rsi,4), %ecx
movzbl (%rdx,%r15), %edi
subl (%rax,%rdi,4), %ecx
testl %esi, %esi
je 0x5c80
incq %rdx
testl %ecx, %ecx
je 0x5c00
jmp 0x5c80
xorl %edx, %edx
movzbl (%rsp,%rdx), %esi
movl (%rax,%rsi,4), %ecx
leaq 0x4d49(%rip), %rdi      # 0xa975
movzbl (%rdx,%rdi), %edi
subl (%rax,%rdi,4), %ecx
testl %esi, %esi
je 0x5c80
incq %rdx
testl %ecx, %ecx
je 0x5c1e
jmp 0x5c80
xorl %edx, %edx
movzbl (%rsp,%rdx), %esi
movl (%rax,%rsi,4), %ecx
leaq 0x4d23(%rip), %rdi      # 0xa973
movzbl (%rdx,%rdi), %edi
subl (%rax,%rdi,4), %ecx
testl %esi, %esi
je 0x5c80
incq %rdx
testl %ecx, %ecx
je 0x5c42
jmp 0x5c80
xorl %edx, %edx
movzbl (%rsp,%rdx), %esi
movl (%rax,%rsi,4), %ecx
movzbl (%rdx,%r11), %edi
subl (%rax,%rdi,4), %ecx
testl %esi, %esi
je 0x5c80
incq %rdx
testl %ecx, %ecx
je 0x5c66
testl %ecx, %ecx
jne 0x6aa6
cmpl $0x2b61a, %r12d         # imm = 0x2B61A
movq 0x148(%rsp), %rax
je 0x5ca6
cmpl $0x2b613, %r12d         # imm = 0x2B613
jne 0x6592
movq 0x30(%rsp), %rbp
cmpq %rax, %rbp
jne 0x5ce4
leaq (%rax,%rax), %r15
testq %rax, %rax
movl $0x2, %eax
cmoveq %rax, %r15
leaq (,%r15,4), %rsi
movq 0x38(%rsp), %rdi
callq 0x2290
movq %rax, %rcx
movq %r15, 0x148(%rsp)
movq 0x8(%rsp), %rax
jmp 0x5cee
movq 0x8(%rsp), %rax
movq 0x38(%rsp), %rcx
movl 0x4(%rsp), %edx
movl %edx, (%rcx,%rbp,4)
movq 0x140(%rsp), %rdx
cmpq %rdx, 0xb0(%rsp)
movq %rcx, 0x38(%rsp)
jne 0x5d34
leaq (%rdx,%rdx), %r15
testq %rdx, %rdx
movl $0x2, %ecx
cmoveq %rcx, %r15
leaq (,%r15,4), %rsi
movq %rax, %rdi
callq 0x2290
movq %r15, 0x140(%rsp)
movq %rax, 0x8(%rsp)
movq 0xb0(%rsp), %rcx
movl %r12d, (%rax,%rcx,4)
leaq 0x160(%rsp), %rdi
xorl %esi, %esi
movl $0xa, %edx
callq 0x2320
movq %rax, %r15
movq 0x138(%rsp), %rax
movq 0x70(%rsp), %rdi
cmpq %rax, %rdi
jne 0x5daf
leaq (%rax,%rax), %rbp
testq %rax, %rax
movl $0x2, %eax
cmoveq %rax, %rbp
leaq (,%rbp,4), %rsi
movq 0x28(%rsp), %rdi
callq 0x2290
movq 0x70(%rsp), %rdi
movq %rax, %r9
movq %rbp, 0x138(%rsp)
movq 0x30(%rsp), %rbp
leaq 0x260(%rsp), %rbx
jmp 0x5db4
movq 0x28(%rsp), %r9
leaq 0x4c4e(%rip), %r10      # 0xaa09
leaq 0x4c71(%rip), %r11      # 0xaa33
cmpl $0x2b61a, %r12d         # imm = 0x2B61A
sete %al
movl %r15d, (%r9,%rdi,4)
cmpl $0x64, %r15d
setne %cl
andb %al, %cl
cmpb $0x1, %cl
je 0x6569
movq 0x88(%rsp), %rax
movq (%rax), %r8
movsbq 0x40(%rsp), %rcx
movl (%r8,%rcx,4), %ecx
testl %ecx, %ecx
movq 0x18(%rsp), %rax
je 0x6a94
incq %rbp
incq 0xb0(%rsp)
incq %rdi
movl %r15d, %r12d
addq 0x58(%rsp), %r12
movl $0x1505, %r15d          # imm = 0x1505
leaq 0x41(%rsp), %rdx
movl %r15d, %esi
shll $0x5, %esi
addl %ecx, %r15d
addl %esi, %r15d
movsbq (%rdx), %rcx
movl (%r8,%rcx,4), %ecx
incq %rdx
testl %ecx, %ecx
jne 0x5e25
cmpl $0x1297c4f0, %r15d      # imm = 0x1297C4F0
movq %rdi, 0x70(%rsp)
jg 0x5e9d
cmpl $0xec44fe01, %r15d      # imm = 0xEC44FE01
jg 0x5ef2
cmpl $0xb3971714, %r15d      # imm = 0xB3971714
je 0x5f82
cmpl $0xd066abb9, %r15d      # imm = 0xD066ABB9
jne 0x6a94
xorl %edx, %edx
movzbl 0x40(%rsp,%rdx), %esi
movl (%r8,%rsi,4), %ecx
movzbl (%rdx,%r11), %edi
subl (%r8,%rdi,4), %ecx
testl %esi, %esi
je 0x6016
incq %rdx
testl %ecx, %ecx
je 0x5e77
jmp 0x6016
cmpl $0x328bce38, %r15d      # imm = 0x328BCE38
jg 0x5f3a
cmpl $0x1297c4f1, %r15d      # imm = 0x1297C4F1
je 0x5fa3
cmpl $0x192dec66, %r15d      # imm = 0x192DEC66
jne 0x6a94
xorl %edx, %edx
movzbl 0x40(%rsp,%rdx), %esi
movl (%r8,%rsi,4), %ecx
leaq 0x4b56(%rip), %rdi      # 0xaa2c
movzbl (%rdx,%rdi), %edi
subl (%r8,%rdi,4), %ecx
testl %esi, %esi
je 0x6016
incq %rdx
testl %ecx, %ecx
je 0x5ec6
jmp 0x6016
cmpl $0xec44fe02, %r15d      # imm = 0xEC44FE02
je 0x5fca
cmpl $0xf6e4a809, %r15d      # imm = 0xF6E4A809
jne 0x6a94
xorl %edx, %edx
movzbl 0x40(%rsp,%rdx), %esi
movl (%r8,%rsi,4), %ecx
leaq 0x4c41(%rip), %rdi      # 0xab5f
movzbl (%rdx,%rdi), %edi
subl (%r8,%rdi,4), %ecx
testl %esi, %esi
je 0x6016
incq %rdx
testl %ecx, %ecx
je 0x5f0e
jmp 0x6016
cmpl $0x328bce39, %r15d      # imm = 0x328BCE39
je 0x5ff1
cmpl $0x4bbf6747, %r15d      # imm = 0x4BBF6747
jne 0x6a94
xorl %edx, %edx
movzbl 0x40(%rsp,%rdx), %esi
movl (%r8,%rsi,4), %ecx
leaq 0x4a8f(%rip), %rdi      # 0xa9f5
movzbl (%rdx,%rdi), %edi
subl (%r8,%rdi,4), %ecx
testl %esi, %esi
je 0x6016
incq %rdx
testl %ecx, %ecx
je 0x5f56
jmp 0x6016
xorl %edx, %edx
movzbl 0x40(%rsp,%rdx), %esi
movl (%r8,%rsi,4), %ecx
movzbl (%rdx,%r10), %edi
subl (%r8,%rdi,4), %ecx
testl %esi, %esi
je 0x6016
incq %rdx
testl %ecx, %ecx
je 0x5f84
jmp 0x6016
xorl %edx, %edx
movzbl 0x40(%rsp,%rdx), %esi
movl (%r8,%rsi,4), %ecx
leaq 0x4a5e(%rip), %rdi      # 0xaa13
movzbl (%rdx,%rdi), %edi
subl (%r8,%rdi,4), %ecx
testl %esi, %esi
je 0x6016
incq %rdx
testl %ecx, %ecx
je 0x5fa5
jmp 0x6016
xorl %edx, %edx
movzbl 0x40(%rsp,%rdx), %esi
movl (%r8,%rsi,4), %ecx
leaq 0x4a47(%rip), %rdi      # 0xaa23
movzbl (%rdx,%rdi), %edi
subl (%r8,%rdi,4), %ecx
testl %esi, %esi
je 0x6016
incq %rdx
testl %ecx, %ecx
je 0x5fcc
jmp 0x6016
xorl %edx, %edx
movzbl 0x40(%rsp,%rdx), %esi
movl (%r8,%rsi,4), %ecx
leaq 0x49fb(%rip), %rdi      # 0xa9fe
movzbl (%rdx,%rdi), %edi
subl (%r8,%rdi,4), %ecx
testl %esi, %esi
je 0x6016
incq %rdx
testl %ecx, %ecx
je 0x5ff3
testl %ecx, %ecx
jne 0x6ab9
movq %rbp, 0x30(%rsp)
movq 0x158(%rsp), %r11
movq 0x98(%rsp), %rdi
cmpq %r11, %rdi
movq %r9, 0x28(%rsp)
movq %r13, %rbp
jne 0x6076
leaq (%r11,%r11), %r13
testq %r11, %r11
movl $0x2, %ecx
cmoveq %rcx, %r13
leaq (,%r13,4), %rsi
movq %rax, %rdi
callq 0x2290
movq 0x98(%rsp), %rdi
movq 0x88(%rsp), %rcx
movq (%rcx), %r8
movq %r13, %r11
leaq 0x4a32(%rip), %r10      # 0xaaaf
movl %r15d, (%rax,%rdi,4)
movsbq 0xc0(%rsp), %rcx
movl (%r8,%rcx,4), %ecx
testl %ecx, %ecx
leaq 0x4a14(%rip), %r9       # 0xaaab
je 0x6a82
incq %rdi
movl $0x1505, %r15d          # imm = 0x1505
leaq 0xc1(%rsp), %rdx
movl %r15d, %esi
shll $0x5, %esi
addl %ecx, %r15d
addl %esi, %r15d
movsbq (%rdx), %rcx
movl (%r8,%rcx,4), %ecx
incq %rdx
testl %ecx, %ecx
jne 0x60ae
cmpl $0xb88c316, %r15d       # imm = 0xB88C316
movq %rdi, 0x98(%rsp)
je 0x610b
cmpl $0x5978e2, %r15d        # imm = 0x5978E2
jne 0x6a82
xorl %edx, %edx
movzbl 0xc0(%rsp,%rdx), %esi
movl (%r8,%rsi,4), %ecx
movzbl (%rdx,%r10), %edi
subl (%r8,%rdi,4), %ecx
testl %esi, %esi
je 0x612d
incq %rdx
testl %ecx, %ecx
je 0x60e9
jmp 0x612d
xorl %edx, %edx
movzbl 0xc0(%rsp,%rdx), %esi
movl (%r8,%rsi,4), %ecx
movzbl (%rdx,%r9), %edi
subl (%r8,%rdi,4), %ecx
testl %esi, %esi
je 0x612d
incq %rdx
testl %ecx, %ecx
je 0x610d
testl %ecx, %ecx
jne 0x6ace
movq %r11, 0x158(%rsp)
movq %rax, 0x18(%rsp)
movq 0x150(%rsp), %rdi
movq 0x90(%rsp), %rdx
cmpq %rdi, %rdx
jne 0x6191
leaq (%rdi,%rdi), %r13
testq %rdi, %rdi
movl $0x2, %eax
cmoveq %rax, %r13
leaq (,%r13,4), %rsi
movq 0x60(%rsp), %rdi
callq 0x2290
movq 0x90(%rsp), %rdx
movq 0x88(%rsp), %rcx
movq (%rcx), %r8
movq %r13, %rdi
jmp 0x6196
movq 0x60(%rsp), %rax
leaq 0x49d1(%rip), %r9       # 0xab6e
leaq 0x49a8(%rip), %r10      # 0xab4c
leaq 0x4986(%rip), %r11      # 0xab31
leaq 0x4973(%rip), %r13      # 0xab25
movq %rax, 0x60(%rsp)
movl %r15d, (%rax,%rdx,4)
movsbq 0xe0(%rsp), %rcx
movl (%r8,%rcx,4), %ecx
testl %ecx, %ecx
leaq 0x49b7(%rip), %rax      # 0xab88
je 0x6a9d
incq %rdx
movq %rdx, 0x90(%rsp)
movl $0x1505, %r15d          # imm = 0x1505
leaq 0xe1(%rsp), %rdx
movl %r15d, %esi
shll $0x5, %esi
addl %ecx, %r15d
addl %esi, %r15d
movsbq (%rdx), %rcx
movl (%r8,%rcx,4), %ecx
incq %rdx
testl %ecx, %ecx
jne 0x61f0
cmpl $0xb888f82, %r15d       # imm = 0xB888F82
movq %rdi, 0x150(%rsp)
jg 0x627b
cmpl $0xe2eecd08, %r15d      # imm = 0xE2EECD08
jg 0x62e0
cmpl $0x995556b4, %r15d      # imm = 0x995556B4
je 0x6390
cmpl $0xb57b3070, %r15d      # imm = 0xB57B3070
je 0x6447
cmpl $0xd37e4828, %r15d      # imm = 0xD37E4828
jne 0x6a9d
xorl %edx, %edx
movzbl 0xe0(%rsp,%rdx), %esi
movl (%r8,%rsi,4), %ecx
movzbl (%rdx,%r10), %edi
subl (%r8,%rdi,4), %ecx
testl %esi, %esi
je 0x64e1
incq %rdx
testl %ecx, %ecx
je 0x6252
jmp 0x64e1
cmpl $0x13baa0b0, %r15d      # imm = 0x13BAA0B0
jg 0x6338
cmpl $0xb888f83, %r15d       # imm = 0xB888F83
je 0x63ba
cmpl $0xb889c8a, %r15d       # imm = 0xB889C8A
je 0x646b
cmpl $0xdc4ffd9, %r15d       # imm = 0xDC4FFD9
jne 0x6a9d
xorl %edx, %edx
movzbl 0xe0(%rsp,%rdx), %esi
movl (%r8,%rsi,4), %ecx
leaq 0x4895(%rip), %rax      # 0xab59
movzbl (%rdx,%rax), %edi
subl (%r8,%rdi,4), %ecx
testl %esi, %esi
je 0x64e1
incq %rdx
testl %ecx, %ecx
je 0x62b1
jmp 0x64e1
cmpl $0xe2eecd09, %r15d      # imm = 0xE2EECD09
je 0x63eb
cmpl $0xf627ffb1, %r15d      # imm = 0xF627FFB1
je 0x6495
cmpl $0x5978d4, %r15d        # imm = 0x5978D4
jne 0x6a9d
xorl %edx, %edx
movzbl 0xe0(%rsp,%rdx), %esi
movl (%r8,%rsi,4), %ecx
leaq 0x44b3(%rip), %rax      # 0xa7cf
movzbl (%rdx,%rax), %edi
subl (%r8,%rdi,4), %ecx
testl %esi, %esi
je 0x64e1
incq %rdx
testl %ecx, %ecx
je 0x6309
jmp 0x64e1
cmpl $0x13baa0b1, %r15d      # imm = 0x13BAA0B1
je 0x6416
cmpl $0x1c93c7f4, %r15d      # imm = 0x1C93C7F4
je 0x64b9
cmpl $0x272d87fd, %r15d      # imm = 0x272D87FD
jne 0x6a9d
xorl %edx, %edx
movzbl 0xe0(%rsp,%rdx), %esi
movl (%r8,%rsi,4), %ecx
leaq 0x47ca(%rip), %rax      # 0xab3e
movzbl (%rdx,%rax), %edi
subl (%r8,%rdi,4), %ecx
testl %esi, %esi
je 0x64e1
incq %rdx
testl %ecx, %ecx
je 0x6361
jmp 0x64e1
xorl %edx, %edx
movzbl 0xe0(%rsp,%rdx), %esi
movl (%r8,%rsi,4), %ecx
movzbl (%rdx,%rax), %edi
subl (%r8,%rdi,4), %ecx
testl %esi, %esi
je 0x64e1
incq %rdx
testl %ecx, %ecx
je 0x6392
jmp 0x64e1
xorl %edx, %edx
movzbl 0xe0(%rsp,%rdx), %esi
movl (%r8,%rsi,4), %ecx
leaq 0x4797(%rip), %rax      # 0xab66
movzbl (%rdx,%rax), %edi
subl (%r8,%rdi,4), %ecx
testl %esi, %esi
je 0x64e1
incq %rdx
testl %ecx, %ecx
je 0x63bc
jmp 0x64e1
xorl %edx, %edx
movzbl 0xe0(%rsp,%rdx), %esi
movl (%r8,%rsi,4), %ecx
movzbl (%rdx,%r11), %edi
subl (%r8,%rdi,4), %ecx
testl %esi, %esi
je 0x64e1
incq %rdx
testl %ecx, %ecx
je 0x63ed
jmp 0x64e1
xorl %edx, %edx
movzbl 0xe0(%rsp,%rdx), %esi
movl (%r8,%rsi,4), %ecx
leaq 0x46ee(%rip), %rax      # 0xab19
movzbl (%rdx,%rax), %edi
subl (%r8,%rdi,4), %ecx
testl %esi, %esi
je 0x64e1
incq %rdx
testl %ecx, %ecx
je 0x6418
jmp 0x64e1
xorl %edx, %edx
movzbl 0xe0(%rsp,%rdx), %esi
movl (%r8,%rsi,4), %ecx
movzbl (%rdx,%r9), %edi
subl (%r8,%rdi,4), %ecx
testl %esi, %esi
je 0x64e1
incq %rdx
testl %ecx, %ecx
je 0x6449
jmp 0x64e1
xorl %edx, %edx
movzbl 0xe0(%rsp,%rdx), %esi
movl (%r8,%rsi,4), %ecx
leaq 0x46ea(%rip), %rax      # 0xab6a
movzbl (%rdx,%rax), %edi
subl (%r8,%rdi,4), %ecx
testl %esi, %esi
je 0x64e1
incq %rdx
testl %ecx, %ecx
je 0x646d
jmp 0x64e1
xorl %edx, %edx
movzbl 0xe0(%rsp,%rdx), %esi
movl (%r8,%rsi,4), %ecx
movzbl (%rdx,%r13), %edi
subl (%r8,%rdi,4), %ecx
testl %esi, %esi
je 0x64e1
incq %rdx
testl %ecx, %ecx
je 0x6497
jmp 0x64e1
xorl %edx, %edx
movzbl 0xe0(%rsp,%rdx), %esi
movl (%r8,%rsi,4), %ecx
leaq 0x46b3(%rip), %rax      # 0xab81
movzbl (%rdx,%rax), %edi
subl (%r8,%rdi,4), %ecx
testl %esi, %esi
je 0x64e1
incq %rdx
testl %ecx, %ecx
je 0x64bb
testl %ecx, %ecx
jne 0x6ae6
movq 0x130(%rsp), %rax
cmpq %rax, 0xa8(%rsp)
jne 0x6527
leaq (%rax,%rax), %r13
testq %rax, %rax
movl $0x2, %eax
cmoveq %rax, %r13
leaq (,%r13,4), %rsi
movq 0x20(%rsp), %rdi
callq 0x2290
movq %r13, 0x130(%rsp)
jmp 0x652c
movq 0x20(%rsp), %rax
movq %rbp, %r13
movq %rax, 0x20(%rsp)
movq 0xa8(%rsp), %rcx
movl %r15d, (%rax,%rcx,4)
incq %rcx
movq %rcx, 0xa8(%rsp)
movq %r14, %rdi
callq 0x2ee7
movq %rax, %r15
testq %rax, %rax
leaq 0x1(%rsp), %rbp
jne 0x5958
jmp 0x68ba
movq %rbx, %r12
movq %r9, %rbx
callq 0x268d
movq 0x70(%rsp), %rdi
leaq 0x44b3(%rip), %r11      # 0xaa33
leaq 0x4482(%rip), %r10      # 0xaa09
movq %rbx, %r9
movq %r12, %rbx
jmp 0x5de2
leaq 0x40(%rsp), %rdi
xorl %esi, %esi
movl $0xa, %edx
callq 0x2320
movq %rax, 0x128(%rsp)
leaq 0xc0(%rsp), %rdi
xorl %esi, %esi
movl $0xa, %edx
callq 0x2320
movq %rax, 0x80(%rsp)
movq 0xb8(%rsp), %rdi
leaq 0x160(%rsp), %rsi
callq 0x47c3
cmpl $-0x1, %eax
je 0x6a45
movl %eax, %ecx
leaq (%rcx,%rcx,2), %r15
shlq $0x3, %r15
movq 0xb8(%rsp), %rcx
addq 0x8(%rcx), %r15
movq 0x128(%rsp), %r8
leal -0x1(%r8), %r10d
movq 0x80(%rsp), %r9
cmpl %r9d, %r10d
jae 0x69e0
cmpl %r9d, 0x10(%r15)
jb 0x69e0
movq 0x88(%rsp), %rcx
movq (%rcx), %rcx
movsbq 0xe0(%rsp), %rdx
movl (%rcx,%rdx,4), %edx
testl %edx, %edx
leaq 0x4189(%rip), %r9       # 0xa7cb
leaq 0x4189(%rip), %r15      # 0xa7d2
je 0x6b03
movl $0x1505, %r11d          # imm = 0x1505
leaq 0xe1(%rsp), %rsi
movl %r11d, %edi
shll $0x5, %edi
addl %edx, %r11d
addl %edi, %r11d
movsbq (%rsi), %rdx
movl (%rcx,%rdx,4), %edx
incq %rsi
testl %edx, %edx
jne 0x665d
cmpl $0x2b5e3, %r11d         # imm = 0x2B5E3
jg 0x66d8
cmpl $0x2b5d0, %r11d         # imm = 0x2B5D0
je 0x6779
cmpl $0x2b5d2, %r11d         # imm = 0x2B5D2
je 0x672c
cmpl $0x2b5d5, %r11d         # imm = 0x2B5D5
jne 0x6b03
xorl %esi, %esi
movzbl 0xe0(%rsp,%rsi), %edi
movl (%rcx,%rdi,4), %edx
leaq 0x3af8(%rip), %r8       # 0xa1b3
movzbl (%rsi,%r8), %r8d
subl (%rcx,%r8,4), %edx
testl %edi, %edi
je 0x67c4
incq %rsi
testl %edx, %edx
je 0x66a9
jmp 0x67c4
cmpl $0x2b5e4, %r11d         # imm = 0x2B5E4
je 0x679c
cmpl $0x7ca1b285, %r11d      # imm = 0x7CA1B285
je 0x674f
cmpl $0x5978d4, %r11d        # imm = 0x5978D4
jne 0x6b03
xorl %esi, %esi
movzbl 0xe0(%rsp,%rsi), %edi
movl (%rcx,%rdi,4), %edx
leaq 0x40c0(%rip), %r8       # 0xa7cf
movzbl (%rsi,%r8), %r8d
subl (%rcx,%r8,4), %edx
testl %edi, %edi
je 0x67c4
incq %rsi
testl %edx, %edx
je 0x66fd
jmp 0x67c4
xorl %esi, %esi
movzbl 0xe0(%rsp,%rsi), %edi
movl (%rcx,%rdi,4), %edx
movzbl (%rsi,%r15), %r8d
subl (%rcx,%r8,4), %edx
testl %edi, %edi
je 0x67c4
incq %rsi
testl %edx, %edx
je 0x672e
jmp 0x67c4
xorl %esi, %esi
movzbl 0xe0(%rsp,%rsi), %edi
movl (%rcx,%rdi,4), %edx
leaq 0x44b3(%rip), %r8       # 0xac16
movzbl (%rsi,%r8), %r8d
subl (%rcx,%r8,4), %edx
testl %edi, %edi
je 0x67c4
incq %rsi
testl %edx, %edx
je 0x6751
jmp 0x67c4
xorl %esi, %esi
movzbl 0xe0(%rsp,%rsi), %edi
movl (%rcx,%rdi,4), %edx
movzbl (%rsi,%r9), %r8d
subl (%rcx,%r8,4), %edx
testl %edi, %edi
je 0x67c4
incq %rsi
testl %edx, %edx
je 0x677b
jmp 0x67c4
xorl %esi, %esi
movzbl 0xe0(%rsp,%rsi), %edi
movl (%rcx,%rdi,4), %edx
leaq 0x401d(%rip), %r8       # 0xa7cd
movzbl (%rsi,%r8), %r8d
subl (%rcx,%r8,4), %edx
testl %edi, %edi
je 0x67c4
incq %rsi
testl %edx, %edx
je 0x679e
testl %edx, %edx
jne 0x6b0c
cmpl $0x0, 0xdc(%rsp)
movl 0x4(%rsp), %edx
movq 0x128(%rsp), %r8
jne 0x67f4
movl %r11d, %ecx
andl $-0x3, %ecx
cmpl $0x2b5d0, %ecx          # imm = 0x2B5D0
jne 0x6b1c
addl %eax, %eax
cmpl $0x2b5d2, %r11d         # imm = 0x2B5D2
movl %edx, 0x4(%rsp)
jne 0x682f
orl $0x1, %eax
movq 0x80(%rsp), %r15
subl %r8d, %r15d
incl %r15d
movq 0x68(%rsp), %rdi
movl (%rdi), %esi
movq 0x10(%rsp), %rcx
movq 0x58(%rsp), %r8
movl %eax, %r9d
pushq $0x2b5d2                # imm = 0x2B5D2
jmp 0x6853
movq 0x80(%rsp), %r15
subl %r8d, %r15d
incl %r15d
movq 0x68(%rsp), %rdi
movl (%rdi), %esi
movq 0x10(%rsp), %rcx
movq 0x58(%rsp), %r8
movl %eax, %r9d
pushq %r11
pushq %r12
pushq %r15
pushq %r10
callq 0x52a9
addq $0x20, %rsp
movl %r15d, %eax
addq %rax, 0x10(%rsp)
addq %rax, 0x58(%rsp)
movq 0xa0(%rsp), %r15
incl %r15d
incl 0x4(%rsp)
movq %r14, %rdi
callq 0x2ee7
movq %r15, %r9
movq %rax, %r15
testq %rax, %rax
movq 0x20(%rsp), %r12
movq 0x18(%rsp), %rax
movq 0x8(%rsp), %r10
movq 0x28(%rsp), %r11
movl 0x4(%rsp), %r8d
movq 0x10(%rsp), %rdx
movq 0x58(%rsp), %rcx
jne 0x592f
jmp 0x691e
movq %r12, %rcx
movq 0x20(%rsp), %r12
movq 0x18(%rsp), %rax
movq 0x8(%rsp), %r10
movq 0x28(%rsp), %r11
movq 0xa0(%rsp), %r9
movl 0x4(%rsp), %r8d
movq 0x10(%rsp), %rdx
jmp 0x691e
xorl %r9d, %r9d
xorl %ecx, %ecx
xorl %edx, %edx
xorl %r8d, %r8d
movq $0x0, 0x38(%rsp)
movq $0x0, 0x30(%rsp)
xorl %r11d, %r11d
xorl %r10d, %r10d
xorl %eax, %eax
movq $0x0, 0x60(%rsp)
xorl %r12d, %r12d
movq $0x0, 0x78(%rsp)
movq %r14, 0x8(%rsp)
subq %rdx, %rcx
subl %r8d, %r9d
subq $0x8, %rsp
movq 0x70(%rsp), %r14
movq %r14, %rdi
movq 0x80(%rsp), %r13
movq %r13, %rsi
pushq %r12
movq 0x70(%rsp), %r15
pushq %r15
movq %rax, 0x30(%rsp)
pushq %rax
movq %r10, %rbp
pushq %r10
movq %r11, %rbx
pushq %r11
pushq 0x68(%rsp)
pushq 0x68(%rsp)
callq 0x4fa1
addq $0x40, %rsp
movq 0xb8(%rsp), %rax
movq %rax, 0x38(%r14)
movq %r14, %rdi
callq 0x56b6
testq %r13, %r13
je 0x698b
movq %r13, %rdi
callq 0x2050
movq 0x8(%rsp), %rdi
callq 0x2e85
movq 0x38(%rsp), %rdi
callq 0x2050
movq %rbx, %rdi
callq 0x2050
movq %rbp, %rdi
callq 0x2050
movq 0x18(%rsp), %rdi
callq 0x2050
movq %r15, %rdi
callq 0x2050
movq %r12, %rdi
callq 0x2050
movq 0x68(%rsp), %rax
addq $0x368, %rsp            # imm = 0x368
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %r10
movq 0x7606(%rip), %rbx      # 0xdff0
movq (%rbx), %rdi
subq $0x8, %rsp
leaq 0x3b5d(%rip), %rsi      # 0xa555
leaq 0x3add(%rip), %rdx      # 0xa4dc
leaq 0x168(%rsp), %rcx
xorl %eax, %eax
pushq %r10
movq %r9, %r14
callq 0x2200
addq $0x10, %rsp
movl 0x10(%r15), %r8d
cmpl %r14d, %r8d
jae 0x6a3b
movq %r14, %rcx
movq (%rbx), %rdi
leaq 0x3b5b(%rip), %rsi      # 0xa588
leaq 0x3aa8(%rip), %rdx      # 0xa4dc
xorl %eax, %eax
callq 0x2200
movl $0x1, %edi
callq 0x2360
movq 0x75a4(%rip), %rax      # 0xdff0
movq (%rax), %rdi
leaq 0x3ae0(%rip), %rsi      # 0xa536
leaq 0x3a7f(%rip), %rdx      # 0xa4dc
movq $0x0, 0x68(%rsp)
leaq 0x160(%rsp), %rcx
xorl %eax, %eax
callq 0x2200
jmp 0x69c9
movq %rbx, %rdi
callq 0x26b5
leaq 0x4029(%rip), %rdi      # 0xaab2
jmp 0x6ad5
leaq 0x3ee7(%rip), %rdi      # 0xa979
jmp 0x6aad
leaq 0x3fa6(%rip), %rdi      # 0xaa41
jmp 0x6ac0
leaq 0x40f0(%rip), %rdi      # 0xab94
jmp 0x6aed
leaq 0x3f0d(%rip), %rdi      # 0xa9ba
leaq 0x3eef(%rip), %rsi      # 0xa9a3
movq %rsp, %rdx
jmp 0x6afc
leaq 0x3fb6(%rip), %rdi      # 0xaa76
leaq 0x3f9e(%rip), %rsi      # 0xaa65
leaq 0x40(%rsp), %rdx
jmp 0x6afc
leaq 0x4010(%rip), %rdi      # 0xaae5
leaq 0x3ff9(%rip), %rsi      # 0xaad5
leaq 0xc0(%rsp), %rdx
jmp 0x6afc
leaq 0x40ec(%rip), %rdi      # 0xabd9
leaq 0x40cc(%rip), %rsi      # 0xabc0
leaq 0xe0(%rsp), %rdx
xorl %eax, %eax
callq 0x8f28
leaq 0x4111(%rip), %rdi      # 0xac1b
jmp 0x6b13
leaq 0x4143(%rip), %rdi      # 0xac56
leaq 0x4128(%rip), %rsi      # 0xac42
jmp 0x6af4
movq 0x74cd(%rip), %r14      # 0xdff0
movq (%r14), %rdi
leaq 0x3aa1(%rip), %rsi      # 0xa5ce
movq %rbx, %r10
leaq 0x39a5(%rip), %rbx      # 0xa4dc
leaq 0x160(%rsp), %rcx
movq %rbx, %rdx
movq 0x80(%rsp), %r9
xorl %eax, %eax
pushq %r13
pushq %r10
callq 0x2200
addq $0x10, %rsp
movq (%r14), %rdi
leaq 0x3b57(%rip), %rsi      # 0xa6ba
movq %rbx, %rdx
xorl %eax, %eax
callq 0x2200
jmp 0x6a3b