// File: chhylp123[P]hifiasm/inter.cpp
// Function: gen_src_shared_interval_simple(unsigned int, ma_ug_t*, unsigned long*, unsigned long, kv_ul_ov_t*)
uint32_t gen_src_shared_interval_simple(uint32_t src, ma_ug_t *ug, uint64_t *flt, uint64_t flt_n, kv_ul_ov_t *res)
{
	uint32_t st, v, w, i, k, z, nv, nw, nz, rn; asg_arc_t *av, *aw, *az;
	ul_ov_t s1, s2, s3, s4, s5; rn = res->n; 

	st = src<<1; 
	v = st; av = asg_arc_a(ug->g, v); nv = asg_arc_n(ug->g, v);
	for (i = 0; i < nv; i++) {
        if(av[i].del) continue;
		if((av[i].v>>1) == (st>>1)) continue;
		w = av[i].v;
		cal_s_interval(ug, &(av[i]), &s1);
		if(s1.qn == src && s1.tn != src) kv_push(ul_ov_t, *res, s1);

		aw = asg_arc_a(ug->g, (w^1)); 
		nw = asg_arc_n(ug->g, (w^1));
		for (k = 0; k < nw; k++) {
			if(aw[k].del) continue;
			if((aw[k].v>>1) == (st>>1)) continue;

			cal_s_interval(ug, &(aw[k]), &s2);
			if(!cal_x_interval(ug, &s1, &s2, &s3)) continue;
			if(s3.qn == src && s3.tn != src) kv_push(ul_ov_t, *res, s3);

			az = asg_arc_a(ug->g, (aw[k].v^1)); 
			nz = asg_arc_n(ug->g, (aw[k].v^1));
			for (z = 0; z < nz; z++) {
				if(az[z].del) continue;
				cal_s_interval(ug, &(az[z]), &s4);
				if(!cal_x_interval(ug, &s3, &s4, &s5)) continue;
				if(s5.qn == src && s5.tn != src) kv_push(ul_ov_t, *res, s5);
			}
		}
    }

	st ^= 1; 
	v = st; av = asg_arc_a(ug->g, v); nv = asg_arc_n(ug->g, v);
	for (i = 0; i < nv; i++) {
        if(av[i].del) continue;
		if((av[i].v>>1) == (st>>1)) continue;
		w = av[i].v;
		cal_s_interval(ug, &(av[i]), &s1);
		if(s1.qn == src && s1.tn != src) kv_push(ul_ov_t, *res, s1);

		aw = asg_arc_a(ug->g, (w^1)); 
		nw = asg_arc_n(ug->g, (w^1));
		for (k = 0; k < nw; k++) {
			if(aw[k].del) continue;
			if((aw[k].v>>1) == (st>>1)) continue;

			cal_s_interval(ug, &(aw[k]), &s2);
			if(!cal_x_interval(ug, &s1, &s2, &s3)) continue;
			if(s3.qn == src && s3.tn != src) kv_push(ul_ov_t, *res, s3);

			az = asg_arc_a(ug->g, (aw[k].v^1)); 
			nz = asg_arc_n(ug->g, (aw[k].v^1));
			for (z = 0; z < nz; z++) {
				if(az[z].del) continue;
				cal_s_interval(ug, &(az[z]), &s4);
				if(!cal_x_interval(ug, &s3, &s4, &s5)) continue;
				if(s5.qn == src && s5.tn != src) kv_push(ul_ov_t, *res, s5);
			}
		}
    }

	radix_sort_ul_ov_srt_tn(res->a + rn, res->a + res->n);
	if(res->n > rn) {
		uint64_t os, oe, ovlpq, ovlpt, is_cov, fi = 0;
		for (k = rn + 1, i = rn; k <= res->n; k++) {
			if(k == res->n || res->a[k].tn != res->a[i].tn) {
				for (; fi < flt_n && (flt[fi]>>32) < res->a[i].tn; fi++);
				if(fi < flt_n && (flt[fi]>>32) == res->a[i].tn) {
					// on = k - i;
					if(k - i > 1) {
						for (v = i; v < k; v++) {
							if(res->a[v].tn == (uint32_t)-1) continue;
							for (z = i; z < k; z++) {
								if(v == z) continue;
								if(res->a[z].tn == (uint32_t)-1) continue;
								if(res->a[v].rev != res->a[z].rev) continue;

								os = MAX(res->a[v].qs, res->a[z].qs); 
								oe = MIN(res->a[v].qe, res->a[z].qe);
								if(oe <= os) continue;
								ovlpq = oe - os;

								os = MAX(res->a[v].ts, res->a[z].ts); 
								oe = MIN(res->a[v].te, res->a[z].te);
								if(oe <= os) continue;
								ovlpt = oe - os;

								is_cov = 0;
								if(((ovlpq == (res->a[v].qe-res->a[v].qs)) && (ovlpt == (res->a[v].te-res->a[v].ts))) || 
								((ovlpq == (res->a[z].qe-res->a[z].qs)) && (ovlpt == (res->a[z].te-res->a[z].ts)))) {
									is_cov = 1;
								}

								if(!is_cov) {
									if(ovlpq <= ((res->a[v].qe-res->a[v].qs)*0.95)) continue;
									if(ovlpq <= ((res->a[z].qe-res->a[z].qs)*0.95)) continue;
									if(ovlpt <= ((res->a[v].te-res->a[v].ts)*0.95)) continue;
									if(ovlpt <= ((res->a[z].te-res->a[z].ts)*0.95)) continue;
								}
					
								if(res->a[v].qs > res->a[z].qs) res->a[v].qs = res->a[z].qs;
								if(res->a[v].qe < res->a[z].qe) res->a[v].qe = res->a[z].qe;
								if(res->a[v].ts > res->a[z].ts) res->a[v].ts = res->a[z].ts;
								if(res->a[v].te < res->a[z].te) res->a[v].te = res->a[z].te;
								res->a[z].tn = (uint32_t)-1; ///on--;
							}
						}
						// if(on > 1) radix_sort_ul_ov_srt_qs(res->a + i, res->a + k);
					}
				} else {
					for (v = i; v < k; v++) res->a[v].tn = (uint32_t)-1;
				}
				i = k;
			}
		}
		for (k = z = rn; k < res->n; k++) {
			if(res->a[k].tn == (uint32_t)-1) continue;
			res->a[z] = res->a[k]; res->a[z].sec = ((uint32_t)(0x3fffffff));
			z++;
		}
		res->n = z;
	}
	return res->n - rn;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x170, %rsp            # imm = 0x170
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rax
movl %eax, -0x50(%rbp)
movl -0x4(%rbp), %eax
shll %eax
movl %eax, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
movl %eax, -0x30(%rbp)
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movq 0x8(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x18(%rcx), %rcx
movq 0x28(%rcx), %rcx
movl -0x30(%rbp), %edx
movq (%rcx,%rdx,8), %rcx
shrq $0x20, %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x58(%rbp)
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movq 0x28(%rax), %rax
movl -0x30(%rbp), %ecx
movq (%rax,%rcx,8), %rax
movl %eax, -0x44(%rbp)
movl $0x0, -0x38(%rbp)
movl -0x38(%rbp), %eax
cmpl -0x44(%rbp), %eax
jae 0x2c7965
movq -0x58(%rbp), %rax
movl -0x38(%rbp), %ecx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movl 0xc(%rax), %eax
shrl $0x1f, %eax
cmpl $0x0, %eax
je 0x2c749c
jmp 0x2c7957
movq -0x58(%rbp), %rax
movl -0x38(%rbp), %ecx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movl 0x8(%rax), %eax
shrl %eax
movl -0x2c(%rbp), %ecx
shrl %ecx
cmpl %ecx, %eax
jne 0x2c74bd
jmp 0x2c7957
movq -0x58(%rbp), %rax
movl -0x38(%rbp), %ecx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movl 0x8(%rax), %eax
movl %eax, -0x34(%rbp)
movq -0x10(%rbp), %rdi
movq -0x58(%rbp), %rsi
movl -0x38(%rbp), %eax
imulq $0x18, %rax, %rax
addq %rax, %rsi
leaq -0x84(%rbp), %rdx
callq 0x2c4a30
movl -0x84(%rbp), %eax
cmpl -0x4(%rbp), %eax
jne 0x2c75bc
movl -0x78(%rbp), %eax
cmpl -0x4(%rbp), %eax
je 0x2c75bc
jmp 0x2c750c
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x28(%rbp), %rcx
cmpq 0x10(%rcx), %rax
jne 0x2c7579
movq -0x28(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0x2c753d
movq -0x28(%rbp), %rax
movq 0x10(%rax), %rax
shlq %rax
movq %rax, -0x130(%rbp)
jmp 0x2c754b
movl $0x2, %eax
movq %rax, -0x130(%rbp)
jmp 0x2c754b
movq -0x130(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
imulq $0x1c, 0x10(%rax), %rsi
callq 0x2360
movq %rax, %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movq -0x28(%rbp), %rax
movq (%rax), %rax
movq -0x28(%rbp), %rdx
movq 0x8(%rdx), %rcx
movq %rcx, %rsi
addq $0x1, %rsi
movq %rsi, 0x8(%rdx)
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movq -0x84(%rbp), %rcx
movq %rcx, (%rax)
movq -0x7c(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x74(%rbp), %rcx
movq %rcx, 0x10(%rax)
movl -0x6c(%rbp), %ecx
movl %ecx, 0x18(%rax)
jmp 0x2c75bc
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movq 0x8(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x18(%rcx), %rcx
movq 0x28(%rcx), %rcx
movl -0x34(%rbp), %edx
xorl $0x1, %edx
movl %edx, %edx
movq (%rcx,%rdx,8), %rcx
shrq $0x20, %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x60(%rbp)
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movq 0x28(%rax), %rax
movl -0x34(%rbp), %ecx
xorl $0x1, %ecx
movl %ecx, %ecx
movq (%rax,%rcx,8), %rax
movl %eax, -0x48(%rbp)
movl $0x0, -0x3c(%rbp)
movl -0x3c(%rbp), %eax
cmpl -0x48(%rbp), %eax
jae 0x2c7955
movq -0x60(%rbp), %rax
movl -0x3c(%rbp), %ecx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movl 0xc(%rax), %eax
shrl $0x1f, %eax
cmpl $0x0, %eax
je 0x2c763b
jmp 0x2c7947
movq -0x60(%rbp), %rax
movl -0x3c(%rbp), %ecx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movl 0x8(%rax), %eax
shrl %eax
movl -0x2c(%rbp), %ecx
shrl %ecx
cmpl %ecx, %eax
jne 0x2c765c
jmp 0x2c7947
movq -0x10(%rbp), %rdi
movq -0x60(%rbp), %rsi
movl -0x3c(%rbp), %eax
imulq $0x18, %rax, %rax
addq %rax, %rsi
leaq -0xa0(%rbp), %rdx
callq 0x2c4a30
movq -0x10(%rbp), %rdi
leaq -0x84(%rbp), %rsi
leaq -0xa0(%rbp), %rdx
leaq -0xbc(%rbp), %rcx
callq 0x2c4d40
cmpl $0x0, %eax
jne 0x2c76a2
jmp 0x2c7947
movl -0xbc(%rbp), %eax
cmpl -0x4(%rbp), %eax
jne 0x2c777b
movl -0xb0(%rbp), %eax
cmpl -0x4(%rbp), %eax
je 0x2c777b
jmp 0x2c76c2
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x28(%rbp), %rcx
cmpq 0x10(%rcx), %rax
jne 0x2c772f
movq -0x28(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0x2c76f3
movq -0x28(%rbp), %rax
movq 0x10(%rax), %rax
shlq %rax
movq %rax, -0x138(%rbp)
jmp 0x2c7701
movl $0x2, %eax
movq %rax, -0x138(%rbp)
jmp 0x2c7701
movq -0x138(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
imulq $0x1c, 0x10(%rax), %rsi
callq 0x2360
movq %rax, %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movq -0x28(%rbp), %rax
movq (%rax), %rax
movq -0x28(%rbp), %rdx
movq 0x8(%rdx), %rcx
movq %rcx, %rsi
addq $0x1, %rsi
movq %rsi, 0x8(%rdx)
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movq -0xbc(%rbp), %rcx
movq %rcx, (%rax)
movq -0xb4(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0xac(%rbp), %rcx
movq %rcx, 0x10(%rax)
movl -0xa4(%rbp), %ecx
movl %ecx, 0x18(%rax)
jmp 0x2c777b
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movq 0x8(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x18(%rcx), %rcx
movq 0x28(%rcx), %rcx
movq -0x60(%rbp), %rdx
movl -0x3c(%rbp), %esi
imulq $0x18, %rsi, %rsi
addq %rsi, %rdx
movl 0x8(%rdx), %edx
xorl $0x1, %edx
movl %edx, %edx
movq (%rcx,%rdx,8), %rcx
shrq $0x20, %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x68(%rbp)
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movq 0x28(%rax), %rax
movq -0x60(%rbp), %rcx
movl -0x3c(%rbp), %edx
imulq $0x18, %rdx, %rdx
addq %rdx, %rcx
movl 0x8(%rcx), %ecx
xorl $0x1, %ecx
movl %ecx, %ecx
movq (%rax,%rcx,8), %rax
movl %eax, -0x4c(%rbp)
movl $0x0, -0x40(%rbp)
movl -0x40(%rbp), %eax
cmpl -0x4c(%rbp), %eax
jae 0x2c7945
movq -0x68(%rbp), %rax
movl -0x40(%rbp), %ecx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movl 0xc(%rax), %eax
shrl $0x1f, %eax
cmpl $0x0, %eax
je 0x2c7816
jmp 0x2c7937
movq -0x10(%rbp), %rdi
movq -0x68(%rbp), %rsi
movl -0x40(%rbp), %eax
imulq $0x18, %rax, %rax
addq %rax, %rsi
leaq -0xd8(%rbp), %rdx
callq 0x2c4a30
movq -0x10(%rbp), %rdi
leaq -0xbc(%rbp), %rsi
leaq -0xd8(%rbp), %rdx
leaq -0xf4(%rbp), %rcx
callq 0x2c4d40
cmpl $0x0, %eax
jne 0x2c785c
jmp 0x2c7937
movl -0xf4(%rbp), %eax
cmpl -0x4(%rbp), %eax
jne 0x2c7935
movl -0xe8(%rbp), %eax
cmpl -0x4(%rbp), %eax
je 0x2c7935
jmp 0x2c787c
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x28(%rbp), %rcx
cmpq 0x10(%rcx), %rax
jne 0x2c78e9
movq -0x28(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0x2c78ad
movq -0x28(%rbp), %rax
movq 0x10(%rax), %rax
shlq %rax
movq %rax, -0x140(%rbp)
jmp 0x2c78bb
movl $0x2, %eax
movq %rax, -0x140(%rbp)
jmp 0x2c78bb
movq -0x140(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
imulq $0x1c, 0x10(%rax), %rsi
callq 0x2360
movq %rax, %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movq -0x28(%rbp), %rax
movq (%rax), %rax
movq -0x28(%rbp), %rdx
movq 0x8(%rdx), %rcx
movq %rcx, %rsi
addq $0x1, %rsi
movq %rsi, 0x8(%rdx)
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movq -0xf4(%rbp), %rcx
movq %rcx, (%rax)
movq -0xec(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0xe4(%rbp), %rcx
movq %rcx, 0x10(%rax)
movl -0xdc(%rbp), %ecx
movl %ecx, 0x18(%rax)
jmp 0x2c7935
jmp 0x2c7937
movl -0x40(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x40(%rbp)
jmp 0x2c77ec
jmp 0x2c7947
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
jmp 0x2c7611
jmp 0x2c7957
movl -0x38(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x38(%rbp)
jmp 0x2c7472
movl -0x2c(%rbp), %eax
xorl $0x1, %eax
movl %eax, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
movl %eax, -0x30(%rbp)
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movq 0x8(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x18(%rcx), %rcx
movq 0x28(%rcx), %rcx
movl -0x30(%rbp), %edx
movq (%rcx,%rdx,8), %rcx
shrq $0x20, %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x58(%rbp)
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movq 0x28(%rax), %rax
movl -0x30(%rbp), %ecx
movq (%rax,%rcx,8), %rax
movl %eax, -0x44(%rbp)
movl $0x0, -0x38(%rbp)
movl -0x38(%rbp), %eax
cmpl -0x44(%rbp), %eax
jae 0x2c7eb2
movq -0x58(%rbp), %rax
movl -0x38(%rbp), %ecx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movl 0xc(%rax), %eax
shrl $0x1f, %eax
cmpl $0x0, %eax
je 0x2c79e9
jmp 0x2c7ea4
movq -0x58(%rbp), %rax
movl -0x38(%rbp), %ecx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movl 0x8(%rax), %eax
shrl %eax
movl -0x2c(%rbp), %ecx
shrl %ecx
cmpl %ecx, %eax
jne 0x2c7a0a
jmp 0x2c7ea4
movq -0x58(%rbp), %rax
movl -0x38(%rbp), %ecx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movl 0x8(%rax), %eax
movl %eax, -0x34(%rbp)
movq -0x10(%rbp), %rdi
movq -0x58(%rbp), %rsi
movl -0x38(%rbp), %eax
imulq $0x18, %rax, %rax
addq %rax, %rsi
leaq -0x84(%rbp), %rdx
callq 0x2c4a30
movl -0x84(%rbp), %eax
cmpl -0x4(%rbp), %eax
jne 0x2c7b09
movl -0x78(%rbp), %eax
cmpl -0x4(%rbp), %eax
je 0x2c7b09
jmp 0x2c7a59
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x28(%rbp), %rcx
cmpq 0x10(%rcx), %rax
jne 0x2c7ac6
movq -0x28(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0x2c7a8a
movq -0x28(%rbp), %rax
movq 0x10(%rax), %rax
shlq %rax
movq %rax, -0x148(%rbp)
jmp 0x2c7a98
movl $0x2, %eax
movq %rax, -0x148(%rbp)
jmp 0x2c7a98
movq -0x148(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
imulq $0x1c, 0x10(%rax), %rsi
callq 0x2360
movq %rax, %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movq -0x28(%rbp), %rax
movq (%rax), %rax
movq -0x28(%rbp), %rdx
movq 0x8(%rdx), %rcx
movq %rcx, %rsi
addq $0x1, %rsi
movq %rsi, 0x8(%rdx)
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movq -0x84(%rbp), %rcx
movq %rcx, (%rax)
movq -0x7c(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x74(%rbp), %rcx
movq %rcx, 0x10(%rax)
movl -0x6c(%rbp), %ecx
movl %ecx, 0x18(%rax)
jmp 0x2c7b09
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movq 0x8(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x18(%rcx), %rcx
movq 0x28(%rcx), %rcx
movl -0x34(%rbp), %edx
xorl $0x1, %edx
movl %edx, %edx
movq (%rcx,%rdx,8), %rcx
shrq $0x20, %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x60(%rbp)
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movq 0x28(%rax), %rax
movl -0x34(%rbp), %ecx
xorl $0x1, %ecx
movl %ecx, %ecx
movq (%rax,%rcx,8), %rax
movl %eax, -0x48(%rbp)
movl $0x0, -0x3c(%rbp)
movl -0x3c(%rbp), %eax
cmpl -0x48(%rbp), %eax
jae 0x2c7ea2
movq -0x60(%rbp), %rax
movl -0x3c(%rbp), %ecx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movl 0xc(%rax), %eax
shrl $0x1f, %eax
cmpl $0x0, %eax
je 0x2c7b88
jmp 0x2c7e94
movq -0x60(%rbp), %rax
movl -0x3c(%rbp), %ecx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movl 0x8(%rax), %eax
shrl %eax
movl -0x2c(%rbp), %ecx
shrl %ecx
cmpl %ecx, %eax
jne 0x2c7ba9
jmp 0x2c7e94
movq -0x10(%rbp), %rdi
movq -0x60(%rbp), %rsi
movl -0x3c(%rbp), %eax
imulq $0x18, %rax, %rax
addq %rax, %rsi
leaq -0xa0(%rbp), %rdx
callq 0x2c4a30
movq -0x10(%rbp), %rdi
leaq -0x84(%rbp), %rsi
leaq -0xa0(%rbp), %rdx
leaq -0xbc(%rbp), %rcx
callq 0x2c4d40
cmpl $0x0, %eax
jne 0x2c7bef
jmp 0x2c7e94
movl -0xbc(%rbp), %eax
cmpl -0x4(%rbp), %eax
jne 0x2c7cc8
movl -0xb0(%rbp), %eax
cmpl -0x4(%rbp), %eax
je 0x2c7cc8
jmp 0x2c7c0f
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x28(%rbp), %rcx
cmpq 0x10(%rcx), %rax
jne 0x2c7c7c
movq -0x28(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0x2c7c40
movq -0x28(%rbp), %rax
movq 0x10(%rax), %rax
shlq %rax
movq %rax, -0x150(%rbp)
jmp 0x2c7c4e
movl $0x2, %eax
movq %rax, -0x150(%rbp)
jmp 0x2c7c4e
movq -0x150(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
imulq $0x1c, 0x10(%rax), %rsi
callq 0x2360
movq %rax, %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movq -0x28(%rbp), %rax
movq (%rax), %rax
movq -0x28(%rbp), %rdx
movq 0x8(%rdx), %rcx
movq %rcx, %rsi
addq $0x1, %rsi
movq %rsi, 0x8(%rdx)
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movq -0xbc(%rbp), %rcx
movq %rcx, (%rax)
movq -0xb4(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0xac(%rbp), %rcx
movq %rcx, 0x10(%rax)
movl -0xa4(%rbp), %ecx
movl %ecx, 0x18(%rax)
jmp 0x2c7cc8
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movq 0x8(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x18(%rcx), %rcx
movq 0x28(%rcx), %rcx
movq -0x60(%rbp), %rdx
movl -0x3c(%rbp), %esi
imulq $0x18, %rsi, %rsi
addq %rsi, %rdx
movl 0x8(%rdx), %edx
xorl $0x1, %edx
movl %edx, %edx
movq (%rcx,%rdx,8), %rcx
shrq $0x20, %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x68(%rbp)
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movq 0x28(%rax), %rax
movq -0x60(%rbp), %rcx
movl -0x3c(%rbp), %edx
imulq $0x18, %rdx, %rdx
addq %rdx, %rcx
movl 0x8(%rcx), %ecx
xorl $0x1, %ecx
movl %ecx, %ecx
movq (%rax,%rcx,8), %rax
movl %eax, -0x4c(%rbp)
movl $0x0, -0x40(%rbp)
movl -0x40(%rbp), %eax
cmpl -0x4c(%rbp), %eax
jae 0x2c7e92
movq -0x68(%rbp), %rax
movl -0x40(%rbp), %ecx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movl 0xc(%rax), %eax
shrl $0x1f, %eax
cmpl $0x0, %eax
je 0x2c7d63
jmp 0x2c7e84
movq -0x10(%rbp), %rdi
movq -0x68(%rbp), %rsi
movl -0x40(%rbp), %eax
imulq $0x18, %rax, %rax
addq %rax, %rsi
leaq -0xd8(%rbp), %rdx
callq 0x2c4a30
movq -0x10(%rbp), %rdi
leaq -0xbc(%rbp), %rsi
leaq -0xd8(%rbp), %rdx
leaq -0xf4(%rbp), %rcx
callq 0x2c4d40
cmpl $0x0, %eax
jne 0x2c7da9
jmp 0x2c7e84
movl -0xf4(%rbp), %eax
cmpl -0x4(%rbp), %eax
jne 0x2c7e82
movl -0xe8(%rbp), %eax
cmpl -0x4(%rbp), %eax
je 0x2c7e82
jmp 0x2c7dc9
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x28(%rbp), %rcx
cmpq 0x10(%rcx), %rax
jne 0x2c7e36
movq -0x28(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0x2c7dfa
movq -0x28(%rbp), %rax
movq 0x10(%rax), %rax
shlq %rax
movq %rax, -0x158(%rbp)
jmp 0x2c7e08
movl $0x2, %eax
movq %rax, -0x158(%rbp)
jmp 0x2c7e08
movq -0x158(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
imulq $0x1c, 0x10(%rax), %rsi
callq 0x2360
movq %rax, %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movq -0x28(%rbp), %rax
movq (%rax), %rax
movq -0x28(%rbp), %rdx
movq 0x8(%rdx), %rcx
movq %rcx, %rsi
addq $0x1, %rsi
movq %rsi, 0x8(%rdx)
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movq -0xf4(%rbp), %rcx
movq %rcx, (%rax)
movq -0xec(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0xe4(%rbp), %rcx
movq %rcx, 0x10(%rax)
movl -0xdc(%rbp), %ecx
movl %ecx, 0x18(%rax)
jmp 0x2c7e82
jmp 0x2c7e84
movl -0x40(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x40(%rbp)
jmp 0x2c7d39
jmp 0x2c7e94
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
jmp 0x2c7b5e
jmp 0x2c7ea4
movl -0x38(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x38(%rbp)
jmp 0x2c79bf
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movl -0x50(%rbp), %eax
imulq $0x1c, %rax, %rax
addq %rax, %rdi
movq -0x28(%rbp), %rax
movq (%rax), %rsi
movq -0x28(%rbp), %rax
imulq $0x1c, 0x8(%rax), %rax
addq %rax, %rsi
callq 0x27bdd0
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rax
movl -0x50(%rbp), %ecx
cmpq %rcx, %rax
jbe 0x2c87d6
movq $0x0, -0x128(%rbp)
movl -0x50(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
movl -0x50(%rbp), %eax
movl %eax, -0x38(%rbp)
movl -0x3c(%rbp), %eax
movq -0x28(%rbp), %rcx
cmpq 0x8(%rcx), %rax
ja 0x2c871e
movl -0x3c(%rbp), %eax
movq -0x28(%rbp), %rcx
cmpq 0x8(%rcx), %rax
je 0x2c7f55
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x3c(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movl 0xc(%rax), %eax
movq -0x28(%rbp), %rcx
movq (%rcx), %rcx
movl -0x38(%rbp), %edx
imulq $0x1c, %rdx, %rdx
addq %rdx, %rcx
cmpl 0xc(%rcx), %eax
je 0x2c870e
jmp 0x2c7f57
movq -0x128(%rbp), %rcx
xorl %eax, %eax
cmpq -0x20(%rbp), %rcx
movb %al, -0x159(%rbp)
jae 0x2c7f9f
movq -0x18(%rbp), %rax
movq -0x128(%rbp), %rcx
movq (%rax,%rcx,8), %rax
shrq $0x20, %rax
movq -0x28(%rbp), %rcx
movq (%rcx), %rcx
movl -0x38(%rbp), %edx
imulq $0x1c, %rdx, %rdx
addq %rdx, %rcx
movl 0xc(%rcx), %ecx
cmpq %rcx, %rax
setb %al
movb %al, -0x159(%rbp)
movb -0x159(%rbp), %al
testb $0x1, %al
jne 0x2c7fab
jmp 0x2c7fc1
jmp 0x2c7fad
movq -0x128(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x128(%rbp)
jmp 0x2c7f57
movq -0x128(%rbp), %rax
cmpq -0x20(%rbp), %rax
jae 0x2c86d5
movq -0x18(%rbp), %rax
movq -0x128(%rbp), %rcx
movq (%rax,%rcx,8), %rax
shrq $0x20, %rax
movq -0x28(%rbp), %rcx
movq (%rcx), %rcx
movl -0x38(%rbp), %edx
imulq $0x1c, %rdx, %rdx
addq %rdx, %rcx
movl 0xc(%rcx), %ecx
cmpq %rcx, %rax
jne 0x2c86d5
movl -0x3c(%rbp), %eax
subl -0x38(%rbp), %eax
cmpl $0x1, %eax
jbe 0x2c86d3
movl -0x38(%rbp), %eax
movl %eax, -0x30(%rbp)
movl -0x30(%rbp), %eax
cmpl -0x3c(%rbp), %eax
jae 0x2c86d1
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x30(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
cmpl $-0x1, 0xc(%rax)
jne 0x2c803f
jmp 0x2c86c3
movl -0x38(%rbp), %eax
movl %eax, -0x40(%rbp)
movl -0x40(%rbp), %eax
cmpl -0x3c(%rbp), %eax
jae 0x2c86c1
movl -0x30(%rbp), %eax
cmpl -0x40(%rbp), %eax
jne 0x2c805e
jmp 0x2c86b3
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x40(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
cmpl $-0x1, 0xc(%rax)
jne 0x2c807a
jmp 0x2c86b3
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x30(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movl 0x18(%rax), %eax
shrl $0x1f, %eax
movq -0x28(%rbp), %rcx
movq (%rcx), %rcx
movl -0x40(%rbp), %edx
imulq $0x1c, %rdx, %rdx
addq %rdx, %rcx
movl 0x18(%rcx), %ecx
shrl $0x1f, %ecx
cmpl %ecx, %eax
je 0x2c80b1
jmp 0x2c86b3
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x30(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movl 0x4(%rax), %eax
movq -0x28(%rbp), %rcx
movq (%rcx), %rcx
movl -0x40(%rbp), %edx
imulq $0x1c, %rdx, %rdx
addq %rdx, %rcx
cmpl 0x4(%rcx), %eax
jb 0x2c80f7
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x30(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movl 0x4(%rax), %eax
movl %eax, -0x160(%rbp)
jmp 0x2c8111
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x40(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movl 0x4(%rax), %eax
movl %eax, -0x160(%rbp)
movl -0x160(%rbp), %eax
movl %eax, %eax
movq %rax, -0x100(%rbp)
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x30(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movl 0x8(%rax), %eax
movq -0x28(%rbp), %rcx
movq (%rcx), %rcx
movl -0x40(%rbp), %edx
imulq $0x1c, %rdx, %rdx
addq %rdx, %rcx
cmpl 0x8(%rcx), %eax
ja 0x2c8166
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x30(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movl 0x8(%rax), %eax
movl %eax, -0x164(%rbp)
jmp 0x2c8180
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x40(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movl 0x8(%rax), %eax
movl %eax, -0x164(%rbp)
movl -0x164(%rbp), %eax
movl %eax, %eax
movq %rax, -0x108(%rbp)
movq -0x108(%rbp), %rax
cmpq -0x100(%rbp), %rax
ja 0x2c81a4
jmp 0x2c86b3
movq -0x108(%rbp), %rax
subq -0x100(%rbp), %rax
movq %rax, -0x110(%rbp)
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x30(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movl 0x10(%rax), %eax
movq -0x28(%rbp), %rcx
movq (%rcx), %rcx
movl -0x40(%rbp), %edx
imulq $0x1c, %rdx, %rdx
addq %rdx, %rcx
cmpl 0x10(%rcx), %eax
jb 0x2c81ff
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x30(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movl 0x10(%rax), %eax
movl %eax, -0x168(%rbp)
jmp 0x2c8219
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x40(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movl 0x10(%rax), %eax
movl %eax, -0x168(%rbp)
movl -0x168(%rbp), %eax
movl %eax, %eax
movq %rax, -0x100(%rbp)
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x30(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movl 0x14(%rax), %eax
movq -0x28(%rbp), %rcx
movq (%rcx), %rcx
movl -0x40(%rbp), %edx
imulq $0x1c, %rdx, %rdx
addq %rdx, %rcx
cmpl 0x14(%rcx), %eax
ja 0x2c826e
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x30(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movl 0x14(%rax), %eax
movl %eax, -0x16c(%rbp)
jmp 0x2c8288
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x40(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movl 0x14(%rax), %eax
movl %eax, -0x16c(%rbp)
movl -0x16c(%rbp), %eax
movl %eax, %eax
movq %rax, -0x108(%rbp)
movq -0x108(%rbp), %rax
cmpq -0x100(%rbp), %rax
ja 0x2c82ac
jmp 0x2c86b3
movq -0x108(%rbp), %rax
subq -0x100(%rbp), %rax
movq %rax, -0x118(%rbp)
movq $0x0, -0x120(%rbp)
movq -0x110(%rbp), %rax
movq -0x28(%rbp), %rcx
movq (%rcx), %rcx
movl -0x30(%rbp), %edx
imulq $0x1c, %rdx, %rdx
addq %rdx, %rcx
movl 0x8(%rcx), %ecx
movq -0x28(%rbp), %rdx
movq (%rdx), %rdx
movl -0x30(%rbp), %esi
imulq $0x1c, %rsi, %rsi
addq %rsi, %rdx
subl 0x4(%rdx), %ecx
movl %ecx, %ecx
cmpq %rcx, %rax
jne 0x2c8338
movq -0x118(%rbp), %rax
movq -0x28(%rbp), %rcx
movq (%rcx), %rcx
movl -0x30(%rbp), %edx
imulq $0x1c, %rdx, %rdx
addq %rdx, %rcx
movl 0x14(%rcx), %ecx
movq -0x28(%rbp), %rdx
movq (%rdx), %rdx
movl -0x30(%rbp), %esi
imulq $0x1c, %rsi, %rsi
addq %rsi, %rdx
subl 0x10(%rdx), %ecx
movl %ecx, %ecx
cmpq %rcx, %rax
je 0x2c83a4
movq -0x110(%rbp), %rax
movq -0x28(%rbp), %rcx
movq (%rcx), %rcx
movl -0x40(%rbp), %edx
imulq $0x1c, %rdx, %rdx
addq %rdx, %rcx
movl 0x8(%rcx), %ecx
movq -0x28(%rbp), %rdx
movq (%rdx), %rdx
movl -0x40(%rbp), %esi
imulq $0x1c, %rsi, %rsi
addq %rsi, %rdx
subl 0x4(%rdx), %ecx
movl %ecx, %ecx
cmpq %rcx, %rax
jne 0x2c83af
movq -0x118(%rbp), %rax
movq -0x28(%rbp), %rcx
movq (%rcx), %rcx
movl -0x40(%rbp), %edx
imulq $0x1c, %rdx, %rdx
addq %rdx, %rcx
movl 0x14(%rcx), %ecx
movq -0x28(%rbp), %rdx
movq (%rdx), %rdx
movl -0x40(%rbp), %esi
imulq $0x1c, %rsi, %rsi
addq %rsi, %rdx
subl 0x10(%rdx), %ecx
movl %ecx, %ecx
cmpq %rcx, %rax
jne 0x2c83af
movq $0x1, -0x120(%rbp)
cmpq $0x0, -0x120(%rbp)
jne 0x2c8553
movaps 0xb9c4c(%rip), %xmm0    # 0x382010
movq -0x110(%rbp), %xmm1
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movapd 0xb9c48(%rip), %xmm0    # 0x382020
subpd %xmm0, %xmm1
movaps %xmm1, %xmm0
unpckhpd %xmm1, %xmm1            # xmm1 = xmm1[1,1]
addsd %xmm0, %xmm1
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x30(%rbp), %ecx
leaq (%rcx,%rcx,8), %rdx
leaq (%rdx,%rdx,2), %rdx
addq %rcx, %rdx
movl 0x4(%rax,%rdx), %ecx
movl 0x8(%rax,%rdx), %eax
subl %ecx, %eax
cvtsi2sd %rax, %xmm0
movsd 0xb9e0d(%rip), %xmm2    # 0x382220
mulsd %xmm2, %xmm0
ucomisd %xmm1, %xmm0
jb 0x2c8422
jmp 0x2c86b3
movaps 0xb9be7(%rip), %xmm0    # 0x382010
movq -0x110(%rbp), %xmm1
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movapd 0xb9be3(%rip), %xmm0    # 0x382020
subpd %xmm0, %xmm1
movaps %xmm1, %xmm0
unpckhpd %xmm1, %xmm1            # xmm1 = xmm1[1,1]
addsd %xmm0, %xmm1
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x40(%rbp), %ecx
leaq (%rcx,%rcx,8), %rdx
leaq (%rdx,%rdx,2), %rdx
addq %rcx, %rdx
movl 0x4(%rax,%rdx), %ecx
movl 0x8(%rax,%rdx), %eax
subl %ecx, %eax
cvtsi2sd %rax, %xmm0
movsd 0xb9da8(%rip), %xmm2    # 0x382220
mulsd %xmm2, %xmm0
ucomisd %xmm1, %xmm0
jb 0x2c8487
jmp 0x2c86b3
movaps 0xb9b82(%rip), %xmm0    # 0x382010
movq -0x118(%rbp), %xmm1
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movapd 0xb9b7e(%rip), %xmm0    # 0x382020
subpd %xmm0, %xmm1
movaps %xmm1, %xmm0
unpckhpd %xmm1, %xmm1            # xmm1 = xmm1[1,1]
addsd %xmm0, %xmm1
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x30(%rbp), %ecx
leaq (%rcx,%rcx,8), %rdx
leaq (%rdx,%rdx,2), %rdx
addq %rcx, %rdx
movl 0x10(%rax,%rdx), %ecx
movl 0x14(%rax,%rdx), %eax
subl %ecx, %eax
cvtsi2sd %rax, %xmm0
movsd 0xb9d43(%rip), %xmm2    # 0x382220
mulsd %xmm2, %xmm0
ucomisd %xmm1, %xmm0
jb 0x2c84ec
jmp 0x2c86b3
movaps 0xb9b1d(%rip), %xmm0    # 0x382010
movq -0x118(%rbp), %xmm1
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movapd 0xb9b19(%rip), %xmm0    # 0x382020
subpd %xmm0, %xmm1
movaps %xmm1, %xmm0
unpckhpd %xmm1, %xmm1            # xmm1 = xmm1[1,1]
addsd %xmm0, %xmm1
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x40(%rbp), %ecx
leaq (%rcx,%rcx,8), %rdx
leaq (%rdx,%rdx,2), %rdx
addq %rcx, %rdx
movl 0x10(%rax,%rdx), %ecx
movl 0x14(%rax,%rdx), %eax
subl %ecx, %eax
cvtsi2sd %rax, %xmm0
movsd 0xb9cde(%rip), %xmm2    # 0x382220
mulsd %xmm2, %xmm0
ucomisd %xmm1, %xmm0
jb 0x2c8551
jmp 0x2c86b3
jmp 0x2c8553
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x30(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movl 0x4(%rax), %eax
movq -0x28(%rbp), %rcx
movq (%rcx), %rcx
movl -0x40(%rbp), %edx
imulq $0x1c, %rdx, %rdx
addq %rdx, %rcx
cmpl 0x4(%rcx), %eax
jbe 0x2c85a5
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x40(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movl 0x4(%rax), %ecx
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x30(%rbp), %edx
imulq $0x1c, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 0x4(%rax)
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x30(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movl 0x8(%rax), %eax
movq -0x28(%rbp), %rcx
movq (%rcx), %rcx
movl -0x40(%rbp), %edx
imulq $0x1c, %rdx, %rdx
addq %rdx, %rcx
cmpl 0x8(%rcx), %eax
jae 0x2c85f7
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x40(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movl 0x8(%rax), %ecx
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x30(%rbp), %edx
imulq $0x1c, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 0x8(%rax)
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x30(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movl 0x10(%rax), %eax
movq -0x28(%rbp), %rcx
movq (%rcx), %rcx
movl -0x40(%rbp), %edx
imulq $0x1c, %rdx, %rdx
addq %rdx, %rcx
cmpl 0x10(%rcx), %eax
jbe 0x2c8649
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x40(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movl 0x10(%rax), %ecx
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x30(%rbp), %edx
imulq $0x1c, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 0x10(%rax)
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x30(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movl 0x14(%rax), %eax
movq -0x28(%rbp), %rcx
movq (%rcx), %rcx
movl -0x40(%rbp), %edx
imulq $0x1c, %rdx, %rdx
addq %rdx, %rcx
cmpl 0x14(%rcx), %eax
jae 0x2c869b
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x40(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movl 0x14(%rax), %ecx
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x30(%rbp), %edx
imulq $0x1c, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 0x14(%rax)
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x40(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movl $0xffffffff, 0xc(%rax)  # imm = 0xFFFFFFFF
movl -0x40(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x40(%rbp)
jmp 0x2c8045
jmp 0x2c86c3
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0x2c8017
jmp 0x2c86d3
jmp 0x2c8708
movl -0x38(%rbp), %eax
movl %eax, -0x30(%rbp)
movl -0x30(%rbp), %eax
cmpl -0x3c(%rbp), %eax
jae 0x2c8706
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x30(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movl $0xffffffff, 0xc(%rax)  # imm = 0xFFFFFFFF
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0x2c86db
jmp 0x2c8708
movl -0x3c(%rbp), %eax
movl %eax, -0x38(%rbp)
jmp 0x2c8710
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
jmp 0x2c7f09
movl -0x50(%rbp), %eax
movl %eax, -0x40(%rbp)
movl %eax, -0x3c(%rbp)
movl -0x3c(%rbp), %eax
movq -0x28(%rbp), %rcx
cmpq 0x8(%rcx), %rax
jae 0x2c87c9
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x3c(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
cmpl $-0x1, 0xc(%rax)
jne 0x2c8751
jmp 0x2c87bb
movq -0x28(%rbp), %rax
movq (%rax), %rcx
movl -0x3c(%rbp), %eax
imulq $0x1c, %rax, %rax
addq %rax, %rcx
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x40(%rbp), %edx
imulq $0x1c, %rdx, %rdx
addq %rdx, %rax
movq (%rcx), %rdx
movq %rdx, (%rax)
movq 0x8(%rcx), %rdx
movq %rdx, 0x8(%rax)
movq 0x10(%rcx), %rdx
movq %rdx, 0x10(%rax)
movl 0x18(%rcx), %ecx
movl %ecx, 0x18(%rax)
movq -0x28(%rbp), %rax
movq (%rax), %rax
movl -0x40(%rbp), %ecx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movl 0x18(%rax), %ecx
andl $0xc0000000, %ecx       # imm = 0xC0000000
orl $0x3fffffff, %ecx       # imm = 0x3FFFFFFF
movl %ecx, 0x18(%rax)
movl -0x40(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x40(%rbp)
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
jmp 0x2c8727
movl -0x40(%rbp), %eax
movl %eax, %ecx
movq -0x28(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rax
movl -0x50(%rbp), %ecx
subq %rcx, %rax
addq $0x170, %rsp            # imm = 0x170
popq %rbp
retq
nopl (%rax)