// File: /workspace/github_cpp_makefile_star2_O3/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, 0x8(%rsp)
movq %r8, 0x80(%rsp)
movq %rcx, 0x78(%rsp)
movq %rdx, (%rsp)
movq %rsi, %r14
movq %rdi, %r12
movslq 0x44(%rdx), %rax
movq %rax, 0x48(%rsp)
callq 0xa0485
movq %rax, 0x38(%rsp)
movq %r14, 0x60(%rsp)
movl 0x14(%r14), %r13d
andl $0x7fffffff, %r13d      # imm = 0x7FFFFFFF
pushq $0x8
popq %rsi
movq %r13, %rdi
callq 0x2120
movq %rax, 0x70(%rsp)
leaq (,%r13,8), %r15
movq %r15, %rdi
callq 0x2280
movq %rax, %r14
movq %rax, %rdi
movl $0xff, %esi
movq %r15, %rdx
callq 0x20e0
movq 0x268438(%rip), %rax    # 0x294fe0
movq (%rax), %rdi
leaq 0x21d7b5(%rip), %rsi    # 0x24a367
leaq 0x21d7bb(%rip), %rdx    # 0x24a374
xorl %eax, %eax
callq 0x22b0
movq %r12, 0x18(%rsp)
movq 0x18(%r12), %rcx
testl $0x7fffffff, 0x14(%rcx) # imm = 0x7FFFFFFF
jne 0x2cbe3
movq %r13, %r10
movq 0x60(%rsp), %r15
movq %r14, %r9
jmp 0x2cce2
xorl %esi, %esi
movq %r13, %r10
movq 0x60(%rsp), %r15
movq 0x70(%rsp), %r8
movq %r14, %r9
movq 0x18(%rsp), %rax
movq 0x10(%rax), %rbx
imulq $0x28, %rsi, %rdx
movl 0x10(%rbx,%rdx), %eax
testl %eax, %eax
je 0x2ccce
movq %rsi, 0x10(%rsp)
addq %rdx, %rbx
movq 0x18(%rbx), %rcx
xorl %r14d, %r14d
movq (%rcx,%r14,8), %r12
movq %r12, %rbp
shrq $0x21, %rbp
movq (%r8,%rbp,8), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, (%r8,%rbp,8)
testq %rdx, %rdx
je 0x2cc89
cmpq %r13, %r10
jne 0x2cc7d
leaq (,%r13,2), %r15
testq %r13, %r13
pushq $0x2
popq %rax
cmoveq %rax, %r15
leaq (,%r15,8), %rsi
movq %r9, %rdi
movq %r10, %r13
callq 0x2370
movq %r13, %r10
movq 0x70(%rsp), %r8
movq %rax, %r9
movq 0x18(%rbx), %rcx
movl 0x10(%rbx), %eax
movq %r15, %r13
movq 0x60(%rsp), %r15
leaq (%r9,%r10,8), %rdx
movq %r10, %rsi
incq %r10
jmp 0x2cc90
leaq (%r9,%rbp,8), %rdx
movq %rbp, %rsi
movq %rbp, (%rdx)
shlq $0x21, %rsi
movabsq $0x100000000, %rdx      # imm = 0x100000000
andq %rdx, %r12
orq %rsi, %r12
movl (%rcx,%r14,8), %edx
orq %r12, %rdx
movq %rdx, (%rcx,%r14,8)
incq %r14
movl %eax, %edx
cmpq %rdx, %r14
jb 0x2cc1d
movq 0x18(%rsp), %rax
movq 0x18(%rax), %rcx
movq 0x10(%rsp), %rsi
incq %rsi
movl 0x14(%rcx), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
cmpq %rax, %rsi
jb 0x2cbf5
movq %r13, 0x58(%rsp)
movq %r10, %r13
testl $0x7fffffff, 0x14(%r15) # imm = 0x7FFFFFFF
movq %r9, %r14
jne 0x2ccfc
xorl %r12d, %r12d
jmp 0x2cd63
xorl %r12d, %r12d
movl $0x7fffffff, %ebp       # imm = 0x7FFFFFFF
movq 0x38(%rsp), %rbx
movq 0x20(%r15), %rax
movl (%rax,%r12,8), %edx
andl %ebp, %edx
xorl %ecx, %ecx
cmpq $-0x1, (%r9,%r12,8)
sete %cl
movq %rbx, %rdi
movl %r12d, %esi
callq 0xa0887
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 0x2e481
movq %r14, %r9
movq %r12, (%r14,%r12,8)
incq %r12
movl 0x14(%r15), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
cmpq %rax, %r12
jb 0x2cd09
movq %r13, %rcx
cmpq %r13, %r12
jae 0x2cdb5
movl $0x7fffffff, %ebp       # imm = 0x7FFFFFFF
movq 0x38(%rsp), %rbx
movq 0x20(%r15), %rax
movq (%r9,%r12,8), %rcx
movl (%rax,%rcx,8), %edx
andl %ebp, %edx
movq %rbx, %rdi
movl %r12d, %esi
xorl %ecx, %ecx
callq 0xa0887
movq 0x20(%rbx), %rax
movb $0x0, 0x4(%rax,%r12,8)
movq (%r14,%r12,8), %rcx
cmpl $0x0, (%rax,%rcx,8)
js 0x2e4a0
movq %r14, %r9
incq %r12
movq %r13, %rcx
cmpq %r12, %r13
jne 0x2cd75
movq 0x38(%rsp), %rdx
movl 0x14(%rdx), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movl %eax, 0x18(%rdx)
cmpq %rax, %rcx
jne 0x2e4bf
movq 0x8(%rsp), %rax
movq 0x48(%rsp), %rcx
leaq (%rax,%rcx,2), %rax
movq %rax, 0x40(%rsp)
movq 0x2681f8(%rip), %rax    # 0x294fe0
movq (%rax), %rdi
leaq 0x21d5d8(%rip), %rsi    # 0x24a3ca
leaq 0x21d57b(%rip), %rdx    # 0x24a374
xorl %eax, %eax
callq 0x22b0
movq 0x18(%rsp), %rax
movq 0x18(%rax), %rax
testl $0x7fffffff, 0x14(%rax) # imm = 0x7FFFFFFF
jne 0x2ce1d
movq %r14, %r9
movq %r13, %r10
jmp 0x2d358
movabsq $0x7fffffffffffffff, %r11 # imm = 0x7FFFFFFFFFFFFFFF
movq 0x38(%rsp), %rcx
movl 0x18(%rcx), %ecx
movq %rcx, 0x10(%rsp)
movq %r14, %r9
movq %r13, %r10
xorl %ebx, %ebx
movq 0x18(%rsp), %rcx
movq 0x10(%rcx), %rdx
imulq $0x28, %rbx, %rcx
movl 0x10(%rdx,%rcx), %ebp
cmpl $0x2, %ebp
movq %rbx, 0x68(%rsp)
movq %rcx, 0x8(%rsp)
jb 0x2cfa3
addq %rcx, %rdx
pushq $0x1
popq %r13
movq %rdx, %rbx
movq %rdx, 0x48(%rsp)
movq 0x18(%rbx), %rdx
movq -0x8(%rdx,%r13,8), %rax
movq %rax, %rcx
shrq $0x21, %rcx
movq (%r9,%rcx,8), %rcx
movq %rcx, %rsi
andq %r11, %rsi
movl 0x14(%r15), %r8d
andl $0x7fffffff, %r8d       # imm = 0x7FFFFFFF
cmpq %r8, %rsi
jae 0x2e215
movq (%rdx,%r13,8), %rsi
movq %rsi, %rdx
shrq $0x21, %rdx
movq (%r9,%rdx,8), %rdi
movq %rdi, %rdx
andq %r11, %rdx
cmpq %r8, %rdx
jae 0x2e1f6
movq %r10, %r12
movq %r9, %r14
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 (%rsp), %rsi
leaq 0x20(%rsp), %r8
callq 0x1f94d8
testl %eax, %eax
js 0x2cf01
movq %r14, %r9
movq %r12, %r10
movabsq $0x7fffffffffffffff, %r11 # imm = 0x7FFFFFFFFFFFFFFF
jmp 0x2cf87
movq 0x38(%rsp), %rbp
movq %rbp, %rdi
movq 0x10(%rsp), %rbx
movl %ebx, %esi
movq 0x40(%rsp), %rdx
xorl %ecx, %ecx
callq 0xa0887
movq 0x20(%rbp), %rax
movb $0x0, 0x4(%rax,%rbx,8)
movq 0x58(%rsp), %rax
cmpq %rax, %r12
jne 0x2cf5f
leaq (%rax,%rax), %r15
testq %rax, %rax
pushq $0x2
popq %rax
cmoveq %rax, %r15
leaq (,%r15,8), %rsi
movq %r14, %rdi
callq 0x2370
movq %r12, %r10
movq %rax, %r9
movq %r15, 0x58(%rsp)
movq 0x60(%rsp), %r15
jmp 0x2cf65
movq %r12, %r10
movq %r14, %r9
movabsq $0x7fffffffffffffff, %r11 # imm = 0x7FFFFFFFFFFFFFFF
orq $-0x1, (%r9,%r10,8)
incq %r10
incq %rbx
movq %rbx, 0x10(%rsp)
movq 0x48(%rsp), %rbx
movl 0x10(%rbx), %ebp
incq %r13
movl %ebp, %eax
cmpq %rax, %r13
jb 0x2ce6f
movq 0x18(%rsp), %rax
movq 0x18(%rax), %rax
movq 0x68(%rsp), %rbx
movq 0x8(%rax), %rcx
movq 0x28(%rax), %rdx
movq %rbx, %rsi
shlq $0x4, %rsi
movq (%rdx,%rsi), %rsi
movq %rsi, %rdi
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
andq %r8, %rdi
je 0x2d17a
shrq $0x20, %rsi
imulq $0x18, %rdi, %rbx
imulq $0x18, %rsi, %rax
leaq (%rcx,%rax), %r13
addq $0xc, %r13
xorl %r12d, %r12d
movq %rbx, 0x50(%rsp)
cmpl $0x0, (%r13,%r12)
js 0x2d157
movl -0x4(%r13,%r12), %edx
movq 0x18(%rsp), %rax
movq 0x10(%rax), %rcx
movl %edx, %eax
shrl %eax
imulq $0x28, %rax, %rax
testb $0x1, %dl
jne 0x2d015
movq 0x18(%rcx,%rax), %rax
movl 0x4(%rax), %eax
jmp 0x2d028
movq 0x18(%rcx,%rax), %rdx
movl 0x10(%rcx,%rax), %eax
decl %eax
movl 0x4(%rdx,%rax,8), %eax
xorq $0x1, %rax
movq 0x8(%rsp), %rsi
movq 0x18(%rcx,%rsi), %rdx
movl 0x10(%rcx,%rsi), %ecx
decl %ecx
movq (%rdx,%rcx,8), %rcx
movq %rcx, %rdx
shrq $0x21, %rdx
movq (%r9,%rdx,8), %rdx
movq %rdx, %rsi
andq %r11, %rsi
movl 0x14(%r15), %edi
andl $0x7fffffff, %edi       # imm = 0x7FFFFFFF
cmpq %rdi, %rsi
jae 0x2e253
movl %eax, %esi
shrl %esi
movq (%r9,%rsi,8), %rsi
movq %rsi, %r8
andq %r11, %r8
cmpq %rdi, %r8
jae 0x2e234
shrq $0x20, %rcx
cmpl %eax, %ecx
ja 0x2d157
movl %ecx, %r8d
andl $0x1, %r8d
je 0x2d094
cmpl %eax, %ecx
je 0x2d157
movq %r15, %rdi
movq %r10, %r14
movq %r9, 0x48(%rsp)
leaq (%r8,%rdx,2), %rdx
andl $0x1, %eax
leaq (%rax,%rsi,2), %rcx
movq (%rsp), %rsi
leaq 0x20(%rsp), %r8
callq 0x1f94d8
testl %eax, %eax
js 0x2d0d3
movq 0x48(%rsp), %r9
movq %r14, %r10
movabsq $0x7fffffffffffffff, %r11 # imm = 0x7FFFFFFFFFFFFFFF
jmp 0x2d157
movq 0x38(%rsp), %rbp
movq %rbp, %rdi
movq 0x10(%rsp), %rbx
movl %ebx, %esi
movq 0x40(%rsp), %rdx
xorl %ecx, %ecx
callq 0xa0887
movq 0x20(%rbp), %rax
movb $0x0, 0x4(%rax,%rbx,8)
movq 0x58(%rsp), %rax
cmpq %rax, %r14
jne 0x2d133
leaq (%rax,%rax), %rbx
testq %rax, %rax
pushq $0x2
popq %rax
cmoveq %rax, %rbx
leaq (,%rbx,8), %rsi
movq 0x48(%rsp), %rdi
callq 0x2370
movq %r14, %r10
movq %rax, %r9
movq %rbx, 0x58(%rsp)
movq 0x60(%rsp), %r15
jmp 0x2d13b
movq %r14, %r10
movq 0x48(%rsp), %r9
movabsq $0x7fffffffffffffff, %r11 # imm = 0x7FFFFFFFFFFFFFFF
movq 0x50(%rsp), %rbx
orq $-0x1, (%r9,%r10,8)
incq %r10
incq 0x10(%rsp)
addq $0x18, %r12
cmpq %r12, %rbx
jne 0x2cfe4
movq 0x18(%rsp), %rax
movq 0x18(%rax), %rax
movq 0x8(%rax), %rcx
movq 0x28(%rax), %rdx
movq 0x68(%rsp), %rbx
leaq (%rbx,%rbx), %rsi
movq 0x8(%rdx,%rsi,8), %rdx
movq %rdx, %rsi
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
andq %rdi, %rsi
je 0x2d343
shrq $0x20, %rdx
imulq $0x18, %rsi, %r14
imulq $0x18, %rdx, %rax
leaq (%rcx,%rax), %r12
addq $0xc, %r12
xorl %ebp, %ebp
movq 0x8(%rsp), %r13
movq %r14, 0x50(%rsp)
cmpl $0x0, (%r12,%rbp)
js 0x2d32d
movl -0x4(%r12,%rbp), %edx
movq 0x18(%rsp), %rax
movq 0x10(%rax), %rcx
movl %edx, %eax
shrl %eax
imulq $0x28, %rax, %rax
testb $0x1, %dl
jne 0x2d1e4
movq 0x18(%rcx,%rax), %rax
movl 0x4(%rax), %eax
jmp 0x2d1f7
movq 0x18(%rcx,%rax), %rdx
movl 0x10(%rcx,%rax), %eax
decl %eax
movl 0x4(%rdx,%rax,8), %eax
xorq $0x1, %rax
movq 0x18(%rcx,%r13), %rcx
movq (%rcx), %rcx
movq %rcx, %rdx
shrq $0x21, %rdx
movq (%r9,%rdx,8), %rdx
movq %rdx, %rsi
andq %r11, %rsi
movl 0x14(%r15), %edi
andl $0x7fffffff, %edi       # imm = 0x7FFFFFFF
cmpq %rdi, %rsi
jae 0x2e291
movl %eax, %esi
shrl %esi
movq (%r9,%rsi,8), %rsi
movq %rsi, %r8
andq %r11, %r8
cmpq %rdi, %r8
jae 0x2e272
shrq $0x20, %rcx
xorq $0x1, %rcx
cmpl %eax, %ecx
ja 0x2d32d
movl %ecx, %r8d
andl $0x1, %r8d
je 0x2d25b
cmpl %eax, %ecx
je 0x2d32d
movq %r15, %rdi
movq %r10, %r14
movq %r9, 0x48(%rsp)
leaq (%r8,%rdx,2), %rdx
andl $0x1, %eax
leaq (%rax,%rsi,2), %rcx
movq (%rsp), %rsi
leaq 0x20(%rsp), %r8
callq 0x1f94d8
testl %eax, %eax
js 0x2d29f
movq 0x48(%rsp), %r9
movq %r14, %r10
movabsq $0x7fffffffffffffff, %r11 # imm = 0x7FFFFFFFFFFFFFFF
movq 0x50(%rsp), %r14
jmp 0x2d32d
movq 0x38(%rsp), %r13
movq %r13, %rdi
movq 0x10(%rsp), %rbx
movl %ebx, %esi
movq 0x40(%rsp), %rdx
xorl %ecx, %ecx
callq 0xa0887
movq 0x20(%r13), %rax
movb $0x0, 0x4(%rax,%rbx,8)
movq 0x58(%rsp), %rax
cmpq %rax, %r14
jne 0x2d2ff
leaq (%rax,%rax), %rbx
testq %rax, %rax
pushq $0x2
popq %rax
cmoveq %rax, %rbx
leaq (,%rbx,8), %rsi
movq 0x48(%rsp), %rdi
callq 0x2370
movq %r14, %r10
movq %rax, %r9
movq %rbx, 0x58(%rsp)
movq 0x60(%rsp), %r15
jmp 0x2d307
movq %r14, %r10
movq 0x48(%rsp), %r9
movabsq $0x7fffffffffffffff, %r11 # imm = 0x7FFFFFFFFFFFFFFF
movq 0x68(%rsp), %rbx
movq 0x8(%rsp), %r13
movq 0x50(%rsp), %r14
orq $-0x1, (%r9,%r10,8)
incq %r10
incq 0x10(%rsp)
addq $0x18, %rbp
cmpq %rbp, %r14
jne 0x2d1b4
movq 0x18(%rsp), %rax
movq 0x18(%rax), %rax
incq %rbx
movl 0x14(%rax), %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpq %rcx, %rbx
jb 0x2ce3c
movq %r9, 0x48(%rsp)
movq 0x267c7c(%rip), %r14    # 0x294fe0
movq (%r14), %rdi
leaq 0x21d069(%rip), %rsi    # 0x24a3d7
leaq 0x21cfff(%rip), %rdx    # 0x24a374
xorl %eax, %eax
movq %r10, %r12
callq 0x22b0
movq 0x38(%rsp), %rbx
movl 0x14(%rbx), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
cmpq %rax, %r12
jne 0x2e4de
addl %eax, %eax
movslq %eax, %rdi
pushq $0x1
popq %rsi
callq 0x2120
movq %rax, 0x30(%rbx)
subq $0x8, %rsp
leaq 0x2031da(%rip), %rax    # 0x23058b
leaq 0x268e78(%rip), %r13    # 0x296230
movq %r13, %rdi
movq 0x80(%rsp), %rsi
movq 0x88(%rsp), %rdx
movq 0x50(%rsp), %rbp
movq %rbp, %rcx
movq %r12, %r8
movq 0x48(%rsp), %r9
pushq 0x8(%rsp)
pushq %rbx
pushq %rax
callq 0x2c6cc
addq $0x20, %rsp
movq (%r14), %rdi
leaq 0x21cff0(%rip), %rsi    # 0x24a3e4
leaq 0x21cf79(%rip), %r14    # 0x24a374
movq %r14, %rdx
xorl %eax, %eax
callq 0x22b0
movq 0x78(%r13), %rdi
movq 0x80(%r13), %rsi
movl 0x14(%r15), %r8d
andl $0x7fffffff, %r8d       # imm = 0x7FFFFFFF
movq %rbp, %rdx
movq %r12, %rcx
movq %rbx, %r9
callq 0x224792
movq 0x267bb0(%rip), %rax    # 0x294fe0
movq (%rax), %rdi
leaq 0x21cfb7(%rip), %rsi    # 0x24a3f1
movq %r14, %rdx
xorl %eax, %eax
callq 0x22b0
movq %rbx, %rcx
movl 0x18(%rbx), %eax
movq %rax, 0x10(%rsp)
movq 0x18(%rsp), %rax
movq 0x18(%rax), %rax
testl $0x7fffffff, 0x14(%rax) # imm = 0x7FFFFFFF
jne 0x2d469
movq %rcx, %rbx
jmp 0x2e153
xorl %ebp, %ebp
leaq 0x20(%rsp), %r12
movq (%rsp), %rsi
movq %rcx, %rbx
movq 0x18(%rsp), %rcx
movq 0x10(%rcx), %r8
imulq $0x28, %rbp, %rcx
cmpl $0x2, 0x10(%r8,%rcx)
movq %rbp, 0x38(%rsp)
movq %rcx, 0x58(%rsp)
jb 0x2d865
addq %rcx, %r8
pushq $0x1
popq %rbp
movq %r8, 0x8(%rsp)
movq 0x18(%r8), %rax
movq -0x8(%rax,%rbp,8), %r13
movq (%rax,%rbp,8), %r14
shrq $0x20, %r13
shrq $0x20, %r14
movq %rbx, %rdi
movl %r13d, %edx
movl %r14d, %ecx
movq %r12, %r8
movq %rsi, %r15
callq 0x1f94d8
testl %eax, %eax
js 0x2d513
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl (%rbx), %ecx
jne 0x2d5b8
leal (%rcx,%rcx), %eax
testl %ecx, %ecx
pushq $0x10
popq %rcx
cmovel %ecx, %eax
movl %eax, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rax, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
jmp 0x2d5bc
movq 0x10(%rsp), %rax
leaq (%rax,%rax), %r12
leaq 0x268d0d(%rip), %rax    # 0x296230
movq 0x78(%rax), %rdi
movslq 0x44(%r15), %rcx
movq %r13, %rsi
movq %r12, %rdx
movq %rbx, %r8
callq 0x222c57
leaq 0x268cf0(%rip), %rax    # 0x296230
movq 0x78(%rax), %rdi
movslq 0x44(%r15), %rcx
movq %r12, %rsi
movq %r14, %rdx
movq %rbx, %r8
callq 0x222c57
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %r15
movl %r13d, %edx
movl %r15d, %ecx
leaq 0x20(%rsp), %r8
callq 0x1f94d8
testl %eax, %eax
js 0x2e32c
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl (%rbx), %ecx
jne 0x2d653
leal (%rcx,%rcx), %eax
testl %ecx, %ecx
pushq $0x10
popq %rcx
cmovel %ecx, %eax
movl %eax, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rax, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
jmp 0x2d657
movq 0x8(%rbx), %rax
movq %r15, %rsi
leal 0x1(%rdx), %edi
andl $0x7fffffff, %edi       # imm = 0x7FFFFFFF
andl $0x80000000, %edx       # imm = 0x80000000
orl %edi, %edx
movl %edx, 0x4(%rbx)
movl %ecx, %ecx
imulq $0x18, %rcx, %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 %rbx, %rdi
movl %r14d, %edx
movl %r13d, %ecx
movq %r12, %r8
callq 0x1f94d8
testl %eax, %eax
js 0x2e2b0
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl (%rbx), %ecx
jne 0x2d647
leal (%rcx,%rcx), %eax
testl %ecx, %ecx
pushq $0x10
popq %rcx
cmovel %ecx, %eax
movl %eax, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rax, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
jmp 0x2d64b
movq 0x8(%rbx), %rax
movq %r15, %rsi
jmp 0x2d810
movq 0x8(%rbx), %rax
leal 0x1(%rdx), %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl $0x80000000, %edx       # imm = 0x80000000
orl %esi, %edx
movl %edx, 0x4(%rbx)
movl %ecx, %ecx
imulq $0x18, %rcx, %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 %rbx, %rdi
movq (%rsp), %rsi
movl %r12d, %edx
movl %r13d, %ecx
leaq 0x20(%rsp), %r8
callq 0x1f94d8
testl %eax, %eax
js 0x2e2cf
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl (%rbx), %ecx
jne 0x2d6e8
leal (%rcx,%rcx), %eax
testl %ecx, %ecx
pushq $0x10
popq %rcx
cmovel %ecx, %eax
movl %eax, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rax, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
jmp 0x2d6ec
movq 0x8(%rbx), %rax
leal 0x1(%rdx), %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl $0x80000000, %edx       # imm = 0x80000000
orl %esi, %edx
movl %edx, 0x4(%rbx)
movl %ecx, %ecx
imulq $0x18, %rcx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
movq %rbx, %rdi
movq (%rsp), %rsi
movl %r15d, %edx
movl %r14d, %ecx
leaq 0x20(%rsp), %r8
callq 0x1f94d8
testl %eax, %eax
js 0x2e2ee
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl (%rbx), %ecx
jne 0x2d772
leal (%rcx,%rcx), %eax
testl %ecx, %ecx
pushq $0x10
popq %rcx
cmovel %ecx, %eax
movl %eax, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rax, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
jmp 0x2d776
movq 0x8(%rbx), %rax
leal 0x1(%rdx), %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl $0x80000000, %edx       # imm = 0x80000000
orl %esi, %edx
movl %edx, 0x4(%rbx)
movl %ecx, %ecx
imulq $0x18, %rcx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
xorl $0x1, %r14d
movq %rbx, %rdi
movq (%rsp), %rsi
movl %r14d, %edx
movl %r12d, %ecx
leaq 0x20(%rsp), %r12
movq %r12, %r8
callq 0x1f94d8
testl %eax, %eax
js 0x2e30d
incq 0x10(%rsp)
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl (%rbx), %ecx
jne 0x2d808
leal (%rcx,%rcx), %eax
testl %ecx, %ecx
pushq $0x10
popq %rcx
cmovel %ecx, %eax
movl %eax, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rax, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
jmp 0x2d80c
movq 0x8(%rbx), %rax
movq (%rsp), %rsi
movq 0x8(%rsp), %r8
leal 0x1(%rdx), %edi
andl $0x7fffffff, %edi       # imm = 0x7FFFFFFF
andl $0x80000000, %edx       # imm = 0x80000000
orl %edi, %edx
movl %edx, 0x4(%rbx)
movl %ecx, %ecx
imulq $0x18, %rcx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
incq %rbp
movl 0x10(%r8), %eax
cmpq %rax, %rbp
jb 0x2d4a5
movq 0x18(%rsp), %rax
movq 0x18(%rax), %rax
movq 0x38(%rsp), %rbp
movq 0x60(%rsp), %r15
movq 0x8(%rax), %rcx
movq 0x28(%rax), %rdx
movq %rbp, %rdi
shlq $0x4, %rdi
movq (%rdx,%rdi), %r9
movq %r9, %rdi
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
andq %r8, %rdi
je 0x2dca2
shrq $0x20, %r9
imulq $0x18, %rdi, %r8
imulq $0x18, %r9, %rax
leaq (%rcx,%rax), %r9
addq $0xc, %r9
xorl %ebp, %ebp
movq 0x58(%rsp), %rdi
movq %r8, 0x8(%rsp)
movq %r9, 0x40(%rsp)
cmpl $0x0, (%r9,%rbp)
js 0x2dc7a
movl -0x4(%r9,%rbp), %edx
movq 0x18(%rsp), %rax
movq 0x10(%rax), %rax
movl %edx, %ecx
shrl %ecx
imulq $0x28, %rcx, %rcx
testb $0x1, %dl
jne 0x2d8e0
movq 0x18(%rax,%rcx), %rcx
movl 0x4(%rcx), %r14d
jmp 0x2d8f4
movq 0x18(%rax,%rcx), %rdx
movl 0x10(%rax,%rcx), %ecx
decl %ecx
movl 0x4(%rdx,%rcx,8), %r14d
xorq $0x1, %r14
movq 0x18(%rax,%rdi), %rcx
movl 0x10(%rax,%rdi), %eax
decl %eax
movq (%rcx,%rax,8), %rax
movq %rax, %r13
shrq $0x20, %r13
cmpl %r14d, %r13d
ja 0x2dc7a
movabsq $0x100000000, %rcx      # imm = 0x100000000
testq %rcx, %rax
je 0x2d92b
cmpl %r14d, %r13d
je 0x2dc7a
movq %rbx, %rdi
movl %r13d, %edx
movl %r14d, %ecx
movq %r12, %r8
movq %rsi, %r15
callq 0x1f94d8
testl %eax, %eax
js 0x2d984
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl (%rbx), %ecx
jne 0x2da26
leal (%rcx,%rcx), %eax
testl %ecx, %ecx
pushq $0x10
popq %rcx
cmovel %ecx, %eax
movl %eax, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rax, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
jmp 0x2da2a
movq 0x10(%rsp), %rax
leaq (%rax,%rax), %r12
leaq 0x26889c(%rip), %rax    # 0x296230
movq 0x78(%rax), %rdi
movslq 0x44(%r15), %rcx
movq %r13, %rsi
movq %r12, %rdx
movq %rbx, %r8
callq 0x222c57
leaq 0x26887f(%rip), %rax    # 0x296230
movq 0x78(%rax), %rdi
movslq 0x44(%r15), %rcx
movq %r12, %rsi
movq %r14, %rdx
movq %rbx, %r8
callq 0x222c57
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %r15
movl %r13d, %edx
movl %r15d, %ecx
leaq 0x20(%rsp), %r8
callq 0x1f94d8
testl %eax, %eax
js 0x2e389
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl (%rbx), %ecx
jne 0x2da81
leal (%rcx,%rcx), %eax
testl %ecx, %ecx
pushq $0x10
popq %rcx
cmovel %ecx, %eax
movl %eax, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rax, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
jmp 0x2da85
movq 0x8(%rbx), %rax
movq (%rsp), %rsi
leal 0x1(%rdx), %edi
andl $0x7fffffff, %edi       # imm = 0x7FFFFFFF
andl $0x80000000, %edx       # imm = 0x80000000
orl %edi, %edx
movl %edx, 0x4(%rbx)
movl %ecx, %ecx
imulq $0x18, %rcx, %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 %rbx, %rdi
movl %r14d, %edx
movl %r13d, %ecx
movq %r12, %r8
callq 0x1f94d8
testl %eax, %eax
jns 0x2dbfc
jmp 0x2e34b
movq 0x8(%rbx), %rax
leal 0x1(%rdx), %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl $0x80000000, %edx       # imm = 0x80000000
orl %esi, %edx
movl %edx, 0x4(%rbx)
movl %ecx, %ecx
imulq $0x18, %rcx, %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 %rbx, %rdi
movq (%rsp), %rsi
movl %r12d, %edx
movl %r13d, %ecx
leaq 0x20(%rsp), %r8
callq 0x1f94d8
testl %eax, %eax
js 0x2e3a8
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl (%rbx), %ecx
jne 0x2db16
leal (%rcx,%rcx), %eax
testl %ecx, %ecx
pushq $0x10
popq %rcx
cmovel %ecx, %eax
movl %eax, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rax, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
jmp 0x2db1a
movq 0x8(%rbx), %rax
leal 0x1(%rdx), %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl $0x80000000, %edx       # imm = 0x80000000
orl %esi, %edx
movl %edx, 0x4(%rbx)
movl %ecx, %ecx
imulq $0x18, %rcx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
movq %rbx, %rdi
movq (%rsp), %rsi
movl %r15d, %edx
movl %r14d, %ecx
leaq 0x20(%rsp), %r8
callq 0x1f94d8
testl %eax, %eax
js 0x2e3c7
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl (%rbx), %ecx
jne 0x2dba0
leal (%rcx,%rcx), %eax
testl %ecx, %ecx
pushq $0x10
popq %rcx
cmovel %ecx, %eax
movl %eax, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rax, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
jmp 0x2dba4
movq 0x8(%rbx), %rax
leal 0x1(%rdx), %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl $0x80000000, %edx       # imm = 0x80000000
orl %esi, %edx
movl %edx, 0x4(%rbx)
movl %ecx, %ecx
imulq $0x18, %rcx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
xorl $0x1, %r14d
movq %rbx, %rdi
movq (%rsp), %rsi
movl %r14d, %edx
movl %r12d, %ecx
leaq 0x20(%rsp), %r12
movq %r12, %r8
callq 0x1f94d8
testl %eax, %eax
js 0x2e3e6
incq 0x10(%rsp)
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl (%rbx), %ecx
jne 0x2dc36
leal (%rcx,%rcx), %eax
testl %ecx, %ecx
pushq $0x10
popq %rcx
cmovel %ecx, %eax
movl %eax, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rax, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
jmp 0x2dc3a
movq 0x8(%rbx), %rax
movq (%rsp), %rsi
movq 0x8(%rsp), %r8
movq 0x40(%rsp), %r9
leal 0x1(%rdx), %edi
andl $0x7fffffff, %edi       # imm = 0x7FFFFFFF
andl $0x80000000, %edx       # imm = 0x80000000
orl %edi, %edx
movl %edx, 0x4(%rbx)
movl %ecx, %ecx
imulq $0x18, %rcx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
movq 0x58(%rsp), %rdi
addq $0x18, %rbp
cmpq %rbp, %r8
jne 0x2d8af
movq 0x18(%rsp), %rax
movq 0x18(%rax), %rax
movq 0x8(%rax), %rcx
movq 0x28(%rax), %rdx
movq 0x60(%rsp), %r15
movq 0x38(%rsp), %rbp
leaq (,%rbp,2), %rdi
movq 0x8(%rdx,%rdi,8), %rdx
movq %rdx, %r8
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
andq %rdi, %r8
je 0x2e13e
shrq $0x20, %rdx
imulq $0x18, %r8, %r8
imulq $0x18, %rdx, %rax
leaq (%rcx,%rax), %r9
addq $0xc, %r9
xorl %r15d, %r15d
movq 0x58(%rsp), %rdi
movq %r8, 0x40(%rsp)
movq %r9, 0x50(%rsp)
cmpl $0x0, (%r9,%r15)
js 0x2e123
movl -0x4(%r9,%r15), %edx
movq 0x18(%rsp), %rax
movq 0x10(%rax), %rax
movl %edx, %ecx
shrl %ecx
imulq $0x28, %rcx, %rcx
testb $0x1, %dl
jne 0x2dd17
movq 0x18(%rax,%rcx), %rcx
movl 0x4(%rcx), %r14d
jmp 0x2dd2b
movq 0x18(%rax,%rcx), %rdx
movl 0x10(%rax,%rcx), %ecx
decl %ecx
movl 0x4(%rdx,%rcx,8), %r14d
xorq $0x1, %r14
movq 0x18(%rax,%rdi), %rax
movq (%rax), %rax
movq %rax, %r13
shrq $0x20, %r13
movq %r13, %r12
xorq $0x1, %r12
cmpl %r14d, %r12d
ja 0x2dd5e
movq %r12, %rcx
xorq %r14, %rcx
movabsq $0x100000000, %rdx      # imm = 0x100000000
andq %rdx, %rax
orq %rcx, %rax
jne 0x2dd6c
movq (%rsp), %rsi
leaq 0x20(%rsp), %r12
jmp 0x2e123
movq %rbx, %rdi
movq (%rsp), %rbp
movq %rbp, %rsi
movl %r12d, %edx
movl %r14d, %ecx
leaq 0x20(%rsp), %r8
callq 0x1f94d8
testl %eax, %eax
js 0x2ddcb
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl (%rbx), %ecx
jne 0x2de73
leal (%rcx,%rcx), %eax
testl %ecx, %ecx
pushq $0x10
popq %rcx
cmovel %ecx, %eax
movl %eax, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rax, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
jmp 0x2de77
movq 0x10(%rsp), %rax
leaq (%rax,%rax), %rdx
movq %rdx, 0x8(%rsp)
leaq 0x268450(%rip), %rax    # 0x296230
movq 0x78(%rax), %rdi
movslq 0x44(%rbp), %rcx
movq %r12, %rsi
movq %rbx, %r8
callq 0x222c57
leaq 0x268436(%rip), %rax    # 0x296230
movq 0x78(%rax), %rdi
movslq 0x44(%rbp), %rcx
movq 0x8(%rsp), %rsi
movq %r14, %rdx
movq %rbx, %r8
callq 0x222c57
movq %rbx, %rdi
movq %rbp, %rsi
movl %r12d, %edx
movq 0x8(%rsp), %rcx
leaq 0x20(%rsp), %r8
callq 0x1f94d8
testl %eax, %eax
js 0x2e405
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl (%rbx), %ecx
jne 0x2df22
leal (%rcx,%rcx), %eax
testl %ecx, %ecx
pushq $0x10
popq %rcx
cmovel %ecx, %eax
movl %eax, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rax, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
jmp 0x2df26
movq 0x8(%rbx), %rax
movq (%rsp), %rsi
leaq 0x20(%rsp), %r12
leal 0x1(%rdx), %edi
andl $0x7fffffff, %edi       # imm = 0x7FFFFFFF
andl $0x80000000, %edx       # imm = 0x80000000
orl %edi, %edx
movl %edx, 0x4(%rbx)
movl %ecx, %ecx
imulq $0x18, %rcx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
xorl $0x1, %r14d
movq %rbx, %rdi
movq %rsi, %rbp
movl %r14d, %edx
movl %r13d, %ecx
movq %r12, %r8
callq 0x1f94d8
testl %eax, %eax
js 0x2e36a
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl (%rbx), %ecx
jne 0x2df07
leal (%rcx,%rcx), %eax
testl %ecx, %ecx
pushq $0x10
popq %rcx
cmovel %ecx, %eax
movl %eax, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rax, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
jmp 0x2df0b
movq 0x8(%rbx), %rax
movq %rbp, %rsi
movq 0x40(%rsp), %r8
movq 0x50(%rsp), %r9
movq 0x38(%rsp), %rbp
jmp 0x2e0f1
movq 0x8(%rbx), %rax
movq 0x38(%rsp), %rbp
leal 0x1(%rdx), %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl $0x80000000, %edx       # imm = 0x80000000
orl %esi, %edx
movl %edx, 0x4(%rbx)
movl %ecx, %ecx
imulq $0x18, %rcx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
movq 0x8(%rsp), %rax
movl %eax, %r12d
orl $0x1, %r12d
movq %rbx, %rdi
movq (%rsp), %rsi
movl %r12d, %edx
movl %r13d, %ecx
leaq 0x20(%rsp), %r8
callq 0x1f94d8
testl %eax, %eax
js 0x2e424
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl (%rbx), %ecx
jne 0x2dfbd
leal (%rcx,%rcx), %eax
testl %ecx, %ecx
pushq $0x10
popq %rcx
cmovel %ecx, %eax
movl %eax, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rax, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
jmp 0x2dfc1
movq 0x8(%rbx), %rax
leal 0x1(%rdx), %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl $0x80000000, %edx       # imm = 0x80000000
orl %esi, %edx
movl %edx, 0x4(%rbx)
movl %ecx, %ecx
imulq $0x18, %rcx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
movq %rbx, %rdi
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movl %r14d, %ecx
leaq 0x20(%rsp), %r8
callq 0x1f94d8
testl %eax, %eax
js 0x2e443
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl (%rbx), %ecx
jne 0x2e049
leal (%rcx,%rcx), %eax
testl %ecx, %ecx
pushq $0x10
popq %rcx
cmovel %ecx, %eax
movl %eax, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rax, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
jmp 0x2e04d
movq 0x8(%rbx), %rax
leal 0x1(%rdx), %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl $0x80000000, %edx       # imm = 0x80000000
orl %esi, %edx
movl %edx, 0x4(%rbx)
movl %ecx, %ecx
imulq $0x18, %rcx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
xorl $0x1, %r14d
movq %rbx, %rdi
movq (%rsp), %rsi
movl %r14d, %edx
movl %r12d, %ecx
leaq 0x20(%rsp), %r12
movq %r12, %r8
callq 0x1f94d8
testl %eax, %eax
js 0x2e462
incq 0x10(%rsp)
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl (%rbx), %ecx
jne 0x2e0df
leal (%rcx,%rcx), %eax
testl %ecx, %ecx
pushq $0x10
popq %rcx
cmovel %ecx, %eax
movl %eax, (%rbx)
movq 0x8(%rbx), %rdi
imulq $0x18, %rax, %rsi
callq 0x2370
movq %rax, 0x8(%rbx)
movl 0x4(%rbx), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
jmp 0x2e0e3
movq 0x8(%rbx), %rax
movq (%rsp), %rsi
movq 0x40(%rsp), %r8
movq 0x50(%rsp), %r9
leal 0x1(%rdx), %edi
andl $0x7fffffff, %edi       # imm = 0x7FFFFFFF
andl $0x80000000, %edx       # imm = 0x80000000
orl %edi, %edx
movl %edx, 0x4(%rbx)
movl %ecx, %ecx
imulq $0x18, %rcx, %rcx
movq 0x30(%rsp), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
movq 0x58(%rsp), %rdi
addq $0x18, %r15
cmpq %r15, %r8
jne 0x2dce6
movq 0x18(%rsp), %rax
movq 0x18(%rax), %rax
movq 0x60(%rsp), %r15
incq %rbp
movl 0x14(%rax), %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpq %rcx, %rbp
jb 0x2d477
movq 0x266e86(%rip), %r13    # 0x294fe0
movq (%r13), %rdi
leaq 0x21c299(%rip), %rsi    # 0x24a3fe
leaq 0x21c208(%rip), %r14    # 0x24a374
movq %r14, %rdx
xorl %eax, %eax
callq 0x22b0
movq %rbx, %rdi
callq 0xa0a7d
movq %r15, %r12
movl $0x7fffffff, %r15d      # imm = 0x7FFFFFFF
movl 0x14(%rbx), %eax
andl %r15d, %eax
movl %eax, 0x18(%rbx)
movq 0x70(%rsp), %rdi
callq 0x2220
movq 0x48(%rsp), %rdi
callq 0x2220
movq (%r13), %rdi
movl 0x14(%rbx), %r8d
andl %r15d, %r8d
andl 0x14(%r12), %r15d
leaq 0x21bcdf(%rip), %rsi    # 0x249e9a
movq %r14, %rdx
movq 0x10(%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 0x2e4fd
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x21bc1d(%rip), %rdi    # 0x249e1a
leaq 0x217405(%rip), %rsi    # 0x245609
leaq 0x21c170(%rip), %rcx    # 0x24a37b
movl $0x43a2, %edx           # imm = 0x43A2
callq 0x2110
leaq 0x21bbe7(%rip), %rdi    # 0x249e03
leaq 0x2173e6(%rip), %rsi    # 0x245609
leaq 0x21c151(%rip), %rcx    # 0x24a37b
movl $0x43a1, %edx           # imm = 0x43A1
callq 0x2110
leaq 0x21bbdf(%rip), %rdi    # 0x249e1a
leaq 0x2173c7(%rip), %rsi    # 0x245609
leaq 0x21c132(%rip), %rcx    # 0x24a37b
movl $0x43b4, %edx           # imm = 0x43B4
callq 0x2110
leaq 0x21bba9(%rip), %rdi    # 0x249e03
leaq 0x2173a8(%rip), %rsi    # 0x245609
leaq 0x21c113(%rip), %rcx    # 0x24a37b
movl $0x43b3, %edx           # imm = 0x43B3
callq 0x2110
leaq 0x21bba1(%rip), %rdi    # 0x249e1a
leaq 0x217389(%rip), %rsi    # 0x245609
leaq 0x21c0f4(%rip), %rcx    # 0x24a37b
movl $0x43c8, %edx           # imm = 0x43C8
callq 0x2110
leaq 0x21bb6b(%rip), %rdi    # 0x249e03
leaq 0x21736a(%rip), %rsi    # 0x245609
leaq 0x21c0d5(%rip), %rcx    # 0x24a37b
movl $0x43c7, %edx           # imm = 0x43C7
callq 0x2110
leaq 0x2059d3(%rip), %rdi    # 0x233c8a
leaq 0x21734b(%rip), %rsi    # 0x245609
leaq 0x21c0b6(%rip), %rcx    # 0x24a37b
movl $0x43e7, %edx           # imm = 0x43E7
callq 0x2110
leaq 0x2059b4(%rip), %rdi    # 0x233c8a
leaq 0x21732c(%rip), %rsi    # 0x245609
leaq 0x21c097(%rip), %rcx    # 0x24a37b
movl $0x43f0, %edx           # imm = 0x43F0
callq 0x2110
leaq 0x205995(%rip), %rdi    # 0x233c8a
leaq 0x21730d(%rip), %rsi    # 0x245609
leaq 0x21c078(%rip), %rcx    # 0x24a37b
movl $0x43f3, %edx           # imm = 0x43F3
callq 0x2110
leaq 0x205976(%rip), %rdi    # 0x233c8a
leaq 0x2172ee(%rip), %rsi    # 0x245609
leaq 0x21c059(%rip), %rcx    # 0x24a37b
movl $0x43f5, %edx           # imm = 0x43F5
callq 0x2110
leaq 0x205957(%rip), %rdi    # 0x233c8a
leaq 0x2172cf(%rip), %rsi    # 0x245609
leaq 0x21c03a(%rip), %rcx    # 0x24a37b
movl $0x43ee, %edx           # imm = 0x43EE
callq 0x2110
leaq 0x205938(%rip), %rdi    # 0x233c8a
leaq 0x2172b0(%rip), %rsi    # 0x245609
leaq 0x21c01b(%rip), %rcx    # 0x24a37b
movl $0x4406, %edx           # imm = 0x4406
callq 0x2110
leaq 0x205919(%rip), %rdi    # 0x233c8a
leaq 0x217291(%rip), %rsi    # 0x245609
leaq 0x21bffc(%rip), %rcx    # 0x24a37b
movl $0x4425, %edx           # imm = 0x4425
callq 0x2110
leaq 0x2058fa(%rip), %rdi    # 0x233c8a
leaq 0x217272(%rip), %rsi    # 0x245609
leaq 0x21bfdd(%rip), %rcx    # 0x24a37b
movl $0x440d, %edx           # imm = 0x440D
callq 0x2110
leaq 0x2058db(%rip), %rdi    # 0x233c8a
leaq 0x217253(%rip), %rsi    # 0x245609
leaq 0x21bfbe(%rip), %rcx    # 0x24a37b
movl $0x440f, %edx           # imm = 0x440F
callq 0x2110
leaq 0x2058bc(%rip), %rdi    # 0x233c8a
leaq 0x217234(%rip), %rsi    # 0x245609
leaq 0x21bf9f(%rip), %rcx    # 0x24a37b
movl $0x4412, %edx           # imm = 0x4412
callq 0x2110
leaq 0x20589d(%rip), %rdi    # 0x233c8a
leaq 0x217215(%rip), %rsi    # 0x245609
leaq 0x21bf80(%rip), %rcx    # 0x24a37b
movl $0x4414, %edx           # imm = 0x4414
callq 0x2110
leaq 0x20587e(%rip), %rdi    # 0x233c8a
leaq 0x2171f6(%rip), %rsi    # 0x245609
leaq 0x21bf61(%rip), %rcx    # 0x24a37b
movl $0x442c, %edx           # imm = 0x442C
callq 0x2110
leaq 0x20585f(%rip), %rdi    # 0x233c8a
leaq 0x2171d7(%rip), %rsi    # 0x245609
leaq 0x21bf42(%rip), %rcx    # 0x24a37b
movl $0x442e, %edx           # imm = 0x442E
callq 0x2110
leaq 0x205840(%rip), %rdi    # 0x233c8a
leaq 0x2171b8(%rip), %rsi    # 0x245609
leaq 0x21bf23(%rip), %rcx    # 0x24a37b
movl $0x4431, %edx           # imm = 0x4431
callq 0x2110
leaq 0x205821(%rip), %rdi    # 0x233c8a
leaq 0x217199(%rip), %rsi    # 0x245609
leaq 0x21bf04(%rip), %rcx    # 0x24a37b
movl $0x4433, %edx           # imm = 0x4433
callq 0x2110
leaq 0x21b8c7(%rip), %rdi    # 0x249d4f
leaq 0x21717a(%rip), %rsi    # 0x245609
leaq 0x21bee5(%rip), %rcx    # 0x24a37b
movl $0x438e, %edx           # imm = 0x438E
callq 0x2110
leaq 0x21b924(%rip), %rdi    # 0x249dcb
leaq 0x21715b(%rip), %rsi    # 0x245609
leaq 0x21bec6(%rip), %rcx    # 0x24a37b
movl $0x4393, %edx           # imm = 0x4393
callq 0x2110
leaq 0x21b924(%rip), %rdi    # 0x249dea
leaq 0x21713c(%rip), %rsi    # 0x245609
leaq 0x21bea7(%rip), %rcx    # 0x24a37b
movl $0x4398, %edx           # imm = 0x4398
callq 0x2110
leaq 0x21b905(%rip), %rdi    # 0x249dea
leaq 0x21711d(%rip), %rsi    # 0x245609
leaq 0x21be88(%rip), %rcx    # 0x24a37b
movl $0x43d6, %edx           # imm = 0x43D6
callq 0x2110
leaq 0x21b9d0(%rip), %rdi    # 0x249ed4
leaq 0x2170fe(%rip), %rsi    # 0x245609
leaq 0x21be69(%rip), %rcx    # 0x24a37b
movl $0x443c, %edx           # imm = 0x443C
callq 0x2110