// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/inter.cpp
// Function: asg_arc_push_contain_trans(asg_t*, ma_hit_t_alloc*, long, long, double, long, R_to_U*, unsigned char*)
void asg_arc_push_contain_trans(asg_t *g, ma_hit_t_alloc* ov, int64_t min_ovlp, int64_t max_hang, double max_hang_rate, int64_t fuzz, R_to_U *ri, uint8_t *mark)
{
	uint32_t n_vtx = g->n_seq<<1, cnt = 0, nc, cc, qn, tn, avi, awi;
	uint32_t v, w, i, k, nv, nw; asg_arc_t *av, *aw; int32_t r = 1;
	ma_hit_t_alloc *z; asg_arc_t p, *t;
	uint32_t *dis, *idx; CALLOC(dis, n_vtx); MALLOC(idx, n_vtx);
	for (v = 0; v < n_vtx; ++v) {
		if(g->seq[v>>1].del || (!mark[v])) continue;
        nv = asg_arc_n(g, v); av = asg_arc_a(g, v);
        if (nv == 0) continue; // no hits    
		for (i = 0; i < nv; ++i) {
			if((!(av[i].del)) && (is_contain_r((*ri), (av[i].v>>1)))) break;
		}
		if(i >= nv) continue; 
		z = &(ov[v>>1]);
		for (i = 0; i < z->length; i++) {
        	qn = Get_qn(z->buffer[i]); tn = Get_tn(z->buffer[i]);
			if(z->buffer[i].del) continue;
			r = ma_hit2arc(&(z->buffer[i]), g->seq[qn].len, g->seq[tn].len, max_hang, max_hang_rate, min_ovlp, &p);
			if((r < 0) || ((p.ul>>32) != v)) continue;
			if(g->seq[p.v>>1].del) continue;
			if(mark[p.v^1]) {
				dis[p.v] = asg_arc_len(p) + fuzz; idx[p.v] = i;
			}
		}

		nv = asg_arc_n(g, v); av = asg_arc_a(g, v); avi = g->idx[v]>>32;
		while(nv) {
			for (i = nc = cc = 0; i < nv; ++i) {
				if(av[i].del) continue; w = av[i].v;
				if(!(is_contain_r((*ri), (w>>1)))) continue;///new arcs must be bridged by contained reads
				assert(!(g->seq[w>>1].del));
				nw = asg_arc_n(g, w); aw = asg_arc_a(g, w); awi = g->idx[w]>>32;
				for (k = 0; k < nw; k++) {
					if(aw[k].del) continue;
					if((dis[aw[k].v] == ((uint32_t)-1)) || (dis[aw[k].v] == 0)) continue;
					assert(!(g->seq[aw[k].v>>1].del));
					if((asg_arc_len(av[i]) + asg_arc_len(aw[k])) <= dis[aw[k].v]) {
						dis[aw[k].v] = ((uint32_t)-1); assert(!(z->buffer[idx[aw[k].v]].del));
						qn = Get_qn(z->buffer[idx[aw[k].v]]); tn = Get_tn(z->buffer[idx[aw[k].v]]);
						r = ma_hit2arc(&(z->buffer[idx[aw[k].v]]), g->seq[qn].len, g->seq[tn].len, max_hang, max_hang_rate, min_ovlp, &p);
						assert(r>=0); assert((p.ul>>32)==v); assert(p.v==aw[k].v);
						cnt++; p.ou = 0; t = asg_arc_pushp(g); *t = p; 

						// fprintf(stderr, "[M::%s::]\t%.*s(id::%lu::%c)(is_c::%u)\t%.*s(id::%u::%c)(is_c::%u)\n", __func__, 
						// (int)Get_NAME_LENGTH(R_INF, (g->arc[g->n_arc-1].ul>>33)), 
						// Get_NAME(R_INF, (g->arc[g->n_arc-1].ul>>33)), 
						// g->arc[g->n_arc-1].ul>>33, "+-"[(g->arc[g->n_arc-1].ul>>32)&1], 
						// (is_contain_r((*ri), (g->arc[g->n_arc-1].ul>>33))),
						// (int)Get_NAME_LENGTH(R_INF, (g->arc[g->n_arc-1].v>>1)),
						// Get_NAME(R_INF, (g->arc[g->n_arc-1].v>>1)), 
						// g->arc[g->n_arc-1].v>>1, "+-"[(g->arc[g->n_arc-1].v)&1],
						// (is_contain_r((*ri), (g->arc[g->n_arc-1].v>>1)))
						// );
						// fprintf(stderr, "[M::%s::]\tmiddle::%.*s(id::%u::%c)(is_c::%u)\n", __func__, 
						// (int)Get_NAME_LENGTH(R_INF, (w>>1)), Get_NAME(R_INF, (w>>1)), 
						// w>>1, "+-"[w&1], (is_contain_r((*ri), (w>>1))));



						av = g->arc + avi; aw = g->arc + awi;///renew av and aw since asg_arc_pushp
						if((is_contain_r((*ri), (g->arc[g->n_arc-1].v>>1)))) {
							cc++;
						} else {
							if(g->n_arc!=(nc+1)) {		
								p = g->arc[g->n_arc-1]; 						
								g->arc[g->n_arc-1] = g->arc[nc];
								g->arc[nc] = p;
							}
							nc++;
						}
					}
				}
			}

			if(cc) {///new arcs must be bridged by contained reads
				nv = cc; av = g->arc + g->n_arc - cc; avi = g->n_arc - cc;
			} else {
				nv = 0; av = NULL; avi = ((uint32_t)-1);
			}
		}

		z = &(ov[v>>1]);
		for (i = 0; i < z->length; i++) {
        	qn = Get_qn(z->buffer[i]); tn = Get_tn(z->buffer[i]);
			if(z->buffer[i].del) continue;
			r = ma_hit2arc(&(z->buffer[i]), g->seq[qn].len, g->seq[tn].len, max_hang, max_hang_rate, min_ovlp, &p);
			if((r < 0) || ((p.ul>>32) != v)) continue;
			dis[p.v] = 0;
		}
	}

	free(dis); free(idx);
	if(cnt) {
		free(g->idx);
        g->idx = 0;
        g->is_srt = 0;
        asg_cleanup(g);
		asg_symm(g);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %r9, %r15
movq %r8, 0xa8(%rsp)
movsd %xmm0, 0x10(%rsp)
movq %rcx, 0x48(%rsp)
movq %rdx, 0x40(%rsp)
movq %rsi, 0xb0(%rsp)
movq 0x100(%rsp), %rax
movq %rax, 0x50(%rsp)
movq %rdi, (%rsp)
movl 0x14(%rdi), %ebx
addl %ebx, %ebx
movl $0x4, %esi
movq %rbx, %rdi
callq 0x2120
movq %rax, %r14
leaq (,%rbx,4), %rdi
callq 0x2280
testl %ebx, %ebx
je 0x1e77c8
movq %rax, 0x70(%rsp)
cvtsd2ss 0x10(%rsp), %xmm2
xorl %r10d, %r10d
movl $0x0, 0x24(%rsp)
movq (%rsp), %r11
movq 0x50(%rsp), %rcx
movq %r15, 0x78(%rsp)
movq %rbx, 0x68(%rsp)
movq %r14, 0x18(%rsp)
movss %xmm2, 0xa4(%rsp)
movq 0x20(%r11), %r12
movl %r10d, %esi
shrl %esi
cmpl $0x0, (%r12,%rsi,8)
js 0x1e6e9f
cmpb $0x0, (%rcx,%r10)
je 0x1e6e9f
movq 0x28(%r11), %rax
movq (%rax,%r10,8), %rdi
testl %edi, %edi
je 0x1e6e9a
movq 0x8(%r11), %rax
movq %rdi, %rcx
shrq $0x20, %rcx
leaq (%rcx,%rcx,2), %rdx
leaq (%rax,%rdx,8), %rax
movq %rdi, 0x58(%rsp)
movl %edi, %edx
shlq $0x3, %rdx
leaq (%rdx,%rdx,2), %rdx
xorl %edi, %edi
cmpl $0x0, 0xc(%rax,%rdi)
js 0x1e6e8c
movl 0x8(%rax,%rdi), %r8d
shrl %r8d
cmpq %r8, (%r15)
jbe 0x1e6e8c
movq 0x8(%r15), %r9
cmpl $0x0, (%r9,%r8,4)
jns 0x1e6eb0
addq $0x18, %rdi
cmpq %rdi, %rdx
jne 0x1e6e6d
movq 0x50(%rsp), %rcx
movq 0x68(%rsp), %rbx
incq %r10
cmpq %rbx, %r10
jne 0x1e6e26
jmp 0x1e7775
movq %r12, 0x30(%rsp)
movq %r10, 0x60(%rsp)
leaq (%rsi,%rsi,2), %rdx
movq 0xb0(%rsp), %rsi
leaq (%rsi,%rdx,8), %rdx
movq %rdx, 0x80(%rsp)
movl 0xc(%rdx), %edx
movq %rdx, 0x10(%rsp)
testq %rdx, %rdx
je 0x1e70b6
movq 0x80(%rsp), %rdx
movq (%rdx), %rdi
addq $0x18, %rdi
xorl %r8d, %r8d
movq (%rdi), %r10
testq %r10, %r10
js 0x1e6fcf
movl -0xc(%rdi), %edx
movq 0x30(%rsp), %r9
movq %rdx, 0x28(%rsp)
movl (%r9,%rdx,8), %r11d
movl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
andl %edx, %r11d
testl %r10d, %r10d
js 0x1e6f31
movl -0x8(%rdi), %esi
movl -0x4(%rdi), %r12d
subl %r12d, %r11d
movl %r11d, %ebp
movl %esi, %r11d
jmp 0x1e6f3d
movl -0x8(%rdi), %esi
movl -0x4(%rdi), %r12d
subl %r12d, %r11d
movl %esi, %ebp
movq -0x18(%rdi), %rbx
movq %rbx, %rdx
shrq $0x20, %rdx
movl (%r9,%rdx,8), %edx
movl $0x7fffffff, %r9d       # imm = 0x7FFFFFFF
andl %r9d, %edx
cmpl %ebx, %r11d
movl %ebx, %r15d
cmovll %r11d, %r15d
movl -0x10(%rdi), %r9d
movl %edx, %r14d
movl %r9d, 0x38(%rsp)
subl %r9d, %r14d
cmpl %ebp, %r14d
movl %ebp, %r13d
cmovll %r14d, %r13d
cmpl 0x48(%rsp), %r15d
jg 0x1e6fcf
cmpl 0x48(%rsp), %r13d
jg 0x1e6fcf
movl 0x38(%rsp), %r9d
subl %ebx, %r9d
xorps %xmm0, %xmm0
cvtsi2ss %r9, %xmm0
addl %r15d, %r9d
addl %r13d, %r9d
xorps %xmm1, %xmm1
cvtsi2ss %r9, %xmm1
mulss %xmm2, %xmm1
ucomiss %xmm0, %xmm1
ja 0x1e6fcf
subl %esi, %r12d
xorps %xmm0, %xmm0
cvtsi2ss %r12, %xmm0
addl %r15d, %r13d
addl %r12d, %r13d
xorps %xmm1, %xmm1
cvtsi2ss %r13, %xmm1
mulss %xmm2, %xmm1
ucomiss %xmm0, %xmm1
jbe 0x1e6fe6
incq %r8
addq $0x28, %rdi
cmpq %r8, 0x10(%rsp)
jne 0x1e6ef5
jmp 0x1e70b6
cmpl %ebp, %r14d
setl %sil
setg %r15b
cmpl %r11d, %ebx
setg %r12b
setl %r14b
orb %r15b, %r12b
cmpb $0x1, %r12b
jne 0x1e6fcf
orb %sil, %r14b
je 0x1e6fcf
cmpl 0x40(%rsp), %r9d
jl 0x1e6fcf
cmpl 0x40(%rsp), %r13d
jl 0x1e6fcf
testl %r10d, %r10d
setns %r9b
addl 0x38(%rsp), %ebp
subl %ebp, %edx
xorl %r14d, %r14d
movl %ebx, %esi
subl %r11d, %esi
setle %r11b
setg %r10b
cmovlel %edx, %esi
testl %esi, %esi
js 0x1e6fcf
movb %r11b, %r14b
shrq $0x1f, %rbx
andl $-0x2, %ebx
orq %r14, %rbx
cmpq 0x60(%rsp), %rbx
jne 0x1e6fcf
movq 0x28(%rsp), %rdx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
movq 0x30(%rsp), %r11
cmpl $0x0, (%r11,%rdx,8)
js 0x1e6fcf
xorb %r10b, %r9b
movzbl %r9b, %edx
movq 0x28(%rsp), %r9
leal (%rdx,%r9,2), %edx
movl %edx, %edx
movq %rdx, %r9
xorq $0x1, %r9
movq 0x50(%rsp), %r10
cmpb $0x0, (%r10,%r9)
je 0x1e6fcf
addl 0xa8(%rsp), %esi
movq 0x18(%rsp), %r9
movl %esi, (%r9,%rdx,4)
movq 0x70(%rsp), %rsi
movl %r8d, (%rsi,%rdx,4)
jmp 0x1e6fcf
movq (%rsp), %r11
movq 0x78(%rsp), %r15
movq 0x18(%rsp), %r14
movq 0x58(%rsp), %rsi
cmpl $0x1, %esi
movl %esi, %r9d
adcl $0x0, %r9d
movl %ecx, %ecx
movq %rcx, 0xb8(%rsp)
xorl %r10d, %r10d
movq $0x0, 0x30(%rsp)
movq $0x0, 0x58(%rsp)
movq %r9, 0x88(%rsp)
leaq (%r10,%r10,2), %rbx
cmpl $0x0, 0xc(%rax,%rbx,8)
js 0x1e756d
leaq (%rax,%rbx,8), %rcx
movl 0x8(%rcx), %ecx
movl %ecx, %edx
shrl %edx
cmpq %rdx, (%r15)
jbe 0x1e756d
movq 0x8(%r15), %rsi
cmpl $0x0, (%rsi,%rdx,4)
js 0x1e756d
movq 0x20(%r11), %rsi
cmpl $0x0, (%rsi,%rdx,8)
js 0x1e786d
movq 0x28(%r11), %rdx
movq (%rdx,%rcx,8), %rdx
testl %edx, %edx
je 0x1e756d
movq %rdx, %rcx
shrq $0x20, %rcx
leaq (%rcx,%rcx,2), %rcx
movq %rcx, 0xc0(%rsp)
leaq (,%rcx,8), %rcx
addq 0x8(%r11), %rcx
movl %edx, %edx
shlq $0x3, %rdx
leaq (%rdx,%rdx,2), %r12
xorl %r13d, %r13d
movq %r10, 0x28(%rsp)
movq %rbx, 0x98(%rsp)
movq %r12, 0x90(%rsp)
cmpl $0x0, 0xc(%rcx,%r13)
js 0x1e71a3
movl 0x8(%rcx,%r13), %edx
movl (%r14,%rdx,4), %esi
leal 0x1(%rsi), %edi
cmpl $0x2, %edi
jae 0x1e71b1
addq $0x18, %r13
cmpq %r13, %r12
jne 0x1e718a
jmp 0x1e756d
movq 0x20(%r11), %rdi
movl %edx, %r8d
shrl %r8d
cmpl $0x0, (%rdi,%r8,8)
js 0x1e781d
movl (%rcx,%r13), %r8d
addl (%rax,%rbx,8), %r8d
cmpl %esi, %r8d
ja 0x1e71a3
movl $0xffffffff, (%r14,%rdx,4) # imm = 0xFFFFFFFF
movq 0x80(%rsp), %rax
movq (%rax), %rax
movl 0x8(%rcx,%r13), %esi
movq 0x70(%rsp), %rcx
movl (%rcx,%rsi,4), %ecx
leaq (%rcx,%rcx,4), %rcx
movq 0x18(%rax,%rcx,8), %rbx
testq %rbx, %rbx
js 0x1e7845
leaq (%rax,%rcx,8), %rax
movl 0xc(%rax), %ecx
movq %rcx, 0x38(%rsp)
movl (%rdi,%rcx,8), %edx
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
andl %ecx, %edx
testl %ebx, %ebx
movq %rsi, 0x10(%rsp)
js 0x1e7236
movl 0x10(%rax), %r11d
movl 0x14(%rax), %r9d
subl %r9d, %edx
movl %edx, %esi
movl %r11d, %edx
jmp 0x1e7244
movl 0x10(%rax), %r11d
movl 0x14(%rax), %r9d
subl %r9d, %edx
movl %r11d, %esi
movq (%rax), %r14
movq %r14, %rcx
shrq $0x20, %rcx
movl (%rdi,%rcx,8), %r15d
movl %r15d, %edi
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
andl %ecx, %edi
cmpl %r14d, %edx
movl %r14d, %ecx
cmovll %edx, %ecx
movl 0x8(%rax), %r8d
movl %edi, %ebp
subl %r8d, %ebp
cmpl %esi, %ebp
movl %esi, %r10d
cmovll %ebp, %r10d
cmpl 0x48(%rsp), %ecx
jg 0x1e77fe
cmpl 0x48(%rsp), %r10d
jg 0x1e77fe
movl %r8d, %r12d
subl %r14d, %r12d
cvtsi2ss %r12, %xmm0
addl %ecx, %r12d
addl %r10d, %r12d
cvtsi2ss %r12, %xmm1
mulss %xmm2, %xmm1
ucomiss %xmm0, %xmm1
ja 0x1e77fe
subl %r11d, %r9d
xorps %xmm0, %xmm0
cvtsi2ss %r9, %xmm0
addl %ecx, %r10d
addl %r9d, %r10d
xorps %xmm1, %xmm1
cvtsi2ss %r10, %xmm1
mulss %xmm2, %xmm1
ucomiss %xmm0, %xmm1
ja 0x1e77fe
cmpl %esi, %ebp
setl %cl
setg %r11b
cmpl %edx, %r14d
setg %bpl
setl %r9b
orb %r11b, %bpl
cmpb $0x1, %bpl
jne 0x1e77fe
orb %cl, %r9b
je 0x1e77fe
cmpl 0x40(%rsp), %r12d
jl 0x1e77fe
cmpl 0x40(%rsp), %r10d
jl 0x1e77fe
testl %ebx, %ebx
setns %cl
addl %r8d, %esi
subl %esi, %edi
xorl %esi, %esi
movl %r14d, %ebp
subl %edx, %ebp
setle %r8b
setg %dl
cmovlel %edi, %ebp
testl %ebp, %ebp
js 0x1e77fe
movb %r8b, %sil
shrq $0x1f, %r14
andl $-0x2, %r14d
orq %rsi, %r14
cmpq 0x60(%rsp), %r14
jne 0x1e7864
xorb %dl, %cl
movzbl %cl, %ecx
movq 0x38(%rsp), %rdx
leal (%rcx,%rdx,2), %ecx
movq 0x10(%rsp), %r8
cmpl %r8d, %ecx
jne 0x1e783c
movb 0x20(%rax), %r9b
movzbl 0x21(%rax), %r12d
movq (%rsp), %r11
movl 0x4(%r11), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl (%r11), %ecx
jne 0x1e73d9
leal (%rcx,%rcx), %eax
testl %ecx, %ecx
movl $0x10, %ecx
cmovel %ecx, %eax
movl %eax, (%r11)
movq 0x8(%r11), %rdi
shlq $0x3, %rax
leaq (%rax,%rax,2), %rsi
movb %r9b, 0x38(%rsp)
callq 0x2370
movb 0x38(%rsp), %r9b
movq 0x10(%rsp), %r8
movss 0xa4(%rsp), %xmm2
movq (%rsp), %r11
movq %rax, 0x8(%r11)
movl 0x4(%r11), %edx
movl %edx, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
jmp 0x1e73dd
movq 0x8(%r11), %rax
shlq $0x20, %r14
leaq (%r14,%rbp), %rsi
subl %ebp, %r15d
andl $0x7fffffff, %r15d      # imm = 0x7FFFFFFF
shrl $0x10, %ebx
andl $0x4000, %ebx           # imm = 0x4000
shll $0xf, %r12d
orl %ebx, %r12d
movl 0x24(%rsp), %ebx
incl %ebx
leal 0x1(%rdx), %edi
andl $0x7fffffff, %edi       # imm = 0x7FFFFFFF
andl $0x80000000, %edx       # imm = 0x80000000
orl %edi, %edx
movl %edx, 0x4(%r11)
movl %ecx, %ecx
leaq (%rcx,%rcx,2), %rcx
movq %rsi, (%rax,%rcx,8)
movl %r8d, 0x8(%rax,%rcx,8)
movl %r15d, 0xc(%rax,%rcx,8)
movw %r12w, 0x10(%rax,%rcx,8)
movb %r9b, 0x12(%rax,%rcx,8)
movb 0xc(%rsp), %dl
movb %dl, 0x17(%rax,%rcx,8)
movl 0x8(%rsp), %edx
movl %edx, 0x13(%rax,%rcx,8)
movq 0x8(%r11), %rdx
movq 0xb8(%rsp), %rax
leaq (%rax,%rax,2), %rax
leaq (%rdx,%rax,8), %rax
movq 0xc0(%rsp), %rcx
leaq (%rdx,%rcx,8), %rcx
movl 0x4(%r11), %r8d
andl $0x7fffffff, %r8d       # imm = 0x7FFFFFFF
leaq (%r8,%r8,2), %r9
movl -0x10(%rdx,%r9,8), %esi
movl %esi, %edi
shrl %edi
movq 0x78(%rsp), %r15
cmpq %rdi, (%r15)
movl %ebx, 0x24(%rsp)
jbe 0x1e74ab
movq 0x8(%r15), %r10
cmpl $0x0, (%r10,%rdi,4)
js 0x1e74ab
movq 0x58(%rsp), %rdx
incl %edx
movq %rdx, 0x58(%rsp)
jmp 0x1e7546
movq 0x30(%rsp), %r14
leal 0x1(%r14), %edi
cmpl %edi, %r8d
jne 0x1e74c3
movq %r8, 0x30(%rsp)
jmp 0x1e7546
leaq (%rdx,%r9,8), %r8
movq -0x18(%r8), %r9
movl -0xc(%r8), %r10d
movzwl -0x8(%r8), %r11d
movb -0x6(%r8), %bl
movb -0x1(%r8), %bpl
movb %bpl, 0xc(%rsp)
movl -0x5(%r8), %ebp
movl %ebp, 0x8(%rsp)
movl %r14d, %r14d
shlq $0x3, %r14
leaq (%r14,%r14,2), %r14
movups (%rdx,%r14), %xmm0
movups %xmm0, -0x18(%r8)
movq 0x10(%rdx,%r14), %rdx
movq %rdx, -0x8(%r8)
movq (%rsp), %rdx
movq 0x8(%rdx), %rdx
movq %r9, (%rdx,%r14)
movl %esi, 0x8(%rdx,%r14)
movl %r10d, 0xc(%rdx,%r14)
movw %r11w, 0x10(%rdx,%r14)
movq (%rsp), %r11
movb %bl, 0x12(%rdx,%r14)
movb 0xc(%rsp), %sil
movb %sil, 0x17(%rdx,%r14)
movl 0x8(%rsp), %esi
movl %esi, 0x13(%rdx,%r14)
movl %edi, %edx
movq %rdx, 0x30(%rsp)
movq 0x18(%rsp), %r14
movq 0x88(%rsp), %r9
movq 0x28(%rsp), %r10
movq 0x98(%rsp), %rbx
movq 0x90(%rsp), %r12
jmp 0x1e71a3
incq %r10
cmpq %r9, %r10
jne 0x1e70fa
movq 0x58(%rsp), %rsi
testl %esi, %esi
je 0x1e75ac
movl 0x4(%r11), %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
leaq (%rcx,%rcx,2), %rax
shlq $0x3, %rax
addq 0x8(%r11), %rax
movl %esi, %edx
negq %rdx
leaq (%rdx,%rdx,2), %rdx
leaq (%rax,%rdx,8), %rax
subl %esi, %ecx
jmp 0x1e70c9
movq 0x80(%rsp), %rax
movl 0xc(%rax), %ecx
testq %rcx, %rcx
je 0x1e7761
movq (%rax), %rax
shlq $0x3, %rcx
leaq (%rcx,%rcx,4), %rcx
movq %rcx, 0x10(%rsp)
xorl %edx, %edx
movq 0x18(%rax,%rdx), %rdi
testq %rdi, %rdi
js 0x1e76a9
movl 0xc(%rax,%rdx), %esi
movq (%rsp), %rcx
movq 0x20(%rcx), %rcx
movl (%rcx,%rsi,8), %r8d
movl $0x7fffffff, %r9d       # imm = 0x7FFFFFFF
andl %r9d, %r8d
testl %edi, %edi
js 0x1e7611
movl 0x10(%rax,%rdx), %ebp
movl 0x14(%rax,%rdx), %r14d
subl %r14d, %r8d
movl %r8d, %r10d
movl %ebp, %r8d
jmp 0x1e7620
movl 0x10(%rax,%rdx), %ebp
movl 0x14(%rax,%rdx), %r14d
subl %r14d, %r8d
movl %ebp, %r10d
movq (%rax,%rdx), %r9
movq %r9, %r11
shrq $0x20, %r11
movl (%rcx,%r11,8), %r11d
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
andl %ecx, %r11d
cmpl %r9d, %r8d
movl %r9d, %ecx
cmovll %r8d, %ecx
movl 0x8(%rax,%rdx), %ebx
movl %r11d, %r13d
subl %ebx, %r13d
cmpl %r10d, %r13d
movl %r10d, %r15d
cmovll %r13d, %r15d
cmpl 0x48(%rsp), %ecx
jg 0x1e76a9
cmpl 0x48(%rsp), %r15d
jg 0x1e76a9
movl %ebx, %r12d
subl %r9d, %r12d
xorps %xmm0, %xmm0
cvtsi2ss %r12, %xmm0
addl %ecx, %r12d
addl %r15d, %r12d
xorps %xmm1, %xmm1
cvtsi2ss %r12, %xmm1
mulss %xmm2, %xmm1
ucomiss %xmm0, %xmm1
ja 0x1e76a9
subl %ebp, %r14d
xorps %xmm0, %xmm0
cvtsi2ss %r14, %xmm0
addl %ecx, %r15d
addl %r14d, %r15d
xorps %xmm1, %xmm1
cvtsi2ss %r15, %xmm1
mulss %xmm2, %xmm1
ucomiss %xmm0, %xmm1
jbe 0x1e76bd
addq $0x28, %rdx
cmpq %rdx, 0x10(%rsp)
jne 0x1e75d2
jmp 0x1e7747
cmpl %r10d, %r13d
setl %cl
setg %r14b
cmpl %r8d, %r9d
setg %r13b
setl %bpl
orb %r14b, %r13b
cmpb $0x1, %r13b
jne 0x1e76a9
orb %cl, %bpl
je 0x1e76a9
cmpl 0x40(%rsp), %r12d
jl 0x1e76a9
cmpl 0x40(%rsp), %r15d
jl 0x1e76a9
addl %ebx, %r10d
subl %r10d, %r11d
xorl %ecx, %ecx
movl %r9d, %ebx
subl %r8d, %ebx
setle %r10b
cmovlel %r11d, %ebx
testl %ebx, %ebx
js 0x1e76a9
movb %r10b, %cl
movq %r9, %r10
shrq $0x1f, %r10
andl $-0x2, %r10d
orq %rcx, %r10
cmpq 0x60(%rsp), %r10
jne 0x1e76a9
cmpl %r8d, %r9d
setg %cl
testl %edi, %edi
setns %dil
xorb %cl, %dil
movzbl %dil, %ecx
leal (%rcx,%rsi,2), %ecx
movq 0x18(%rsp), %rsi
movl $0x0, (%rsi,%rcx,4)
jmp 0x1e76a9
movq (%rsp), %r11
movq 0x78(%rsp), %r15
movq 0x50(%rsp), %rcx
movq 0x68(%rsp), %rbx
movq 0x18(%rsp), %r14
jmp 0x1e776b
movq 0x50(%rsp), %rcx
movq 0x68(%rsp), %rbx
movq 0x60(%rsp), %r10
jmp 0x1e6e9f
movq %r14, %rdi
callq 0x2220
movq 0x70(%rsp), %rdi
callq 0x2220
cmpl $0x0, 0x24(%rsp)
je 0x1e77ec
movq (%rsp), %rbx
movq 0x28(%rbx), %rdi
callq 0x2220
movq $0x0, 0x28(%rbx)
andb $0x7f, 0x7(%rbx)
movq %rbx, %rdi
callq 0xa0a7d
movq %rbx, %rdi
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xa0c1e
movq %r14, %rdi
movq %rax, %rbx
callq 0x2220
movq %rbx, %rdi
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2220
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x5d209(%rip), %rdi     # 0x244a0e
leaq 0x5844f(%rip), %rsi     # 0x23fc5b
leaq 0x5d14f(%rip), %rcx     # 0x244962
movl $0x5517, %edx           # imm = 0x5517
callq 0x2110
leaq 0x5d1b1(%rip), %rdi     # 0x2449d5
leaq 0x58430(%rip), %rsi     # 0x23fc5b
leaq 0x5d130(%rip), %rcx     # 0x244962
movl $0x5512, %edx           # imm = 0x5512
callq 0x2110
leaq 0x5d1de(%rip), %rdi     # 0x244a21
jmp 0x1e7805
leaq 0x5d1a3(%rip), %rdi     # 0x2449ef
leaq 0x58408(%rip), %rsi     # 0x23fc5b
leaq 0x5d108(%rip), %rcx     # 0x244962
movl $0x5514, %edx           # imm = 0x5514
callq 0x2110
leaq 0x5d1a8(%rip), %rdi     # 0x244a13
jmp 0x1e7805
leaq 0x5d0da(%rip), %rdi     # 0x24494e
leaq 0x583e0(%rip), %rsi     # 0x23fc5b
leaq 0x5d0e0(%rip), %rcx     # 0x244962
movl $0x550d, %edx           # imm = 0x550D
callq 0x2110