// File: chhylp123[P]hifiasm/ecovlp.cpp
// Function: h_ec_lchain_re1(ha_abuf_s*, unsigned int, UC_Read*, UC_Read*, unsigned long, unsigned long, All_reads*, overlap_region_alloc*, Candidates_list*, bit_extz_t*, asg16_v*, asg64_v*, double, int, kvec_t_u8_warp*, kvec_t_u64_warp*, st_mt_t*, unsigned int*, unsigned int*, unsigned int, unsigned int, long, double, unsigned int, ma_hit_t_alloc*, ma_hit_t_alloc*)
overlap_region* h_ec_lchain_re1(ha_abuf_t *ab, uint32_t rid, UC_Read *qu, UC_Read *tu, uint64_t mz_w, uint64_t mz_k, All_reads *rref, overlap_region_alloc *ol, Candidates_list *cl, bit_extz_t *exz, asg16_v *buf, asg64_v *srt_i, double bw_thres, 
								 int apend_be, kvec_t_u8_warp* k_flag, kvec_t_u64_warp* dbg_ct, st_mt_t *sp, uint32_t *high_occ, uint32_t *low_occ, uint32_t is_accurate, uint32_t gen_off, int64_t enable_mcopy, double mcopy_rate, uint32_t mcopy_khit_cut, ma_hit_t_alloc *in0, ma_hit_t_alloc *in1)
{
    // fprintf(stderr, "-mm-[M::%s]\tchain_cutoff::%u\n", __func__, chain_cutoff);
    uint64_t on = 0, k, one = 0, ol0, wl = (asm_opt.is_ont)?(WINDOW_OHC):(WINDOW_HC), m, m0, tid, trev; ma_hit_t *oa = NULL, *p = NULL; overlap_region *aux_o = NULL, *z = NULL, t; Window_Pool w; double err = asm_opt.max_ov_diff_ec;
    char* rs = qu->seq; uint64_t rl = qu->length; 
    int64_t max_skip, max_iter, max_dis, quick_check; double chn_pen_gap, chn_pen_skip; 
	set_lchain_dp_op(is_accurate, mz_k, &max_skip, &max_iter, &max_dis, &chn_pen_gap, &chn_pen_skip, &quick_check);
    init_Window_Pool(&w, rl, wl, (int)(1.0/err));

    srt_i->n = 0;
    oa = in0->buffer; on = in0->length; m0 = 0;
    for (k = 0; k < on; k++) {
        if(oa[k].el) {
            one++; continue;
        }
        m = oa[k].tn; m <<= 1; m |= ((uint64_t)oa[k].rev); m <<= 32; m |= (k<<1); m |= m0;
        kv_push(uint64_t, *srt_i, m);
    }
    oa = in1->buffer; on = in1->length; m0 = 1;
    for (k = 0; k < on; k++) {
        // if(oa[k].el) continue;
        m = oa[k].tn; m <<= 1; m |= ((uint64_t)oa[k].rev); m <<= 32; m |= (k<<1); m |= m0;
        kv_push(uint64_t, *srt_i, m);
    }
    radix_sort_ec64(srt_i->a, srt_i->a + srt_i->n);

    // get the list of anchors
    get_mz1(rs, rl, mz_w, mz_k, 0, !(asm_opt.flag & HA_F_NO_HPC), ab, ha_flt_tab, NULL/**ha_idx**/, asm_opt.mz_sample_dist, k_flag, dbg_ct, NULL, -1, asm_opt.dp_min_len, -1, sp, asm_opt.mz_rewin, 0, NULL, 0);

    h_ec_lchain_re_gen(ab, rid, rs, rl, mz_w, mz_k, ha_idx, rref, ol, cl, bw_thres, apend_be, k_flag, dbg_ct, sp, high_occ, low_occ, gen_off, enable_mcopy, mcopy_rate, mcopy_khit_cut, 
            max_skip, max_iter, max_dis, quick_check, chn_pen_gap, chn_pen_skip, tu, srt_i, scb.a);

    
    ///max size
    on = ol->length + one + srt_i->n + 1; m0 = on - 1;
    if(on > ol->size) {
        REALLOC(ol->list, on);
        memset(ol->list+ol->size, 0, sizeof(overlap_region)*(on-ol->size));
        ol->size = on;   
    }
    aux_o = &(ol->list[on-1]); ol->mapped_overlaps_length = 0; on = ol->length;

    // fprintf(stderr, "-0-[M::%s]\n", __func__);

    gen_hc_r_alin(ol, cl, rref, qu, tu, exz, aux_o, asm_opt.max_ov_diff_ec, w.window_length, rid, E_KHIT, 1, buf, 0, -1, -1); rs = qu->seq; 

    // fprintf(stderr, "-1-[M::%s]\n", __func__);

    ///handle unmatched chain
    for (k = m = ol->length; k < on; k++) {
        clear_fake_cigar(&(ol->list[k].f_cigar));
        clear_window_list_alloc(&(ol->list[k].w_list));
        clear_window_list_alloc(&(ol->list[k].boundary_cigars));

        ol0 = ol->length;

        tid = ol->list[k].y_id; trev = ol->list[k].y_pos_strand;
        if(trev) recover_UC_Read_RC(tu, rref, tid);
        else recover_UC_Read(tu, rref, tid);

        get_pi_ec_chain(ab, rid, rl, tid, tu->seq, tu->length, mz_w, mz_k, ol, cl, bw_thres, apend_be, k_flag, dbg_ct, sp, high_occ, low_occ, gen_off, enable_mcopy, mcopy_rate, mcopy_khit_cut, max_skip, max_iter, max_dis, quick_check, chn_pen_gap, chn_pen_skip);
        assert(ol->length - ol0 <= 1);
        if((ol->length > ol0) && (gen_hc_r_alin_re(&(ol->list[ol0]), cl, rs, rl, tu->seq, tu->length, exz, aux_o, asm_opt.max_ov_diff_ec, w.window_length, rid, E_KHIT, 1, buf))) {
            ol->list[ol0].y_pos_strand = trev;
            // if(oa[k].tn == 15382) fprintf(stderr, "-mm-[M::%s]\tqn::%u\ttn::%u\terr::%u\n", __func__, rid, oa[k].tn, ol->list[ol->length-1].non_homopolymer_errors);
        } 

        if((ol->length <= ol0) || (ol->list[ol0].is_match != 1)) continue;

        if(m != ol0) {
            t = ol->list[m];
            ol->list[m] = ol->list[ol0];
            ol->list[ol0] = t;
        }

        m++;
    }
    ol->length = m;

    for (k = ol->length; k < on; k++) {
        clear_fake_cigar(&(ol->list[k].f_cigar));
        clear_window_list_alloc(&(ol->list[k].w_list));
        clear_window_list_alloc(&(ol->list[k].boundary_cigars));
    }

    // fprintf(stderr, "[M::%s]\tnew::%lu\told::%lu\n", __func__, ol->length, ol0);
    
    oa = in0->buffer; on = in0->length;
    for (k = 0; k < on; k++) {
        if(oa[k].el) {
            z = &(ol->list[ol->length++]);
            z->x_id = rid; z->y_id = oa[k].tn;
            z->x_pos_strand = 0; z->y_pos_strand = oa[k].rev;
            z->x_pos_s = (uint32_t)oa[k].qns;
            z->x_pos_e = oa[k].qe - 1;
            z->y_pos_s = oa[k].ts;
            z->y_pos_e = oa[k].te - 1;

            z->is_match = 1;
            z->align_length = z->overlapLen = z->shared_seed = z->x_pos_e + 1 - z->x_pos_s;
            z->non_homopolymer_errors = z->strong = 0;

            set_exact_exz(exz, z->x_pos_s, z->x_pos_e + 1, z->y_pos_s, z->y_pos_e + 1); push_alnw(z, exz);

            // if(oa[k].tn == 1945) fprintf(stderr, "-em-[M::%s]\tqn::%u\ttn::%u\terr::%u\n", __func__, rid, oa[k].tn, ol->list[ol->length-1].non_homopolymer_errors);
        }
    }
    m = ol->length;

    for (k = 0; k < srt_i->n; k++) {
        ol0 = ol->length;
        if(srt_i->a[k]&1) {
            p = &(in1->buffer[((uint32_t)srt_i->a[k])>>1]);
        } else {
            p = &(in0->buffer[((uint32_t)srt_i->a[k])>>1]);
        }
        
        if(p->rev) recover_UC_Read_RC(tu, rref, p->tn);
        else recover_UC_Read(tu, rref, p->tn);

        get_pi_ec_chain(ab, rid, rl, p->tn, tu->seq, tu->length, mz_w, mz_k, ol, cl, bw_thres, apend_be, k_flag, dbg_ct, sp, high_occ, low_occ, gen_off, enable_mcopy, mcopy_rate, mcopy_khit_cut, max_skip, max_iter, max_dis, quick_check, chn_pen_gap, chn_pen_skip);
        assert(ol->length - ol0 <= 1);
        if((ol->length > ol0) && (gen_hc_r_alin_re(&(ol->list[ol0]), cl, rs, rl, tu->seq, tu->length, exz, aux_o, asm_opt.max_ov_diff_ec, w.window_length, rid, E_KHIT, 1, buf))) {
            ol->list[ol0].y_pos_strand = p->rev;
            // if(oa[k].tn == 15382) fprintf(stderr, "-mm-[M::%s]\tqn::%u\ttn::%u\terr::%u\n", __func__, rid, oa[k].tn, ol->list[ol->length-1].non_homopolymer_errors);
        } 

        if((ol->length <= ol0) || (ol->list[ol0].is_match != 1)) continue;

        if(m != ol0) {
            t = ol->list[m];
            ol->list[m] = ol->list[ol0];
            ol->list[ol0] = t;
        }

        m++;
    }
    
    ol->length = m;

    
    // fprintf(stderr, "[M::%s]\tnew_n::%lu\told_n::%lu\n", __func__, ol->length, m0);
    // fprintf(stderr, "[M::%s]\tnew_n::%lu\told_n::%u\n", __func__, ol->length, in0->length + in1->length);
    // assert(ol->length <= (in0->length + in1->length));


    // dbg_overlap_region_cigar(ol->list, ol->length, rs, rref, tu);

    return aux_o;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x398, %rsp            # imm = 0x398
movq 0x98(%rbp), %rax
movq 0x90(%rbp), %rax
movl 0x88(%rbp), %eax
movq 0x80(%rbp), %rax
movl 0x78(%rbp), %eax
movl 0x70(%rbp), %eax
movq 0x68(%rbp), %rax
movq 0x60(%rbp), %rax
movq 0x58(%rbp), %rax
movq 0x50(%rbp), %rax
movq 0x48(%rbp), %rax
movl 0x40(%rbp), %eax
movq 0x38(%rbp), %rax
movq 0x30(%rbp), %rax
movq 0x28(%rbp), %rax
movq 0x20(%rbp), %rax
movq 0x18(%rbp), %rax
movq 0x10(%rbp), %rax
movq %rdi, -0x30(%rbp)
movl %esi, -0x34(%rbp)
movq %rdx, -0x40(%rbp)
movq %rcx, -0x48(%rbp)
movq %r8, -0x50(%rbp)
movq %r9, -0x58(%rbp)
movsd %xmm0, -0x60(%rbp)
movsd %xmm1, -0x68(%rbp)
movq $0x0, -0x70(%rbp)
movq $0x0, -0x80(%rbp)
leaq 0x1669bc(%rip), %rax    # 0x3c47f8
movq 0x2a8(%rax), %rdx
movl $0x307, %eax            # imm = 0x307
movl $0x177, %ecx            # imm = 0x177
cmpq $0x0, %rdx
cmovnel %ecx, %eax
cltq
movq %rax, -0x90(%rbp)
movq $0x0, -0xb8(%rbp)
movq $0x0, -0xc0(%rbp)
movq $0x0, -0xc8(%rbp)
movq $0x0, -0xd0(%rbp)
leaq 0x166968(%rip), %rax    # 0x3c47f8
movsd 0xc0(%rax), %xmm0
movsd %xmm0, -0x1b8(%rbp)
movq -0x40(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x1c0(%rbp)
movq -0x40(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x1c8(%rbp)
movl 0x70(%rbp), %edi
movq -0x58(%rbp), %rax
movl %eax, %esi
leaq -0x1d0(%rbp), %rdx
leaq -0x1d8(%rbp), %rcx
leaq -0x1e0(%rbp), %r8
leaq -0x1f0(%rbp), %r9
leaq -0x1f8(%rbp), %r10
leaq -0x1e8(%rbp), %rax
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
callq 0x1aca80
movq -0x1c8(%rbp), %rsi
movq -0x90(%rbp), %rdx
movsd 0x1240ec(%rip), %xmm0   # 0x382000
divsd -0x1b8(%rbp), %xmm0
cvttsd2si %xmm0, %eax
movslq %eax, %rcx
leaq -0x1b0(%rbp), %rdi
callq 0x9f470
movq 0x38(%rbp), %rax
movq $0x0, (%rax)
movq 0x90(%rbp), %rax
movq (%rax), %rax
movq %rax, -0xb8(%rbp)
movq 0x90(%rbp), %rax
movl 0xc(%rax), %eax
movq %rax, -0x70(%rbp)
movq $0x0, -0xa0(%rbp)
movq $0x0, -0x78(%rbp)
movq -0x78(%rbp), %rax
cmpq -0x70(%rbp), %rax
jae 0x25e0d9
movq -0xb8(%rbp), %rax
imulq $0x28, -0x78(%rbp), %rcx
addq %rcx, %rax
cmpb $0x0, 0x20(%rax)
je 0x25dfa0
movq -0x80(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x80(%rbp)
jmp 0x25e0c8
movq -0xb8(%rbp), %rax
imulq $0x28, -0x78(%rbp), %rcx
addq %rcx, %rax
movl 0xc(%rax), %eax
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
shlq %rax
movq %rax, -0x98(%rbp)
movq -0xb8(%rbp), %rax
imulq $0x28, -0x78(%rbp), %rcx
addq %rcx, %rax
movq 0x18(%rax), %rax
shrq $0x1f, %rax
andq $0x1, %rax
movl %eax, %eax
orq -0x98(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
shlq $0x20, %rax
movq %rax, -0x98(%rbp)
movq -0x78(%rbp), %rax
shlq %rax
orq -0x98(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0xa0(%rbp), %rax
orq -0x98(%rbp), %rax
movq %rax, -0x98(%rbp)
movq 0x38(%rbp), %rax
movq (%rax), %rax
movq 0x38(%rbp), %rcx
cmpq 0x8(%rcx), %rax
jne 0x25e0a2
movq 0x38(%rbp), %rax
cmpq $0x0, 0x8(%rax)
je 0x25e061
movq 0x38(%rbp), %rax
movq 0x8(%rax), %rax
shlq %rax
movq %rax, -0x200(%rbp)
jmp 0x25e06f
movl $0x2, %eax
movq %rax, -0x200(%rbp)
jmp 0x25e06f
movq -0x200(%rbp), %rcx
movq 0x38(%rbp), %rax
movq %rcx, 0x8(%rax)
movq 0x38(%rbp), %rax
movq 0x10(%rax), %rdi
movq 0x38(%rbp), %rax
movq 0x8(%rax), %rsi
shlq $0x3, %rsi
callq 0x2360
movq %rax, %rcx
movq 0x38(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x98(%rbp), %rdx
movq 0x38(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x38(%rbp), %rsi
movq (%rsi), %rcx
movq %rcx, %rdi
addq $0x1, %rdi
movq %rdi, (%rsi)
movq %rdx, (%rax,%rcx,8)
jmp 0x25e0c8
movq -0x78(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x78(%rbp)
jmp 0x25df6c
movq 0x98(%rbp), %rax
movq (%rax), %rax
movq %rax, -0xb8(%rbp)
movq 0x98(%rbp), %rax
movl 0xc(%rax), %eax
movq %rax, -0x70(%rbp)
movq $0x1, -0xa0(%rbp)
movq $0x0, -0x78(%rbp)
movq -0x78(%rbp), %rax
cmpq -0x70(%rbp), %rax
jae 0x25e252
movq -0xb8(%rbp), %rax
imulq $0x28, -0x78(%rbp), %rcx
addq %rcx, %rax
movl 0xc(%rax), %eax
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
shlq %rax
movq %rax, -0x98(%rbp)
movq -0xb8(%rbp), %rax
imulq $0x28, -0x78(%rbp), %rcx
addq %rcx, %rax
movq 0x18(%rax), %rax
shrq $0x1f, %rax
andq $0x1, %rax
movl %eax, %eax
orq -0x98(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
shlq $0x20, %rax
movq %rax, -0x98(%rbp)
movq -0x78(%rbp), %rax
shlq %rax
orq -0x98(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0xa0(%rbp), %rax
orq -0x98(%rbp), %rax
movq %rax, -0x98(%rbp)
movq 0x38(%rbp), %rax
movq (%rax), %rax
movq 0x38(%rbp), %rcx
cmpq 0x8(%rcx), %rax
jne 0x25e21b
movq 0x38(%rbp), %rax
cmpq $0x0, 0x8(%rax)
je 0x25e1da
movq 0x38(%rbp), %rax
movq 0x8(%rax), %rax
shlq %rax
movq %rax, -0x208(%rbp)
jmp 0x25e1e8
movl $0x2, %eax
movq %rax, -0x208(%rbp)
jmp 0x25e1e8
movq -0x208(%rbp), %rcx
movq 0x38(%rbp), %rax
movq %rcx, 0x8(%rax)
movq 0x38(%rbp), %rax
movq 0x10(%rax), %rdi
movq 0x38(%rbp), %rax
movq 0x8(%rax), %rsi
shlq $0x3, %rsi
callq 0x2360
movq %rax, %rcx
movq 0x38(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x98(%rbp), %rdx
movq 0x38(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x38(%rbp), %rsi
movq (%rsi), %rcx
movq %rcx, %rdi
addq $0x1, %rdi
movq %rdi, (%rsi)
movq %rdx, (%rax,%rcx,8)
jmp 0x25e241
movq -0x78(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x78(%rbp)
jmp 0x25e10b
movq 0x38(%rbp), %rax
movq 0x10(%rax), %rdi
movq 0x38(%rbp), %rax
movq 0x10(%rax), %rsi
movq 0x38(%rbp), %rax
movq (%rax), %rax
shlq $0x3, %rax
addq %rax, %rsi
callq 0x24aba0
movq -0x1c0(%rbp), %rdi
movq -0x1c8(%rbp), %rax
movl %eax, %esi
movq -0x50(%rbp), %rax
movl %eax, %edx
movq -0x58(%rbp), %rax
movl %eax, %ecx
leaq 0x166560(%rip), %rax    # 0x3c47f8
movl (%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
setne %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %r9d
movq -0x30(%rbp), %r13
leaq 0x16721a(%rip), %rax    # 0x3c54d0
movq (%rax), %r12
leaq 0x166538(%rip), %rax    # 0x3c47f8
movl 0xa8(%rax), %r15d
movq 0x48(%rbp), %r14
movq 0x50(%rbp), %rbx
leaq 0x166522(%rip), %rax    # 0x3c47f8
movl 0x1f8(%rax), %r11d
movq 0x58(%rbp), %r10
leaq 0x166510(%rip), %rax    # 0x3c47f8
movl 0xa0(%rax), %eax
movl %eax, -0x274(%rbp)
xorl %r8d, %r8d
xorl %eax, %eax
movl -0x274(%rbp), %eax
movss 0x120d69(%rip), %xmm0   # 0x37f070
movq %r13, (%rsp)
movq %r12, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
movl %r15d, 0x18(%rsp)
movq %r14, 0x20(%rsp)
movq %rbx, 0x28(%rsp)
movq $0x0, 0x30(%rsp)
movl $0xffffffff, 0x38(%rsp) # imm = 0xFFFFFFFF
movl %r11d, 0x40(%rsp)
movq %r10, 0x48(%rsp)
movl %eax, 0x50(%rsp)
movl $0x0, 0x58(%rsp)
movq $0x0, 0x60(%rsp)
movq $0x0, 0x68(%rsp)
callq 0x1b3940
movq -0x30(%rbp), %rdi
movl -0x34(%rbp), %esi
movq -0x1c0(%rbp), %rdx
movq -0x1c8(%rbp), %rcx
movq -0x50(%rbp), %r8
movq -0x58(%rbp), %r9
leaq 0x16714e(%rip), %rax    # 0x3c54d8
movq (%rax), %rax
movq %rax, -0x270(%rbp)
movq 0x10(%rbp), %rax
movq %rax, -0x268(%rbp)
movq 0x18(%rbp), %rax
movq %rax, -0x260(%rbp)
movq 0x20(%rbp), %rax
movq %rax, -0x258(%rbp)
movsd -0x60(%rbp), %xmm0
movl 0x40(%rbp), %eax
movl %eax, -0x24c(%rbp)
movq 0x48(%rbp), %rax
movq %rax, -0x248(%rbp)
movq 0x50(%rbp), %rax
movq %rax, -0x240(%rbp)
movq 0x58(%rbp), %rax
movq %rax, -0x238(%rbp)
movq 0x60(%rbp), %rax
movq %rax, -0x230(%rbp)
movq 0x68(%rbp), %rax
movq %rax, -0x228(%rbp)
movl 0x78(%rbp), %eax
movl %eax, -0x21c(%rbp)
movq 0x80(%rbp), %rax
movq %rax, -0x218(%rbp)
movsd -0x68(%rbp), %xmm1
movl 0x88(%rbp), %r13d
movq -0x1d0(%rbp), %r12
movq -0x1d8(%rbp), %r15
movq -0x1e0(%rbp), %r14
movq -0x1e8(%rbp), %rbx
movsd -0x1f0(%rbp), %xmm2
movsd -0x1f8(%rbp), %xmm3
movq -0x48(%rbp), %r11
movq 0x38(%rbp), %r10
movq 0x1671b0(%rip), %rax    # 0x3c5608
movq %rax, -0x210(%rbp)
movq -0x270(%rbp), %rax
movq %rax, (%rsp)
movq -0x268(%rbp), %rax
movq %rax, 0x8(%rsp)
movq -0x260(%rbp), %rax
movq %rax, 0x10(%rsp)
movq -0x258(%rbp), %rax
movq %rax, 0x18(%rsp)
movl -0x24c(%rbp), %eax
movl %eax, 0x20(%rsp)
movq -0x248(%rbp), %rax
movq %rax, 0x28(%rsp)
movq -0x240(%rbp), %rax
movq %rax, 0x30(%rsp)
movq -0x238(%rbp), %rax
movq %rax, 0x38(%rsp)
movq -0x230(%rbp), %rax
movq %rax, 0x40(%rsp)
movq -0x228(%rbp), %rax
movq %rax, 0x48(%rsp)
movl -0x21c(%rbp), %eax
movl %eax, 0x50(%rsp)
movq -0x218(%rbp), %rax
movq %rax, 0x58(%rsp)
movq -0x210(%rbp), %rax
movl %r13d, 0x60(%rsp)
movq %r12, 0x68(%rsp)
movq %r15, 0x70(%rsp)
movq %r14, 0x78(%rsp)
movq %rbx, 0x80(%rsp)
movq %r11, 0x88(%rsp)
movq %r10, 0x90(%rsp)
movq %rax, 0x98(%rsp)
callq 0x1b0c60
movq 0x18(%rbp), %rax
movq 0x10(%rax), %rax
addq -0x80(%rbp), %rax
movq 0x38(%rbp), %rcx
addq (%rcx), %rax
addq $0x1, %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rax
subq $0x1, %rax
movq %rax, -0xa0(%rbp)
movq -0x70(%rbp), %rax
movq 0x18(%rbp), %rcx
cmpq 0x8(%rcx), %rax
jbe 0x25e5bc
movq 0x18(%rbp), %rax
movq (%rax), %rdi
imulq $0xa8, -0x70(%rbp), %rsi
callq 0x2360
movq %rax, %rcx
movq 0x18(%rbp), %rax
movq %rcx, (%rax)
movq 0x18(%rbp), %rax
movq (%rax), %rdi
movq 0x18(%rbp), %rax
imulq $0xa8, 0x8(%rax), %rax
addq %rax, %rdi
movq -0x70(%rbp), %rax
movq 0x18(%rbp), %rcx
subq 0x8(%rcx), %rax
imulq $0xa8, %rax, %rdx
xorl %esi, %esi
callq 0x2100
movq -0x70(%rbp), %rcx
movq 0x18(%rbp), %rax
movq %rcx, 0x8(%rax)
movq 0x18(%rbp), %rax
movq (%rax), %rax
movq -0x70(%rbp), %rcx
subq $0x1, %rcx
imulq $0xa8, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0xc8(%rbp)
movq 0x18(%rbp), %rax
movq $0x0, 0x18(%rax)
movq 0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x70(%rbp)
movq 0x18(%rbp), %rdi
movq 0x20(%rbp), %rsi
movq 0x10(%rbp), %rdx
movq -0x40(%rbp), %rcx
movq -0x48(%rbp), %r8
movq 0x28(%rbp), %r9
movq -0xc8(%rbp), %rbx
leaq 0x1661de(%rip), %rax    # 0x3c47f8
movsd 0xc0(%rax), %xmm0
movq -0x1a8(%rbp), %r11
movl -0x34(%rbp), %eax
movl %eax, %r10d
movq 0x30(%rbp), %rax
xorl %r14d, %r14d
movsd 0x123c3a(%rip), %xmm1   # 0x382278
movq %rbx, (%rsp)
movq %r11, 0x8(%rsp)
movq %r10, 0x10(%rsp)
movq $0x1f, 0x18(%rsp)
movq $0x1, 0x20(%rsp)
movq %rax, 0x28(%rsp)
movl $0x0, 0x30(%rsp)
movq $-0x1, 0x38(%rsp)
callq 0x9af40
movq -0x40(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x1c0(%rbp)
movq 0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x98(%rbp)
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rax
cmpq -0x70(%rbp), %rax
jae 0x25eadd
movq 0x18(%rbp), %rax
movq (%rax), %rdi
imulq $0xa8, -0x78(%rbp), %rax
addq %rax, %rdi
addq $0x38, %rdi
callq 0x1e1d0
movq 0x18(%rbp), %rax
movq (%rax), %rdi
imulq $0xa8, -0x78(%rbp), %rax
addq %rax, %rdi
addq $0x48, %rdi
callq 0x1e1f0
movq 0x18(%rbp), %rax
movq (%rax), %rdi
imulq $0xa8, -0x78(%rbp), %rax
addq %rax, %rdi
addq $0x78, %rdi
callq 0x1e1f0
movq 0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x88(%rbp)
movq 0x18(%rbp), %rax
movq (%rax), %rax
imulq $0xa8, -0x78(%rbp), %rcx
addq %rcx, %rax
movl 0x10(%rax), %eax
movq %rax, -0xa8(%rbp)
movq 0x18(%rbp), %rax
movq (%rax), %rax
imulq $0xa8, -0x78(%rbp), %rcx
addq %rcx, %rax
movl 0x1c(%rax), %eax
movq %rax, -0xb0(%rbp)
cmpq $0x0, -0xb0(%rbp)
je 0x25e760
movq -0x48(%rbp), %rdi
movq 0x10(%rbp), %rsi
movq -0xa8(%rbp), %rdx
callq 0xa500
jmp 0x25e774
movq -0x48(%rbp), %rdi
movq 0x10(%rbp), %rsi
movq -0xa8(%rbp), %rdx
callq 0xa380
movq -0x30(%rbp), %rdi
movl -0x34(%rbp), %eax
movl %eax, %esi
movq -0x1c8(%rbp), %rdx
movq -0xa8(%rbp), %rax
movl %eax, %ecx
movq -0x48(%rbp), %rax
movq (%rax), %r8
movq -0x48(%rbp), %rax
movq 0x8(%rax), %r9
movq -0x50(%rbp), %rax
movq %rax, -0x2c8(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x2c0(%rbp)
movq 0x18(%rbp), %rax
movq %rax, -0x2b8(%rbp)
movq 0x20(%rbp), %rax
movq %rax, -0x2b0(%rbp)
movsd -0x60(%rbp), %xmm0
movl 0x40(%rbp), %eax
movl %eax, -0x2a4(%rbp)
movq 0x48(%rbp), %rax
movq %rax, -0x2a0(%rbp)
movq 0x50(%rbp), %rax
movq %rax, -0x298(%rbp)
movq 0x58(%rbp), %rax
movq %rax, -0x290(%rbp)
movq 0x60(%rbp), %rax
movq %rax, -0x288(%rbp)
movq 0x68(%rbp), %r13
movl 0x78(%rbp), %r12d
movq 0x80(%rbp), %r15
movsd -0x68(%rbp), %xmm1
movl 0x88(%rbp), %r14d
movq -0x1d0(%rbp), %rbx
movq -0x1d8(%rbp), %r11
movq -0x1e0(%rbp), %r10
movq -0x1e8(%rbp), %rax
movq %rax, -0x280(%rbp)
movq -0x2c8(%rbp), %rax
movsd -0x1f0(%rbp), %xmm2
movsd -0x1f8(%rbp), %xmm3
movq %rax, (%rsp)
movq -0x2c0(%rbp), %rax
movq %rax, 0x8(%rsp)
movq -0x2b8(%rbp), %rax
movq %rax, 0x10(%rsp)
movq -0x2b0(%rbp), %rax
movq %rax, 0x18(%rsp)
movl -0x2a4(%rbp), %eax
movl %eax, 0x20(%rsp)
movq -0x2a0(%rbp), %rax
movq %rax, 0x28(%rsp)
movq -0x298(%rbp), %rax
movq %rax, 0x30(%rsp)
movq -0x290(%rbp), %rax
movq %rax, 0x38(%rsp)
movq -0x288(%rbp), %rax
movq %rax, 0x40(%rsp)
movq -0x280(%rbp), %rax
movq %r13, 0x48(%rsp)
movl %r12d, 0x50(%rsp)
movq %r15, 0x58(%rsp)
movl %r14d, 0x60(%rsp)
movq %rbx, 0x68(%rsp)
movq %r11, 0x70(%rsp)
movq %r10, 0x78(%rsp)
movq %rax, 0x80(%rsp)
callq 0x1b3b90
movq 0x18(%rbp), %rax
movq 0x10(%rax), %rax
subq -0x88(%rbp), %rax
cmpq $0x1, %rax
ja 0x25e907
jmp 0x25e926
leaq 0x130c70(%rip), %rdi    # 0x38f57e
leaq 0x1302f6(%rip), %rsi    # 0x38ec0b
movl $0x11f1, %edx           # imm = 0x11F1
leaq 0x130dfd(%rip), %rcx    # 0x38f71e
callq 0x2130
movq 0x18(%rbp), %rax
movq 0x10(%rax), %rax
cmpq -0x88(%rbp), %rax
jbe 0x25e9f2
movq 0x18(%rbp), %rax
movq (%rax), %rdi
imulq $0xa8, -0x88(%rbp), %rax
addq %rax, %rdi
movq 0x20(%rbp), %rsi
movq -0x1c0(%rbp), %rdx
movq -0x1c8(%rbp), %rcx
movq -0x48(%rbp), %rax
movq (%rax), %r8
movq -0x48(%rbp), %rax
movq 0x8(%rax), %r9
movq 0x28(%rbp), %r14
movq -0xc8(%rbp), %rbx
leaq 0x165e75(%rip), %rax    # 0x3c47f8
movsd 0xc0(%rax), %xmm0
movq -0x1a8(%rbp), %r11
movl -0x34(%rbp), %eax
movl %eax, %r10d
movq 0x30(%rbp), %rax
movq %r14, (%rsp)
movq %rbx, 0x8(%rsp)
movq %r11, 0x10(%rsp)
movq %r10, 0x18(%rsp)
movq $0x1f, 0x20(%rsp)
movq $0x1, 0x28(%rsp)
movq %rax, 0x30(%rsp)
callq 0x9b8d0
cmpq $0x0, %rax
je 0x25e9f2
movq -0xb0(%rbp), %rax
movl %eax, %ecx
movq 0x18(%rbp), %rax
movq (%rax), %rax
imulq $0xa8, -0x88(%rbp), %rdx
addq %rdx, %rax
movl %ecx, 0x1c(%rax)
movq 0x18(%rbp), %rax
movq 0x10(%rax), %rax
cmpq -0x88(%rbp), %rax
jbe 0x25ea21
movq 0x18(%rbp), %rax
movq (%rax), %rax
imulq $0xa8, -0x88(%rbp), %rcx
addq %rcx, %rax
movzbl 0x2c(%rax), %eax
cmpl $0x1, %eax
je 0x25ea26
jmp 0x25eacc
movq -0x98(%rbp), %rax
cmpq -0x88(%rbp), %rax
je 0x25eaba
movq 0x18(%rbp), %rax
movq (%rax), %rsi
imulq $0xa8, -0x98(%rbp), %rax
addq %rax, %rsi
leaq -0x178(%rbp), %rdi
movl $0xa8, %edx
callq 0x2180
movq 0x18(%rbp), %rax
movq (%rax), %rsi
imulq $0xa8, -0x88(%rbp), %rax
addq %rax, %rsi
movq 0x18(%rbp), %rax
movq (%rax), %rdi
imulq $0xa8, -0x98(%rbp), %rax
addq %rax, %rdi
movl $0xa8, %edx
callq 0x2180
movq 0x18(%rbp), %rax
movq (%rax), %rdi
imulq $0xa8, -0x88(%rbp), %rax
addq %rax, %rdi
leaq -0x178(%rbp), %rsi
movl $0xa8, %edx
callq 0x2180
movq -0x98(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x98(%rbp)
movq -0x78(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x78(%rbp)
jmp 0x25e69a
movq -0x98(%rbp), %rcx
movq 0x18(%rbp), %rax
movq %rcx, 0x10(%rax)
movq 0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rax
cmpq -0x70(%rbp), %rax
jae 0x25eb61
movq 0x18(%rbp), %rax
movq (%rax), %rdi
imulq $0xa8, -0x78(%rbp), %rax
addq %rax, %rdi
addq $0x38, %rdi
callq 0x1e1d0
movq 0x18(%rbp), %rax
movq (%rax), %rdi
imulq $0xa8, -0x78(%rbp), %rax
addq %rax, %rdi
addq $0x48, %rdi
callq 0x1e1f0
movq 0x18(%rbp), %rax
movq (%rax), %rdi
imulq $0xa8, -0x78(%rbp), %rax
addq %rax, %rdi
addq $0x78, %rdi
callq 0x1e1f0
movq -0x78(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x78(%rbp)
jmp 0x25eaf8
movq 0x90(%rbp), %rax
movq (%rax), %rax
movq %rax, -0xb8(%rbp)
movq 0x90(%rbp), %rax
movl 0xc(%rax), %eax
movq %rax, -0x70(%rbp)
movq $0x0, -0x78(%rbp)
movq -0x78(%rbp), %rax
cmpq -0x70(%rbp), %rax
jae 0x25ed6f
movq -0xb8(%rbp), %rax
imulq $0x28, -0x78(%rbp), %rcx
addq %rcx, %rax
cmpb $0x0, 0x20(%rax)
je 0x25ed5c
movq 0x18(%rbp), %rax
movq (%rax), %rax
movq 0x18(%rbp), %rdx
movq 0x10(%rdx), %rcx
movq %rcx, %rsi
addq $0x1, %rsi
movq %rsi, 0x10(%rdx)
imulq $0xa8, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0xd0(%rbp)
movl -0x34(%rbp), %ecx
movq -0xd0(%rbp), %rax
movl %ecx, (%rax)
movq -0xb8(%rbp), %rax
imulq $0x28, -0x78(%rbp), %rcx
addq %rcx, %rax
movl 0xc(%rax), %ecx
movq -0xd0(%rbp), %rax
movl %ecx, 0x10(%rax)
movq -0xd0(%rbp), %rax
movl $0x0, 0xc(%rax)
movq -0xb8(%rbp), %rax
imulq $0x28, -0x78(%rbp), %rcx
addq %rcx, %rax
movq 0x18(%rax), %rax
shrq $0x1f, %rax
andq $0x1, %rax
movl %eax, %ecx
movq -0xd0(%rbp), %rax
movl %ecx, 0x1c(%rax)
movq -0xb8(%rbp), %rax
imulq $0x28, -0x78(%rbp), %rcx
addq %rcx, %rax
movq (%rax), %rax
movl %eax, %ecx
movq -0xd0(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0xb8(%rbp), %rax
imulq $0x28, -0x78(%rbp), %rcx
addq %rcx, %rax
movl 0x8(%rax), %ecx
subl $0x1, %ecx
movq -0xd0(%rbp), %rax
movl %ecx, 0x8(%rax)
movq -0xb8(%rbp), %rax
imulq $0x28, -0x78(%rbp), %rcx
addq %rcx, %rax
movl 0x10(%rax), %ecx
movq -0xd0(%rbp), %rax
movl %ecx, 0x14(%rax)
movq -0xb8(%rbp), %rax
imulq $0x28, -0x78(%rbp), %rcx
addq %rcx, %rax
movl 0x14(%rax), %ecx
subl $0x1, %ecx
movq -0xd0(%rbp), %rax
movl %ecx, 0x18(%rax)
movq -0xd0(%rbp), %rax
movb $0x1, 0x2c(%rax)
movq -0xd0(%rbp), %rax
movl 0x8(%rax), %ecx
addl $0x1, %ecx
movq -0xd0(%rbp), %rax
subl 0x4(%rax), %ecx
movq -0xd0(%rbp), %rax
movl %ecx, 0x24(%rax)
movq -0xd0(%rbp), %rax
movl %ecx, 0x20(%rax)
movq -0xd0(%rbp), %rax
movl %ecx, 0x28(%rax)
movq -0xd0(%rbp), %rax
movb $0x0, 0x2e(%rax)
movq -0xd0(%rbp), %rax
movl $0x0, 0x30(%rax)
movq 0x28(%rbp), %rdi
movq -0xd0(%rbp), %rax
movl 0x4(%rax), %eax
movl %eax, %esi
movq -0xd0(%rbp), %rax
movl 0x8(%rax), %eax
addl $0x1, %eax
movl %eax, %eax
movl %eax, %edx
movq -0xd0(%rbp), %rax
movl 0x14(%rax), %eax
movl %eax, %ecx
movq -0xd0(%rbp), %rax
movl 0x18(%rax), %eax
addl $0x1, %eax
movl %eax, %eax
movl %eax, %r8d
callq 0x61ae0
movq -0xd0(%rbp), %rdi
movq 0x28(%rbp), %rsi
callq 0x60af0
jmp 0x25ed5e
movq -0x78(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x78(%rbp)
jmp 0x25eb88
movq 0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x98(%rbp)
movq $0x0, -0x78(%rbp)
movq -0x78(%rbp), %rax
movq 0x38(%rbp), %rcx
cmpq (%rcx), %rax
jae 0x25f1dc
movq 0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x88(%rbp)
movq 0x38(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x78(%rbp), %rcx
movq (%rax,%rcx,8), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x25edee
movq 0x98(%rbp), %rax
movq (%rax), %rax
movq 0x38(%rbp), %rcx
movq 0x10(%rcx), %rcx
movq -0x78(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
shrl %ecx
movl %ecx, %ecx
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0xc0(%rbp)
jmp 0x25ee1a
movq 0x90(%rbp), %rax
movq (%rax), %rax
movq 0x38(%rbp), %rcx
movq 0x10(%rcx), %rcx
movq -0x78(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
shrl %ecx
movl %ecx, %ecx
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0xc0(%rbp)
movq -0xc0(%rbp), %rax
movq 0x18(%rax), %rax
shrq $0x1f, %rax
andq $0x1, %rax
cmpl $0x0, %eax
je 0x25ee4d
movq -0x48(%rbp), %rdi
movq 0x10(%rbp), %rsi
movq -0xc0(%rbp), %rax
movl 0xc(%rax), %eax
movl %eax, %edx
callq 0xa500
jmp 0x25ee66
movq -0x48(%rbp), %rdi
movq 0x10(%rbp), %rsi
movq -0xc0(%rbp), %rax
movl 0xc(%rax), %eax
movl %eax, %edx
callq 0xa380
movq -0x30(%rbp), %rdi
movl -0x34(%rbp), %eax
movl %eax, %esi
movq -0x1c8(%rbp), %rdx
movq -0xc0(%rbp), %rax
movl 0xc(%rax), %ecx
movq -0x48(%rbp), %rax
movq (%rax), %r8
movq -0x48(%rbp), %rax
movq 0x8(%rax), %r9
movq -0x50(%rbp), %rax
movq %rax, -0x318(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x310(%rbp)
movq 0x18(%rbp), %rax
movq %rax, -0x308(%rbp)
movq 0x20(%rbp), %rax
movq %rax, -0x300(%rbp)
movsd -0x60(%rbp), %xmm0
movl 0x40(%rbp), %eax
movl %eax, -0x2f4(%rbp)
movq 0x48(%rbp), %rax
movq %rax, -0x2f0(%rbp)
movq 0x50(%rbp), %rax
movq %rax, -0x2e8(%rbp)
movq 0x58(%rbp), %rax
movq %rax, -0x2e0(%rbp)
movq 0x60(%rbp), %rax
movq %rax, -0x2d8(%rbp)
movq 0x68(%rbp), %r13
movl 0x78(%rbp), %r12d
movq 0x80(%rbp), %r15
movsd -0x68(%rbp), %xmm1
movl 0x88(%rbp), %r14d
movq -0x1d0(%rbp), %rbx
movq -0x1d8(%rbp), %r11
movq -0x1e0(%rbp), %r10
movq -0x1e8(%rbp), %rax
movq %rax, -0x2d0(%rbp)
movq -0x318(%rbp), %rax
movsd -0x1f0(%rbp), %xmm2
movsd -0x1f8(%rbp), %xmm3
movq %rax, (%rsp)
movq -0x310(%rbp), %rax
movq %rax, 0x8(%rsp)
movq -0x308(%rbp), %rax
movq %rax, 0x10(%rsp)
movq -0x300(%rbp), %rax
movq %rax, 0x18(%rsp)
movl -0x2f4(%rbp), %eax
movl %eax, 0x20(%rsp)
movq -0x2f0(%rbp), %rax
movq %rax, 0x28(%rsp)
movq -0x2e8(%rbp), %rax
movq %rax, 0x30(%rsp)
movq -0x2e0(%rbp), %rax
movq %rax, 0x38(%rsp)
movq -0x2d8(%rbp), %rax
movq %rax, 0x40(%rsp)
movq -0x2d0(%rbp), %rax
movq %r13, 0x48(%rsp)
movl %r12d, 0x50(%rsp)
movq %r15, 0x58(%rsp)
movl %r14d, 0x60(%rsp)
movq %rbx, 0x68(%rsp)
movq %r11, 0x70(%rsp)
movq %r10, 0x78(%rsp)
movq %rax, 0x80(%rsp)
callq 0x1b3b90
movq 0x18(%rbp), %rax
movq 0x10(%rax), %rax
subq -0x88(%rbp), %rax
cmpq $0x1, %rax
ja 0x25effa
jmp 0x25f019
leaq 0x13057d(%rip), %rdi    # 0x38f57e
leaq 0x12fc03(%rip), %rsi    # 0x38ec0b
movl $0x122d, %edx           # imm = 0x122D
leaq 0x13070a(%rip), %rcx    # 0x38f71e
callq 0x2130
movq 0x18(%rbp), %rax
movq 0x10(%rax), %rax
cmpq -0x88(%rbp), %rax
jbe 0x25f0f1
movq 0x18(%rbp), %rax
movq (%rax), %rdi
imulq $0xa8, -0x88(%rbp), %rax
addq %rax, %rdi
movq 0x20(%rbp), %rsi
movq -0x1c0(%rbp), %rdx
movq -0x1c8(%rbp), %rcx
movq -0x48(%rbp), %rax
movq (%rax), %r8
movq -0x48(%rbp), %rax
movq 0x8(%rax), %r9
movq 0x28(%rbp), %r14
movq -0xc8(%rbp), %rbx
leaq 0x165782(%rip), %rax    # 0x3c47f8
movsd 0xc0(%rax), %xmm0
movq -0x1a8(%rbp), %r11
movl -0x34(%rbp), %eax
movl %eax, %r10d
movq 0x30(%rbp), %rax
movq %r14, (%rsp)
movq %rbx, 0x8(%rsp)
movq %r11, 0x10(%rsp)
movq %r10, 0x18(%rsp)
movq $0x1f, 0x20(%rsp)
movq $0x1, 0x28(%rsp)
movq %rax, 0x30(%rsp)
callq 0x9b8d0
cmpq $0x0, %rax
je 0x25f0f1
movq -0xc0(%rbp), %rax
movq 0x18(%rax), %rax
shrq $0x1f, %rax
andq $0x1, %rax
movl %eax, %ecx
movq 0x18(%rbp), %rax
movq (%rax), %rax
imulq $0xa8, -0x88(%rbp), %rdx
addq %rdx, %rax
movl %ecx, 0x1c(%rax)
movq 0x18(%rbp), %rax
movq 0x10(%rax), %rax
cmpq -0x88(%rbp), %rax
jbe 0x25f120
movq 0x18(%rbp), %rax
movq (%rax), %rax
imulq $0xa8, -0x88(%rbp), %rcx
addq %rcx, %rax
movzbl 0x2c(%rax), %eax
cmpl $0x1, %eax
je 0x25f125
jmp 0x25f1cb
movq -0x98(%rbp), %rax
cmpq -0x88(%rbp), %rax
je 0x25f1b9
movq 0x18(%rbp), %rax
movq (%rax), %rsi
imulq $0xa8, -0x98(%rbp), %rax
addq %rax, %rsi
leaq -0x178(%rbp), %rdi
movl $0xa8, %edx
callq 0x2180
movq 0x18(%rbp), %rax
movq (%rax), %rsi
imulq $0xa8, -0x88(%rbp), %rax
addq %rax, %rsi
movq 0x18(%rbp), %rax
movq (%rax), %rdi
imulq $0xa8, -0x98(%rbp), %rax
addq %rax, %rdi
movl $0xa8, %edx
callq 0x2180
movq 0x18(%rbp), %rax
movq (%rax), %rdi
imulq $0xa8, -0x88(%rbp), %rax
addq %rax, %rdi
leaq -0x178(%rbp), %rsi
movl $0xa8, %edx
callq 0x2180
movq -0x98(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x98(%rbp)
movq -0x78(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x78(%rbp)
jmp 0x25ed86
movq -0x98(%rbp), %rcx
movq 0x18(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0xc8(%rbp), %rax
addq $0x398, %rsp            # imm = 0x398
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopw %cs:(%rax,%rax)