// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/extract.cpp
// Function: ha_extract_print(All_reads const*, int, int, char**)
void ha_extract_print(const All_reads *rs, int n_rounds, int n, char **list)
{
	hm64_t *h;
	khint_t k;
	int i, absent, m, l;
	uint64_t j;
	const ma_hit_t_alloc *ov[2] = { rs->paf, rs->reverse_paf };
	FILE *fp = stdout;

	if (n > 0) {
		int max_len = 0;
		char *s = 0;
		strset_t *ss;
		ss = ss_init();
		for (i = 0; i < n; ++i)
			ss_put(ss, list[i], &absent);
		for (j = 0; j < rs->total_reads; ++j)
			if (max_len < (int)Get_NAME_LENGTH(*rs, j))
				max_len = Get_NAME_LENGTH(*rs, j);
		GFA_MALLOC(s, max_len + 1);
		h = h64_init();
		for (j = 0; j < rs->total_reads; ++j) {
			strncpy(s, Get_NAME(*rs, j), Get_NAME_LENGTH(*rs, j));
			s[Get_NAME_LENGTH(*rs, j)] = 0;
			if (ss_get(ss, s) != kh_end(ss)) {
				k = h64_put(h, j, &absent);
				kh_val(h, k) = -1;
			}
		}
		free(s);
		ss_destroy(ss);
	} else return;

	for (m = 0; m < n_rounds; ++m) {
		for (j = 0; j < rs->total_reads; ++j) {
			for (l = 0; l < 2; ++l) {
				const ma_hit_t_alloc *o = &ov[l][j];
				for (i = 0; i < (int)o->length; ++i) {
					uint64_t q = Get_qn(o->buffer[i]);
					uint64_t t = Get_tn(o->buffer[i]);
					int q_hit = 0, t_hit = 0;
					k = h64_get(h, q);
					q_hit = (k < kh_end(h) && kh_val(h, k) < m);
					k = h64_get(h, t);
					t_hit = (k < kh_end(h) && kh_val(h, k) < m);
					if ((!q_hit && !t_hit) || (q_hit && t_hit)) continue;
					if (!q_hit) {
						k = h64_put(h, q, &absent);
						if (absent) kh_val(h, k) = m;
					}
					if (!t_hit) {
						k = h64_put(h, t, &absent);
						if (absent) kh_val(h, k) = m;
					}
				}
			}
		}
	}

	for (j = 0; j < rs->total_reads; ++j) {
		for (l = 0; l < 2; ++l) {
			const ma_hit_t_alloc *o = &ov[l][j];
			for (i = 0; i < (int)o->length; ++i) {
				uint64_t q = Get_qn(o->buffer[i]);
				uint64_t t = Get_tn(o->buffer[i]);
				int q_hit = 0, t_hit = 0;
				q_hit = (h64_get(h, q) < kh_end(h));
				t_hit = (h64_get(h, t) < kh_end(h));
				if (!q_hit && !t_hit) continue;
				fwrite(Get_NAME(*rs, q), 1, Get_NAME_LENGTH(*rs, q), fp);
				fwrite("\t", 1, 1, fp);
				fprintf(fp, "%lu\t", (unsigned long)Get_READ_LENGTH(*rs, q));
				fprintf(fp, "%d\t", Get_qs(o->buffer[i]));
				fprintf(fp, "%d\t", Get_qe(o->buffer[i]));
				fputs(o->buffer[i].rev? "-\t" : "+\t", fp);
				fwrite(Get_NAME(*rs, t), 1, Get_NAME_LENGTH(*rs, t), fp);
				fwrite("\t", 1, 1, fp);
				fprintf(fp, "%lu\t", (unsigned long)Get_READ_LENGTH(*rs, t));
				fprintf(fp, "%d\t", Get_ts(o->buffer[i]));
				fprintf(fp, "%d\t%d\t%d\t%d\n", Get_te(o->buffer[i]), o->buffer[i].ml, o->buffer[i].bl, !l);
			}
		}
	}

	h64_destroy(h);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rcx, 0x78(%rsp)
movl %esi, 0x5c(%rsp)
testl %edx, %edx
jle 0x1361b2
movl %edx, %ebp
movq %rdi, 0x48(%rsp)
movups 0x78(%rdi), %xmm0
movaps %xmm0, 0x60(%rsp)
movq 0x15f9fb(%rip), %rax    # 0x294fb8
movq (%rax), %rax
movq %rax, 0x80(%rsp)
movl $0x1, %edi
movl $0x18, %esi
callq 0x2120
movq %rax, %r15
movl %ebp, %eax
movq %rax, 0x70(%rsp)
xorl %ecx, %ecx
xorl %r14d, %r14d
xorl %r9d, %r9d
movq %r15, 0x50(%rsp)
movq 0x78(%rsp), %rax
movq %rcx, 0x28(%rsp)
movq (%rax,%rcx,8), %rbx
movsbl (%rbx), %edx
movl $0x0, %esi
testl %edx, %edx
je 0x13562e
movb 0x1(%rbx), %al
testb %al, %al
je 0x13562c
leaq 0x2(%rbx), %rcx
movl %edx, %esi
movl %esi, %edx
shll $0x5, %edx
subl %esi, %edx
movsbl %al, %esi
addl %edx, %esi
movb (%rcx), %al
incq %rcx
testb %al, %al
jne 0x135615
jmp 0x13562e
movl %edx, %esi
testq %r9, %r9
je 0x13563f
movb (%r15), %cl
movl $0x1, %edi
shll %cl, %edi
jmp 0x135641
xorl %edi, %edi
movl %edi, %eax
shrl %eax
movl %edi, %ecx
shrl $0x2, %ecx
addl %eax, %ecx
cmpl %ecx, %r14d
movl %r14d, 0x20(%rsp)
movl %esi, 0x8(%rsp)
jae 0x135662
movl (%r15), %ecx
jmp 0x13585d
leal 0x1(%rdi), %ecx
bsrl %ecx, %eax
cmpl $0x2, %ecx
movl $0x0, %edx
cmovbl %edx, %eax
andl %edi, %ecx
cmpl $0x1, %ecx
sbbl $-0x1, %eax
cmpl $0x3, %eax
movl $0x2, %ecx
cmovael %eax, %ecx
movl $0x1, %edi
shll %cl, %edi
movl %edi, %r8d
shrl %r8d
movl %edi, %edx
shrl $0x2, %edx
addl %r8d, %edx
cmpl %edx, %r14d
jbe 0x1356af
movl (%r15), %ecx
movl $0x1, %edi
shll %cl, %edi
jmp 0x13585d
movl %ecx, (%rsp)
movq %r9, %r13
movq %rbx, 0x10(%rsp)
movq %rdi, 0x30(%rsp)
movl %edi, %esi
shrl $0x3, %esi
andl $-0x4, %esi
cmpl $0x5, %eax
movl $0x4, %eax
cmovbl %eax, %esi
movl $0x1, %edi
callq 0x2120
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
testq %rax, %rax
je 0x135706
movq %rax, %r12
movq %r13, %r10
testq %r13, %r13
je 0x135713
movb (%r15), %cl
movl $0x1, %r14d
shll %cl, %r14d
cmpl 0x30(%rsp), %r14d
jb 0x135716
jmp 0x135741
movq 0x28(%rsp), %rcx
movq %r13, %r9
jmp 0x135936
xorl %r14d, %r14d
movl $0xc, %esi
movl (%rsp), %ecx
shlq %cl, %rsi
movq %r10, %rdi
movq %r10, %rbx
callq 0x2370
testq %rax, %rax
je 0x135946
movq %rax, %r10
testl %r14d, %r14d
je 0x135836
movq 0x30(%rsp), %rax
leal -0x1(%rax), %edi
movl $0x20, %ebx
subl (%rsp), %ebx
movl %r14d, %r8d
movq 0x8(%r15), %r9
xorl %edx, %edx
movl %edx, %esi
shrl $0x5, %esi
movl (%r9,%rsi,4), %r14d
movl $0x1, %r15d
movl %edx, %ecx
shll %cl, %r15d
btl %edx, %r14d
jae 0x135808
leaq (%rdx,%rdx,2), %rcx
movq (%r10,%rcx,4), %r11
movq %r10, %rax
movl 0x8(%r10,%rcx,4), %r10d
notl %r15d
andl %r15d, %r14d
movl %r14d, (%r9,%rsi,4)
imull $0x9e3779b9, %r10d, %esi # imm = 0x9E3779B9
movl %ebx, %ecx
shrl %cl, %esi
movl %esi, %r14d
shrl $0x5, %r14d
movl (%r12,%r14,4), %r15d
movl $0x1, %r13d
movl %esi, %ecx
shll %cl, %r13d
btl %esi, %r15d
jae 0x1357bf
incl %esi
andl %edi, %esi
jmp 0x13579d
orl %r13d, %r15d
movl %r15d, (%r12,%r14,4)
movl %esi, %ecx
cmpl %r8d, %esi
jae 0x1357f8
testl %r13d, (%r9,%r14,4)
je 0x1357f8
leaq (%rcx,%rcx,2), %rcx
movq (%rax,%rcx,4), %rsi
movl 0x8(%rax,%rcx,4), %r15d
movq %r11, (%rax,%rcx,4)
movl %r10d, 0x8(%rax,%rcx,4)
notl %r13d
andl %r13d, (%r9,%r14,4)
movl %r15d, %r10d
movq %rsi, %r11
jmp 0x135792
leaq (%rcx,%rcx,2), %rcx
movq %r11, (%rax,%rcx,4)
movl %r10d, 0x8(%rax,%rcx,4)
movq %rax, %r10
incq %rdx
cmpq %r8, %rdx
jne 0x13575a
cmpl 0x30(%rsp), %r8d
jbe 0x135831
movl $0xc, %esi
movl (%rsp), %ecx
shlq %cl, %rsi
movq %r10, %rdi
callq 0x2370
movq %rax, %r10
movq 0x50(%rsp), %r15
movq 0x8(%r15), %rdi
movq %r10, %rbx
callq 0x2220
movq %rbx, %r9
movq %r12, 0x8(%r15)
movl (%rsp), %ecx
movl %ecx, (%r15)
movq 0x10(%rsp), %rbx
movl 0x8(%rsp), %esi
movq 0x30(%rsp), %rdi
imull $0x9e3779b9, %esi, %r8d # imm = 0x9E3779B9
negb %cl
shrl %cl, %r8d
decl %edi
movq 0x8(%r15), %rdx
movl %r8d, %r15d
movq %rdi, 0x30(%rsp)
movq %rdx, (%rsp)
movl %r8d, 0x10(%rsp)
movl %r15d, %r13d
shrl $0x5, %r13d
movl (%rdx,%r13,4), %r12d
movl $0x1, %r14d
movl %r15d, %ecx
shll %cl, %r14d
btl %r15d, %r12d
jae 0x1358fa
movl %r15d, %eax
leaq (%rax,%rax,2), %rax
cmpl %esi, 0x8(%r9,%rax,4)
jne 0x1358d6
leaq (%r9,%rax,4), %rax
movq (%rax), %rdi
movq %rbx, %rsi
movq %r9, %rbp
callq 0x2290
movl 0x10(%rsp), %r8d
movq (%rsp), %rdx
movq 0x30(%rsp), %rdi
movl 0x8(%rsp), %esi
movq %rbp, %r9
testl %eax, %eax
je 0x1358fa
incl %r15d
andl %edi, %r15d
cmpl %r8d, %r15d
jne 0x135880
movl %r8d, %r13d
shrl $0x5, %r13d
movl $0x1, %r14d
movl %r8d, %ecx
shll %cl, %r14d
movl (%rdx,%r13,4), %r12d
jmp 0x1358fd
movl %r15d, %r8d
xorl %ebp, %ebp
testl %r12d, %r14d
movq 0x50(%rsp), %r15
movq 0x28(%rsp), %rcx
je 0x135915
movl 0x20(%rsp), %r14d
jmp 0x135936
movl %r8d, %eax
leaq (%rax,%rax,2), %rax
movq %rbx, (%r9,%rax,4)
movl %esi, 0x8(%r9,%rax,4)
orl %r14d, (%rdx,%r13,4)
movl 0x20(%rsp), %r14d
incl %r14d
movl $0x1, %ebp
incq %rcx
cmpq 0x70(%rsp), %rcx
jne 0x1355ee
jmp 0x13595d
movq %r12, %rdi
callq 0x2220
movl 0x20(%rsp), %r14d
movq 0x28(%rsp), %rcx
movq %rbx, %r9
jmp 0x135936
movq %r9, 0x10(%r15)
movl %r14d, 0x4(%r15)
movl %ebp, 0x1c(%rsp)
movq 0x48(%rsp), %rax
movq 0x50(%rax), %r13
testq %r13, %r13
je 0x1359aa
movq %rax, %r14
movq 0x40(%rax), %rax
movq (%rax), %rdx
xorl %ecx, %ecx
xorl %edi, %edi
movl %edi, %esi
movq 0x8(%rax,%rcx,8), %r8
incq %rcx
movl %r8d, %edi
subl %edx, %edi
cmpl %edi, %esi
cmovgl %esi, %edi
movq %r8, %rdx
cmpq %rcx, %r13
jne 0x135985
movq %r9, 0x30(%rsp)
incl %edi
jmp 0x1359b7
movq %rax, %r14
movq %r9, 0x30(%rsp)
movl $0x1, %edi
callq 0x2280
movq %rax, %rbp
movl $0x1, %edi
movl $0x18, %esi
callq 0x2120
movq %rax, %r15
testq %r13, %r13
je 0x135b47
movq %rbp, %rax
addq $0x2, %rax
movq %rax, 0x20(%rsp)
xorl %r12d, %r12d
movq %r14, %rcx
movq %rbp, 0x8(%rsp)
movq 0x40(%rcx), %r14
movq (%r14,%r12,8), %rax
movq 0x8(%r14,%r12,8), %rdx
movq 0x8(%rcx), %rsi
addq %rax, %rsi
subq %rax, %rdx
movq %rbp, %rdi
callq 0x20d0
movq 0x8(%r14,%r12,8), %rax
movq %r12, 0x10(%rsp)
subq (%r14,%r12,8), %rax
movb $0x0, (%rbp,%rax)
movsbl (%rbp), %edx
movl $0x0, %r14d
testl %edx, %edx
movq 0x30(%rsp), %r8
je 0x135a63
movb 0x1(%rbp), %al
testb %al, %al
je 0x135a60
movq 0x20(%rsp), %rcx
movl %edx, %r14d
movl %r14d, %edx
shll $0x5, %edx
subl %r14d, %edx
movsbl %al, %r14d
addl %edx, %r14d
movb (%rcx), %al
incq %rcx
testb %al, %al
jne 0x135a45
jmp 0x135a63
movl %edx, %r14d
testq %r8, %r8
je 0x135aee
movq 0x50(%rsp), %rax
movb (%rax), %cl
movl $0x1, %edx
shll %cl, %edx
imull $0x9e3779b9, %r14d, %esi # imm = 0x9E3779B9
negb %cl
shrl %cl, %esi
movq %rdx, 0x28(%rsp)
leal -0x1(%rdx), %ebx
movq 0x8(%rax), %rbp
movl %esi, %r12d
movq %r8, 0x30(%rsp)
movl %esi, (%rsp)
movl %r12d, %eax
shrl $0x5, %eax
movl (%rbp,%rax,4), %eax
btl %r12d, %eax
jae 0x135ae2
movl %r12d, %eax
leaq (%rax,%rax,2), %rax
cmpl %r14d, 0x8(%r8,%rax,4)
jne 0x135ad7
leaq (%r8,%rax,4), %rax
movq (%rax), %rdi
movq 0x8(%rsp), %rsi
callq 0x2290
movl (%rsp), %esi
movq 0x30(%rsp), %r8
testl %eax, %eax
je 0x135b06
incl %r12d
andl %ebx, %r12d
cmpl %esi, %r12d
jne 0x135a9c
movq 0x48(%rsp), %rcx
movq 0x8(%rsp), %rbp
jmp 0x135af3
movq 0x48(%rsp), %rcx
movq 0x10(%rsp), %r12
incq %r12
cmpq %r13, %r12
jb 0x1359f1
jmp 0x135b4d
cmpl 0x28(%rsp), %r12d
movq 0x48(%rsp), %rcx
movq 0x8(%rsp), %rbp
je 0x135af3
movq %r15, %rdi
movq 0x10(%rsp), %rsi
leaq 0x1c(%rsp), %rdx
movq %rcx, %r14
callq 0x1361c4
movq 0x10(%r15), %rcx
movl %eax, %eax
leaq (%rax,%rax,2), %rax
movl $0xffffffff, 0x8(%rcx,%rax,4) # imm = 0xFFFFFFFF
movq %r14, %rcx
movq 0x50(%r14), %r13
jmp 0x135af3
xorl %r13d, %r13d
movq %r14, %rcx
movq %rcx, %r12
movq %rbp, %rdi
callq 0x2220
movq 0x50(%rsp), %r14
testq %r14, %r14
je 0x135b82
movq 0x30(%rsp), %rdi
callq 0x2220
movq 0x8(%r14), %rdi
callq 0x2220
movq %r14, %rdi
callq 0x2220
movq 0x50(%r12), %r13
movdqa 0x60(%rsp), %xmm0
pshufd $0xee, %xmm0, %xmm1     # xmm1 = xmm0[2,3,2,3]
cmpl $0x0, 0x5c(%rsp)
jle 0x135e1c
movq %xmm0, 0x20(%rsp)
movq %xmm1, 0x10(%rsp)
xorl %ebx, %ebx
movq %r13, %rax
movdqa %xmm1, 0x30(%rsp)
testq %rax, %rax
je 0x135e0e
xorl %ecx, %ecx
movb $0x1, %dl
movq %rcx, 0x28(%rsp)
leaq (%rcx,%rcx,2), %rax
movq %rax, (%rsp)
movq 0x20(%rsp), %rax
movl %edx, 0x8(%rsp)
movq (%rsp), %rcx
cmpl $0x0, 0xc(%rax,%rcx,8)
jle 0x135dda
movq (%rsp), %rcx
leaq (%rax,%rcx,8), %rbp
xorl %r12d, %r12d
movq 0x10(%r15), %rdi
testq %rdi, %rdi
je 0x135dca
movq (%rbp), %rax
leaq (%r12,%r12,4), %rcx
movl 0x4(%rax,%rcx,8), %esi
movl 0xc(%rax,%rcx,8), %r13d
movl (%r15), %eax
movl $0x1, %r8d
movl %eax, %ecx
shll %cl, %r8d
leal -0x1(%r8), %r9d
movq %rsi, %rcx
notq %rcx
movq %rsi, %rdx
shlq $0x15, %rdx
addq %rcx, %rdx
movq %rdx, %rcx
shrq $0x18, %rcx
xorq %rdx, %rcx
imulq $0x109, %rcx, %rcx      # imm = 0x109
movq %rcx, %rdx
shrq $0xe, %rdx
xorq %rcx, %rdx
leaq (%rdx,%rdx,4), %rcx
leaq (%rdx,%rcx,4), %rcx
movq %rcx, %rdx
shrq $0x1c, %rdx
xorl %ecx, %edx
imull $0x1e3779b9, %edx, %r14d # imm = 0x1E3779B9
movl %eax, %ecx
negl %ecx
shrl %cl, %r14d
movl $0x20, %edx
subl %eax, %edx
movq 0x8(%r15), %r10
movl %r14d, %r11d
movl %r11d, %ecx
shrl $0x5, %ecx
movl (%r10,%rcx,4), %ecx
btl %r11d, %ecx
jae 0x135c9c
movl %r11d, %ecx
leaq (%rcx,%rcx,2), %rcx
cmpq %rsi, (%rdi,%rcx,4)
je 0x135c9f
incl %r11d
andl %r9d, %r11d
cmpl %r14d, %r11d
jne 0x135c74
movl %r8d, %r11d
movl %r11d, %r14d
movl %eax, %ecx
shrl %cl, %r14d
testl %r14d, %r14d
je 0x135cb1
xorl %r11d, %r11d
jmp 0x135cc0
movl %r11d, %ecx
leaq (%rcx,%rcx,2), %rcx
cmpl %ebx, 0x8(%rdi,%rcx,4)
setl %r11b
movq %r13, %rcx
notq %rcx
movq %r13, %r14
shlq $0x15, %r14
addq %rcx, %r14
movq %r14, %rcx
shrq $0x18, %rcx
xorq %r14, %rcx
imulq $0x109, %rcx, %rcx      # imm = 0x109
movq %rcx, %r14
shrq $0xe, %r14
xorq %rcx, %r14
leaq (%r14,%r14,4), %rcx
leaq (%r14,%rcx,4), %rcx
movq %rcx, %r14
shrq $0x1c, %r14
xorl %ecx, %r14d
imull $0x1e3779b9, %r14d, %r14d # imm = 0x1E3779B9
movl %edx, %ecx
shrl %cl, %r14d
movl %r14d, %ecx
movl %ecx, %edx
shrl $0x5, %edx
movl (%r10,%rdx,4), %edx
btl %ecx, %edx
jae 0x135d35
movl %ecx, %edx
leaq (%rdx,%rdx,2), %rdx
cmpq %r13, (%rdi,%rdx,4)
je 0x135d32
incl %ecx
andl %r9d, %ecx
cmpl %r14d, %ecx
jne 0x135d0c
jmp 0x135d35
movl %ecx, %r8d
movl %r8d, %edx
movl %eax, %ecx
shrl %cl, %edx
testl %edx, %edx
je 0x135d4a
testb %r11b, %r11b
jne 0x135d99
jmp 0x135dca
movl %r8d, %eax
leaq (%rax,%rax,2), %rax
movl 0x8(%rdi,%rax,4), %r14d
cmpl %ebx, %r14d
setl %al
cmpb %al, %r11b
je 0x135dca
testb %r11b, %r11b
jne 0x135d94
movq %r15, %rdi
leaq 0x1c(%rsp), %rdx
callq 0x1361c4
movdqa 0x30(%rsp), %xmm1
movdqa 0x60(%rsp), %xmm0
cmpl $0x0, 0x1c(%rsp)
je 0x135d94
movq 0x10(%r15), %rcx
movl %eax, %eax
leaq (%rax,%rax,2), %rax
movl %ebx, 0x8(%rcx,%rax,4)
cmpl %ebx, %r14d
jl 0x135dca
movq %r15, %rdi
movq %r13, %rsi
leaq 0x1c(%rsp), %rdx
callq 0x1361c4
movdqa 0x30(%rsp), %xmm1
movdqa 0x60(%rsp), %xmm0
cmpl $0x0, 0x1c(%rsp)
je 0x135dca
movq 0x10(%r15), %rcx
movl %eax, %eax
leaq (%rax,%rax,2), %rax
movl %ebx, 0x8(%rcx,%rax,4)
incq %r12
movslq 0xc(%rbp), %rax
cmpq %rax, %r12
jl 0x135bec
movq 0x10(%rsp), %rax
testb $0x1, 0x8(%rsp)
movl $0x0, %edx
jne 0x135bce
movq 0x28(%rsp), %rcx
incq %rcx
movq 0x48(%rsp), %rax
movq 0x50(%rax), %r13
movq %r13, %rax
cmpq %r13, %rcx
jb 0x135bba
jmp 0x135e10
xorl %eax, %eax
incl %ebx
cmpl 0x5c(%rsp), %ebx
jne 0x135baf
testq %r13, %r13
je 0x136182
movq %xmm0, 0x50(%rsp)
movq %xmm1, 0x28(%rsp)
xorl %ecx, %ecx
movl $0x1, 0x8(%rsp)
movb $0x1, %dl
movq %rcx, 0x20(%rsp)
leaq (%rcx,%rcx,2), %rax
movq %rax, 0x10(%rsp)
movq 0x50(%rsp), %rax
movl %edx, (%rsp)
movq 0x10(%rsp), %rcx
movl 0xc(%rax,%rcx,8), %esi
testl %esi, %esi
jle 0x13614f
movq 0x10(%rsp), %rcx
leaq (%rax,%rcx,8), %rbx
movq 0x10(%r15), %rbp
xorl %r12d, %r12d
movq %rbx, 0x60(%rsp)
movq (%rbx), %rax
leaq (%r12,%r12,4), %rcx
movl 0x4(%rax,%rcx,8), %r13d
movl 0xc(%rax,%rcx,8), %r14d
testq %rbp, %rbp
je 0x135fa7
movl (%r15), %eax
movl $0x1, %edi
movl %eax, %ecx
shll %cl, %edi
leal -0x1(%rdi), %r8d
movq %r13, %rcx
notq %rcx
movq %r13, %rdx
shlq $0x15, %rdx
addq %rcx, %rdx
movq %rdx, %rcx
shrq $0x18, %rcx
xorq %rdx, %rcx
imulq $0x109, %rcx, %rcx      # imm = 0x109
movq %rcx, %rdx
shrq $0xe, %rdx
xorq %rcx, %rdx
leaq (%rdx,%rdx,4), %rcx
leaq (%rdx,%rcx,4), %rcx
movq %rcx, %rdx
shrq $0x1c, %rdx
xorl %ecx, %edx
imull $0x1e3779b9, %edx, %r10d # imm = 0x1E3779B9
movl %eax, %ecx
negl %ecx
shrl %cl, %r10d
movl $0x20, %edx
subl %eax, %edx
movq 0x8(%r15), %r9
movl %r10d, %r11d
movl %r11d, %ecx
shrl $0x5, %ecx
movl (%r9,%rcx,4), %ecx
btl %r11d, %ecx
jae 0x135f24
movl %r11d, %ecx
leaq (%rcx,%rcx,2), %rcx
cmpq %r13, (%rbp,%rcx,4)
je 0x135f27
incl %r11d
andl %r8d, %r11d
cmpl %r10d, %r11d
jne 0x135efb
movl %edi, %r11d
movl %eax, %ecx
shrl %cl, %r11d
testl %r11d, %r11d
sete %al
movq %r14, %rcx
notq %rcx
movq %r14, %r10
shlq $0x15, %r10
addq %rcx, %r10
movq %r10, %rcx
shrq $0x18, %rcx
xorq %r10, %rcx
imulq $0x109, %rcx, %rcx      # imm = 0x109
movq %rcx, %r10
shrq $0xe, %r10
xorq %rcx, %r10
leaq (%r10,%r10,4), %rcx
leaq (%r10,%rcx,4), %rcx
movq %rcx, %r10
shrq $0x1c, %r10
xorl %ecx, %r10d
imull $0x1e3779b9, %r10d, %r10d # imm = 0x1E3779B9
movl %edx, %ecx
shrl %cl, %r10d
movl %r10d, %ecx
movl %ecx, %edx
shrl $0x5, %edx
movl (%r9,%rdx,4), %edx
btl %ecx, %edx
jae 0x135fa3
movl %ecx, %edx
leaq (%rdx,%rdx,2), %rdx
cmpq %r14, (%rbp,%rdx,4)
je 0x135fad
incl %ecx
andl %r8d, %ecx
cmpl %r10d, %ecx
jne 0x135f7e
movl %edi, %ecx
jmp 0x135fad
xorl %ecx, %ecx
xorl %eax, %eax
xorl %edi, %edi
testb %al, %al
jne 0x135fb9
cmpl %edi, %ecx
jae 0x136140
movq %r12, 0x30(%rsp)
movq 0x48(%rsp), %r12
movq 0x40(%r12), %rax
movq (%rax,%r13,8), %rcx
movq 0x8(%rax,%r13,8), %rdx
movq 0x8(%r12), %rdi
addq %rcx, %rdi
subq %rcx, %rdx
movl $0x1, %esi
movq 0x80(%rsp), %rbx
movq %rbx, %rcx
callq 0x2410
movl $0x9, %edi
movq %rbx, %rsi
callq 0x2270
movq 0x18(%r12), %rax
movq (%rax,%r13,8), %rdx
movq %rbx, %rdi
leaq 0x10979a(%rip), %rsi    # 0x23f7ab
xorl %eax, %eax
callq 0x22b0
movq 0x60(%rsp), %rax
movq (%rax), %rax
movq 0x30(%rsp), %rcx
leaq (,%rcx,8), %rcx
leaq (%rcx,%rcx,4), %r13
movl (%rax,%r13), %edx
movq %rbx, %rdi
leaq 0xfae20(%rip), %rsi     # 0x230e5f
xorl %eax, %eax
callq 0x22b0
movq 0x60(%rsp), %rax
movq (%rax), %rax
movl 0x8(%rax,%r13), %edx
movq %rbx, %rdi
leaq 0xfae02(%rip), %rsi     # 0x230e5f
xorl %eax, %eax
callq 0x22b0
movq 0x60(%rsp), %rax
movq (%rax), %rax
cmpl $0x0, 0x18(%rax,%r13)
leaq 0xfadea(%rip), %rdi     # 0x230e63
leaq 0xfade6(%rip), %rax     # 0x230e66
cmovnsq %rax, %rdi
movq %rbx, %rsi
callq 0x21d0
movq 0x40(%r12), %rax
movq (%rax,%r14,8), %rcx
movq 0x8(%rax,%r14,8), %rdx
movq 0x8(%r12), %rdi
addq %rcx, %rdi
subq %rcx, %rdx
movl $0x1, %esi
movq %rbx, %rcx
callq 0x2410
movl $0x9, %edi
movq %rbx, %rsi
callq 0x2270
movq 0x18(%r12), %rax
movq 0x30(%rsp), %r12
movq (%rax,%r14,8), %rdx
movq %rbx, %rdi
leaq 0x1096d4(%rip), %rsi    # 0x23f7ab
xorl %eax, %eax
callq 0x22b0
movq 0x60(%rsp), %rax
movq (%rax), %rax
movl 0x10(%rax,%r13), %edx
movq %rbx, %rdi
leaq 0xfad6a(%rip), %rsi     # 0x230e5f
xorl %eax, %eax
callq 0x22b0
movq 0x60(%rsp), %rax
movq (%rax), %rax
movl 0x14(%rax,%r13), %edx
movq 0x18(%rax,%r13), %r8
movl %r8d, %ecx
shrl $0x1e, %ecx
andl $0x1, %ecx
shrq $0x20, %r8
andl $0x7fffffff, %r8d       # imm = 0x7FFFFFFF
movq %rbx, %rdi
movq 0x60(%rsp), %rbx
leaq 0x105080(%rip), %rsi    # 0x23b1b1
movl 0x8(%rsp), %r9d
xorl %eax, %eax
callq 0x22b0
movl 0xc(%rbx), %esi
incq %r12
movslq %esi, %rax
cmpq %rax, %r12
jl 0x135e79
movl $0x0, 0x8(%rsp)
movq 0x28(%rsp), %rax
testb $0x1, (%rsp)
movl $0x0, %edx
jne 0x135e50
movq 0x20(%rsp), %rcx
incq %rcx
movq 0x48(%rsp), %rax
cmpq 0x50(%rax), %rcx
jb 0x135e33
testq %r15, %r15
je 0x1361b2
movq 0x10(%r15), %rdi
callq 0x2220
movq 0x8(%r15), %rdi
callq 0x2220
movq %r15, %rdi
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2220
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq