LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/amadvance[P]tommyds/tommyds/tommyhashtbl.c
// Function: tommy_hashtable_insert
void tommy_hashtable_insert(tommy_hashtable* hashtable, tommy_hashtable_node* node, void* data, tommy_hash_t hash)
{
	tommy_size_t pos = hash & hashtable->bucket_mask;

	tommy_list_insert_tail(&hashtable->bucket[pos], node, data);

	node->index = hash;

	++hashtable->count;
}

// Assembly:
movq 0x10(%rdi), %rax
andq %rcx, %rax
movq (%rdi), %r9
movq (%r9,%rax,8), %r8
testq %r8, %r8
je 0x5666
movq 0x8(%r8), %rax
movq %rax, 0x8(%rsi)
movq %rsi, 0x8(%r8)
movq 0x8(%rsi), %rax
jmp 0x566e
leaq (%r9,%rax,8), %rax
movq %rsi, 0x8(%rsi)
movq $0x0, (%rsi)
movq %rsi, (%rax)
movq %rdx, 0x10(%rsi)
movq %rcx, 0x18(%rsi)
incq 0x18(%rdi)
retq
// File: /workspace/github_cpp_makefile_star2_O3/amadvance[P]tommyds/tommyds/tommyhashtbl.c
// Function: tommy_hashtable_remove_existing
void* tommy_hashtable_remove_existing(tommy_hashtable* hashtable, tommy_hashtable_node* node)
{
	tommy_size_t pos = node->index & hashtable->bucket_mask;

	tommy_list_remove_existing(&hashtable->bucket[pos], node);

	--hashtable->count;

	return node->data;
}

