// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/hic.cpp
// Function: resolve_bubble_chain_by_hic(ha_ug_index*, kv_u_trans_t*, bubble_type*)
void resolve_bubble_chain_by_hic(ha_ug_index *idx, kv_u_trans_t *ta, bubble_type* bub)
{   
    // double index_time = yak_realtime();
    ma_ug_t* ug = idx->ug;
    ma_ug_t *bs_ug = bub->b_ug;
    uint32_t v, u, i, max_i, nv, rv, n_vx, root, flag_pri = 1, flag_aux = 2, flag_ava = 4, occ;
    double w, cutoff = 2;
    uint32_t max_w_occ = 4;
    asg_arc_t *av = NULL;
    n_vx = bs_ug->g->n_seq << 1;
    uint8_t *vis = NULL; CALLOC(vis, ug->g->n_seq<<1);
    uint8_t *is_vis = NULL; CALLOC(is_vis, ug->g->n_seq<<1);
    uint8_t *is_used = NULL; CALLOC(is_used, n_vx);
    uint8_t *dedup = NULL; CALLOC(dedup, ug->g->n_seq<<1);
    uint8_t *is_tangle = NULL; CALLOC(is_tangle, ug->g->n_seq);
    buf_t b; memset(&b, 0, sizeof(buf_t));
    kvec_t_u32_warp stack, result, res_utg;
    kv_init(stack.a); kv_init(result.a); kv_init(res_utg.a);
    double *e_w = NULL; MALLOC(e_w, bs_ug->g->n_arc);
    uint32_t *e_occ = NULL, *a_occ = NULL; CALLOC(e_occ, bs_ug->g->n_arc);
    double *aw = NULL, max_w = 0;
    kvec_asg_arc_t_warp edges; kv_init(edges.a);
    ma_ug_t *back_bs_ug = copy_untig_graph(bs_ug);

    for (i = 0; i < bs_ug->g->n_arc; i++)///weight of bs_ug's edges
    {
        e_w[i] = -1;
    }

    for (i = 0; i < bs_ug->g->n_seq; i++)///init all chain with flag_aux 
    {
        set_b_utg_weight_flag(bub, &b, i<<1, vis, flag_aux, NULL);
    }


    for (v = 0; v < n_vx; v++)
    {
        av = asg_arc_a(bs_ug->g, v);
        nv = asg_arc_n(bs_ug->g, v);
        aw = (&e_w[bs_ug->g->idx[v]>>32]);
        a_occ = (&e_occ[bs_ug->g->idx[v]>>32]);
        if(nv <= 1 || get_real_length(bs_ug->g, v, NULL) <= 1) continue;
        set_b_utg_weight_flag_xor(bub, bs_ug, &b, v^1, vis, flag_pri, NULL);

        for (i = 0; i < nv; i++)
        {
            if(av[i].del) continue;
            w = get_chain_weight_hic(bub, bs_ug, &b, av[i].v, v, ta, vis, is_vis, ug, &stack, &result, flag_pri, flag_ava, NULL, &occ);
            aw[i] = w;
            a_occ[i] = occ;
        }

        set_b_utg_weight_flag_xor(bub, bs_ug, &b, v^1, vis, flag_pri, NULL);
    }


    for (v = 0; v < n_vx; v++)
    {
        av = asg_arc_a(bs_ug->g, v);
        nv = asg_arc_n(bs_ug->g, v);
        aw = (&e_w[bs_ug->g->idx[v]>>32]);
        a_occ = (&e_occ[bs_ug->g->idx[v]>>32]);
        if(nv <= 1 || get_real_length(bs_ug->g, v, NULL) <= 1) continue;

        for (i = rv = 0, max_i = (uint32_t)-1; i < nv; i++)
        {
            if(av[i].del) continue;
            if(max_i == (uint32_t)-1)
            {
                max_i = i;
                max_w = aw[i];
            }
            else if(max_w < aw[i])
            {
                max_i = i;
                max_w = aw[i];
            }
            rv++;
        }

        if(max_i == (uint32_t)-1) continue;
        ///if(max_w <= max_w_cutoff) continue; //must be <=
        if(a_occ[max_i] <= max_w_occ) continue; //must be <=
        if(rv < 2) continue;

        for (i = 0; i < nv; i++)
        {
            if(av[i].del) continue;
            if(i == max_i) continue;
            ///if((av[i].v>>1) == (v>>1) && aw[i] <= max_w_cutoff) continue; ///might be not reasonable
            if((av[i].v>>1) == (v>>1) && a_occ[i] <= max_w_occ) continue; ///might be not reasonable
            if(aw[i]*cutoff < max_w && double_check_bub_branch(&av[i], bs_ug, e_w, e_occ, cutoff, max_w_occ))
            {
                av[i].del = 1; asg_arc_del(bs_ug->g, (av[i].v)^1, (av[i].ul>>32)^1, 1);
            }
        }
    }

    uint32_t rId_0, ori_0, rId_1, ori_1, root_0, root_1;
    for (v = 0; v < n_vx; v++)
    {
        av = asg_arc_a(bs_ug->g, v);
        nv = asg_arc_n(bs_ug->g, v);
        rv = get_real_length(bs_ug->g, v, NULL);
        if(nv == rv) continue;///no edge drop
        if(rv != 1 || nv <= 1) continue;
        get_real_length(bs_ug->g, v, &u);
        u ^= 1;
        if(get_real_length(bs_ug->g, u, NULL) != 1) continue;
        drop_g_edges_by_utg(bub, bub->b_g, bs_ug, NULL, v, u);
        if(is_used[v] || is_used[u]) continue;

        is_used[v] = is_used[u] = 1;
        root = get_utg_end_from_btg(bub, bs_ug, v);
        rId_0 = root>>1;
        ori_0 = root&1;
        get_bubbles(bub, rId_0, ori_0 == 1?&root_0:NULL, ori_0 == 0?&root_0:NULL, NULL, NULL, NULL);

        root = get_utg_end_from_btg(bub, bs_ug, u);
        rId_1 = root>>1;
        ori_1 = root&1;
        get_bubbles(bub, rId_1, ori_1 == 1?&root_1:NULL, ori_1 == 0?&root_1:NULL, NULL, NULL, NULL);

        res_utg.a.n = 0;
        set_b_utg_weight_flag_xor(bub, back_bs_ug, &b, v^1, vis, flag_pri, NULL);
        get_chain_weight_hic(bub, back_bs_ug, &b, u^1, v, ta, vis, is_vis, ug, &stack, &result, flag_pri, flag_ava, &res_utg, NULL);
        set_b_utg_weight_flag_xor(bub, back_bs_ug, &b, v^1, vis, flag_pri, NULL);
        for (i = 0; i < res_utg.a.n; i++) dedup[res_utg.a.a[i]>>1] |= 1;

        set_b_utg_weight_flag_xor(bub, back_bs_ug, &b, u^1, vis, flag_pri, NULL);
        get_chain_weight_hic(bub, back_bs_ug, &b, v^1, u, ta, vis, is_vis, ug, &stack, &result, flag_pri, flag_ava, &res_utg, NULL);
        set_b_utg_weight_flag_xor(bub, back_bs_ug, &b, u^1, vis, flag_pri, NULL);
        for (; i < res_utg.a.n; i++) dedup[res_utg.a.a[i]>>1] |= 2;

        for (i = 0; i < res_utg.a.n; i++)
        {
            if(dedup[res_utg.a.a[i]>>1] == 3)
            {
                is_tangle[res_utg.a.a[i]>>1] = 3;
            }
            else
            {
                if(is_tangle[res_utg.a.a[i]>>1] != 3)
                {
                    is_tangle[res_utg.a.a[i]>>1] = 1;
                }
            }
            dedup[res_utg.a.a[i]>>1] = 0;
        }
    }

    /*******************************for debug************************************/
    // for (i = 0; i < ug->g->n_seq; i++)
    // {
    //     if(is_tangle[i] == 1)
    //     {
    //         fprintf(stderr, "*****tangle-utg%.6ul\n", i+1);
    //     }
    // }
    /*******************************for debug************************************/
    memset(is_used, 0, n_vx);
    for (v = 0; v < n_vx; v++)
    {
        av = asg_arc_a(bs_ug->g, v);
        nv = asg_arc_n(bs_ug->g, v);
        rv = get_real_length(bs_ug->g, v, NULL);
        if(nv == rv) continue;///no edge drop
        if(rv != 1 || nv <= 1) continue;
        get_real_length(bs_ug->g, v, &u);
        u ^= 1;
        if(get_real_length(bs_ug->g, u, NULL) != 1) continue;
        drop_g_edges_by_utg(bub, bub->b_g, bs_ug, NULL, v, u);
        if(is_used[v] || is_used[u]) continue;

        is_used[v] = is_used[u] = 1;
        root = get_utg_end_from_btg(bub, bs_ug, v);
        rId_0 = root>>1;
        ori_0 = root&1;
        get_bubbles(bub, rId_0, ori_0 == 1?&root_0:NULL, ori_0 == 0?&root_0:NULL, NULL, NULL, NULL);

        root = get_utg_end_from_btg(bub, bs_ug, u);
        rId_1 = root>>1;
        ori_1 = root&1;
        get_bubbles(bub, rId_1, ori_1 == 1?&root_1:NULL, ori_1 == 0?&root_1:NULL, NULL, NULL, NULL);

        res_utg.a.n = 0;
        set_b_utg_weight_flag_xor(bub, back_bs_ug, &b, v^1, vis, flag_pri, NULL);
        get_chain_weight_hic(bub, back_bs_ug, &b, u^1, v, ta, vis, is_vis, ug, &stack, &result, flag_pri, flag_ava, &res_utg, NULL);
        set_b_utg_weight_flag_xor(bub, back_bs_ug, &b, v^1, vis, flag_pri, NULL);
        for (i = 0; i < res_utg.a.n; i++) dedup[res_utg.a.a[i]>>1] |= 1;

        set_b_utg_weight_flag_xor(bub, back_bs_ug, &b, u^1, vis, flag_pri, NULL);
        get_chain_weight_hic(bub, back_bs_ug, &b, v^1, u, ta, vis, is_vis, ug, &stack, &result, flag_pri, flag_ava, &res_utg, NULL);
        set_b_utg_weight_flag_xor(bub, back_bs_ug, &b, u^1, vis, flag_pri, NULL);
        for (; i < res_utg.a.n; i++) dedup[res_utg.a.a[i]>>1] |= 2;


        /*******************************for debug************************************/
        // fprintf(stderr, "\nres_utg.a.n: %u, beg-utg%.6ul, sink-utg%.6ul\n", 
        //             (uint32_t)res_utg.a.n, (root_0>>1)+1, (root_1>>1)+1);
        // for (i = 0; i < res_utg.a.n; i++)
        // {
        //     if(dedup[res_utg.a.a[i]>>1] == 3)
        //     {
        //         fprintf(stderr, "share-utg%.6ul\n", (res_utg.a.a[i]>>1)+1);
        //     }
        // }
        // for (i = 0; i < res_utg.a.n; i++)
        // {
        //     if(dedup[res_utg.a.a[i]>>1] == 1)
        //     {
        //         fprintf(stderr, "1-utg%.6ul\n", (res_utg.a.a[i]>>1)+1);
        //     }
        // }
        // for (i = 0; i < res_utg.a.n; i++)
        // {
        //     if(dedup[res_utg.a.a[i]>>1] == 2)
        //     {
        //         fprintf(stderr, "2-utg%.6ul\n", (res_utg.a.a[i]>>1)+1);
        //     }
        // }
        /*******************************for debug************************************/

        clean_sub_tangle(bub, vis, &res_utg, dedup, is_tangle, NULL, flag_pri, v>>1, u>>1);

        for (i = 0; i < res_utg.a.n; i++)
        {
            dedup[res_utg.a.a[i]>>1] = 0;
        }
    }


    edges.a.n = 0;
    memset(is_used, 0, n_vx);
    for (v = 0; v < n_vx; v++)
    {
        av = asg_arc_a(bs_ug->g, v);
        nv = asg_arc_n(bs_ug->g, v);
        rv = get_real_length(bs_ug->g, v, NULL);
        if(nv == rv) continue;///no edge drop
        if(rv != 1 || nv <= 1) continue;
        get_real_length(bs_ug->g, v, &u);
        u ^= 1;
        if(get_real_length(bs_ug->g, u, NULL) != 1) continue;
        drop_g_edges_by_utg(bub, bub->b_g, bs_ug, NULL, v, u);
        if(is_used[v] || is_used[u]) continue;

        is_used[v] = is_used[u] = 1;
        root = get_utg_end_from_btg(bub, bs_ug, v);
        rId_0 = root>>1;
        ori_0 = root&1;
        get_bubbles(bub, rId_0, ori_0 == 1?&root_0:NULL, ori_0 == 0?&root_0:NULL, NULL, NULL, NULL);

        root = get_utg_end_from_btg(bub, bs_ug, u);
        rId_1 = root>>1;
        ori_1 = root&1;
        get_bubbles(bub, rId_1, ori_1 == 1?&root_1:NULL, ori_1 == 0?&root_1:NULL, NULL, NULL, NULL);

        res_utg.a.n = 0;
        set_b_utg_weight_flag_xor(bub, back_bs_ug, &b, v^1, vis, flag_pri, NULL);
        get_chain_weight_hic(bub, back_bs_ug, &b, u^1, v, ta, vis, is_vis, ug, &stack, &result, flag_pri, flag_ava, &res_utg, NULL);
        set_b_utg_weight_flag_xor(bub, back_bs_ug, &b, v^1, vis, flag_pri, NULL);
        for (i = 0; i < res_utg.a.n; i++) dedup[res_utg.a.a[i]>>1] |= 1;

        set_b_utg_weight_flag_xor(bub, back_bs_ug, &b, u^1, vis, flag_pri, NULL);
        get_chain_weight_hic(bub, back_bs_ug, &b, v^1, u, ta, vis, is_vis, ug, &stack, &result, flag_pri, flag_ava, &res_utg, NULL);
        set_b_utg_weight_flag_xor(bub, back_bs_ug, &b, u^1, vis, flag_pri, NULL);
        for (; i < res_utg.a.n; i++) dedup[res_utg.a.a[i]>>1] |= 2;

        clean_sub_tangle(bub, vis, &res_utg, dedup, is_tangle, &edges, flag_pri, v>>1, u>>1);

        for (i = 0; i < res_utg.a.n; i++)
        {
            dedup[res_utg.a.a[i]>>1] = 0;
        }
    }


    /*******************************for debug************************************/
    // for (i = 0; i < ug->g->n_seq; i++)
    // {
    //     if(is_tangle[i] == 1)
    //     {
    //         fprintf(stderr, "####tangle-utg%.6ul\n", i+1);
    //     }
    // }

    // for (i = 0; i < edges.a.n; i++)
    // {
    //     fprintf(stderr, "s-utg%.6lul<------>d-utg%.6ul\n", (edges.a.a[i].ul>>33) + 1, (edges.a.a[i].v>>1) + 1);
        
    // }
    /*******************************for debug************************************/
    if(edges.a.n > 0)
    {
        for (i = 0; i < edges.a.n; i++)
        {
            asg_arc_del(bub->ug->g, edges.a.a[i].ul>>32, edges.a.a[i].v, 1);
            asg_arc_del(bub->ug->g, (edges.a.a[i].v)^1, (edges.a.a[i].ul>>32)^1, 1);
            delete_sg_e_by_ug(idx->read_g, idx->ug, edges.a.a[i].ul>>32, edges.a.a[i].v);
            delete_sg_e_by_ug(idx->read_g, idx->ug, (edges.a.a[i].v)^1, (edges.a.a[i].ul>>32)^1);
        }
        asg_cleanup(bub->ug->g);
        asg_cleanup(idx->read_g);
    }
    

    free(vis); free(is_vis); free(is_used); free(dedup); free(b.b.a); free(e_w); free(e_occ); free(is_tangle);
    kv_destroy(stack.a); kv_destroy(result.a); kv_destroy(res_utg.a); kv_destroy(edges.a);
    ma_ug_destroy(back_bs_ug);
    // fprintf(stderr, "[M::%s::%.3f]\n", __func__, yak_realtime()-index_time);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movq %rdx, %r13
movq %rsi, 0x58(%rsp)
movq %rdi, 0x190(%rsp)
movq (%rdi), %rax
movq 0xc0(%rdx), %r15
movq 0x18(%r15), %rcx
movq %rcx, 0x8(%rsp)
movl 0x14(%rcx), %r14d
addl %r14d, %r14d
movq %rax, 0x50(%rsp)
movq 0x18(%rax), %rax
movl 0x14(%rax), %ebx
leal (%rbx,%rbx), %eax
movslq %eax, %rbp
pushq $0x1
popq %r12
movq %rbp, %rdi
movq %r12, %rsi
callq 0x2120
movq %rax, 0x10(%rsp)
movq %rbp, %rdi
movq %r12, %rsi
callq 0x2120
movq %rax, 0x40(%rsp)
movq %r14, 0x38(%rsp)
movq %r14, %rdi
movq %r12, %rsi
callq 0x2120
movq %rax, 0x18(%rsp)
movq %rbp, %rdi
movq %r12, %rsi
callq 0x2120
movq %rax, 0x20(%rsp)
movl $0x7fffffff, %ebp       # imm = 0x7FFFFFFF
andq %rbp, %rbx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x2120
movq %rax, 0x88(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x170(%rsp)
movapd %xmm0, 0x160(%rsp)
movapd %xmm0, 0x150(%rsp)
movapd %xmm0, 0x140(%rsp)
movapd %xmm0, 0x130(%rsp)
andq $0x0, 0x180(%rsp)
movapd %xmm0, 0x120(%rsp)
andq $0x0, 0x110(%rsp)
movapd %xmm0, 0x100(%rsp)
andq $0x0, 0xf0(%rsp)
movapd %xmm0, 0xe0(%rsp)
andq $0x0, 0x70(%rsp)
movapd %xmm0, 0x60(%rsp)
movq 0x8(%rsp), %rax
movl 0x4(%rax), %ebx
andq %rbp, %rbx
leaq (,%rbx,8), %rdi
callq 0x2280
movq %rax, 0x98(%rsp)
pushq $0x4
popq %rsi
movq %rbx, %rdi
callq 0x2120
movq %rax, 0xa0(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0xc0(%rsp)
andq $0x0, 0xd0(%rsp)
movq %r15, %rdi
callq 0x8c99a
movq %rax, 0x28(%rsp)
movq %r15, 0x8(%rsp)
movq 0x18(%r15), %rax
movl 0x4(%rax), %ecx
andq %rbp, %rcx
xorl %edx, %edx
movabsq $-0x4010000000000000, %rsi # imm = 0xBFF0000000000000
movq 0x98(%rsp), %rdi
cmpq %rdx, %rcx
je 0x11401e
movq %rsi, (%rdi,%rdx,8)
incq %rdx
jmp 0x114010
xorl %ebx, %ebx
movl $0x7fffffff, %r14d      # imm = 0x7FFFFFFF
leaq 0x120(%rsp), %r12
pushq $0x2
popq %rbp
xorl %r15d, %r15d
movl 0x14(%rax), %eax
andl %r14d, %eax
cmpl %eax, %r15d
jae 0x114068
movq %r13, %rdi
movq %r12, %rsi
movl %ebx, %edx
movq 0x10(%rsp), %rcx
movl %ebp, %r8d
xorl %r9d, %r9d
callq 0x10519d
incl %r15d
movq 0x8(%rsp), %rax
movq 0x18(%rax), %rax
addl $0x2, %ebx
jmp 0x114034
xorl %ebp, %ebp
movq %r13, 0x30(%rsp)
movq 0x20(%rsp), %r14
movq 0x38(%rsp), %r12
cmpq %r12, %rbp
je 0x1141e1
movq 0x8(%rsp), %rax
movq 0x18(%rax), %rdi
movq 0x28(%rdi), %rax
movq (%rax,%rbp,8), %rbx
testl $0xfffffffe, %ebx       # imm = 0xFFFFFFFE
je 0x1141d9
movq 0x8(%rdi), %r15
movl %ebp, %esi
xorl %edx, %edx
callq 0xc2e7a
cmpl $0x2, %eax
jl 0x1141d9
movq %rbx, %r12
shrq $0x20, %r12
movq 0x98(%rsp), %rax
leaq (%rax,%r12,8), %r14
movq %r13, %rdi
movq 0xa0(%rsp), %rax
leaq (%rax,%r12,4), %r13
movl %ebp, %ecx
xorl $0x1, %ecx
subq $0x8, %rsp
movq 0x10(%rsp), %rsi
leaq 0x128(%rsp), %rdx
movl %ecx, 0x50(%rsp)
movq 0x18(%rsp), %r8
pushq $0x1
popq %r9
pushq $0x0
callq 0x107d53
addq $0x10, %rsp
movl %ebx, %ebx
imulq $0x18, %r12, %rax
addq %rax, %r15
addq $0xc, %r15
xorl %r12d, %r12d
cmpq %r12, %rbx
je 0x1141a0
cmpl $0x0, (%r15)
js 0x114194
movl -0x4(%r15), %ecx
subq $0x8, %rsp
movq 0x38(%rsp), %rdi
movq 0x10(%rsp), %rsi
leaq 0x128(%rsp), %rdx
movl %ebp, %r8d
movq 0x60(%rsp), %r9
leaq 0xbc(%rsp), %rax
pushq %rax
pushq $0x0
pushq $0x4
pushq $0x1
leaq 0x108(%rsp), %rax
pushq %rax
leaq 0x130(%rsp), %rax
pushq %rax
pushq 0x88(%rsp)
pushq 0x80(%rsp)
pushq 0x58(%rsp)
callq 0x11201e
addq $0x50, %rsp
movsd %xmm0, (%r14,%r12,8)
movl 0xb4(%rsp), %eax
movl %eax, (%r13,%r12,4)
incq %r12
addq $0x18, %r15
jmp 0x114115
subq $0x8, %rsp
movq 0x38(%rsp), %r13
movq %r13, %rdi
movq 0x10(%rsp), %rsi
leaq 0x128(%rsp), %rdx
movl 0x50(%rsp), %ecx
movq 0x18(%rsp), %r8
pushq $0x1
popq %r9
pushq $0x0
callq 0x107d53
popq %rax
popq %rcx
movq 0x20(%rsp), %r14
movq 0x38(%rsp), %r12
incq %rbp
jmp 0x114079
xorpd %xmm1, %xmm1
xorl %esi, %esi
movq 0x88(%rsp), %r15
cmpq %r12, %rsi
je 0x11441c
movq 0x8(%rsp), %rax
movq 0x18(%rax), %rdi
movq 0x28(%rdi), %rax
movq (%rax,%rsi,8), %rbx
testl $0xfffffffe, %ebx       # imm = 0xFFFFFFFE
je 0x114414
movsd %xmm1, 0x48(%rsp)
movq 0x8(%rdi), %r14
movq %rsi, 0x90(%rsp)
xorl %edx, %edx
callq 0xc2e7a
cmpl $0x2, %eax
jge 0x11424b
movq 0x20(%rsp), %r14
movq 0x90(%rsp), %rsi
movsd 0x48(%rsp), %xmm1
jmp 0x114414
movq %rbx, %r12
shrq $0x20, %r12
imulq $0x18, %r12, %rsi
leaq (%r14,%rsi), %r15
movq 0x98(%rsp), %rax
leaq (%rax,%r12,8), %rdx
movq 0xa0(%rsp), %rax
leaq (%rax,%r12,4), %rcx
movl %ebx, %eax
leaq (%r14,%rsi), %rdi
addq $0xc, %rdi
xorl %r8d, %r8d
xorl %esi, %esi
pushq $-0x1
popq %r9
movq 0x20(%rsp), %r14
movsd 0x48(%rsp), %xmm1
cmpq %r8, %rax
je 0x1142be
cmpl $0x0, (%rdi)
js 0x1142b5
movsd (%rdx,%r8,8), %xmm0
cmpl $-0x1, %r9d
je 0x1142ac
ucomisd %xmm1, %xmm0
jbe 0x1142b3
movl %r8d, %r9d
movapd %xmm0, %xmm1
incl %esi
incq %r8
addq $0x18, %rdi
jmp 0x114290
cmpl $-0x1, %r9d
je 0x1142da
movl %r9d, %edx
cmpl $0x5, (%rcx,%rdx,4)
setb %cl
cmpl $0x2, %esi
setb %sil
orb %cl, %sil
je 0x1142f4
movq 0x88(%rsp), %r15
movq 0x38(%rsp), %r12
movq 0x90(%rsp), %rsi
jmp 0x114414
imulq $0x18, %rax, %r14
imulq $0x18, %rdx, %rcx
xorl %r13d, %r13d
movq 0x90(%rsp), %rsi
movsd %xmm1, 0x48(%rsp)
movq %rcx, 0xb8(%rsp)
cmpq %r13, %r14
je 0x1143fd
movl 0xc(%r15,%r13), %ebp
testl %ebp, %ebp
js 0x1143f1
cmpq %r13, %rcx
je 0x1143f1
movl 0x8(%r15,%r13), %ebx
movl %ebx, %eax
xorl %esi, %eax
cmpl $0x1, %eax
ja 0x114355
movq 0xa0(%rsp), %rax
cmpl $0x5, (%rax,%r12,4)
jb 0x1143f1
movq 0x98(%rsp), %rax
movsd (%rax,%r12,8), %xmm0
addsd %xmm0, %xmm0
ucomisd %xmm0, %xmm1
jbe 0x1143f1
leaq (%r15,%r13), %rdi
movq 0x8(%rsp), %rsi
movq 0x98(%rsp), %rdx
movq 0xa0(%rsp), %rcx
movsd 0xd8dbe(%rip), %xmm0    # 0x1ed150
pushq $0x4
popq %r8
callq 0x108adb
movq 0xb8(%rsp), %rcx
movsd 0x48(%rsp), %xmm1
movq 0x90(%rsp), %rsi
testl %eax, %eax
je 0x1143f1
orl $0x80000000, %ebp       # imm = 0x80000000
movl %ebp, 0xc(%r15,%r13)
movq 0x8(%rsp), %rax
movq 0x18(%rax), %rdi
xorl $0x1, %ebx
movl 0x4(%r15,%r13), %edx
xorl $0x1, %edx
movl %ebx, %esi
callq 0x10433c
movq 0xb8(%rsp), %rcx
movsd 0x48(%rsp), %xmm1
movq 0x90(%rsp), %rsi
addq $0x18, %r13
incq %r12
jmp 0x114315
movq 0x30(%rsp), %r13
movq 0x88(%rsp), %r15
movq 0x20(%rsp), %r14
movq 0x38(%rsp), %r12
incq %rsi
jmp 0x1141ef
xorl %ebp, %ebp
cmpq %r12, %rbp
je 0x11473e
movq 0x8(%rsp), %rax
movq 0x18(%rax), %rdi
movq 0x28(%rdi), %rax
movl (%rax,%rbp,8), %ebx
movl %ebp, %esi
xorl %edx, %edx
callq 0xc2e7a
cmpl %ebx, %eax
jne 0x114449
incq %rbp
jmp 0x11441e
cmpl $0x1, %eax
jne 0x114444
cmpl $0x2, %ebx
jb 0x114444
movq 0x8(%rsp), %rbx
movq 0x18(%rbx), %rdi
movl %ebp, %esi
leaq 0x4(%rsp), %rdx
callq 0xc2e7a
movl 0x4(%rsp), %esi
xorl $0x1, %esi
movl %esi, 0x4(%rsp)
movq 0x18(%rbx), %rdi
xorl %edx, %edx
callq 0xc2e7a
cmpl $0x1, %eax
jne 0x114444
movq 0xb8(%r13), %rsi
movl 0x4(%rsp), %r9d
movq 0x8(%rsp), %rdx
xorl %ecx, %ecx
movl %ebp, %r8d
callq 0x1062c5
movq 0x18(%rsp), %rax
cmpb $0x0, (%rax,%rbp)
jne 0x114444
movl 0x4(%rsp), %ebx
movq 0x18(%rsp), %rax
cmpb $0x0, (%rax,%rbx)
jne 0x114444
movq 0x18(%rsp), %rax
movb $0x1, %cl
movb %cl, (%rax,%rbx)
movb %cl, (%rax,%rbp)
movq 0x8(%rsp), %r14
movq %r14, %rsi
movl %ebp, %edx
callq 0x10629b
movl %eax, %esi
shrl %esi
xorl %r12d, %r12d
testb $0x1, %al
leaq 0xb0(%rsp), %rax
movq %rax, %rdx
cmoveq %r12, %rdx
movl $0x0, %ecx
cmoveq %rax, %rcx
subq $0x8, %rsp
movq %r13, %rdi
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq $0x0
callq 0xf6ab5
popq %rax
popq %rcx
movq %r14, %rsi
movl %ebx, %edx
callq 0x10629b
movl %eax, %esi
shrl %esi
testb $0x1, %al
leaq 0xac(%rsp), %rax
movq %rax, %rdx
cmoveq %r12, %rdx
movl $0x0, %ecx
cmoveq %rax, %rcx
subq $0x8, %rsp
movq %r13, %rdi
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq $0x0
callq 0xf6ab5
popq %rax
popq %rcx
andq $0x0, 0x60(%rsp)
movl %ebp, %r15d
xorl $0x1, %r15d
subq $0x8, %rsp
movq %r13, %rdi
movq 0x30(%rsp), %rbx
movq %rbx, %rsi
leaq 0x128(%rsp), %rdx
movl %r15d, %ecx
movq 0x18(%rsp), %r14
movq %r14, %r8
pushq $0x1
popq %r9
pushq $0x0
callq 0x107d53
popq %rax
popq %rcx
movl 0x4(%rsp), %ecx
xorl $0x1, %ecx
subq $0x8, %rsp
movq %r13, %rdi
movq %rbx, %rsi
leaq 0x128(%rsp), %rdx
movl %ebp, %r8d
movq 0x60(%rsp), %r9
pushq $0x0
leaq 0x70(%rsp), %rax
pushq %rax
pushq $0x4
pushq $0x1
leaq 0x108(%rsp), %rax
pushq %rax
leaq 0x130(%rsp), %rax
pushq %rax
pushq 0x88(%rsp)
pushq 0x80(%rsp)
pushq %r14
callq 0x11201e
addq $0x48, %rsp
movq %r13, %rdi
movq %rbx, %rsi
leaq 0x128(%rsp), %rdx
movl %r15d, 0x38(%rsp)
movl %r15d, %ecx
movq %r14, %r8
movq 0x28(%rsp), %r14
pushq $0x1
popq %r9
pushq $0x0
callq 0x107d53
addq $0x10, %rsp
movq 0x60(%rsp), %rax
movq 0x70(%rsp), %rcx
movl %r12d, %edx
cmpq %rdx, %rax
jbe 0x11462b
movl (%rcx,%rdx,4), %edx
shrl %edx
orb $0x1, (%r14,%rdx)
incl %r12d
jmp 0x114614
movl 0x4(%rsp), %ecx
xorl $0x1, %ecx
subq $0x8, %rsp
movq %r13, %rdi
movq 0x30(%rsp), %rbx
movq %rbx, %rsi
leaq 0x128(%rsp), %r15
movq %r15, %rdx
movq 0x18(%rsp), %r14
movq %r14, %r8
pushq $0x1
popq %r9
pushq $0x0
callq 0x107d53
popq %rax
popq %rcx
movl 0x4(%rsp), %r8d
subq $0x8, %rsp
movq %r13, %rdi
movq %rbx, %rsi
movq %r15, %rdx
movl 0x38(%rsp), %ecx
movq 0x60(%rsp), %r9
pushq $0x0
leaq 0x70(%rsp), %rax
pushq %rax
pushq $0x4
pushq $0x1
leaq 0x108(%rsp), %rax
pushq %rax
leaq 0x130(%rsp), %rax
pushq %rax
pushq 0x88(%rsp)
pushq 0x80(%rsp)
pushq %r14
callq 0x11201e
addq $0x50, %rsp
movl 0x4(%rsp), %ecx
xorl $0x1, %ecx
subq $0x8, %rsp
movq %r13, %rdi
movq %rbx, %rsi
movq %r15, %rdx
movq %r14, %r8
movq 0x28(%rsp), %r14
pushq $0x1
popq %r9
pushq $0x0
callq 0x107d53
popq %rax
popq %rcx
movq 0x60(%rsp), %rax
movq 0x70(%rsp), %rcx
movq 0x88(%rsp), %r15
movl %r12d, %edx
cmpq %rdx, %rax
jbe 0x114706
movl (%rcx,%rdx,4), %esi
shrl %esi
orb $0x2, (%r14,%rsi)
leal 0x1(%rdx), %r12d
jmp 0x1146ee
xorl %edx, %edx
movq 0x38(%rsp), %r12
movl %edx, %edx
cmpq %rdx, %rax
jbe 0x114444
movl (%rcx,%rdx,4), %esi
shrl %esi
movb $0x3, %dil
cmpb $0x3, (%r14,%rsi)
je 0x114731
movb $0x1, %dil
cmpb $0x3, (%r15,%rsi)
je 0x114735
movb %dil, (%r15,%rsi)
movb $0x0, (%r14,%rsi)
incl %edx
jmp 0x11470d
xorl %ebp, %ebp
movq 0x18(%rsp), %rdi
xorl %esi, %esi
movq %r12, %rdx
callq 0x20e0
cmpq %r12, %rbp
je 0x114a94
movq 0x8(%rsp), %rax
movq 0x18(%rax), %rdi
movq 0x28(%rdi), %rax
movl (%rax,%rbp,8), %ebx
movl %ebp, %esi
xorl %edx, %edx
callq 0xc2e7a
cmpl %ebx, %eax
jne 0x11477a
incq %rbp
jmp 0x11474f
cmpl $0x1, %eax
jne 0x114775
cmpl $0x2, %ebx
jb 0x114775
movq 0x8(%rsp), %rbx
movq 0x18(%rbx), %rdi
movl %ebp, %esi
leaq 0x4(%rsp), %rdx
callq 0xc2e7a
movl 0x4(%rsp), %esi
xorl $0x1, %esi
movl %esi, 0x4(%rsp)
movq 0x18(%rbx), %rdi
xorl %edx, %edx
callq 0xc2e7a
cmpl $0x1, %eax
jne 0x114775
movq 0xb8(%r13), %rsi
movl 0x4(%rsp), %r9d
movq 0x8(%rsp), %rdx
xorl %ecx, %ecx
movl %ebp, %r8d
callq 0x1062c5
movq 0x18(%rsp), %rax
cmpb $0x0, (%rax,%rbp)
jne 0x114775
movl 0x4(%rsp), %ebx
movq 0x18(%rsp), %rax
cmpb $0x0, (%rax,%rbx)
jne 0x114775
movq 0x18(%rsp), %rax
movb $0x1, %cl
movb %cl, (%rax,%rbx)
movb %cl, (%rax,%rbp)
movq 0x8(%rsp), %r14
movq %r14, %rsi
movl %ebp, %edx
callq 0x10629b
movl %eax, %esi
shrl %esi
xorl %r12d, %r12d
testb $0x1, %al
leaq 0xb0(%rsp), %rax
movq %rax, %rdx
cmoveq %r12, %rdx
movl $0x0, %ecx
cmoveq %rax, %rcx
subq $0x8, %rsp
movq %r13, %rdi
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq $0x0
callq 0xf6ab5
popq %rax
popq %rcx
movq %r14, %rsi
movl %ebx, %edx
callq 0x10629b
movl %eax, %esi
shrl %esi
testb $0x1, %al
leaq 0xac(%rsp), %rax
movq %rax, %rdx
cmoveq %r12, %rdx
movl $0x0, %ecx
cmoveq %rax, %rcx
subq $0x8, %rsp
movq %r13, %rdi
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq $0x0
callq 0xf6ab5
popq %rax
popq %rcx
andq $0x0, 0x60(%rsp)
movl %ebp, %ebx
xorl $0x1, %ebx
subq $0x8, %rsp
movq %r13, %rdi
movq 0x30(%rsp), %r14
movq %r14, %rsi
leaq 0x128(%rsp), %rdx
movl %ebx, %ecx
movq 0x18(%rsp), %r8
pushq $0x1
popq %r9
pushq $0x0
callq 0x107d53
popq %rax
popq %rcx
movl 0x4(%rsp), %ecx
xorl $0x1, %ecx
subq $0x8, %rsp
movq %r13, %rdi
movq %r14, %rsi
leaq 0x128(%rsp), %rdx
movl %ebp, %r8d
movq 0x60(%rsp), %r9
pushq $0x0
leaq 0x70(%rsp), %rax
pushq %rax
pushq $0x4
pushq $0x1
leaq 0x108(%rsp), %rax
pushq %rax
leaq 0x130(%rsp), %rax
pushq %rax
pushq 0x88(%rsp)
pushq 0x80(%rsp)
movq 0x58(%rsp), %r14
pushq %r14
callq 0x11201e
addq $0x48, %rsp
movq %r13, %rdi
movq 0x30(%rsp), %rsi
leaq 0x128(%rsp), %rdx
movl %ebx, 0x38(%rsp)
movl %ebx, %ecx
movq %r14, %r8
movq 0x28(%rsp), %r14
pushq $0x1
popq %r9
pushq $0x0
callq 0x107d53
addq $0x10, %rsp
movq 0x60(%rsp), %rax
movq 0x70(%rsp), %rcx
movl %r12d, %edx
cmpq %rdx, %rax
jbe 0x11495b
movl (%rcx,%rdx,4), %edx
shrl %edx
orb $0x1, (%r14,%rdx)
incl %r12d
jmp 0x114944
movl 0x4(%rsp), %ecx
xorl $0x1, %ecx
subq $0x8, %rsp
movq %r13, %rdi
movq 0x30(%rsp), %rbx
movq %rbx, %rsi
leaq 0x128(%rsp), %rdx
movq 0x18(%rsp), %r14
movq %r14, %r8
pushq $0x1
popq %r9
pushq $0x0
callq 0x107d53
popq %rax
popq %rcx
movl 0x4(%rsp), %r8d
subq $0x8, %rsp
movq %r13, %rdi
movq %rbx, %rsi
leaq 0x128(%rsp), %rdx
movl 0x38(%rsp), %ecx
movq 0x60(%rsp), %r9
pushq $0x0
leaq 0x70(%rsp), %rax
pushq %rax
pushq $0x4
pushq $0x1
leaq 0x108(%rsp), %rax
pushq %rax
leaq 0x130(%rsp), %rax
pushq %rax
pushq 0x88(%rsp)
pushq 0x80(%rsp)
pushq %r14
callq 0x11201e
addq $0x50, %rsp
movl 0x4(%rsp), %ecx
xorl $0x1, %ecx
subq $0x8, %rsp
movq %r13, %rdi
movq %rbx, %rsi
leaq 0x128(%rsp), %rdx
movq %r14, %r8
movq 0x28(%rsp), %r14
pushq $0x1
popq %r9
pushq $0x0
callq 0x107d53
popq %rax
popq %rcx
movq 0x60(%rsp), %rax
movq 0x70(%rsp), %rcx
movl %r12d, %edx
cmpq %rdx, %rax
jbe 0x114a35
movl (%rcx,%rdx,4), %esi
shrl %esi
orb $0x2, (%r14,%rsi)
leal 0x1(%rdx), %r12d
jmp 0x114a1d
movl %ebp, %eax
shrl %eax
movl 0x4(%rsp), %r10d
shrl %r10d
subq $0x8, %rsp
xorl %ebx, %ebx
movq %r13, %rdi
movq 0x18(%rsp), %rsi
leaq 0x68(%rsp), %rdx
movq %r14, %rcx
movq %r15, %r8
xorl %r9d, %r9d
pushq %r10
pushq %rax
pushq $0x1
callq 0x113477
addq $0x20, %rsp
movq 0x60(%rsp), %rax
movq 0x70(%rsp), %rcx
movq 0x38(%rsp), %r12
movl %ebx, %edx
cmpq %rdx, %rax
jbe 0x114775
movl (%rcx,%rdx,4), %esi
shrl %esi
movb $0x0, (%r14,%rsi)
leal 0x1(%rdx), %ebx
jmp 0x114a7a
leaq 0xc0(%rsp), %rax
andq $0x0, (%rax)
xorl %ebp, %ebp
movq 0x18(%rsp), %rdi
xorl %esi, %esi
movq %r12, %rdx
callq 0x20e0
cmpq %r12, %rbp
je 0x114dfa
movq 0x8(%rsp), %rax
movq 0x18(%rax), %rdi
movq 0x28(%rdi), %rax
movl (%rax,%rbp,8), %ebx
movl %ebp, %esi
xorl %edx, %edx
callq 0xc2e7a
cmpl %ebx, %eax
jne 0x114adc
incq %rbp
jmp 0x114ab1
cmpl $0x1, %eax
jne 0x114ad7
cmpl $0x2, %ebx
jb 0x114ad7
movq 0x8(%rsp), %rbx
movq 0x18(%rbx), %rdi
movl %ebp, %esi
leaq 0x4(%rsp), %rdx
callq 0xc2e7a
movl 0x4(%rsp), %esi
xorl $0x1, %esi
movl %esi, 0x4(%rsp)
movq 0x18(%rbx), %rdi
xorl %edx, %edx
callq 0xc2e7a
cmpl $0x1, %eax
jne 0x114ad7
movq 0xb8(%r13), %rsi
movl 0x4(%rsp), %r9d
movq 0x8(%rsp), %rdx
xorl %ecx, %ecx
movl %ebp, %r8d
callq 0x1062c5
movq 0x18(%rsp), %rax
cmpb $0x0, (%rax,%rbp)
jne 0x114ad7
movl 0x4(%rsp), %ebx
movq 0x18(%rsp), %rax
cmpb $0x0, (%rax,%rbx)
jne 0x114ad7
movq 0x18(%rsp), %rax
movb $0x1, %cl
movb %cl, (%rax,%rbx)
movb %cl, (%rax,%rbp)
movq 0x8(%rsp), %r14
movq %r14, %rsi
movl %ebp, %edx
callq 0x10629b
movl %eax, %esi
shrl %esi
xorl %r12d, %r12d
testb $0x1, %al
leaq 0xb0(%rsp), %rax
movq %rax, %rdx
cmoveq %r12, %rdx
movl $0x0, %ecx
cmoveq %rax, %rcx
subq $0x8, %rsp
movq %r13, %rdi
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq $0x0
callq 0xf6ab5
popq %rax
popq %rcx
movq %r14, %rsi
movl %ebx, %edx
callq 0x10629b
movl %eax, %esi
shrl %esi
testb $0x1, %al
leaq 0xac(%rsp), %rax
movq %rax, %rdx
cmoveq %r12, %rdx
movl $0x0, %ecx
cmoveq %rax, %rcx
subq $0x8, %rsp
movq %r13, %rdi
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq $0x0
callq 0xf6ab5
popq %rax
popq %rcx
andq $0x0, 0x60(%rsp)
movl %ebp, %ebx
xorl $0x1, %ebx
subq $0x8, %rsp
movq %r13, %rdi
movq 0x30(%rsp), %r14
movq %r14, %rsi
leaq 0x128(%rsp), %rdx
movl %ebx, %ecx
movq 0x18(%rsp), %r8
pushq $0x1
popq %r9
pushq $0x0
callq 0x107d53
popq %rax
popq %rcx
movl 0x4(%rsp), %ecx
xorl $0x1, %ecx
subq $0x8, %rsp
movq %r13, %rdi
movq %r14, %rsi
leaq 0x128(%rsp), %rdx
movl %ebp, %r8d
movq 0x60(%rsp), %r9
pushq $0x0
leaq 0x70(%rsp), %rax
pushq %rax
pushq $0x4
pushq $0x1
leaq 0x108(%rsp), %rax
pushq %rax
leaq 0x130(%rsp), %rax
pushq %rax
pushq 0x88(%rsp)
pushq 0x80(%rsp)
movq 0x58(%rsp), %r14
pushq %r14
callq 0x11201e
addq $0x48, %rsp
movq %r13, %rdi
movq 0x30(%rsp), %rsi
leaq 0x128(%rsp), %rdx
movl %ebx, 0x38(%rsp)
movl %ebx, %ecx
movq %r14, %r8
movq 0x28(%rsp), %r14
pushq $0x1
popq %r9
pushq $0x0
callq 0x107d53
addq $0x10, %rsp
movq 0x60(%rsp), %rax
movq 0x70(%rsp), %rcx
movl %r12d, %edx
cmpq %rdx, %rax
jbe 0x114cbd
movl (%rcx,%rdx,4), %edx
shrl %edx
orb $0x1, (%r14,%rdx)
incl %r12d
jmp 0x114ca6
movl 0x4(%rsp), %ecx
xorl $0x1, %ecx
subq $0x8, %rsp
movq %r13, %rdi
movq 0x30(%rsp), %rbx
movq %rbx, %rsi
leaq 0x128(%rsp), %rdx
movq 0x18(%rsp), %r14
movq %r14, %r8
pushq $0x1
popq %r9
pushq $0x0
callq 0x107d53
popq %rax
popq %rcx
movl 0x4(%rsp), %r8d
subq $0x8, %rsp
movq %r13, %rdi
movq %rbx, %rsi
leaq 0x128(%rsp), %rdx
movl 0x38(%rsp), %ecx
movq 0x60(%rsp), %r9
pushq $0x0
leaq 0x70(%rsp), %rax
pushq %rax
pushq $0x4
pushq $0x1
leaq 0x108(%rsp), %rax
pushq %rax
leaq 0x130(%rsp), %rax
pushq %rax
pushq 0x88(%rsp)
pushq 0x80(%rsp)
pushq %r14
callq 0x11201e
addq $0x50, %rsp
movl 0x4(%rsp), %ecx
xorl $0x1, %ecx
subq $0x8, %rsp
movq %r13, %rdi
movq %rbx, %rsi
leaq 0x128(%rsp), %rdx
movq %r14, %r8
movq 0x28(%rsp), %r14
pushq $0x1
popq %r9
pushq $0x0
callq 0x107d53
popq %rax
popq %rcx
movq 0x60(%rsp), %rax
movq 0x70(%rsp), %rcx
movl %r12d, %edx
cmpq %rdx, %rax
jbe 0x114d97
movl (%rcx,%rdx,4), %esi
shrl %esi
orb $0x2, (%r14,%rsi)
leal 0x1(%rdx), %r12d
jmp 0x114d7f
movl %ebp, %eax
shrl %eax
movl 0x4(%rsp), %r10d
shrl %r10d
subq $0x8, %rsp
movq %r13, %rdi
movq 0x18(%rsp), %rsi
leaq 0x68(%rsp), %rdx
movq %r14, %rcx
movq %r15, %r8
leaq 0xc8(%rsp), %r9
pushq %r10
pushq %rax
pushq $0x1
callq 0x113477
addq $0x20, %rsp
movq 0x60(%rsp), %rax
movq 0x70(%rsp), %rcx
xorl %edx, %edx
movq 0x38(%rsp), %r12
movl %edx, %edx
cmpq %rdx, %rax
jbe 0x114ad7
movl (%rcx,%rdx,4), %esi
shrl %esi
movb $0x0, (%r14,%rsi)
incl %edx
jmp 0x114de1
movq 0xc0(%rsp), %rax
testq %rax, %rax
je 0x114ed5
xorl %ecx, %ecx
movq 0x190(%rsp), %r15
movl %ecx, %ebx
movq 0x10(%r13), %rcx
movq 0x18(%rcx), %rdi
cmpq %rbx, %rax
jbe 0x114ebf
movq 0xd0(%rsp), %rax
imulq $0x18, %rbx, %r14
movl 0x4(%rax,%r14), %esi
movl 0x8(%rax,%r14), %edx
callq 0x10433c
movq 0x10(%r13), %rax
movq 0x18(%rax), %rdi
movq 0xd0(%rsp), %rax
movl 0x4(%rax,%r14), %edx
movl 0x8(%rax,%r14), %esi
xorl $0x1, %esi
xorl $0x1, %edx
callq 0x10433c
movq (%r15), %rsi
movq 0x8(%r15), %rdi
movq 0xd0(%rsp), %rax
movl 0x4(%rax,%r14), %edx
movl 0x8(%rax,%r14), %ecx
callq 0x113dde
movq (%r15), %rsi
movq 0x8(%r15), %rdi
movq 0xd0(%rsp), %rax
movl 0x4(%rax,%r14), %ecx
movl 0x8(%rax,%r14), %edx
movq 0x20(%rsp), %r14
xorl $0x1, %edx
xorl $0x1, %ecx
callq 0x113dde
leal 0x1(%rbx), %ecx
movq 0xc0(%rsp), %rax
jmp 0x114e15
callq 0x694eb
movq 0x8(%r15), %rdi
callq 0x694eb
movq 0x88(%rsp), %r15
movq 0x10(%rsp), %rdi
callq 0x2220
movq 0x40(%rsp), %rdi
callq 0x2220
movq 0x18(%rsp), %rdi
callq 0x2220
movq %r14, %rdi
callq 0x2220
movq 0x168(%rsp), %rdi
callq 0x2220
movq 0x98(%rsp), %rdi
callq 0x2220
movq 0xa0(%rsp), %rdi
callq 0x2220
movq %r15, %rdi
callq 0x2220
movq 0x110(%rsp), %rdi
callq 0x2220
movq 0xf0(%rsp), %rdi
callq 0x2220
movq 0x70(%rsp), %rdi
callq 0x2220
movq 0xd0(%rsp), %rdi
callq 0x2220
movq 0x28(%rsp), %rdi
callq 0x6921d
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq