// File: /workspace/github_c_makefile_star2_O3/lh3[P]minigraph/map-algo.c
// Function: mg_map_frag
void mg_map_frag(const mg_idx_t *gi, int n_segs, const int *qlens, const char **seqs, mg_gchains_t **gcs, mg_tbuf_t *b, const mg_mapopt_t *opt, const char *qname)
{
	int i, l, rep_len, qlen_sum, n_lc, n_gc, n_mini_pos;
	int max_chain_gap_qry, max_chain_gap_ref, is_splice = !!(opt->flag & MG_M_SPLICE), is_sr = !!(opt->flag & MG_M_SR);
	uint32_t hash;
	int64_t n_a;
	uint64_t *u;
	int32_t *mini_pos;
	mg128_t *a;
	mg128_v mv = {0,0,0};
	mg_lchain_t *lc;
	char *seq_cat;
	km_stat_t kmst;
	float tmp, chn_pen_gap, chn_pen_skip;
	double t = 0.0;

	for (i = 0, qlen_sum = 0; i < n_segs; ++i)
		qlen_sum += qlens[i], gcs[i] = 0;

	if (qlen_sum == 0 || n_segs <= 0 || n_segs > MG_MAX_SEG) return;
	if (opt->max_qlen > 0 && qlen_sum > opt->max_qlen) return;

	hash  = qname? kh_hash_str(qname) : 0;
	hash ^= kh_hash_uint32(qlen_sum) + kh_hash_uint32(opt->seed);
	hash  = kh_hash_uint32(hash);

	collect_minimizers(b->km, opt, gi, n_segs, qlens, seqs, &mv);
	if (opt->flag & MG_M_HEAP_SORT) a = collect_seed_hits_heap(b->km, opt, opt->occ_max1, gi, qname, &mv, qlen_sum, &n_a, &rep_len, &n_mini_pos, &mini_pos);
	else a = collect_seed_hits(b->km, opt, opt->occ_max1, gi, qname, &mv, qlen_sum, &n_a, &rep_len, &n_mini_pos, &mini_pos);

	if (mg_dbg_flag & MG_DBG_SEED) {
		fprintf(stderr, "RS\t%d\n", rep_len);
		for (i = 0; i < n_a; ++i)
			fprintf(stderr, "SD\t%s\t%d\t%c\t%d\t%d\t%d\n", gi->g->seg[a[i].x>>33].name, (int32_t)a[i].x, "+-"[a[i].x>>32&1], (int32_t)a[i].y, (int32_t)(a[i].y>>32&0xff),
					i == 0? 0 : ((int32_t)a[i].y - (int32_t)a[i-1].y) - ((int32_t)a[i].x - (int32_t)a[i-1].x));
	}

	// set max chaining gap on the query and the reference sequence
	if (is_sr)
		max_chain_gap_qry = qlen_sum > opt->max_gap? qlen_sum : opt->max_gap;
	else max_chain_gap_qry = opt->max_gap;
	if (opt->max_gap_ref > 0) {
		max_chain_gap_ref = opt->max_gap_ref; // always honor mg_mapopt_t::max_gap_ref if set
	} else if (opt->max_frag_len > 0) {
		max_chain_gap_ref = opt->max_frag_len - qlen_sum;
		if (max_chain_gap_ref < opt->max_gap) max_chain_gap_ref = opt->max_gap;
	} else max_chain_gap_ref = opt->max_gap;

	tmp = expf(-opt->div * gi->k);
	chn_pen_gap = opt->chn_pen_gap * tmp;
	chn_pen_skip = opt->chn_pen_skip * tmp;

	if (mg_dbg_flag & MG_DBG_QNAME) t = realtime();
	if (n_a == 0) {
		if (a) kfree(b->km, a);
		a = 0, n_lc = 0, u = 0;
	} else {
		if (opt->flag & MG_M_RMQ) {
			a = mg_lchain_rmq(opt->max_gap, opt->max_gap_pre, opt->bw, opt->max_lc_skip, opt->rmq_size_cap, opt->min_lc_cnt, opt->min_lc_score,
							  chn_pen_gap, chn_pen_skip, n_a, a, &n_lc, &u, b->km);
		} else {
			a = mg_lchain_dp(max_chain_gap_ref, max_chain_gap_qry, opt->bw, opt->max_lc_skip, opt->max_lc_iter, opt->min_lc_cnt, opt->min_lc_score,
							 chn_pen_gap, chn_pen_skip, is_splice, n_segs, n_a, a, &n_lc, &u, b->km);
		}
	}
	if (mg_dbg_flag & MG_DBG_QNAME) t = print_time(t, 1, qname);

	if (opt->bw_long > opt->bw && (opt->flag & (MG_M_SPLICE|MG_M_SR)) == 0 && n_segs == 1 && n_lc > 1) { // re-chain/long-join for long sequences
		int32_t st = (int32_t)a[0].y, en = (int32_t)a[(int32_t)u[0] - 1].y;
		if (qlen_sum - (en - st) > opt->rmq_rescue_size || qlen_sum - (en - st) > qlen_sum * opt->rmq_rescue_ratio) {
			int32_t i;
			for (i = 0, n_a = 0; i < n_lc; ++i) n_a += (int32_t)u[i];
			kfree(b->km, u);
			radix_sort_128x(a, a + n_a);
			a = mg_lchain_rmq(opt->max_gap, opt->max_gap_pre, opt->bw_long, opt->max_lc_skip, opt->rmq_size_cap, opt->min_lc_cnt, opt->min_lc_score,
							  chn_pen_gap, chn_pen_skip, n_a, a, &n_lc, &u, b->km);
		}
	}

	b->frag_gap = max_chain_gap_ref;
	kfree(b->km, mv.a);

	if (n_lc) {
		lc = mg_lchain_gen(b->km, hash, qlen_sum, n_lc, u, a);
		if (n_lc > 1) {
			int32_t n_lc_new = 0;
			for (i = 0; i < n_lc; ++i) {
				mg_lchain_t *p = &lc[i];
				int32_t cnt = p->cnt, off = p->off;
				mm_fix_bad_ends(a, opt->lc_max_occ, opt->lc_max_trim, &off, &cnt);
				mm_fix_bad_ends_alt(a, p->score, opt->bw, 100, &off, &cnt);
				mm_filter_bad_seeds(b->km, off, cnt, a, 10, 40, opt->max_gap>>1, 10);
				mm_filter_bad_seeds_alt(b->km, off, cnt, a, 30, opt->max_gap>>1);
				//printf("X\t%d\t%d\t%d\t%d\t%d\t%d\n", p->qs, p->qe, p->off, p->cnt, off, cnt);
				p->off = off, p->cnt = cnt;
				if (cnt >= opt->min_lc_cnt) {
					int32_t q_span = a[p->off].y>>32 & 0xff;
					p->rs = (int32_t)a[p->off].x + 1 - q_span;
					p->qs = (int32_t)a[p->off].y + 1 - q_span;
					p->re = (int32_t)a[p->off + p->cnt - 1].x + 1;
					p->qe = (int32_t)a[p->off + p->cnt - 1].y + 1;
					lc[n_lc_new++] = *p;
				}
			}
			n_lc = n_lc_new;
		}
		for (i = 0; i < n_lc; ++i)
			mg_update_anchors(lc[i].cnt, &a[lc[i].off], n_mini_pos, mini_pos);
	} else lc = 0;
	kfree(b->km, mini_pos);
	kfree(b->km, u);
	if (mg_dbg_flag & MG_DBG_QNAME) t = print_time(t, 2, qname);

	if (mg_dbg_flag & MG_DBG_LCHAIN)
		mg_print_lchain(stdout, gi, n_lc, lc, a, qname);

	KMALLOC(b->km, seq_cat, qlen_sum);
	for (i = l = 0; i < n_segs; ++i) {
		strncpy(&seq_cat[l], seqs[i], qlens[i]);
		l += qlens[i];
	}
	n_gc = mg_gchain1_dp(b->km, gi->g, &n_lc, lc, qlen_sum, opt->bw_long, opt->bw_long, opt->bw_long, opt->max_gc_skip, opt->ref_bonus,
						 chn_pen_gap, chn_pen_skip, opt->mask_level, a, &u);
	if (mg_dbg_flag & MG_DBG_QNAME) t = print_time(t, 3, qname);
	gcs[0] = mg_gchain_gen(0, b->km, gi->g, gi->es, n_gc, u, lc, a, hash, opt->min_gc_cnt, opt->min_gc_score, opt->gdp_max_ed, n_segs, seq_cat);
	if (mg_dbg_flag & MG_DBG_QNAME) t = print_time(t, 4, qname);
	gcs[0]->rep_len = rep_len;
	kfree(b->km, a);
	kfree(b->km, lc);
	kfree(b->km, u);

	mg_gchain_set_parent(b->km, opt->mask_level, gcs[0]->n_gc, gcs[0]->gc, opt->sub_diff, 0);
	mg_gchain_flt_sub(opt->pri_ratio, gi->k * 2, opt->best_n, gcs[0]->n_gc, gcs[0]->gc);
	mg_gchain_drop_flt(b->km, gcs[0]);
	mg_gchain_set_mapq(b->km, gcs[0], qlen_sum, mv.n, opt->min_gc_score);
	if ((opt->flag&MG_M_CIGAR) && n_segs == 1) {
		mg_gchain_cigar(b->km, gi->g, gi->es, seq_cat, gcs[0], qname);
		mg_gchain_gen_ds(b->km, gi->g, gi->es, seq_cat, gcs[0]);
	}
	kfree(b->km, seq_cat);
	if (mg_dbg_flag & MG_DBG_QNAME) t = print_time(t, 5, qname);

	if (b->km) {
		km_stat(b->km, &kmst);
		if (mg_dbg_flag & MG_DBG_QNAME)
			fprintf(stderr, "QM\t%s\t%d\tcap=%ld,nCore=%ld,largest=%ld\n", qname, qlen_sum, kmst.capacity, kmst.n_cores, kmst.largest);
		if (kmst.n_blocks != kmst.n_cores) {
			fprintf(stderr, "[E::%s] memory leak at %s\n", __func__, qname);
			abort();
		}
		if (kmst.largest > 1U<<28 || (opt->cap_kalloc > 0 && kmst.capacity > opt->cap_kalloc)) {
			km_destroy(b->km);
			b->km = km_init();
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x158, %rsp            # imm = 0x158
movq 0x190(%rsp), %r11
movq (%r11), %r13
xorpd %xmm0, %xmm0
movupd %xmm0, 0xf8(%rsp)
testl %esi, %esi
jle 0x1e7ea
movq 0x198(%rsp), %r14
movl %r13d, %r12d
shrl $0x4, %r12d
andl $0x1, %r12d
movl %esi, %r15d
xorl %eax, %eax
xorl %r10d, %r10d
movslq (%rdx,%rax,4), %rbx
movslq %r10d, %r10
addq %rbx, %r10
movq $0x0, (%r8,%rax,8)
incq %rax
cmpq %rax, %r15
jne 0x1d126
leal -0x100(%rsi), %eax
cmpl $0xffffff01, %eax       # imm = 0xFFFFFF01
jb 0x1e7ea
testl %r10d, %r10d
je 0x1e7ea
movl 0x14(%r11), %eax
testl %eax, %eax
jle 0x1d16b
cmpl %eax, %r10d
jg 0x1e7ea
xorl %eax, %eax
testq %r14, %r14
movq %rsi, 0x68(%rsp)
je 0x1d1a7
movsbl (%r14), %esi
testl %esi, %esi
je 0x1d1a7
movb 0x1(%r14), %bl
testb %bl, %bl
je 0x1d1a5
addq $0x2, %r14
movl %esi, %eax
movl %eax, %esi
shll $0x5, %esi
subl %eax, %esi
movsbl %bl, %eax
addl %esi, %eax
movb (%r14), %bl
incq %r14
testb %bl, %bl
jne 0x1d18d
jmp 0x1d1a7
movl %esi, %eax
movq %r12, 0xa8(%rsp)
movq %r15, 0xe0(%rsp)
movq %rdx, 0xb0(%rsp)
movq %rcx, 0xe8(%rsp)
movq %r8, 0xa0(%rsp)
movl %r10d, %ecx
shll $0xf, %ecx
notl %ecx
movq %r10, 0x50(%rsp)
addl %r10d, %ecx
movl %ecx, %edx
shrl $0xa, %edx
xorl %ecx, %edx
leal (%rdx,%rdx,8), %ecx
movl %ecx, %edx
shrl $0x6, %edx
xorl %ecx, %edx
movl %edx, %esi
shll $0xb, %esi
notl %esi
addl %edx, %esi
movl %esi, %ecx
shrl $0x10, %ecx
xorl %esi, %ecx
movl 0x10(%r11), %edx
movl %edx, %esi
shll $0xf, %esi
notl %esi
addl %edx, %esi
movl %esi, %edx
shrl $0xa, %edx
xorl %esi, %edx
leal (%rdx,%rdx,8), %edx
movl %edx, %esi
shrl $0x6, %esi
xorl %edx, %esi
movl %esi, %edx
shll $0xb, %edx
notl %edx
addl %esi, %edx
movl %edx, %esi
shrl $0x10, %esi
xorl %edx, %esi
addl %ecx, %esi
xorl %eax, %esi
movl %esi, %eax
shll $0xf, %eax
notl %eax
addl %esi, %eax
movl %eax, %ebx
shrl $0xa, %ebx
xorl %eax, %ebx
movq (%r9), %r14
movq $0x0, 0xf0(%rsp)
movq %r13, %rax
movq %r13, 0xb8(%rsp)
cmpl $0x0, 0x68(%rsp)
movq %r9, 0x18(%rsp)
movq %rdi, 0x28(%rsp)
jle 0x1d324
xorl %r12d, %r12d
leaq 0xf0(%rsp), %r15
xorl %r13d, %r13d
xorl %ebp, %ebp
movq 0xb0(%rsp), %rcx
movq 0xe8(%rsp), %rax
movq (%rax,%r12,8), %rsi
movl (%rcx,%r12,4), %edx
movl 0x14(%rdi), %ecx
movl 0x18(%rdi), %r8d
subq $0x8, %rsp
movq %r14, %rdi
movl %r12d, %r9d
pushq %r15
callq 0xe8ac
addq $0x10, %rsp
movslq %ebp, %rdx
movq 0xf0(%rsp), %rbp
movq %rbp, %rax
subq %rdx, %rax
jbe 0x1d2f2
leal (,%r13,2), %ecx
movslq %ecx, %rcx
movq 0x100(%rsp), %rsi
shlq $0x4, %rdx
addq %rsi, %rdx
addq $0x8, %rdx
addq %rcx, (%rdx)
addq $0x10, %rdx
decq %rax
jne 0x1d2e6
movq 0xb0(%rsp), %rcx
addl (%rcx,%r12,4), %r13d
incq %r12
cmpq 0xe0(%rsp), %r12
movq 0x28(%rsp), %rdi
jne 0x1d289
movq 0x190(%rsp), %r11
movq (%r11), %rax
movq 0x18(%rsp), %r9
leal (%rbx,%rbx,8), %r14d
btl $0xa, %eax
movq (%r9), %r15
movl 0x1c(%r11), %edx
leaq 0x108(%rsp), %rax
jb 0x1d5db
subq $0x8, %rsp
leaq 0xa4(%rsp), %r10
leaq 0x84(%rsp), %r11
leaq 0x118(%rsp), %rbx
leaq 0xf8(%rsp), %r8
leaq 0x98(%rsp), %r13
movq %r15, %rdi
movq %rbx, %rsi
movq 0x30(%rsp), %rcx
movq %r13, %r9
pushq %rax
pushq %r10
pushq %r11
callq 0x1ea23
addq $0x20, %rsp
movq %rax, 0x88(%rsp)
movq (%r13), %rsi
shlq $0x4, %rsi
movq %r15, %rdi
callq 0x30e5
movq %rax, %r10
movq $0x0, (%r13)
movslq (%rbx), %rax
movq %rax, 0xc0(%rsp)
testq %rax, %rax
movq %r10, 0x38(%rsp)
jle 0x1d8e3
movq %r15, 0x70(%rsp)
movl %r14d, 0x30(%rsp)
movabsq $-0x200000000, %r11     # imm = 0xFFFFFFFE00000000
movabsq $0x40000000000, %r15    # imm = 0x40000000000
xorl %ebp, %ebp
xorl %eax, %eax
movq 0x190(%rsp), %rdi
movq 0x198(%rsp), %r8
movq 0x28(%rsp), %r9
movq 0x88(%rsp), %rsi
movq %rax, 0xc8(%rsp)
leaq (%rax,%rax,2), %rax
movl (%rsi,%rax,8), %ecx
testq %rcx, %rcx
je 0x1d5a3
leaq (%rsi,%rax,8), %rbx
movq 0x10(%rsi,%rax,8), %rax
movq %rax, 0x20(%rsp)
movq %rcx, %rdx
shlq $0x38, %rdx
cmpl $0xff, %ecx
movabsq $-0x100000000000000, %rax # imm = 0xFF00000000000000
cmovaeq %rax, %rdx
movq %rdx, 0x48(%rsp)
xorl %r13d, %r13d
movq %rcx, 0x8(%rsp)
movq 0x20(%rsp), %rax
movq (%rax,%r13,8), %r14
movl %r14d, %r12d
testq %r8, %r8
je 0x1d4f3
testb $0x40, 0x2(%rdi)
je 0x1d4f3
movq (%r9), %rcx
movq 0x10(%rcx), %rdx
movq %r14, %rsi
shrq $0x1a, %rsi
andq $-0x40, %rsi
leaq (%rdx,%rsi), %rax
movslq 0x8(%rdx,%rsi), %rdx
testq %rdx, %rdx
js 0x1d4aa
movq 0x28(%rcx), %rsi
testq %rsi, %rsi
je 0x1d4aa
leaq (%rdx,%rdx,2), %rdx
movl 0xc(%rax), %ecx
leaq (%rsi,%rdx,8), %rax
addl %r12d, %ecx
jmp 0x1d4b1
addq $0x18, %rax
movl %r12d, %ecx
cmpl 0x4(%rbx), %ecx
jne 0x1d4f3
movq (%rax), %rsi
movq %r8, %rdi
movq %r11, %r15
callq 0x21f0
movq %r15, %r11
movabsq $0x40000000000, %r15    # imm = 0x40000000000
movq 0x38(%rsp), %r10
movq 0x28(%rsp), %r9
movq 0x198(%rsp), %r8
movq 0x190(%rsp), %rdi
testl %eax, %eax
je 0x1d592
shrl %r12d
movl %r14d, %ecx
andl $0x1, %ecx
movl 0x4(%rbx), %eax
movl %eax, %edx
andl $0x1, %edx
cmpl %edx, %ecx
jne 0x1d519
addq %r14, %r14
andq %r11, %r14
movl %r12d, %esi
orq %r14, %rsi
movl 0x8(%rbx), %ecx
jmp 0x1d54e
shrq $0x20, %r14
movq %r14, %rdx
shlq $0x21, %rdx
movq (%r9), %rcx
movq 0x10(%rcx), %rcx
shlq $0x6, %r14
movl (%rcx,%r14), %esi
movl 0x8(%rbx), %ecx
subl %r12d, %esi
addl %ecx, %esi
addl $-0x2, %esi
orq %rdx, %rsi
movabsq $0x100000000, %rdx      # imm = 0x100000000
orq %rdx, %rsi
leaq 0x1(%rbp), %rdx
shlq $0x4, %rbp
addq %r10, %rbp
movq %rsi, (%rbp)
shlq $0x20, %rcx
shrl %eax
orq %rcx, %rax
movq %rax, 0x8(%rbp)
movl 0xc(%rbx), %ecx
shlq $0x30, %rcx
orq %rax, %rcx
movq %rcx, 0x8(%rbp)
movq %rcx, %rax
orq %r15, %rax
cmpl $0x0, 0xc(%rbx)
cmovnsq %rcx, %rax
orq 0x48(%rsp), %rax
movq %rax, 0x8(%rbp)
movq %rdx, %rbp
movq 0x8(%rsp), %rcx
incq %r13
cmpq %r13, %rcx
jne 0x1d452
movq 0xc8(%rsp), %rax
incq %rax
cmpq 0xc0(%rsp), %rax
movq 0x88(%rsp), %rsi
jne 0x1d404
movq %rbp, 0x90(%rsp)
movl 0x30(%rsp), %r14d
movq 0x70(%rsp), %r15
jmp 0x1d8ed
movl %r14d, 0x30(%rsp)
subq $0x8, %rsp
leaq 0xa4(%rsp), %r10
leaq 0x84(%rsp), %r11
leaq 0x118(%rsp), %rbx
leaq 0xf8(%rsp), %r8
leaq 0x98(%rsp), %r12
movq %r15, %rdi
movq %rbx, %rsi
movq 0x30(%rsp), %rcx
movq %r12, %r9
pushq %rax
pushq %r10
pushq %r11
callq 0x1ea23
addq $0x20, %rsp
movq %rax, %r14
movslq (%rbx), %rbx
movq %rbx, %rsi
shlq $0x4, %rsi
movq %r15, %rdi
callq 0x30e5
movq %rax, %r13
movq (%r12), %rbp
movq %rbp, %r12
shlq $0x4, %r12
movq %r15, 0x70(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0x30e5
movq %rax, 0x38(%rsp)
xorl %r15d, %r15d
testq %rbx, %rbx
movq %r12, 0x20(%rsp)
jle 0x1d87f
movabsq $0x100000000, %r9       # imm = 0x100000000
shlq $0x3, %rbx
leaq (%rbx,%rbx,2), %rax
xorl %ecx, %ecx
xorl %edx, %edx
movq %r14, %r8
cmpl $0x0, (%r8,%rdx)
je 0x1d6b0
movq 0x10(%r8,%rdx), %rsi
movq (%rsi), %rsi
movslq %r15d, %r15
movq %r15, %rdi
shlq $0x4, %rdi
movq %rsi, (%r13,%rdi)
movq %rcx, 0x8(%r13,%rdi)
incl %r15d
addq $0x18, %rdx
addq %r9, %rcx
cmpq %rdx, %rax
jne 0x1d68a
cmpl $0x2, %r15d
jb 0x1d6e2
movslq %r15d, %r12
movq %r12, %rbx
shrq %rbx
decq %rbx
movq %rbx, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x1ce74
addq $-0x1, %rbx
jb 0x1d6ce
testl %r15d, %r15d
jle 0x1d87f
movq %r13, %rax
addq $-0x10, %rax
movq %rax, 0x8(%rsp)
xorl %eax, %eax
xorl %r12d, %r12d
movq %r14, %rsi
movl 0xc(%r13), %ecx
leaq (%rcx,%rcx,2), %rdx
leaq (%rsi,%rdx,8), %rcx
movq (%r13), %r11
movl %r11d, %edi
shrl %edi
movl %r11d, %r8d
andl $0x1, %r8d
movl 0x4(%rsi,%rdx,8), %edx
movl %edx, %r9d
andl $0x1, %r9d
cmpl %r9d, %r8d
jne 0x1d75a
leaq 0x1(%rax), %rbx
movq %rax, %r8
shlq $0x4, %r8
addq %r11, %r11
movabsq $-0x200000000, %r9      # imm = 0xFFFFFFFE00000000
andq %r9, %r11
movl %edi, %edi
orq %r11, %rdi
movq 0x38(%rsp), %r9
movq %rdi, (%r9,%r8)
movl 0x8(%rcx), %r11d
jmp 0x1d7b9
movq %r12, %r9
incq %r9
movq %rbp, %r8
movq %r9, %r12
subq %r9, %r8
movq %rax, %rbx
movq %r8, %rax
shlq $0x4, %r8
shrq $0x20, %r11
movq %r11, %r9
shlq $0x21, %r9
movq 0x28(%rsp), %r10
movq (%r10), %r10
movq 0x10(%r10), %r10
shlq $0x6, %r11
movl (%r10,%r11), %r10d
movl 0x8(%rcx), %r11d
subl %edi, %r10d
leal (%r11,%r10), %edi
addl $-0x2, %edi
orq %r9, %rdi
movabsq $0x100000000, %r9       # imm = 0x100000000
orq %r9, %rdi
movq 0x38(%rsp), %r9
movq %rdi, (%r9,%r8)
shlq $0x20, %r11
shrl %edx
orq %r11, %rdx
shlq $0x4, %rax
movq %rdx, 0x8(%r9,%rax)
movl 0xc(%rcx), %edi
shlq $0x30, %rdi
orq %rdx, %rdi
movq %rdi, 0x8(%r9,%rax)
movq %rdi, %rdx
movabsq $0x40000000000, %r8     # imm = 0x40000000000
orq %r8, %rdx
cmpl $0x0, 0xc(%rcx)
cmovnsq %rdi, %rdx
movl (%rcx), %ecx
movq %rcx, %rdi
shlq $0x38, %rdi
cmpl $0xff, %ecx
movabsq $-0x100000000000000, %r8 # imm = 0xFF00000000000000
cmovaeq %r8, %rdi
orq %rdx, %rdi
movq %rdi, 0x8(%r9,%rax)
movq 0x8(%r13), %rax
decl %ecx
cmpl %eax, %ecx
jbe 0x1d844
incq %rax
movq %rax, 0x8(%r13)
movq %rax, %rcx
shrq $0x20, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x10(%rsi,%rcx,8), %rcx
movl %eax, %eax
movq (%rcx,%rax,8), %rax
movq %rax, (%r13)
jmp 0x1d85e
movl %r15d, %eax
shlq $0x4, %rax
movq 0x8(%rsp), %rcx
movupd (%rcx,%rax), %xmm0
movupd %xmm0, (%r13)
decl %r15d
movl %r15d, %esi
xorl %edi, %edi
movq %r13, %rdx
callq 0x1ce74
movq %rbx, %rcx
movq %rbx, %rax
testl %r15d, %r15d
movq %r14, %rsi
jg 0x1d6ff
jmp 0x1d887
xorl %r12d, %r12d
xorl %ecx, %ecx
movq %r14, %rsi
movq 0x70(%rsp), %rbx
movq %rcx, %r14
movq %rbx, %rdi
callq 0x301f
movq %rbx, %rdi
movq %r13, %rsi
callq 0x301f
leaq (%r14,%r12), %rbx
cmpq %rbx, %rbp
jle 0x1d8dc
movq %r14, %rdi
shlq $0x4, %rdi
movq 0x38(%rsp), %rax
addq %rax, %rdi
movq 0x20(%rsp), %rsi
addq %rax, %rsi
shlq $0x4, %r12
subq %r12, %rsi
movq %r12, %rdx
callq 0x22d0
movq %rbx, 0x90(%rsp)
movq %rbx, %rbp
movl 0x30(%rsp), %r14d
jmp 0x1d90c
xorl %ebp, %ebp
movq 0x88(%rsp), %rsi
movq %r15, %rdi
callq 0x301f
movq %rbp, %rax
shlq $0x4, %rax
movq 0x38(%rsp), %rdi
movq %rdi, %rsi
addq %rax, %rsi
callq 0xf27f
movl %r14d, %ebx
shrl $0x6, %ebx
leaq 0x14d5f(%rip), %rax     # 0x32678
testb $0x4, (%rax)
movq 0x190(%rsp), %rcx
movq 0x50(%rsp), %rsi
movq 0x28(%rsp), %rdx
jne 0x1e7fc
xorl %r14d, %ebx
movl 0x40(%rcx), %eax
movl 0x44(%rcx), %r12d
cmpl %eax, %esi
movl %eax, %r13d
cmovgl %esi, %r13d
testb $0x20, 0xb8(%rsp)
cmovel %eax, %r13d
testl %r12d, %r12d
jg 0x1d970
movl 0x48(%rcx), %r12d
testl %r12d, %r12d
jle 0x1d96d
subl %esi, %r12d
cmpl %eax, %r12d
cmovlel %eax, %r12d
jmp 0x1d970
movl %eax, %r12d
movl %ebx, %r14d
shll $0xb, %r14d
movss 0x4c(%rcx), %xmm1
xorps 0xc1ad(%rip), %xmm1     # 0x29b30
xorps %xmm0, %xmm0
cvtsi2ssl 0x18(%rdx), %xmm0
mulss %xmm1, %xmm0
callq 0x20a0
movq 0x190(%rsp), %rax
movss 0x50(%rax), %xmm1
mulss %xmm0, %xmm1
movss %xmm1, 0x60(%rsp)
mulss 0x54(%rax), %xmm0
movss %xmm0, 0x64(%rsp)
xorps %xmm0, %xmm0
movsd %xmm0, 0x40(%rsp)
leaq 0x14cb2(%rip), %rcx     # 0x32678
testb $0x2, (%rcx)
je 0x1d9de
callq 0x42a5
movq 0x190(%rsp), %rax
movsd %xmm0, 0x40(%rsp)
notl %r14d
testq %rbp, %rbp
je 0x1da48
testb $-0x80, 0x1(%rax)
jne 0x1da74
movl 0x28(%rax), %edx
movl 0x58(%rax), %ecx
movl 0x5c(%rax), %r8d
movl 0x64(%rax), %r9d
movl 0x68(%rax), %eax
leaq 0x58(%rsp), %r10
leaq 0x14(%rsp), %r11
movl %r12d, %edi
movl %r13d, %esi
movss 0x60(%rsp), %xmm0
movss 0x64(%rsp), %xmm1
movq 0x18(%rsp), %r15
pushq (%r15)
pushq %r10
pushq %r11
pushq 0x50(%rsp)
pushq %rbp
pushq 0x90(%rsp)
pushq 0xd8(%rsp)
pushq %rax
callq 0x162fe
addq $0x40, %rsp
jmp 0x1dabc
movq 0x38(%rsp), %rsi
testq %rsi, %rsi
je 0x1da5f
movq 0x18(%rsp), %rax
movq (%rax), %rdi
callq 0x301f
movl $0x0, 0x14(%rsp)
movq $0x0, 0x58(%rsp)
xorl %eax, %eax
jmp 0x1dabc
movl 0x40(%rax), %edi
movl 0x3c(%rax), %esi
movl 0x58(%rax), %ecx
movl 0x28(%rax), %edx
movl 0x30(%rax), %r8d
movl 0x64(%rax), %r9d
movl 0x68(%rax), %eax
leaq 0x58(%rsp), %r10
leaq 0x14(%rsp), %r11
movss 0x60(%rsp), %xmm0
movss 0x64(%rsp), %xmm1
movq 0x18(%rsp), %r15
pushq (%r15)
pushq %r10
pushq %r11
pushq 0x50(%rsp)
pushq %rbp
pushq %rax
callq 0x17b64
addq $0x30, %rsp
movq %rax, 0x8(%rsp)
addl %r14d, %ebx
leaq 0x14bad(%rip), %rax     # 0x32678
testb $0x2, (%rax)
jne 0x1e825
movl %ebx, %r14d
shrl $0x10, %r14d
movq 0x190(%rsp), %r9
movl 0x2c(%r9), %eax
cmpl 0x28(%r9), %eax
movq 0x18(%rsp), %r8
jle 0x1dc11
testb $0x30, (%r9)
sete %al
cmpl $0x1, 0x68(%rsp)
sete %cl
andb %al, %cl
movl 0x14(%rsp), %eax
cmpl $0x2, %eax
setge %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x1dc11
movq 0x8(%rsp), %r10
movl 0x8(%r10), %ecx
movq 0x58(%rsp), %rsi
movq (%rsi), %rdx
shlq $0x20, %rdx
movabsq $-0x100000000, %rdi     # imm = 0xFFFFFFFF00000000
addq %rdx, %rdi
sarq $0x1c, %rdi
subl 0x8(%r10,%rdi), %ecx
addl 0x50(%rsp), %ecx
cmpl 0x34(%r9), %ecx
jg 0x1db70
xorps %xmm0, %xmm0
cvtsi2ss %ecx, %xmm0
xorps %xmm1, %xmm1
cvtsi2ssl 0x50(%rsp), %xmm1
mulss 0x38(%r9), %xmm1
ucomiss %xmm1, %xmm0
jbe 0x1dc11
movq %r14, %r13
movl %eax, %eax
xorl %ecx, %ecx
xorl %r14d, %r14d
movslq (%rsi,%rcx,8), %rdx
addq %rdx, %r14
incq %rcx
cmpq %rcx, %rax
jne 0x1db7a
movq %r14, 0x90(%rsp)
movq (%r8), %rdi
callq 0x301f
shlq $0x4, %r14
movq 0x8(%rsp), %r15
addq %r15, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0xf27f
movq 0x190(%rsp), %rax
movl 0x40(%rax), %edi
movl 0x3c(%rax), %esi
movl 0x58(%rax), %ecx
movl 0x2c(%rax), %edx
movl 0x30(%rax), %r8d
movl 0x64(%rax), %r9d
movl 0x68(%rax), %eax
leaq 0x58(%rsp), %r10
leaq 0x14(%rsp), %r11
movss 0x60(%rsp), %xmm0
movss 0x64(%rsp), %xmm1
movq 0x18(%rsp), %r14
pushq (%r14)
pushq %r10
pushq %r11
pushq %r15
pushq 0xb0(%rsp)
pushq %rax
callq 0x17b64
movq 0x48(%rsp), %r8
addq $0x30, %rsp
movq %rax, 0x8(%rsp)
movq %r13, %r14
xorl %ebx, %r14d
movl %r12d, 0x8(%r8)
movq (%r8), %rdi
movq 0x100(%rsp), %rsi
movq %r8, %rbx
callq 0x301f
movl 0x14(%rsp), %ecx
testl %ecx, %ecx
movq %r14, 0x138(%rsp)
je 0x1e478
movq (%rbx), %rdi
movq 0x58(%rsp), %r8
movl %r14d, %esi
movq 0x50(%rsp), %rdx
movq 0x8(%rsp), %r9
callq 0x186d0
movq %rax, %r14
movl 0x14(%rsp), %eax
cmpl $0x2, %eax
jl 0x1e422
movq 0x8(%rsp), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x140(%rsp)
leaq 0x8(%rax), %rcx
movq %rcx, 0x70(%rsp)
addq $0x18, %rax
movq %rax, 0xd0(%rsp)
xorl %ecx, %ecx
movl $0x0, 0x78(%rsp)
movq 0x190(%rsp), %rdi
movq %r14, 0x80(%rsp)
leaq (%rcx,%rcx,4), %r15
movl 0x4(%r14,%r15,8), %eax
addl %eax, %eax
sarl %eax
movslq (%r14,%r15,8), %r12
movslq 0x7c(%rdi), %r9
movl 0x78(%rdi), %edi
cmpl %eax, %edi
movl %eax, %r8d
cmovll %edi, %r8d
movl $0x0, %esi
testl %r8d, %r8d
jle 0x1dd01
leal (%rax,%r12), %edx
movslq %edx, %r10
shlq $0x4, %r10
addq 0x140(%rsp), %r10
xorl %esi, %esi
movzbl 0x7(%r10), %r11d
cmpq %r9, %r11
jbe 0x1dd01
incl %esi
addq $-0x10, %r10
cmpl %esi, %r8d
jne 0x1dce9
movl %r8d, %esi
movl %eax, %r8d
subl %esi, %r8d
cmpl %edi, %r8d
cmovll %r8d, %edi
testl %edi, %edi
jle 0x1dd3c
movq %r12, %r11
shlq $0x4, %r11
addq 0x70(%rsp), %r11
xorl %r10d, %r10d
movzbl 0x7(%r11), %ebx
cmpq %r9, %rbx
jbe 0x1dd3f
incl %r10d
addq $0x10, %r11
cmpl %r10d, %edi
jne 0x1dd21
movl %edi, %r10d
jmp 0x1dd3f
xorl %r10d, %r10d
movq %rcx, 0xd8(%rsp)
leaq (%r14,%r15,8), %rdi
leal (%r12,%r10), %r14d
movl %r8d, %edx
subl %r10d, %edx
cmpl $0x3, %edx
movq %rdi, 0x150(%rsp)
movq %r14, 0x30(%rsp)
jl 0x1df0e
movq 0x190(%rsp), %rcx
movl 0x28(%rcx), %edx
movl 0x1c(%rdi), %edi
movslq %r14d, %r10
movq %r10, %r11
shlq $0x4, %r11
movq 0x8(%rsp), %rcx
movzbl 0xc(%rcx,%r11), %ebx
movl %r8d, %r9d
addl %r12d, %r8d
movq %r12, 0x48(%rsp)
addl %r12d, %r9d
decl %r9d
cmpl $0x65, %edx
movl $0x64, %ebp
cmovgel %edx, %ebp
addl %edx, %edx
movl %edx, 0x20(%rsp)
sarl %edi
cmpl %ebp, %edi
cmovgel %ebp, %edi
movslq %r9d, %r9
addq 0xd0(%rsp), %r11
incq %r10
movl %r14d, %ebp
movl %ebx, %r14d
cmpq %r9, %r10
jge 0x1de41
movl -0x8(%r11), %r13d
subl -0x18(%r11), %r13d
movq (%r11), %r15
movl -0x10(%r11), %ecx
movl %r15d, %r12d
subl %ecx, %r12d
cmpl %r12d, %r13d
movslq %r12d, %rcx
cmovll %r13d, %r12d
movslq %r13d, %r13
subq %rcx, %r13
movq %r13, %rcx
negq %rcx
cmovsq %r13, %rcx
leal (%r12,%r14), %r13d
sarl %r14d
cmpl %r14d, %ecx
movq 0x30(%rsp), %rcx
cmovgl %r10d, %ecx
movq %rcx, 0x30(%rsp)
cmovgl %r10d, %ebp
cmpl 0x20(%rsp), %r13d
jge 0x1de41
shrq $0x20, %r15
movzbl %r15b, %ecx
cmpl %ecx, %r12d
cmovll %r12d, %ecx
addl %ecx, %ebx
addq $0x10, %r11
incq %r10
movl %r13d, %r14d
cmpl %edi, %ebx
jl 0x1ddcb
movl %r8d, %edx
subl %ebp, %edx
addl $-0x2, %r8d
movq 0x30(%rsp), %rbx
cmpl %ebx, %r8d
jle 0x1df0e
movq %rdx, %r12
shlq $0x4, %r9
movq 0x8(%rsp), %rcx
movzbl 0xc(%rcx,%r9), %r11d
movslq %r8d, %r8
movslq %ebx, %r9
leaq -0x1(%r8), %r10
shlq $0x4, %r8
addq 0xd0(%rsp), %r8
movq 0x48(%rsp), %rcx
addl %eax, %ecx
movl %ebx, %eax
notl %eax
addl %ecx, %eax
subl %esi, %eax
movl %r11d, %ecx
movl 0x20(%rsp), %esi
movl %r11d, %ebx
movq (%r8), %rdx
movq %rdx, %r11
shrq $0x20, %r11
movl -0x8(%r8), %ebp
subl -0x18(%r8), %ebp
subl -0x10(%r8), %edx
cmpl %edx, %ebp
movslq %edx, %r14
cmovll %ebp, %edx
movzbl %r11b, %r15d
movslq %ebp, %r11
subq %r14, %r11
movq %r11, %r14
negq %r14
cmovsq %r11, %r14
leal (%rdx,%rbx), %r11d
sarl %ebx
cmpl %ebx, %r14d
cmovgl %eax, %r12d
cmpl %r15d, %edx
cmovgel %r15d, %edx
cmpl %esi, %r11d
jge 0x1defc
addl %edx, %ecx
cmpl %edi, %ecx
jge 0x1defc
addq $-0x10, %r8
leaq -0x1(%r10), %rdx
decl %eax
cmpq %r9, %r10
movq %rdx, %r10
jg 0x1de96
movq 0x18(%rsp), %rax
movq 0x190(%rsp), %rcx
movq %r12, %rdx
jmp 0x1df1b
movq 0x18(%rsp), %rax
movq 0x190(%rsp), %rcx
movq (%rax), %rdi
movl 0x40(%rcx), %r14d
movq %rdi, 0x148(%rsp)
movq 0x30(%rsp), %rbx
movl %ebx, %esi
movq %rdx, 0xa8(%rsp)
movq 0x8(%rsp), %rcx
movl $0xa, %r8d
leaq 0x110(%rsp), %r9
callq 0x1ec4a
movq %rax, %rcx
movslq %ebx, %rax
movq %rax, 0x20(%rsp)
movq %rcx, 0x48(%rsp)
testq %rcx, %rcx
je 0x1e172
sarl %r14d
movl 0x110(%rsp), %ecx
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
xorl %eax, %eax
movl $0x1, %r15d
xorl %r10d, %r10d
movl $0xffffffff, %r9d       # imm = 0xFFFFFFFF
cmpq %rcx, %rax
movabsq $0x20000000000, %r8     # imm = 0x20000000000
je 0x1dfa8
movslq %edi, %rdx
cmpq %rdx, %rax
jge 0x1dfa8
movq 0x8(%rsp), %rsi
jmp 0x1dffb
testl %edi, %edi
movq 0x8(%rsp), %rsi
jle 0x1dfe4
movslq %r9d, %rdx
movq 0x48(%rsp), %r9
movslq (%r9,%rdx,4), %rdx
movl %edi, %edi
movslq (%r9,%rdi,4), %rdi
cmpl %edi, %edx
jge 0x1dfe4
subq %rdx, %rdi
addq 0x20(%rsp), %rdx
shlq $0x4, %rdx
addq 0x70(%rsp), %rdx
orq %r8, (%rdx)
addq $0x10, %rdx
decq %rdi
jne 0x1dfd8
cmpq %rcx, %rax
je 0x1e15b
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
xorl %r10d, %r10d
movl $0xffffffff, %r9d       # imm = 0xFFFFFFFF
movl %r10d, 0xc0(%rsp)
movl %r9d, 0x88(%rsp)
movl %edi, 0xc8(%rsp)
leaq 0x1(%rax), %rdx
movq %rdx, 0xb8(%rsp)
cmpl %edx, %ecx
movq %r15, 0x38(%rsp)
jle 0x1e109
movq 0x48(%rsp), %rdx
movslq (%rdx,%rax,4), %rdx
addq 0x20(%rsp), %rdx
shlq $0x4, %rdx
leaq (%rsi,%rdx), %rdi
movl -0x8(%rsi,%rdx), %r13d
movq -0x10(%rsi,%rdx), %rbp
leaq 0xa(%rax), %rdx
movl 0x8(%rdi), %r8d
movl %ebp, %ebx
subl (%rdi), %ebx
subl %r13d, %r8d
addl %r8d, %ebx
movl %ebx, %r8d
negl %r8d
xorl %r11d, %r11d
testl %ebx, %ebx
cmovgl %r11d, %r8d
cmovlel %r11d, %ebx
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
movq 0x48(%rsp), %rdi
movslq (%rdi,%r15,4), %r10
addq 0x20(%rsp), %r10
shlq $0x4, %r10
movl 0x8(%rsi,%r10), %r9d
movl %r9d, %edi
subl %r13d, %edi
cmpl %r14d, %edi
jg 0x1e112
addq %rsi, %r10
movq (%r10), %rdi
movl %edi, %esi
subl %ebp, %esi
cmpl %r14d, %esi
jg 0x1e112
subl -0x8(%r10), %r9d
movl -0x10(%r10), %esi
subl %edi, %esi
addl %r9d, %esi
testl %esi, %esi
movl $0x0, %edi
cmovgl %esi, %edi
movl $0x0, %r9d
cmovnsl %r9d, %esi
addl %edi, %ebx
subl %esi, %r8d
leal (%rbx,%r8), %esi
movl %ebx, %edi
subl %r8d, %edi
movl %edi, %r9d
negl %r9d
cmovnsl %edi, %r9d
addl %esi, %r9d
cmpl %r9d, %r11d
cmovlel %r9d, %r11d
cmovll %r15d, %r12d
leaq 0x1(%r15), %rdi
cmpl %edi, %ecx
jle 0x1e112
cmpq %rdx, %r15
movq %rdi, %r15
movq 0x8(%rsp), %rsi
jb 0x1e076
jmp 0x1e112
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
xorl %r11d, %r11d
cmpl $0x29, %r11d
setge %dl
movl 0xc0(%rsp), %r10d
cmpl %r10d, %r11d
setg %sil
testb %sil, %dl
cmovnel %r11d, %r10d
movl 0xc8(%rsp), %edi
cmovnel %r12d, %edi
movl 0x88(%rsp), %r9d
cmovnel %eax, %r9d
movq 0x38(%rsp), %r15
incq %r15
movq 0xb8(%rsp), %rax
jmp 0x1df8a
movq 0x148(%rsp), %rdi
movq 0x48(%rsp), %rsi
callq 0x301f
movq 0x30(%rsp), %rbx
movq 0x18(%rsp), %rax
movq (%rax), %rdi
movq 0x190(%rsp), %rax
movl 0x40(%rax), %r14d
movq %rdi, 0x48(%rsp)
movl %ebx, %esi
movq 0xa8(%rsp), %rdx
movq 0x8(%rsp), %rcx
movl $0x1e, %r8d
leaq 0x110(%rsp), %r9
callq 0x1ec4a
testq %rax, %rax
je 0x1e32a
movl 0x110(%rsp), %ecx
testl %ecx, %ecx
movq 0x8(%rsp), %rsi
movq 0x30(%rsp), %r8
jle 0x1e31d
sarl %r14d
xorl %edx, %edx
leal 0x1(%rdx), %edi
cmpl %ecx, %edi
jge 0x1e307
movslq %edx, %rdx
movq %rsi, %r15
movslq (%rax,%rdx,4), %rsi
addl %esi, %r8d
movslq %r8d, %r8
shlq $0x4, %r8
movl (%r15,%r8), %r10d
movl 0x8(%r15,%r8), %r9d
movl -0x8(%r15,%r8), %r11d
addl %r10d, %r11d
movl %r9d, %ebx
subl %r11d, %ebx
addl -0x10(%r15,%r8), %ebx
movl %ebx, %r8d
negl %r8d
cmovsl %ebx, %r8d
incq %rdx
movslq (%rax,%rdx,4), %r12
addq 0x20(%rsp), %r12
shlq $0x4, %r12
movq 0x8(%rsp), %r15
movl 0x8(%r15,%r12), %r11d
movl %r11d, %ebx
subl %r9d, %ebx
cmpl %r14d, %ebx
jg 0x1e2af
addq %r15, %r12
movq (%r12), %rbx
movl %ebx, %ebp
subl %r10d, %ebp
cmpl %r14d, %ebp
jg 0x1e2af
movq -0x8(%r12), %r15
movl %r11d, %ebp
subl %r15d, %ebp
movl -0x10(%r12), %r12d
movl %r12d, %r13d
subl %ebx, %r13d
addl %ebp, %r13d
movq %r15, %rbp
shrq $0x20, %rbp
movzbl %bpl, %ebp
subl %r10d, %r12d
addl %ebp, %r12d
subl %r9d, %r15d
addl %ebp, %r15d
cmpl %r15d, %r12d
cmovll %r12d, %r15d
movl %r13d, %r9d
negl %r9d
cmovsl %r13d, %r9d
addl %r9d, %r8d
cmpl %r8d, %r15d
jg 0x1e2af
incq %rdx
movl %r9d, %r8d
movl %ebx, %r10d
movl %r11d, %r9d
cmpq %rdx, %rcx
jne 0x1e21c
movl %ecx, %edx
cmpl %edi, %edx
movabsq $0x20000000000, %r9     # imm = 0x20000000000
jle 0x1e30b
movslq %edx, %rdi
movslq -0x4(%rax,%rdi,4), %rdi
cmpl %edi, %esi
jge 0x1e2e9
movq %rdi, %r8
subq %rsi, %r8
addq 0x20(%rsp), %rsi
shlq $0x4, %rsi
addq 0x70(%rsp), %rsi
orq %r9, (%rsi)
addq $0x10, %rsi
decq %r8
jne 0x1e2dd
movq 0x30(%rsp), %r8
addl %r8d, %edi
movslq %edi, %rsi
shlq $0x4, %rsi
movq 0x8(%rsp), %rdi
orb $0x8, 0xd(%rdi,%rsi)
movq %rdi, %rsi
jmp 0x1e315
movl %edi, %edx
jmp 0x1e315
movq 0x8(%rsp), %rsi
movq 0x30(%rsp), %r8
cmpl %ecx, %edx
jl 0x1e1d4
movq 0x48(%rsp), %rdi
movq %rax, %rsi
callq 0x301f
movq 0x150(%rsp), %r8
movq 0x30(%rsp), %r9
movl %r9d, (%r8)
movq 0xa8(%rsp), %r10
movl %r10d, %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movl 0x4(%r8), %ecx
movl $0x80000000, %edx       # imm = 0x80000000
andl %edx, %ecx
orl %eax, %ecx
movl %ecx, 0x4(%r8)
movq 0x190(%rsp), %rdi
cmpl 0x64(%rdi), %r10d
jge 0x1e376
movq 0x80(%rsp), %r14
jmp 0x1e401
movq 0x20(%rsp), %rdx
shlq $0x4, %rdx
movq 0x8(%rsp), %rsi
movq 0x8(%rsi,%rdx), %rax
movq %rax, %rcx
shrq $0x20, %rcx
movzbl %cl, %ecx
movl (%rsi,%rdx), %edx
subl %ecx, %edx
incl %edx
movl %edx, 0xc(%r8)
subl %ecx, %eax
incl %eax
movl %eax, 0x14(%r8)
addl %r10d, %r10d
sarl %r10d
leal (%r9,%r10), %eax
decl %eax
cltq
shlq $0x4, %rax
movl (%rsi,%rax), %ecx
incl %ecx
movl %ecx, 0x10(%r8)
movl 0x8(%rsi,%rax), %eax
incl %eax
movl %eax, 0x18(%r8)
movl 0x78(%rsp), %ecx
movslq %ecx, %rax
incl %ecx
movl %ecx, 0x78(%rsp)
leaq (%rax,%rax,4), %rax
movq 0x20(%r8), %rcx
movq 0x80(%rsp), %r14
movq %rcx, 0x20(%r14,%rax,8)
movups (%r8), %xmm0
movups %xmm0, (%r14,%rax,8)
movups 0x10(%r8), %xmm0
movups %xmm0, 0x10(%r14,%rax,8)
movq 0xd8(%rsp), %rcx
incq %rcx
movslq 0x14(%rsp), %rax
cmpq %rax, %rcx
jl 0x1dca9
movl 0x78(%rsp), %eax
movl %eax, 0x14(%rsp)
testl %eax, %eax
jle 0x1e47d
movq %r14, %r12
movq %r14, %rbx
addq $0x4, %rbx
xorl %r14d, %r14d
movq 0x8(%rsp), %r15
movl (%rbx), %edi
addl %edi, %edi
sarl %edi
movslq -0x4(%rbx), %rsi
shlq $0x4, %rsi
addq %r15, %rsi
movl 0x9c(%rsp), %edx
movq 0x108(%rsp), %rcx
callq 0x1888a
incq %r14
movslq 0x14(%rsp), %rax
addq $0x28, %rbx
cmpq %rax, %r14
jl 0x1e438
movq 0x18(%rsp), %rbx
movq %r12, %r14
jmp 0x1e482
xorl %r14d, %r14d
jmp 0x1e482
movq 0x18(%rsp), %rbx
movq (%rbx), %rdi
movq 0x108(%rsp), %rsi
callq 0x301f
movq (%rbx), %rdi
movq 0x58(%rsp), %rsi
callq 0x301f
leaq 0x141d2(%rip), %rax     # 0x32678
movl (%rax), %eax
testb $0x2, %al
jne 0x1e86c
movq 0x68(%rsp), %rbx
testb $0x8, %al
je 0x1e4e1
movq 0x13b18(%rip), %rax     # 0x31fd8
movq (%rax), %rdi
movl 0x14(%rsp), %edx
movq 0x28(%rsp), %rsi
movq %r14, %rcx
movq 0x8(%rsp), %r8
movq 0x198(%rsp), %r9
callq 0x1fe75
movq %r14, 0x80(%rsp)
movq 0x18(%rsp), %rax
movq (%rax), %rdi
movq 0x50(%rsp), %rsi
callq 0x30e5
movq %rax, %r14
testl %ebx, %ebx
movq 0xe8(%rsp), %r12
movq 0xb0(%rsp), %r13
movq 0xe0(%rsp), %rbp
jle 0x1e541
xorl %ebx, %ebx
xorl %r15d, %r15d
movslq %r15d, %r15
leaq (%r14,%r15), %rdi
movq (%r12,%rbx,8), %rsi
movslq (%r13,%rbx,4), %rdx
callq 0x2060
addl (%r13,%rbx,4), %r15d
incq %rbx
cmpq %rbx, %rbp
jne 0x1e51f
movq 0x18(%rsp), %rax
movq (%rax), %rdi
movq 0x28(%rsp), %rax
movq (%rax), %rsi
movq 0x190(%rsp), %rcx
movl 0x2c(%rcx), %r9d
movl 0x60(%rcx), %eax
movl 0x90(%rcx), %r10d
movss 0x80(%rcx), %xmm2
leaq 0x58(%rsp), %r11
leaq 0x14(%rsp), %rdx
movq 0x80(%rsp), %rcx
movq 0x50(%rsp), %r8
movss 0x60(%rsp), %xmm0
movss 0x64(%rsp), %xmm1
pushq %r11
pushq 0x10(%rsp)
pushq %r10
pushq %rax
pushq %r9
pushq %r9
callq 0x18b87
addq $0x30, %rsp
movl %eax, %ebx
leaq 0x140c7(%rip), %rax     # 0x32678
testb $0x2, (%rax)
jne 0x1e8bc
movq 0x18(%rsp), %rax
movq (%rax), %rsi
movq 0x28(%rsp), %rax
movq (%rax), %rdx
movq 0x8(%rax), %rcx
movq 0x58(%rsp), %r9
movq 0x190(%rsp), %rdi
movl 0x6c(%rdi), %eax
movl 0x70(%rdi), %r10d
movl 0x74(%rdi), %r11d
xorl %edi, %edi
movl %ebx, %r8d
pushq %r14
pushq 0x70(%rsp)
pushq %r11
pushq %r10
pushq %rax
pushq 0x160(%rsp)
pushq 0x38(%rsp)
pushq 0xb8(%rsp)
callq 0x19e93
addq $0x40, %rsp
movq 0xa0(%rsp), %rcx
movq %rax, (%rcx)
leaq 0x14055(%rip), %rcx     # 0x32678
testb $0x2, (%rcx)
jne 0x1e903
movl 0x7c(%rsp), %ecx
movl %ecx, 0x14(%rax)
movq 0x18(%rsp), %rbx
movq (%rbx), %rdi
movq 0x8(%rsp), %rsi
callq 0x301f
movq (%rbx), %rdi
movq 0x80(%rsp), %rsi
callq 0x301f
movq (%rbx), %rdi
movq 0x58(%rsp), %rsi
callq 0x301f
movq (%rbx), %rdi
movq 0x190(%rsp), %r15
movss 0x80(%r15), %xmm0
movq 0xa0(%rsp), %r12
movq (%r12), %rax
movl 0x8(%rax), %esi
movq 0x18(%rax), %rdx
movl 0x84(%r15), %ecx
xorl %r8d, %r8d
callq 0x1c50d
movss 0x8c(%r15), %xmm0
movq 0x28(%rsp), %rax
movl 0x18(%rax), %edi
addl %edi, %edi
movl 0x88(%r15), %esi
movq (%r12), %rax
movl 0x8(%rax), %edx
movq 0x18(%rax), %rcx
callq 0x1c870
movq (%rbx), %rdi
movq (%r12), %rsi
callq 0x1c940
movq (%rbx), %rdi
movq (%r12), %rsi
movl 0xf0(%rsp), %ecx
movl 0x70(%r15), %r8d
movq 0x50(%rsp), %rdx
callq 0x1cc05
cmpl $0x1, 0x68(%rsp)
jne 0x1e74b
movq 0x190(%rsp), %rax
movq (%rax), %rax
andl $0x4000000, %eax        # imm = 0x4000000
je 0x1e74b
movq 0x18(%rsp), %rbx
movq (%rbx), %rdi
movq 0x28(%rsp), %r12
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq 0xa0(%rsp), %r15
movq (%r15), %r8
movq %r14, %rcx
movq 0x198(%rsp), %r9
callq 0x1ad40
movq (%rbx), %rdi
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq (%r15), %r8
movq %r14, %rcx
callq 0x1b795
movq 0x18(%rsp), %rbx
movq (%rbx), %rdi
movq %r14, %rsi
callq 0x301f
leaq 0x13f16(%rip), %rax     # 0x32678
testb $0x2, (%rax)
jne 0x1e955
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x1e7ea
leaq 0x110(%rsp), %rsi
callq 0x32e6
leaq 0x13ef1(%rip), %rax     # 0x32678
testb $0x2, (%rax)
jne 0x1e98a
movq 0x120(%rsp), %rax
cmpq 0x128(%rsp), %rax
jne 0x1e9d3
cmpq $0x10000000, 0x130(%rsp) # imm = 0x10000000
movq 0x18(%rsp), %rcx
movq 0x190(%rsp), %rax
ja 0x1e7d7
movq 0x98(%rax), %rax
testq %rax, %rax
jle 0x1e7ea
cmpq %rax, 0x110(%rsp)
jbe 0x1e7ea
movq (%rcx), %rdi
movq %rcx, %rbx
callq 0x2fe1
callq 0x2fc7
movq %rax, (%rbx)
addq $0x158, %rsp            # imm = 0x158
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x7c(%rsp), %rdi
movq %rbp, %rsi
movq 0x38(%rsp), %rcx
callq 0x274a
movq 0x28(%rsp), %rdx
movq 0x50(%rsp), %rsi
movq 0x190(%rsp), %rcx
jmp 0x1d934
callq 0x42a5
movsd %xmm0, 0x20(%rsp)
movq 0x137c1(%rip), %rax     # 0x31ff8
movq (%rax), %rdi
subsd 0x40(%rsp), %xmm0
leaq 0xb479(%rip), %rsi      # 0x29cc0
movl $0x1, %edx
movq 0x198(%rsp), %rcx
movb $0x1, %al
callq 0x2210
movsd 0x20(%rsp), %xmm0
movsd %xmm0, 0x40(%rsp)
jmp 0x1dad4
callq 0x42a5
movsd %xmm0, 0x20(%rsp)
movq 0x1377a(%rip), %rax     # 0x31ff8
movq (%rax), %rdi
subsd 0x40(%rsp), %xmm0
leaq 0xb432(%rip), %rsi      # 0x29cc0
movl $0x2, %edx
movq 0x198(%rsp), %rcx
movb $0x1, %al
callq 0x2210
leaq 0x13dcf(%rip), %rax     # 0x32678
movl (%rax), %eax
movsd 0x20(%rsp), %xmm0
movsd %xmm0, 0x40(%rsp)
jmp 0x1e4b0
callq 0x42a5
movsd %xmm0, 0x20(%rsp)
movq 0x1372a(%rip), %rax     # 0x31ff8
movq (%rax), %rdi
subsd 0x40(%rsp), %xmm0
leaq 0xb3e2(%rip), %rsi      # 0x29cc0
movl $0x3, %edx
movq 0x198(%rsp), %rcx
movb $0x1, %al
callq 0x2210
movsd 0x20(%rsp), %xmm0
movsd %xmm0, 0x40(%rsp)
jmp 0x1e5ba
callq 0x42a5
movsd %xmm0, 0x20(%rsp)
movq 0x136e3(%rip), %rax     # 0x31ff8
movq (%rax), %rdi
subsd 0x40(%rsp), %xmm0
leaq 0xb39b(%rip), %rsi      # 0x29cc0
movl $0x4, %edx
movq 0x198(%rsp), %rcx
movb $0x1, %al
callq 0x2210
movq 0xa0(%rsp), %rax
movq (%rax), %rax
movsd 0x20(%rsp), %xmm0
movsd %xmm0, 0x40(%rsp)
jmp 0x1e62c
callq 0x42a5
movq 0x13697(%rip), %rax     # 0x31ff8
movq (%rax), %rdi
subsd 0x40(%rsp), %xmm0
leaq 0xb34f(%rip), %rsi      # 0x29cc0
movl $0x5, %edx
movq 0x198(%rsp), %rcx
movb $0x1, %al
callq 0x2210
jmp 0x1e76b
movq 0x13667(%rip), %rax     # 0x31ff8
movq (%rax), %rdi
movq 0x110(%rsp), %r8
movq 0x128(%rsp), %r9
subq $0x8, %rsp
leaq 0xb2c2(%rip), %rsi      # 0x29c71
movq 0x1a0(%rsp), %rdx
movq 0x58(%rsp), %rcx
xorl %eax, %eax
pushq 0x138(%rsp)
callq 0x2210
addq $0x10, %rsp
jmp 0x1e790
movq 0x198(%rsp), %rdi
callq 0x2814