LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/debruijn_graph.cc
// Function: dna::debruijn_graph::edges(dna::canonical_kmer) const
set<debruijn_graph::edge> debruijn_graph::edges(node n) const {
		set<edge> result;
		for (const auto b : bases) {
			if (abundance(n + b))
				result.insert(n + b);
			if (abundance(b + n))
				result.insert(b + n);
		}
		return result;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rdi), %rax
movl $0x0, 0x8(%rdi)
xorl %r12d, %r12d
movq %r12, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movq %rax, 0x20(%rdi)
movq %r12, 0x28(%rdi)
leaq 0x1047a(%rip), %rax     # 0x14020
movl (%r12,%rax), %r13d
movl %ebp, %edi
movq %r14, %rsi
movl $0x1, %edx
movq %r13, %rcx
callq 0x2b70
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
movq %r15, %rdi
movl %eax, %esi
callq 0x2ef0
testq %rax, %rax
je 0x3c07
movl %ebp, %edi
movq %r14, %rsi
movl $0x1, %edx
movq %r13, %rcx
callq 0x2b70
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
movl %eax, 0x8(%rsp)
movq %rdx, 0x10(%rsp)
movq %rbx, %rdi
leaq 0x8(%rsp), %rsi
callq 0xd45a
movl $0x1, %edi
movq %r13, %rsi
movl %ebp, %edx
movq %r14, %rcx
callq 0x2b70
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
movq %r15, %rdi
movl %eax, %esi
callq 0x2ef0
testq %rax, %rax
je 0x3c64
movl $0x1, %edi
movq %r13, %rsi
movl %ebp, %edx
movq %r14, %rcx
callq 0x2b70
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
movl %eax, 0x8(%rsp)
movq %rdx, 0x10(%rsp)
movq %rbx, %rdi
leaq 0x8(%rsp), %rsi
callq 0xd45a
addq $0x4, %r12
cmpq $0x10, %r12
jne 0x3b9f
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3c88
jmp 0x3c88
movq %rax, %r14
movq %rbx, %rdi
callq 0xc78e
movq %r14, %rdi
callq 0x23c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/debruijn_graph.cc
// Function: dna::debruijn_graph::left_neighbors(dna::canonical_kmer) const
set<debruijn_graph::node> debruijn_graph::left_neighbors(node n) const {
		set<node> result;
		for (const auto b : bases)
			if (abundance(b + n) && !is_duplex_edge(n, b + n))
				result.insert(b >> n);
		return result;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %r15
leaq 0x8(%rdi), %rax
movl $0x0, 0x8(%rdi)
xorl %r12d, %r12d
movq %r12, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movq %rax, 0x20(%rdi)
movq %rdi, (%rsp)
movq %r12, 0x28(%rdi)
leaq 0x10345(%rip), %rbx     # 0x14020
movl (%r12,%rbx), %r13d
movl $0x1, %edi
movq %r13, %rsi
movl %ebp, %edx
movq %r14, %rcx
callq 0x2b70
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
movq %r15, %rdi
movl %eax, %esi
callq 0x2ef0
testq %rax, %rax
je 0x3d6c
movl $0x1, %edi
movq %r13, %rsi
movl %ebp, %edx
movq %r14, %rcx
callq 0x2b70
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
movq %rdx, %rcx
movl %ebp, %edi
movq %r14, %rsi
movl %eax, %edx
callq 0x38b3
testb %al, %al
jne 0x3d6c
movl $0x1, %edi
movq %r13, %rsi
movl %ebp, %edx
movq %r14, %rcx
callq 0x2b0f
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
movl %eax, 0x8(%rsp)
movq %rdx, 0x10(%rsp)
movq (%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xd45a
addq $0x4, %r12
cmpq $0x10, %r12
jne 0x3cdb
movq (%rsp), %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3d8f
movq %rax, %r14
movq (%rsp), %rdi
callq 0xc78e
movq %r14, %rdi
callq 0x23c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/debruijn_graph.cc
// Function: dna::debruijn_graph::right_neighbors(dna::canonical_kmer) const
set<debruijn_graph::node> debruijn_graph::right_neighbors(node n) const {
		set<node> result;
		for (const auto b : bases)
			if (abundance(n + b) && !is_duplex_edge(n, n + b))
				result.insert(n << b);
		return result;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %r15
leaq 0x8(%rdi), %rax
movl $0x0, 0x8(%rdi)
xorl %r12d, %r12d
movq %r12, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movq %rax, 0x20(%rdi)
movq %rdi, (%rsp)
movq %r12, 0x28(%rdi)
leaq 0x1023d(%rip), %rbx     # 0x14020
movl (%r12,%rbx), %r13d
movl %ebp, %edi
movq %r14, %rsi
movl $0x1, %edx
movq %r13, %rcx
callq 0x2b70
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
movq %r15, %rdi
movl %eax, %esi
callq 0x2ef0
testq %rax, %rax
je 0x3e74
movl %ebp, %edi
movq %r14, %rsi
movl $0x1, %edx
movq %r13, %rcx
callq 0x2b70
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
movq %rdx, %rcx
movl %ebp, %edi
movq %r14, %rsi
movl %eax, %edx
callq 0x38b3
testb %al, %al
jne 0x3e74
movl %ebp, %edi
movq %r14, %rsi
movl $0x1, %edx
movq %r13, %rcx
callq 0x2ab9
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
movl %eax, 0x8(%rsp)
movq %rdx, 0x10(%rsp)
movq (%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xd45a
addq $0x4, %r12
cmpq $0x10, %r12
jne 0x3de3
movq (%rsp), %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3e97
movq %rax, %r14
movq (%rsp), %rdi
callq 0xc78e
movq %r14, %rdi
callq 0x23c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/debruijn_graph.cc
// Function: dna::debruijn_graph::duplex_neighbors(dna::canonical_kmer) const
set<debruijn_graph::node> debruijn_graph::duplex_neighbors(node n) const {
		set<node> result;
		for (const auto b : bases) {
			if (abundance(b + n) && is_duplex_edge(n, b + n))
				result.insert(b >> n);
			if (abundance(n + b) && is_duplex_edge(n, n + b))
				result.insert(n << b);
		}
		return result;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rdi), %rax
movl $0x0, 0x8(%rdi)
xorl %r12d, %r12d
movq %r12, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movq %rax, 0x20(%rdi)
movq %r12, 0x28(%rdi)
leaq 0x10136(%rip), %rax     # 0x14020
movl (%r12,%rax), %r13d
movl $0x1, %edi
movq %r13, %rsi
movl %ebp, %edx
movq %r14, %rcx
callq 0x2b70
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
movq %r15, %rdi
movl %eax, %esi
callq 0x2ef0
testq %rax, %rax
je 0x3f7a
movl $0x1, %edi
movq %r13, %rsi
movl %ebp, %edx
movq %r14, %rcx
callq 0x2b70
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
movq %rdx, %rcx
movl %ebp, %edi
movq %r14, %rsi
movl %eax, %edx
callq 0x38b3
testb %al, %al
je 0x3f7a
movl $0x1, %edi
movq %r13, %rsi
movl %ebp, %edx
movq %r14, %rcx
callq 0x2b0f
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
movl %eax, 0x8(%rsp)
movq %rdx, 0x10(%rsp)
movq %rbx, %rdi
leaq 0x8(%rsp), %rsi
callq 0xd45a
movl %ebp, %edi
movq %r14, %rsi
movl $0x1, %edx
movq %r13, %rcx
callq 0x2b70
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
movq %r15, %rdi
movl %eax, %esi
callq 0x2ef0
testq %rax, %rax
je 0x4006
movl %ebp, %edi
movq %r14, %rsi
movl $0x1, %edx
movq %r13, %rcx
callq 0x2b70
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
movq %rdx, %rcx
movl %ebp, %edi
movq %r14, %rsi
movl %eax, %edx
callq 0x38b3
testb %al, %al
je 0x4006
movl %ebp, %edi
movq %r14, %rsi
movl $0x1, %edx
movq %r13, %rcx
callq 0x2ab9
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
movl %eax, 0x8(%rsp)
movq %rdx, 0x10(%rsp)
movq %rbx, %rdi
leaq 0x8(%rsp), %rsi
callq 0xd45a
addq $0x4, %r12
cmpq $0x10, %r12
jne 0x3ee3
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x402a
jmp 0x402a
movq %rax, %r14
movq %rbx, %rdi
callq 0xc78e
movq %r14, %rdi
callq 0x23c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/debruijn_graph.cc
// Function: dna::debruijn_graph::neighbors(dna::canonical_kmer) const
set<debruijn_graph::node> debruijn_graph::neighbors(node n) const {
		set<node> result;
		for (const auto b : bases) {
			if (abundance(b + n))
				result.insert(b >> n);
			if (abundance(n + b))
				result.insert(n << b);
		}
		return result;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rdi), %rax
movl $0x0, 0x8(%rdi)
xorl %r12d, %r12d
movq %r12, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movq %rax, 0x20(%rdi)
movq %r12, 0x28(%rdi)
leaq 0xffa4(%rip), %rax      # 0x14020
movl (%r12,%rax), %r13d
movl $0x1, %edi
movq %r13, %rsi
movl %ebp, %edx
movq %r14, %rcx
callq 0x2b70
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
movq %r15, %rdi
movl %eax, %esi
callq 0x2ef0
testq %rax, %rax
je 0x40dd
movl $0x1, %edi
movq %r13, %rsi
movl %ebp, %edx
movq %r14, %rcx
callq 0x2b0f
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
movl %eax, 0x8(%rsp)
movq %rdx, 0x10(%rsp)
movq %rbx, %rdi
leaq 0x8(%rsp), %rsi
callq 0xd45a
movl %ebp, %edi
movq %r14, %rsi
movl $0x1, %edx
movq %r13, %rcx
callq 0x2b70
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
movq %r15, %rdi
movl %eax, %esi
callq 0x2ef0
testq %rax, %rax
je 0x413a
movl %ebp, %edi
movq %r14, %rsi
movl $0x1, %edx
movq %r13, %rcx
callq 0x2ab9
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
movl %eax, 0x8(%rsp)
movq %rdx, 0x10(%rsp)
movq %rbx, %rdi
leaq 0x8(%rsp), %rsi
callq 0xd45a
addq $0x4, %r12
cmpq $0x10, %r12
jne 0x4075
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x415e
jmp 0x415e
movq %rax, %r14
movq %rbx, %rdi
callq 0xc78e
movq %r14, %rdi
callq 0x23c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/debruijn_graph.cc
// Function: dna::debruijn_graph::left_abundance(dna::canonical_kmer) const
uint64_t debruijn_graph::left_abundance(node n) const {
		uint64_t sum = 0;
		for (const auto &e : left_edges(n))
			sum += abundance(e);
		return sum;
	}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, %rcx
movl %esi, %edx
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x37ec
movq 0x18(%r14), %r15
leaq 0x10(%rsp), %r12
xorl %r14d, %r14d
cmpq %r12, %r15
je 0x4299
movl 0x20(%r15), %esi
movq 0x28(%r15), %rdx
movq %rbx, %rdi
callq 0x2ef0
addq %rax, %r14
movq %r15, %rdi
callq 0x22a0
movq %rax, %r15
cmpq %r12, %rax
jne 0x4276
leaq 0x8(%rsp), %rdi
callq 0xc78e
movq %r14, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0xc78e
movq %rbx, %rdi
callq 0x23c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/debruijn_graph.cc
// Function: dna::debruijn_graph::right_abundance(dna::canonical_kmer) const
uint64_t debruijn_graph::right_abundance(node n) const {
		uint64_t sum = 0;
		for (const auto &e : right_edges(n))
			sum += abundance(e);
		return sum;
	}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, %rcx
movl %esi, %edx
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3978
movq 0x18(%r14), %r15
leaq 0x10(%rsp), %r12
xorl %r14d, %r14d
cmpq %r12, %r15
je 0x431f
movl 0x20(%r15), %esi
movq 0x28(%r15), %rdx
movq %rbx, %rdi
callq 0x2ef0
addq %rax, %r14
movq %r15, %rdi
callq 0x22a0
movq %rax, %r15
cmpq %r12, %rax
jne 0x42fc
leaq 0x8(%rsp), %rdi
callq 0xc78e
movq %r14, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0xc78e
movq %rbx, %rdi
callq 0x23c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/debruijn_graph.cc
// Function: dna::is_left_edge(dna::canonical_kmer, dna::canonical_kmer)
bool is_left_edge(debruijn_graph::node n, debruijn_graph::edge e) {
		for (const auto b : bases)
			if (e == canonicalize(b + n))
				return !is_duplex_edge(n, e);
		return false;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, (%rsp)
movl %edx, %ebp
movq %rsi, %r14
movl %edi, %r15d
xorl %r13d, %r13d
leaq 0xf8de(%rip), %rax      # 0x14020
movl (%r13,%rax), %esi
movl $0x1, %edi
movl %r15d, %edx
movq %r14, %rcx
callq 0x2b70
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
cmpl %ebp, %eax
sete %al
cmpq (%rsp), %rdx
sete %bl
andb %al, %bl
cmpb $0x1, %bl
jne 0x478c
movl %r15d, %edi
movq %r14, %rsi
movl %ebp, %edx
movq (%rsp), %rcx
callq 0x38b3
movl %eax, %r12d
xorb $0x1, %r12b
testb %bl, %bl
jne 0x479d
addq $0x4, %r13
cmpq $0x10, %r13
jne 0x473b
xorl %r12d, %r12d
andb $0x1, %r12b
movl %r12d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/debruijn_graph.cc
// Function: dna::is_right_edge(dna::canonical_kmer, dna::canonical_kmer)
bool is_right_edge(debruijn_graph::node n, debruijn_graph::edge e) {
		for (const auto b : bases)
			if (e == canonicalize(n + b))
				return !is_duplex_edge(n, e);
		return false;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, (%rsp)
movl %edx, %ebp
movq %rsi, %r14
movl %edi, %r15d
xorl %r13d, %r13d
leaq 0xf84c(%rip), %rax      # 0x14020
movl (%r13,%rax), %ecx
movl %r15d, %edi
movq %r14, %rsi
movl $0x1, %edx
callq 0x2b70
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
cmpl %ebp, %eax
sete %al
cmpq (%rsp), %rdx
sete %bl
andb %al, %bl
cmpb $0x1, %bl
jne 0x481e
movl %r15d, %edi
movq %r14, %rsi
movl %ebp, %edx
movq (%rsp), %rcx
callq 0x38b3
movl %eax, %r12d
xorb $0x1, %r12b
testb %bl, %bl
jne 0x482f
addq $0x4, %r13
cmpq $0x10, %r13
jne 0x47cd
xorl %r12d, %r12d
andb $0x1, %r12b
movl %r12d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/debruijn_graph.cc
// Function: dna::debruijn_graph::left_invariant_value(dna::canonical_kmer) const
int64_t debruijn_graph::left_invariant_value(node n) const
	{
		uint64_t sum = 0;
		for (const auto &e : left_edges(n))
			sum += (is_loop(e) ? 2 : 1) * abundance(e);
		return sum - get_left_ends(n);
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdx, %rcx
movl %esi, %edx
movq %rdi, %rbx
leaq 0x18(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %rdx, 0x8(%rsp)
movq %rcx, 0x10(%rsp)
callq 0x37ec
movq 0x18(%r15), %r13
leaq 0x20(%rsp), %r14
xorl %r15d, %r15d
cmpq %r14, %r13
je 0x48d6
leaq 0x48(%rsp), %rbp
movl 0x20(%r13), %esi
movq 0x28(%r13), %rdx
movq %rbp, %rdi
callq 0x5341
movq 0x70(%rsp), %r12
movq %rbp, %rdi
callq 0xc78e
movl 0x20(%r13), %esi
movq 0x28(%r13), %rdx
movq %rbx, %rdi
callq 0x2ef0
cmpq $0x1, %r12
sete %cl
shlq %cl, %rax
addq %rax, %r15
movq %r13, %rdi
callq 0x22a0
movq %rax, %r13
cmpq %r14, %rax
jne 0x488c
leaq 0x18(%rsp), %rdi
callq 0xc78e
addq $0x38, %rbx
movq 0x8(%rsp), %rdx
leal (%rdx,%rdx), %ecx
movq $-0x1, %rax
movq $-0x1, %rsi
shlq %cl, %rsi
cmpl $0x20, %edx
notq %rsi
cmoveq %rax, %rsi
movq 0x10(%rsp), %rdi
callq 0xfa78
movq %rbx, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x1232e
subq %rax, %r15
movq %r15, %rax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0xc78e
movq %rbx, %rdi
callq 0x23c0
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/debruijn_graph.cc
// Function: dna::debruijn_graph::right_invariant_value(dna::canonical_kmer) const
int64_t debruijn_graph::right_invariant_value(node n) const
	{
		uint64_t sum = 0;
		for (const auto &e : right_edges(n))
			sum += (is_loop(e) ? 2 : 1) * abundance(e);
		return sum - get_right_ends(n);
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdx, %rcx
movl %esi, %edx
movq %rdi, %rbx
leaq 0x18(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %rdx, 0x8(%rsp)
movq %rcx, 0x10(%rsp)
callq 0x3978
movq 0x18(%r15), %r13
leaq 0x20(%rsp), %r14
xorl %r15d, %r15d
cmpq %r14, %r13
je 0x4a0a
leaq 0x48(%rsp), %rbp
movl 0x20(%r13), %esi
movq 0x28(%r13), %rdx
movq %rbp, %rdi
callq 0x5341
movq 0x70(%rsp), %r12
movq %rbp, %rdi
callq 0xc78e
movl 0x20(%r13), %esi
movq 0x28(%r13), %rdx
movq %rbx, %rdi
callq 0x2ef0
cmpq $0x1, %r12
sete %cl
shlq %cl, %rax
addq %rax, %r15
movq %r13, %rdi
callq 0x22a0
movq %rax, %r13
cmpq %r14, %rax
jne 0x49c0
leaq 0x18(%rsp), %rdi
callq 0xc78e
addq $0x60, %rbx
movq 0x8(%rsp), %rdx
leal (%rdx,%rdx), %ecx
movq $-0x1, %rax
movq $-0x1, %rsi
shlq %cl, %rsi
cmpl $0x20, %edx
notq %rsi
cmoveq %rax, %rsi
movq 0x10(%rsp), %rdi
callq 0xfa78
movq %rbx, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x1232e
subq %rax, %r15
movq %r15, %rax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0xc78e
movq %rbx, %rdi
callq 0x23c0
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/debruijn_graph.cc
// Function: dna::debruijn_graph::invariant_implied_abundance_correction(dna::canonical_kmer, dna::canonical_kmer) const
int64_t debruijn_graph::invariant_implied_abundance_correction(node n,
																																 edge e) const {
		if (is_left_edge(n, e))
			return invariant_discrepancy(n);
		else if (is_right_edge(n, e))
			return -invariant_discrepancy(n);
		else // duplex edge
			return 0;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %r8, %r15
movl %ecx, %r12d
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r14
movl %esi, %edi
movq %rdx, %rsi
movl %ecx, %edx
movq %r8, %rcx
callq 0x4721
testb %al, %al
je 0x4afd
movq %r14, %rdi
movl %ebp, %esi
movq %rbx, %rdx
callq 0x497a
movq %rax, %r15
movq %r14, %rdi
movl %ebp, %esi
movq %rbx, %rdx
callq 0x4846
subq %rax, %r15
jmp 0x4b39
movl %ebp, %edi
movq %rbx, %rsi
movl %r12d, %edx
movq %r15, %rcx
callq 0x47b3
testb %al, %al
je 0x4b36
movq %r14, %rdi
movl %ebp, %esi
movq %rbx, %rdx
callq 0x497a
movq %rax, %r12
movq %r14, %rdi
movl %ebp, %esi
movq %rbx, %rdx
callq 0x4846
movq %rax, %r15
subq %r12, %r15
jmp 0x4b39
xorl %r15d, %r15d
movq %r15, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/debruijn_graph.cc
// Function: dna::debruijn_graph::abundance_is_correct_whp(dna::canonical_kmer) const
bool debruijn_graph::abundance_is_correct_whp(edge e) const {
		// FIXME: need to check for small cycles, and adjust 3
		for (const auto & n : nearby_nodes(left_node(e), 3))
			if (invariant_discrepancy(n) != 0)
				return false;
		return period(e) > 6;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x178, %rsp            # imm = 0x178
movq %rdx, %r14
movq %rdi, %r15
leal -0x1(%rsi), %edx
movq %rsi, 0x8(%rsp)
movl %esi, %edi
movq %r14, %rsi
callq 0x2bc8
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
movq %rdx, %rcx
leaq 0xa0(%rsp), %rbx
movl $0x3, %r8d
movq %rbx, %rdi
movq %r15, %rsi
movl %eax, %edx
callq 0x3520
leaq 0x10(%rsp), %rdi
movq %rbx, %rsi
callq 0x9b5a
movq %r14, (%rsp)
leaq 0xe8(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
callq 0x9bf4
leaq 0x10(%rsp), %r12
movq 0x28(%rsp), %rax
movq 0x48(%rsp), %rcx
xorq %rax, %rcx
movq 0x100(%rsp), %rdx
xorq 0x120(%rsp), %rdx
orq %rcx, %rdx
sete %r14b
je 0x4c1a
movl (%rax), %ebp
movq 0x8(%rax), %r13
movq %r15, %rdi
movl %ebp, %esi
movq %r13, %rdx
callq 0x497a
movq %rax, %rbx
movq %r15, %rdi
movl %ebp, %esi
movq %r13, %rdx
callq 0x4846
cmpq %rax, %rbx
jne 0x4c1a
movq %r12, %rdi
callq 0x9c64
jmp 0x4bc2
leaq 0x140(%rsp), %rdi
callq 0xc72c
leaq 0xf0(%rsp), %rdi
callq 0xc7d8
leaq 0x68(%rsp), %rdi
callq 0xc72c
leaq 0x18(%rsp), %rdi
callq 0xc7d8
leaq 0xa8(%rsp), %rdi
callq 0xc72c
testb %r14b, %r14b
je 0x4c71
movq 0x8(%rsp), %rdi
movq (%rsp), %rsi
callq 0x2cb9
cmpq $0x7, %rax
setae %al
jmp 0x4c73
xorl %eax, %eax
addq $0x178, %rsp            # imm = 0x178
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x4cae
movq %rax, %rbx
jmp 0x4cc2
jmp 0x4c91
movq %rax, %rbx
leaq 0x140(%rsp), %rdi
callq 0xc72c
leaq 0xf0(%rsp), %rdi
callq 0xc7d8
leaq 0x68(%rsp), %rdi
callq 0xc72c
leaq 0x18(%rsp), %rdi
callq 0xc7d8
leaq 0xa8(%rsp), %rdi
callq 0xc72c
movq %rbx, %rdi
callq 0x23c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/debruijn_graph.cc
// Function: dna::debruijn_graph::abundance_is_definitely_correct(dna::canonical_kmer, std::unordered_map<unsigned long, dna::debruijn_graph::unresolved_edge_set, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<std::pair<unsigned long const, dna::debruijn_graph::unresolved_edge_set>>>&) const
bool debruijn_graph::abundance_is_definitely_correct(edge e,
																											 unresolved_edges_map &mbi) const {
		if (abundance(e) == 0)
			return true;
		
		uint64_t hash = occurences.get_hash(e);
		return mbi.count(hash) == 0 || mbi[hash].count(e) == 0;
	}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %rbx
movq %rdi, %r14
movl %esi, 0x8(%rsp)
movq %rdx, 0x10(%rsp)
callq 0x2ef0
testq %rax, %rax
je 0x4daa
movl 0x8(%rsp), %eax
movq 0x10(%rsp), %rcx
movq 0x18(%r14), %rsi
movl 0x8(%rsi), %edx
movq 0x48(%rsi), %r14
movq 0x40(%rsi), %r15
leaq 0x20(%rsp), %r12
movl %eax, -0x8(%r12)
movq %rcx, (%r12)
movq %r12, %rdi
movl $0x8, %esi
callq 0xf8b0
movq %rax, %rdi
xorl %esi, %esi
movq %r15, %rdx
movq %r14, %rcx
callq 0x2370
movq %rax, -0x8(%r12)
leaq 0x18(%rsp), %rsi
movq %rbx, %rdi
callq 0xe1c4
testq %rax, %rax
je 0x4daa
leaq 0x18(%rsp), %rsi
movq %rbx, %rdi
callq 0xe240
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0xe500
testq %rax, %rax
sete %al
jmp 0x4dac
movb $0x1, %al
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/debruijn_graph.cc
// Function: dna::debruijn_graph::left_side_is_definitely_correct(dna::canonical_kmer, std::unordered_map<unsigned long, dna::debruijn_graph::unresolved_edge_set, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<std::pair<unsigned long const, dna::debruijn_graph::unresolved_edge_set>>>&) const
bool
	debruijn_graph::left_side_is_definitely_correct(node n,
																									unresolved_edges_map &mbi) const {
		for (const auto & e : left_edges(n)) {
			if (!abundance_is_definitely_correct(e, mbi))
				return false;
		}
		return true;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rcx, %rbx
movq %rdx, %rcx
movl %esi, %edx
movq %rdi, %r14
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x37ec
movq 0x18(%r15), %r15
leaq 0x8(%rsp), %r12
cmpq %r12, %r15
sete %bpl
je 0x4e16
movl 0x20(%r15), %esi
movq 0x28(%r15), %rdx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x4d0a
testb %al, %al
je 0x4e16
movq %r15, %rdi
callq 0x22a0
movq %rax, %r15
cmpq %r12, %rax
jmp 0x4de9
movq %rsp, %rdi
callq 0xc78e
andb $0x1, %bpl
movl %ebp, %eax
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0xc78e
movq %rbx, %rdi
callq 0x23c0
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/debruijn_graph.cc
// Function: dna::debruijn_graph::right_side_is_definitely_correct(dna::canonical_kmer, std::unordered_map<unsigned long, dna::debruijn_graph::unresolved_edge_set, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<std::pair<unsigned long const, dna::debruijn_graph::unresolved_edge_set>>>&) const
bool
	debruijn_graph::right_side_is_definitely_correct(node n,
																									 unresolved_edges_map &mbi) const {
		for (const auto & e : right_edges(n)) {
			if (!abundance_is_definitely_correct(e, mbi))
				return false;
		}
		return true;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rcx, %rbx
movq %rdx, %rcx
movl %esi, %edx
movq %rdi, %r14
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x3978
movq 0x18(%r15), %r15
leaq 0x8(%rsp), %r12
cmpq %r12, %r15
sete %bpl
je 0x4ea2
movl 0x20(%r15), %esi
movq 0x28(%r15), %rdx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x4d0a
testb %al, %al
je 0x4ea2
movq %r15, %rdi
callq 0x22a0
movq %rax, %r15
cmpq %r12, %rax
jmp 0x4e75
movq %rsp, %rdi
callq 0xc78e
andb $0x1, %bpl
movl %ebp, %eax
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0xc78e
movq %rbx, %rdi
callq 0x23c0
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/debruijn_graph.cc
// Function: dna::debruijn_graph::find_single_error_edge(dna::canonical_kmer, std::unordered_map<unsigned long, dna::debruijn_graph::unresolved_edge_set, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<std::pair<unsigned long const, dna::debruijn_graph::unresolved_edge_set>>>&) const
debruijn_graph::edge
	debruijn_graph::find_single_error_edge(node n,
																				 unresolved_edges_map &mbi) const {
		vector<edge> error_edges;
		for (const auto & e : edges(n))
			if (!abundance_is_definitely_correct(e, mbi))
				error_edges.push_back(e);
		if (error_edges.size() == 1)
			return error_edges.front();
		return edge();
	}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %rcx, %rbx
movq %rdx, %rcx
movl %esi, %edx
movq %rdi, %r14
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
leaq 0x20(%rsp), %rdi
movq %r14, %rsi
callq 0x3b68
leaq 0x28(%rsp), %r13
movq 0x10(%r13), %r15
cmpq %r13, %r15
je 0x4f63
movq %rsp, %r12
movl 0x20(%r15), %esi
movq 0x28(%r15), %rdx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x4d0a
testb %al, %al
jne 0x4f53
leaq 0x20(%r15), %rdx
movq 0x8(%rsp), %rsi
cmpq 0x10(%rsp), %rsi
je 0x4f4b
movups (%rdx), %xmm0
movups %xmm0, (%rsi)
addq $0x10, 0x8(%rsp)
jmp 0x4f53
movq %r12, %rdi
callq 0xe52e
movq %r15, %rdi
callq 0x22a0
movq %rax, %r15
cmpq %r13, %rax
jne 0x4f16
leaq 0x20(%rsp), %rdi
callq 0xc78e
movq (%rsp), %rdi
movq 0x8(%rsp), %rax
subq %rdi, %rax
cmpq $0x10, %rax
jne 0x4f87
movl (%rdi), %ebx
movq 0x8(%rdi), %r14
jmp 0x4f8c
xorl %ebx, %ebx
xorl %r14d, %r14d
testq %rdi, %rdi
je 0x4f96
callq 0x2210
movl %ebx, %eax
movq %r14, %rdx
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
jmp 0x4fbb
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0xc78e
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x4fc9
callq 0x2210
movq %rbx, %rdi
callq 0x23c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/debruijn_graph.cc
// Function: dna::is_constant(dna::canonical_kmer)
bool is_constant(debruijn_graph::node n) {
		uint64_t b = n.val & 3ULL;
		uint64_t val = b * 0x5555555555555555;
		debruijn_graph::node n2(n.len, val & BITMASK(2*n.len));
		return n == n2;
	}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movl %edi, %r14d
movl %ebx, %eax
andl $0x3, %eax
movabsq $0x5555555555555555, %rsi # imm = 0x5555555555555555
imulq %rax, %rsi
leal (%r14,%r14), %ecx
movq $-0x1, %rax
movq $-0x1, %rdx
shlq %cl, %rdx
cmpl $0x20, %edi
notq %rdx
cmoveq %rax, %rdx
andq %rsi, %rdx
movq %rsp, %r15
movq %r15, %rdi
movl %r14d, %esi
callq 0x2d90
cmpl %r14d, (%r15)
sete %cl
cmpq %rbx, 0x8(%r15)
sete %al
andb %cl, %al
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/debruijn_graph.cc
// Function: print_time_elapsed(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, timeval*, timeval*)
void print_time_elapsed(string desc, struct timeval* start, struct timeval* end)
{
	struct timeval elapsed;
	if (start->tv_usec > end->tv_usec) {
		end->tv_usec += 1000000;
		end->tv_sec--;
	}
	elapsed.tv_usec = end->tv_usec - start->tv_usec;
	elapsed.tv_sec = end->tv_sec - start->tv_sec;
	float time_elapsed = (elapsed.tv_sec * 1000000 + elapsed.tv_usec)/1000000.f;
	cout << desc << "Total Time Elapsed: " << to_string(time_elapsed) << 
		"seconds" << endl;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq 0x8(%rdx), %rax
cmpq %rax, 0x8(%rsi)
jle 0x8610
addq $0xf4240, %rax          # imm = 0xF4240
movq %rax, 0x8(%rdx)
decq (%rdx)
movq 0x8(%rdx), %rax
subq 0x8(%rsi), %rax
movq (%rdx), %rcx
subq (%rsi), %rcx
imulq $0xf4240, %rcx, %rcx    # imm = 0xF4240
addq %rax, %rcx
cvtsi2ss %rcx, %xmm0
divss 0xb9cf(%rip), %xmm0     # 0x14004
movss %xmm0, 0x4(%rsp)
movq (%rdi), %rsi
movq 0x8(%rdi), %rdx
movq 0x12987(%rip), %rdi     # 0x1afd0
callq 0x2290
movq %rax, %rbx
leaq 0xc176(%rip), %rsi      # 0x147ce
movl $0x14, %edx
movq %rax, %rdi
callq 0x2290
xorps %xmm0, %xmm0
cvtss2sd 0x4(%rsp), %xmm0
movq 0x12943(%rip), %rsi     # 0x1afb8
leaq 0xc16f(%rip), %rcx      # 0x147eb
leaq 0x8(%rsp), %r14
movl $0x3a, %edx
movq %r14, %rdi
movb $0x1, %al
callq 0xc830
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x2290
movq %rax, %rbx
leaq 0xc13a(%rip), %rsi      # 0x147e3
movl $0x7, %edx
movq %rax, %rdi
callq 0x2290
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2220
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x86f0
callq 0x2210
addq $0x28, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x870e
callq 0x2210
movq %rbx, %rdi
callq 0x23c0
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/debruijn_graph.cc
// Function: dna::debruijn_graph::node_iterator<std::stack>::operator++()
void debruijn_graph::node_iterator<Q>::operator++(void) {
		work_item w;
		w = front(work);
		work.pop();
		
		uint64_t nsiblings = 0;
		if (w.depth)
			for (const auto &neighbor : dbg.neighbors(w.curr))
				if (neighbor != w.curr && neighbor != w.prev) {
					if (visited.count(neighbor))
						nsiblings++;
					else {
						work_item neww = { neighbor,
															 w.curr,
															 w.depth == infinite_depth
															 ? infinite_depth
															 : w.depth - 1 };
						visited.insert(neighbor);
						work.push(neww);
					}
				}
		if (w.depth == infinite_depth && nsiblings == 0)
			visited.erase(w.curr);
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rdi, %rbx
xorl %eax, %eax
movl %eax, (%rsp)
movq %rax, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movq %rax, 0x18(%rsp)
leaq 0x8(%rdi), %r14
movq 0x38(%rdi), %rax
cmpq 0x40(%rdi), %rax
jne 0xc30c
movq 0x50(%rbx), %rcx
movl $0x1e0, %eax            # imm = 0x1E0
addq -0x8(%rcx), %rax
movups -0x28(%rax), %xmm0
movups -0x18(%rax), %xmm1
movq -0x8(%rax), %rax
movq %rax, 0x20(%rsp)
movaps %xmm1, 0x10(%rsp)
movaps %xmm0, (%rsp)
movq %r14, %rdi
callq 0xf868
cmpq $0x0, 0x20(%rsp)
je 0xc453
movq (%rbx), %rsi
movl (%rsp), %edx
movq 0x8(%rsp), %rcx
leaq 0x68(%rsp), %r15
movq %r15, %rdi
callq 0x403e
movq 0x18(%r15), %r15
leaq 0x70(%rsp), %r13
cmpq %r13, %r15
je 0xc458
movq %r14, 0x30(%rsp)
leaq 0x58(%rbx), %r12
xorl %r14d, %r14d
movl 0x20(%r15), %ecx
movq 0x28(%r15), %rax
cmpl (%rsp), %ecx
jne 0xc388
cmpq 0x8(%rsp), %rax
je 0xc436
cmpl 0x10(%rsp), %ecx
jne 0xc399
cmpq 0x18(%rsp), %rax
je 0xc436
leaq 0x20(%r15), %rbp
movq %r12, %rdi
movq %rbp, %rsi
callq 0xe500
testq %rax, %rax
je 0xc3b5
incq %r14
jmp 0xc436
movups (%rbp), %xmm0
movaps %xmm0, 0x40(%rsp)
movaps (%rsp), %xmm0
leaq 0x50(%rsp), %rax
movups %xmm0, (%rax)
movq 0x20(%rsp), %rax
leaq -0x1(%rax), %rcx
cmpq $-0x1, %rax
cmoveq %rax, %rcx
movq %rcx, 0x60(%rsp)
movq %r12, 0x38(%rsp)
movq %r12, %rdi
movq %rbp, %rsi
leaq 0x38(%rsp), %rdx
callq 0xd036
movq 0x38(%rbx), %rax
movq 0x48(%rbx), %rcx
addq $-0x28, %rcx
cmpq %rcx, %rax
je 0xc427
movq 0x60(%rsp), %rcx
movq %rcx, 0x20(%rax)
movaps 0x40(%rsp), %xmm0
movaps 0x50(%rsp), %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
addq $0x28, 0x38(%rbx)
jmp 0xc436
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0xf64a
movq %r15, %rdi
callq 0x22a0
movq %rax, %r15
cmpq %r13, %rax
jne 0xc370
testq %r14, %r14
sete %bpl
jmp 0xc45b
movb $0x1, %bpl
jmp 0xc465
movb $0x1, %bpl
leaq 0x68(%rsp), %rdi
callq 0xc78e
cmpq $-0x1, 0x20(%rsp)
jne 0xc481
testb %bpl, %bpl
je 0xc481
addq $0x58, %rbx
movq %rsp, %rsi
movq %rbx, %rdi
callq 0xe998
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xc495
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0xc78e
movq %rbx, %rdi
callq 0x23c0
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/debruijn_graph.cc
// Function: dna::debruijn_graph::node_iterator<std::queue>::node_iterator(dna::debruijn_graph const&, std::unordered_set<dna::canonical_kmer, std::hash<dna::canonical_kmer>, std::equal_to<dna::canonical_kmer>, std::allocator<dna::canonical_kmer>>, unsigned long)
debruijn_graph::node_iterator<Q>::node_iterator(const debruijn_graph &g,
																									const std::unordered_set<node> starts,
																									uint64_t depth)
		: dbg(g) {
		for (const auto &n : starts) {
			work_item w;
			w.curr = n;
			w.depth = depth;
			work.push(w);
			visited.insert(n);
		}
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rcx, %r14
movq %rdx, %r12
movq %rdi, %r15
movq %rsi, (%rdi)
addq $0x8, %rdi
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%r15)
movups %xmm0, 0x18(%r15)
movups %xmm0, 0x28(%r15)
movups %xmm0, 0x38(%r15)
movups %xmm0, 0x48(%r15)
xorl %r13d, %r13d
movq %rdi, 0x8(%rsp)
xorl %esi, %esi
callq 0xdcfe
leaq 0x88(%r15), %rax
movq %rax, 0x58(%r15)
movq $0x1, 0x60(%r15)
xorps %xmm0, %xmm0
movups %xmm0, 0x68(%r15)
movl $0x3f800000, 0x78(%r15) # imm = 0x3F800000
movups %xmm0, 0x80(%r15)
movq 0x10(%r12), %rbx
testq %rbx, %rbx
je 0xdcd2
leaq 0x58(%r15), %r12
leaq 0x40(%rsp), %rbp
movl %r13d, 0x10(%rsp)
movq %r13, 0x18(%rsp)
movl %r13d, 0x20(%rsp)
movq %r13, 0x28(%rsp)
movups 0x8(%rbx), %xmm0
movaps %xmm0, 0x10(%rsp)
movq %r14, 0x30(%rsp)
movq 0x38(%r15), %rax
movq 0x48(%r15), %rcx
addq $-0x28, %rcx
cmpq %rcx, %rax
je 0xdca7
movq 0x30(%rsp), %rcx
movq %rcx, 0x20(%rax)
movaps 0x10(%rsp), %xmm0
movaps 0x20(%rsp), %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
addq $0x28, 0x38(%r15)
jmp 0xdcb6
movq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0xde8c
leaq 0x8(%rbx), %rsi
movq %r12, 0x40(%rsp)
movq %r12, %rdi
movq %rbp, %rdx
callq 0xd036
movq (%rbx), %rbx
testq %rbx, %rbx
jne 0xdc53
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %r12, %rdi
callq 0xc72c
movq 0x8(%rsp), %rdi
callq 0xc7d8
movq %r14, %rdi
callq 0x23c0
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/hashutil.cc
// Function: kmercounting::HashUtil::MurmurHash64B(void const*, int, unsigned int)
uint64_t HashUtil::MurmurHash64B ( const void * key, int len, unsigned int seed )
	{
		const unsigned int m = 0x5bd1e995;
		const int r = 24;

		unsigned int h1 = seed ^ len;
		unsigned int h2 = 0;

		const unsigned int * data = (const unsigned int *)key;

		while(len >= 8)
		{
			unsigned int k1 = *data++;
			k1 *= m; k1 ^= k1 >> r; k1 *= m;
			h1 *= m; h1 ^= k1;
			len -= 4;

			unsigned int k2 = *data++;
			k2 *= m; k2 ^= k2 >> r; k2 *= m;
			h2 *= m; h2 ^= k2;
			len -= 4;
		}

		if(len >= 4)
		{
			unsigned int k1 = *data++;
			k1 *= m; k1 ^= k1 >> r; k1 *= m;
			h1 *= m; h1 ^= k1;
			len -= 4;
		}

		switch(len)
		{
			case 3: h2 ^= ((unsigned char*)data)[2] << 16;
			case 2: h2 ^= ((unsigned char*)data)[1] << 8;
			case 1: h2 ^= ((unsigned char*)data)[0];
							h2 *= m;
		};

		h1 ^= h2 >> 18; h1 *= m;
		h2 ^= h1 >> 22; h2 *= m;
		h1 ^= h2 >> 17; h1 *= m;
		h2 ^= h1 >> 19; h2 *= m;

		uint64_t h = h1;

		h = (h << 32) | h2;

		return h;
	}

// Assembly:
xorl %esi, %edx
xorl %eax, %eax
cmpl $0x8, %esi
jl 0xf9e4
xorl %eax, %eax
movl %esi, %ecx
imull $0x5bd1e995, (%rdi), %esi # imm = 0x5BD1E995
movl %esi, %r8d
shrl $0x18, %r8d
xorl %esi, %r8d
imull $0x5bd1e995, %r8d, %esi # imm = 0x5BD1E995
imull $0x5bd1e995, %edx, %edx # imm = 0x5BD1E995
xorl %esi, %edx
imull $0x5bd1e995, 0x4(%rdi), %esi # imm = 0x5BD1E995
addq $0x8, %rdi
movl %esi, %r8d
shrl $0x18, %r8d
xorl %esi, %r8d
imull $0x5bd1e995, %r8d, %esi # imm = 0x5BD1E995
imull $0x5bd1e995, %eax, %eax # imm = 0x5BD1E995
xorl %esi, %eax
leal -0x8(%rcx), %esi
cmpl $0xf, %ecx
jg 0xf997
cmpl $0x4, %esi
jl 0xfa0f
imull $0x5bd1e995, (%rdi), %ecx # imm = 0x5BD1E995
addq $0x4, %rdi
movl %ecx, %r8d
shrl $0x18, %r8d
xorl %ecx, %r8d
imull $0x5bd1e995, %r8d, %ecx # imm = 0x5BD1E995
imull $0x5bd1e995, %edx, %edx # imm = 0x5BD1E995
xorl %ecx, %edx
addl $-0x4, %esi
cmpl $0x1, %esi
je 0xfa30
cmpl $0x2, %esi
je 0xfa27
cmpl $0x3, %esi
jne 0xfa3b
movzbl 0x2(%rdi), %ecx
shll $0x10, %ecx
xorl %ecx, %eax
movzbl 0x1(%rdi), %ecx
shll $0x8, %ecx
xorl %ecx, %eax
movzbl (%rdi), %ecx
xorl %eax, %ecx
imull $0x5bd1e995, %ecx, %eax # imm = 0x5BD1E995
movl %eax, %ecx
shrl $0x12, %ecx
xorl %edx, %ecx
imull $0x5bd1e995, %ecx, %ecx # imm = 0x5BD1E995
movl %ecx, %edx
shrl $0x16, %edx
xorl %eax, %edx
imull $0x5bd1e995, %edx, %eax # imm = 0x5BD1E995
movl %eax, %edx
shrl $0x11, %edx
xorl %ecx, %edx
imull $0x5bd1e995, %edx, %ecx # imm = 0x5BD1E995
movl %ecx, %edx
shrl $0x13, %edx
xorl %eax, %edx
imull $0x5bd1e995, %edx, %eax # imm = 0x5BD1E995
shlq $0x20, %rcx
orq %rcx, %rax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/hashutil.cc
// Function: kmercounting::HashUtil::hash_64(unsigned long, unsigned long)
uint64_t HashUtil::hash_64(uint64_t key, uint64_t mask)
	{
		key = (~key + (key << 21)) & mask; // key = (key << 21) - key - 1;
		key = key ^ key >> 24;
		key = ((key + (key << 3)) + (key << 8)) & mask; // key * 265
		key = key ^ key >> 14;
		key = ((key + (key << 2)) + (key << 4)) & mask; // key * 21
		key = key ^ key >> 28;
		key = (key + (key << 31)) & mask;
		return key;
	}

// Assembly:
movq %rdi, %rax
notq %rax
shlq $0x15, %rdi
addq %rax, %rdi
andq %rsi, %rdi
movq %rdi, %rax
shrq $0x18, %rax
xorq %rdi, %rax
imulq $0x109, %rax, %rax      # imm = 0x109
andq %rsi, %rax
movq %rax, %rcx
shrq $0xe, %rcx
xorq %rax, %rcx
leaq (%rcx,%rcx,4), %rax
leaq (%rcx,%rax,4), %rax
andq %rsi, %rax
movq %rax, %rcx
shrq $0x1c, %rcx
xorq %rax, %rcx
movq %rcx, %rax
shlq $0x1f, %rax
addq %rcx, %rax
andq %rsi, %rax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/hashutil.cc
// Function: kmercounting::HashUtil::hash_64i(unsigned long, unsigned long)
uint64_t HashUtil::hash_64i(uint64_t key, uint64_t mask)
	{
		uint64_t tmp;

		// Invert key = key + (key << 31)
		tmp = (key - (key << 31));
		key = (key - (tmp << 31)) & mask;

		// Invert key = key ^ (key >> 28)
		tmp = key ^ key >> 28;
		key = key ^ tmp >> 28;

		// Invert key *= 21
		key = (key * 14933078535860113213ull) & mask;

		// Invert key = key ^ (key >> 14)
		tmp = key ^ key >> 14;
		tmp = key ^ tmp >> 14;
		tmp = key ^ tmp >> 14;
		key = key ^ tmp >> 14;

		// Invert key *= 265
		key = (key * 15244667743933553977ull) & mask;

		// Invert key = key ^ (key >> 24)
		tmp = key ^ key >> 24;
		key = key ^ tmp >> 24;

		// Invert key = (~key) + (key << 21)
		tmp = ~key;
		tmp = ~(key - (tmp << 21));
		tmp = ~(key - (tmp << 21));
		key = ~(key - (tmp << 21)) & mask;

		return key;
	}

// Assembly:
movabsq $0x3fffffff80000001, %rax # imm = 0x3FFFFFFF80000001
imulq %rdi, %rax
andq %rsi, %rax
movq %rax, %rcx
shrq $0x38, %rcx
movq %rax, %rdx
shrq $0x1c, %rdx
xorq %rcx, %rdx
xorq %rax, %rdx
movabsq $-0x30c30c30c30c30c3, %rax # imm = 0xCF3CF3CF3CF3CF3D
imulq %rdx, %rax
andq %rsi, %rax
movq %rax, %rcx
shrq $0x1c, %rcx
movq %rax, %rdx
shrq $0xe, %rdx
xorq %rax, %rcx
xorq %rdx, %rcx
shrq $0x1c, %rcx
xorq %rax, %rdx
xorq %rcx, %rdx
movabsq $-0x2c700f74e3fc22c7, %rax # imm = 0xD38FF08B1C03DD39
imulq %rdx, %rax
andq %rsi, %rax
movq %rax, %rcx
shrq $0x30, %rcx
movq %rax, %rdx
shrq $0x18, %rdx
xorq %rcx, %rdx
xorq %rax, %rdx
movabsq $0x40000200000, %rax    # imm = 0x40000200000
movq %rdx, %rcx
imulq %rax, %rcx
addq %rdx, %rax
addq %rcx, %rax
shlq $0x15, %rax
addq %rdx, %rax
addq $0x200000, %rax         # imm = 0x200000
notq %rax
andq %rsi, %rax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/threadsafe-gqf/gqf.c
// Function: qf_dump
void qf_dump(const QF *qf)
{
	uint64_t i;

	printf("%lu %lu %lu\n",
				 qf->metadata->nblocks,
				 qf->metadata->ndistinct_elts,
				 qf->metadata->nelts);

	for (i = 0; i < qf->metadata->nblocks; i++) {
		qf_dump_block(qf, i);
	}

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rdi), %rax
movq 0x60(%rax), %rdx
movq 0x50(%rax), %rsi
movq 0x58(%rax), %rcx
leaq 0x4eeb(%rip), %rdi      # 0x14a80
xorl %eax, %eax
callq 0x2040
movq 0x8(%rbx), %rax
cmpq $0x0, 0x50(%rax)
je 0xfd25
movabsq $0x1ffffffffffffff8, %r14 # imm = 0x1FFFFFFFFFFFFFF8
leaq 0x4f70(%rip), %r15      # 0x14b2c
leaq 0x4f70(%rip), %r12      # 0x14b33
xorl %r13d, %r13d
movq 0x10(%rbx), %rcx
movq 0x38(%rax), %rax
shlq $0x3, %rax
andq %r14, %rax
addq $0x11, %rax
imulq %r13, %rax
movzbl (%rcx,%rax), %esi
leaq 0x4f3d(%rip), %rdi      # 0x14b25
xorl %eax, %eax
callq 0x2040
movl $0xa, %edi
callq 0x2300
xorl %ebp, %ebp
movq %r15, %rdi
movq %rbp, %rsi
xorl %eax, %eax
callq 0x2040
incq %rbp
cmpq $0x40, %rbp
jne 0xfbfb
movl $0xa, %edi
callq 0x2300
xorl %ebp, %ebp
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
movq 0x38(%rax), %rax
shlq $0x3, %rax
andq %r14, %rax
addq $0x11, %rax
imulq %r13, %rax
movq 0x1(%rcx,%rax), %rax
xorl %esi, %esi
btq %rbp, %rax
setb %sil
movq %r12, %rdi
xorl %eax, %eax
callq 0x2040
incq %rbp
cmpq $0x40, %rbp
jne 0xfc1d
movl $0xa, %edi
callq 0x2300
xorl %ebp, %ebp
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
movq 0x38(%rax), %rax
shlq $0x3, %rax
andq %r14, %rax
addq $0x11, %rax
imulq %r13, %rax
movq 0x9(%rcx,%rax), %rax
xorl %esi, %esi
btq %rbp, %rax
setb %sil
movq %r12, %rdi
xorl %eax, %eax
callq 0x2040
incq %rbp
cmpq $0x40, %rbp
jne 0xfc66
movl $0xa, %edi
callq 0x2300
movq 0x8(%rbx), %rax
movq 0x38(%rax), %rax
shlq $0x3, %rax
andq %r14, %rax
leaq 0x4e75(%rip), %r15      # 0x14b38
je 0xfcf9
xorl %ebp, %ebp
addq $0x11, %rax
imulq %r13, %rax
addq 0x10(%rbx), %rax
movzbl 0x11(%rbp,%rax), %esi
movq %r15, %rdi
xorl %eax, %eax
callq 0x2040
incq %rbp
movq 0x8(%rbx), %rax
movq 0x38(%rax), %rax
shlq $0x3, %rax
andq %r14, %rax
cmpq %rax, %rbp
jb 0xfcc7
movl $0xa, %edi
callq 0x2300
movl $0xa, %edi
callq 0x2300
incq %r13
movq 0x8(%rbx), %rax
cmpq 0x50(%rax), %r13
leaq 0x4e0d(%rip), %r15      # 0x14b2c
jb 0xfbc6
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/threadsafe-gqf/gqf.c
// Function: qf_destroy
void qf_destroy(QF *qf, bool mem)
{
	assert(qf->blocks != NULL);
	if (mem) {
		free(qf->mem);
		free(qf->metadata);
		free(qf->blocks);
	} else {
	munmap(qf->metadata, qf->metadata->size + sizeof(qfmetadata));
	close(qf->mem->fd);
	}
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
testl %esi, %esi
je 0x10101
movq (%rbx), %rdi
callq 0x22c0
movq 0x8(%rbx), %rdi
callq 0x22c0
movq 0x10(%rbx), %rdi
popq %rbx
jmp 0x22c0
movq 0x8(%rbx), %rdi
movq (%rdi), %rsi
subq $-0x80, %rsi
callq 0x2110
movq (%rbx), %rax
movl (%rax), %edi
popq %rbx
jmp 0x2430
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/threadsafe-gqf/gqf.c
// Function: qf_read
void qf_read(QF *qf, const char *path)
{
	struct stat sb;
	int ret;

	qf->mem = (qfmem *)calloc(sizeof(qfmem), 1);
	qf->mem->fd = open(path, O_RDWR, S_IRWXU);
	if (qf->mem->fd < 0) {
		perror("Couldn't open file:\n");
		exit(EXIT_FAILURE);
	}

	ret = fstat (qf->mem->fd, &sb);
	if ( ret < 0) {
		perror ("fstat");
		exit(EXIT_FAILURE);
	}

	if (!S_ISREG (sb.st_mode)) {
		fprintf (stderr, "%s is not a file\n", path);
		exit(EXIT_FAILURE);
	}

	qf->metadata = (qfmetadata *)mmap(NULL, sb.st_size, PROT_READ | PROT_WRITE, MAP_SHARED,
																qf->mem->fd, 0);

	qf->blocks = (qfblock *)(qf->metadata + sizeof(qfmetadata));
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x98, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movl $0x18, %edi
movl $0x1, %esi
callq 0x2130
movq %rax, (%rbx)
movq %r14, %rdi
movl $0x2, %esi
movl $0x1c0, %edx            # imm = 0x1C0
xorl %eax, %eax
callq 0x2190
movq (%rbx), %rcx
movl %eax, (%rcx)
testl %eax, %eax
js 0x101d2
leaq 0x8(%rsp), %rsi
movl %eax, %edi
callq 0x23b0
testl %eax, %eax
js 0x101d7
movl $0xf000, %eax           # imm = 0xF000
andl 0x20(%rsp), %eax
cmpl $0x8000, %eax           # imm = 0x8000
jne 0x101dc
movq 0x38(%rsp), %rsi
movq (%rbx), %rax
movl (%rax), %r8d
xorl %edi, %edi
movl $0x3, %edx
movl $0x1, %ecx
xorl %r9d, %r9d
callq 0x23d0
movq %rax, 0x8(%rbx)
addq $0x4000, %rax           # imm = 0x4000
movq %rax, 0x10(%rbx)
addq $0x98, %rsp
popq %rbx
popq %r14
retq
callq 0x24f7
callq 0x24e2
movq %r14, %rdi
callq 0x24be
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/threadsafe-gqf/gqf.c
// Function: qf_serialize
void qf_serialize(const QF *qf, const char *filename)
{
	FILE *fout;
	fout = fopen(filename, "wb+");
	if (fout == NULL) {
		perror("Error opening file for serializing\n");
		exit(EXIT_FAILURE);
	}

	fwrite(qf->metadata, sizeof(qfmetadata), 1, fout);

	/* we don't serialize the locks */
	fwrite(qf->blocks, qf->metadata->size, 1, fout);

	fclose(fout);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rax
movq %rdi, %r14
leaq 0x48a6(%rip), %rsi      # 0x14ad4
movq %rax, %rdi
callq 0x22b0
testq %rax, %rax
je 0x1027b
movq %rax, %rbx
movq 0x8(%r14), %rdi
movl $0x80, %esi
movl $0x1, %edx
movq %rax, %rcx
callq 0x2420
movq 0x8(%r14), %rax
movq 0x10(%r14), %rdi
movq (%rax), %rsi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x2420
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x2240
callq 0x250c
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/threadsafe-gqf/gqf.c
// Function: qf_deserialize
void qf_deserialize(QF *qf, const char *filename)
{
	FILE *fin;
	fin = fopen(filename, "rb");
	if (fin == NULL) {
		perror("Error opening file for deserializing\n");
		exit(EXIT_FAILURE);
	}

	qf->mem = (qfmem *)calloc(sizeof(qfmem), 1);
	qf->metadata = (qfmetadata *)calloc(sizeof(qfmetadata), 1);

	fread(qf->metadata, sizeof(qfmetadata), 1, fin);

	/* initlialize the locks in the QF */
	qf->metadata->num_locks = (qf->metadata->xnslots/NUM_SLOTS_TO_LOCK)+2;
	qf->mem->metadata_lock = 0;
	/* initialize all the locks to 0 */
	qf->mem->locks = (volatile int *)calloc(qf->metadata->num_locks, sizeof(volatile int));

	qf->blocks = (qfblock *)calloc(qf->metadata->size, 1);
	fread(qf->blocks, qf->metadata->size, 1, fin);

	fclose(fin);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rax
movq %rdi, %r14
leaq 0x4867(%rip), %rsi      # 0x14afc
movq %rax, %rdi
callq 0x22b0
testq %rax, %rax
je 0x1034c
movq %rax, %rbx
movl $0x18, %edi
movl $0x1, %esi
callq 0x2130
movq %rax, (%r14)
movl $0x80, %edi
movl $0x1, %esi
callq 0x2130
movq %rax, 0x8(%r14)
movl $0x80, %esi
movl $0x1, %edx
movq %rax, %rdi
movq %rbx, %rcx
callq 0x2350
movq 0x8(%r14), %r15
movq 0x18(%r15), %rdi
shrq $0xc, %rdi
addq $0x2, %rdi
movq %rdi, 0x70(%r15)
movq (%r14), %r12
movl $0x0, 0x4(%r12)
movl $0x4, %esi
callq 0x2130
movq %rax, 0x8(%r12)
movq (%r15), %r15
movl $0x1, %esi
movq %r15, %rdi
callq 0x2130
movq %rax, 0x10(%r14)
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
movq %rbx, %rcx
callq 0x2350
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x2240
callq 0x2521
// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/threadsafe-gqf/gqf.c
// Function: qf_count_key_value
uint64_t qf_count_key_value(const QF *qf, uint64_t key, uint64_t value)
{
	__uint128_t hash = key;
	uint64_t hash_remainder   = hash & BITMASK(qf->metadata->bits_per_slot);
	int64_t hash_bucket_index = hash >> qf->metadata->bits_per_slot;

	if (!is_occupied(qf, hash_bucket_index))
		return 0;

	int64_t runstart_index = hash_bucket_index == 0 ? 0 : run_end(qf,
																																hash_bucket_index-1)
		+ 1;
	if (runstart_index < hash_bucket_index)
		runstart_index = hash_bucket_index;

	/* printf("MC RUNSTART: %02lx RUNEND: %02lx\n", runstart_index, runend_index); */

	uint64_t current_remainder, current_count, current_end;
	do {
		current_end = decode_counter(qf, runstart_index, &current_remainder,
																 &current_count);
		if (current_remainder == hash_remainder)
			return current_count;
		runstart_index = current_end + 1;
	} while (!is_runend(qf, current_end));

	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq 0x8(%rdi), %rax
movq 0x38(%rax), %rcx
movq $-0x1, %rbp
shlq %cl, %rbp
movq $-0x1, %rax
cmpq $0x40, %rcx
notq %rbp
cmoveq %rax, %rbp
movq %rsi, %r13
xorl %eax, %eax
movq %rsi, %r14
shrdq %cl, %rax, %r14
movq 0x10(%rdi), %r15
testb $0x40, %cl
cmovneq %rax, %r14
movq %r14, %rsi
shrq $0x6, %rsi
movabsq $0x3ffffffffffffff, %rdx # imm = 0x3FFFFFFFFFFFFFF
andq %rcx, %rdx
leaq 0x11(,%rdx,8), %r12
imulq %r12, %rsi
movq 0x1(%r15,%rsi), %rcx
btq %r14, %rcx
jae 0x12409
movq %rdi, %rbx
testq %r14, %r14
je 0x123bb
leaq -0x1(%r14), %rsi
movq %rbx, %rdi
callq 0x12418
incq %rax
jmp 0x123bd
xorl %eax, %eax
andq %r13, %rbp
cmpq %r14, %rax
cmovgq %rax, %r14
leaq 0x8(%rsp), %r13
movq %rbx, %rdi
movq %r14, %rsi
leaq 0x10(%rsp), %rdx
movq %r13, %rcx
callq 0x126cd
cmpq %rbp, 0x10(%rsp)
je 0x12404
leaq 0x1(%rax), %r14
movq %rax, %rcx
shrq $0x6, %rcx
imulq %r12, %rcx
movq 0x9(%r15,%rcx), %rcx
btq %rax, %rcx
jae 0x123cc
xorl %eax, %eax
jmp 0x12409
movq 0x8(%rsp), %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq