// File: /workspace/github_cpp_makefile_star2_O1/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 $0x98, %rsp
cmpl $0x2, %esi
movq %rdx, 0x18(%rsp)
movq %rdi, 0x10(%rsp)
je 0x116b4a
cmpl $0x1, %esi
je 0x116542
testl %esi, %esi
jne 0x1172eb
movl $0x1, %edi
movl $0x58, %esi
callq 0x2120
movq 0x10(%rsp), %r8
movq %rax, %r10
movq %r8, (%rax)
movq 0x28(%r8), %rax
movq %rax, 0x8(%r10)
movq (%r8), %rax
movl 0x14(%rax), %eax
movl %eax, 0x20(%r10)
cmpq $0x0, 0x68(%r8)
movq %r10, %rbp
je 0x116416
testb $0x10, 0x10(%r8)
jne 0x116f25
cmpq $0x0, 0x78(%r8)
je 0x117038
xorl %r14d, %r14d
movl $0x7fffffff, %ebx       # imm = 0x7FFFFFFF
movq 0x28(%r8), %rcx
movq 0x78(%r8), %rax
cmpq (%rax), %rcx
jae 0x1172dc
leaq (%rcx,%rcx,4), %r15
shlq $0x3, %r15
addq 0x10(%rax), %r15
movslq 0x10(%r10), %r12
movl 0x14(%r10), %eax
cmpl %eax, %r12d
jne 0x116498
movl %eax, %r13d
shrl %r13d
addl %eax, %r13d
cmpl $0x10, %eax
movl $0x10, %eax
cmovll %eax, %r13d
movl %r13d, 0x14(%r10)
movq 0x28(%r10), %rdi
leaq (,%r13,4), %rsi
callq 0x2370
movq %rax, 0x28(%rbp)
movq 0x30(%rbp), %rdi
movslq %r13d, %rsi
shlq $0x3, %rsi
callq 0x2370
movq %rbp, %r10
movq %rax, 0x30(%rbp)
movl (%r15), %edi
andl $0x7fffffff, %edi       # imm = 0x7FFFFFFF
movq %r10, %r13
callq 0x2280
movq 0x30(%r13), %rcx
movq %rax, (%rcx,%r12,8)
movq 0x20(%r15), %rsi
testq %rsi, %rsi
je 0x1164cd
movl (%r15), %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
movq %rax, %rdi
callq 0x2160
jmp 0x1164ee
movq $0x0, (%rsp)
xorl %edi, %edi
movq %rax, %rsi
movq %r15, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
movq $-0x1, %r9
callq 0x36b0d
movl (%r15), %eax
andl %ebx, %eax
movq %rbp, %r10
movq 0x28(%rbp), %rcx
leal 0x1(%r12), %edx
movl %edx, 0x10(%rbp)
movl %eax, (%rcx,%r12,4)
movq 0x10(%rsp), %r8
incq 0x28(%r8)
movl (%r15), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movslq 0x18(%rbp), %rcx
addq %rax, %rcx
movl %ecx, 0x18(%rbp)
movq (%r8), %rdx
movl 0x8(%rdx), %esi
subl %esi, %eax
leal 0x1(%rax), %eax
cmovll %r14d, %eax
addl %eax, 0x1c(%rbp)
cmpq %rcx, 0x20(%rdx)
jg 0x116429
jmp 0x1172dc
movq (%rdi), %rax
movq %rax, 0x28(%rsp)
movl 0x18(%rax), %ebp
movl $0x1, %r14d
movl $0x1, %r13d
movl %ebp, %ecx
shll %cl, %r13d
movslq %r13d, %rdi
movl $0x20, %esi
callq 0x2120
movq 0x10(%rsp), %rcx
movq 0x18(%rsp), %r8
movq %rax, 0x48(%r8)
cmpl $0x1f, %ebp
je 0x116606
movq %rax, %r15
cvtsi2sdl 0x1c(%r8), %xmm0
mulsd 0x10efad(%rip), %xmm0   # 0x225540
cvtsi2sd %r13d, %xmm1
divsd %xmm1, %xmm0
cvttsd2si %xmm0, %ebp
incl %ebp
movq 0x60(%rcx), %rbx
movslq %ebp, %r12
shlq $0x3, %r12
leaq (%r12,%r12,2), %rax
movq %rax, 0x20(%rsp)
cmpl $0x2, %r13d
cmovgel %r13d, %r14d
shlq $0x5, %r14
xorl %r13d, %r13d
movl %ebp, 0x4(%r15,%r13)
testq %rbx, %rbx
je 0x1165e6
testb $0x1, 0x11(%rcx)
jne 0x1165e6
movq 0x20(%rsp), %rdi
callq 0x2280
movq %rax, 0x18(%r15,%r13)
jmp 0x1165f3
movq %r12, %rdi
callq 0x2280
movq %rax, 0x10(%r15,%r13)
addq $0x20, %r13
cmpq %r13, %r14
movq 0x18(%rsp), %r8
movq 0x10(%rsp), %rcx
jne 0x1165c5
movq 0x28(%rsp), %rbx
cmpl $0x1, 0xc(%rbx)
movslq 0x10(%r8), %r15
jne 0x116b83
testl %r15d, %r15d
jle 0x116efa
xorl %ebx, %ebx
xorpd %xmm0, %xmm0
leaq 0x1173e1(%rip), %rdi    # 0x22da10
movq (%rcx), %rax
movslq 0x8(%rax), %r10
movq $-0x1, %r11
movl %r10d, %ecx
shlq %cl, %r11
cmpl $0x0, 0x10(%rax)
leaq -0x1(%r10), %r15
movq 0x48(%r8), %rcx
movq %rcx, 0x80(%rsp)
movl 0x18(%rax), %ecx
notq %r11
movq %r15, 0x88(%rsp)
movq %rbx, 0x90(%rsp)
je 0x1168d0
movq 0x28(%r8), %rax
movq 0x30(%r8), %rdx
movslq (%rax,%rbx,4), %r14
movq (%rdx,%rbx,8), %rdx
movapd %xmm0, 0x40(%rsp)
movapd %xmm0, 0x30(%rsp)
testq %r14, %r14
jle 0x116b00
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %r12
movq 0x40(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x48(%rsp), %rbx
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
shll %cl, %ebp
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
notl %ebp
movl %ebp, 0x7c(%rsp)
xorl %ebp, %ebp
movl $0x0, 0x20(%rsp)
movq %r10, 0x70(%rsp)
movq %r11, 0x68(%rsp)
movq %r14, 0x60(%rsp)
movq %rdx, 0x50(%rsp)
movzbl (%rdx,%rbp), %ecx
movzbl (%rcx,%rdi), %r13d
cmpl $0x3, %r13d
ja 0x1166fd
cmpl %r13d, %eax
jne 0x11672c
movl %eax, %r13d
jmp 0x1168bc
movapd %xmm0, 0x40(%rsp)
movapd %xmm0, 0x30(%rsp)
xorl %esi, %esi
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
xorl %r12d, %r12d
movq $0x0, 0x28(%rsp)
xorl %ebx, %ebx
movl $0x0, 0x20(%rsp)
jmp 0x1168bc
movq 0x28(%rsp), %rax
movl %r13d, %edx
andl $0x1, %edx
leaq (%rdx,%rsi,2), %rsi
andq %r11, %rsi
movq %rsi, 0x58(%rsp)
movq %rsi, 0x30(%rsp)
addq %r12, %r12
movl %r13d, %esi
shrl %esi
orq %rsi, %r12
andq %r11, %r12
movq %r12, 0x38(%rsp)
xorl $0x1, %edx
movl %r15d, %ecx
shlq %cl, %rdx
shrq %rax
orq %rax, %rdx
movq %rdx, 0x28(%rsp)
movq %rdx, 0x40(%rsp)
movq %rbx, %rax
shrq %rax
movl $0x1, %ebx
subl %esi, %ebx
shlq %cl, %rbx
orq %rax, %rbx
movq %rbx, 0x48(%rsp)
movl 0x20(%rsp), %eax
incl %eax
movl %eax, 0x20(%rsp)
cmpl %r10d, %eax
jl 0x1168b2
xorl %eax, %eax
cmpq %rbx, %r12
setae %al
shll $0x4, %eax
movq 0x30(%rsp,%rax), %rcx
movq 0x38(%rsp,%rax), %rax
movq %rcx, %rdx
notq %rdx
shlq $0x15, %rcx
addq %rdx, %rcx
movq %rcx, %rdx
shrq $0x18, %rdx
xorq %rcx, %rdx
imulq $0x109, %rdx, %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
xorq %rcx, %rdx
movq %rax, %rcx
notq %rcx
shlq $0x15, %rax
addq %rcx, %rax
movq %rax, %rcx
shrq $0x18, %rcx
xorq %rax, %rcx
imulq $0x109, %rcx, %rax      # imm = 0x109
movq %rax, %rcx
shrq $0xe, %rcx
xorq %rax, %rcx
leaq (%rcx,%rcx,4), %rax
leaq (%rcx,%rax,4), %rax
movq %rax, %r14
shrq $0x1c, %r14
xorq %rax, %r14
addq %rdx, %r14
movl $0x80000001, %eax       # imm = 0x80000001
imulq %rax, %r14
movl %r14d, %ecx
andl 0x7c(%rsp), %ecx
shlq $0x5, %rcx
movq 0x80(%rsp), %rdx
leaq (%rdx,%rcx), %r15
movl 0x4(%rdx,%rcx), %eax
cmpl %eax, (%rdx,%rcx)
jne 0x116894
movl %eax, %esi
shrl %esi
addl %eax, %esi
cmpl $0x8, %eax
movl $0x8, %eax
cmovll %eax, %esi
movl %esi, 0x4(%r15)
movq 0x10(%r15), %rdi
shlq $0x3, %rsi
callq 0x2370
movq 0x68(%rsp), %r11
movq 0x70(%rsp), %r10
leaq 0x117189(%rip), %rdi    # 0x22da10
xorpd %xmm0, %xmm0
movq 0x18(%rsp), %r8
movq %rax, 0x10(%r15)
movq 0x10(%r15), %rax
movslq (%r15), %rcx
leal 0x1(%rcx), %edx
movl %edx, (%r15)
movq %r14, (%rax,%rcx,8)
movq 0x88(%rsp), %r15
movq 0x60(%rsp), %r14
movq 0x50(%rsp), %rdx
movq 0x58(%rsp), %rsi
incq %rbp
movl %r13d, %eax
cmpq %rbp, %r14
jne 0x1166e1
jmp 0x116b00
movq 0x28(%r8), %rax
movq 0x30(%r8), %rdx
movslq (%rax,%rbx,4), %rsi
movq (%rdx,%rbx,8), %rbx
movapd %xmm0, 0x40(%rsp)
movapd %xmm0, 0x30(%rsp)
testq %rsi, %rsi
jle 0x116b00
movq 0x30(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x38(%rsp), %r12
movq 0x40(%rsp), %r14
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
shll %cl, %eax
movq 0x48(%rsp), %rbp
notl %eax
movl %eax, 0x50(%rsp)
xorl %r13d, %r13d
xorl %r9d, %r9d
movq %r10, 0x70(%rsp)
movq %r11, 0x68(%rsp)
movq %rsi, 0x60(%rsp)
movq %rbx, 0x58(%rsp)
movzbl (%rbx,%r13), %eax
movzbl (%rax,%rdi), %eax
cmpq $0x3, %rax
ja 0x116ad4
movq %r14, %rdx
movl %eax, %r14d
andl $0x1, %r14d
movq 0x20(%rsp), %rcx
leaq (%r14,%rcx,2), %rcx
andq %r11, %rcx
movq %rcx, 0x20(%rsp)
movq %rcx, 0x30(%rsp)
addq %r12, %r12
shrl %eax
orq %rax, %r12
andq %r11, %r12
movq %r12, 0x38(%rsp)
xorl $0x1, %r14d
movl %r15d, %ecx
shlq %cl, %r14
shrq %rdx
orq %rdx, %r14
movq %r14, 0x40(%rsp)
movq %rbp, %rdx
shrq %rdx
movl $0x1, %ebp
subl %eax, %ebp
shlq %cl, %rbp
orq %rdx, %rbp
movq %rbp, 0x48(%rsp)
incl %r9d
cmpl %r10d, %r9d
jl 0x116af4
movl %r9d, 0x28(%rsp)
xorl %eax, %eax
cmpq %rbp, %r12
setae %al
shll $0x4, %eax
movq 0x30(%rsp,%rax), %rcx
movq 0x38(%rsp,%rax), %rax
movq %rcx, %rdx
notq %rdx
shlq $0x15, %rcx
addq %rdx, %rcx
movq %rcx, %rdx
shrq $0x18, %rdx
xorq %rcx, %rdx
imulq $0x109, %rdx, %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
xorq %rcx, %rdx
movq %rax, %rcx
notq %rcx
shlq $0x15, %rax
addq %rcx, %rax
movq %rax, %rcx
shrq $0x18, %rcx
xorq %rax, %rcx
imulq $0x109, %rcx, %rax      # imm = 0x109
movq %rax, %rcx
shrq $0xe, %rcx
xorq %rax, %rcx
leaq (%rcx,%rcx,4), %rax
leaq (%rcx,%rax,4), %rax
movq %rax, %rbx
shrq $0x1c, %rbx
xorq %rax, %rbx
addq %rdx, %rbx
movl $0x80000001, %eax       # imm = 0x80000001
imulq %rax, %rbx
movl %ebx, %ecx
andl 0x50(%rsp), %ecx
shlq $0x5, %rcx
movq 0x80(%rsp), %rdx
leaq (%rdx,%rcx), %r15
movl 0x4(%rdx,%rcx), %eax
cmpl %eax, (%rdx,%rcx)
jne 0x116aaf
movl %eax, %esi
shrl %esi
addl %eax, %esi
cmpl $0x8, %eax
movl $0x8, %eax
cmovll %eax, %esi
movl %esi, 0x4(%r15)
movq 0x10(%r15), %rdi
shlq $0x3, %rsi
callq 0x2370
movq 0x60(%rsp), %rsi
movq 0x68(%rsp), %r11
movq 0x70(%rsp), %r10
leaq 0x116f6e(%rip), %rdi    # 0x22da10
xorpd %xmm0, %xmm0
movq 0x18(%rsp), %r8
movq %rax, 0x10(%r15)
movq 0x10(%r15), %rax
movslq (%r15), %rcx
leal 0x1(%rcx), %edx
movl %edx, (%r15)
movq %rbx, (%rax,%rcx,8)
movq 0x88(%rsp), %r15
movq 0x58(%rsp), %rbx
movl 0x28(%rsp), %r9d
jmp 0x116af4
movapd %xmm0, 0x40(%rsp)
movapd %xmm0, 0x30(%rsp)
movq $0x0, 0x20(%rsp)
xorl %r12d, %r12d
xorl %r14d, %r14d
xorl %ebp, %ebp
xorl %r9d, %r9d
incq %r13
cmpq %r13, %rsi
jne 0x116935
movq 0x10(%rsp), %rcx
cmpl $0x0, 0x18(%rcx)
movq 0x90(%rsp), %rbx
jne 0x116b35
movq 0x30(%r8), %rax
movq (%rax,%rbx,8), %rdi
callq 0x2220
leaq 0x116ee9(%rip), %rdi    # 0x22da10
xorpd %xmm0, %xmm0
movq 0x10(%rsp), %rcx
movq 0x18(%rsp), %r8
incq %rbx
movslq 0x10(%r8), %rax
cmpq %rax, %rbx
jl 0x11662f
jmp 0x116efa
movq (%rdi), %rax
movl 0x18(%rax), %ebp
movl 0x1c(%rax), %edi
movl $0x1, %ebx
movl $0x1, %r14d
movl %ebp, %ecx
shll %cl, %r14d
movslq %r14d, %rcx
leaq 0x188b(%rip), %rsi      # 0x1183f8
callq 0x1047b4
cmpl $0x1f, %ebp
jne 0x116d30
xorl %r14d, %r14d
jmp 0x116d91
movl $0x10, %r14d
movl $0x10, %esi
movq %r15, %rdi
movq %r8, %r13
movq %rcx, %rbp
callq 0x2120
movq %rax, 0x40(%r13)
movl 0x1c(%rbx), %eax
movslq %eax, %r12
movl $0x10, %esi
movq %r12, %rdi
callq 0x2120
movq %rax, 0x38(%r13)
movl $0x18, %esi
movq %r12, %rdi
callq 0x2120
movq %rax, 0x50(%r13)
leaq 0x16e7(%rip), %rsi      # 0x1182b6
movl %r12d, %edi
movq %r13, %rdx
movq %r15, %rcx
callq 0x1047b4
movq (%rbp), %rax
cmpl $0x0, 0x1c(%rax)
jle 0x116c21
movl $0x8, %ebx
xorl %r15d, %r15d
movq 0x50(%r13), %rax
movq (%rax,%r14), %rdi
callq 0x2220
movq 0x38(%r13), %rax
movq (%rax,%rbx), %rdi
callq 0x2220
incq %r15
movq (%rbp), %rax
movslq 0x1c(%rax), %rax
addq $0x18, %r14
addq $0x10, %rbx
cmpq %rax, %r15
jl 0x116bef
movq 0x50(%r13), %rdi
callq 0x2220
movq 0x38(%r13), %rdi
callq 0x2220
cmpq $0x0, 0x60(%rbp)
movq %rbp, %rdi
je 0x116dce
testb $0x1, 0x11(%rdi)
jne 0x116dce
movq 0x18(%rsp), %r8
cmpl $0x0, 0x10(%r8)
jle 0x116e95
xorl %ebx, %ebx
movq 0x40(%r8), %rax
movq %rbx, %r14
shlq $0x4, %r14
cmpl $0x0, (%rax,%r14)
je 0x116d1b
xorl %r15d, %r15d
xorl %r12d, %r12d
movq 0x48(%r8), %rdx
movq (%rdi), %rcx
movb 0x18(%rcx), %cl
movq 0x8(%rax,%r14), %r13
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
shll %cl, %esi
notl %esi
andl (%r13,%r15), %esi
shlq $0x5, %rsi
leaq (%rdx,%rsi), %rbp
movl 0x4(%rdx,%rsi), %eax
cmpl %eax, (%rdx,%rsi)
jne 0x116cda
movl %eax, %ecx
shrl %ecx
addl %eax, %ecx
cmpl $0x8, %eax
movl $0x8, %eax
cmovll %eax, %ecx
movl %ecx, 0x4(%rbp)
movq 0x18(%rbp), %rdi
shlq $0x3, %rcx
leaq (%rcx,%rcx,2), %rsi
callq 0x2370
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %r8
movq %rax, 0x18(%rbp)
addq %r15, %r13
movq 0x18(%rbp), %rax
movslq (%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, (%rbp)
leaq (%rcx,%rcx,2), %rcx
movq 0x10(%r13), %rdx
movq %rdx, 0x10(%rax,%rcx,8)
movupd (%r13), %xmm0
movupd %xmm0, (%rax,%rcx,8)
incq %r12
movq 0x40(%r8), %rax
movl (%rax,%r14), %ecx
addq $0x18, %r15
cmpq %rcx, %r12
jb 0x116c79
incq %rbx
movslq 0x10(%r8), %rax
cmpq %rax, %rbx
jl 0x116c5d
jmp 0x116e95
cmpl $0x2, %r14d
cmovgel %r14d, %ebx
shlq $0x5, %rbx
xorl %r15d, %r15d
xorl %r12d, %r12d
xorl %r14d, %r14d
movq 0x18(%rsp), %rax
movq 0x48(%rax), %rax
movq 0x10(%rsp), %rcx
cmpq $0x0, 0x60(%rcx)
je 0x116d6a
testb $0x1, 0x11(%rcx)
jne 0x116d6a
leaq (%rax,%r15), %rcx
addq $0x18, %rcx
jmp 0x116d78
movq %r12, %rcx
shlq $0x5, %rcx
addq %rax, %rcx
addq $0x10, %rcx
addq 0x8(%rax,%r15), %r14
movq (%rcx), %rdi
callq 0x2220
incq %r12
addq $0x20, %r15
cmpq %r15, %rbx
jne 0x116d45
movq 0x10(%rsp), %rdx
movq 0x58(%rdx), %rax
testq %rax, %rax
movq 0x18(%rsp), %rbx
je 0x116db0
addq %r14, 0x10(%rax)
movslq 0x18(%rbx), %rcx
addq %rcx, 0x18(%rax)
movq 0x60(%rdx), %rax
testq %rax, %rax
je 0x116dbd
addq %r14, 0x10(%rax)
movq 0x48(%rbx), %rdi
callq 0x2220
movq %rbx, %rdi
jmp 0x1172e6
movq 0x18(%rsp), %r8
cmpl $0x0, 0x10(%r8)
jle 0x116e95
xorl %ebx, %ebx
movq 0x40(%r8), %rax
movq %rbx, %r14
shlq $0x4, %r14
cmpl $0x0, (%rax,%r14)
je 0x116e85
xorl %r15d, %r15d
xorl %r12d, %r12d
movq 0x48(%r8), %rdx
movq (%rdi), %rcx
movb 0x18(%rcx), %cl
movq 0x8(%rax,%r14), %rax
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
shll %cl, %esi
movq (%rax,%r15), %r13
notl %esi
andl %r13d, %esi
shlq $0x5, %rsi
leaq (%rdx,%rsi), %rbp
movl 0x4(%rdx,%rsi), %eax
cmpl %eax, (%rdx,%rsi)
jne 0x116e5b
movl %eax, %esi
shrl %esi
addl %eax, %esi
cmpl $0x8, %eax
movl $0x8, %eax
cmovll %eax, %esi
movl %esi, 0x4(%rbp)
movq 0x10(%rbp), %rdi
shlq $0x3, %rsi
callq 0x2370
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %r8
movq %rax, 0x10(%rbp)
movq 0x10(%rbp), %rax
movslq (%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, (%rbp)
movq %r13, (%rax,%rcx,8)
incq %r12
movq 0x40(%r8), %rax
movl (%rax,%r14), %ecx
addq $0x18, %r15
cmpq %rcx, %r12
jb 0x116dfc
incq %rbx
movslq 0x10(%r8), %rax
cmpq %rax, %rbx
jl 0x116de0
cmpl $0x0, 0x10(%r8)
jle 0x116eec
movl $0x8, %ebx
xorl %r14d, %r14d
movq 0x40(%r8), %rax
movl -0x8(%rax,%rbx), %ecx
addq %rcx, 0x20(%rdi)
movq (%rax,%rbx), %rdi
movq %r8, %r15
callq 0x2220
movq 0x10(%rsp), %rdi
cmpl $0x0, 0x18(%rdi)
jne 0x116ed9
movq 0x30(%r15), %rax
movq (%rax,%r14,8), %rdi
callq 0x2220
movq 0x10(%rsp), %rdi
incq %r14
movslq 0x10(%r15), %rax
addq $0x10, %rbx
cmpq %rax, %r14
movq %r15, %r8
jl 0x116ea4
movq 0x40(%r8), %rdi
callq 0x2220
movq 0x18(%rsp), %r8
movq 0x30(%r8), %rdi
callq 0x2220
movq 0x18(%rsp), %rax
movq 0x28(%rax), %rdi
callq 0x2220
movq 0x18(%rsp), %r10
xorpd %xmm0, %xmm0
movupd %xmm0, 0x28(%r10)
jmp 0x1172ee
movq 0x28(%r8), %rdx
movq 0x68(%r8), %rsi
cmpq 0x50(%rsi), %rdx
jae 0x1172dc
leaq 0x38(%r8), %r15
xorl %ebx, %ebx
testb $0x40, 0x10(%r8)
je 0x116f5a
movq 0x28(%rsi), %rax
cmpb $0x0, (%rax,%rdx)
je 0x116f5a
incq %rdx
movq %rdx, 0x28(%r8)
jmp 0x117021
movq %r15, %rdi
movq %r8, %r14
callq 0x33cf8
movq 0x40(%r14), %r12
movslq 0x10(%rbp), %r14
movl 0x14(%rbp), %eax
cmpl %eax, %r14d
jne 0x116fb7
movl %eax, %r13d
shrl %r13d
addl %eax, %r13d
cmpl $0x10, %eax
movl $0x10, %eax
cmovll %eax, %r13d
movl %r13d, 0x14(%rbp)
movq 0x28(%rbp), %rdi
leaq (,%r13,4), %rsi
callq 0x2370
movq %rax, 0x28(%rbp)
movq 0x30(%rbp), %rdi
movslq %r13d, %rsi
shlq $0x3, %rsi
callq 0x2370
movq %rax, 0x30(%rbp)
movslq %r12d, %r12
movq %r12, %rdi
callq 0x2280
movq 0x30(%rbp), %rcx
movq %rax, (%rcx,%r14,8)
movq 0x10(%rsp), %r13
movq 0x38(%r13), %rsi
movq %rax, %rdi
movq %r12, %rdx
callq 0x2160
movq %r13, %r8
movq %rbp, %r10
movq 0x28(%rbp), %rax
leal 0x1(%r14), %ecx
movl %ecx, 0x10(%rbp)
movl %r12d, (%rax,%r14,4)
incq 0x28(%r13)
movslq 0x18(%rbp), %rax
movslq %r12d, %rcx
addq %rax, %rcx
movl %ecx, 0x18(%rbp)
movq (%r13), %rax
subl 0x8(%rax), %r12d
leal 0x1(%r12), %edx
cmovll %ebx, %edx
addl %edx, 0x1c(%rbp)
cmpq %rcx, 0x20(%rax)
jle 0x1172dc
movq 0x28(%r8), %rdx
movq 0x68(%r8), %rsi
cmpq 0x50(%rsi), %rdx
jb 0x116f3d
jmp 0x1172dc
movq 0x30(%r8), %rdi
callq 0x11407e
movq 0x10(%rsp), %r13
movq %rbp, %r10
testl %eax, %eax
js 0x1172dc
leaq 0x173700(%rip), %rbx    # 0x28a758
movq (%r13), %rax
movq 0x30(%r13), %rdx
movl 0x30(%rdx), %r15d
movslq 0x28(%rax), %rsi
subl %esi, %r15d
subl %esi, %r15d
testl %r15d, %r15d
jle 0x1172c3
movl %r15d, %r12d
cmpq %r12, 0x2c8(%rbx)
jg 0x1172c3
cmpq $0x0, 0x2b0(%rbx)
setne %cl
movq 0x2d0(%rbx), %rax
testq %rax, %rax
setg %dil
andb %cl, %dil
cmpb $0x1, %dil
jne 0x1170ef
imulq %r12, %rax
testq %rax, %rax
setg %r8b
jle 0x1170e6
movq 0x58(%rdx), %rcx
addq %rsi, %rcx
movl $0x1, %edi
xorl %r9d, %r9d
movzbl -0x1(%rcx,%rdi), %r8d
addq %r8, %r9
addq $-0x21, %r9
cmpq %rax, %r9
setl %r8b
cmpq %r12, %rdi
jae 0x1170e6
incq %rdi
cmpq %rax, %r9
jl 0x1170c5
testb %r8b, %r8b
jne 0x1172c3
movq 0x28(%r13), %rcx
cmpq $0x10000000, %rcx       # imm = 0x10000000
jae 0x117303
movq 0x70(%r13), %rdi
testq %rdi, %rdi
je 0x117203
movl 0x10(%r13), %eax
testb $0x4, %al
jne 0x1171ec
testb $0x8, %al
je 0x117203
movq 0x18(%rdi), %rax
cmpl (%rax,%rcx,8), %r15d
jne 0x117311
cmpl $0x2, %r15d
movl $0x1, %eax
cmovgel %r15d, %eax
movq 0x40(%rdx), %r9
addq %rsi, %r9
xorl %r10d, %r10d
xorl %r8d, %r8d
leaq 0x1168c0(%rip), %rbx    # 0x22da10
movzbl (%r9,%r10), %r11d
cmpb $0x4, (%r11,%rbx)
sbbl $-0x1, %r8d
incq %r10
cmpq %r10, %rax
jne 0x117150
movq 0x10(%rdi), %rax
movq (%rax,%rcx,8), %rax
addq 0x40(%rdx), %rsi
shlq $0x3, %rcx
addq (%rdi), %rcx
movl %r8d, %r8d
movq %rax, %rdi
movq %r12, %rdx
callq 0x33ef7
movq 0x10(%rsp), %rbx
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
movq %rbp, %r10
je 0x117203
movq (%rbx), %rcx
movq 0x28(%rbx), %rdx
movq (%rax,%rdx,8), %rdi
movq 0x30(%rbx), %rax
movslq 0x28(%rcx), %rsi
addq 0x58(%rax), %rsi
movl $0x2, %ecx
movl $0x21, %r8d
movq %r12, %rdx
callq 0x3417c
jmp 0x117200
cmpq 0x50(%rdi), %rcx
jne 0x117308
movl (%rdx), %edx
movl %r15d, %esi
callq 0x33410
movq %rbp, %r10
movslq 0x10(%r10), %rbx
movl 0x14(%r10), %eax
cmpl %eax, %ebx
jne 0x117251
movl %eax, %r14d
shrl %r14d
addl %eax, %r14d
cmpl $0x10, %eax
movl $0x10, %eax
cmovll %eax, %r14d
movl %r14d, 0x14(%r10)
movq 0x28(%r10), %rdi
leaq (,%r14,4), %rsi
callq 0x2370
movq %rax, 0x28(%rbp)
movq 0x30(%rbp), %rdi
movslq %r14d, %rsi
shlq $0x3, %rsi
callq 0x2370
movq %rax, 0x30(%rbp)
movq %r12, %rdi
callq 0x2280
movq 0x30(%rbp), %rcx
movq %rax, (%rcx,%rbx,8)
movq 0x10(%rsp), %r13
movq (%r13), %r14
movq 0x30(%r13), %rcx
movslq 0x28(%r14), %rsi
addq 0x40(%rcx), %rsi
movq %rax, %rdi
movq %r12, %rdx
callq 0x2160
movq %rbp, %r10
movq 0x28(%rbp), %rax
leal 0x1(%rbx), %ecx
movl %ecx, 0x10(%rbp)
movl %r15d, (%rax,%rbx,4)
incq 0x28(%r13)
movslq 0x18(%rbp), %rax
movslq %r15d, %rcx
addq %rax, %rcx
movl %ecx, 0x18(%rbp)
subl 0x8(%r14), %r15d
leal 0x1(%r15), %eax
movl $0x0, %edx
cmovll %edx, %eax
addl %eax, 0x1c(%rbp)
cmpq %rcx, 0x20(%r14)
leaq 0x173497(%rip), %rbx    # 0x28a758
jle 0x1172dc
movq 0x30(%r13), %rdi
callq 0x11407e
movq 0x10(%rsp), %r13
movq %rbp, %r10
testl %eax, %eax
jns 0x117058
cmpl $0x0, 0x18(%r10)
jne 0x1172ee
movq %r10, %rdi
callq 0x2220
xorl %r10d, %r10d
movq %r10, %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x152ae
leaq 0x11700d(%rip), %rdi    # 0x22e31c
jmp 0x117318
leaq 0x117053(%rip), %rdi    # 0x22e36b
leaq 0x116810(%rip), %rsi    # 0x22db2f
leaq 0x117019(%rip), %rcx    # 0x22e33f
movl $0x375, %edx            # imm = 0x375
callq 0x2110