// File: /workspace/github_cpp_makefile_star2_O2/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 $0xa8, %rsp
movq %rcx, 0x78(%rsp)
movl %esi, 0x54(%rsp)
movq %rdi, 0x48(%rsp)
movups 0x78(%rdi), %xmm0
movaps %xmm0, 0x90(%rsp)
testl %edx, %edx
jle 0xef99c
movl %edx, %ebx
movq 0x163ff0(%rip), %rax    # 0x252fb8
movq (%rax), %rax
movq %rax, 0x88(%rsp)
pushq $0x1
popq %rdi
pushq $0x18
popq %rsi
callq 0x2120
movq %rax, %rbp
movl %ebx, %eax
movq %rax, 0x80(%rsp)
pushq $0x1
popq %r13
pushq $0x20
popq %rax
movl %eax, 0x68(%rsp)
xorl %r12d, %r12d
movl $0x0, 0x20(%rsp)
movl $0x0, 0x58(%rsp)
movl $0x0, 0x50(%rsp)
movl $0x0, 0x10(%rsp)
xorl %r14d, %r14d
xorl %ebx, %ebx
xorl %ecx, %ecx
movq %rbp, 0x40(%rsp)
cmpq 0x80(%rsp), %rcx
movq %r14, %r15
je 0xef3cd
movq 0x78(%rsp), %rax
movq %rcx, 0x60(%rsp)
movq (%rax,%rcx,8), %rdi
movq %rdi, 0x38(%rsp)
callq 0xefda9
movl %r13d, %esi
movl 0x10(%rsp), %ecx
shll %cl, %esi
testq %r12, %r12
cmovnel %ecx, %ebx
movl $0x0, %ecx
cmovel %ecx, %esi
movl %eax, 0x28(%rsp)
movl 0x4(%rbp), %edx
movl %esi, %eax
shrl %eax
movl %esi, %ecx
shrl $0x2, %ecx
addl %eax, %ecx
movl %edx, 0x6c(%rsp)
cmpl %ecx, %edx
jae 0xef08b
movl 0x20(%rsp), %ecx
movl %ecx, %r14d
jmp 0xef285
incl %esi
xorl %eax, %eax
movl %esi, %ecx
cmpl $0x2, %ecx
jb 0xef09c
shrl %ecx
incl %eax
jmp 0xef091
leal -0x1(%rsi), %ecx
andl %esi, %ecx
cmpl $0x1, %ecx
sbbl $-0x1, %eax
cmpl $0x3, %eax
pushq $0x2
popq %rcx
cmovael %eax, %ecx
movl %r13d, %esi
movl %ecx, 0x18(%rsp)
shll %cl, %esi
movl %esi, %ecx
shrl %ecx
movl %esi, %edx
shrl $0x2, %edx
addl %ecx, %edx
cmpl %edx, 0x6c(%rsp)
jbe 0xef0dd
movl %r13d, %esi
movl 0x58(%rsp), %ecx
shll %cl, %esi
movl 0x20(%rsp), %r14d
jmp 0xef285
movq %rsi, 0x70(%rsp)
shrl $0x3, %esi
andl $-0x4, %esi
cmpl $0x5, %eax
pushq $0x4
popq %rax
cmovbl %eax, %esi
pushq $0x1
popq %rdi
callq 0x2120
testq %rax, %rax
je 0xef122
movq %rax, %rbp
testq %r12, %r12
je 0xef134
movl %r13d, %r14d
movl 0x50(%rsp), %ebx
movl %ebx, %ecx
shll %cl, %r14d
movl %ebx, 0x10(%rsp)
movq 0x70(%rsp), %rax
cmpl %eax, %r14d
jb 0xef137
jmp 0xef167
pushq $-0x1
popq %rax
movq 0x60(%rsp), %rcx
movq 0x40(%rsp), %rbp
jmp 0xef3a7
xorl %r14d, %r14d
movl %ebx, 0x8(%rsp)
pushq $0xc
popq %rsi
movl 0x18(%rsp), %ecx
shlq %cl, %rsi
movq %r12, %rdi
callq 0x2370
testq %rax, %rax
je 0xef3af
movq 0x40(%rsp), %rcx
movq %rax, 0x10(%rcx)
movq %rax, %r12
movq 0x70(%rsp), %rax
leal -0x1(%rax), %edx
pushq $0x20
popq %rax
subl 0x18(%rsp), %eax
movl %r14d, %r8d
xorl %ecx, %ecx
movq %r15, %rdi
cmpq %r8, %rcx
je 0xef235
movl %ecx, %esi
shrl $0x5, %esi
movl (%rdi,%rsi,4), %r11d
movl %r13d, %ebx
shll %cl, %ebx
btl %ecx, %r11d
jae 0xef22d
movq %rcx, 0x8(%rsp)
imulq $0xc, %rcx, %rcx
movq (%r12,%rcx), %r10
movl 0x8(%r12,%rcx), %r9d
notl %ebx
andl %ebx, %r11d
movl %r11d, (%rdi,%rsi,4)
imull $0x9e3779b9, %r9d, %esi # imm = 0x9E3779B9
movl %eax, %ecx
shrl %cl, %esi
movl %esi, %r11d
shrl $0x5, %r11d
movl (%rbp,%r11,4), %r14d
movl %r13d, %ebx
movl %esi, %ecx
shll %cl, %ebx
btl %esi, %r14d
jae 0xef1df
incl %esi
andl %edx, %esi
jmp 0xef1c0
orl %ebx, %r14d
movl %r14d, (%rbp,%r11,4)
movl %esi, %ecx
cmpl %r8d, %esi
movq %r15, %rdi
jae 0xef21b
testl %ebx, (%rdi,%r11,4)
je 0xef21b
imulq $0xc, %rcx, %rcx
movq (%r12,%rcx), %rsi
movl 0x8(%r12,%rcx), %r14d
movq %r10, (%r12,%rcx)
movl %r9d, 0x8(%r12,%rcx)
notl %ebx
andl %ebx, (%rdi,%r11,4)
movl %r14d, %r9d
movq %rsi, %r10
jmp 0xef1b5
imulq $0xc, %rcx, %rcx
movq %r10, (%r12,%rcx)
movl %r9d, 0x8(%r12,%rcx)
movq 0x8(%rsp), %rcx
incq %rcx
jmp 0xef179
cmpl 0x70(%rsp), %r8d
jbe 0xef264
pushq $0xc
popq %rsi
movl 0x18(%rsp), %r14d
movl %r14d, %ecx
shlq %cl, %rsi
movq %r12, %rdi
callq 0x2370
movq %rax, %r12
movq 0x40(%rsp), %rbx
movq %rax, 0x10(%rbx)
movq 0x8(%rbx), %rdi
jmp 0xef26e
movq 0x40(%rsp), %rbx
movl 0x18(%rsp), %r14d
callq 0x2220
movq %rbp, 0x8(%rbx)
movl %r14d, (%rbx)
movl %r14d, %ecx
movq %rbx, %rbp
movq 0x70(%rsp), %rsi
movl %r14d, 0x18(%rsp)
imull $0x9e3779b9, 0x28(%rsp), %ebx # imm = 0x9E3779B9
movl %ecx, 0x58(%rsp)
negb %cl
shrl %cl, %ebx
decl %esi
movq 0x8(%rbp), %rax
movq %rax, 0x8(%rsp)
movl %ebx, 0x10(%rsp)
movl %ebx, %r14d
shrl $0x5, %r14d
movq 0x8(%rsp), %rax
movl (%rax,%r14,4), %edx
movl %r13d, %r15d
movl %ebx, %ecx
shll %cl, %r15d
btl %ebx, %edx
jae 0xef31f
movl %edx, 0x20(%rsp)
movq %r12, %rcx
movq %rsi, %r12
movl %ebx, %eax
imulq $0xc, %rax, %rax
movq (%rcx,%rax), %rdi
movq %rcx, %rbp
movl 0x8(%rcx,%rax), %esi
movq 0x38(%rsp), %rdx
movl 0x28(%rsp), %ecx
callq 0xefdc4
testl %eax, %eax
jne 0xef325
incl %ebx
movq %r12, %rsi
andl %esi, %ebx
cmpl 0x10(%rsp), %ebx
movq %rbp, %r12
jne 0xef2a9
movl 0x10(%rsp), %ecx
movl %ecx, %r14d
shrl $0x5, %r14d
movl %r13d, %r15d
shll %cl, %r15d
movq 0x8(%rsp), %rax
movl (%rax,%r14,4), %edx
jmp 0xef330
movl %ebx, 0x10(%rsp)
jmp 0xef330
movl %ebx, 0x10(%rsp)
movq %rbp, %r12
movl 0x20(%rsp), %edx
xorl %eax, %eax
testl %edx, %r15d
movq 0x60(%rsp), %rcx
je 0xef35c
movl 0x18(%rsp), %edx
movl %edx, 0x20(%rsp)
movl 0x58(%rsp), %ebx
movl %ebx, 0x50(%rsp)
movl %ebx, 0x10(%rsp)
movq 0x40(%rsp), %rbp
movq 0x8(%rsp), %r14
jmp 0xef3a7
movl 0x10(%rsp), %eax
imulq $0xc, %rax, %rax
movq 0x38(%rsp), %rdx
movq %rdx, (%r12,%rax)
movl 0x28(%rsp), %edx
movl %edx, 0x8(%r12,%rax)
movq 0x8(%rsp), %rax
orl %r15d, (%rax,%r14,4)
movq %rax, %r14
movl 0x6c(%rsp), %eax
incl %eax
movq 0x40(%rsp), %rbp
movl %eax, 0x4(%rbp)
movl 0x18(%rsp), %eax
movl %eax, 0x20(%rsp)
movl 0x58(%rsp), %ebx
movl %ebx, 0x50(%rsp)
movl %ebx, 0x10(%rsp)
movl %r13d, %eax
incq %rcx
jmp 0xef025
movq %rbp, %rdi
callq 0x2220
pushq $-0x1
popq %rax
movq %r15, %r14
movq 0x60(%rsp), %rcx
movq 0x40(%rsp), %rbp
movl 0x8(%rsp), %ebx
jmp 0xef3a7
movl %eax, 0x34(%rsp)
movq 0x48(%rsp), %rax
movq 0x50(%rax), %r13
xorl %edi, %edi
xorl %eax, %eax
cmpq %rax, %r13
je 0xef3fd
movq 0x48(%rsp), %rcx
movq 0x40(%rcx), %rcx
movl 0x8(%rcx,%rax,8), %edx
subl (%rcx,%rax,8), %edx
incq %rax
cmpl %edx, %edi
cmovlel %edx, %edi
jmp 0xef3de
incl %edi
callq 0x2280
movq %rax, 0x28(%rsp)
pushq $0x1
popq %rdi
pushq $0x18
popq %rsi
callq 0x2120
movq %rax, %rdx
pushq $0x1
popq %rax
movl %ebx, %ecx
shll %cl, %eax
movq %rax, 0x18(%rsp)
decl %eax
movl %eax, 0x10(%rsp)
subl %ebx, 0x68(%rsp)
movq $0x0, 0x38(%rsp)
movq %rdx, 0x8(%rsp)
movq %r13, 0x20(%rsp)
movq 0x38(%rsp), %r14
cmpq %r13, %r14
jae 0xef535
movq 0x48(%rsp), %rcx
movq 0x40(%rcx), %rbx
movq (%rbx,%r14,8), %rax
movq 0x8(%rbx,%r14,8), %rdx
movq 0x8(%rcx), %rsi
addq %rax, %rsi
leaq 0x1(%r14), %rcx
movq %rcx, 0x38(%rsp)
subq %rax, %rdx
movq 0x28(%rsp), %rbp
movq %rbp, %rdi
callq 0x20d0
movq 0x8(%rbx,%r14,8), %rax
subq (%rbx,%r14,8), %rax
movb $0x0, (%rbp,%rax)
movq %rbp, %rdi
callq 0xefda9
testq %r12, %r12
je 0xef440
movl %eax, %ebx
imull $0x9e3779b9, %eax, %r13d # imm = 0x9E3779B9
movl 0x68(%rsp), %ecx
shrl %cl, %r13d
movl %r13d, %ebp
movl %ebp, %eax
shrl $0x5, %eax
movl (%r15,%rax,4), %eax
btl %ebp, %eax
jae 0xef4e6
movl %ebp, %eax
imulq $0xc, %rax, %rax
movq (%r12,%rax), %rdi
movl 0x8(%r12,%rax), %esi
movq 0x28(%rsp), %rdx
movl %ebx, %ecx
callq 0xefdc4
testl %eax, %eax
jne 0xef4ef
incl %ebp
andl 0x10(%rsp), %ebp
cmpl %r13d, %ebp
jne 0xef4ae
movq 0x18(%rsp), %rax
movl %eax, %ebp
jmp 0xef4f4
movq 0x18(%rsp), %rax
cmpl %eax, %ebp
movq 0x20(%rsp), %r13
je 0xef440
movq 0x8(%rsp), %rdi
movq %r14, %rsi
leaq 0x34(%rsp), %rdx
callq 0xef9ae
movq 0x8(%rsp), %rdx
movq 0x10(%rdx), %rcx
movl %eax, %eax
imulq $0xc, %rax, %rax
orl $-0x1, 0x8(%rcx,%rax)
movq 0x48(%rsp), %rax
movq 0x50(%rax), %r13
jmp 0xef43b
movq 0x28(%rsp), %rdi
callq 0x2220
movq 0x40(%rsp), %rbx
testq %rbx, %rbx
je 0xef562
movq %r12, %rdi
callq 0x2220
movq 0x8(%rbx), %rdi
callq 0x2220
movq %rbx, %rdi
callq 0x2220
xorl %ecx, %ecx
movl 0x54(%rsp), %eax
testl %eax, %eax
cmovlel %ecx, %eax
movl %eax, 0x54(%rsp)
xorl %eax, %eax
movq 0x8(%rsp), %rsi
cmpl 0x54(%rsp), %eax
je 0xef71c
movq %rax, 0x10(%rsp)
xorl %ecx, %ecx
movq 0x48(%rsp), %rax
cmpq 0x50(%rax), %rcx
jae 0xef710
imulq $0x18, %rcx, %rax
movq %rax, 0x18(%rsp)
xorl %eax, %eax
movq %rcx, 0x20(%rsp)
cmpq $0x2, %rax
je 0xef708
movq %rax, 0x38(%rsp)
movq 0x90(%rsp,%rax,8), %rcx
addq 0x18(%rsp), %rcx
xorl %r15d, %r15d
xorl %ebx, %ebx
movq %rcx, 0x28(%rsp)
movslq 0xc(%rcx), %rax
cmpq %rax, %rbx
jge 0xef6f6
movq (%rcx), %rax
movq (%rax,%r15), %r13
shrq $0x20, %r13
movl 0xc(%rax,%r15), %r12d
movq 0x8(%rsp), %rdi
movq %r13, %rsi
callq 0xefcca
movq 0x8(%rsp), %rcx
movq 0x10(%rcx), %rbp
testq %rbp, %rbp
je 0xef610
movb (%rcx), %cl
movl %eax, %edx
shrl %cl, %edx
testl %edx, %edx
je 0xef615
xorl %r14d, %r14d
jmp 0xef628
movl %eax, %eax
imulq $0xc, %rax, %rax
movq 0x10(%rsp), %rcx
cmpl %ecx, 0x8(%rbp,%rax)
setl %r14b
movq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0xefcca
movq 0x8(%rsp), %rsi
testq %rbp, %rbp
je 0xef649
movb (%rsi), %cl
movl %eax, %edx
shrl %cl, %edx
testl %edx, %edx
je 0xef685
testb %r14b, %r14b
je 0xef6e5
movq 0x8(%rsp), %rdi
movq %r12, %rsi
leaq 0x34(%rsp), %rdx
callq 0xef9ae
movq 0x8(%rsp), %rsi
cmpl $0x0, 0x34(%rsp)
je 0xef6e5
movq 0x10(%rsi), %rcx
movl %eax, %eax
imulq $0xc, %rax, %rax
movq 0x10(%rsp), %rdx
movl %edx, 0x8(%rcx,%rax)
jmp 0xef6e5
movl %eax, %eax
imulq $0xc, %rax, %rax
movl 0x8(%rbp,%rax), %ebp
cmpl 0x10(%rsp), %ebp
setl %al
cmpb %al, %r14b
je 0xef6e5
testb %r14b, %r14b
jne 0xef6db
movq 0x8(%rsp), %rdi
movq %r13, %rsi
leaq 0x34(%rsp), %rdx
callq 0xef9ae
movq 0x8(%rsp), %rsi
cmpl $0x0, 0x34(%rsp)
je 0xef6db
movl %eax, %eax
imulq $0xc, %rax, %rax
movq 0x10(%rsi), %rcx
movq 0x10(%rsp), %rdx
movl %edx, 0x8(%rcx,%rax)
cmpl %edx, %ebp
jge 0xef652
jmp 0xef6e5
cmpl 0x10(%rsp), %ebp
jge 0xef652
incq %rbx
addq $0x28, %r15
movq 0x28(%rsp), %rcx
jmp 0xef5ce
movq 0x38(%rsp), %rax
incq %rax
movq 0x20(%rsp), %rcx
jmp 0xef5a8
incq %rcx
jmp 0xef589
movq 0x10(%rsp), %rax
incl %eax
jmp 0xef578
xorl %ecx, %ecx
movq 0x48(%rsp), %rax
cmpq 0x50(%rax), %rcx
jae 0xef969
imulq $0x18, %rcx, %rax
movq %rax, 0x60(%rsp)
xorl %eax, %eax
movq %rcx, 0x58(%rsp)
cmpq $0x2, %rax
je 0xef961
movq 0x90(%rsp,%rax,8), %rcx
addq 0x60(%rsp), %rcx
movq %rax, 0x18(%rsp)
xorl $0x1, %eax
movl %eax, 0x20(%rsp)
xorl %r14d, %r14d
xorl %edx, %edx
movq %rcx, 0x38(%rsp)
movslq 0xc(%rcx), %rax
cmpq %rax, %rdx
jge 0xef94f
movq %rdx, 0x10(%rsp)
movq (%rcx), %rax
movq (%rax,%r14), %rbx
shrq $0x20, %rbx
movl 0xc(%rax,%r14), %eax
movq %rax, 0x28(%rsp)
movq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0xefcca
movq 0x8(%rsp), %rcx
movl %eax, %r12d
movq 0x10(%rcx), %r13
xorl %ebp, %ebp
movl $0x0, %r15d
testq %r13, %r13
je 0xef7c0
movb (%rcx), %cl
pushq $0x1
popq %r15
shll %cl, %r15d
movq 0x8(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0xefcca
movq 0x8(%rsp), %rsi
testq %r13, %r13
je 0xef7e0
movb (%rsi), %cl
pushq $0x1
popq %rbp
shll %cl, %ebp
cmpl %r15d, %r12d
jb 0xef7ed
cmpl %ebp, %eax
jae 0xef939
movq 0x48(%rsp), %r15
movq 0x40(%r15), %rax
movq (%rax,%rbx,8), %rcx
movq 0x8(%rax,%rbx,8), %rdx
movq 0x8(%r15), %rdi
addq %rcx, %rdi
subq %rcx, %rdx
pushq $0x1
popq %rsi
movq 0x88(%rsp), %r12
movq %r12, %rcx
callq 0x2410
pushq $0x9
popq %rdi
movq %r12, %rsi
callq 0x2270
movq 0x18(%r15), %rax
movq (%rax,%rbx,8), %rdx
movq %r12, %rdi
leaq 0x101e32(%rip), %rsi    # 0x1f166b
xorl %eax, %eax
callq 0x22b0
movq 0x38(%rsp), %rbp
movq (%rbp), %rax
movl (%rax,%r14), %edx
movq %r12, %rdi
leaq 0xf35f8(%rip), %r13     # 0x1e2e4f
movq %r13, %rsi
xorl %eax, %eax
callq 0x22b0
movq (%rbp), %rax
movl 0x8(%rax,%r14), %edx
movq %r12, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x22b0
movq (%rbp), %rax
cmpl $0x0, 0x18(%rax,%r14)
leaq 0xf35cb(%rip), %rdi     # 0x1e2e53
leaq 0xf35c7(%rip), %rax     # 0x1e2e56
cmovnsq %rax, %rdi
movq %r12, %rsi
callq 0x21d0
movq 0x40(%r15), %rax
movq 0x28(%rsp), %rbx
movq (%rax,%rbx,8), %rcx
movq 0x8(%rax,%rbx,8), %rdx
movq 0x8(%r15), %rdi
addq %rcx, %rdi
subq %rcx, %rdx
pushq $0x1
popq %rsi
movq %r12, %rcx
callq 0x2410
pushq $0x9
popq %rdi
movq %r12, %rsi
callq 0x2270
movq 0x18(%r15), %rax
movq (%rax,%rbx,8), %rdx
movq %r12, %rdi
leaq 0x101d8c(%rip), %rsi    # 0x1f166b
xorl %eax, %eax
callq 0x22b0
movq (%rbp), %rax
movl 0x10(%rax,%r14), %edx
movq %r12, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x22b0
movq (%rbp), %rax
movl 0x14(%rax,%r14), %edx
movq 0x18(%rax,%r14), %r8
movl %r8d, %ecx
shrl $0x1e, %ecx
andl $0x1, %ecx
shrq $0x20, %r8
andl $0x7fffffff, %r8d       # imm = 0x7FFFFFFF
movq %r12, %rdi
leaq 0xfd779(%rip), %rsi     # 0x1ed0a1
movl 0x20(%rsp), %r9d
xorl %eax, %eax
callq 0x22b0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
incq %rdx
addq $0x28, %r14
movq 0x38(%rsp), %rcx
jmp 0xef76a
movq 0x18(%rsp), %rax
incq %rax
movq 0x58(%rsp), %rcx
jmp 0xef73d
incq %rcx
jmp 0xef71e
testq %rsi, %rsi
je 0xef99c
movq %rsi, %rbx
movq 0x10(%rsi), %rdi
callq 0x2220
movq 0x8(%rbx), %rdi
callq 0x2220
movq %rbx, %rdi
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2220
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq