// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: gen_ng(ma_ug_t*, asg_t*, ug_opt_t*, ma_sub_t**, R_to_U*, unsigned long)
asg_t *gen_ng(ma_ug_t *ug, asg_t *sg, ug_opt_t *uopt, ma_sub_t **cov, R_to_U *ruI, 
uint64_t scaffold_len)
{
    ma_utg_t *u; uint64_t i, v, w, m, h, z, raw_v, raw_w, nocc, nv, vx, wx; int32_t r;
    asg_arc_t t, *p; asg_arc_t *av = NULL; uint64_t slen = scaffold_len + (uopt->min_ovlp*2);
    asg_ext_t ext; memset(&ext, 0, sizeof(ext)); ext.ext = asg_init(); asg_t *ng = ext.ext;
    ext.a_n = sg->n_seq; 
    ext.cnt.n = ext.cnt.m = ext.a_n;
    CALLOC(ext.cnt.a, ext.cnt.n);///count

    ext.idx_a.n = ext.idx_a.m = sg->n_seq; 
    MALLOC(ext.idx_a.a, ext.idx_a.n); 
    memset(ext.idx_a.a, -1, sizeof(*(ext.idx_a.a))*ext.idx_a.n);//map
    fprintf(stderr, "\n+[M::%s] 0\n", __func__);

    for (i = 0; i < ug->g->n_seq; ++i) {
        u = &(ug->u.a[i]);
        for (m = 0; m < u->n; m++) {
            v = u->a[m]>>32;
            ext.cnt.a[v>>1]++;
            if(ext.cnt.a[v>>1] == 1) {
                h = v>>1; ext.idx_a.a[h] = v>>1;
            } else {
                h = ext.idx_a.n; 
                kv_push(uint64_t, ext.idx_a, (v>>1));
            }

            z = (h<<1)|(v&1); z <<= 32; z |= ((uint32_t)u->a[m]);
            u->a[m] = z;
        }
    }

    for (i = 0; i < sg->n_seq; ++i) {
        asg_seq_set(ng, i, sg->seq[i].len, ext.idx_a.a[i]==((uint64_t)-1)?1:0);
        ng->seq[i].c = 0;
        if(ext.idx_a.a[i]!=((uint64_t)-1)) assert(ext.idx_a.a[i] == i);
        ext.idx_a.a[i] = i;///set for delted read
    }
    for (; i < ext.idx_a.n; i++) {
        asg_seq_set(ng, i, sg->seq[ext.idx_a.a[i]].len, 0);
        ng->seq[i].c = 0; assert(!(ng->seq[ext.idx_a.a[i]].del));
    }
    ng->r_seq = ng->n_seq;
    // fprintf(stderr, "+[M::%s] ng->n_seq::%u, ext.idx_a.n::%u\n", 
    // __func__, (uint32_t)ng->n_seq, (uint32_t)ext.idx_a.n);
    assert(ng->n_seq == ext.idx_a.n); 
    fprintf(stderr, "\n+[M::%s] 1\n", __func__);

    for (i = 0, nocc = ng->r_seq; i < ug->g->n_seq; ++i) {
        u = &(ug->u.a[i]);
        for (m = 1; m < u->n; m++) {
            v = u->a[m-1]>>32; w = u->a[m]>>32;
            raw_v = (ext.idx_a.a[v>>1]<<1)|(v&1);
            raw_w = (ext.idx_a.a[w>>1]<<1)|(w&1);
            assert((raw_v>>1) < sg->n_seq);
            assert((raw_w>>1) < sg->n_seq);
            if(gen_spec_edge(sg, uopt, raw_v, raw_w, &t) < 0) {
                asg_seq_set(ng, nocc, slen, 0);
                ng->seq[nocc].c = 0;
                kv_push(uint64_t, ext.idx_a, ((uint64_t)-1));
                nocc++;///a scaffold node
            }
        }

        v = i<<1; nv = asg_arc_n(ug->g, v); av = asg_arc_a(ug->g, v);
        for (m = 0; m < nv; m++) {
            if(av[m].del) continue;
            w = av[m].v;
            vx = (v&1?((ug->u.a[v>>1].a[0]>>32)^1):(ug->u.a[v>>1].a[ug->u.a[v>>1].n-1]>>32));
            wx = (w&1?((ug->u.a[w>>1].a[ug->u.a[w>>1].n-1]>>32)^1):(ug->u.a[w>>1].a[0]>>32));
            raw_v = (ext.idx_a.a[vx>>1]<<1)|(vx&1);
            raw_w = (ext.idx_a.a[wx>>1]<<1)|(wx&1);
            assert((raw_v>>1) < sg->n_seq);
            assert((raw_w>>1) < sg->n_seq);
            if(vx > wx) continue;
            if((vx == wx) && (vx&1)) continue;
            if(gen_spec_edge(sg, uopt, raw_v, raw_w, &t) < 0) {
                asg_seq_set(ng, nocc, slen, 0);
                ng->seq[nocc].c = 0;
                kv_push(uint64_t, ext.idx_a, ((uint64_t)-1));
                nocc++;///a scaffold node
            }
        }

        v = (i<<1)+1; nv = asg_arc_n(ug->g, v); av = asg_arc_a(ug->g, v);
        for (m = 0; m < nv; m++) {
            if(av[m].del) continue;
            w = av[m].v;
            vx = (v&1?((ug->u.a[v>>1].a[0]>>32)^1):(ug->u.a[v>>1].a[ug->u.a[v>>1].n-1]>>32));
            wx = (w&1?((ug->u.a[w>>1].a[ug->u.a[w>>1].n-1]>>32)^1):(ug->u.a[w>>1].a[0]>>32));
            raw_v = (ext.idx_a.a[vx>>1]<<1)|(vx&1);
            raw_w = (ext.idx_a.a[wx>>1]<<1)|(wx&1);
            assert((raw_v>>1) < sg->n_seq);
            assert((raw_w>>1) < sg->n_seq);
            if(vx > wx) continue;
            if((vx == wx) && (vx&1)) continue;
            if(gen_spec_edge(sg, uopt, raw_v, raw_w, &t) < 0) {
                asg_seq_set(ng, nocc, slen, 0);
                ng->seq[nocc].c = 0;
                kv_push(uint64_t, ext.idx_a, ((uint64_t)-1));
                nocc++;///a scaffold node
            }
        }
    }
    fprintf(stderr, "\n+[M::%s] 2\n", __func__);
    // fprintf(stderr, "+[M::%s] ng->n_seq::%u, ext.idx_a.n::%u\n", 
    // __func__, (uint32_t)ng->n_seq, (uint32_t)ext.idx_a.n);
    assert(ng->n_seq == ext.idx_a.n); 
    CALLOC(ng->seq_vis, (ng->n_seq<<1));
    realloc_rdb(&(R_INF), cov, ruI, ext.idx_a.a, ext.idx_a.n, slen, (char *)"scaf", ng, uopt);

    fprintf(stderr, "\n+[M::%s] 3\n", __func__);
    update_paf(R_INF.paf, R_INF.reverse_paf, ext.idx_a.a, ext.idx_a.n, sg->n_seq, ng);
    fprintf(stderr, "\n+[M::%s] 4\n", __func__);

    for (i = 0, nocc = ng->r_seq; i < ug->g->n_seq; ++i) {
        u = &(ug->u.a[i]);
        for (m = 1; m < u->n; m++) {
            // fprintf(stderr, "[M::%s] i::%lu, m::%lu\n", __func__, i, m);
            v = u->a[m-1]>>32; w = u->a[m]>>32;
            r = gen_spec_edge(ng, uopt, v, w, &t);
            if(r >= 0) {
                p = asg_arc_pushp(ng); *p = t;
                r = gen_spec_edge(ng, uopt, w^1, v^1, &t);
                assert(r >= 0); p = asg_arc_pushp(ng); *p = t;
            } else {
                z = nocc<<1; nocc++;
                push_scaff_node(R_INF.paf, v, z, uopt->min_ovlp, ng);
                push_scaff_node(R_INF.paf, z, w, uopt->min_ovlp, ng);

                r = gen_spec_edge(ng, uopt, v, z, &t);
                assert(r >= 0); p = asg_arc_pushp(ng); *p = t;
                r = gen_spec_edge(ng, uopt, z^1, v^1, &t);
                assert(r >= 0); p = asg_arc_pushp(ng); *p = t;

                r = gen_spec_edge(ng, uopt, z, w, &t);
                assert(r >= 0); p = asg_arc_pushp(ng); *p = t;
                r = gen_spec_edge(ng, uopt, w^1, z^1, &t);
                assert(r >= 0); p = asg_arc_pushp(ng); *p = t;
            }
        }

        v = i<<1; nv = asg_arc_n(ug->g, v); av = asg_arc_a(ug->g, v);
        for (m = 0; m < nv; m++) {
            if(av[m].del) continue;
            w = av[m].v;
            vx = (v&1?((ug->u.a[v>>1].a[0]>>32)^1):(ug->u.a[v>>1].a[ug->u.a[v>>1].n-1]>>32));
            wx = (w&1?((ug->u.a[w>>1].a[ug->u.a[w>>1].n-1]>>32)^1):(ug->u.a[w>>1].a[0]>>32));
            if(vx > wx) continue;
            if((vx == wx) && (vx&1)) continue;///it is possible

            r = gen_spec_edge(ng, uopt, vx, wx, &t);
            if(r >= 0) {
                p = asg_arc_pushp(ng); *p = t;
                r = gen_spec_edge(ng, uopt, wx^1, vx^1, &t);
                assert(r >= 0); p = asg_arc_pushp(ng); *p = t;
            } else {
                z = nocc<<1; nocc++;
                push_scaff_node(R_INF.paf, vx, z, uopt->min_ovlp, ng);
                push_scaff_node(R_INF.paf, z, wx, uopt->min_ovlp, ng);

                r = gen_spec_edge(ng, uopt, vx, z, &t);
                assert(r >= 0); p = asg_arc_pushp(ng); *p = t;
                r = gen_spec_edge(ng, uopt, z^1, vx^1, &t);
                assert(r >= 0); p = asg_arc_pushp(ng); *p = t;

                r = gen_spec_edge(ng, uopt, z, wx, &t);
                assert(r >= 0); p = asg_arc_pushp(ng); *p = t;
                r = gen_spec_edge(ng, uopt, wx^1, z^1, &t);
                assert(r >= 0); p = asg_arc_pushp(ng); *p = t;
            }
        }

        v = (i<<1)+1; nv = asg_arc_n(ug->g, v); av = asg_arc_a(ug->g, v);
        for (m = 0; m < nv; m++) {
            if(av[m].del) continue;
            w = av[m].v;
            vx = (v&1?((ug->u.a[v>>1].a[0]>>32)^1):(ug->u.a[v>>1].a[ug->u.a[v>>1].n-1]>>32));
            wx = (w&1?((ug->u.a[w>>1].a[ug->u.a[w>>1].n-1]>>32)^1):(ug->u.a[w>>1].a[0]>>32));
            if(vx > wx) continue;
            if((vx == wx) && (vx&1)) continue;///it is possible

            r = gen_spec_edge(ng, uopt, vx, wx, &t);
            if(r >= 0) {
                p = asg_arc_pushp(ng); *p = t;
                r = gen_spec_edge(ng, uopt, wx^1, vx^1, &t);
                assert(r >= 0); p = asg_arc_pushp(ng); *p = t;
            } else {
                z = nocc<<1; nocc++;
                push_scaff_node(R_INF.paf, vx, z, uopt->min_ovlp, ng);
                push_scaff_node(R_INF.paf, z, wx, uopt->min_ovlp, ng);

                r = gen_spec_edge(ng, uopt, vx, z, &t);
                assert(r >= 0); p = asg_arc_pushp(ng); *p = t;
                r = gen_spec_edge(ng, uopt, z^1, vx^1, &t);
                assert(r >= 0); p = asg_arc_pushp(ng); *p = t;

                r = gen_spec_edge(ng, uopt, z, wx, &t);
                assert(r >= 0); p = asg_arc_pushp(ng); *p = t;
                r = gen_spec_edge(ng, uopt, wx^1, z^1, &t);
                assert(r >= 0); p = asg_arc_pushp(ng); *p = t;
            }
        }
    }
    fprintf(stderr, "\n+[M::%s] 5\n", __func__);
    asg_cleanup(ng); ng->r_seq = ng->n_seq;
    free(ext.cnt.a); free(ext.idx_a.a); 
    fprintf(stderr, "[M::%s] nocc::%lu, ng->n_seq::%u, sg->n_seq::%u\n", 
    __func__, nocc, (uint32_t)ng->n_seq, (uint32_t)sg->n_seq);
    assert(nocc == ng->n_seq);
    return ng;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %r9, 0x38(%rsp)
movq %r8, 0x70(%rsp)
movq %rcx, 0x60(%rsp)
movq %rsi, %r14
movq %rdi, %r12
movq %rdx, 0x10(%rsp)
movslq 0x44(%rdx), %rax
movq %rax, 0x18(%rsp)
callq 0x9fccc
movq %rax, (%rsp)
movq %r14, 0x58(%rsp)
movl 0x14(%r14), %ebx
andl $0x7fffffff, %ebx       # imm = 0x7FFFFFFF
pushq $0x8
popq %rsi
movq %rbx, %rdi
callq 0x2120
movq %rax, 0x78(%rsp)
leaq (,%rbx,8), %r15
movq %r15, %rdi
callq 0x2280
movq %rax, %r14
movq %rax, %rdi
movl $0xff, %esi
movq %r15, %rdx
callq 0x20e0
movq 0x25c9d7(%rip), %rax    # 0x289fe0
movq (%rax), %rdi
leaq 0x210a70(%rip), %rsi    # 0x23e083
leaq 0x210a76(%rip), %rdx    # 0x23e090
xorl %eax, %eax
callq 0x22b0
movq 0x18(%r12), %rax
testl $0x7fffffff, 0x14(%rax) # imm = 0x7FFFFFFF
movabsq $0x100000000, %r9       # imm = 0x100000000
movq %r12, 0x40(%rsp)
jne 0x2d64e
movq %rbx, %rdx
movq 0x58(%rsp), %r15
movq %r14, %r8
jmp 0x2d746
movq %r12, %rdi
xorl %ecx, %ecx
movq %rbx, %rdx
movq 0x58(%rsp), %r15
movq 0x78(%rsp), %rsi
movq %r14, %r8
movq 0x10(%rdi), %r13
movq %rcx, 0x8(%rsp)
imulq $0x28, %rcx, %rax
cmpl $0x0, 0x10(%r13,%rax)
je 0x2d729
addq %rax, %r13
xorl %r14d, %r14d
movq 0x18(%r13), %rax
movq (%rax,%r14,8), %r12
movq %r12, %rbp
shrq $0x21, %rbp
movq (%rsi,%rbp,8), %rax
leaq 0x1(%rax), %rcx
movq %rcx, (%rsi,%rbp,8)
testq %rax, %rax
je 0x2d6f6
cmpq %rbx, %rdx
jne 0x2d6ea
leaq (%rbx,%rbx), %r15
testq %rbx, %rbx
pushq $0x2
popq %rax
cmoveq %rax, %r15
leaq (,%r15,8), %rsi
movq %r8, %rdi
movq %rdx, %rbx
callq 0x2370
movq %rbx, %rdx
movabsq $0x100000000, %r9       # imm = 0x100000000
movq 0x40(%rsp), %rdi
movq 0x78(%rsp), %rsi
movq %rax, %r8
movq %r15, %rbx
movq 0x58(%rsp), %r15
leaq (%r8,%rdx,8), %rcx
movq %rdx, %rax
incq %rdx
jmp 0x2d6fd
leaq (%r8,%rbp,8), %rcx
movq %rbp, %rax
movq %rbp, (%rcx)
shlq $0x21, %rax
andq %r9, %r12
orq %rax, %r12
movq 0x18(%r13), %rax
movl (%rax,%r14,8), %ecx
orq %r12, %rcx
movq %rcx, (%rax,%r14,8)
incq %r14
movl 0x10(%r13), %eax
cmpq %rax, %r14
jb 0x2d682
movq 0x8(%rsp), %rcx
incq %rcx
movq 0x18(%rdi), %rax
movl 0x14(%rax), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
cmpq %rax, %rcx
jb 0x2d663
movq %rbx, %r13
movq %rdx, 0x8(%rsp)
testl $0x7fffffff, 0x14(%r15) # imm = 0x7FFFFFFF
movq %r8, %r14
jne 0x2d760
xorl %r12d, %r12d
jmp 0x2d7c6
xorl %r12d, %r12d
movl $0x7fffffff, %ebp       # imm = 0x7FFFFFFF
movq (%rsp), %rbx
movq 0x20(%r15), %rax
movl (%rax,%r12,8), %edx
andl %ebp, %edx
xorl %ecx, %ecx
cmpq $-0x1, (%r8,%r12,8)
sete %cl
movq %rbx, %rdi
movl %r12d, %esi
callq 0xa0115
movq 0x20(%rbx), %rax
movb $0x0, 0x4(%rax,%r12,8)
movq (%r14,%r12,8), %rax
cmpq $-0x1, %rax
sete %cl
cmpq %rax, %r12
sete %al
orb %cl, %al
je 0x2eed5
movq %r14, %r8
movq %r12, (%r14,%r12,8)
incq %r12
movl 0x14(%r15), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
cmpq %rax, %r12
jb 0x2d76c
movq 0x8(%rsp), %rcx
cmpq %rcx, %r12
jae 0x2d81b
movl $0x7fffffff, %ebp       # imm = 0x7FFFFFFF
movq (%rsp), %rbx
movq 0x20(%r15), %rax
movq (%r8,%r12,8), %rcx
movl (%rax,%rcx,8), %edx
andl %ebp, %edx
movq %rbx, %rdi
movl %r12d, %esi
xorl %ecx, %ecx
callq 0xa0115
movq 0x20(%rbx), %rax
movb $0x0, 0x4(%rax,%r12,8)
movq (%r14,%r12,8), %rcx
cmpl $0x0, (%rax,%rcx,8)
js 0x2eef4
movq %r14, %r8
incq %r12
movq 0x8(%rsp), %rcx
cmpq %r12, %rcx
jne 0x2d7d9
movq (%rsp), %rdx
movl 0x14(%rdx), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movl %eax, 0x18(%rdx)
cmpq %rax, %rcx
jne 0x2ef13
movq 0x38(%rsp), %rax
movq 0x18(%rsp), %rcx
leaq (%rax,%rcx,2), %rax
movq %rax, 0x50(%rsp)
movq 0x25c793(%rip), %rbp    # 0x289fe0
movq (%rbp), %rdi
leaq 0x21088e(%rip), %rsi    # 0x23e0e6
leaq 0x210831(%rip), %rdx    # 0x23e090
xorl %eax, %eax
callq 0x22b0
movq 0x40(%rsp), %r9
movq 0x18(%r9), %rax
testl $0x7fffffff, 0x14(%rax) # imm = 0x7FFFFFFF
jne 0x2d880
movq %r14, %r10
jmp 0x2ddbb
movabsq $0x7fffffffffffffff, %rcx # imm = 0x7FFFFFFFFFFFFFFF
movq (%rsp), %rax
movl 0x18(%rax), %eax
movq %rax, 0x18(%rsp)
movq %r14, %r10
movq %rcx, %r14
movq %r13, %rbx
xorl %ecx, %ecx
movq 0x10(%r9), %r12
movq %rcx, 0x68(%rsp)
imulq $0x28, %rcx, %r11
cmpl $0x2, 0x10(%r12,%r11)
movq %r11, 0x38(%rsp)
jb 0x2da05
addq %r11, %r12
pushq $0x1
popq %r13
movq %r12, 0x48(%rsp)
movq 0x18(%r12), %rdx
movq -0x8(%rdx,%r13,8), %rax
movq %rax, %rcx
shrq $0x21, %rcx
movq (%r10,%rcx,8), %rcx
movq %rcx, %rsi
andq %r14, %rsi
movl 0x14(%r15), %r8d
andl $0x7fffffff, %r8d       # imm = 0x7FFFFFFF
cmpq %r8, %rsi
jae 0x2ec69
movq (%rdx,%r13,8), %rsi
movq %rsi, %rdx
shrq $0x21, %rdx
movq (%r10,%rdx,8), %rdi
movq %rdi, %rdx
andq %r14, %rdx
cmpq %r8, %rdx
jae 0x2ec4a
movq %r10, %rbp
shrq $0x20, %rax
shrq $0x20, %rsi
andl $0x1, %eax
leaq (%rax,%rcx,2), %rdx
andl $0x1, %esi
leaq (%rsi,%rdi,2), %rcx
movq %r15, %rdi
movq 0x10(%rsp), %rsi
leaq 0x20(%rsp), %r8
callq 0x1ee341
testl %eax, %eax
js 0x2d959
movq 0x40(%rsp), %r9
movq %rbp, %r10
movq 0x38(%rsp), %r11
jmp 0x2d9f4
movq %r15, %r12
movq %rbx, %r14
movq (%rsp), %rbx
movq %rbx, %rdi
movq 0x18(%rsp), %r15
movl %r15d, %esi
movq 0x50(%rsp), %rdx
xorl %ecx, %ecx
callq 0xa0115
movq 0x20(%rbx), %rax
movq %r14, %rbx
movb $0x0, 0x4(%rax,%r15,8)
cmpq %r14, 0x8(%rsp)
jne 0x2d9be
leaq (%rbx,%rbx), %r15
testq %rbx, %rbx
pushq $0x2
popq %rax
cmoveq %rax, %r15
leaq (,%r15,8), %rsi
movq %rbp, %rdi
callq 0x2370
movq %rax, %r10
movq %r15, %rbx
movq 0x58(%rsp), %r15
movq 0x40(%rsp), %r9
jmp 0x2d9c9
movq 0x40(%rsp), %r9
movq %rbp, %r10
movq %r12, %r15
movq 0x38(%rsp), %r11
movq 0x48(%rsp), %r12
movq 0x8(%rsp), %rax
orq $-0x1, (%r10,%rax,8)
incq %rax
movq %rax, 0x8(%rsp)
incq 0x18(%rsp)
movabsq $0x7fffffffffffffff, %r14 # imm = 0x7FFFFFFFFFFFFFFF
incq %r13
movl 0x10(%r12), %eax
cmpq %rax, %r13
jb 0x2d8cb
movq 0x18(%r9), %rcx
movq 0x28(%rcx), %rax
movq 0x68(%rsp), %rdx
shlq $0x4, %rdx
movq (%rax,%rdx), %rax
movq %rax, %rdx
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
andq %rsi, %rdx
je 0x2dbd1
movq 0x8(%rcx), %rcx
shrq $0x20, %rax
imulq $0x18, %rdx, %rbp
imulq $0x18, %rax, %rax
leaq (%rcx,%rax), %r13
addq $0xc, %r13
xorl %r12d, %r12d
cmpl $0x0, (%r13,%r12)
js 0x2dbc4
movl -0x4(%r13,%r12), %edx
movq 0x10(%r9), %rcx
movl %edx, %eax
shrl %eax
imulq $0x28, %rax, %rax
testb $0x1, %dl
jne 0x2da72
movq 0x18(%rcx,%rax), %rax
movl 0x4(%rax), %eax
jmp 0x2da85
movq 0x18(%rcx,%rax), %rdx
movl 0x10(%rcx,%rax), %eax
decl %eax
movl 0x4(%rdx,%rax,8), %eax
xorq $0x1, %rax
movq 0x18(%rcx,%r11), %rdx
movl 0x10(%rcx,%r11), %ecx
decl %ecx
movq (%rdx,%rcx,8), %rcx
movq %rcx, %rdx
shrq $0x21, %rdx
movq (%r10,%rdx,8), %rdx
movq %rdx, %rsi
andq %r14, %rsi
movl 0x14(%r15), %edi
andl $0x7fffffff, %edi       # imm = 0x7FFFFFFF
cmpq %rdi, %rsi
jae 0x2eca7
movl %eax, %esi
shrl %esi
movq (%r10,%rsi,8), %rsi
movq %rsi, %r8
andq %r14, %r8
cmpq %rdi, %r8
jae 0x2ec88
shrq $0x20, %rcx
cmpl %eax, %ecx
ja 0x2dbc4
movl %ecx, %edi
andl $0x1, %edi
je 0x2daeb
cmpl %eax, %ecx
je 0x2dbc4
movq %r10, %r14
leaq (%rdi,%rdx,2), %rdx
andl $0x1, %eax
leaq (%rax,%rsi,2), %rcx
movq %r15, %rdi
movq 0x10(%rsp), %rsi
leaq 0x20(%rsp), %r8
callq 0x1ee341
testl %eax, %eax
js 0x2db2b
movq 0x40(%rsp), %r9
movq %r14, %r10
movabsq $0x7fffffffffffffff, %r14 # imm = 0x7FFFFFFFFFFFFFFF
movq 0x38(%rsp), %r11
jmp 0x2dbc4
movq %rbx, 0x48(%rsp)
movq (%rsp), %rbx
movq %rbx, %rdi
movq 0x18(%rsp), %r15
movl %r15d, %esi
movq 0x50(%rsp), %rdx
xorl %ecx, %ecx
callq 0xa0115
movq 0x20(%rbx), %rax
movq 0x48(%rsp), %rbx
movb $0x0, 0x4(%rax,%r15,8)
cmpq %rbx, 0x8(%rsp)
jne 0x2db91
leaq (%rbx,%rbx), %r15
testq %rbx, %rbx
pushq $0x2
popq %rax
cmoveq %rax, %r15
leaq (,%r15,8), %rsi
movq %r14, %rdi
callq 0x2370
movq %rax, %r10
movq %r15, %rbx
movq 0x58(%rsp), %r15
movq 0x40(%rsp), %r9
jmp 0x2db9e
movq 0x40(%rsp), %r9
movq %r14, %r10
movq 0x58(%rsp), %r15
movq 0x38(%rsp), %r11
movq 0x8(%rsp), %rax
orq $-0x1, (%r10,%rax,8)
incq %rax
movq %rax, 0x8(%rsp)
incq 0x18(%rsp)
movabsq $0x7fffffffffffffff, %r14 # imm = 0x7FFFFFFFFFFFFFFF
addq $0x18, %r12
cmpq %r12, %rbp
jne 0x2da46
movq 0x68(%rsp), %rax
addq %rax, %rax
movq 0x18(%r9), %rdx
movq 0x28(%rdx), %rcx
movq 0x8(%rcx,%rax,8), %rax
movq %rax, %rcx
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
andq %rsi, %rcx
je 0x2dd97
movq 0x8(%rdx), %rdx
shrq $0x20, %rax
imulq $0x18, %rcx, %r13
imulq $0x18, %rax, %rax
leaq (%rdx,%rax), %r12
addq $0xc, %r12
xorl %ebp, %ebp
cmpl $0x0, (%r12,%rbp)
js 0x2dd8a
movl -0x4(%r12,%rbp), %edx
movq 0x10(%r9), %rcx
movl %edx, %eax
shrl %eax
imulq $0x28, %rax, %rax
testb $0x1, %dl
jne 0x2dc3c
movq 0x18(%rcx,%rax), %rax
movl 0x4(%rax), %eax
jmp 0x2dc4f
movq 0x18(%rcx,%rax), %rdx
movl 0x10(%rcx,%rax), %eax
decl %eax
movl 0x4(%rdx,%rax,8), %eax
xorq $0x1, %rax
movq 0x18(%rcx,%r11), %rcx
movq (%rcx), %rcx
movq %rcx, %rdx
shrq $0x21, %rdx
movq (%r10,%rdx,8), %rdx
movq %rdx, %rsi
andq %r14, %rsi
movl 0x14(%r15), %edi
andl $0x7fffffff, %edi       # imm = 0x7FFFFFFF
cmpq %rdi, %rsi
jae 0x2ece5
movl %eax, %esi
shrl %esi
movq (%r10,%rsi,8), %rsi
movq %rsi, %r8
andq %r14, %r8
cmpq %rdi, %r8
jae 0x2ecc6
shrq $0x20, %rcx
xorq $0x1, %rcx
cmpl %eax, %ecx
ja 0x2dd8a
movl %ecx, %edi
andl $0x1, %edi
je 0x2dcb1
cmpl %eax, %ecx
je 0x2dd8a
movq %r10, %r14
leaq (%rdi,%rdx,2), %rdx
andl $0x1, %eax
leaq (%rax,%rsi,2), %rcx
movq %r15, %rdi
movq 0x10(%rsp), %rsi
leaq 0x20(%rsp), %r8
callq 0x1ee341
testl %eax, %eax
js 0x2dcf1
movq 0x40(%rsp), %r9
movq %r14, %r10
movabsq $0x7fffffffffffffff, %r14 # imm = 0x7FFFFFFFFFFFFFFF
movq 0x38(%rsp), %r11
jmp 0x2dd8a
movq %rbx, 0x48(%rsp)
movq (%rsp), %rbx
movq %rbx, %rdi
movq 0x18(%rsp), %r15
movl %r15d, %esi
movq 0x50(%rsp), %rdx
xorl %ecx, %ecx
callq 0xa0115
movq 0x20(%rbx), %rax
movq 0x48(%rsp), %rbx
movb $0x0, 0x4(%rax,%r15,8)
cmpq %rbx, 0x8(%rsp)
jne 0x2dd57
leaq (%rbx,%rbx), %r15
testq %rbx, %rbx
pushq $0x2
popq %rax
cmoveq %rax, %r15
leaq (,%r15,8), %rsi
movq %r14, %rdi
callq 0x2370
movq %rax, %r10
movq %r15, %rbx
movq 0x58(%rsp), %r15
movq 0x40(%rsp), %r9
jmp 0x2dd64
movq 0x40(%rsp), %r9
movq %r14, %r10
movq 0x58(%rsp), %r15
movq 0x38(%rsp), %r11
movq 0x8(%rsp), %rax
orq $-0x1, (%r10,%rax,8)
incq %rax
movq %rax, 0x8(%rsp)
incq 0x18(%rsp)
movabsq $0x7fffffffffffffff, %r14 # imm = 0x7FFFFFFFFFFFFFFF
addq $0x18, %rbp
cmpq %rbp, %r13
jne 0x2dc11
movq 0x68(%rsp), %rcx
incq %rcx
movq 0x18(%r9), %rax
movl 0x14(%rax), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
cmpq %rax, %rcx
movq 0x25c22b(%rip), %rbp    # 0x289fe0
jb 0x2d8a1
movq %r10, 0x80(%rsp)
movq (%rbp), %rdi
leaq 0x210325(%rip), %rsi    # 0x23e0f3
leaq 0x2102bb(%rip), %rdx    # 0x23e090
xorl %eax, %eax
callq 0x22b0
movq (%rsp), %rax
movl 0x14(%rax), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movq 0x8(%rsp), %r14
cmpq %rax, %r14
jne 0x2ef32
addl %eax, %eax
movslq %eax, %rdi
pushq $0x1
popq %rsi
callq 0x2120
movq (%rsp), %rbx
movq %rax, 0x30(%rbx)
subq $0x8, %rsp
leaq 0x1f6765(%rip), %rax    # 0x22457b
leaq 0x25d413(%rip), %r13    # 0x28b230
movq %r13, %rdi
movq 0x68(%rsp), %rsi
movq 0x78(%rsp), %rdx
movq 0x88(%rsp), %r12
movq %r12, %rcx
movq %r14, %r8
movq 0x58(%rsp), %r9
pushq 0x18(%rsp)
pushq %rbx
pushq %rax
callq 0x2d131
addq $0x20, %rsp
movq (%rbp), %rdi
leaq 0x2102a9(%rip), %rsi    # 0x23e100
leaq 0x210232(%rip), %rdx    # 0x23e090
xorl %eax, %eax
callq 0x22b0
movq 0x78(%r13), %rdi
movq 0x80(%r13), %rsi
movl 0x14(%r15), %r8d
andl $0x7fffffff, %r8d       # imm = 0x7FFFFFFF
movq %r12, %rdx
movq %r14, %rcx
movq %rbx, %r9
callq 0x21928e
movq (%rbp), %rdi
leaq 0x210279(%rip), %rsi    # 0x23e10d
leaq 0x2101f5(%rip), %rdx    # 0x23e090
xorl %eax, %eax
callq 0x22b0
movl 0x18(%rbx), %eax
movq %rax, 0x18(%rsp)
movq 0x40(%rsp), %rsi
movq 0x18(%rsi), %rax
testl $0x7fffffff, 0x14(%rax) # imm = 0x7FFFFFFF
je 0x2eba6
movq (%rsp), %rcx
leaq 0x4(%rcx), %rax
movq %rax, 0x8(%rsp)
movq %rcx, %rax
addq $0x8, %rax
movq %rax, 0x38(%rsp)
xorl %ecx, %ecx
leaq 0x20(%rsp), %r12
movq 0x10(%rsi), %rdx
movq %rcx, 0x68(%rsp)
imulq $0x28, %rcx, %rax
cmpl $0x2, 0x10(%rdx,%rax)
movq %rax, 0x48(%rsp)
jb 0x2e295
addq %rax, %rdx
pushq $0x1
popq %rbp
movq 0x10(%rsp), %r15
movq %rdx, 0x50(%rsp)
movq 0x18(%rdx), %rax
movq -0x8(%rax,%rbp,8), %r13
movq (%rax,%rbp,8), %r14
shrq $0x20, %r13
shrq $0x20, %r14
movq (%rsp), %rdi
movq %r15, %rsi
movl %r13d, %edx
movl %r14d, %ecx
movq %r12, %r8
callq 0x1ee341
testl %eax, %eax
js 0x2dfd9
movq (%rsp), %rdx
movl 0x4(%rdx), %ecx
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
andl %eax, %ecx
movl (%rdx), %eax
cmpl %eax, %ecx
jne 0x2df75
leal (%rax,%rax), %ecx
testl %eax, %eax
pushq $0x10
popq %rax
cmovel %eax, %ecx
movq (%rsp), %rbx
movl %ecx, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rcx, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movq (%rsp), %rdi
movq 0x8(%rdi), %rax
movl 0x4(%rdi), %ecx
movl %ecx, %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
leal 0x1(%rcx), %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl $0x80000000, %ecx       # imm = 0x80000000
orl %esi, %ecx
movl %ecx, 0x4(%rdi)
imulq $0x18, %rdx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
xorl $0x1, %r14d
xorl $0x1, %r13d
movq %r15, %rsi
movl %r14d, %edx
movl %r13d, %ecx
movq %r12, %r8
callq 0x1ee341
testl %eax, %eax
jns 0x2e20a
jmp 0x2ed04
movq %r15, %r12
movq 0x18(%rsp), %rax
leaq (%rax,%rax), %r15
leaq 0x25d244(%rip), %rbx    # 0x28b230
movq 0x78(%rbx), %rdi
movslq 0x44(%r12), %rcx
movq %r13, %rsi
movq %r15, %rdx
movq (%rsp), %r8
callq 0x21775e
movq 0x78(%rbx), %rdi
movq (%rsp), %rbx
movslq 0x44(%r12), %rcx
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %r8
callq 0x21775e
movq %rbx, %rdi
movq %r12, %rsi
movl %r13d, %edx
movl %r15d, %ecx
leaq 0x20(%rsp), %r8
callq 0x1ee341
testl %eax, %eax
js 0x2ed80
movq (%rsp), %rdx
movl 0x4(%rdx), %ecx
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
andl %eax, %ecx
movl (%rdx), %eax
cmpl %eax, %ecx
jne 0x2e073
leal (%rax,%rax), %ecx
testl %eax, %eax
pushq $0x10
popq %rax
cmovel %eax, %ecx
movq (%rsp), %rbx
movl %ecx, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rcx, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movq (%rsp), %rdi
movq 0x8(%rdi), %rax
movl 0x4(%rdi), %ecx
movl %ecx, %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
leal 0x1(%rcx), %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl $0x80000000, %ecx       # imm = 0x80000000
orl %esi, %ecx
movl %ecx, 0x4(%rdi)
imulq $0x18, %rdx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
movl %r15d, %r12d
orl $0x1, %r12d
xorl $0x1, %r13d
movq 0x10(%rsp), %rsi
movl %r12d, %edx
movl %r13d, %ecx
leaq 0x20(%rsp), %r8
callq 0x1ee341
testl %eax, %eax
js 0x2ed23
movq (%rsp), %rdx
movl 0x4(%rdx), %ecx
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
andl %eax, %ecx
movl (%rdx), %eax
cmpl %eax, %ecx
jne 0x2e10f
leal (%rax,%rax), %ecx
testl %eax, %eax
pushq $0x10
popq %rax
cmovel %eax, %ecx
movq (%rsp), %rbx
movl %ecx, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rcx, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movq (%rsp), %rdi
movq 0x8(%rdi), %rax
movl 0x4(%rdi), %ecx
movl %ecx, %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
leal 0x1(%rcx), %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl $0x80000000, %ecx       # imm = 0x80000000
orl %esi, %ecx
movl %ecx, 0x4(%rdi)
imulq $0x18, %rdx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
movq 0x10(%rsp), %rsi
movl %r15d, %edx
movl %r14d, %ecx
leaq 0x20(%rsp), %r8
callq 0x1ee341
testl %eax, %eax
js 0x2ed42
movq (%rsp), %rdx
movl 0x4(%rdx), %ecx
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
andl %eax, %ecx
movl (%rdx), %eax
cmpl %eax, %ecx
jne 0x2e1a0
leal (%rax,%rax), %ecx
testl %eax, %eax
pushq $0x10
popq %rax
cmovel %eax, %ecx
movq (%rsp), %rbx
movl %ecx, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rcx, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movq (%rsp), %rdi
movq 0x8(%rdi), %rax
movl 0x4(%rdi), %ecx
movl %ecx, %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
leal 0x1(%rcx), %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl $0x80000000, %ecx       # imm = 0x80000000
orl %esi, %ecx
movl %ecx, 0x4(%rdi)
imulq $0x18, %rdx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
xorl $0x1, %r14d
movq 0x10(%rsp), %r15
movq %r15, %rsi
movl %r14d, %edx
movl %r12d, %ecx
leaq 0x20(%rsp), %r12
movq %r12, %r8
callq 0x1ee341
testl %eax, %eax
js 0x2ed61
incq 0x18(%rsp)
movq (%rsp), %rdx
movl 0x4(%rdx), %ecx
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
andl %eax, %ecx
movl (%rdx), %eax
cmpl %eax, %ecx
jne 0x2e240
leal (%rax,%rax), %ecx
testl %eax, %eax
pushq $0x10
popq %rax
cmovel %eax, %ecx
movq (%rsp), %rbx
movl %ecx, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rcx, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movq 0x38(%rsp), %rax
movq (%rax), %rax
movq 0x8(%rsp), %rdi
movl (%rdi), %ecx
movl %ecx, %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
leal 0x1(%rcx), %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl $0x80000000, %ecx       # imm = 0x80000000
orl %esi, %ecx
movl %ecx, (%rdi)
imulq $0x18, %rdx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
incq %rbp
movq 0x50(%rsp), %rdx
movl 0x10(%rdx), %eax
cmpq %rax, %rbp
jb 0x2df0d
movq 0x40(%rsp), %rsi
movq 0x18(%rsi), %rcx
movq 0x28(%rcx), %rax
movq 0x68(%rsp), %rdx
shlq $0x4, %rdx
movq (%rax,%rdx), %rax
movq %rax, %rdx
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
andq %rdi, %rdx
je 0x2e6fd
movq 0x8(%rcx), %rcx
shrq $0x20, %rax
imulq $0x18, %rdx, %r8
imulq $0x18, %rax, %rax
leaq (%rcx,%rax), %r10
addq $0xc, %r10
xorl %ebp, %ebp
movabsq $0x100000000, %rdi      # imm = 0x100000000
movq 0x48(%rsp), %r9
movq %r8, 0x50(%rsp)
movq %r10, 0x70(%rsp)
cmpl $0x0, (%r10,%rbp)
js 0x2e6ee
movl -0x4(%r10,%rbp), %edx
movq 0x10(%rsi), %rax
movl %edx, %ecx
shrl %ecx
imulq $0x28, %rcx, %rcx
testb $0x1, %dl
jne 0x2e31f
movq 0x18(%rax,%rcx), %rcx
movl 0x4(%rcx), %r14d
jmp 0x2e333
movq 0x18(%rax,%rcx), %rdx
movl 0x10(%rax,%rcx), %ecx
decl %ecx
movl 0x4(%rdx,%rcx,8), %r14d
xorq $0x1, %r14
movq 0x18(%rax,%r9), %rcx
movl 0x10(%rax,%r9), %eax
decl %eax
movq (%rcx,%rax,8), %rax
movq %rax, %r13
shrq $0x20, %r13
cmpl %r14d, %r13d
ja 0x2e6ee
testq %rdi, %rax
je 0x2e361
cmpl %r14d, %r13d
je 0x2e6ee
movq (%rsp), %rdi
movq %r12, %r15
movq 0x10(%rsp), %r12
movq %r12, %rsi
movl %r13d, %edx
movl %r14d, %ecx
movq %r15, %r8
callq 0x1ee341
testl %eax, %eax
js 0x2e427
movq (%rsp), %rdx
movl 0x4(%rdx), %ecx
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
andl %eax, %ecx
movl (%rdx), %eax
cmpl %eax, %ecx
jne 0x2e3bc
leal (%rax,%rax), %ecx
testl %eax, %eax
pushq $0x10
popq %rax
cmovel %eax, %ecx
movq (%rsp), %rbx
movl %ecx, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rcx, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movq (%rsp), %rdi
movq 0x8(%rdi), %rax
movl 0x4(%rdi), %ecx
movl %ecx, %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
leal 0x1(%rcx), %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl $0x80000000, %ecx       # imm = 0x80000000
orl %esi, %ecx
movl %ecx, 0x4(%rdi)
imulq $0x18, %rdx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
xorl $0x1, %r14d
xorl $0x1, %r13d
movq 0x10(%rsp), %rsi
movl %r14d, %edx
movl %r13d, %ecx
leaq 0x20(%rsp), %r12
movq %r12, %r8
callq 0x1ee341
testl %eax, %eax
jns 0x2e659
jmp 0x2ed9f
movq 0x18(%rsp), %rax
leaq (%rax,%rax), %rdx
movq %rdx, 0x60(%rsp)
leaq 0x25cdf4(%rip), %rbx    # 0x28b230
movq 0x78(%rbx), %rdi
movslq 0x44(%r12), %rcx
movq %r13, %rsi
movq (%rsp), %r8
callq 0x21775e
movq 0x78(%rbx), %rdi
movq (%rsp), %rbx
movslq 0x44(%r12), %rcx
movq 0x60(%rsp), %rsi
movq %r14, %rdx
movq %rbx, %r8
callq 0x21775e
movq %rbx, %rdi
movq %r12, %rsi
movl %r13d, %edx
movq 0x60(%rsp), %rcx
movq %rcx, %r12
movq %r15, %r8
callq 0x1ee341
testl %eax, %eax
js 0x2eddd
movq (%rsp), %rdx
movl 0x4(%rdx), %ecx
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
andl %eax, %ecx
movl (%rdx), %eax
cmpl %eax, %ecx
jne 0x2e4c5
leal (%rax,%rax), %ecx
testl %eax, %eax
pushq $0x10
popq %rax
cmovel %eax, %ecx
movq (%rsp), %rbx
movl %ecx, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rcx, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movq (%rsp), %rdi
movq 0x8(%rdi), %rax
movl 0x4(%rdi), %ecx
movl %ecx, %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
leal 0x1(%rcx), %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl $0x80000000, %ecx       # imm = 0x80000000
orl %esi, %ecx
movl %ecx, 0x4(%rdi)
imulq $0x18, %rdx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
movq %r12, %r15
orl $0x1, %r12d
xorl $0x1, %r13d
movq 0x10(%rsp), %rsi
movl %r12d, %edx
movl %r13d, %ecx
leaq 0x20(%rsp), %r8
callq 0x1ee341
testl %eax, %eax
js 0x2edfc
movq (%rsp), %rdx
movl 0x4(%rdx), %ecx
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
andl %eax, %ecx
movl (%rdx), %eax
cmpl %eax, %ecx
jne 0x2e561
leal (%rax,%rax), %ecx
testl %eax, %eax
pushq $0x10
popq %rax
cmovel %eax, %ecx
movq (%rsp), %rbx
movl %ecx, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rcx, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movq (%rsp), %rdi
movq 0x8(%rdi), %rax
movl 0x4(%rdi), %ecx
movl %ecx, %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
leal 0x1(%rcx), %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl $0x80000000, %ecx       # imm = 0x80000000
orl %esi, %ecx
movl %ecx, 0x4(%rdi)
imulq $0x18, %rdx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
movq 0x10(%rsp), %rsi
movl %r15d, %edx
movl %r14d, %ecx
leaq 0x20(%rsp), %r8
callq 0x1ee341
testl %eax, %eax
js 0x2ee1b
movq (%rsp), %rdx
movl 0x4(%rdx), %ecx
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
andl %eax, %ecx
movl (%rdx), %eax
cmpl %eax, %ecx
jne 0x2e5f2
leal (%rax,%rax), %ecx
testl %eax, %eax
pushq $0x10
popq %rax
cmovel %eax, %ecx
movq (%rsp), %rbx
movl %ecx, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rcx, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movq (%rsp), %rdi
movq 0x8(%rdi), %rax
movl 0x4(%rdi), %ecx
movl %ecx, %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
leal 0x1(%rcx), %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl $0x80000000, %ecx       # imm = 0x80000000
orl %esi, %ecx
movl %ecx, 0x4(%rdi)
imulq $0x18, %rdx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
xorl $0x1, %r14d
movq 0x10(%rsp), %rsi
movl %r14d, %edx
movl %r12d, %ecx
leaq 0x20(%rsp), %r12
movq %r12, %r8
callq 0x1ee341
testl %eax, %eax
js 0x2ee3a
incq 0x18(%rsp)
movq (%rsp), %rdx
movl 0x4(%rdx), %ecx
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
andl %eax, %ecx
movl (%rdx), %eax
cmpl %eax, %ecx
jne 0x2e68f
leal (%rax,%rax), %ecx
testl %eax, %eax
pushq $0x10
popq %rax
cmovel %eax, %ecx
movq (%rsp), %rbx
movl %ecx, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rcx, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movq 0x38(%rsp), %rax
movq (%rax), %rax
movq 0x8(%rsp), %rdi
movl (%rdi), %ecx
movl %ecx, %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
leal 0x1(%rcx), %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl $0x80000000, %ecx       # imm = 0x80000000
orl %esi, %ecx
movl %ecx, (%rdi)
imulq $0x18, %rdx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
movq 0x40(%rsp), %rsi
movabsq $0x100000000, %rdi      # imm = 0x100000000
movq 0x48(%rsp), %r9
movq 0x50(%rsp), %r8
movq 0x70(%rsp), %r10
addq $0x18, %rbp
cmpq %rbp, %r8
jne 0x2e2f3
jmp 0x2e70c
movabsq $0x100000000, %rdi      # imm = 0x100000000
movq 0x48(%rsp), %r9
movq 0x68(%rsp), %rax
addq %rax, %rax
movq 0x18(%rsi), %rdx
movq 0x28(%rdx), %rcx
movq 0x8(%rcx,%rax,8), %rax
movq %rax, %rcx
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
andq %r8, %rcx
je 0x2eb7d
movq 0x8(%rdx), %rdx
shrq $0x20, %rax
imulq $0x18, %rcx, %r8
imulq $0x18, %rax, %rax
leaq (%rdx,%rax), %r10
addq $0xc, %r10
xorl %r15d, %r15d
movq 0x25b88b(%rip), %rbp    # 0x289fe0
movq %r8, 0x50(%rsp)
movq %r10, 0x70(%rsp)
cmpl $0x0, (%r10,%r15)
js 0x2eb6e
movl -0x4(%r10,%r15), %edx
movq 0x10(%rsi), %rax
movl %edx, %ecx
shrl %ecx
imulq $0x28, %rcx, %rcx
testb $0x1, %dl
jne 0x2e78b
movq 0x18(%rax,%rcx), %rcx
movl 0x4(%rcx), %r14d
jmp 0x2e79f
movq 0x18(%rax,%rcx), %rdx
movl 0x10(%rax,%rcx), %ecx
decl %ecx
movl 0x4(%rdx,%rcx,8), %r14d
xorq $0x1, %r14
movq 0x18(%rax,%r9), %rax
movq (%rax), %rax
movq %rax, %r13
shrq $0x20, %r13
movq %r13, %r12
xorq $0x1, %r12
cmpl %r14d, %r12d
ja 0x2e7c8
movq %r12, %rcx
xorq %r14, %rcx
andq %rdi, %rax
orq %rcx, %rax
jne 0x2e7d2
leaq 0x20(%rsp), %r12
jmp 0x2eb6e
movq (%rsp), %rdi
movq 0x10(%rsp), %rbp
movq %rbp, %rsi
movl %r12d, %edx
movl %r14d, %ecx
leaq 0x20(%rsp), %r8
callq 0x1ee341
testl %eax, %eax
js 0x2e89a
movq (%rsp), %rdx
movl 0x4(%rdx), %ecx
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
andl %eax, %ecx
movl (%rdx), %eax
cmpl %eax, %ecx
jne 0x2e82c
leal (%rax,%rax), %ecx
testl %eax, %eax
pushq $0x10
popq %rax
cmovel %eax, %ecx
movq (%rsp), %rbx
movl %ecx, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rcx, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movq (%rsp), %rdi
movq 0x8(%rdi), %rax
movl 0x4(%rdi), %ecx
movl %ecx, %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
leal 0x1(%rcx), %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl $0x80000000, %ecx       # imm = 0x80000000
orl %esi, %ecx
movl %ecx, 0x4(%rdi)
imulq $0x18, %rdx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
xorl $0x1, %r14d
movq 0x10(%rsp), %rsi
movl %r14d, %edx
movl %r13d, %ecx
leaq 0x20(%rsp), %r12
movq %r12, %r8
callq 0x1ee341
testl %eax, %eax
movq 0x25b751(%rip), %rbp    # 0x289fe0
jns 0x2ead9
jmp 0x2edbe
movq 0x18(%rsp), %rax
leaq (%rax,%rax), %rdx
movq %rdx, 0x60(%rsp)
leaq 0x25c981(%rip), %rbx    # 0x28b230
movq 0x78(%rbx), %rdi
movslq 0x44(%rbp), %rcx
movq %r12, %rsi
movq (%rsp), %r8
callq 0x21775e
movq 0x78(%rbx), %rdi
movq (%rsp), %rbx
movslq 0x44(%rbp), %rcx
movq 0x60(%rsp), %rsi
movq %r14, %rdx
movq %rbx, %r8
callq 0x21775e
movq %rbx, %rdi
movq 0x60(%rsp), %rbx
movq %rbp, %rsi
movl %r12d, %edx
movl %ebx, %ecx
leaq 0x20(%rsp), %r8
callq 0x1ee341
testl %eax, %eax
js 0x2ee59
movq (%rsp), %rdx
movl 0x4(%rdx), %ecx
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
andl %eax, %ecx
movl (%rdx), %eax
cmpl %eax, %ecx
jne 0x2e93d
leal (%rax,%rax), %ecx
testl %eax, %eax
pushq $0x10
popq %rax
cmovel %eax, %ecx
movq %rbx, %r12
movq (%rsp), %rbx
movl %ecx, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rcx, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movq %r12, %rbx
movq (%rsp), %rdi
movq 0x8(%rdi), %rax
movl 0x4(%rdi), %ecx
movl %ecx, %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
leal 0x1(%rcx), %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl $0x80000000, %ecx       # imm = 0x80000000
orl %esi, %ecx
movl %ecx, 0x4(%rdi)
imulq $0x18, %rdx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
movl %ebx, %r12d
orl $0x1, %r12d
movq 0x10(%rsp), %rsi
movl %r12d, %edx
movl %r13d, %ecx
leaq 0x20(%rsp), %r8
callq 0x1ee341
testl %eax, %eax
movq 0x25b640(%rip), %rbp    # 0x289fe0
js 0x2ee78
movq (%rsp), %rdx
movl 0x4(%rdx), %ecx
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
andl %eax, %ecx
movl (%rdx), %eax
cmpl %eax, %ecx
jne 0x2e9e2
leal (%rax,%rax), %ecx
testl %eax, %eax
pushq $0x10
popq %rax
cmovel %eax, %ecx
movq %rbx, %r13
movq (%rsp), %rbx
movl %ecx, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rcx, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movq %r13, %rbx
movq (%rsp), %rdi
movq 0x8(%rdi), %rax
movl 0x4(%rdi), %ecx
movl %ecx, %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
leal 0x1(%rcx), %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl $0x80000000, %ecx       # imm = 0x80000000
orl %esi, %ecx
movl %ecx, 0x4(%rdi)
imulq $0x18, %rdx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
movq 0x10(%rsp), %rsi
movl %ebx, %edx
movl %r14d, %ecx
leaq 0x20(%rsp), %r8
callq 0x1ee341
testl %eax, %eax
js 0x2ee97
movq (%rsp), %rdx
movl 0x4(%rdx), %ecx
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
andl %eax, %ecx
movl (%rdx), %eax
cmpl %eax, %ecx
jne 0x2ea72
leal (%rax,%rax), %ecx
testl %eax, %eax
pushq $0x10
popq %rax
cmovel %eax, %ecx
movq (%rsp), %rbx
movl %ecx, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rcx, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movq (%rsp), %rdi
movq 0x8(%rdi), %rax
movl 0x4(%rdi), %ecx
movl %ecx, %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
leal 0x1(%rcx), %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl $0x80000000, %ecx       # imm = 0x80000000
orl %esi, %ecx
movl %ecx, 0x4(%rdi)
imulq $0x18, %rdx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
xorl $0x1, %r14d
movq 0x10(%rsp), %rsi
movl %r14d, %edx
movl %r12d, %ecx
leaq 0x20(%rsp), %r12
movq %r12, %r8
callq 0x1ee341
testl %eax, %eax
js 0x2eeb6
incq 0x18(%rsp)
movq (%rsp), %rdx
movl 0x4(%rdx), %ecx
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
andl %eax, %ecx
movl (%rdx), %eax
cmpl %eax, %ecx
jne 0x2eb0f
leal (%rax,%rax), %ecx
testl %eax, %eax
pushq $0x10
popq %rax
cmovel %eax, %ecx
movq (%rsp), %rbx
movl %ecx, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rcx, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movq 0x38(%rsp), %rax
movq (%rax), %rax
movq 0x8(%rsp), %rdi
movl (%rdi), %ecx
movl %ecx, %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
leal 0x1(%rcx), %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl $0x80000000, %ecx       # imm = 0x80000000
orl %esi, %ecx
movl %ecx, (%rdi)
imulq $0x18, %rdx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
movq 0x40(%rsp), %rsi
movabsq $0x100000000, %rdi      # imm = 0x100000000
movq 0x48(%rsp), %r9
movq 0x50(%rsp), %r8
movq 0x70(%rsp), %r10
addq $0x18, %r15
cmpq %r15, %r8
jne 0x2e75f
jmp 0x2eb84
movq 0x25b45c(%rip), %rbp    # 0x289fe0
movq 0x68(%rsp), %rcx
incq %rcx
movq 0x18(%rsi), %rax
movl 0x14(%rax), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
cmpq %rax, %rcx
movq 0x58(%rsp), %r15
jb 0x2dee0
movq (%rbp), %rdi
leaq 0x20f569(%rip), %rsi    # 0x23e11a
leaq 0x20f4d8(%rip), %r14    # 0x23e090
movq %r14, %rdx
xorl %eax, %eax
callq 0x22b0
movq (%rsp), %rbx
movq %rbx, %rdi
callq 0xa02fa
movq %r15, %r12
movl $0x7fffffff, %r15d      # imm = 0x7FFFFFFF
movl 0x14(%rbx), %eax
andl %r15d, %eax
movl %eax, 0x18(%rbx)
movq 0x78(%rsp), %rdi
callq 0x2220
movq 0x80(%rsp), %rdi
callq 0x2220
movq (%rbp), %rdi
movl 0x14(%rbx), %r8d
andl %r15d, %r8d
andl 0x14(%r12), %r15d
leaq 0x20efa8(%rip), %rsi    # 0x23dbb6
movq %r14, %rdx
movq 0x18(%rsp), %r14
movq %r14, %rcx
movl %r15d, %r9d
xorl %eax, %eax
callq 0x22b0
movl 0x14(%rbx), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
cmpq %rax, %r14
jne 0x2ef51
movq (%rsp), %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x20eee5(%rip), %rdi    # 0x23db36
leaq 0x20a6cd(%rip), %rsi    # 0x239325
leaq 0x20f438(%rip), %rcx    # 0x23e097
movl $0x43a2, %edx           # imm = 0x43A2
callq 0x2110
leaq 0x20eeaf(%rip), %rdi    # 0x23db1f
leaq 0x20a6ae(%rip), %rsi    # 0x239325
leaq 0x20f419(%rip), %rcx    # 0x23e097
movl $0x43a1, %edx           # imm = 0x43A1
callq 0x2110
leaq 0x20eea7(%rip), %rdi    # 0x23db36
leaq 0x20a68f(%rip), %rsi    # 0x239325
leaq 0x20f3fa(%rip), %rcx    # 0x23e097
movl $0x43b4, %edx           # imm = 0x43B4
callq 0x2110
leaq 0x20ee71(%rip), %rdi    # 0x23db1f
leaq 0x20a670(%rip), %rsi    # 0x239325
leaq 0x20f3db(%rip), %rcx    # 0x23e097
movl $0x43b3, %edx           # imm = 0x43B3
callq 0x2110
leaq 0x20ee69(%rip), %rdi    # 0x23db36
leaq 0x20a651(%rip), %rsi    # 0x239325
leaq 0x20f3bc(%rip), %rcx    # 0x23e097
movl $0x43c8, %edx           # imm = 0x43C8
callq 0x2110
leaq 0x20ee33(%rip), %rdi    # 0x23db1f
leaq 0x20a632(%rip), %rsi    # 0x239325
leaq 0x20f39d(%rip), %rcx    # 0x23e097
movl $0x43c7, %edx           # imm = 0x43C7
callq 0x2110
leaq 0x1f8e6f(%rip), %rdi    # 0x227b7a
leaq 0x20a613(%rip), %rsi    # 0x239325
leaq 0x20f37e(%rip), %rcx    # 0x23e097
movl $0x43e7, %edx           # imm = 0x43E7
callq 0x2110
leaq 0x1f8e50(%rip), %rdi    # 0x227b7a
leaq 0x20a5f4(%rip), %rsi    # 0x239325
leaq 0x20f35f(%rip), %rcx    # 0x23e097
movl $0x43f0, %edx           # imm = 0x43F0
callq 0x2110
leaq 0x1f8e31(%rip), %rdi    # 0x227b7a
leaq 0x20a5d5(%rip), %rsi    # 0x239325
leaq 0x20f340(%rip), %rcx    # 0x23e097
movl $0x43f3, %edx           # imm = 0x43F3
callq 0x2110
leaq 0x1f8e12(%rip), %rdi    # 0x227b7a
leaq 0x20a5b6(%rip), %rsi    # 0x239325
leaq 0x20f321(%rip), %rcx    # 0x23e097
movl $0x43f5, %edx           # imm = 0x43F5
callq 0x2110
leaq 0x1f8df3(%rip), %rdi    # 0x227b7a
leaq 0x20a597(%rip), %rsi    # 0x239325
leaq 0x20f302(%rip), %rcx    # 0x23e097
movl $0x43ee, %edx           # imm = 0x43EE
callq 0x2110
leaq 0x1f8dd4(%rip), %rdi    # 0x227b7a
leaq 0x20a578(%rip), %rsi    # 0x239325
leaq 0x20f2e3(%rip), %rcx    # 0x23e097
movl $0x4406, %edx           # imm = 0x4406
callq 0x2110
leaq 0x1f8db5(%rip), %rdi    # 0x227b7a
leaq 0x20a559(%rip), %rsi    # 0x239325
leaq 0x20f2c4(%rip), %rcx    # 0x23e097
movl $0x4425, %edx           # imm = 0x4425
callq 0x2110
leaq 0x1f8d96(%rip), %rdi    # 0x227b7a
leaq 0x20a53a(%rip), %rsi    # 0x239325
leaq 0x20f2a5(%rip), %rcx    # 0x23e097
movl $0x440d, %edx           # imm = 0x440D
callq 0x2110
leaq 0x1f8d77(%rip), %rdi    # 0x227b7a
leaq 0x20a51b(%rip), %rsi    # 0x239325
leaq 0x20f286(%rip), %rcx    # 0x23e097
movl $0x440f, %edx           # imm = 0x440F
callq 0x2110
leaq 0x1f8d58(%rip), %rdi    # 0x227b7a
leaq 0x20a4fc(%rip), %rsi    # 0x239325
leaq 0x20f267(%rip), %rcx    # 0x23e097
movl $0x4412, %edx           # imm = 0x4412
callq 0x2110
leaq 0x1f8d39(%rip), %rdi    # 0x227b7a
leaq 0x20a4dd(%rip), %rsi    # 0x239325
leaq 0x20f248(%rip), %rcx    # 0x23e097
movl $0x4414, %edx           # imm = 0x4414
callq 0x2110
leaq 0x1f8d1a(%rip), %rdi    # 0x227b7a
leaq 0x20a4be(%rip), %rsi    # 0x239325
leaq 0x20f229(%rip), %rcx    # 0x23e097
movl $0x442c, %edx           # imm = 0x442C
callq 0x2110
leaq 0x1f8cfb(%rip), %rdi    # 0x227b7a
leaq 0x20a49f(%rip), %rsi    # 0x239325
leaq 0x20f20a(%rip), %rcx    # 0x23e097
movl $0x442e, %edx           # imm = 0x442E
callq 0x2110
leaq 0x1f8cdc(%rip), %rdi    # 0x227b7a
leaq 0x20a480(%rip), %rsi    # 0x239325
leaq 0x20f1eb(%rip), %rcx    # 0x23e097
movl $0x4431, %edx           # imm = 0x4431
callq 0x2110
leaq 0x1f8cbd(%rip), %rdi    # 0x227b7a
leaq 0x20a461(%rip), %rsi    # 0x239325
leaq 0x20f1cc(%rip), %rcx    # 0x23e097
movl $0x4433, %edx           # imm = 0x4433
callq 0x2110
leaq 0x20eb8f(%rip), %rdi    # 0x23da6b
leaq 0x20a442(%rip), %rsi    # 0x239325
leaq 0x20f1ad(%rip), %rcx    # 0x23e097
movl $0x438e, %edx           # imm = 0x438E
callq 0x2110
leaq 0x20ebec(%rip), %rdi    # 0x23dae7
leaq 0x20a423(%rip), %rsi    # 0x239325
leaq 0x20f18e(%rip), %rcx    # 0x23e097
movl $0x4393, %edx           # imm = 0x4393
callq 0x2110
leaq 0x20ebec(%rip), %rdi    # 0x23db06
leaq 0x20a404(%rip), %rsi    # 0x239325
leaq 0x20f16f(%rip), %rcx    # 0x23e097
movl $0x4398, %edx           # imm = 0x4398
callq 0x2110
leaq 0x20ebcd(%rip), %rdi    # 0x23db06
leaq 0x20a3e5(%rip), %rsi    # 0x239325
leaq 0x20f150(%rip), %rcx    # 0x23e097
movl $0x43d6, %edx           # imm = 0x43D6
callq 0x2110
leaq 0x20ec98(%rip), %rdi    # 0x23dbf0
leaq 0x20a3c6(%rip), %rsi    # 0x239325
leaq 0x20f131(%rip), %rcx    # 0x23e097
movl $0x443c, %edx           # imm = 0x443C
callq 0x2110