// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/tovlp.cpp
// Function: asg_arc_decompress_mul(asg_t*, ma_ug_t*, asg_t*, unsigned int, unsigned int, ma_hit_t_alloc*, R_to_U*, utg_trans_t*)
int asg_arc_decompress_mul(asg_t *g, ma_ug_t *ug, asg_t *read_sg, uint32_t positive_flag, uint32_t negative_flag,
ma_hit_t_alloc* reverse_sources, R_to_U* ruIndex, utg_trans_t *o)
{
    double startTime = Get_T();
    asg_arc_t *as = NULL, *pm = NULL;
    u_trans_t *kt = NULL;
    uint32_t v, s, sv, nc, ns, n_vtx = g->n_seq * 2, n_reduced = 0, convex, pi, qn, tn;
    uint32_t return_flag, k, m, i, p_n, a_n, *a_a = NULL;
    uint8_t fp = 1, fa = 2, found;
    long long ll, tmp, max_stop_nodeLen, max_stop_baseLen;
    kvec_t_u32_warp tt; kv_init(tt.a);
    kvec_t_u32_warp stack; kv_init(stack.a);
    uint8_t *vis = NULL; CALLOC(vis, n_vtx);
    buf_t b;
    memset(&b, 0, sizeof(buf_t));
    pdq pq_p, pq_a;
    init_pdq(&pq_p, g->n_seq<<1);
    init_pdq(&pq_a, g->n_seq<<1);
    uint32_t *path_p = NULL, *path_q = NULL; 
    CALLOC(path_p, g->n_seq<<1);
    CALLOC(path_q, g->n_seq<<1);
    clean_mul_t *cl = init_clean_mul_t(g, ug, asm_opt.thread_num, fp, fa);
    
    while (get_min_dec(cl, positive_flag, negative_flag, o, &v))
    {
        if(g->seq[v>>1].del || g->seq[v>>1].c == ALTER_LABLE) continue;
        if(asg_arc_n(g, v) == 0 || get_real_length(g, v, NULL) != 1) continue;
        get_real_length(g, v, &s);
        if(get_real_length(g, s^1, NULL) < 2) continue;
        return_flag = get_unitig(g, ug, v^1, &convex, &ll, &tmp, &max_stop_nodeLen,&max_stop_baseLen, 1, NULL);
        if(return_flag == LOOP) continue;

        as = asg_arc_a(g, convex); ns = asg_arc_n(g, convex);
        for (i = nc = 0; i < ns; i++)
        {
            if(as[i].del) continue;
            if(get_real_length(g, as[i].v^1, NULL) < 2) break;
            nc++;
        }
        if(nc == 0 || i < ns) continue;

        tt.a.n = 0; s^=1; sv = v^1;
        dfs_set(g, sv, s>>1, &stack, &tt, vis, fp);
        p_n = tt.a.n;
        as = asg_arc_a(g, s); ns = asg_arc_n(g, s); found = 0;
        for (i = 0, pm = NULL; i < ns; i++)
        {
            if(as[i].del || as[i].v != sv) continue;
            pm = &(as[i]);
            break;
        }
 
        for (i = 0; i < ns; i++)
        {
            if(as[i].del || as[i].v == sv) continue;
            nc = dfs_set(g, as[i].v, s>>1, &stack, &tt, vis, fa);
            if(nc && check_trans_relation_by_path(sv, as[i].v, &pq_p, path_p, &(o->b0), &pq_a, path_q, &(o->b1), g, 
            vis, fp+fa, nc, 0.45, NULL))
            {
                found = 1;
            }
            a_a = tt.a.a + p_n; a_n = tt.a.n - p_n;
            for (k = 0; k < a_n; k++)
            {
                if(vis[a_a[k]]&fa) vis[a_a[k]] -= fa;
            }
            tt.a.n = p_n;
            if(found) break;
        }
        a_a = tt.a.a; a_n = p_n;
        for (k = 0; k < a_n; k++) vis[a_a[k]] = 0;

        if(found == 0) fprintf(stderr, "ERROR-found\n");
        if(found)
        {
            b.b.n = 0;
            get_unitig(g, ug, sv, &convex, &ll, &tmp, &max_stop_nodeLen, &max_stop_baseLen, 1, &b);
            for (k = 0; k < b.b.n; k++)
            {
                g->seq[b.b.a[k]>>1].c = ALTER_LABLE;
            }

            for (k = 0; k < b.b.n; k++)
            {
                asg_seq_drop(g, b.b.a[k]>>1);
            }

            // uint32_t ui;
            // fprintf(stderr, "\n");
            // for (ui = 0; ui < o->b0.b.n; ui++)
            // {
            //     fprintf(stderr, "p-utg%.6ul\n", (o->b0.b.a[ui]>>1)+1);
            // }
            // for (ui = 0; ui < o->b1.b.n; ui++)
            // {
            //     fprintf(stderr, "a-utg%.6ul\n", (o->b1.b.a[ui]>>1)+1);
            // }


            if(o->b0.b.n < b.b.n)  fprintf(stderr, "ERROR-ll\n"); 
            o->b0.b.n = b.b.n; pi = o->k_trans.n;
            collect_trans_ovlp(__func__, &(o->b0), pm->ol, &(o->b1), as[i].ol, ug, o);

            for (k = m = pi; k < o->k_trans.n; k++)
            {
                kt = &(o->k_trans.a[k]);
                if(is_hap_ovlp(ug, read_sg, reverse_sources, ruIndex, &(kt->qn), 1, &(kt->tn), 1) || 
                      is_hap_ovlp(ug, read_sg, reverse_sources, ruIndex, &(kt->tn), 1, &(kt->qn), 1))
                {
                    qn = get_dir_v(kt->qn, &(o->b0));
                    tn = get_dir_v(kt->tn, &(o->b1));

                    if(dfs_reach(o->cug->g, qn, tn, &stack, &tt, vis) || dfs_reach(o->cug->g, tn, qn, &stack, &tt, vis))
                    {
                        // fprintf(stderr, "<<<<<<DEL: q-utg%.6ul (qs: %u, qe: %u), t-utg%.6ul (ts: %u, te: %u)\n", 
                        // kt->qn + 1, kt->qs, kt->qe, kt->tn + 1, kt->ts, kt->te);
                        continue;
                    }

                    // fprintf(stderr, "q-utg%.6ul (qs: %u, qe: %u), t-utg%.6ul (ts: %u, te: %u)\n", 
                    // kt->qn + 1, kt->qs, kt->qe, kt->tn + 1, kt->ts, kt->te);
                    o->k_trans.a[m] = *kt;
                    m++;
                }
                // else
                // {
                //     fprintf(stderr, "******delete: q-utg%.6ul (qs: %u, qe: %u), t-utg%.6ul (ts: %u, te: %u)\n", 
                //     kt->qn + 1, kt->qs, kt->qe, kt->tn + 1, kt->ts, kt->te);
                // }      
            }
            o->k_trans.n = m;
        }
    }
    
    if(VERBOSE >= 1)
    {
        fprintf(stderr, "[M::%s] removed %d long tips\n", 
        __func__, n_reduced);
    }
    fprintf(stderr, "[M::%s] takes %0.2f s\n\n", __func__, Get_T()-startTime);
    asg_cleanup(g);
    asg_symm(g);
    free(b.b.a);
    kv_destroy(tt.a);
    kv_destroy(stack.a);
    free(vis);
    destory_pdq(&pq_p);
    destory_pdq(&pq_a);
    free(path_p);
    free(path_q);
    destroy_clean_mul_t(&cl);
    return n_reduced;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp            # imm = 0x258
movq %r9, 0xa8(%rsp)
movl %r8d, %ebp
movl %ecx, %r15d
movq %rdx, 0xa0(%rsp)
movq %rsi, %r13
movq %rdi, %rbx
callq 0x2f3fc
movsd %xmm0, 0xe0(%rsp)
movl 0x14(%rbx), %r14d
addl %r14d, %r14d
xorpd %xmm0, %xmm0
movapd %xmm0, 0x60(%rsp)
andq $0x0, 0x70(%rsp)
pushq $0x1
popq %rsi
movq %r14, %rdi
callq 0x2120
andq $0x0, 0xc0(%rsp)
movq %rax, 0x18(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0xb0(%rsp)
movapd %xmm0, 0x170(%rsp)
movapd %xmm0, 0x160(%rsp)
movapd %xmm0, 0x150(%rsp)
movapd %xmm0, 0x140(%rsp)
movapd %xmm0, 0x130(%rsp)
movapd %xmm0, 0x120(%rsp)
andq $0x0, 0x180(%rsp)
movslq %r14d, %rsi
leaq 0x1f0(%rsp), %rdi
callq 0x14198e
movl 0x14(%rbx), %eax
addl %eax, %eax
movslq %eax, %rsi
leaq 0x188(%rsp), %rdi
callq 0x14198e
movl 0x14(%rbx), %eax
addl %eax, %eax
movslq %eax, %r14
pushq $0x4
popq %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0x2120
movq %rax, 0x98(%rsp)
movq %r14, %rdi
movq %r12, %rsi
movq 0x298(%rsp), %r12
callq 0x2120
movq %rax, 0x90(%rsp)
leaq 0x272a3d(%rip), %rax    # 0x295758
movslq 0x7c(%rax), %rdx
pushq $0x1
popq %rcx
pushq $0x2
popq %r8
movq %rbx, %rdi
movq %r13, 0x28(%rsp)
movq %r13, %rsi
callq 0x196d70
movq %rax, 0xf8(%rsp)
leaq 0x34(%rsp), %r8
movq %rax, 0xf0(%rsp)
movq %rax, %rdi
movl %r15d, 0x5c(%rsp)
movl %r15d, %esi
movl %ebp, %edx
movq %r12, %rcx
callq 0x19a036
testl %eax, %eax
jne 0x22d6f
xorl %r14d, %r14d
xorl %r15d, %r15d
jmp 0x2362c
leaq 0x160(%r12), %rax
movq %rax, 0x88(%rsp)
leaq 0x1c8(%r12), %rax
movq %rax, 0x80(%rsp)
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
movl %ebp, 0xc(%rsp)
movq %r12, %r10
movq 0x20(%rbx), %rax
movl 0x34(%rsp), %r12d
movl %r12d, %ecx
shrl %ecx
cmpl $0x0, (%rax,%rcx,8)
js 0x22e68
cmpb $0x1, 0x4(%rax,%rcx,8)
je 0x22e68
movq 0x28(%rbx), %rcx
movq (%rcx,%r12,8), %rdx
movq %rdx, %rsi
andq %r15, %rsi
je 0x22e68
movq 0x8(%rbx), %rax
shrq $0x20, %rdx
imulq $0x18, %rdx, %rdx
addq %rax, %rdx
addq $0xc, %rdx
imulq $0x18, %rsi, %rsi
xorl %edi, %edi
xorl %r8d, %r8d
movl (%rdx,%rdi), %r9d
notl %r9d
shrl $0x1f, %r9d
addl %r9d, %r8d
addq $0x18, %rdi
cmpq %rdi, %rsi
jne 0x22def
cmpl $0x1, %r8d
jne 0x22e68
xorl %edi, %edi
cmpl $0x0, (%rdx,%rdi)
js 0x22e19
movl -0x4(%rdx,%rdi), %r14d
addq $0x18, %rdi
cmpq %rdi, %rsi
jne 0x22e0e
movl %r14d, %edx
xorl $0x1, %edx
movq %rdx, 0x50(%rsp)
movq (%rcx,%rdx,8), %rdx
movq %rdx, %rcx
andq %r15, %rcx
je 0x22e68
shrq $0x20, %rdx
imulq $0x18, %rdx, %rdx
addq %rdx, %rax
addq $0xc, %rax
imulq $0x18, %rcx, %rcx
xorl %edx, %edx
xorl %esi, %esi
movl (%rax,%rdx), %edi
notl %edi
shrl $0x1f, %edi
addl %edi, %esi
addq $0x18, %rdx
cmpq %rdx, %rcx
jne 0x22e50
cmpl $0x2, %esi
jge 0x22e98
movq 0xf0(%rsp), %rdi
movl 0x5c(%rsp), %esi
movl %ebp, %edx
movq %r10, %rcx
leaq 0x34(%rsp), %r8
callq 0x19a036
movq 0x298(%rsp), %r10
testl %eax, %eax
jne 0x22d9c
jmp 0x2361f
xorl $0x1, %r12d
movq %rbx, %rdi
movq 0x28(%rsp), %rsi
movl %r12d, %edx
leaq 0x30(%rsp), %rcx
leaq 0x118(%rsp), %r8
leaq 0x110(%rsp), %r9
pushq $0x0
pushq $0x1
leaq 0x110(%rsp), %rax
pushq %rax
leaq 0x120(%rsp), %rax
pushq %rax
callq 0x1053a7
addq $0x20, %rsp
cmpl $0x7, %eax
je 0x2302e
movq 0x28(%rbx), %rax
movl 0x30(%rsp), %ecx
movq %rax, 0x10(%rsp)
movq (%rax,%rcx,8), %rsi
testl %esi, %esi
je 0x2302e
movq 0x8(%rbx), %rcx
movq %rsi, %rdx
shrq $0x20, %rdx
imulq $0x18, %rdx, %rdx
addq %rcx, %rdx
movl %esi, %edi
addq $0xc, %rcx
xorl %r9d, %r9d
movb $0x1, %r8b
xorl %esi, %esi
imulq $0x18, %r9, %r10
cmpl $0x0, 0xc(%rdx,%r10)
js 0x22f78
addq %rdx, %r10
movl 0x8(%r10), %r10d
xorq $0x1, %r10
movq 0x10(%rsp), %rax
movq (%rax,%r10,8), %r10
movq %r10, %r11
andq %r15, %r11
je 0x22f8a
shrq $0x20, %r10
imulq $0x18, %r10, %r10
addq %rcx, %r10
imulq $0x18, %r11, %r11
xorl %r13d, %r13d
xorl %ebp, %ebp
movl (%r10,%r13), %eax
notl %eax
shrl $0x1f, %eax
addl %eax, %ebp
addq $0x18, %r13
cmpq %r13, %r11
jne 0x22f59
cmpl $0x2, %ebp
jl 0x22f86
incl %esi
movl 0xc(%rsp), %ebp
incq %r9
cmpq %rdi, %r9
setb %r8b
jne 0x22f1d
jmp 0x22f8a
movl 0xc(%rsp), %ebp
testl %esi, %esi
je 0x2302e
testb $0x1, %r8b
jne 0x2302e
andq $0x0, 0x60(%rsp)
shrl %r14d
subq $0x8, %rsp
movq %rbx, %rdi
movl %r12d, %esi
movl %r14d, %edx
leaq 0xb8(%rsp), %rcx
leaq 0x68(%rsp), %r8
movq 0x20(%rsp), %r9
pushq $0x1
callq 0x1991bb
popq %rcx
popq %rdx
movq 0x60(%rsp), %r11
movq 0x28(%rbx), %rax
movq 0x50(%rsp), %rcx
movq (%rax,%rcx,8), %rsi
movq %rsi, %rax
shrq $0x20, %rax
imulq $0x18, %rax, %rdi
addq 0x8(%rbx), %rdi
testl %esi, %esi
movq %rdi, 0x38(%rsp)
je 0x2303b
movl %esi, %eax
movq %rdi, %rdx
movq 0x18(%rsp), %r9
leaq 0xb0(%rsp), %rcx
leaq 0x60(%rsp), %r8
cmpl $0x0, 0xc(%rdx)
js 0x2301a
cmpl %r12d, 0x8(%rdx)
je 0x23054
addq $0x18, %rdx
decq %rax
jne 0x2300e
movq $0x0, 0x40(%rsp)
jmp 0x23059
movq 0x298(%rsp), %r10
jmp 0x22e68
movq $0x0, 0x40(%rsp)
xorl %r14d, %r14d
xorl %r10d, %r10d
movq 0x18(%rsp), %r9
jmp 0x231ab
movq %rdx, 0x40(%rsp)
movl %r11d, %eax
movq %rax, 0x20(%rsp)
movq %rsi, 0xd8(%rsp)
movl %esi, %eax
movb $0x1, %r10b
xorl %ebp, %ebp
movq %r11, 0x48(%rsp)
movq %rax, 0xe8(%rsp)
imulq $0x18, %rbp, %r13
cmpl $0x0, 0xc(%rdi,%r13)
js 0x2318c
addq %rdi, %r13
movl 0x8(%r13), %esi
cmpl %r12d, %esi
je 0x2318c
movq %r10, 0x10(%rsp)
subq $0x8, %rsp
movq %rbx, %rdi
movl %r14d, %edx
pushq $0x2
callq 0x1991bb
popq %rcx
popq %rdx
testl %eax, %eax
je 0x23114
movl 0x8(%r13), %esi
subq $0x8, %rsp
movl %r12d, %edi
leaq 0x1f8(%rsp), %rdx
movq 0xa0(%rsp), %rcx
movq 0x90(%rsp), %r8
leaq 0x190(%rsp), %r9
movsd 0x21c864(%rip), %xmm0   # 0x23f950
pushq $0x0
pushq %rax
pushq $0x3
pushq 0x38(%rsp)
pushq %rbx
pushq 0xb0(%rsp)
pushq 0xc8(%rsp)
callq 0x1421f4
addq $0x40, %rsp
testl %eax, %eax
sete %al
jmp 0x23116
movb $0x1, %al
movq 0x60(%rsp), %rdx
movq 0x48(%rsp), %r11
subq %r11, %rdx
testl %edx, %edx
movq 0x18(%rsp), %r9
leaq 0x60(%rsp), %r8
je 0x23164
movq 0x20(%rsp), %rcx
leaq (,%rcx,4), %rcx
addq 0x70(%rsp), %rcx
movl %edx, %edx
xorl %esi, %esi
movl (%rcx,%rsi,4), %edi
movb (%r9,%rdi), %r10b
testb $0x2, %r10b
je 0x2315c
addb $-0x2, %r10b
movb %r10b, (%r9,%rdi)
incq %rsi
cmpq %rsi, %rdx
jne 0x23147
movq 0x20(%rsp), %rcx
movq %rcx, 0x60(%rsp)
testb %al, %al
leaq 0xb0(%rsp), %rcx
movq 0x38(%rsp), %rdi
movq 0x10(%rsp), %r10
movq 0xe8(%rsp), %rax
je 0x231a4
incq %rbp
cmpq %rax, %rbp
setb %r10b
jne 0x2307d
movq 0xd8(%rsp), %rbp
movl %ebp, %r14d
movl 0xc(%rsp), %ebp
testl %r11d, %r11d
je 0x231ca
movq 0x70(%rsp), %rax
movl %r11d, %ecx
xorl %edx, %edx
movl (%rax,%rdx,4), %esi
movb $0x0, (%r9,%rsi)
incq %rdx
cmpq %rdx, %rcx
jne 0x231ba
testb $0x1, %r10b
je 0x235f9
andq $0x0, 0x158(%rsp)
movq %rbx, %rdi
movq 0x28(%rsp), %rsi
movl %r12d, %edx
leaq 0x30(%rsp), %rcx
leaq 0x118(%rsp), %r8
leaq 0x110(%rsp), %r9
leaq 0x120(%rsp), %rax
pushq %rax
pushq $0x1
leaq 0x110(%rsp), %rax
pushq %rax
leaq 0x120(%rsp), %rax
pushq %rax
callq 0x1053a7
addq $0x20, %rsp
movq 0x158(%rsp), %rdx
testq %rdx, %rdx
je 0x23398
movq 0x20(%rbx), %rax
movq 0x168(%rsp), %rcx
xorl %esi, %esi
movq 0x298(%rsp), %r10
movl (%rcx,%rsi,4), %edi
shrl %edi
movb $0x1, 0x4(%rax,%rdi,8)
incq %rsi
movl %esi, %edi
cmpq %rdi, %rdx
ja 0x2324a
xorl %eax, %eax
movq 0x168(%rsp), %rcx
movl (%rcx,%rax,4), %ecx
movl %ecx, %esi
shrl %esi
movq 0x20(%rbx), %rdi
cmpb $0x1, 0x4(%rdi,%rsi,8)
jne 0x23356
andl $-0x2, %ecx
movb $0x1, %dl
xorl %esi, %esi
orq %rcx, %rsi
movq 0x28(%rbx), %rdi
movq (%rdi,%rsi,8), %r8
movq %r8, %rdi
andq %r15, %rdi
je 0x23331
shrq $0x20, %r8
imulq $0x18, %r8, %r8
addq 0x8(%rbx), %r8
xorl %r9d, %r9d
imulq $0x18, %r9, %r10
movl 0xc(%r8,%r10), %r11d
testl %r11d, %r11d
js 0x23325
addq %r8, %r10
movq 0x20(%rbx), %r13
movl 0x8(%r10), %r12d
movl %r12d, %ebp
shrl %ebp
cmpb $0x1, 0x4(%r13,%rbp,8)
je 0x23325
orl $0x80000000, %r11d      # imm = 0x80000000
movl %r11d, 0xc(%r10)
xorq $0x1, %r12
movq 0x28(%rbx), %r10
movq (%r10,%r12,8), %r11
movq %r11, %r10
andq %r15, %r10
je 0x23325
movq 0x8(%rbx), %r12
shrq $0x20, %r11
imulq $0x18, %r10, %r10
imulq $0x18, %r11, %r11
addq %r12, %r11
addq $0xc, %r11
xorl %r12d, %r12d
movl -0x4(%r11,%r12), %ebp
xorl %esi, %ebp
cmpl $0x1, %ebp
jne 0x2331c
orb $-0x80, 0x3(%r11,%r12)
addq $0x18, %r12
cmpq %r12, %r10
jne 0x2330a
incq %r9
cmpq %rdi, %r9
jne 0x232ab
pushq $0x1
popq %rsi
testb $0x1, %dl
movl $0x0, %edx
jne 0x23285
movq 0x158(%rsp), %rdx
movl 0xc(%rsp), %ebp
movq 0x298(%rsp), %r10
incl %eax
cmpq %rax, %rdx
ja 0x23260
cmpq %rdx, 0x198(%r10)
jae 0x233a2
movq 0x271c6f(%rip), %rax    # 0x294fe0
movq (%rax), %rcx
leaq 0x21c61d(%rip), %rdi    # 0x23f998
pushq $0x9
popq %rsi
pushq $0x1
popq %rdx
callq 0x2410
movq 0x298(%rsp), %r10
movq 0x158(%rsp), %rdx
jmp 0x233a2
xorl %edx, %edx
movq 0x298(%rsp), %r10
movq %rdx, 0x198(%r10)
movq 0xb0(%r10), %r13
movl %r13d, %r12d
movq 0x40(%rsp), %rax
movl 0xc(%rax), %edx
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
andq %rcx, %rdx
imulq $0x18, %r14, %rax
movq 0x38(%rsp), %rsi
movl 0xc(%rsi,%rax), %r8d
andq %rcx, %r8
subq $0x8, %rsp
movq 0x90(%rsp), %rsi
movq 0x88(%rsp), %rcx
movq 0x30(%rsp), %r9
pushq %r10
callq 0x1990ae
movq 0x2a8(%rsp), %r10
addq $0x10, %rsp
cmpq %r12, 0xb0(%r10)
jbe 0x235e5
movl %r13d, %eax
movq %rax, 0x20(%rsp)
movq %r13, 0x10(%rsp)
movq 0xc0(%r10), %rax
imulq $0x30, %r12, %r12
leaq (%rax,%r12), %rbp
addq $0x8, %rbp
movq %rax, 0x38(%rsp)
leaq 0x14(%rax,%r12), %r14
movq 0x28(%rsp), %rdi
movq 0xa0(%rsp), %rsi
movq 0xa8(%rsp), %rdx
movq 0x290(%rsp), %rcx
movq %rbp, %r8
pushq $0x1
popq %r9
pushq $0x1
pushq %r14
movq %r10, %r13
callq 0x19963e
popq %rcx
popq %rdx
testl %eax, %eax
jne 0x234a3
movq 0x28(%rsp), %rdi
movq 0xa0(%rsp), %rsi
movq 0xa8(%rsp), %rdx
movq 0x290(%rsp), %rcx
movq %r14, %r8
pushq $0x1
popq %r9
pushq $0x1
pushq %rbp
callq 0x19963e
popq %rcx
popq %rdx
testl %eax, %eax
je 0x23598
movq %r12, 0x48(%rsp)
movq 0x198(%r13), %rax
pushq $-0x1
popq %r12
testq %rax, %rax
movq 0x18(%rsp), %r9
movq %r13, %r10
je 0x234e9
movl (%rbp), %ecx
movq 0x1a8(%r10), %rdx
pushq $0x1
popq %rsi
xorl %edi, %edi
movl (%rdx,%rdi,4), %r12d
movl %r12d, %edi
shrl %edi
cmpl %ecx, %edi
je 0x234e9
movl %esi, %edi
incl %esi
cmpq %rdi, %rax
ja 0x234cf
pushq $-0x1
popq %r12
movq 0x200(%r10), %rax
pushq $-0x1
popq %rbp
testq %rax, %rax
je 0x2351e
movl (%r14), %ecx
movq 0x210(%r10), %rdx
pushq $0x1
popq %rsi
xorl %edi, %edi
movl (%rdx,%rdi,4), %ebp
movl %ebp, %edi
shrl %edi
cmpl %ecx, %edi
je 0x2351e
movl %esi, %edi
incl %esi
cmpq %rdi, %rax
ja 0x23507
pushq $-0x1
popq %rbp
movq 0x108(%r10), %rax
movq 0x18(%rax), %rdi
movl %r12d, %esi
movl %ebp, %edx
leaq 0xb0(%rsp), %rcx
leaq 0x60(%rsp), %r8
movq %r9, %r13
movq %r10, %r14
callq 0x199461
testl %eax, %eax
jne 0x23573
movq 0x108(%r14), %rax
movq 0x18(%rax), %rdi
movl %ebp, %esi
movl %r12d, %edx
leaq 0xb0(%rsp), %rcx
leaq 0x60(%rsp), %r8
movq %r13, %r9
callq 0x199461
testl %eax, %eax
je 0x235a1
movl 0xc(%rsp), %ebp
movq %r14, %r10
movq 0x10(%rsp), %r13
movq 0x20(%rsp), %rax
incl %eax
movq %rax, %r12
cmpq %rax, 0xb0(%r10)
ja 0x23410
jmp 0x235e5
movl 0xc(%rsp), %ebp
movq %r13, %r10
jmp 0x2357a
movq 0x38(%rsp), %rdx
addq 0x48(%rsp), %rdx
movq 0xc0(%r14), %rax
movq 0x10(%rsp), %r13
movl %r13d, %ecx
imulq $0x30, %rcx, %rcx
movupd (%rdx), %xmm0
movups 0x10(%rdx), %xmm1
movups 0x20(%rdx), %xmm2
movups %xmm2, 0x20(%rax,%rcx)
movups %xmm1, 0x10(%rax,%rcx)
movupd %xmm0, (%rax,%rcx)
incl %r13d
movl 0xc(%rsp), %ebp
movq %r14, %r10
jmp 0x2357f
movl %r13d, %eax
movq %rax, 0xb0(%r10)
movq 0x50(%rsp), %r14
jmp 0x22e68
movq 0x2719e0(%rip), %rax    # 0x294fe0
movq (%rax), %rcx
leaq 0x21c381(%rip), %rdi    # 0x23f98b
pushq $0xc
popq %rsi
pushq $0x1
popq %rdx
callq 0x2410
movq 0x298(%rsp), %r10
jmp 0x235ef
movq 0x70(%rsp), %r15
movq 0xc0(%rsp), %r14
movq 0x2719ad(%rip), %rax    # 0x294fe0
movq (%rax), %r12
callq 0x2f3fc
subsd 0xe0(%rsp), %xmm0
leaq 0x212ba6(%rip), %rsi    # 0x2361f1
leaq 0x21c350(%rip), %rdx    # 0x23f9a2
movq %r12, %rdi
movb $0x1, %al
callq 0x22b0
movq %rbx, %rdi
callq 0xa0a7d
movq %rbx, %rdi
callq 0xa0c1e
movq 0x168(%rsp), %rdi
callq 0x2220
movq %r15, %rdi
callq 0x2220
movq %r14, %rdi
callq 0x2220
movq 0x18(%rsp), %rdi
callq 0x2220
leaq 0x1f0(%rsp), %rdi
callq 0x141a1d
leaq 0x188(%rsp), %rdi
callq 0x141a1d
movq 0x98(%rsp), %rdi
callq 0x2220
movq 0x90(%rsp), %rdi
callq 0x2220
leaq 0xf8(%rsp), %rdi
callq 0x196ef1
xorl %eax, %eax
addq $0x258, %rsp            # imm = 0x258
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq