// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/htab.cpp
// Function: mz2_worker_count(void*, int, void*)
void debug_adapter(const hifiasm_opt_t *asm_opt, All_reads *rs)
{
	int ret;
    uint32_t i, m, pass, unpass;
    gzFile fp = 0;
    kseq_t *ks = NULL;
	UC_Read ucr;
	init_UC_Read(&ucr);

    for (i = m = pass = unpass = 0; i < (uint32_t)asm_opt->num_reads; ++i)
    {
		if ((fp = gzopen(asm_opt->read_file_names[i], "r")) == 0) continue;
		ks = kseq_init(fp);
		while ((ret = kseq_read(ks)) >= 0) 
		{
			int l = ks->seq.l;
			if((l - asm_opt->adapterLen*2) <= 0) continue;
			recover_UC_Read(&ucr, rs, m);
			fprintf(stderr, "l: %d, ucr.length: %lld, asm_opt->adapterLen: %d\n", 
			l, ucr.length, asm_opt->adapterLen);
			if(memcmp(ucr.seq, ks->seq.s+asm_opt->adapterLen, ucr.length) == 0)
			{
				pass++;
			}
			else
			{
				unpass++;
			}
			m++;
		}
        kseq_destroy(ks);
        gzclose(fp);
		ks = NULL;
		fp = 0;
    }

	destory_UC_Read(&ucr);

	fprintf(stderr, "[M::%s::# reads: %u, # pass: %u, # unpass: %u\n]", __func__, m, pass, unpass);
	exit(1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdx, %r13
movq %rdi, 0x8(%rsp)
xorl %ebx, %ebx
cmpl $0x2, %esi
je 0xd8c9d
cmpl $0x1, %esi
je 0xd8923
testl %esi, %esi
jne 0xd8ef9
pushq $0x1
popq %rdi
pushq $0x58
popq %rsi
callq 0x2120
movq %rax, 0x10(%rsp)
movq 0x8(%rsp), %r13
movq %r13, (%rax)
movq 0x28(%r13), %rdx
movq %rdx, 0x8(%rax)
movq (%r13), %rcx
movl 0x14(%rcx), %ecx
movl %ecx, 0x20(%rax)
movq 0x68(%r13), %rsi
testq %rsi, %rsi
je 0xd87de
testb $0x10, 0x10(%r13)
jne 0xd8f52
cmpq $0x0, 0x78(%r13)
je 0xd90ae
movl $0x7fffffff, %ebp       # imm = 0x7FFFFFFF
xorl %ebx, %ebx
xorl %r15d, %r15d
xorl %r12d, %r12d
xorl %edi, %edi
xorl %r14d, %r14d
movq 0x78(%r13), %rax
cmpq (%rax), %rdx
jae 0xd8910
imulq $0x28, %rdx, %r13
addq 0x10(%rax), %r13
cmpl %r14d, %ebx
jne 0xd885c
movl %r14d, %r15d
shrl %r15d
addl %r14d, %r15d
cmpl $0x10, %r14d
pushq $0x10
popq %rax
cmovll %eax, %r15d
movq 0x10(%rsp), %r14
movl %r15d, 0x14(%r14)
leaq (,%r15,4), %rsi
callq 0x2370
movq %rax, 0x28(%r14)
movslq %r15d, %rsi
shlq $0x3, %rsi
movq %r12, %rdi
callq 0x2370
movq %rax, %r12
movq %rax, 0x30(%r14)
movl %r15d, %r14d
movl (%r13), %edi
andl $0x7fffffff, %edi       # imm = 0x7FFFFFFF
callq 0x2280
movq %rax, (%r12,%rbx,8)
movq 0x20(%r13), %rsi
testq %rsi, %rsi
je 0xd888c
movl (%r13), %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
movq %rax, %rdi
callq 0x2160
jmp 0xd88a7
andq $0x0, (%rsp)
xorl %edi, %edi
movq %rax, %rsi
movq %r13, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
pushq $-0x1
popq %r9
callq 0x9f29
movl (%r13), %eax
andl %ebp, %eax
movq 0x10(%rsp), %r9
movq 0x28(%r9), %rdi
leaq 0x1(%rbx), %rcx
movl %ecx, 0x10(%r9)
movl %eax, (%rdi,%rbx,4)
movq 0x8(%rsp), %rsi
movq 0x28(%rsi), %rdx
incq %rdx
movq %rdx, 0x28(%rsi)
movl (%r13), %eax
movq %rsi, %r13
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movslq 0x18(%r9), %r15
addq %rax, %r15
movl %r15d, 0x18(%r9)
movq (%rsi), %rsi
movl 0x8(%rsi), %r8d
subl %r8d, %eax
leal 0x1(%rax), %eax
movl $0x0, %r8d
cmovll %r8d, %eax
addl %eax, 0x1c(%r9)
movq %rcx, %rbx
cmpq %r15, 0x20(%rsi)
jg 0xd87fb
testl %r15d, %r15d
je 0xd8eef
movq 0x10(%rsp), %rbp
jmp 0xd93e3
movq 0x8(%rsp), %rax
movq (%rax), %rbx
movb 0x18(%rbx), %cl
pushq $0x1
popq %rax
shll %cl, %eax
movslq %eax, %r15
pushq $0x20
popq %rsi
movq %r15, %rdi
callq 0x2120
movq %rax, %r12
movq %rax, 0x48(%r13)
movq %r13, 0x10(%rsp)
cvtsi2sdl 0x1c(%r13), %xmm0
mulsd 0x10ac35(%rip), %xmm0   # 0x1e3590
cvtsi2sd %r15d, %xmm1
divsd %xmm1, %xmm0
cvttsd2si %xmm0, %ebp
movslq %ebp, %rax
incl %ebp
leaq 0x1(%rax), %rcx
imulq $0x18, %rcx, %rcx
movq %rcx, 0x18(%rsp)
leaq 0x8(,%rax,8), %r13
xorl %r14d, %r14d
testl %r15d, %r15d
cmovlel %r14d, %r15d
shlq $0x5, %r15
cmpq %r14, %r15
je 0xd89d0
movl %ebp, 0x4(%r12,%r14)
movq 0x8(%rsp), %rax
cmpq $0x0, 0x60(%rax)
je 0xd89bd
testb $0x1, 0x11(%rax)
jne 0xd89bd
movq 0x18(%rsp), %rdi
callq 0x2280
movq %rax, 0x18(%r12,%r14)
jmp 0xd89ca
movq %r13, %rdi
callq 0x2280
movq %rax, 0x10(%r12,%r14)
addq $0x20, %r14
jmp 0xd8990
cmpl $0x1, 0xc(%rbx)
jne 0xd8d5c
leaq 0x11311f(%rip), %rsi    # 0x1ebb00
xorpd %xmm0, %xmm0
xorl %r14d, %r14d
movq 0x10(%rsp), %rbp
movq 0x8(%rsp), %rbx
movslq 0x10(%rbp), %rax
cmpq %rax, %r14
jge 0xd93c8
movq (%rbx), %rax
movslq 0x8(%rax), %rdi
movq 0x28(%rbp), %rdx
pushq $-0x1
popq %r8
movl %edi, %ecx
shlq %cl, %r8
movq 0x30(%rbp), %rcx
movl (%rdx,%r14,4), %r9d
leaq -0x1(%rdi), %r10
testl %r9d, %r9d
movl $0x0, %edx
cmovlel %edx, %r9d
cmpl $0x0, 0x10(%rax)
movq 0x48(%rbp), %rdx
movq %rdx, 0x28(%rsp)
movl 0x18(%rax), %eax
movl %eax, 0x40(%rsp)
movq %r14, 0x80(%rsp)
movq (%rcx,%r14,8), %r11
notq %r8
movq %rdi, 0x18(%rsp)
movq %r8, 0x20(%rsp)
movq %r9, 0x38(%rsp)
movq %r10, 0x30(%rsp)
movq %r11, 0x78(%rsp)
je 0xd8b74
xorl %r15d, %r15d
xorl %ebx, %ebx
xorl %r13d, %r13d
xorl %r14d, %r14d
xorl %ebp, %ebp
pushq $-0x1
popq %rax
xorl %edx, %edx
cmpq %r15, %r9
je 0xd8c65
movzbl (%r11,%r15), %ecx
movzbl (%rcx,%rsi), %r12d
cmpl $0x3, %r12d
ja 0xd8aa2
cmpl %r12d, %eax
jne 0xd8ac8
movl %eax, %r12d
jmp 0xd8ac0
movapd %xmm0, 0x60(%rsp)
movapd %xmm0, 0x50(%rsp)
xorl %ebx, %ebx
xorl %r13d, %r13d
xorl %r14d, %r14d
xorl %ebp, %ebp
pushq $-0x1
popq %rax
movl %eax, %r12d
xorl %edx, %edx
incq %r15
movl %r12d, %eax
jmp 0xd8a7f
movq %r14, %rax
movl %r12d, %r14d
andl $0x1, %r14d
leaq (%r14,%rbx,2), %rbx
andq %r8, %rbx
movq %rbx, 0x50(%rsp)
addq %r13, %r13
movl %edx, %edi
movl %r12d, %edx
shrl %edx
orq %rdx, %r13
andq %r8, %r13
movq %r13, 0x58(%rsp)
xorl $0x1, %r14d
movl %r10d, %ecx
shlq %cl, %r14
shrq %rax
orq %rax, %r14
movq %r14, 0x60(%rsp)
movq %rbp, %rax
shrq %rax
pushq $0x1
popq %rcx
movl %ecx, %ebp
subl %edx, %ebp
movl %edi, %edx
movl %r10d, %ecx
shlq %cl, %rbp
orq %rax, %rbp
movq %rbp, 0x68(%rsp)
incl %edx
cmpl 0x18(%rsp), %edx
jl 0xd8ac0
leaq 0x50(%rsp), %rdi
movl %edx, 0x4c(%rsp)
callq 0xda310
movq 0x28(%rsp), %rdi
movl 0x40(%rsp), %esi
movq %rax, %rdx
callq 0xda255
movl 0x4c(%rsp), %edx
movq 0x78(%rsp), %r11
movq 0x30(%rsp), %r10
movq 0x38(%rsp), %r9
movq 0x20(%rsp), %r8
xorpd %xmm0, %xmm0
leaq 0x112f91(%rip), %rsi    # 0x1ebb00
jmp 0xd8ac0
xorl %ebx, %ebx
xorl %r15d, %r15d
xorl %r12d, %r12d
xorl %r13d, %r13d
xorl %r14d, %r14d
xorl %ebp, %ebp
cmpq %rbx, %r9
je 0xd8c65
movzbl (%r11,%rbx), %eax
movzbl (%rax,%rsi), %eax
cmpq $0x3, %rax
ja 0xd8c43
movq %r13, %rdx
movl %eax, %r13d
andl $0x1, %r13d
leaq (,%r15,2), %r15
addq %r13, %r15
andq %r8, %r15
movq %r15, 0x50(%rsp)
addq %r12, %r12
shrl %eax
orq %rax, %r12
andq %r8, %r12
movq %r12, 0x58(%rsp)
xorl $0x1, %r13d
movl %r10d, %ecx
shlq %cl, %r13
shrq %rdx
orq %rdx, %r13
movq %r13, 0x60(%rsp)
movq %r14, %rdx
shrq %rdx
pushq $0x1
popq %rcx
movl %ecx, %r14d
subl %eax, %r14d
movl %r10d, %ecx
shlq %cl, %r14
orq %rdx, %r14
movq %r14, 0x68(%rsp)
incl %ebp
cmpl 0x18(%rsp), %ebp
jl 0xd8c5d
leaq 0x50(%rsp), %rdi
callq 0xda310
movq 0x28(%rsp), %rdi
movl 0x40(%rsp), %esi
movq %rax, %rdx
callq 0xda255
movq 0x78(%rsp), %r11
movq 0x30(%rsp), %r10
movq 0x38(%rsp), %r9
movq 0x20(%rsp), %r8
xorpd %xmm0, %xmm0
leaq 0x112ebf(%rip), %rsi    # 0x1ebb00
jmp 0xd8c5d
movapd %xmm0, 0x60(%rsp)
movapd %xmm0, 0x50(%rsp)
xorl %r15d, %r15d
xorl %r12d, %r12d
xorl %r13d, %r13d
xorl %r14d, %r14d
xorl %ebp, %ebp
incq %rbx
jmp 0xd8b84
movq 0x8(%rsp), %rbx
cmpl $0x0, 0x18(%rbx)
movq 0x10(%rsp), %rbp
movq 0x80(%rsp), %r14
jne 0xd8c95
movq 0x30(%rbp), %rax
movq (%rax,%r14,8), %rdi
callq 0x2220
xorpd %xmm0, %xmm0
leaq 0x112e6b(%rip), %rsi    # 0x1ebb00
incq %r14
jmp 0xd89f2
movq 0x8(%rsp), %rax
movq (%rax), %rax
movb 0x18(%rax), %cl
pushq $0x1
popq %rdx
shll %cl, %edx
movl 0x1c(%rax), %edi
movslq %edx, %r15
leaq 0x1600(%rip), %rsi      # 0xda2ba
movq %r13, %rdx
movq %r15, %rcx
callq 0xc67c0
testl %r15d, %r15d
cmovlel %ebx, %r15d
shlq $0x5, %r15
xorl %r12d, %r12d
xorl %r14d, %r14d
cmpq %rbx, %r15
je 0xd8d1f
movq 0x48(%r13), %rax
movq 0x8(%rsp), %rcx
cmpq $0x0, 0x60(%rcx)
je 0xd8cfb
testb $0x1, 0x11(%rcx)
jne 0xd8cfb
leaq (%rax,%rbx), %rcx
addq $0x18, %rcx
jmp 0xd8d09
movq %r12, %rcx
shlq $0x5, %rcx
addq %rax, %rcx
addq $0x10, %rcx
addq 0x8(%rax,%rbx), %r14
movq (%rcx), %rdi
callq 0x2220
incq %r12
addq $0x20, %rbx
jmp 0xd8cd6
movq 0x8(%rsp), %rax
movq 0x58(%rax), %rax
testq %rax, %rax
je 0xd8d39
addq %r14, 0x10(%rax)
movslq 0x18(%r13), %rcx
addq %rcx, 0x18(%rax)
movq 0x8(%rsp), %rax
movq 0x60(%rax), %rax
testq %rax, %rax
je 0xd8d4b
addq %r14, 0x10(%rax)
movq 0x48(%r13), %rdi
callq 0x2220
movq %r13, %rdi
jmp 0xd8ef4
movq 0x10(%rsp), %rbp
movslq 0x10(%rbp), %r12
pushq $0x10
popq %r15
movq %r12, %rdi
movq %r15, %rsi
callq 0x2120
movq %rax, 0x40(%rbp)
movl 0x1c(%rbx), %eax
movslq %eax, %r13
movq %r13, %rdi
movq %r15, %rsi
callq 0x2120
movq %rax, 0x38(%rbp)
pushq $0x18
popq %rsi
movq %r13, %rdi
callq 0x2120
movq %rax, 0x50(%rbp)
leaq 0x1381(%rip), %rsi      # 0xda124
movl %r13d, %edi
movq %rbp, %rdx
movq %r12, %rcx
callq 0xc67c0
pushq $0x8
popq %rbx
xorl %r14d, %r14d
movq 0x8(%rsp), %r13
movq (%r13), %rax
movslq 0x1c(%rax), %rax
movq 0x50(%rbp), %rdi
cmpq %rax, %r14
jge 0xd8df0
movq (%rdi,%r15), %rdi
callq 0x2220
movq 0x38(%rbp), %rax
movq (%rax,%rbx), %rdi
callq 0x2220
incq %r14
addq $0x18, %r15
addq $0x10, %rbx
jmp 0xd8dbc
callq 0x2220
movq 0x38(%rbp), %rdi
callq 0x2220
cmpq $0x0, 0x60(%r13)
je 0xd8f00
testb $0x1, 0x11(%r13)
jne 0xd8f00
xorl %r15d, %r15d
pushq $-0x1
popq %rbp
movq 0x10(%rsp), %rax
movslq 0x10(%rax), %rax
cmpq %rax, %r15
jge 0xd937c
movq %r15, 0x18(%rsp)
shlq $0x4, %r15
xorl %r12d, %r12d
xorl %r13d, %r13d
movq 0x10(%rsp), %rdx
movq 0x40(%rdx), %rax
movl (%rax,%r15), %ecx
cmpq %rcx, %r13
jae 0xd8edd
addq %r15, %rax
movq 0x48(%rdx), %rdx
movq 0x8(%rsp), %rcx
movq (%rcx), %rcx
movb 0x18(%rcx), %cl
movq 0x8(%rax), %rbx
movl %ebp, %eax
shll %cl, %eax
notl %eax
andl (%rbx,%r12), %eax
shlq $0x5, %rax
leaq (%rdx,%rax), %r14
movl (%rdx,%rax), %ecx
cmpl 0x4(%rdx,%rax), %ecx
jne 0xd8eab
movl %ecx, %eax
shrl %eax
addl %ecx, %eax
cmpl $0x8, %ecx
pushq $0x8
popq %rcx
cmovll %ecx, %eax
movl %eax, 0x4(%r14)
movq 0x18(%r14), %rdi
imulq $0x18, %rax, %rsi
callq 0x2370
movq %rax, 0x18(%r14)
movl (%r14), %ecx
jmp 0xd8eaf
movq 0x18(%r14), %rax
addq %r12, %rbx
leal 0x1(%rcx), %edx
movl %edx, (%r14)
movslq %ecx, %rcx
imulq $0x18, %rcx, %rcx
movq 0x10(%rbx), %rdx
movq %rdx, 0x10(%rax,%rcx)
movupd (%rbx), %xmm0
movupd %xmm0, (%rax,%rcx)
incq %r13
addq $0x18, %r12
jmp 0xd8e3b
movq 0x18(%rsp), %r15
incq %r15
movq 0x8(%rsp), %r13
jmp 0xd8e1a
movq 0x10(%rsp), %rdi
callq 0x2220
xorl %ebp, %ebp
jmp 0xd93e3
xorl %ebx, %ebx
movslq 0x10(%rbp), %rax
cmpq %rax, %rbx
jge 0xd9381
movq %rbx, %r14
shlq $0x4, %r14
xorl %r15d, %r15d
xorl %r12d, %r12d
movq 0x40(%rbp), %rax
movl (%rax,%r14), %ecx
cmpq %rcx, %r12
jae 0xd8f4d
addq %r14, %rax
movq 0x48(%rbp), %rdi
movq (%r13), %rcx
movl 0x18(%rcx), %esi
movq 0x8(%rax), %rax
movq (%rax,%r15), %rdx
callq 0xda255
incq %r12
addq $0x18, %r15
jmp 0xd8f1c
incq %rbx
jmp 0xd8f02
leaq 0x38(%r13), %rax
movq %rax, 0x28(%rsp)
xorl %ebp, %ebp
xorl %r15d, %r15d
movq $0x0, 0x20(%rsp)
xorl %edi, %edi
xorl %ebx, %ebx
movl $0x0, 0x18(%rsp)
movq 0x50(%rsi), %rax
cmpq %rax, %rdx
jae 0xd8910
testb $0x40, 0x10(%r13)
je 0xd8f9c
movq 0x28(%rsi), %rcx
cmpb $0x0, (%rcx,%rdx)
je 0xd8f9c
incq %rdx
movq %rdx, 0x28(%r13)
jmp 0xd8f79
movq %rdi, %r12
movq 0x28(%rsp), %rdi
callq 0x715e
movq 0x40(%r13), %rax
cmpl %ebx, 0x18(%rsp)
jne 0xd9012
movl %ebx, %r14d
shrl %r14d
addl %ebx, %r14d
cmpl $0x10, %ebx
movq %rax, 0x20(%rsp)
pushq $0x10
popq %rax
cmovll %eax, %r14d
movq 0x10(%rsp), %rbx
movl %r14d, 0x14(%rbx)
leaq (,%r14,4), %rsi
movq %r12, %rdi
callq 0x2370
movq %rax, 0x28(%rbx)
movq 0x30(%rbx), %rdi
movslq %r14d, %rsi
shlq $0x3, %rsi
callq 0x2370
movq %rax, %r13
movq %rax, 0x30(%rbx)
movl 0x18(%rbx), %r15d
movl 0x1c(%rbx), %ebp
movl %r14d, 0x30(%rsp)
movq 0x20(%rsp), %rax
jmp 0xd9020
movl %ebx, 0x30(%rsp)
movq 0x10(%rsp), %rbx
movq 0x20(%rsp), %r13
movl %ebp, 0x38(%rsp)
movslq %eax, %rbp
movq %rbp, %rdi
callq 0x2280
movl 0x18(%rsp), %r14d
movl %r14d, %r12d
movq %r13, 0x20(%rsp)
movq %rax, (%r13,%r12,8)
movq 0x8(%rsp), %r13
movq 0x38(%r13), %rsi
movq %rax, %rdi
movq %rbp, %rdx
callq 0x2160
movq 0x28(%rbx), %rdi
incl %r14d
movl %r14d, 0x18(%rsp)
movl %r14d, 0x10(%rbx)
movl %ebp, (%rdi,%r12,4)
movq 0x28(%r13), %rdx
incq %rdx
movq %rdx, 0x28(%r13)
addl %ebp, %r15d
movl %r15d, 0x18(%rbx)
movq (%r13), %rax
subl 0x8(%rax), %ebp
leal 0x1(%rbp), %ebp
movl $0x0, %ecx
cmovll %ecx, %ebp
addl 0x38(%rsp), %ebp
movl %ebp, 0x1c(%rbx)
movslq %r15d, %rcx
cmpq %rcx, 0x20(%rax)
jle 0xd8910
movq 0x68(%r13), %rsi
movl 0x30(%rsp), %ebx
jmp 0xd8f75
leaq 0x17a6a3(%rip), %r14    # 0x253758
xorl %eax, %eax
xorl %r15d, %r15d
movq $0x0, 0x38(%rsp)
xorl %edx, %edx
movl $0x0, 0x30(%rsp)
movl $0x0, 0x18(%rsp)
movq %rdx, 0x28(%rsp)
movl %eax, 0x20(%rsp)
movq 0x8(%rsp), %rbx
movq 0x30(%rbx), %rdi
callq 0xd5448
testl %eax, %eax
js 0xd8910
movq (%rbx), %rcx
movq 0x30(%rbx), %rax
movq 0x30(%rax), %rbx
movslq 0x28(%rcx), %r12
movl %ebx, %ebp
subl %r12d, %ebp
subl %r12d, %ebp
testl %ebp, %ebp
jle 0xd90de
movl %ebp, %r13d
cmpq %r13, 0x2c8(%r14)
jg 0xd90de
cmpq $0x0, 0x2b0(%r14)
je 0xd9148
movq 0x2d0(%r14), %rcx
testq %rcx, %rcx
jle 0xd9148
movq 0x58(%rax), %rdi
addq %r12, %rdi
movq %r13, %rsi
pushq $0x21
popq %rdx
callq 0xdae01
testq %rax, %rax
je 0xd90de
movq 0x8(%rsp), %rax
movq 0x28(%rax), %rcx
cmpq $0x10000000, %rcx       # imm = 0x10000000
jae 0xd93f8
movq 0x70(%rax), %rdi
testq %rdi, %rdi
je 0xd9275
movq 0x8(%rsp), %rax
movl 0x10(%rax), %eax
testb $0x4, %al
jne 0xd91c7
testb $0x8, %al
je 0xd9275
movq 0x18(%rdi), %rax
cmpl (%rax,%rcx,8), %ebp
jne 0xd9426
movq 0x8(%rsp), %rax
movq (%rax), %rdx
movq 0x30(%rax), %rax
movq 0x40(%rax), %rax
movl 0x28(%rdx), %esi
addl %r12d, %r12d
subl %r12d, %ebx
xorl %edx, %edx
leaq 0x112952(%rip), %r9     # 0x1ebb00
subl $0x1, %ebx
jb 0xd91e8
movslq %esi, %rsi
movzbl (%rax,%rsi), %r8d
cmpb $0x4, (%r8,%r9)
sbbl $-0x1, %edx
incl %esi
jmp 0xd91ae
cmpq 0x50(%rdi), %rcx
jne 0xd941d
movq 0x8(%rsp), %rax
movq 0x30(%rax), %rax
movl (%rax), %edx
movl %ebp, %esi
callq 0x68b5
jmp 0xd9275
movq 0x10(%rdi), %rax
movq (%rax,%rcx,8), %rax
movq 0x8(%rsp), %rbx
movq (%rbx), %rsi
movq 0x30(%rbx), %r8
movslq 0x28(%rsi), %rsi
addq 0x40(%r8), %rsi
shlq $0x3, %rcx
addq (%rdi), %rcx
movl %edx, %r8d
movq %rax, %rdi
movq %r13, %rdx
callq 0x733a
movq 0x70(%rbx), %rax
movq 0x8(%rax), %rdi
movq 0x40(%rax), %rax
movq 0x28(%rbx), %rcx
movq 0x30(%rbx), %rsi
addq (%rax,%rcx,8), %rdi
movq (%rsi), %rdx
movq 0x10(%rsi), %rsi
callq 0x2160
movq 0x70(%rbx), %rax
movq 0x30(%rax), %rax
testq %rax, %rax
je 0xd9275
movq 0x8(%rsp), %rsi
movq (%rsi), %rcx
movq 0x28(%rsi), %rdx
movq (%rax,%rdx,8), %rdi
movq 0x30(%rsi), %rax
movslq 0x28(%rcx), %rsi
addq 0x58(%rax), %rsi
movq %r13, %rdx
pushq $0x2
popq %rcx
pushq $0x21
popq %r8
callq 0x754a
movl 0x30(%rsp), %eax
cmpl %eax, 0x18(%rsp)
jne 0xd92de
movl %eax, %ebx
shrl %ebx
addl %eax, %ebx
cmpl $0x10, %eax
pushq $0x10
popq %rax
cmovll %eax, %ebx
movq 0x10(%rsp), %r12
movl %ebx, 0x14(%r12)
leaq (,%rbx,4), %rsi
movq 0x28(%rsp), %rdi
callq 0x2370
movq %rax, 0x28(%r12)
movq 0x30(%r12), %rdi
movslq %ebx, %rsi
shlq $0x3, %rsi
callq 0x2370
movq %rax, 0x38(%rsp)
movq %rax, 0x30(%r12)
movl 0x18(%r12), %r15d
movl 0x1c(%r12), %eax
movl %eax, 0x20(%rsp)
movl %ebx, 0x30(%rsp)
jmp 0xd92e3
movq 0x10(%rsp), %r12
movq %r13, %rdi
callq 0x2280
movl 0x18(%rsp), %ebx
movl %ebx, %edx
movq %rdx, 0x40(%rsp)
movq 0x38(%rsp), %rcx
movq %rax, (%rcx,%rdx,8)
movq 0x8(%rsp), %r8
movq (%r8), %rdx
movq %rdx, 0x28(%rsp)
movq 0x30(%r8), %rcx
movslq 0x28(%rdx), %rsi
addq 0x40(%rcx), %rsi
movq %rax, %rdi
movq %r13, %rdx
movq %r8, %r13
callq 0x2160
movq 0x28(%r12), %rdx
incl %ebx
movl %ebx, 0x18(%rsp)
movl %ebx, 0x10(%r12)
movq 0x40(%rsp), %rax
movl %ebp, (%rdx,%rax,4)
incq 0x28(%r13)
addl %ebp, %r15d
movl %r15d, 0x18(%r12)
movq 0x28(%rsp), %rsi
subl 0x8(%rsi), %ebp
leal 0x1(%rbp), %eax
movl $0x0, %ecx
cmovll %ecx, %eax
movl 0x20(%rsp), %ecx
addl %eax, %ecx
movl %ecx, 0x1c(%r12)
movslq %r15d, %rax
cmpq %rax, 0x20(%rsi)
movl %ecx, %eax
jg 0xd90d5
jmp 0xd8910
movq 0x10(%rsp), %rbp
pushq $0x8
popq %rbx
xorl %r14d, %r14d
cltq
movq 0x40(%rbp), %rdi
cmpq %rax, %r14
jge 0xd93c3
movl -0x8(%rdi,%rbx), %eax
addq %rax, 0x20(%r13)
movq (%rdi,%rbx), %rdi
callq 0x2220
cmpl $0x0, 0x18(%r13)
jne 0xd93b7
movq 0x30(%rbp), %rax
movq (%rax,%r14,8), %rdi
callq 0x2220
incq %r14
movl 0x10(%rbp), %eax
addq $0x10, %rbx
jmp 0xd9387
callq 0x2220
movq 0x30(%rbp), %rdi
callq 0x2220
movq 0x28(%rbp), %rdi
callq 0x2220
xorpd %xmm0, %xmm0
movupd %xmm0, 0x28(%rbp)
movq %rbp, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x179be1(%rip), %rax    # 0x252fe0
movq (%rax), %rdi
leaq 0x112fc8(%rip), %rsi    # 0x1ec3d1
movl $0x10000000, %edx       # imm = 0x10000000
xorl %eax, %eax
callq 0x22b0
pushq $0x1
popq %rdi
callq 0x2250
leaq 0x112fe8(%rip), %rdi    # 0x1ec40c
jmp 0xd942d
leaq 0x11302e(%rip), %rdi    # 0x1ec45b
leaq 0x1127eb(%rip), %rsi    # 0x1ebc1f
leaq 0x112ff4(%rip), %rcx    # 0x1ec42f
movl $0x375, %edx            # imm = 0x375
callq 0x2110