// Assembly:
movq (%rdi), %rax
movq 0x10(%rdi), %rcx
andq 0x18(%rsi), %rcx
leaq (%rax,%rcx,8), %rax
movq (%rax), %rcx
movq (%rsi), %rdx
movq 0x8(%rsi), %r8
testq %rdx, %rdx
movq %rdx, %r9
cmoveq %rcx, %r9
movq %r8, 0x8(%r9)
cmpq %rsi, %rcx
cmoveq %rax, %r8
movq %rdx, (%r8)
decq 0x18(%rdi)
movq 0x10(%rsi), %rax
retq
// File: /workspace/github_cpp_makefile_star2_O3/amadvance[P]tommyds/tommyds/tommyhashtbl.c
// Function: tommy_hashtable_remove
void* tommy_hashtable_remove(tommy_hashtable* hashtable, tommy_search_func* cmp, const void* cmp_arg, tommy_hash_t hash)
{
	tommy_size_t pos = hash & hashtable->bucket_mask;
	tommy_hashtable_node* node = hashtable->bucket[pos];

	while (node) {
		/* we first check if the hash matches, as in the same bucket we may have multiples hash values */
		if (node->index == hash && cmp(cmp_arg, node->data) == 0) {
			tommy_list_remove_existing(&hashtable->bucket[pos], node);

			--hashtable->count;

			return node->data;
		}
		node = node->next;
	}

	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x10(%rdi), %r15
andq %rcx, %r15
movq (%rdi), %rax
movq (%rax,%r15,8), %rbp
testq %rbp, %rbp
je 0x5706
movq %rcx, %r14
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
cmpq %r14, 0x18(%rbp)
jne 0x56fd
movq 0x10(%rbp), %rsi
movq %r12, %rdi
callq *%r13
testl %eax, %eax
je 0x570a
movq (%rbp), %rbp
testq %rbp, %rbp
jne 0x56e9
xorl %eax, %eax
jmp 0x573c
movq (%rbx), %rax
leaq (%rax,%r15,8), %rax
movq (%rax), %rcx
movq (%rbp), %rdx
movq 0x8(%rbp), %rsi
testq %rdx, %rdx
movq %rdx, %rdi
cmoveq %rcx, %rdi
movq %rsi, 0x8(%rdi)
cmpq %rbp, %rcx
cmoveq %rax, %rsi
movq %rdx, (%rsi)
decq 0x18(%rbx)
movq 0x10(%rbp), %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/amadvance[P]tommyds/tommyds/tommyhashtbl.c
// Function: tommy_hashtable_foreach
void tommy_hashtable_foreach(tommy_hashtable* hashtable, tommy_foreach_func* func)
{
	tommy_size_t bucket_max = hashtable->bucket_max;
	tommy_hashtable_node** bucket = hashtable->bucket;
	tommy_size_t pos;

	for (pos = 0; pos < bucket_max; ++pos) {
		tommy_hashtable_node* node = bucket[pos];

		while (node) {
			void* data = node->data;
			node = node->next;
			func(data);
		}
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq 0x8(%rdi), %r14
testq %r14, %r14
je 0x5788
movq %rsi, %rbx
movq (%rdi), %r15
xorl %r12d, %r12d
movq (%r15,%r12,8), %rax
testq %rax, %rax
je 0x5780
movq (%rax), %r13
movq 0x10(%rax), %rdi
callq *%rbx
movq %r13, %rax
testq %r13, %r13
jne 0x576f
incq %r12
cmpq %r14, %r12
jne 0x5766
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/amadvance[P]tommyds/tommyds/tommyhashtbl.c
// Function: tommy_hashtable_foreach_arg
void tommy_hashtable_foreach_arg(tommy_hashtable* hashtable, tommy_foreach_arg_func* func, void* arg)
{
	tommy_size_t bucket_max = hashtable->bucket_max;
	tommy_hashtable_node** bucket = hashtable->bucket;
	tommy_size_t pos;

	for (pos = 0; pos < bucket_max; ++pos) {
		tommy_hashtable_node* node = bucket[pos];

		while (node) {
			void* data = node->data;
			node = node->next;
			func(arg, data);
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x8(%rdi), %r15
testq %r15, %r15
je 0x57d8
movq %rdx, %rbx
movq %rsi, %r14
movq (%rdi), %r12
xorl %r13d, %r13d
movq (%r12,%r13,8), %rax
testq %rax, %rax
je 0x57d0
movq (%rax), %rbp
movq 0x10(%rax), %rsi
movq %rbx, %rdi
callq *%r14
movq %rbp, %rax
testq %rbp, %rbp
jne 0x57bb
incq %r13
cmpq %r15, %r13
jne 0x57b2
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/amadvance[P]tommyds/tommyds/tommyhashdyn.c
// Function: tommy_hashdyn_insert
void tommy_hashdyn_insert(tommy_hashdyn* hashdyn, tommy_hashdyn_node* node, void* data, tommy_hash_t hash)
{
	tommy_size_t pos = hash & hashdyn->bucket_mask;

	tommy_list_insert_tail(&hashdyn->bucket[pos], node, data);

	node->index = hash;

	++hashdyn->count;

	hashdyn_grow_step(hashdyn);
}

// Assembly:
movq 0x10(%rdi), %rax
andq %rcx, %rax
movq (%rdi), %r9
movq (%r9,%rax,8), %r8
testq %r8, %r8
je 0x585c
movq 0x8(%r8), %rax
movq %rax, 0x8(%rsi)
movq %rsi, 0x8(%r8)
movq 0x8(%rsi), %rax
jmp 0x5864
leaq (%r9,%rax,8), %rax
movq %rsi, 0x8(%rsi)
movq $0x0, (%rsi)
movq %rsi, (%rax)
movq %rdx, 0x10(%rsi)
movq %rcx, 0x18(%rsi)
movq 0x8(%rdi), %rax
movq 0x18(%rdi), %rcx
incq %rcx
movq %rcx, 0x18(%rdi)
shrq %rax
cmpq %rax, %rcx
jae 0x588e
retq
movl 0x20(%rdi), %esi
incl %esi
jmp 0x63b7
// File: /workspace/github_cpp_makefile_star2_O3/amadvance[P]tommyds/tommyds/tommyhashdyn.c
// Function: tommy_hashdyn_remove_existing
void* tommy_hashdyn_remove_existing(tommy_hashdyn* hashdyn, tommy_hashdyn_node* node)
{
	tommy_size_t pos = node->index & hashdyn->bucket_mask;

	tommy_list_remove_existing(&hashdyn->bucket[pos], node);

	--hashdyn->count;

	hashdyn_shrink_step(hashdyn);

	return node->data;
}

// Assembly:
pushq %rbx
movq %rsi, %rbx
movq (%rdi), %rax
movq 0x10(%rdi), %rcx
andq 0x18(%rsi), %rcx
leaq (%rax,%rcx,8), %rax
movq (%rax), %rcx
movq (%rsi), %rdx
movq 0x8(%rsi), %rsi
testq %rdx, %rdx
movq %rdx, %r8
cmoveq %rcx, %r8
movq %rsi, 0x8(%r8)
cmpq %rbx, %rcx
cmoveq %rax, %rsi
movq %rdx, (%rsi)
movq 0x8(%rdi), %rax
movq 0x18(%rdi), %rcx
decq %rcx
movq %rcx, 0x18(%rdi)
shrq $0x3, %rax
cmpq %rax, %rcx
ja 0x58f4
movl 0x20(%rdi), %esi
cmpl $0x5, %esi
jb 0x58f4
decl %esi
callq 0x63b7
movq 0x10(%rbx), %rax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/amadvance[P]tommyds/tommyds/tommyhashdyn.c
// Function: tommy_hashdyn_remove
void* tommy_hashdyn_remove(tommy_hashdyn* hashdyn, tommy_search_func* cmp, const void* cmp_arg, tommy_hash_t hash)
{
	tommy_size_t pos = hash & hashdyn->bucket_mask;
	tommy_hashdyn_node* node = hashdyn->bucket[pos];

	while (node) {
		/* we first check if the hash matches, as in the same bucket we may have multiples hash values */
		if (node->index == hash && cmp(cmp_arg, node->data) == 0) {
			tommy_list_remove_existing(&hashdyn->bucket[pos], node);

			--hashdyn->count;

			hashdyn_shrink_step(hashdyn);

			return node->data;
		}
		node = node->next;
	}

	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x10(%rdi), %r15
andq %rcx, %r15
movq (%rdi), %rax
movq (%rax,%r15,8), %rbp
testq %rbp, %rbp
je 0x5941
movq %rcx, %r14
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
cmpq %r14, 0x18(%rbp)
jne 0x5938
movq 0x10(%rbp), %rsi
movq %r12, %rdi
callq *%r13
testl %eax, %eax
je 0x5945
movq (%rbp), %rbp
testq %rbp, %rbp
jne 0x5924
xorl %eax, %eax
jmp 0x599d
movq (%rbx), %rax
leaq (%rax,%r15,8), %rax
movq (%rax), %rcx
movq (%rbp), %rdx
movq 0x8(%rbp), %rsi
testq %rdx, %rdx
movq %rdx, %rdi
cmoveq %rcx, %rdi
movq %rsi, 0x8(%rdi)
cmpq %rbp, %rcx
cmoveq %rax, %rsi
movq %rdx, (%rsi)
movq 0x8(%rbx), %rax
movq 0x18(%rbx), %rcx
decq %rcx
movq %rcx, 0x18(%rbx)
shrq $0x3, %rax
cmpq %rax, %rcx
ja 0x5999
movl 0x20(%rbx), %esi
cmpl $0x5, %esi
jb 0x5999
decl %esi
movq %rbx, %rdi
callq 0x63b7
movq 0x10(%rbp), %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/amadvance[P]tommyds/tommyds/tommyhashdyn.c
// Function: tommy_hashdyn_foreach
void tommy_hashdyn_foreach(tommy_hashdyn* hashdyn, tommy_foreach_func* func)
{
	tommy_size_t bucket_max = hashdyn->bucket_max;
	tommy_hashdyn_node** bucket = hashdyn->bucket;
	tommy_size_t pos;

	for (pos = 0; pos < bucket_max; ++pos) {
		tommy_hashdyn_node* node = bucket[pos];

		while (node) {
			void* data = node->data;
			node = node->next;
			func(data);
		}
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq 0x8(%rdi), %r14
testq %r14, %r14
je 0x59e9
movq %rsi, %rbx
movq (%rdi), %r15
xorl %r12d, %r12d
movq (%r15,%r12,8), %rax
testq %rax, %rax
je 0x59e1
movq (%rax), %r13
movq 0x10(%rax), %rdi
callq *%rbx
movq %r13, %rax
testq %r13, %r13
jne 0x59d0
incq %r12
cmpq %r14, %r12
jne 0x59c7
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/amadvance[P]tommyds/tommyds/tommyhashdyn.c
// Function: tommy_hashdyn_foreach_arg
void tommy_hashdyn_foreach_arg(tommy_hashdyn* hashdyn, tommy_foreach_arg_func* func, void* arg)
{
	tommy_size_t bucket_max = hashdyn->bucket_max;
	tommy_hashdyn_node** bucket = hashdyn->bucket;
	tommy_size_t pos;

	for (pos = 0; pos < bucket_max; ++pos) {
		tommy_hashdyn_node* node = bucket[pos];

		while (node) {
			void* data = node->data;
			node = node->next;
			func(arg, data);
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x8(%rdi), %r15
testq %r15, %r15
je 0x5a39
movq %rdx, %rbx
movq %rsi, %r14
movq (%rdi), %r12
xorl %r13d, %r13d
movq (%r12,%r13,8), %rax
testq %rax, %rax
je 0x5a31
movq (%rax), %rbp
movq 0x10(%rax), %rsi
movq %rbx, %rdi
callq *%r14
movq %rbp, %rax
testq %rbp, %rbp
jne 0x5a1c
incq %r13
cmpq %r15, %r13
jne 0x5a13
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/amadvance[P]tommyds/tommyds/tommyhashlin.c
// Function: tommy_hashlin_done
void tommy_hashlin_done(tommy_hashlin* hashlin)
{
	tommy_uint_t i;

	tommy_free(hashlin->bucket[0]);
	for (i = TOMMY_HASHLIN_BIT; i < hashlin->bucket_bit; ++i) {
		tommy_hashlin_node** segment = hashlin->bucket[i];
		tommy_free(&segment[(tommy_ptrdiff_t)1 << i]);
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rdi
callq 0x1030
cmpl $0x7, 0x230(%rbx)
jb 0x5b6e
movl $0x6, %r14d
movl $0x1, %edi
movl %r14d, %ecx
shlq %cl, %rdi
shlq $0x3, %rdi
addq (%rbx,%r14,8), %rdi
callq 0x1030
incq %r14
movl 0x230(%rbx), %eax
cmpq %rax, %r14
jb 0x5b48
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/amadvance[P]tommyds/tommyds/tommyhashlin.c
// Function: tommy_hashlin_insert
void tommy_hashlin_insert(tommy_hashlin* hashlin, tommy_hashlin_node* node, void* data, tommy_hash_t hash)
{
	tommy_list_insert_tail(tommy_hashlin_bucket_ref(hashlin, hash), node, data);

	node->index = hash;

	++hashlin->count;

	hashlin_grow_step(hashlin);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq 0x218(%rdi), %rdi
andq %rcx, %rdi
movq 0x220(%rbx), %rax
cmpq %rax, %rdi
jae 0x5ba2
movq 0x208(%rbx), %rdi
andq %rcx, %rdi
movq %rdi, %r8
orq $0x1, %r8
bsrq %r8, %r8
shll $0x3, %r8d
movq (%rbx,%r8), %r9
movq (%r9,%rdi,8), %r8
testq %r8, %r8
je 0x5bd0
movq 0x8(%r8), %rdi
movq %rdi, 0x8(%rsi)
movq %rsi, 0x8(%r8)
movq 0x8(%rsi), %rdi
jmp 0x5bd8
leaq (%r9,%rdi,8), %rdi
movq %rsi, 0x8(%rsi)
movq $0x0, (%rsi)
movq %rsi, (%rdi)
movq %rdx, 0x10(%rsi)
movq %rcx, 0x18(%rsi)
movq 0x228(%rbx), %r15
incq %r15
movq %r15, 0x228(%rbx)
movl 0x234(%rbx), %ecx
cmpl $0x1, %ecx
je 0x5c8a
movq 0x200(%rbx), %r14
movq %r14, %rdx
shrq %rdx
cmpq %rdx, %r15
jbe 0x5d6a
testl %ecx, %ecx
jne 0x5c80
movq %r14, 0x210(%rbx)
movq 0x208(%rbx), %rax
movq %rax, 0x218(%rbx)
shlq $0x3, %r14
movq %r14, %rdi
callq 0x10c0
subq %r14, %rax
movl 0x230(%rbx), %ecx
movq %rax, (%rbx,%rcx,8)
incl %ecx
movl %ecx, 0x230(%rbx)
movl $0x1, %eax
shlq %cl, %rax
movq %rax, 0x200(%rbx)
decq %rax
movq %rax, 0x208(%rbx)
movq $0x0, 0x220(%rbx)
xorl %eax, %eax
movl $0x1, 0x234(%rbx)
addq %r15, %r15
movq 0x210(%rbx), %rcx
leaq (%rax,%rcx), %rsi
cmpq %r15, %rsi
jae 0x5d6a
xorl %edx, %edx
movq %rax, %rdi
orq $0x1, %rdi
bsrq %rdi, %rdi
shll $0x3, %edi
movq (%rbx,%rdi), %rdi
leaq (%rdi,%rax,8), %rdi
movq %rdi, (%rsp)
movq %rsi, %r8
orq $0x1, %r8
bsrq %r8, %r8
shll $0x3, %r8d
movq (%rbx,%r8), %r8
leaq (%r8,%rsi,8), %r8
movq %r8, 0x8(%rsp)
movq (%rdi), %rsi
movq %rdx, (%rdi)
movq %rdx, (%r8)
testq %rsi, %rsi
je 0x5d29
movq (%rsi), %rdi
xorl %r8d, %r8d
testq %rcx, 0x18(%rsi)
setne %r8b
movq (%rsp,%r8,8), %r8
movq (%r8), %r9
testq %r9, %r9
je 0x5d13
movq 0x8(%r9), %r8
movq %r8, 0x8(%rsi)
movq %rsi, 0x8(%r9)
movq 0x8(%rsi), %r8
jmp 0x5d17
movq %rsi, 0x8(%rsi)
movq $0x0, (%rsi)
movq %rsi, (%r8)
movq %rdi, %rsi
testq %rdi, %rdi
jne 0x5ce7
incq %rax
cmpq %rcx, %rax
je 0x5d47
leaq (%rax,%rcx), %rsi
cmpq %r15, %rsi
jb 0x5ca3
movq %rax, 0x220(%rbx)
jmp 0x5d6a
movl $0x0, 0x234(%rbx)
movups 0x200(%rbx), %xmm0
movups %xmm0, 0x210(%rbx)
movq $0x0, 0x220(%rbx)
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/amadvance[P]tommyds/tommyds/tommyhashlin.c
// Function: tommy_hashlin_remove_existing
void* tommy_hashlin_remove_existing(tommy_hashlin* hashlin, tommy_hashlin_node* node)
{
	tommy_list_remove_existing(tommy_hashlin_bucket_ref(hashlin, node->index), node);

	--hashlin->count;

	hashlin_shrink_step(hashlin);

	return node->data;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x18(%rsi), %rdx
movq 0x218(%rdi), %rcx
andq %rdx, %rcx
movq 0x220(%rdi), %rax
cmpq %rax, %rcx
jae 0x5da2
andq 0x208(%r14), %rdx
movq %rdx, %rcx
movq %rcx, %rdx
orq $0x1, %rdx
bsrq %rdx, %rdx
shll $0x3, %edx
movq (%r14,%rdx), %rdx
leaq (%rdx,%rcx,8), %rcx
movq (%rcx), %rdx
movq (%rbx), %rsi
movq 0x8(%rbx), %rdi
testq %rsi, %rsi
movq %rsi, %r8
cmoveq %rdx, %r8
movq %rdi, 0x8(%r8)
cmpq %rbx, %rdx
cmoveq %rcx, %rdi
movq %rsi, (%rdi)
movq 0x228(%r14), %rcx
decq %rcx
movq %rcx, 0x228(%r14)
movl 0x234(%r14), %esi
cmpl $0x2, %esi
jne 0x5eed
shlq $0x3, %rcx
movq 0x210(%r14), %rdx
leaq -0x8(,%rax,8), %rsi
decq %rax
leaq (,%rdx,8), %rdi
leaq (%rdx,%rax), %r8
incq %r8
cmpq %rcx, %r8
jbe 0x5f43
movq %rax, 0x220(%r14)
leaq (%rdx,%rax), %r8
orq $0x1, %r8
bsrq %r8, %r8
shll $0x3, %r8d
movq (%r14,%r8), %r8
addq %rdi, %r8
movq (%r8,%rax,8), %r8
testq %r8, %r8
je 0x5e84
movq %rax, %r9
orq $0x1, %r9
bsrq %r9, %r9
shll $0x3, %r9d
movq (%r14,%r9), %r9
movq (%r9,%rax,8), %r10
testq %r10, %r10
je 0x5e7e
movq 0x8(%r10), %r9
movq 0x8(%r8), %r11
movq %r11, 0x8(%r10)
movq %r9, 0x8(%r8)
jmp 0x5e81
addq %rsi, %r9
movq %r8, (%r9)
addq $-0x8, %rsi
addq $-0x1, %rax
jb 0x5e19
movl 0x230(%r14), %ecx
decl %ecx
movl $0x1, %edi
shlq %cl, %rdi
movl %ecx, 0x230(%r14)
movq %rdi, 0x200(%r14)
leaq -0x1(%rdi), %rax
movq %rax, 0x208(%r14)
shlq $0x3, %rdi
addq (%r14,%rcx,8), %rdi
callq 0x1030
movl $0x0, 0x234(%r14)
movups 0x200(%r14), %xmm0
movups %xmm0, 0x210(%r14)
movq $0x0, 0x220(%r14)
jmp 0x5f43
movq 0x200(%r14), %rdx
movq %rdx, %rdi
shrq $0x3, %rdi
cmpq %rdi, %rcx
jae 0x5f43
cmpl $0x7, 0x230(%r14)
jb 0x5f43
testl %esi, %esi
jne 0x5f33
shrq %rdx
movq %rdx, 0x210(%r14)
movq 0x208(%r14), %rax
shrq %rax
movq %rax, 0x218(%r14)
movq %rdx, 0x220(%r14)
movq %rdx, %rax
movl $0x2, 0x234(%r14)
jmp 0x5dfb
movq 0x10(%rbx), %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/amadvance[P]tommyds/tommyds/tommyhashlin.c
// Function: tommy_hashlin_foreach
void tommy_hashlin_foreach(tommy_hashlin* hashlin, tommy_foreach_func* func)
{
	tommy_size_t bucket_max;
	tommy_size_t pos;

	/* number of valid buckets */
	bucket_max = hashlin->low_max + hashlin->split;

	for (pos = 0; pos < bucket_max; ++pos) {
		tommy_hashlin_node* node = *tommy_hashlin_pos(hashlin, pos);

		while (node) {
			void* data = node->data;
			node = node->next;
			func(data);
		}
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq 0x220(%rdi), %r15
addq 0x210(%rdi), %r15
je 0x61cb
movq %rsi, %rbx
movq %rdi, %r14
xorl %r12d, %r12d
movq %r12, %rax
orq $0x1, %rax
bsrq %rax, %rax
shll $0x3, %eax
movq (%r14,%rax), %rax
movq (%rax,%r12,8), %rax
testq %rax, %rax
je 0x61c3
movq (%rax), %r13
movq 0x10(%rax), %rdi
callq *%rbx
movq %r13, %rax
testq %r13, %r13
jne 0x61b2
incq %r12
cmpq %r15, %r12
jne 0x6197
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/amadvance[P]tommyds/tommyds/tommyhashlin.c
// Function: tommy_hashlin_foreach_arg
void tommy_hashlin_foreach_arg(tommy_hashlin* hashlin, tommy_foreach_arg_func* func, void* arg)
{
	tommy_size_t bucket_max;
	tommy_size_t pos;

	/* number of valid buckets */
	bucket_max = hashlin->low_max + hashlin->split;

	for (pos = 0; pos < bucket_max; ++pos) {
		tommy_hashlin_node* node = *tommy_hashlin_pos(hashlin, pos);

		while (node) {
			void* data = node->data;
			node = node->next;
			func(arg, data);
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x220(%rdi), %r12
addq 0x210(%rdi), %r12
je 0x6234
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
xorl %r13d, %r13d
movq %r13, %rax
orq $0x1, %rax
bsrq %rax, %rax
shll $0x3, %eax
movq (%r15,%rax), %rax
movq (%rax,%r13,8), %rax
testq %rax, %rax
je 0x622c
movq (%rax), %rbp
movq 0x10(%rax), %rsi
movq %rbx, %rdi
callq *%r14
movq %rbp, %rax
testq %rbp, %rbp
jne 0x6217
incq %r13
cmpq %r12, %r13
jne 0x61fc
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/amadvance[P]tommyds/tommyds/tommytree.c
// Function: tommy_tree_balance
static tommy_tree_node* tommy_tree_balance(tommy_tree_node* root)
{
	tommy_ssize_t delta = tommy_tree_delta(root);

	if (delta < -1) {
		if (tommy_tree_delta(root->next) > 0)
			root->next = tommy_tree_rotate_right(root->next);
		return tommy_tree_rotate_left(root);
	}

	if (delta > 1) {
		if (tommy_tree_delta(root->prev) < 0)
			root->prev = tommy_tree_rotate_left(root->prev);
		return tommy_tree_rotate_right(root);
	}

	/* recompute key */
	root->index = 0;

	if (root->prev && root->prev->index > root->index)
		root->index = root->prev->index;

	if (root->next && root->next->index > root->index)
		root->index = root->next->index;

	/* count itself */
	root->index += 1;

	return root;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rbx), %r15
testq %r15, %r15
je 0x6274
movq 0x18(%r15), %rax
jmp 0x6276
xorl %eax, %eax
movq (%rbx), %r14
testq %r14, %r14
je 0x6284
movq 0x18(%r14), %rcx
jmp 0x6286
xorl %ecx, %ecx
subq %rcx, %rax
cmpq $-0x2, %rax
jg 0x629f
movq 0x8(%r14), %r12
testq %r12, %r12
je 0x62b8
movq 0x18(%r12), %rax
jmp 0x62ba
cmpq $0x2, %rax
jl 0x634d
movq 0x8(%r15), %rax
testq %rax, %rax
je 0x62fb
movq 0x18(%rax), %rax
jmp 0x62fd
xorl %eax, %eax
movq (%r14), %rcx
testq %rcx, %rcx
je 0x62c8
movq 0x18(%rcx), %rcx
jmp 0x62ca
xorl %ecx, %ecx
cmpq %rcx, %rax
jle 0x62f2
movq (%r12), %rax
movq %rax, 0x8(%r14)
movq %r14, %rdi
callq 0x625a
movq %rax, (%r12)
movq %r12, %rdi
callq 0x625a
movq %rax, %r14
movq 0x8(%rax), %r12
leaq 0x8(%r14), %r15
movq %r12, (%rbx)
jmp 0x633a
xorl %eax, %eax
movq (%r15), %r14
testq %r14, %r14
je 0x630b
movq 0x18(%r14), %rcx
jmp 0x630d
xorl %ecx, %ecx
cmpq %rcx, %rax
jge 0x6333
movq 0x8(%r14), %rax
movq %rax, (%r15)
movq %r15, %rdi
callq 0x625a
movq %rax, 0x8(%r14)
movq %r14, %rdi
callq 0x625a
movq %rax, %r15
movq (%rax), %r14
movq %r14, 0x8(%rbx)
movq %r15, %r14
movq %rbx, %rdi
callq 0x625a
movq %rax, (%r15)
movq %r14, %rbx
jmp 0x6265
movq $0x0, 0x18(%rbx)
testq %r15, %r15
je 0x6369
movq 0x18(%r15), %rax
testq %rax, %rax
je 0x6369
movq %rax, 0x18(%rbx)
jmp 0x636b
xorl %eax, %eax
testq %r14, %r14
je 0x6380
movq 0x18(%r14), %rcx
cmpq %rax, %rcx
jbe 0x6380
movq %rcx, 0x18(%rbx)
movq %rcx, %rax
incq %rax
movq %rax, 0x18(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/Rjerk[P]ratabase/Logger.cpp
// Function: logging::getTimeStr[abi:cxx11]()
std::string getTimeStr()
{
    std::time_t t;
    std::time(&t);
    std::string str = std::ctime(&t);
    str.erase(str.size()-1);
    return str;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x21a0
movq %r14, %rdi
callq 0x20d0
leaq 0xf(%rsp), %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x20e0
movq 0x8(%rbx), %rdx
subq $0x1, %rdx
jb 0x269b
movq %rdx, 0x8(%rbx)
movq (%rbx), %rax
movb $0x0, (%rax,%rdx)
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
leaq 0x1a1b(%rip), %rdi      # 0x40bd
leaq 0x1a00(%rip), %rsi      # 0x40a9
xorl %ecx, %ecx
xorl %eax, %eax
callq 0x2230
movq %rax, %r14
movq (%rbx), %rdi
addq $0x10, %rbx
cmpq %rbx, %rdi
je 0x26c6
callq 0x21b0
movq %r14, %rdi
callq 0x22b0
// File: /workspace/github_cpp_makefile_star2_O3/Rjerk[P]ratabase/Logger.cpp
// Function: logging::Logger::Logger(char const*, int, char const*, logging::Logger::LogLevel)
Logger::Logger(const char* filename, int line, const char* func_name, LogLevel level)
{
    setLevel(level);
    sstream_ << "[";
    sstream_ << level_string[level];
    sstream_ << "]";
    sstream_ << getTimeStr() << " ";
    sstream_ << filename << " ";
    sstream_ << "(" << line << ") ";
    sstream_ << func_name << " ";
    sstream_ << ": ";
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r8d, %r13d
movq %rcx, %r15
movl %edx, %ebp
movq %rsi, %r12
movq %rdi, %rbx
callq 0x2140
movl %r13d, 0x3ad2(%rip)     # 0x61c8
leaq 0x10(%rbx), %r14
leaq 0x199f(%rip), %rsi      # 0x40a0
movl $0x1, %edx
movq %r14, %rdi
callq 0x21f0
movl %r13d, %eax
leaq 0x3a68(%rip), %rcx      # 0x6180
movq (%rcx,%rax,8), %r13
testq %r13, %r13
je 0x2739
movq %r13, %rdi
callq 0x2100
movq %r14, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0x21f0
jmp 0x2751
movq (%r14), %rax
movq -0x18(%rax), %rax
leaq (%r14,%rax), %rdi
movl 0x20(%r14,%rax), %esi
orl $0x1, %esi
callq 0x2280
leaq 0x194a(%rip), %rsi      # 0x40a2
movl $0x1, %edx
movq %r14, %rdi
callq 0x21f0
leaq 0x8(%rsp), %rdi
callq 0x264c
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r14, %rdi
callq 0x21f0
leaq 0x191f(%rip), %rsi      # 0x40a7
movl $0x1, %edx
movq %rax, %rdi
callq 0x21f0
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x27a8
callq 0x21b0
testq %r12, %r12
je 0x27c5
movq %r12, %rdi
callq 0x2100
movq %r14, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x21f0
jmp 0x27dd
movq (%r14), %rax
movq -0x18(%rax), %rax
leaq (%r14,%rax), %rdi
movl 0x20(%r14,%rax), %esi
orl $0x1, %esi
callq 0x2280
leaq 0x18c3(%rip), %rsi      # 0x40a7
movl $0x1, %edx
movq %r14, %rdi
callq 0x21f0
leaq 0x18ac(%rip), %rsi      # 0x40a4
movl $0x1, %edx
movq %r14, %rdi
callq 0x21f0
movq %r14, %rdi
movl %ebp, %esi
callq 0x2290
leaq 0x1890(%rip), %rsi      # 0x40a6
movl $0x2, %edx
movq %rax, %rdi
callq 0x21f0
testq %r15, %r15
je 0x2840
movq %r15, %rdi
callq 0x2100
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x21f0
jmp 0x2858
movq (%r14), %rax
movq -0x18(%rax), %rax
leaq (%r14,%rax), %rdi
movl 0x20(%r14,%rax), %esi
orl $0x1, %esi
callq 0x2280
leaq 0x1848(%rip), %rsi      # 0x40a7
movl $0x1, %edx
movq %r14, %rdi
callq 0x21f0
leaq 0x1992(%rip), %rsi      # 0x4205
movl $0x2, %edx
movq %r14, %rdi
callq 0x21f0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x28a9
movq %rax, %r14
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x28ac
callq 0x21b0
jmp 0x28ac
movq %rax, %r14
movq 0x36fd(%rip), %rsi      # 0x5fb0
movq %rbx, %rdi
callq 0x2150
subq $-0x80, %rbx
movq %rbx, %rdi
callq 0x2090
movq %r14, %rdi
callq 0x22b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/Rjerk[P]ratabase/Logger.cpp
// Function: logging::Logger::~Logger()
Logger::~Logger()
{
    if (output_callback_) {
        std::string str = sstream_.str();
        sstream_.flush();
        output_callback_(std::move(str));
    }
    if (level_limit_ == Fatal) {
        sstream_.flush();
        ::abort();
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
cmpq $0x0, 0x38ea(%rip)      # 0x61e0
je 0x2996
leaq 0x18(%rbx), %rsi
movq %rsp, %rdi
callq 0x2270
leaq 0x10(%rbx), %rdi
callq 0x2130
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x10(%rsp), %r14
movq -0x10(%r14), %rax
cmpq %r14, %rax
je 0x2939
movq %rax, 0x20(%rsp)
movq 0x10(%rsp), %rax
movq %rax, 0x30(%rsp)
jmp 0x2941
movups (%r14), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rsp), %rax
movq %rax, 0x28(%rsp)
movq %r14, (%rsp)
movq $0x0, 0x8(%rsp)
movb $0x0, 0x10(%rsp)
cmpq $0x0, 0x387b(%rip)      # 0x61e0
je 0x29d2
leaq 0x3862(%rip), %rdi      # 0x61d0
leaq 0x20(%rsp), %rsi
callq *0x386f(%rip)           # 0x61e8
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x2988
callq 0x21b0
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x2996
callq 0x21b0
cmpl $0x5, 0x382b(%rip)      # 0x61c8
je 0x29c4
movq 0x360a(%rip), %rsi      # 0x5fb0
movq %rbx, %rdi
callq 0x2150
subq $-0x80, %rbx
movq %rbx, %rdi
callq 0x2090
addq $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq
leaq 0x10(%rbx), %rdi
callq 0x2130
callq 0x2110
callq 0x20c0
jmp 0x29de
movq %rax, %r14
jmp 0x29f5
movq %rax, %r14
jmp 0x2a08
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x29f5
callq 0x21b0
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2a08
callq 0x21b0
movq %rbx, %rdi
callq 0x2160
movq %r14, %rdi
callq 0x2210
// File: /workspace/github_cpp_makefile_star2_O3/Rjerk[P]ratabase/Sockets.cpp
// Function: sockets::setNonBlockAndCloseOnExec(int)
void sockets::setNonBlockAndCloseOnExec(int sockfd)
{
    int flags = ::fcntl(sockfd, F_GETFL, 0);
    flags = flags | O_NONBLOCK;
    if ((::fcntl(sockfd, F_SETFL, flags)) == -1) {
        LOG_ERROR << "setNonBlockAndCloseOnExec: fcntl error - set O_NONBLOCK";
    }

    flags = ::fcntl(sockfd, F_GETFL, 0);
    flags |= FD_CLOEXEC;
    if (::fcntl(sockfd, F_SETFL, flags) == -1) {
        LOG_ERROR << "setNonBlockAndCloseOnExec: fcntl error - set FD_CLOEXEC";
    }
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x188, %rsp            # imm = 0x188
movl %edi, %ebx
movl $0x3, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x2120
orl $0x800, %eax            # imm = 0x800
movl %ebx, %edi
movl $0x4, %esi
movl %eax, %edx
xorl %eax, %eax
callq 0x2120
cmpl $-0x1, %eax
jne 0x2c34
leaq 0x151b(%rip), %rsi      # 0x410a
leaq 0x1520(%rip), %rcx      # 0x4116
movq %rsp, %r14
movq %r14, %rdi
movl $0xe, %edx
movl $0x4, %r8d
callq 0x26ce
movq %r14, %rdi
callq 0x2a30
addq $0x10, %rax
leaq 0x1511(%rip), %rsi      # 0x4130
movl $0x37, %edx
movq %rax, %rdi
callq 0x21f0
movq %rsp, %rdi
callq 0x28e2
movl %ebx, %edi
movl $0x3, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x2120
orl $0x1, %eax
movl %ebx, %edi
movl $0x4, %esi
movl %eax, %edx
xorl %eax, %eax
callq 0x2120
cmpl $-0x1, %eax
jne 0x2ca8
leaq 0x14a7(%rip), %rsi      # 0x410a
leaq 0x14ac(%rip), %rcx      # 0x4116
movq %rsp, %rbx
movq %rbx, %rdi
movl $0x14, %edx
movl $0x4, %r8d
callq 0x26ce
movq %rbx, %rdi
callq 0x2a30
addq $0x10, %rax
leaq 0x14d5(%rip), %rsi      # 0x4168
movl $0x37, %edx
movq %rax, %rdi
callq 0x21f0
movq %rsp, %rdi
callq 0x28e2
addq $0x188, %rsp            # imm = 0x188
popq %rbx
popq %r14
retq
jmp 0x2cb5
movq %rax, %rbx
movq %rsp, %rdi
callq 0x28e2
movq %rbx, %rdi
callq 0x22b0
// File: /workspace/github_cpp_makefile_star2_O3/Rjerk[P]ratabase/Sockets.cpp
// Function: sockets::read(int, void*, unsigned long)
ssize_t sockets::read(int sockfd, void* buf, size_t count)
{
    ssize_t n;
    if ((n = ::read(sockfd, buf, count)) == -1) {
        LOG_ERROR << "sockets::read";
    }
    return n;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x188, %rsp            # imm = 0x188
callq 0x2220
movq %rax, %rbx
cmpq $-0x1, %rax
jne 0x3187
leaq 0xfc8(%rip), %rsi       # 0x410a
leaq 0x10f3(%rip), %rcx      # 0x423c
movq %rsp, %r14
movq %r14, %rdi
movl $0x5f, %edx
movl $0x4, %r8d
callq 0x26ce
movq %r14, %rdi
callq 0x2a30
addq $0x10, %rax
leaq 0x10c1(%rip), %rsi      # 0x4233
movl $0xd, %edx
movq %rax, %rdi
callq 0x21f0
movq %rsp, %rdi
callq 0x28e2
movq %rbx, %rax
addq $0x188, %rsp            # imm = 0x188
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x28e2
movq %rbx, %rdi
callq 0x22b0
// File: /workspace/github_cpp_makefile_star2_O3/Rjerk[P]ratabase/Sockets.cpp
// Function: sockets::write(int, void const*, unsigned long)
ssize_t sockets::write(int sockfd, const void* buf, size_t count)
{
    ssize_t n;
    if ((n = ::write(sockfd, buf, count)) == -1) {
        LOG_ERROR << "sockets::write";
    }
    return n;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x188, %rsp            # imm = 0x188
callq 0x20b0
movq %rax, %rbx
cmpq $-0x1, %rax
jne 0x320c
leaq 0xf43(%rip), %rsi       # 0x410a
leaq 0x107c(%rip), %rcx      # 0x424a
movq %rsp, %r14
movq %r14, %rdi
movl $0x68, %edx
movl $0x4, %r8d
callq 0x26ce
movq %r14, %rdi
callq 0x2a30
addq $0x10, %rax
leaq 0x104a(%rip), %rsi      # 0x4241
movl $0xe, %edx
movq %rax, %rdi
callq 0x21f0
movq %rsp, %rdi
callq 0x28e2
movq %rbx, %rax
addq $0x188, %rsp            # imm = 0x188
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x28e2
movq %rbx, %rdi
callq 0x22b0
// File: /workspace/github_cpp_makefile_star2_O3/openflightmaps[P]ofm2xplane/main.cpp
// Function: my_stoi(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
int my_stoi(string s)
{
    if(s.length()==0)
        return 0;
    int out=0;
    int add=1;
    size_t p1=s.find_first_of("1234567890");
    s=s.substr(p1);
    p1=s.find_first_not_of("1234567890");
    s=s.substr(0,p1);
    int m=s.length();
    for (int i=m-1; i>=0; i--)
    {
        out+=add * (int(s.at(i))-48);
        add=add*10;
    }
    return out;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
cmpq $0x0, 0x8(%rdi)
je 0x5570
movq %rdi, %rbx
leaq 0x60e1(%rip), %rsi      # 0xb576
movl $0xa, %ecx
xorl %edx, %edx
callq 0x2250
leaq -0x40(%rbp), %r14
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
movq $-0x1, %rcx
callq 0x21c0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x21f0
movq (%r14), %rdi
leaq -0x30(%rbp), %r12
cmpq %r12, %rdi
je 0x54dd
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x21b0
leaq 0x6092(%rip), %rsi      # 0xb576
xorl %r14d, %r14d
movl $0xa, %ecx
movq %rbx, %rdi
xorl %edx, %edx
callq 0x22d0
leaq -0x40(%rbp), %r15
movq %r15, %rdi
movq %rbx, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x21c0
movq %rbx, %rdi
movq %r15, %rsi
callq 0x21f0
movq (%r15), %rdi
cmpq %r12, %rdi
je 0x5529
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x21b0
movq 0x8(%rbx), %rdx
testl %edx, %edx
jle 0x5573
movl %edx, %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
decq %rsi
movl $0x1, %eax
xorl %r14d, %r14d
cmpq %rsi, %rdx
jbe 0x5583
movq (%rbx), %rcx
movsbl (%rcx,%rsi), %ecx
addl $-0x30, %ecx
imull %eax, %ecx
addl %ecx, %r14d
addl %eax, %eax
leal (%rax,%rax,4), %eax
leaq -0x1(%rsi), %rcx
incq %rsi
cmpq $0x1, %rsi
movq %rcx, %rsi
ja 0x5544
jmp 0x5573
xorl %r14d, %r14d
movl %r14d, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x62c6(%rip), %rdi      # 0xb850
xorl %eax, %eax
callq 0x2240
// File: /workspace/github_cpp_makefile_star2_O3/openflightmaps[P]ofm2xplane/main.cpp
// Function: my_stof(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int)
float my_stof(string s, int d)
{
    if(s.length()==0)
        return 0.0;
    float out=0.0;
    float add=1.0;
    int l1;
    int l2;
    size_t p1=s.find_first_of("1234567890.");
    s=s.substr(p1);
    p1=s.find_first_not_of("1234567890.");
    s=s.substr(0,p1);
    
    l1=s.find(".");
    if(l1==s.npos)
        l1=s.length();
    l2=s.length();
    
    for(int i=l1-1;i>=0;i--)
    {
        out+=add*(int(s.at(i))-48);
        add=add*10;
    }
    
    add=0.1;
    int j=0;
    for(int i=l1+1;i<l2;i++)
    {
        out+=add*(int(s.at(i))-48);
        add=add*0.1;
        j++;
        if(j==d)
            break;
    }
    return out;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
cmpq $0x0, 0x8(%rdi)
je 0x56bf
movl %esi, %ebx
movq %rdi, %r14
leaq 0x5f5e(%rip), %rsi      # 0xb515
movl $0xb, %ecx
xorl %edx, %edx
callq 0x2250
leaq -0x40(%rbp), %r15
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
movq $-0x1, %rcx
callq 0x21c0
movq %r14, %rdi
movq %r15, %rsi
callq 0x21f0
movq (%r15), %rdi
leaq -0x30(%rbp), %r12
cmpq %r12, %rdi
je 0x55ff
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x21b0
leaq 0x5f0f(%rip), %rsi      # 0xb515
movl $0xb, %ecx
movq %r14, %rdi
xorl %edx, %edx
callq 0x22d0
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x21c0
movq %r14, %rdi
movq %r15, %rsi
callq 0x21f0
movq (%r15), %rdi
cmpq %r12, %rdi
je 0x5644
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x21b0
leaq 0x5a49(%rip), %rsi      # 0xb094
movl $0x1, %ecx
movq %r14, %rdi
xorl %edx, %edx
callq 0x2320
cmpl $-0x1, %eax
movq 0x8(%r14), %rdx
cmoveq %rdx, %rax
testl %eax, %eax
jle 0x56c4
movl %eax, %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
decq %rsi
movss 0x59cc(%rip), %xmm1     # 0xb048
xorps %xmm0, %xmm0
movss 0x59c5(%rip), %xmm2     # 0xb04c
cmpq %rsi, %rdx
jbe 0x572e
movq (%r14), %rcx
movsbl (%rcx,%rsi), %ecx
addl $-0x30, %ecx
xorps %xmm3, %xmm3
cvtsi2ss %ecx, %xmm3
mulss %xmm1, %xmm3
addss %xmm3, %xmm0
mulss %xmm2, %xmm1
leaq -0x1(%rsi), %rcx
incq %rsi
cmpq $0x1, %rsi
movq %rcx, %rsi
ja 0x5687
jmp 0x56c7
xorps %xmm0, %xmm0
jmp 0x5721
xorps %xmm0, %xmm0
leal 0x1(%rax), %ecx
cmpl %edx, %ecx
jge 0x5721
movslq %ecx, %rsi
movl %edx, %ecx
subl %eax, %ecx
movss 0x5973(%rip), %xmm2     # 0xb050
movl $0x1, %eax
movsd 0x5936(%rip), %xmm1     # 0xb020
cmpq %rsi, %rdx
jbe 0x572e
movq (%r14), %rdi
movsbl (%rdi,%rsi), %edi
addl $-0x30, %edi
xorps %xmm3, %xmm3
cvtsi2ss %edi, %xmm3
mulss %xmm2, %xmm3
addss %xmm3, %xmm0
cmpl %eax, %ebx
je 0x5721
cvtss2sd %xmm2, %xmm2
mulsd %xmm1, %xmm2
cvtsd2ss %xmm2, %xmm2
incq %rsi
incl %eax
cmpl %eax, %ecx
jne 0x56ea
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x611b(%rip), %rdi      # 0xb850
xorl %eax, %eax
callq 0x2240
// File: /workspace/github_cpp_makefile_star2_O3/openflightmaps[P]ofm2xplane/main.cpp
// Function: check_ID(rapidxml::xml_node<char>*, int)
bool check_ID(xml_node<> *node,int id)
{
    for(int i=0;i<4;i++)
    {
        if(node->first_attribute("mid")==NULL)
        {
            if(node->first_node()==NULL)
                return false;
            else
            {
                node=node->first_node();
                continue;
            }
        }else
        {
            if(my_stoi(string(node->first_attribute("mid")->value()))==id)
                return true;
            else
                return false;     
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movl %esi, %ebx
movq %rdi, %r14
leaq 0x5a18(%rip), %rsi      # 0xb25e
xorl %edx, %edx
movl $0x1, %ecx
callq 0x8940
testq %rax, %rax
jne 0x587e
leaq 0x5a00(%rip), %r15      # 0xb25e
movq 0x30(%r14), %r14
testq %r14, %r14
je 0x58de
movq %r14, %rdi
movq %r15, %rsi
xorl %edx, %edx
movl $0x1, %ecx
callq 0x8940
testq %rax, %rax
je 0x585e
leaq 0x59d9(%rip), %rsi      # 0xb25e
movq %r14, %rdi
xorl %edx, %edx
movl $0x1, %ecx
callq 0x8940
movq 0x8(%rax), %rax
testq %rax, %rax
leaq 0x9946(%rip), %rsi      # 0xf1e8
cmovneq %rax, %rsi
leaq -0x40(%rbp), %r14
leaq -0x19(%rbp), %rdx
movq %r14, %rdi
callq 0x8a02
movq %r14, %rdi
callq 0x5471
cmpl %ebx, %eax
sete %bl
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x58e0
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x21b0
jmp 0x58e0
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5909
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x21b0
movq %rbx, %rdi
callq 0x2330
// File: /workspace/github_cpp_makefile_star2_O3/openflightmaps[P]ofm2xplane/main.cpp
// Function: surface_code(rapidxml::xml_node<char>*)
int surface_code(xml_node<> *node)
{
    string s(node->first_node("codeComposition")->value());
    if(s.length()==0)
        s=string(def->first_node("others")->first_node("codeComposition")->value());
    if(s.compare("ASPH")==0)
        return 1;
    if(s.compare("CONC")==0)
        return 2;
    if(s.compare("GRASS")==0)
        return 3;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
leaq 0x5bc8(%rip), %rsi      # 0xb4ed
movl $0x1, %ebx
xorl %edx, %edx
movl $0x1, %ecx
callq 0x8774
movq 0x8(%rax), %rsi
testq %rsi, %rsi
leaq 0x98a4(%rip), %r14      # 0xf1e8
cmoveq %r14, %rsi
leaq -0x40(%rbp), %r15
leaq -0x60(%rbp), %rdx
movq %r15, %rdi
callq 0x8a02
cmpq $0x0, 0x8(%r15)
jne 0x59d2
movq 0x987a(%rip), %rdi      # 0xf1e0
leaq 0x5b90(%rip), %rsi      # 0xb4fd
xorl %edx, %edx
movl $0x1, %ecx
callq 0x8774
leaq 0x5b6d(%rip), %rsi      # 0xb4ed
movq %rax, %rdi
xorl %edx, %edx
movl $0x1, %ecx
callq 0x8774
movq 0x8(%rax), %rax
testq %rax, %rax
cmovneq %rax, %r14
leaq -0x60(%rbp), %rdi
leaq -0x19(%rbp), %rdx
movq %r14, %rsi
callq 0x8a02
leaq -0x40(%rbp), %rdi
leaq -0x60(%rbp), %r14
movq %r14, %rsi
callq 0x21f0
movq (%r14), %rdi
leaq -0x50(%rbp), %rax
cmpq %rax, %rdi
je 0x59d2
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x21b0
leaq 0x5b2b(%rip), %rsi      # 0xb504
leaq -0x40(%rbp), %rdi
callq 0x20a0
testl %eax, %eax
je 0x5a16
leaq 0x5b1c(%rip), %rsi      # 0xb509
leaq -0x40(%rbp), %rdi
callq 0x20a0
testl %eax, %eax
je 0x5a11
leaq 0x5b0d(%rip), %rsi      # 0xb50e
leaq -0x40(%rbp), %rdi
callq 0x20a0
movl $0x3, %ebx
jmp 0x5a16
movl $0x2, %ebx
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5a2f
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x21b0
movl %ebx, %eax
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5a3e
movq %rax, %rbx
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5a5a
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x21b0
movq %rbx, %rdi
callq 0x2330
// File: /workspace/github_cpp_makefile_star2_O3/openflightmaps[P]ofm2xplane/main.cpp
// Function: my_stod(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int)
double my_stod(string s, int d)
{
    if(s.length()==0)
        return 0.0;
    double out=0.0;
    double add=1.0;
    int l1;
    int l2;
    size_t p1=s.find_first_of("1234567890.");
    s=s.substr(p1);
    p1=s.find_first_not_of("1234567890.");
    s=s.substr(0,p1);
    
    l1=s.find(".");
    if(l1==s.npos)
        l1=s.length();
    l2=s.length();
    
    for(int i=l1-1;i>=0;i--)
    {
        out+=add*(int(s.at(i))-48);
        add=add*10;
    }
    int j=0;
    add=0.1;
    for(int i=l1+1;i<l2;i++)
    {
        out+=add*(int(s.at(i))-48);
        add=add*0.1;
        j++;
/*         cout << "add: " << add << endl;
        cout << "out: " << out << endl << endl;
        system("pause"); */
        if(j==d)
            break;
    }
    return out;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
cmpq $0x0, 0x8(%rdi)
je 0x5b91
movl %esi, %ebx
movq %rdi, %r14
leaq 0x5a8d(%rip), %rsi      # 0xb515
movl $0xb, %ecx
xorl %edx, %edx
callq 0x2250
leaq -0x40(%rbp), %r15
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
movq $-0x1, %rcx
callq 0x21c0
movq %r14, %rdi
movq %r15, %rsi
callq 0x21f0
movq (%r15), %rdi
leaq -0x30(%rbp), %r12
cmpq %r12, %rdi
je 0x5ad0
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x21b0
leaq 0x5a3e(%rip), %rsi      # 0xb515
movl $0xb, %ecx
movq %r14, %rdi
xorl %edx, %edx
callq 0x22d0
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x21c0
movq %r14, %rdi
movq %r15, %rsi
callq 0x21f0
movq (%r15), %rdi
cmpq %r12, %rdi
je 0x5b15
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x21b0
leaq 0x5578(%rip), %rsi      # 0xb094
movl $0x1, %ecx
movq %r14, %rdi
xorl %edx, %edx
callq 0x2320
cmpl $-0x1, %eax
movq 0x8(%r14), %rdx
cmoveq %rdx, %rax
testl %eax, %eax
jle 0x5b97
movl %eax, %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
decq %rsi
movsd 0x54db(%rip), %xmm1     # 0xb028
xorpd %xmm0, %xmm0
movsd 0x54d7(%rip), %xmm2     # 0xb030
cmpq %rsi, %rdx
jbe 0x5bf6
movq (%r14), %rcx
movsbl (%rcx,%rsi), %ecx
addl $-0x30, %ecx
xorps %xmm3, %xmm3
cvtsi2sd %ecx, %xmm3
mulsd %xmm1, %xmm3
addsd %xmm3, %xmm0
mulsd %xmm2, %xmm1
leaq -0x1(%rsi), %rcx
incq %rsi
cmpq $0x1, %rsi
movq %rcx, %rsi
ja 0x5b59
jmp 0x5b9b
xorpd %xmm0, %xmm0
jmp 0x5be9
xorpd %xmm0, %xmm0
leal 0x1(%rax), %ecx
cmpl %edx, %ecx
jge 0x5be9
movslq %ecx, %rsi
movl %edx, %ecx
subl %eax, %ecx
movsd 0x546f(%rip), %xmm1     # 0xb020
movl $0x1, %eax
movapd %xmm1, %xmm2
cmpq %rsi, %rdx
jbe 0x5bf6
movq (%r14), %rdi
movsbl (%rdi,%rsi), %edi
addl $-0x30, %edi
xorps %xmm3, %xmm3
cvtsi2sd %edi, %xmm3
mulsd %xmm2, %xmm3
addsd %xmm3, %xmm0
cmpl %eax, %ebx
je 0x5be9
mulsd %xmm1, %xmm2
incq %rsi
incl %eax
cmpl %eax, %ecx
jne 0x5bba
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x5c53(%rip), %rdi      # 0xb850
xorl %eax, %eax
callq 0x2240
// File: /workspace/github_cpp_makefile_star2_O3/openflightmaps[P]ofm2xplane/main.cpp
// Function: search_all_nodes(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, rapidxml::xml_node<char>*, std::basic_ofstream<char, std::char_traits<char>>&)
void search_all_nodes(string target, xml_node<> *start, ofstream &out)
{
    xml_node<> * current=start;
	int ebene=0;
	out << current->name() << endl << endl;
	while(true)
	{
	    if(current->first_node()!=NULL && current->first_node()->name()[0] != '\0')
		{
			ebene++;
			current=current->first_node();
			goto check;
		}
		sibparent:
		if(current->next_sibling()!=NULL)
		{
			current=current->next_sibling();
			goto check;
		}
		if(current->parent()!=NULL && ebene > 0)
		{
			ebene--;
			current=current->parent();
			goto sibparent;
		}
		break;
		
		check:
		string s(current->name());
		if(s.compare(target)==0)
			out << current->value() << endl;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, -0x38(%rbp)
movq (%rsi), %r12
testq %r12, %r12
leaq 0x7416(%rip), %r14      # 0xf1e8
cmoveq %r14, %r12
movq %r12, %rdi
callq 0x20e0
movq %rbx, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x21d0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2140
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %esi
movq %r12, %rdi
movq %r14, %r12
callq 0x2040
movq %rax, %rdi
callq 0x2140
xorl %r14d, %r14d
movq 0x30(%r15), %rax
testq %rax, %rax
je 0x7e75
movq (%rax), %rsi
testq %rsi, %rsi
movq %rsi, %rcx
cmoveq %r12, %rcx
cmpb $0x0, (%rcx)
je 0x7e75
incl %r14d
movq %rax, %r15
jmp 0x7e91
testl %r14d, %r14d
jle 0x7f22
movq %rax, %r15
decl %r14d
movq 0x20(%r15), %rax
testq %rax, %rax
je 0x7f31
movq 0x58(%r15), %rcx
testq %rcx, %rcx
je 0x7e66
movq (%rcx), %rsi
movq %rcx, %r15
testq %rsi, %rsi
cmoveq %r12, %rsi
leaq -0x58(%rbp), %r13
movq %r13, %rdi
leaq -0x29(%rbp), %rdx
callq 0x8a02
movq %r13, %rdi
movq -0x38(%rbp), %rsi
callq 0x2050
testl %eax, %eax
jne 0x7f00
movq 0x8(%r15), %r13
testq %r13, %r13
cmoveq %r12, %r13
movq %r13, %rdi
callq 0x20e0
movq %rbx, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0x21d0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2140
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x7e43
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x21b0
jmp 0x7e43
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x38a7(%rip), %rdi      # 0xb7df
leaq 0x368b(%rip), %rsi      # 0xb5ca
leaq 0x38a8(%rip), %rcx      # 0xb7ee
movl $0x3ee, %edx            # imm = 0x3EE
callq 0x2130
movq %rax, %rbx
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x7f6c
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x21b0
movq %rbx, %rdi
callq 0x2330
// File: /workspace/github_cpp_makefile_star2_O3/openflightmaps[P]ofm2xplane/main.cpp
// Function: return_ID(rapidxml::xml_node<char>*)
int return_ID(xml_node<> *node)
{
    for(int i=0;i<4;i++)
    {
        if(node->first_attribute("mid")==NULL)
        {
            if(node->first_node()==NULL)
                return -1;
            else
            {
                node=node->first_node();
                continue;
            }
        }else
            return my_stoi(string(node->first_attribute("mid")->value()));
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
leaq 0x2fad(%rip), %rsi      # 0xb25e
xorl %edx, %edx
movl $0x1, %ecx
callq 0x8940
testq %rax, %rax
jne 0x82e9
leaq 0x2f95(%rip), %r14      # 0xb25e
movq 0x30(%rbx), %rbx
testq %rbx, %rbx
je 0x8346
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
movl $0x1, %ecx
callq 0x8940
testq %rax, %rax
je 0x82c9
leaq 0x2f6e(%rip), %rsi      # 0xb25e
movq %rbx, %rdi
xorl %edx, %edx
movl $0x1, %ecx
callq 0x8940
movq 0x8(%rax), %rax
testq %rax, %rax
leaq 0x6edb(%rip), %rsi      # 0xf1e8
cmovneq %rax, %rsi
leaq -0x38(%rbp), %rbx
leaq -0x11(%rbp), %rdx
movq %rbx, %rdi
callq 0x8a02
movq %rbx, %rdi
callq 0x5471
movl %eax, %ebx
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x834b
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x21b0
jmp 0x834b
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movl %ebx, %eax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8372
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x21b0
movq %rbx, %rdi
callq 0x2330
// File: /workspace/github_cpp_makefile_star2_O3/openflightmaps[P]ofm2xplane/./rapidxml.hpp
// Function: rapidxml::xml_node<char>::next_sibling(char const*, unsigned long, bool) const
xml_node<Ch> *next_sibling(const Ch *name = 0, std::size_t name_size = 0, bool case_sensitive = true) const
        {
            assert(this->m_parent);     // Cannot query for siblings if node has no parent
            if (name)
            {
                if (name_size == 0)
                    name_size = internal::measure(name);
                for (xml_node<Ch> *sibling = m_next_sibling; sibling; sibling = sibling->m_next_sibling)
                    if (internal::compare(sibling->name(), sibling->name_size(), name, name_size, case_sensitive))
                        return sibling;
                return 0;
            }
            else
                return m_next_sibling;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
cmpq $0x0, 0x20(%rdi)
je 0x8921
testq %rsi, %rsi
je 0x8918
testq %rdx, %rdx
jne 0x888f
movq $-0x1, %rax
leaq 0x1(%rax), %rdx
cmpb $0x0, 0x1(%rsi,%rax)
movq %rdx, %rax
jne 0x8881
movq 0x58(%rdi), %rax
testq %rax, %rax
je 0x8914
leaq 0x6949(%rip), %rdi      # 0xf1e8
leaq 0x370a(%rip), %r8       # 0xbfb0
movq (%rax), %r10
testq %r10, %r10
je 0x88b7
movq %r10, %r9
movq 0x10(%rax), %r10
jmp 0x88ba
movq %rdi, %r9
cmpq %rdx, %r10
jne 0x890b
leaq (%r9,%rdx), %r10
testb %cl, %cl
je 0x88e4
testq %rdx, %rdx
jle 0x891c
movq %rsi, %r11
movb (%r9), %bl
cmpb (%r11), %bl
jne 0x890b
incq %r9
incq %r11
cmpq %r10, %r9
jb 0x88cf
jmp 0x891c
testq %rdx, %rdx
jle 0x891c
movq %rsi, %r11
movzbl (%r9), %ebx
movb (%rbx,%r8), %bl
movzbl (%r11), %r14d
cmpb (%r14,%r8), %bl
jne 0x890b
incq %r9
incq %r11
cmpq %r10, %r9
jb 0x88ec
jmp 0x891c
movq 0x58(%rax), %rax
testq %rax, %rax
jne 0x88a6
xorl %eax, %eax
jmp 0x891c
movq 0x58(%rdi), %rax
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x2eb7(%rip), %rdi      # 0xb7df
leaq 0x2c9b(%rip), %rsi      # 0xb5ca
leaq 0x2eb8(%rip), %rcx      # 0xb7ee
movl $0x3ee, %edx            # imm = 0x3EE
callq 0x2130