// File: chhylp123[P]hifiasm/Correct.cpp
// Function: rphase_hc(overlap_region_alloc*, All_reads*, haplotype_evdience_alloc*, UC_Read*, UC_Read*, kv_ul_ov_t*, asg64_v*, asg64_v*, long, long, long, unsigned char, unsigned long, unsigned long, unsigned long, Chain_Data*, asg8_v*, asg8_v*, unsigned char)
void rphase_hc(overlap_region_alloc* ol, All_reads *rref, haplotype_evdience_alloc* hp, UC_Read* qu, UC_Read* tu, kv_ul_ov_t *c_idx, asg64_v* idx, asg64_v* buf, int64_t bd, int64_t wl, int64_t ql, uint8_t occ_thres/**, uint8_t is_dbg**/, uint64_t rid, uint64_t hpc_len, uint64_t std_bs, Chain_Data *dp, asg8_v *q8, asg8_v *t8, uint8_t lindel)
{   
    int64_t on = ol->length, k, i, zwn, q[2]; 
    uint64_t m, l0, wi, wl0, si, ei, fi; overlap_region *z; ul_ov_t *cp;
    kv_resize(uint64_t, *idx, (ol->length)); 
    kv_resize(ul_ov_t, *c_idx, ol->length);

    for (k = idx->n = c_idx->n = 0; k < on; k++) {
        z = &(ol->list[k]); zwn = z->w_list.n; 
        if(!zwn) continue;
        for (i = 0; i < zwn; i++) {
            if(is_ualn_win(z->w_list.a[i])) continue;
            q[0] = z->w_list.a[i].x_start; q[1] = z->w_list.a[i].x_end;
            q[0] += bd; q[1] -= bd;
            if(q[1] >= q[0]) {
                m = ((uint64_t)q[0]); m <<= 32; 
                m += c_idx->n; kv_push(uint64_t, *idx, m);

                kv_pushp(ul_ov_t, *c_idx, &cp);
                ovlp_id(*cp) = k; ///ovlp id
                ovlp_cur_wid(*cp) = i; ///cur id of windows
                ovlp_cur_xoff(*cp) = z->w_list.a[i].x_start; ///cur xpos
                ovlp_cur_yoff(*cp) = z->w_list.a[i].y_start; ///cur xpos
                ovlp_cur_ylen(*cp) = 0;
                ovlp_cur_coff(*cp) = 0; ///cur cigar off in cur window
                ovlp_bd(*cp) = bd;
            }
        }
    }

    int64_t srt_n = idx->n, s, e, t, os, oe, rm_n, rr; i = 0;
    radix_sort_bc64(idx->a, idx->a+idx->n);
    for (k = 1, i = 0; k <= srt_n; k++) {
        if (k == srt_n || (idx->a[k]>>32) != (idx->a[i]>>32)) {
            if(k - i > 1) {
                for (t = i; t < k; t++) {
                    cp = &(c_idx->a[(uint32_t)idx->a[t]]);
                    // s = ol->list[ovlp_id(*cp)].w_list.a[ovlp_cur_wid(*cp)].x_start+ovlp_bd(*cp);
                    // assert(s == (int64_t)(idx->a[i]>>32));
                    m = ol->list[ovlp_id(*cp)].w_list.a[ovlp_cur_wid(*cp)].x_end+1-ovlp_bd(*cp);
                    m <<= 32; m += ((uint32_t)idx->a[t]); idx->a[t] = m;
                    // fprintf(stderr, "[M::%s] s::%ld\tsi::%lu\n", __func__, s, (idx->a[i]>>32));
                }
                radix_sort_bc64(idx->a + i, idx->a + k);
            }
            i = k;
        }
    }
    
    ResizeInitHaplotypeEvdience(hp);
    i = 0; s = 0; e = wl; e = ((e<=ql)?e:ql); rr = 0;
    for (; s < ql; ) {
        if(rr) {
            // rr = 0;
            for (m = rm_n = srt_n; m < idx->n; m++) {
                cp = &(c_idx->a[idx->a[m]]);
                q[0] = ol->list[ovlp_id(*cp)].w_list.a[ovlp_cur_wid(*cp)].x_start+ovlp_bd(*cp);
                q[1] = ol->list[ovlp_id(*cp)].w_list.a[ovlp_cur_wid(*cp)].x_end+1-ovlp_bd(*cp);
                os = MAX(q[0], s); oe = MIN(q[1], e);
                if(oe > os) {
                    idx->a[rm_n++] = idx->a[m];
                    // if(q[1] <= e) rr = 1;
                }
            }
            idx->n = rm_n;
        }

        for (; i < srt_n; ++i) {
            cp = &(c_idx->a[(uint32_t)idx->a[i]]);
            q[0] = ol->list[ovlp_id(*cp)].w_list.a[ovlp_cur_wid(*cp)].x_start+ovlp_bd(*cp);
            q[1] = ol->list[ovlp_id(*cp)].w_list.a[ovlp_cur_wid(*cp)].x_end+1-ovlp_bd(*cp);
            if(q[0] >= e) break;
            os = MAX(q[0], s); oe = MIN(q[1], e);
            if(oe > os) {
                kv_push(uint64_t, *idx, ((uint32_t)idx->a[i]));
                // if(q[1] <= e) rr = 1;
            }
        }

        // fprintf(stderr, "[M::%s] s::%ld, e::%ld, srt_n::%ld, idx->n::%ld\n", __func__, s, e, srt_n, (int64_t)idx->n);
        // debug_inter(ol, c_idx, idx->a, srt_n, idx->a + srt_n, idx->n - srt_n, s, e);
        l0 = hp->length;
        // if(is_dbg) fprintf(stderr, "-1-[M::%s]\ts::%ld\te::%ld\n", __func__, s, e);
        rr = hc_phase_robust_rr(ol->list, rref, hp, qu->seq, qu->length, tu, idx->a + srt_n, idx->n - srt_n, s, e, c_idx->a, 1, occ_thres, hpc_len/**, is_dbg**/);
        for (wi = fi = ei = 0, si = ((uint64_t)-1), wl0 = e - s; wi < wl0; wi++) {
            if(hp->flag[wi] > 0) {
                if(hp->flag[wi] > occ_thres) {
                    fi = 1; hp->nn_snp++; hp->flag[wi] = 1;
                    if((hpc_len) && (hpc_mask_ff(qu->seq, qu->length, wi + s, hpc_len, HPC_RR, NULL, 0, 0, HPC_CC))) hp->flag[wi] = 3;
                    ei = wi + 1; if(si == ((uint64_t)-1)) si = wi;
                } else {
                    hp->flag[wi] = 0;
                }
            } 
        }

        if(fi) {
            // if(is_dbg) fprintf(stderr, "-2-[M::%s]\ts::%ld\te::%ld\n", __func__, s, e);
            rr = hc_phase_robust_rr(ol->list, rref, hp, qu->seq, qu->length, tu, idx->a + srt_n, idx->n - srt_n, s, e, c_idx->a, 0, occ_thres, hpc_len/**, is_dbg**/);
            if(hp->length > l0) radix_sort_haplotype_evdience_srt(hp->list + l0, hp->list + hp->length);
        }

        if(ei > si) memset(hp->flag + si, 0, (ei-si)*sizeof((*(hp->flag))));
        // if(is_dbg) fprintf(stderr, "-3-[M::%s]\ts::%ld\te::%ld\n", __func__, s, e);

        s += wl; e += wl; e = ((e<=ql)?e:ql);
    }

    // debug_snp_site(ol->list, rref, qu, hp->list, hp->length);


    SetSnpMatrix(hp, &(hp->nn_snp), &(ol->length), 0, NULL); 
    srt_n = hp->length; z = (((std_bs)||(t8))?(ol->list):(NULL));
    for (k = 1, i = t = 0; k <= srt_n; ++k) {  
        if (k == srt_n || hp->list[k].site != hp->list[i].site) {
            t += push_info(hp, hp->list+i, k-i, hp->list+t, z, t8, sc_wn);
            i = k;
        }
    }
    hp->length = t;

    if(!dp) {
        // generate_haplotypes_naive_advance(hap, overlap_list, NULL);
        generate_haplotypes_naive_HiFi(hp, ol, 0.04, qu, ((std_bs)?(0):(1)), ((std_bs)?(0.05):(0)), ((std_bs)?(2):((uint64_t)-1)));
        // generate_haplotypes_DP(hap, overlap_list, R_INF, g_read->length, force_repeat);
        // generate_haplotypes_naive(hap, overlap_list, R_INF, g_read->length, force_repeat);
    } else {
        gen_rphase_dp(hp, ol, qu, ((std_bs)?(0.05):(0)), ((std_bs)?(2):((uint64_t)-1)), dp, idx, buf, rid, q8);
        generate_haplotypes_naive_HiFi(hp, ol, 0.04, qu, ((std_bs)?(0):(1)), ((std_bs)?(0.05):(0)), ((std_bs)?(2):((uint64_t)-1)));
    }

    if(lindel) {
        if(rphase_lidel(ol, rref, hp, qu, tu, c_idx, idx, buf, bd, wl, ql, occ_thres, rid, hpc_len, std_bs)) {
            generate_haplotypes_sv(hp, ol, rid);
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x228, %rsp            # imm = 0x228
movb 0x70(%rbp), %al
movq 0x68(%rbp), %rax
movq 0x60(%rbp), %rax
movq 0x58(%rbp), %rax
movq 0x50(%rbp), %rax
movq 0x48(%rbp), %rax
movq 0x40(%rbp), %rax
movb 0x38(%rbp), %al
movq 0x30(%rbp), %rax
movq 0x28(%rbp), %rax
movq 0x20(%rbp), %rax
movq 0x18(%rbp), %rax
movq 0x10(%rbp), %rax
movq %rdi, -0x30(%rbp)
movq %rsi, -0x38(%rbp)
movq %rdx, -0x40(%rbp)
movq %rcx, -0x48(%rbp)
movq %r8, -0x50(%rbp)
movq %r9, -0x58(%rbp)
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x60(%rbp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x30(%rbp), %rcx
cmpq 0x10(%rcx), %rax
jae 0x7988b
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rcx
movq 0x10(%rbp), %rax
movq %rcx, 0x8(%rax)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rcx
addq $-0x1, %rcx
movq %rcx, 0x8(%rax)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rcx
shrq %rcx
movq 0x10(%rbp), %rax
orq 0x8(%rax), %rcx
movq %rcx, 0x8(%rax)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rcx
shrq $0x2, %rcx
movq 0x10(%rbp), %rax
orq 0x8(%rax), %rcx
movq %rcx, 0x8(%rax)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rcx
shrq $0x4, %rcx
movq 0x10(%rbp), %rax
orq 0x8(%rax), %rcx
movq %rcx, 0x8(%rax)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rcx
shrq $0x8, %rcx
movq 0x10(%rbp), %rax
orq 0x8(%rax), %rcx
movq %rcx, 0x8(%rax)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rcx
shrq $0x10, %rcx
movq 0x10(%rbp), %rax
orq 0x8(%rax), %rcx
movq %rcx, 0x8(%rax)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x8(%rax)
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rdi
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rsi
shlq $0x3, %rsi
callq 0x2360
movq %rax, %rcx
movq 0x10(%rbp), %rax
movq %rcx, 0x10(%rax)
jmp 0x7988d
jmp 0x7988f
movq -0x58(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x30(%rbp), %rcx
cmpq 0x10(%rcx), %rax
jae 0x7996b
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rcx
movq -0x58(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x58(%rbp), %rax
movq 0x10(%rax), %rcx
addq $-0x1, %rcx
movq %rcx, 0x10(%rax)
movq -0x58(%rbp), %rax
movq 0x10(%rax), %rcx
shrq %rcx
movq -0x58(%rbp), %rax
orq 0x10(%rax), %rcx
movq %rcx, 0x10(%rax)
movq -0x58(%rbp), %rax
movq 0x10(%rax), %rcx
shrq $0x2, %rcx
movq -0x58(%rbp), %rax
orq 0x10(%rax), %rcx
movq %rcx, 0x10(%rax)
movq -0x58(%rbp), %rax
movq 0x10(%rax), %rcx
shrq $0x4, %rcx
movq -0x58(%rbp), %rax
orq 0x10(%rax), %rcx
movq %rcx, 0x10(%rax)
movq -0x58(%rbp), %rax
movq 0x10(%rax), %rcx
shrq $0x8, %rcx
movq -0x58(%rbp), %rax
orq 0x10(%rax), %rcx
movq %rcx, 0x10(%rax)
movq -0x58(%rbp), %rax
movq 0x10(%rax), %rcx
shrq $0x10, %rcx
movq -0x58(%rbp), %rax
orq 0x10(%rax), %rcx
movq %rcx, 0x10(%rax)
movq -0x58(%rbp), %rax
movq 0x10(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x10(%rax)
movq -0x58(%rbp), %rax
movq (%rax), %rdi
movq -0x58(%rbp), %rax
imulq $0x1c, 0x10(%rax), %rsi
callq 0x2360
movq %rax, %rcx
movq -0x58(%rbp), %rax
movq %rcx, (%rax)
jmp 0x7996d
movq -0x58(%rbp), %rax
movq $0x0, 0x8(%rax)
movq 0x10(%rbp), %rax
movq $0x0, (%rax)
movq $0x0, -0x68(%rbp)
movq -0x68(%rbp), %rax
cmpq -0x60(%rbp), %rax
jge 0x79cea
movq -0x30(%rbp), %rax
movq (%rax), %rax
imulq $0xa8, -0x68(%rbp), %rcx
addq %rcx, %rax
movq %rax, -0xd0(%rbp)
movq -0xd0(%rbp), %rax
movq 0x48(%rax), %rax
movq %rax, -0x78(%rbp)
cmpq $0x0, -0x78(%rbp)
jne 0x799ce
jmp 0x79cd9
movq $0x0, -0x70(%rbp)
movq -0x70(%rbp), %rax
cmpq -0x78(%rbp), %rax
jge 0x79cd7
movq -0xd0(%rbp), %rax
movq 0x58(%rax), %rax
movq -0x70(%rbp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movswl 0x14(%rax), %eax
cmpl $0x7fff, %eax           # imm = 0x7FFF
jne 0x79a45
movq -0xd0(%rbp), %rax
movq 0x58(%rax), %rax
movq -0x70(%rbp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
cmpl $0x0, 0x1c(%rax)
jne 0x79a45
movq -0xd0(%rbp), %rax
movq 0x58(%rax), %rax
movq -0x70(%rbp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movswl 0x12(%rax), %eax
cmpl $0x0, %eax
jge 0x79a45
jmp 0x79cc6
movq -0xd0(%rbp), %rax
movq 0x58(%rax), %rax
movq -0x70(%rbp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movslq (%rax), %rax
movq %rax, -0x90(%rbp)
movq -0xd0(%rbp), %rax
movq 0x58(%rax), %rax
movq -0x70(%rbp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movslq 0x4(%rax), %rax
movq %rax, -0x88(%rbp)
movq 0x20(%rbp), %rax
addq -0x90(%rbp), %rax
movq %rax, -0x90(%rbp)
movq 0x20(%rbp), %rcx
movq -0x88(%rbp), %rax
subq %rcx, %rax
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rax
cmpq -0x90(%rbp), %rax
jl 0x79cc4
movq -0x90(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
shlq $0x20, %rax
movq %rax, -0x98(%rbp)
movq -0x58(%rbp), %rax
movq 0x8(%rax), %rax
addq -0x98(%rbp), %rax
movq %rax, -0x98(%rbp)
movq 0x10(%rbp), %rax
movq (%rax), %rax
movq 0x10(%rbp), %rcx
cmpq 0x8(%rcx), %rax
jne 0x79b68
movq 0x10(%rbp), %rax
cmpq $0x0, 0x8(%rax)
je 0x79b27
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
shlq %rax
movq %rax, -0x120(%rbp)
jmp 0x79b35
movl $0x2, %eax
movq %rax, -0x120(%rbp)
jmp 0x79b35
movq -0x120(%rbp), %rcx
movq 0x10(%rbp), %rax
movq %rcx, 0x8(%rax)
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rdi
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rsi
shlq $0x3, %rsi
callq 0x2360
movq %rax, %rcx
movq 0x10(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x98(%rbp), %rdx
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x10(%rbp), %rsi
movq (%rsi), %rcx
movq %rcx, %rdi
addq $0x1, %rdi
movq %rdi, (%rsi)
movq %rdx, (%rax,%rcx,8)
jmp 0x79b8e
movq -0x58(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x58(%rbp), %rcx
cmpq 0x10(%rcx), %rax
jne 0x79bfb
movq -0x58(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0x79bbf
movq -0x58(%rbp), %rax
movq 0x10(%rax), %rax
shlq %rax
movq %rax, -0x128(%rbp)
jmp 0x79bcd
movl $0x2, %eax
movq %rax, -0x128(%rbp)
jmp 0x79bcd
movq -0x128(%rbp), %rcx
movq -0x58(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x58(%rbp), %rax
movq (%rax), %rdi
movq -0x58(%rbp), %rax
imulq $0x1c, 0x10(%rax), %rsi
callq 0x2360
movq %rax, %rcx
movq -0x58(%rbp), %rax
movq %rcx, (%rax)
movq -0x58(%rbp), %rax
movq (%rax), %rax
movq -0x58(%rbp), %rdx
movq 0x8(%rdx), %rcx
movq %rcx, %rsi
addq $0x1, %rsi
movq %rsi, 0x8(%rdx)
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0xd8(%rbp)
movq -0x68(%rbp), %rax
movl %eax, %ecx
movq -0xd8(%rbp), %rax
movl %ecx, 0xc(%rax)
movq -0x70(%rbp), %rax
movl %eax, %ecx
movq -0xd8(%rbp), %rax
movl %ecx, (%rax)
movq -0xd0(%rbp), %rax
movq 0x58(%rax), %rax
movq -0x70(%rbp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movl (%rax), %ecx
movq -0xd8(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0xd0(%rbp), %rax
movq 0x58(%rax), %rax
movq -0x70(%rbp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movl 0x8(%rax), %ecx
movq -0xd8(%rbp), %rax
movl %ecx, 0x10(%rax)
movq -0xd8(%rbp), %rax
movl $0x0, 0x14(%rax)
movq -0xd8(%rbp), %rax
movl $0x0, 0x8(%rax)
movq 0x20(%rbp), %rax
movl %eax, %edx
movq -0xd8(%rbp), %rax
movl 0x18(%rax), %ecx
andl $0x3fffffff, %edx       # imm = 0x3FFFFFFF
andl $0xc0000000, %ecx       # imm = 0xC0000000
orl %edx, %ecx
movl %ecx, 0x18(%rax)
jmp 0x79cc6
movq -0x70(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x70(%rbp)
jmp 0x799d6
jmp 0x79cd9
movq -0x68(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x68(%rbp)
jmp 0x7998c
movq 0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0xe0(%rbp)
movq $0x0, -0x70(%rbp)
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rdi
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rsi
movq 0x10(%rbp), %rax
movq (%rax), %rax
shlq $0x3, %rax
addq %rax, %rsi
callq 0x2da20
movq $0x1, -0x68(%rbp)
movq $0x0, -0x70(%rbp)
movq -0x68(%rbp), %rax
cmpq -0xe0(%rbp), %rax
jg 0x79ed6
movq -0x68(%rbp), %rax
cmpq -0xe0(%rbp), %rax
je 0x79d82
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
shrq $0x20, %rax
movq 0x10(%rbp), %rcx
movq 0x10(%rcx), %rcx
movq -0x70(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
shrq $0x20, %rcx
cmpq %rcx, %rax
je 0x79ec3
movq -0x68(%rbp), %rax
subq -0x70(%rbp), %rax
cmpq $0x1, %rax
jle 0x79ebb
movq -0x70(%rbp), %rax
movq %rax, -0xf8(%rbp)
movq -0xf8(%rbp), %rax
cmpq -0x68(%rbp), %rax
jge 0x79e90
movq -0x58(%rbp), %rax
movq (%rax), %rax
movq 0x10(%rbp), %rcx
movq 0x10(%rcx), %rcx
movq -0xf8(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movl %ecx, %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0xd8(%rbp)
movq -0x30(%rbp), %rax
movq (%rax), %rax
movq -0xd8(%rbp), %rcx
movl 0xc(%rcx), %ecx
imulq $0xa8, %rcx, %rcx
addq %rcx, %rax
movq 0x58(%rax), %rax
movq -0xd8(%rbp), %rcx
movl (%rcx), %ecx
shlq $0x5, %rcx
addq %rcx, %rax
movl 0x4(%rax), %eax
addl $0x1, %eax
movq -0xd8(%rbp), %rcx
movl 0x18(%rcx), %ecx
andl $0x3fffffff, %ecx       # imm = 0x3FFFFFFF
subl %ecx, %eax
cltq
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
shlq $0x20, %rax
movq %rax, -0x98(%rbp)
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq -0xf8(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl %eax, %eax
addq -0x98(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rdx
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq -0xf8(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -0xf8(%rbp), %rax
addq $0x1, %rax
movq %rax, -0xf8(%rbp)
jmp 0x79d9f
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x70(%rbp), %rax
shlq $0x3, %rax
addq %rax, %rdi
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rsi
movq -0x68(%rbp), %rax
shlq $0x3, %rax
addq %rax, %rsi
callq 0x2da20
movq -0x68(%rbp), %rax
movq %rax, -0x70(%rbp)
jmp 0x79ec5
movq -0x68(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x68(%rbp)
jmp 0x79d33
movq -0x40(%rbp), %rdi
callq 0xa2440
movq $0x0, -0x70(%rbp)
movq $0x0, -0xe8(%rbp)
movq 0x28(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq -0xf0(%rbp), %rax
cmpq 0x30(%rbp), %rax
jg 0x79f1a
movq -0xf0(%rbp), %rax
movq %rax, -0x130(%rbp)
jmp 0x79f25
movq 0x30(%rbp), %rax
movq %rax, -0x130(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq $0x0, -0x118(%rbp)
movq -0xe8(%rbp), %rax
cmpq 0x30(%rbp), %rax
jge 0x7a6ff
cmpq $0x0, -0x118(%rbp)
je 0x7a12a
movq -0xe0(%rbp), %rax
movq %rax, -0x110(%rbp)
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
movq 0x10(%rbp), %rcx
cmpq (%rcx), %rax
jae 0x7a11c
movq -0x58(%rbp), %rax
movq (%rax), %rax
movq 0x10(%rbp), %rcx
movq 0x10(%rcx), %rcx
movq -0x98(%rbp), %rdx
imulq $0x1c, (%rcx,%rdx,8), %rcx
addq %rcx, %rax
movq %rax, -0xd8(%rbp)
movq -0x30(%rbp), %rax
movq (%rax), %rax
movq -0xd8(%rbp), %rcx
movl 0xc(%rcx), %ecx
imulq $0xa8, %rcx, %rcx
addq %rcx, %rax
movq 0x58(%rax), %rax
movq -0xd8(%rbp), %rcx
movl (%rcx), %ecx
shlq $0x5, %rcx
addq %rcx, %rax
movl (%rax), %eax
movq -0xd8(%rbp), %rcx
movl 0x18(%rcx), %ecx
andl $0x3fffffff, %ecx       # imm = 0x3FFFFFFF
addl %ecx, %eax
cltq
movq %rax, -0x90(%rbp)
movq -0x30(%rbp), %rax
movq (%rax), %rax
movq -0xd8(%rbp), %rcx
movl 0xc(%rcx), %ecx
imulq $0xa8, %rcx, %rcx
addq %rcx, %rax
movq 0x58(%rax), %rax
movq -0xd8(%rbp), %rcx
movl (%rcx), %ecx
shlq $0x5, %rcx
addq %rcx, %rax
movl 0x4(%rax), %eax
addl $0x1, %eax
movq -0xd8(%rbp), %rcx
movl 0x18(%rcx), %ecx
andl $0x3fffffff, %ecx       # imm = 0x3FFFFFFF
subl %ecx, %eax
cltq
movq %rax, -0x88(%rbp)
movq -0x90(%rbp), %rax
cmpq -0xe8(%rbp), %rax
jl 0x7a067
movq -0x90(%rbp), %rax
movq %rax, -0x138(%rbp)
jmp 0x7a075
movq -0xe8(%rbp), %rax
movq %rax, -0x138(%rbp)
movq -0x138(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0x88(%rbp), %rax
cmpq -0xf0(%rbp), %rax
jg 0x7a0a3
movq -0x88(%rbp), %rax
movq %rax, -0x140(%rbp)
jmp 0x7a0b1
movq -0xf0(%rbp), %rax
movq %rax, -0x140(%rbp)
movq -0x140(%rbp), %rax
movq %rax, -0x108(%rbp)
movq -0x108(%rbp), %rax
cmpq -0x100(%rbp), %rax
jle 0x7a103
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x98(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x110(%rbp), %rcx
movq %rcx, %rsi
addq $0x1, %rsi
movq %rsi, -0x110(%rbp)
movq %rdx, (%rax,%rcx,8)
jmp 0x7a105
movq -0x98(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x98(%rbp)
jmp 0x79f72
movq -0x110(%rbp), %rcx
movq 0x10(%rbp), %rax
movq %rcx, (%rax)
jmp 0x7a12c
movq -0x70(%rbp), %rax
cmpq -0xe0(%rbp), %rax
jge 0x7a35a
movq -0x58(%rbp), %rax
movq (%rax), %rax
movq 0x10(%rbp), %rcx
movq 0x10(%rcx), %rcx
movq -0x70(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movl %ecx, %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0xd8(%rbp)
movq -0x30(%rbp), %rax
movq (%rax), %rax
movq -0xd8(%rbp), %rcx
movl 0xc(%rcx), %ecx
imulq $0xa8, %rcx, %rcx
addq %rcx, %rax
movq 0x58(%rax), %rax
movq -0xd8(%rbp), %rcx
movl (%rcx), %ecx
shlq $0x5, %rcx
addq %rcx, %rax
movl (%rax), %eax
movq -0xd8(%rbp), %rcx
movl 0x18(%rcx), %ecx
andl $0x3fffffff, %ecx       # imm = 0x3FFFFFFF
addl %ecx, %eax
cltq
movq %rax, -0x90(%rbp)
movq -0x30(%rbp), %rax
movq (%rax), %rax
movq -0xd8(%rbp), %rcx
movl 0xc(%rcx), %ecx
imulq $0xa8, %rcx, %rcx
addq %rcx, %rax
movq 0x58(%rax), %rax
movq -0xd8(%rbp), %rcx
movl (%rcx), %ecx
shlq $0x5, %rcx
addq %rcx, %rax
movl 0x4(%rax), %eax
addl $0x1, %eax
movq -0xd8(%rbp), %rcx
movl 0x18(%rcx), %ecx
andl $0x3fffffff, %ecx       # imm = 0x3FFFFFFF
subl %ecx, %eax
cltq
movq %rax, -0x88(%rbp)
movq -0x90(%rbp), %rax
cmpq -0xf0(%rbp), %rax
jl 0x7a215
jmp 0x7a35a
movq -0x90(%rbp), %rax
cmpq -0xe8(%rbp), %rax
jl 0x7a235
movq -0x90(%rbp), %rax
movq %rax, -0x148(%rbp)
jmp 0x7a243
movq -0xe8(%rbp), %rax
movq %rax, -0x148(%rbp)
movq -0x148(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0x88(%rbp), %rax
cmpq -0xf0(%rbp), %rax
jg 0x7a271
movq -0x88(%rbp), %rax
movq %rax, -0x150(%rbp)
jmp 0x7a27f
movq -0xf0(%rbp), %rax
movq %rax, -0x150(%rbp)
movq -0x150(%rbp), %rax
movq %rax, -0x108(%rbp)
movq -0x108(%rbp), %rax
cmpq -0x100(%rbp), %rax
jle 0x7a347
jmp 0x7a2a3
movq 0x10(%rbp), %rax
movq (%rax), %rax
movq 0x10(%rbp), %rcx
cmpq 0x8(%rcx), %rax
jne 0x7a314
movq 0x10(%rbp), %rax
cmpq $0x0, 0x8(%rax)
je 0x7a2d3
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
shlq %rax
movq %rax, -0x158(%rbp)
jmp 0x7a2e1
movl $0x2, %eax
movq %rax, -0x158(%rbp)
jmp 0x7a2e1
movq -0x158(%rbp), %rcx
movq 0x10(%rbp), %rax
movq %rcx, 0x8(%rax)
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rdi
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rsi
shlq $0x3, %rsi
callq 0x2360
movq %rax, %rcx
movq 0x10(%rbp), %rax
movq %rcx, 0x10(%rax)
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl %eax, %eax
movl %eax, %edx
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x10(%rbp), %rsi
movq (%rsi), %rcx
movq %rcx, %rdi
addq $0x1, %rdi
movq %rdi, (%rsi)
movq %rdx, (%rax,%rcx,8)
jmp 0x7a347
jmp 0x7a349
movq -0x70(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x70(%rbp)
jmp 0x7a12c
movq -0x40(%rbp), %rax
movl 0x10(%rax), %eax
movq %rax, -0xa0(%rbp)
movq -0x30(%rbp), %rax
movq (%rax), %rdi
movq -0x38(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq -0x48(%rbp), %rax
movq (%rax), %rcx
movq -0x48(%rbp), %rax
movq 0x8(%rax), %r8
movq -0x50(%rbp), %r9
movq 0x10(%rbp), %rax
movq 0x10(%rax), %r12
movq -0xe0(%rbp), %rax
shlq $0x3, %rax
addq %rax, %r12
movq 0x10(%rbp), %rax
movq (%rax), %r15
subq -0xe0(%rbp), %r15
movq -0xe8(%rbp), %r14
movq -0xf0(%rbp), %rbx
movq -0x58(%rbp), %rax
movq (%rax), %r11
movb 0x38(%rbp), %r10b
movq 0x48(%rbp), %rax
movq %r12, (%rsp)
movq %r15, 0x8(%rsp)
movq %r14, 0x10(%rsp)
movq %rbx, 0x18(%rsp)
movq %r11, 0x20(%rsp)
movq $0x1, 0x28(%rsp)
movzbl %r10b, %r10d
movl %r10d, 0x30(%rsp)
movq %rax, 0x38(%rsp)
callq 0x71860
movq %rax, -0x118(%rbp)
movq $0x0, -0xc0(%rbp)
movq $0x0, -0xc8(%rbp)
movq $0x0, -0xa8(%rbp)
movq $-0x1, -0xb8(%rbp)
movq -0xf0(%rbp), %rax
subq -0xe8(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0xa8(%rbp), %rax
cmpq -0xb0(%rbp), %rax
jae 0x7a57b
movq -0x40(%rbp), %rax
movq -0xa8(%rbp), %rcx
movzbl 0x18(%rax,%rcx), %eax
cmpl $0x0, %eax
jle 0x7a562
movq -0x40(%rbp), %rax
movq -0xa8(%rbp), %rcx
movzbl 0x18(%rax,%rcx), %eax
movzbl 0x38(%rbp), %ecx
cmpl %ecx, %eax
jle 0x7a550
movq $0x1, -0xc8(%rbp)
movq -0x40(%rbp), %rax
movl 0x230(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x230(%rax)
movq -0x40(%rbp), %rax
movq -0xa8(%rbp), %rcx
movb $0x1, 0x18(%rax,%rcx)
cmpq $0x0, 0x48(%rbp)
je 0x7a524
movq -0x48(%rbp), %rax
movq (%rax), %rdi
movq -0x48(%rbp), %rax
movq 0x8(%rax), %rsi
movq -0xa8(%rbp), %rdx
addq -0xe8(%rbp), %rdx
movq 0x48(%rbp), %rcx
movl $0x4, %r8d
xorl %eax, %eax
movl %eax, %r9d
movq $0x0, (%rsp)
movq $0x0, 0x8(%rsp)
movq $0x2, 0x10(%rsp)
callq 0x499f0
cmpb $0x0, %al
je 0x7a524
movq -0x40(%rbp), %rax
movq -0xa8(%rbp), %rcx
movb $0x3, 0x18(%rax,%rcx)
movq -0xa8(%rbp), %rax
addq $0x1, %rax
movq %rax, -0xc0(%rbp)
cmpq $-0x1, -0xb8(%rbp)
jne 0x7a54e
movq -0xa8(%rbp), %rax
movq %rax, -0xb8(%rbp)
jmp 0x7a560
movq -0x40(%rbp), %rax
movq -0xa8(%rbp), %rcx
movb $0x0, 0x18(%rax,%rcx)
jmp 0x7a562
jmp 0x7a564
movq -0xa8(%rbp), %rax
addq $0x1, %rax
movq %rax, -0xa8(%rbp)
jmp 0x7a447
cmpq $0x0, -0xc8(%rbp)
je 0x7a668
movq -0x30(%rbp), %rax
movq (%rax), %rdi
movq -0x38(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq -0x48(%rbp), %rax
movq (%rax), %rcx
movq -0x48(%rbp), %rax
movq 0x8(%rax), %r8
movq -0x50(%rbp), %r9
movq 0x10(%rbp), %rax
movq 0x10(%rax), %r12
movq -0xe0(%rbp), %rax
shlq $0x3, %rax
addq %rax, %r12
movq 0x10(%rbp), %rax
movq (%rax), %r15
subq -0xe0(%rbp), %r15
movq -0xe8(%rbp), %r14
movq -0xf0(%rbp), %rbx
movq -0x58(%rbp), %rax
movq (%rax), %r11
movb 0x38(%rbp), %r10b
movq 0x48(%rbp), %rax
xorl %r13d, %r13d
movq %r12, (%rsp)
movq %r15, 0x8(%rsp)
movq %r14, 0x10(%rsp)
movq %rbx, 0x18(%rsp)
movq %r11, 0x20(%rsp)
movq $0x0, 0x28(%rsp)
movzbl %r10b, %r10d
movl %r10d, 0x30(%rsp)
movq %rax, 0x38(%rsp)
callq 0x71860
movq %rax, -0x118(%rbp)
movq -0x40(%rbp), %rax
movl 0x10(%rax), %eax
cmpq -0xa0(%rbp), %rax
jbe 0x7a666
movq -0x40(%rbp), %rax
movq (%rax), %rdi
imulq $0x18, -0xa0(%rbp), %rax
addq %rax, %rdi
movq -0x40(%rbp), %rax
movq (%rax), %rsi
movq -0x40(%rbp), %rax
movl 0x10(%rax), %eax
imulq $0x18, %rax, %rax
addq %rax, %rsi
callq 0x2df30
jmp 0x7a668
movq -0xc0(%rbp), %rax
cmpq -0xb8(%rbp), %rax
jbe 0x7a6a0
movq -0x40(%rbp), %rdi
addq $0x18, %rdi
addq -0xb8(%rbp), %rdi
movq -0xc0(%rbp), %rdx
subq -0xb8(%rbp), %rdx
shlq $0x0, %rdx
xorl %esi, %esi
callq 0x2100
movq 0x28(%rbp), %rax
addq -0xe8(%rbp), %rax
movq %rax, -0xe8(%rbp)
movq 0x28(%rbp), %rax
addq -0xf0(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq -0xf0(%rbp), %rax
cmpq 0x30(%rbp), %rax
jg 0x7a6e1
movq -0xf0(%rbp), %rax
movq %rax, -0x160(%rbp)
jmp 0x7a6ec
movq 0x30(%rbp), %rax
movq %rax, -0x160(%rbp)
movq -0x160(%rbp), %rax
movq %rax, -0xf0(%rbp)
jmp 0x79f3e
movq -0x40(%rbp), %rdi
movq -0x40(%rbp), %rsi
addq $0x230, %rsi            # imm = 0x230
movq -0x30(%rbp), %rdx
addq $0x10, %rdx
xorl %ecx, %ecx
xorl %eax, %eax
movl %eax, %r8d
callq 0xa24b0
movq -0x40(%rbp), %rax
movl 0x10(%rax), %eax
movq %rax, -0xe0(%rbp)
cmpq $0x0, 0x50(%rbp)
jne 0x7a73e
cmpq $0x0, 0x68(%rbp)
je 0x7a74e
movq -0x30(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x168(%rbp)
jmp 0x7a759
xorl %eax, %eax
movq %rax, -0x168(%rbp)
jmp 0x7a759
movq -0x168(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq $0x1, -0x68(%rbp)
movq $0x0, -0xf8(%rbp)
movq $0x0, -0x70(%rbp)
movq -0x68(%rbp), %rax
cmpq -0xe0(%rbp), %rax
jg 0x7a834
movq -0x68(%rbp), %rax
cmpq -0xe0(%rbp), %rax
je 0x7a7c4
movq -0x40(%rbp), %rax
movq (%rax), %rax
imulq $0x18, -0x68(%rbp), %rcx
addq %rcx, %rax
movl (%rax), %eax
movq -0x40(%rbp), %rcx
movq (%rcx), %rcx
imulq $0x18, -0x70(%rbp), %rdx
addq %rdx, %rcx
cmpl (%rcx), %eax
je 0x7a821
movq -0x40(%rbp), %rdi
movq -0x40(%rbp), %rax
movq (%rax), %rsi
imulq $0x18, -0x70(%rbp), %rax
addq %rax, %rsi
movq -0x68(%rbp), %rdx
subq -0x70(%rbp), %rdx
movq -0x40(%rbp), %rax
movq (%rax), %rcx
imulq $0x18, -0xf8(%rbp), %rax
addq %rax, %rcx
movq -0xd0(%rbp), %r8
movq 0x68(%rbp), %r9
movq $0x5, (%rsp)
callq 0x4a960
cltq
addq -0xf8(%rbp), %rax
movq %rax, -0xf8(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x70(%rbp)
jmp 0x7a823
movq -0x68(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x68(%rbp)
jmp 0x7a782
movq -0xf8(%rbp), %rax
movl %eax, %ecx
movq -0x40(%rbp), %rax
movl %ecx, 0x10(%rax)
cmpq $0x0, 0x58(%rbp)
jne 0x7a90e
movq -0x40(%rbp), %rax
movq %rax, -0x198(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x190(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x188(%rbp)
movq 0x50(%rbp), %rdx
movl $0x1, %eax
xorl %ecx, %ecx
cmpq $0x0, %rdx
cmovnel %ecx, %eax
cltq
movq %rax, -0x180(%rbp)
movq 0x50(%rbp), %rax
movsd 0x3079a9(%rip), %xmm0   # 0x382240
xorps %xmm1, %xmm1
movsd %xmm1, -0x178(%rbp)
cmpq $0x0, %rax
movsd %xmm0, -0x170(%rbp)
jne 0x7a8c0
movsd -0x178(%rbp), %xmm0
movsd %xmm0, -0x170(%rbp)
movq -0x180(%rbp), %rcx
movq -0x188(%rbp), %rdx
movq -0x190(%rbp), %rsi
movq -0x198(%rbp), %rdi
movsd -0x170(%rbp), %xmm1
movq 0x50(%rbp), %r9
movq $-0x1, %r8
movl $0x2, %eax
cmpq $0x0, %r9
cmovneq %rax, %r8
movsd 0x30472c(%rip), %xmm0   # 0x37f030
callq 0x41ef0
jmp 0x7aa7a
movq -0x40(%rbp), %rax
movq %rax, -0x1c0(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x1b8(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x1b0(%rbp)
movq 0x50(%rbp), %rax
movsd 0x307905(%rip), %xmm0   # 0x382240
xorps %xmm1, %xmm1
movsd %xmm1, -0x1a8(%rbp)
cmpq $0x0, %rax
movsd %xmm0, -0x1a0(%rbp)
jne 0x7a964
movsd -0x1a8(%rbp), %xmm0
movsd %xmm0, -0x1a0(%rbp)
movq -0x1b0(%rbp), %rdx
movq -0x1b8(%rbp), %rsi
movq -0x1c0(%rbp), %rdi
movsd -0x1a0(%rbp), %xmm0
movq 0x50(%rbp), %r8
movq $-0x1, %rcx
movl $0x2, %eax
cmpq $0x0, %r8
cmovneq %rax, %rcx
movq 0x58(%rbp), %r8
movq 0x10(%rbp), %r9
movq 0x18(%rbp), %r11
movq 0x40(%rbp), %r10
movq 0x60(%rbp), %rax
movq %r11, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0x45fa0
movq -0x40(%rbp), %rax
movq %rax, -0x1f0(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x1e8(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x1e0(%rbp)
movq 0x50(%rbp), %rdx
movl $0x1, %eax
xorl %ecx, %ecx
cmpq $0x0, %rdx
cmovnel %ecx, %eax
cltq
movq %rax, -0x1d8(%rbp)
movq 0x50(%rbp), %rax
movsd 0x307838(%rip), %xmm0   # 0x382240
xorps %xmm1, %xmm1
movsd %xmm1, -0x1d0(%rbp)
cmpq $0x0, %rax
movsd %xmm0, -0x1c8(%rbp)
jne 0x7aa31
movsd -0x1d0(%rbp), %xmm0
movsd %xmm0, -0x1c8(%rbp)
movq -0x1d8(%rbp), %rcx
movq -0x1e0(%rbp), %rdx
movq -0x1e8(%rbp), %rsi
movq -0x1f0(%rbp), %rdi
movsd -0x1c8(%rbp), %xmm1
movq 0x50(%rbp), %r9
movq $-0x1, %r8
movl $0x2, %eax
cmpq $0x0, %r9
cmovneq %rax, %r8
movsd 0x3045bb(%rip), %xmm0   # 0x37f030
callq 0x41ef0
cmpb $0x0, 0x70(%rbp)
je 0x7ab27
movq -0x30(%rbp), %rdi
movq -0x38(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq -0x48(%rbp), %rcx
movq -0x50(%rbp), %r8
movq -0x58(%rbp), %r9
movq 0x10(%rbp), %rax
movq %rax, -0x200(%rbp)
movq 0x18(%rbp), %r13
movq 0x20(%rbp), %r12
movq 0x28(%rbp), %r15
movq 0x30(%rbp), %r14
movb 0x38(%rbp), %bl
movq 0x40(%rbp), %r11
movq 0x48(%rbp), %r10
movq 0x50(%rbp), %rax
movq %rax, -0x1f8(%rbp)
movq -0x200(%rbp), %rax
movq %rax, (%rsp)
movq -0x1f8(%rbp), %rax
movq %r13, 0x8(%rsp)
movq %r12, 0x10(%rsp)
movq %r15, 0x18(%rsp)
movq %r14, 0x20(%rsp)
movzbl %bl, %ebx
movl %ebx, 0x28(%rsp)
movq %r11, 0x30(%rsp)
movq %r10, 0x38(%rsp)
movq %rax, 0x40(%rsp)
callq 0x79280
cmpq $0x0, %rax
je 0x7ab25
movq -0x40(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq 0x40(%rbp), %rdx
callq 0x436a0
jmp 0x7ab27
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)