// File: /workspace/github_c_makefile_star2_O3/lh3[P]partig/sketch.c
// Function: pt_sketch
void pt_sketch(const char *str, int len, int w, int k, uint32_t rid, int is_hpc, pt_mz1_v *p)
{
	static const pt_mz1_t dummy = { UINT64_MAX, (1<<28) - 1, 0, 0 };
	uint64_t shift1 = k - 1, mask = (1ULL<<k) - 1, kmer[4] = {0,0,0,0};
	int i, j, l, buf_pos, min_pos, kmer_span = 0;
	pt_mz1_t buf[256], min = dummy;
	tiny_queue_t tq;

	assert(len > 0 && len < 1<<27 && rid < 1<<28 && (w > 0 && w < 256) && (k > 0 && k <= 63));

	memset(buf, 0xff, w * sizeof(pt_mz1_t));
	memset(&tq, 0, sizeof(tiny_queue_t));
	kv_resize(pt_mz1_t, *p, p->n + len/w);

	for (i = l = buf_pos = min_pos = 0; i < len; ++i) {
		int c = seq_nt4_table[(uint8_t)str[i]];
		pt_mz1_t info = dummy;
		if (c < 4) { // not an ambiguous base
			int z;
			if (is_hpc) {
				int skip_len = 1;
				if (i + 1 < len && seq_nt4_table[(uint8_t)str[i + 1]] == c) {
					for (skip_len = 2; i + skip_len < len; ++skip_len)
						if (seq_nt4_table[(uint8_t)str[i + skip_len]] != c)
							break;
					i += skip_len - 1; // put $i at the end of the current homopolymer run
				}
				tq_push(&tq, skip_len);
				kmer_span += skip_len;
				if (tq.count > k) kmer_span -= tq_shift(&tq);
			} else kmer_span = l + 1 < k? l + 1 : k; 

			kmer[0] = (kmer[0] << 1 | (c&1))  & mask;                  // forward k-mer
			kmer[1] = (kmer[1] << 1 | (c>>1)) & mask;
			kmer[2] = kmer[2] >> 1 | (uint64_t)(1 - (c&1))  << shift1; // reverse k-mer
			kmer[3] = kmer[3] >> 1 | (uint64_t)(1 - (c>>1)) << shift1;
			if (kmer[1] == kmer[3]) continue; // skip "symmetric k-mers" as we don't know its strand
			z = kmer[1] < kmer[3]? 0 : 1; // strand
			++l;
			if (l >= k && kmer_span < 256) {
				uint64_t y;
				y = yak_hash64_64(kmer[z<<1|0]) + yak_hash64_64(kmer[z<<1|1]);
				info.x = y, info.rid = rid, info.pos = i, info.rev = z, info.span = kmer_span; // initially pt_mz1_t::rid keeps the k-mer count
			}
		} else l = 0, tq.count = tq.front = 0, kmer_span = 0;

		buf[buf_pos] = info; // need to do this here as appropriate buf_pos and buf[buf_pos] are needed below
		if (l == w + k - 1 && min.x != UINT64_MAX) { // special case for the first window - because identical k-mers are not stored yet
			for (j = buf_pos + 1; j < w; ++j)
				if (mzcmp(&min, &buf[j]) == 0 && buf[j].pos != min.pos) kv_push(pt_mz1_t, *p, buf[j]);
			for (j = 0; j < buf_pos; ++j)
				if (mzcmp(&min, &buf[j]) == 0 && buf[j].pos != min.pos) kv_push(pt_mz1_t, *p, buf[j]);
		}
		///three cases: 1. 
		if (info.x <= min.x) { // a new minimum; then write the old min
			if (l >= w + k && min.x != UINT64_MAX) kv_push(pt_mz1_t, *p, min);
			min = info, min_pos = buf_pos;
		} else if (buf_pos == min_pos) { // old min has moved outside the window
			if (l >= w + k - 1 && min.x != UINT64_MAX) kv_push(pt_mz1_t, *p, min);
			for (j = buf_pos + 1, min.x = UINT64_MAX; j < w; ++j) // the two loops are necessary when there are identical k-mers
				if (mzcmp(&min, &buf[j]) >= 0) min = buf[j], min_pos = j; // >= is important s.t. min is always the closest k-mer
			for (j = 0; j <= buf_pos; ++j)
				if (mzcmp(&min, &buf[j]) >= 0) min = buf[j], min_pos = j;

			if (l >= w + k - 1 && min.x != UINT64_MAX) { // write identical k-mers
				for (j = buf_pos + 1; j < w; ++j) // these two loops make sure the output is sorted
					if (mzcmp(&min, &buf[j]) == 0 && min.pos != buf[j].pos) kv_push(pt_mz1_t, *p, buf[j]);
				for (j = 0; j <= buf_pos; ++j)
					if (mzcmp(&min, &buf[j]) == 0 && min.pos != buf[j].pos) kv_push(pt_mz1_t, *p, buf[j]);
			}
		}
		if (++buf_pos == w) buf_pos = 0;
	}
	if (min.x != UINT64_MAX)
		kv_push(pt_mz1_t, *p, min);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x11f8, %rsp           # imm = 0x11F8
movl %r9d, 0x74(%rsp)
movq %rdi, 0x80(%rsp)
leal -0x1(%rcx), %ebp
movq $-0x1, %rax
movq %rcx, 0x50(%rsp)
shlq %cl, %rax
movq %rax, 0x78(%rsp)
cmpl $0x3e, %ebp
ja 0x7673
movl %edx, %r15d
leal -0x1(%r15), %eax
movl %eax, 0x4c(%rsp)
cmpl $0xfe, %eax
ja 0x7673
movl %esi, %r13d
leal -0x1(%r13), %eax
cmpl $0x7fffffe, %eax        # imm = 0x7FFFFFE
ja 0x7673
movl %r8d, %r14d
cmpl $0x10000000, %r8d       # imm = 0x10000000
jae 0x7673
movq 0x1230(%rsp), %rbx
movl %r15d, %edx
shll $0x4, %edx
leaq 0x1f0(%rsp), %rdi
movl $0xff, %esi
callq 0x1100
leaq 0xf0(%rsp), %rdi
movl $0x100, %edx            # imm = 0x100
xorl %esi, %esi
callq 0x1100
movl 0x4(%rbx), %ecx
movl %r13d, %eax
xorl %edx, %edx
divl %r15d
addl (%rbx), %eax
cmpl %eax, %ecx
jae 0x6d4d
decl %eax
movl %eax, %ecx
shrl %ecx
orl %eax, %ecx
movl %ecx, %eax
shrl $0x2, %eax
orl %ecx, %eax
movl %eax, %ecx
shrl $0x4, %ecx
orl %eax, %ecx
movl %ecx, %eax
shrl $0x8, %eax
orl %ecx, %eax
movl %eax, %esi
shrl $0x10, %esi
orl %eax, %esi
incl %esi
movl %esi, 0x4(%rbx)
movq 0x8(%rbx), %rdi
shlq $0x4, %rsi
callq 0x11a0
movq %rax, 0x8(%rbx)
movslq %ebp, %rax
movq %rax, 0xa8(%rsp)
notq 0x78(%rsp)
movabsq $0x7ffffff0000000, %r10 # imm = 0x7FFFFFF0000000
movl %r14d, %eax
movq %rax, 0xa0(%rsp)
movq 0x50(%rsp), %rax
leal (%rax,%r15), %ecx
movl %ecx, 0x70(%rsp)
leal -0x1(%rax,%r15), %eax
movl %eax, 0x34(%rsp)
movl %r13d, %eax
movq %rax, 0xb0(%rsp)
movl $0xfffffff, %r14d       # imm = 0xFFFFFFF
movq $-0x1, %r12
leaq 0x2749(%rip), %r11      # 0x94f0
movq $0x0, 0x68(%rsp)
movq $0x0, 0x88(%rsp)
movq $0x0, 0x98(%rsp)
movq $0x0, 0x40(%rsp)
xorl %ebp, %ebp
movq $0x0, 0x38(%rsp)
movq $0x0, 0x10(%rsp)
movq $0x0, 0x8(%rsp)
xorl %edi, %edi
movq $0x0, 0x58(%rsp)
movq $0x0, 0x90(%rsp)
movq %r15, 0x20(%rsp)
movq %r13, 0xb8(%rsp)
movq 0x80(%rsp), %r9
movslq %ebp, %rdx
movzbl (%r9,%rdx), %eax
movzbl (%rax,%r11), %eax
cmpl $0x3, %eax
movq %rdi, 0x18(%rsp)
ja 0x6eb5
cmpl $0x0, 0x74(%rsp)
movq 0x98(%rsp), %r15
je 0x7196
leaq 0x1(%rdx), %rsi
movl $0x1, %ecx
cmpl %r13d, %esi
jge 0x73b0
movzbl (%r9,%rsi), %esi
cmpb %al, (%rsi,%r11)
jne 0x73b0
leal 0x2(%rbp), %esi
movl $0x2, %ecx
cmpl %r13d, %esi
jge 0x73ac
movl %r13d, %ecx
subl %ebp, %ecx
movl %ebp, %edi
movl $0x2, %esi
leal (%rdi,%rsi), %r8d
movslq %r8d, %r8
movzbl (%r9,%r8), %r8d
cmpb %al, (%r8,%r11)
jne 0x73a5
leaq (%rdx,%rsi), %r8
incq %r8
incq %rsi
cmpq 0xb0(%rsp), %r8
jl 0x6e86
jmp 0x73a7
movq %rbp, 0x28(%rsp)
movq $0x0, 0xe8(%rsp)
movq $-0x1, %r13
movl $0xfffffff, %ecx        # imm = 0xFFFFFFF
movq $0x0, 0x40(%rsp)
movq $0x0, 0x58(%rsp)
xorl %esi, %esi
xorl %edx, %edx
movq %rsi, 0x10(%rsp)
movslq %edi, %rax
shlq $0x4, %rax
movq %r13, 0x1f0(%rsp,%rax)
movq %rcx, 0x60(%rsp)
movq %rcx, 0x1f8(%rsp,%rax)
movq %rdx, 0x38(%rsp)
cmpl 0x34(%rsp), %edx
jne 0x703f
cmpq $-0x1, %r12
je 0x703f
leal 0x1(%rdi), %eax
cmpl 0x20(%rsp), %eax
jge 0x6fb0
cltq
shlq $0x4, %rax
leaq (%rsp,%rax), %r15
addq $0x1f0, %r15            # imm = 0x1F0
movl 0x4c(%rsp), %ebp
subl %edi, %ebp
cmpq (%r15), %r12
jne 0x6fa8
movq 0x8(%r15), %rax
xorq %r14, %rax
testq %r10, %rax
je 0x6fa8
movl (%rbx), %ecx
movq 0x8(%rbx), %rax
cmpl 0x4(%rbx), %ecx
jne 0x6f93
leal (%rcx,%rcx), %esi
testl %ecx, %ecx
movl $0x2, %ecx
cmovel %ecx, %esi
movl %esi, 0x4(%rbx)
shlq $0x4, %rsi
movq %rax, %rdi
callq 0x11a0
movq 0x18(%rsp), %rdi
movabsq $0x7ffffff0000000, %r10 # imm = 0x7FFFFFF0000000
movq %rax, 0x8(%rbx)
movl (%rbx), %ecx
leal 0x1(%rcx), %edx
movl %edx, (%rbx)
movl %ecx, %ecx
shlq $0x4, %rcx
movdqu (%r15), %xmm0
movdqu %xmm0, (%rax,%rcx)
addq $0x10, %r15
decl %ebp
jne 0x6f46
testl %edi, %edi
jle 0x703f
movl %edi, %r15d
shlq $0x4, %r15
xorl %ebp, %ebp
cmpq 0x1f0(%rsp,%rbp), %r12
jne 0x7036
movq 0x1f8(%rsp,%rbp), %rax
xorq %r14, %rax
testq %r10, %rax
je 0x7036
movl (%rbx), %ecx
movq 0x8(%rbx), %rax
cmpl 0x4(%rbx), %ecx
jne 0x7017
leal (%rcx,%rcx), %esi
testl %ecx, %ecx
movl $0x2, %ecx
cmovel %ecx, %esi
movl %esi, 0x4(%rbx)
shlq $0x4, %rsi
movq %rax, %rdi
callq 0x11a0
movq 0x18(%rsp), %rdi
movabsq $0x7ffffff0000000, %r10 # imm = 0x7FFFFFF0000000
movq %rax, 0x8(%rbx)
movl (%rbx), %ecx
leaq (%rsp,%rbp), %rdx
addq $0x1f0, %rdx            # imm = 0x1F0
leal 0x1(%rcx), %esi
movl %esi, (%rbx)
movl %ecx, %ecx
shlq $0x4, %rcx
movdqu (%rdx), %xmm0
movdqu %xmm0, (%rax,%rcx)
addq $0x10, %rbp
cmpq %rbp, %r15
jne 0x6fc1
cmpq %r12, %r13
jbe 0x7118
movq 0x8(%rsp), %r13
cmpl %r13d, %edi
jne 0x71ad
cmpq $-0x1, %r12
sete %al
movq 0x38(%rsp), %rcx
cmpl 0x34(%rsp), %ecx
setl %cl
orb %al, %cl
movq 0x20(%rsp), %r15
movq 0x28(%rsp), %rbp
jne 0x70c7
movl (%rbx), %ecx
movq 0x8(%rbx), %rax
cmpl 0x4(%rbx), %ecx
jne 0x70b3
leal (%rcx,%rcx), %esi
testl %ecx, %ecx
movl $0x2, %ecx
cmovel %ecx, %esi
movl %esi, 0x4(%rbx)
shlq $0x4, %rsi
movq %rax, %rdi
callq 0x11a0
movq 0x18(%rsp), %rdi
movabsq $0x7ffffff0000000, %r10 # imm = 0x7FFFFFF0000000
movq %rax, 0x8(%rbx)
movl (%rbx), %ecx
leal 0x1(%rcx), %edx
movl %edx, (%rbx)
movl %ecx, %ecx
shlq $0x4, %rcx
movq %r12, (%rax,%rcx)
movq %r14, 0x8(%rax,%rcx)
leal 0x1(%r13), %r8d
movq %r13, %rdx
movq $-0x1, %r13
cmpl %r15d, %r8d
jge 0x71d0
movslq %r8d, %rax
shlq $0x4, %rax
leaq 0x1f8(%rsp), %rcx
addq %rcx, %rax
movl %r8d, %ecx
movl %edx, %r12d
movq -0x8(%rax), %rdx
cmpq %rdx, %r13
jb 0x7108
movq (%rax), %r14
movq %rdx, %r13
movl %ecx, %r12d
incl %ecx
addq $0x10, %rax
cmpl %ecx, %r15d
jne 0x70f6
jmp 0x71d3
cmpq $-0x1, %r12
sete %al
movq 0x38(%rsp), %rcx
cmpl 0x70(%rsp), %ecx
setl %cl
orb %al, %cl
jne 0x71b5
movl (%rbx), %ecx
movq 0x8(%rbx), %rax
cmpl 0x4(%rbx), %ecx
movq 0x20(%rsp), %r15
movq 0x28(%rsp), %rbp
jne 0x7179
leal (%rcx,%rcx), %esi
testl %ecx, %ecx
movl $0x2, %ecx
cmovel %ecx, %esi
movl %esi, 0x4(%rbx)
shlq $0x4, %rsi
movq %rax, %rdi
callq 0x11a0
movq 0x18(%rsp), %rdi
movabsq $0x7ffffff0000000, %r10 # imm = 0x7FFFFFF0000000
movq %rax, 0x8(%rbx)
movl (%rbx), %ecx
leal 0x1(%rcx), %edx
movl %edx, (%rbx)
movl %ecx, %ecx
shlq $0x4, %rcx
movq %r12, (%rax,%rcx)
movq %r14, 0x8(%rax,%rcx)
movl %edi, %eax
movq %rax, 0x8(%rsp)
jmp 0x71c6
movq 0x38(%rsp), %rcx
leal 0x1(%rcx), %edx
movq 0x50(%rsp), %rcx
cmpl %ecx, %edx
cmovgel %ecx, %edx
jmp 0x743c
movq %r12, %r13
jmp 0x7365
movl %edi, %eax
movq %rax, 0x8(%rsp)
movq 0x20(%rsp), %r15
movq 0x28(%rsp), %rbp
movq 0x60(%rsp), %r14
jmp 0x7379
movl %edx, %r12d
cmpl $0x0, 0x8(%rsp)
js 0x7205
movl %r8d, %eax
leaq 0x1f8(%rsp), %rcx
xorl %edx, %edx
movq -0x8(%rcx), %rsi
cmpq %rsi, %r13
jb 0x71f9
movq (%rcx), %r14
movq %rsi, %r13
movl %edx, %r12d
incq %rdx
addq $0x10, %rcx
cmpq %rdx, %rax
jne 0x71e7
movq 0x38(%rsp), %rax
cmpl 0x34(%rsp), %eax
jl 0x7371
cmpq $-0x1, %r13
je 0x7371
cmpl %r15d, %r8d
jge 0x72cb
movslq %r8d, %rax
shlq $0x4, %rax
leaq (%rsp,%rax), %r15
addq $0x1f0, %r15            # imm = 0x1F0
movl 0x4c(%rsp), %ebp
subl 0x8(%rsp), %ebp
movl %r12d, 0x60(%rsp)
cmpq (%r15), %r13
jne 0x72bf
movq 0x8(%r15), %rax
xorq %r14, %rax
testq %r10, %rax
je 0x72bf
movl (%rbx), %ecx
movq 0x8(%rbx), %rax
cmpl 0x4(%rbx), %ecx
jne 0x72aa
leal (%rcx,%rcx), %esi
testl %ecx, %ecx
movl $0x2, %ecx
cmovel %ecx, %esi
movl %esi, 0x4(%rbx)
shlq $0x4, %rsi
movq %rax, %rdi
movq %rbx, %r12
movq %r14, %rbx
movl %r8d, %r14d
callq 0x11a0
movl %r14d, %r8d
movq %rbx, %r14
movq %r12, %rbx
movl 0x60(%rsp), %r12d
movq 0x18(%rsp), %rdi
movabsq $0x7ffffff0000000, %r10 # imm = 0x7FFFFFF0000000
movq %rax, 0x8(%rbx)
movl (%rbx), %ecx
leal 0x1(%rcx), %edx
movl %edx, (%rbx)
movl %ecx, %ecx
shlq $0x4, %rcx
movdqu (%r15), %xmm0
movdqu %xmm0, (%rax,%rcx)
addq $0x10, %r15
decl %ebp
jne 0x7246
cmpl $0x0, 0x8(%rsp)
js 0x735d
movl %r8d, %r15d
shlq $0x4, %r15
xorl %ebp, %ebp
cmpq 0x1f0(%rsp,%rbp), %r13
jne 0x7354
movq 0x1f8(%rsp,%rbp), %rax
xorq %r14, %rax
testq %r10, %rax
je 0x7354
movl (%rbx), %ecx
movq 0x8(%rbx), %rax
cmpl 0x4(%rbx), %ecx
jne 0x7335
leal (%rcx,%rcx), %esi
testl %ecx, %ecx
movl $0x2, %ecx
cmovel %ecx, %esi
movl %esi, 0x4(%rbx)
shlq $0x4, %rsi
movq %rax, %rdi
callq 0x11a0
movq 0x18(%rsp), %rdi
movabsq $0x7ffffff0000000, %r10 # imm = 0x7FFFFFF0000000
movq %rax, 0x8(%rbx)
movl (%rbx), %ecx
leaq (%rsp,%rbp), %rdx
addq $0x1f0, %rdx            # imm = 0x1F0
leal 0x1(%rcx), %esi
movl %esi, (%rbx)
movl %ecx, %ecx
shlq $0x4, %rcx
movdqu (%rdx), %xmm0
movdqu %xmm0, (%rax,%rcx)
addq $0x10, %rbp
cmpq %rbp, %r15
jne 0x72df
movl %r12d, %eax
movq %rax, 0x8(%rsp)
movq 0x20(%rsp), %r15
movq 0x28(%rsp), %rbp
jmp 0x7379
movl %r12d, %eax
movq %rax, 0x8(%rsp)
incl %edi
cmpl %r15d, %edi
movl $0x0, %eax
cmovel %eax, %edi
movq %r13, %r12
movq 0xb8(%rsp), %r13
movq 0x80(%rsp), %r9
leaq 0x2150(%rip), %r11      # 0x94f0
jmp 0x74dd
movl %esi, %ecx
movq 0x18(%rsp), %rdi
addl %ecx, %ebp
decl %ebp
movq 0x40(%rsp), %r8
leal 0x1(%r8), %edx
movl %edx, 0xec(%rsp)
movq 0x58(%rsp), %rsi
addl %r8d, %esi
andl $0x3f, %esi
movl %ecx, 0xf0(%rsp,%rsi,4)
movq 0x10(%rsp), %rsi
addl %ecx, %esi
movq %rsi, 0x10(%rsp)
cmpl 0x50(%rsp), %r8d
jge 0x73ee
movl %edx, %ecx
movq %rcx, 0x40(%rsp)
jmp 0x7441
testl %edx, %edx
je 0x7427
movq 0x58(%rsp), %rdx
movslq %edx, %rcx
incl %edx
movl %edx, 0xe8(%rsp)
movl 0xf0(%rsp,%rcx,4), %ecx
andl $0x3f, %edx
movl %edx, 0xe8(%rsp)
movq 0x40(%rsp), %rsi
movl %esi, 0xec(%rsp)
movq %rdx, 0x58(%rsp)
jmp 0x7435
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq $0x0, 0x40(%rsp)
movq 0x10(%rsp), %rdx
subl %ecx, %edx
movq %rdx, 0x10(%rsp)
movq 0x88(%rsp), %rdx
movl %eax, %esi
andl $0x1, %esi
movq 0x90(%rsp), %r8
leaq (%rsi,%r8,2), %r8
movq 0x78(%rsp), %rcx
andq %rcx, %r8
movq %r8, 0x90(%rsp)
movq %r8, 0xd0(%rsp)
addq %r15, %r15
shrl %eax
orq %rax, %r15
andq %rcx, %r15
xorl $0x1, %esi
movq 0xa8(%rsp), %rcx
shlq %cl, %rsi
movq %r15, 0xd8(%rsp)
shrq %rdx
orq %rdx, %rsi
movq %rsi, 0x88(%rsp)
movq %rsi, 0xc0(%rsp)
movq 0x68(%rsp), %rdx
movl $0x1, %esi
subl %eax, %esi
shlq %cl, %rsi
shrq %rdx
orq %rdx, %rsi
movq %rsi, 0xc8(%rsp)
movq %rsi, 0x68(%rsp)
cmpq %rsi, %r15
movq %r15, 0x98(%rsp)
jne 0x74ed
movq %r15, 0x68(%rsp)
incl %ebp
cmpl %r13d, %ebp
jl 0x6e1a
jmp 0x7617
movq 0x38(%rsp), %rax
incl %eax
movq $-0x1, %r13
movq %rax, %rdx
cmpl 0x50(%rsp), %eax
movq %rbp, 0x28(%rsp)
jl 0x7608
movq 0x10(%rsp), %rsi
cmpl $0xff, %esi
jg 0x760d
cmpq 0x68(%rsp), %r15
leaq 0xc0(%rsp), %rcx
leaq 0xd0(%rsp), %rax
cmovbq %rax, %rcx
leaq 0x10000000(%r10), %rax
movdqa (%rcx), %xmm0
movdqa %xmm0, %xmm1
pxor 0x1f92(%rip), %xmm1     # 0x94e0
psllq $0x15, %xmm0
paddq %xmm1, %xmm0
movdqa %xmm0, %xmm1
psrlq $0x18, %xmm1
pxor %xmm0, %xmm1
movdqa %xmm1, %xmm0
movdqa 0x1f60(%rip), %xmm2     # 0x94d0
pmuludq %xmm2, %xmm0
psrlq $0x20, %xmm1
pmuludq %xmm2, %xmm1
psllq $0x20, %xmm1
paddq %xmm0, %xmm1
movdqa %xmm1, %xmm0
psrlq $0xe, %xmm0
pxor %xmm1, %xmm0
movdqa %xmm0, %xmm1
movdqa 0x1f21(%rip), %xmm2     # 0x94c0
pmuludq %xmm2, %xmm1
psrlq $0x20, %xmm0
pmuludq %xmm2, %xmm0
psllq $0x20, %xmm0
paddq %xmm1, %xmm0
movdqa %xmm0, %xmm1
psrlq $0x1c, %xmm1
pxor %xmm0, %xmm1
pshufd $0xee, %xmm1, %xmm0     # xmm0 = xmm1[2,3,2,3]
paddq %xmm1, %xmm0
movl $0x0, %ecx
cmovaeq %rax, %rcx
movq %xmm0, %rax
movq %rax, %r13
shlq $0x1f, %r13
addq %rax, %r13
movl %ebp, %eax
andl $0x7ffffff, %eax        # imm = 0x7FFFFFF
shlq $0x1c, %rax
orq 0xa0(%rsp), %rax
orq %rcx, %rax
movq %rsi, %rcx
shlq $0x38, %rcx
orq %rax, %rcx
jmp 0x6ee8
movq 0x10(%rsp), %rsi
movl $0xfffffff, %ecx        # imm = 0xFFFFFFF
jmp 0x6ee8
cmpq $-0x1, %r12
je 0x7661
movl (%rbx), %ecx
cmpl 0x4(%rbx), %ecx
jne 0x7649
leal (%rcx,%rcx), %eax
testl %ecx, %ecx
movl $0x2, %esi
cmovnel %eax, %esi
movl %esi, 0x4(%rbx)
movq 0x8(%rbx), %rdi
shlq $0x4, %rsi
callq 0x11a0
movq %rax, 0x8(%rbx)
movl (%rbx), %ecx
jmp 0x764d
movq 0x8(%rbx), %rax
leal 0x1(%rcx), %edx
movl %edx, (%rbx)
movl %ecx, %ecx
shlq $0x4, %rcx
movq %r12, (%rax,%rcx)
movq %r14, 0x8(%rax,%rcx)
addq $0x11f8, %rsp           # imm = 0x11F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1f76(%rip), %rdi      # 0x95f0
leaq 0x1fc1(%rip), %rsi      # 0x9642
leaq 0x1fc3(%rip), %rcx      # 0x964b
movl $0x53, %edx
callq 0x10e0
nop