LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/arena.c
// Function: arena_run_alloc_large
static arena_run_t *
arena_run_alloc_large(arena_t *arena, size_t size, bool zero)
{
	arena_chunk_t *chunk;
	arena_run_t *run;

	assert(size <= arena_maxrun);
	assert(size == PAGE_CEILING(size));

	/* Search the arena's chunks for the lowest best fit. */
	run = arena_run_alloc_large_helper(arena, size, zero);
	if (run != NULL)
		return (run);

	/*
	 * No usable runs.  Create a new chunk from which to allocate the run.
	 */
	chunk = arena_chunk_alloc(arena);
	if (chunk != NULL) {
		run = &arena_miscelm_get(chunk, map_bias)->run;
		if (arena_run_split_large(arena, run, size, zero))
			run = NULL;
		return (run);
	}

	/*
	 * arena_chunk_alloc() failed, but another thread may have made
	 * sufficient memory available while this one dropped arena->lock in
	 * arena_chunk_alloc(), so search one more time.
	 */
	return (arena_run_alloc_large_helper(arena, size, zero));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
callq 0x284fa
testq %rax, %rax
jne 0x2392f
movq %r14, %rdi
callq 0x26729
testq %rax, %rax
je 0x2393a
movq 0x33c55(%rip), %rcx     # 0x57560
leaq (%rcx,%rax), %r15
addq $0x10, %r15
movzbl %bpl, %ecx
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x26a10
movl %eax, %ecx
xorl %eax, %eax
testb %cl, %cl
cmoveq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movzbl %bpl, %edx
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x284fa
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/arena.c
// Function: je_arena_dalloc_bin
void
arena_dalloc_bin(arena_t *arena, arena_chunk_t *chunk, void *ptr,
    size_t pageind, arena_chunk_map_bits_t *bitselm)
{
	arena_run_t *run;
	arena_bin_t *bin;
	size_t rpages_ind;

	rpages_ind = pageind - arena_mapbits_small_runind_get(chunk, pageind);
	run = &arena_miscelm_get(chunk, rpages_ind)->run;
	bin = &arena->bins[run->binind];
	malloc_mutex_lock(&bin->lock);
	arena_dalloc_bin_locked_impl(arena, chunk, ptr, bitselm, false);
	malloc_mutex_unlock(&bin->lock);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq 0x330d3(%rip), %rax     # 0x57558
movq %rcx, %rdx
subq %rax, %rdx
movq 0x68(%rsi,%rdx,8), %rdx
shrq $0xd, %rdx
subq %rdx, %rcx
movq 0x330c2(%rip), %rdx     # 0x57560
addq %rsi, %rdx
imulq $0x60, %rcx, %rcx
addq %rdx, %rcx
negq %rax
imulq $0x60, %rax, %rax
movl 0x10(%rax,%rcx), %eax
imulq $0xe0, %rax, %rax
leaq (%rdi,%rax), %r12
addq $0x450, %r12            # imm = 0x450
movq %r12, %rdi
callq 0x106d0
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x24205
movq %r12, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x10440
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/arena.c
// Function: arena_dalloc_large_locked_impl
static void
arena_dalloc_large_locked_impl(arena_t *arena, arena_chunk_t *chunk,
    void *ptr, bool junked)
{
	size_t pageind = ((uintptr_t)ptr - (uintptr_t)chunk) >> LG_PAGE;
	arena_chunk_map_misc_t *miscelm = arena_miscelm_get(chunk, pageind);
	arena_run_t *run = &miscelm->run;

	if (config_fill || config_stats) {
		size_t usize = arena_mapbits_large_size_get(chunk, pageind) -
		    large_pad;

		if (!junked)
			arena_dalloc_junk_large(ptr, usize);
		if (config_stats) {
			szind_t index = size2index(usize) - NBINS;

			arena->stats.ndalloc_large++;
			arena->stats.allocated_large -= usize;
			arena->stats.lstats[index].ndalloc++;
			arena->stats.lstats[index].curruns--;
		}
	}

	arena_run_dalloc_decommit(arena, chunk, run);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq %rdx, %r13
subq %rsi, %r13
shrq $0xc, %r13
movq 0x3302c(%rip), %rbp     # 0x57560
movq 0x3301d(%rip), %r12     # 0x57558
movq %r13, %rax
subq %r12, %rax
movq 0x68(%rsi,%rax,8), %r15
shrq %r15
andq $-0x1000, %r15          # imm = 0xF000
leaq -0x1000(%r15), %r8
testl %ecx, %ecx
jne 0x2456b
leaq 0x320c0(%rip), %rax     # 0x56622
cmpb $0x1, (%rax)
je 0x245ed
cmpq $0x1000, %r8            # imm = 0x1000
ja 0x245dd
addq $-0x1001, %r15          # imm = 0xEFFF
shrq $0x3, %r15
leaq 0x1e57a(%rip), %rax     # 0x42b00
movzbl (%rax,%r15), %eax
negq %r12
addq %rbx, %rbp
imulq $0x60, %r13, %rcx
addq %rbp, %rcx
addl $-0x27, %eax
incq 0x70(%r14)
subq %r8, 0x60(%r14)
movq 0x98(%r14), %rdx
shlq $0x5, %rax
incq 0x8(%rdx,%rax)
imulq $0x60, %r12, %rsi
decq 0x18(%rdx,%rax)
leaq (%rsi,%rcx), %rdx
addq $0x10, %rdx
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x28271
movq %r8, %rdi
movq %r8, %r15
callq 0x284a4
movq %r15, %r8
jmp 0x2458b
pushq $0x5a
popq %rsi
movq %rdx, %rdi
movq %r8, %rdx
movq %r8, (%rsp)
callq 0x10270
movq (%rsp), %r8
jmp 0x2456b
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/arena.c
// Function: je_arena_dss_prec_get
dss_prec_t
arena_dss_prec_get(arena_t *arena)
{
	dss_prec_t ret;

	malloc_mutex_lock(&arena->lock);
	ret = arena->dss_prec;
	malloc_mutex_unlock(&arena->lock);
	return (ret);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x8(%rdi), %r14
movq %r14, %rdi
callq 0x106d0
movl 0xc0(%rbx), %ebx
movq %r14, %rdi
callq 0x10440
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/arena.c
// Function: je_arena_dss_prec_set
bool
arena_dss_prec_set(arena_t *arena, dss_prec_t dss_prec)
{

	if (!have_dss)
		return (dss_prec != dss_prec_disabled);
	malloc_mutex_lock(&arena->lock);
	arena->dss_prec = dss_prec;
	malloc_mutex_unlock(&arena->lock);
	return (false);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl %esi, %ebx
movq %rdi, %r14
leaq 0x8(%rdi), %r15
movq %r15, %rdi
callq 0x106d0
movl %ebx, 0xc0(%r14)
movq %r15, %rdi
callq 0x10440
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/arena.c
// Function: je_arena_prefork
void
arena_prefork(arena_t *arena)
{
	unsigned i;

	malloc_mutex_prefork(&arena->lock);
	malloc_mutex_prefork(&arena->huge_mtx);
	malloc_mutex_prefork(&arena->chunks_mtx);
	malloc_mutex_prefork(&arena->node_cache_mtx);
	for (i = 0; i < NBINS; i++)
		malloc_mutex_prefork(&arena->bins[i].lock);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
addq $0x8, %rdi
callq 0x3130c
leaq 0x1d8(%rbx), %rdi
callq 0x3130c
leaq 0x3c0(%rbx), %rdi
callq 0x3130c
leaq 0x3f0(%rbx), %rdi
callq 0x3130c
movl $0x450, %r14d           # imm = 0x450
cmpq $0x2670, %r14           # imm = 0x2670
je 0x26600
leaq (%rbx,%r14), %rdi
callq 0x3130c
addq $0xe0, %r14
jmp 0x265e5
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/arena.c
// Function: je_arena_postfork_parent
void
arena_postfork_parent(arena_t *arena)
{
	unsigned i;

	for (i = 0; i < NBINS; i++)
		malloc_mutex_postfork_parent(&arena->bins[i].lock);
	malloc_mutex_postfork_parent(&arena->node_cache_mtx);
	malloc_mutex_postfork_parent(&arena->chunks_mtx);
	malloc_mutex_postfork_parent(&arena->huge_mtx);
	malloc_mutex_postfork_parent(&arena->lock);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x450, %r14d           # imm = 0x450
cmpq $0x2670, %r14           # imm = 0x2670
je 0x26630
leaq (%rbx,%r14), %rdi
callq 0x31311
addq $0xe0, %r14
jmp 0x26615
leaq 0x3f0(%rbx), %rdi
callq 0x31311
leaq 0x3c0(%rbx), %rdi
callq 0x31311
leaq 0x1d8(%rbx), %rdi
callq 0x31311
addq $0x8, %rbx
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x31311
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/arena.c
// Function: je_arena_postfork_child
void
arena_postfork_child(arena_t *arena)
{
	unsigned i;

	for (i = 0; i < NBINS; i++)
		malloc_mutex_postfork_child(&arena->bins[i].lock);
	malloc_mutex_postfork_child(&arena->node_cache_mtx);
	malloc_mutex_postfork_child(&arena->chunks_mtx);
	malloc_mutex_postfork_child(&arena->huge_mtx);
	malloc_mutex_postfork_child(&arena->lock);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x450, %r14d           # imm = 0x450
cmpq $0x2670, %r14           # imm = 0x2670
je 0x2668f
leaq (%rbx,%r14), %rdi
callq 0x31316
addq $0xe0, %r14
jmp 0x26674
leaq 0x3f0(%rbx), %rdi
callq 0x31316
leaq 0x3c0(%rbx), %rdi
callq 0x31316
leaq 0x1d8(%rbx), %rdi
callq 0x31316
addq $0x8, %rbx
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x31316
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/arena.c
// Function: arena_huge_malloc_stats_update_undo
static void
arena_huge_malloc_stats_update_undo(arena_t *arena, size_t usize)
{
	szind_t index = size2index(usize) - nlclasses - NBINS;

	cassert(config_stats);

	arena->stats.nmalloc_huge--;
	arena->stats.allocated_huge -= usize;
	arena->stats.hstats[index].nmalloc--;
	arena->stats.hstats[index].curhchunks--;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
cmpq $0x1000, %rsi           # imm = 0x1000
ja 0x2671f
leaq -0x1(%r14), %rax
shrq $0x3, %rax
leaq 0x1c418(%rip), %rcx     # 0x42b00
movzbl (%rcx,%rax), %eax
subl 0x30e5e(%rip), %eax     # 0x57550
addl $-0x27, %eax
decq 0x88(%rbx)
subq %r14, 0x80(%rbx)
movq 0xa0(%rbx), %rcx
imulq $0x18, %rax, %rax
decq (%rcx,%rax)
decq 0x10(%rcx,%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %r14, %rdi
callq 0x284a4
jmp 0x266ec
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/arena.c
// Function: arena_avail_insert
static arena_chunk_t *
arena_chunk_alloc_internal_hard(arena_t *arena, chunk_hooks_t *chunk_hooks,
    bool *zero, bool *commit)
{
	arena_chunk_t *chunk;

	malloc_mutex_unlock(&arena->lock);

	chunk = (arena_chunk_t *)chunk_alloc_wrapper(arena, chunk_hooks, NULL,
	    chunksize, chunksize, zero, commit);
	if (chunk != NULL && !*commit) {
		/* Commit header. */
		if (chunk_hooks->commit(chunk, chunksize, 0, map_bias <<
		    LG_PAGE, arena->ind)) {
			chunk_dalloc_wrapper(arena, chunk_hooks,
			    (void *)chunk, chunksize, *commit);
			chunk = NULL;
		}
	}
	if (chunk != NULL && arena_chunk_register(arena, chunk, *zero)) {
		if (!*commit) {
			/* Undo commit of header. */
			chunk_hooks->decommit(chunk, chunksize, 0, map_bias <<
			    LG_PAGE, arena->ind);
		}
		chunk_dalloc_wrapper(arena, chunk_hooks, (void *)chunk,
		    chunksize, *commit);
		chunk = NULL;
	}

	malloc_mutex_lock(&arena->lock);
	return (chunk);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x800, %rsp            # imm = 0x800
addq 0x30b2e(%rip), %rsi     # 0x57560
movq %rdi, %rbx
imulq $0x60, %rdx, %rax
addq %rsi, %rax
xorl %ecx, %ecx
subq 0x30b13(%rip), %rcx     # 0x57558
imulq $0x60, %rcx, %rcx
leaq (%rax,%rcx), %r14
leaq 0xf8(%rdi), %r13
movq %r13, (%rcx,%rax)
movq %r13, %rdx
orq $0x1, %rdx
movq %rdx, 0x8(%rcx,%rax)
movq 0xf0(%rdi), %r15
leaq -0x10(%rsp), %r12
movq %r15, 0x10(%r12)
cmpq %r13, %r15
je 0x26aa6
movq %r14, %rdi
movq %r15, %rsi
callq 0x26bd3
movl %eax, 0x18(%r12)
testl %eax, %eax
js 0x26a98
movq 0x8(%r15), %r15
andq $-0x2, %r15
jmp 0x26a9b
movq (%r15), %r15
movq %r15, 0x20(%r12)
addq $0x10, %r12
jmp 0x26a75
movq %r14, 0x10(%r12)
movq %rsp, %rax
cmpq %rax, %r12
jb 0x26b8d
movq (%r12), %rcx
cmpl $0x0, 0x8(%r12)
js 0x26b0e
movq 0x8(%rcx), %rdx
andl $0x1, %edx
orq %r14, %rdx
movq %rdx, 0x8(%rcx)
testb $0x1, 0x8(%r14)
je 0x26b9c
movq (%rcx), %rsi
movq 0x8(%rsi), %rdi
testb $0x1, %dil
jne 0x26b2e
andl $0x1, %edx
andq $-0x2, %r14
movq (%r14), %rsi
orq %rdx, %rsi
movq %rsi, 0x8(%rcx)
movq %rcx, (%r14)
leaq 0x8(%r14), %rdi
movq 0x8(%r14), %rsi
andq $-0x2, %rsi
orq %rdx, %rsi
jmp 0x26b47
movq %r14, (%rcx)
testb $0x1, 0x8(%r14)
je 0x26b9c
movq (%r14), %rdx
movq 0x8(%rdx), %rsi
testb $0x1, %sil
jne 0x26b58
movq %rcx, %r14
jmp 0x26b80
addq $0x8, %r14
andq $-0x2, %rdi
movq %rdi, 0x8(%rsi)
movq (%r14), %rsi
andq $-0x2, %rsi
movq %r14, %rdi
movq %rcx, %r14
movq %rsi, (%rdi)
movq 0x8(%rcx), %rdx
addq $0x8, %rcx
orq $0x1, %rdx
jmp 0x26b7a
leaq 0x8(%r14), %rdi
andq $-0x2, %rsi
movq %rsi, 0x8(%rdx)
movq (%rdi), %rdx
movq %rdx, %rsi
andq $-0x2, %rsi
movq %rsi, (%rcx)
andl $0x1, %edx
orq %rcx, %rdx
movq %rdi, %rcx
movq %rdx, (%rcx)
movq %r14, %rcx
movq %rcx, (%r12)
addq $-0x10, %r12
jmp 0x26aae
movq (%rsp), %rax
movq %rax, 0xf0(%rbx)
andb $-0x2, 0x8(%rax)
addq $0x800, %rsp            # imm = 0x800
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/arena.c
// Function: arena_avail_comp
JEMALLOC_INLINE_C int
arena_avail_comp(arena_chunk_map_misc_t *a, arena_chunk_map_misc_t *b)
{
	int ret;
	uintptr_t a_miscelm = (uintptr_t)a;
	size_t a_qsize = run_quantize(arena_miscelm_is_key(a) ?
	    arena_miscelm_key_size_get(a) : arena_miscelm_size_get(a));
	size_t b_qsize = run_quantize(arena_miscelm_size_get(b));

	/*
	 * Compare based on quantized size rather than size, in order to sort
	 * equally useful runs only by address.
	 */
	ret = (a_qsize > b_qsize) - (a_qsize < b_qsize);
	if (ret == 0) {
		if (!arena_miscelm_is_key(a)) {
			uintptr_t b_miscelm = (uintptr_t)b;

			ret = (a_miscelm > b_miscelm) - (a_miscelm < b_miscelm);
		} else {
			/*
			 * Treat keys as if they are lower than anything else.
			 */
			ret = -1;
		}
	}

	return (ret);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
testb $0x1, %r14b
je 0x26bf0
shrq %rdi
andq $-0x1000, %rdi          # imm = 0xF000
jmp 0x26bf8
callq 0x26cd9
movq %rax, %rdi
callq 0x26c43
movq %rax, %r15
movq %rbx, %rdi
callq 0x26cd9
movq %rax, %rdi
callq 0x26c43
movq %rax, %rcx
xorl %edx, %edx
cmpq %rax, %r15
seta %dl
sbbl $0x0, %edx
cmpq %rax, %r15
pushq $-0x1
popq %rax
cmovnel %edx, %eax
testb $0x1, %r14b
jne 0x26c3d
cmpq %rcx, %r15
jne 0x26c3d
xorl %eax, %eax
cmpq %rbx, %r14
seta %al
sbbl $0x0, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/arena.c
// Function: arena_miscelm_size_get
JEMALLOC_INLINE_C size_t
arena_miscelm_size_get(arena_chunk_map_misc_t *miscelm)
{
	arena_chunk_t *chunk;
	size_t pageind, mapbits;

	assert(!arena_miscelm_is_key(miscelm));

	chunk = (arena_chunk_t *)CHUNK_ADDR2BASE(miscelm);
	pageind = arena_miscelm_to_pageind(miscelm);
	mapbits = arena_mapbits_get(chunk, pageind);
	return (arena_mapbits_size_decode(mapbits));
}

// Assembly:
movq %rdi, %rax
leaq 0x309cd(%rip), %rcx     # 0x576b0
movq (%rcx), %rcx
notq %rcx
andq %rdi, %rcx
movq 0x3086d(%rip), %rdx     # 0x57560
addq %rcx, %rdx
subq %rdx, %rax
pushq $0x60
popq %rsi
xorl %edx, %edx
divq %rsi
movq 0x68(%rcx,%rax,8), %rax
shrq %rax
andq $-0x1000, %rax          # imm = 0xF000
retq
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/arena.c
// Function: arena_run_split_remove
static void
arena_run_split_remove(arena_t *arena, arena_chunk_t *chunk, size_t run_ind,
    size_t flag_dirty, size_t flag_decommitted, size_t need_pages)
{
	size_t total_pages, rem_pages;

	assert(flag_dirty == 0 || flag_decommitted == 0);

	total_pages = arena_mapbits_unallocated_size_get(chunk, run_ind) >>
	    LG_PAGE;
	assert(arena_mapbits_dirty_get(chunk, run_ind+total_pages-1) ==
	    flag_dirty);
	assert(need_pages <= total_pages);
	rem_pages = total_pages - need_pages;

	arena_avail_remove(arena, chunk, run_ind, total_pages);
	if (flag_dirty != 0)
		arena_run_dirty_remove(arena, chunk, run_ind, total_pages);
	arena_cactive_update(arena, need_pages, 0);
	arena->nactive += need_pages;

	/* Keep track of trailing unused pages for later use. */
	if (rem_pages > 0) {
		size_t flags = flag_dirty | flag_decommitted;
		size_t flag_unzeroed_mask = (flags == 0) ?  CHUNK_MAP_UNZEROED :
		    0;

		arena_mapbits_unallocated_set(chunk, run_ind+need_pages,
		    (rem_pages << LG_PAGE), flags |
		    (arena_mapbits_unzeroed_get(chunk, run_ind+need_pages) &
		    flag_unzeroed_mask));
		arena_mapbits_unallocated_set(chunk, run_ind+total_pages-1,
		    (rem_pages << LG_PAGE), flags |
		    (arena_mapbits_unzeroed_get(chunk, run_ind+total_pages-1) &
		    flag_unzeroed_mask));
		if (flag_dirty != 0) {
			arena_run_dirty_insert(arena, chunk, run_ind+need_pages,
			    rem_pages);
		}
		arena_avail_insert(arena, chunk, run_ind+need_pages, rem_pages);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, %rbx
movq %r8, 0x8(%rsp)
movq %rcx, %r13
movq %rdx, %rbp
movq %rsi, %r14
movq %rdi, %r15
movq %rdx, %rax
subq 0x305eb(%rip), %rax     # 0x57558
movq 0x68(%rsi,%rax,8), %r12
shrq $0xd, %r12
callq 0x27097
movq %r13, 0x10(%rsp)
testq %r13, %r13
je 0x26f96
movq %r15, %rdi
movq %r14, %rsi
movq %rbp, %rdx
movq %r12, %rcx
callq 0x27543
movq %r15, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x27586
addq %rbx, 0xe0(%r15)
cmpq %rbx, %r12
jne 0x26fbe
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r12, %rcx
subq %rbx, %rcx
xorl %eax, %eax
movq 0x10(%rsp), %r8
movq 0x8(%rsp), %r9
orq %r8, %r9
sete %al
shll $0x3, %eax
addq %rbp, %rbx
movq %rcx, %rdx
shlq $0xd, %rdx
movq %rbx, %rsi
subq 0x3056b(%rip), %rsi     # 0x57558
movl 0x68(%r14,%rsi,8), %edi
andl %eax, %edi
orq %rdx, %rdi
orq $0x1fe0, %r9            # imm = 0x1FE0
orq %r9, %rdi
movq %rdi, 0x68(%r14,%rsi,8)
addq %rbp, %r12
movq 0x30548(%rip), %rsi     # 0x57558
notq %rsi
addq %r12, %rsi
andl 0x68(%r14,%rsi,8), %eax
orq %rdx, %rax
orq %r9, %rax
movq %rax, 0x68(%r14,%rsi,8)
testq %r8, %r8
je 0x27039
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x275c6
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x26a1b
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/arena.c
// Function: arena_run_zero
JEMALLOC_INLINE_C void
arena_run_zero(arena_chunk_t *chunk, size_t run_ind, size_t npages)
{

	JEMALLOC_VALGRIND_MAKE_MEM_UNDEFINED((void *)((uintptr_t)chunk +
	    (run_ind << LG_PAGE)), (npages << LG_PAGE));
	memset((void *)((uintptr_t)chunk + (run_ind << LG_PAGE)), 0,
	    (npages << LG_PAGE));
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
leaq 0x2f61e(%rip), %rax     # 0x56684
shlq $0xc, %r14
addq %rdi, %r14
shlq $0xc, %rbx
cmpb $0x1, (%rax)
je 0x2708a
movq %r14, %rdi
xorl %esi, %esi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x10270
movq %r14, %rdi
movq %rbx, %rsi
callq 0x38f6a
jmp 0x27076
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/include/jemalloc/internal/arena.h
// Function: arena_run_dirty_insert
JEMALLOC_ALWAYS_INLINE arena_chunk_map_misc_t *
arena_miscelm_get(arena_chunk_t *chunk, size_t pageind)
{

	assert(pageind >= map_bias);
	assert(pageind < chunk_npages);

	return ((arena_chunk_map_misc_t *)((uintptr_t)chunk +
	    (uintptr_t)map_misc_offset) + pageind-map_bias);
}

// Assembly:
addq 0x2ff93(%rip), %rsi     # 0x57560
imulq $0x60, %rdx, %rax
xorl %edx, %edx
subq 0x2ff7e(%rip), %rdx     # 0x57558
addq %rsi, %rax
imulq $0x60, %rdx, %rdx
addq %rdx, %rax
addq $0x10, %rax
movq %rax, (%rax)
movq %rax, 0x8(%rax)
leaq 0x158(%rdi), %rdx
movq 0x160(%rdi), %rsi
movq %rax, (%rsi)
movq 0x8(%rax), %r8
movq %rdx, (%r8)
movq 0x8(%rax), %rdx
movq %rdx, 0x160(%rdi)
movq %rsi, 0x8(%rax)
addq %rcx, 0xe8(%rdi)
retq
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/arena.c
// Function: arena_cactive_update
static void
arena_cactive_update(arena_t *arena, size_t add_pages, size_t sub_pages)
{

	if (config_stats) {
		ssize_t cactive_diff = CHUNK_CEILING((arena->nactive + add_pages
		    - sub_pages) << LG_PAGE) - CHUNK_CEILING(arena->nactive <<
		    LG_PAGE);
		if (cactive_diff != 0)
			stats_cactive_add(cactive_diff);
	}
}

// Assembly:
movq 0xe0(%rdi), %rax
subq %rdx, %rsi
addq %rax, %rsi
shlq $0xc, %rsi
leaq 0x30112(%rip), %rcx     # 0x576b0
movq (%rcx), %rcx
addq %rcx, %rsi
shlq $0xc, %rax
addq %rcx, %rax
notq %rcx
andq %rcx, %rsi
andq %rcx, %rax
subq %rax, %rsi
je 0x275c5
leaq 0x307e8(%rip), %rax     # 0x57da8
lock
xaddq %rsi, (%rax)
retq
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/arena.c
// Function: arena_dalloc_bin_run
static void
arena_dalloc_bin_run(arena_t *arena, arena_chunk_t *chunk, arena_run_t *run,
    arena_bin_t *bin)
{

	assert(run != bin->runcur);
	assert(arena_run_tree_search(&bin->runs, arena_run_to_miscelm(run)) ==
	    NULL);

	malloc_mutex_unlock(&bin->lock);
	/******************************/
	malloc_mutex_lock(&arena->lock);
	arena_run_dalloc_decommit(arena, chunk, run);
	malloc_mutex_unlock(&arena->lock);
	/****************************/
	malloc_mutex_lock(&bin->lock);
	if (config_stats)
		bin->stats.curruns--;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movq %rcx, %rdi
callq 0x10440
leaq 0x8(%r12), %r13
movq %r13, %rdi
callq 0x106d0
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x28271
movq %r13, %rdi
callq 0x10440
movq %rbx, %rdi
callq 0x106d0
decq 0xd8(%rbx)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/arena.c
// Function: arena_bin_lower_run
static void
arena_bin_lower_run(arena_t *arena, arena_chunk_t *chunk, arena_run_t *run,
    arena_bin_t *bin)
{

	/*
	 * Make sure that if bin->runcur is non-NULL, it refers to the lowest
	 * non-full run.  It is okay to NULL runcur out rather than proactively
	 * keeping it pointing at the lowest non-full run.
	 */
	if ((uintptr_t)run < (uintptr_t)bin->runcur) {
		/* Switch runcur. */
		if (bin->runcur->nfree > 0)
			arena_bin_runs_insert(bin, bin->runcur);
		bin->runcur = run;
		if (config_stats)
			bin->stats.reruns++;
	} else
		arena_bin_runs_insert(bin, run);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x28(%rsi), %rsi
cmpq %rdi, %rsi
jbe 0x27b55
cmpl $0x0, 0x4(%rsi)
je 0x27b42
movq %rbx, %rdi
callq 0x282f9
movq %r14, 0x28(%rbx)
incq 0xd0(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x282f9
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/arena.c
// Function: arena_bin_nonfull_run_tryget
static arena_run_t *
arena_bin_nonfull_run_tryget(arena_bin_t *bin)
{
	arena_run_t *run = arena_bin_runs_first(bin);
	if (run != NULL) {
		arena_bin_runs_remove(bin, run);
		if (config_stats)
			bin->stats.reruns++;
	}
	return (run);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x30(%rdi), %rcx
leaq 0x38(%rdi), %rax
cmpq %rax, %rcx
je 0x27b88
movq %rcx, %r14
movq (%rcx), %rcx
cmpq %rax, %rcx
jne 0x27b7b
jmp 0x27b8b
movq %rcx, %r14
cmpq %rax, %r14
sete %al
testq %r14, %r14
sete %cl
orb %al, %cl
je 0x27ba0
xorl %r14d, %r14d
jmp 0x27bb6
addq $0x10, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x27bc1
incq 0xd0(%rbx)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/arena.c
// Function: arena_run_alloc_small_helper
static arena_run_t *
arena_run_alloc_small_helper(arena_t *arena, size_t size, szind_t binind)
{
	arena_run_t *run = arena_run_first_best_fit(arena, size);
	if (run != NULL) {
		if (arena_run_split_small(arena, run, size, binind))
			run = NULL;
	}
	return (run);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r12
callq 0x28192
testq %rax, %rax
je 0x2804f
movq %rax, %r14
movq %r12, %rdi
movq %rax, %rsi
movq %r15, %rdx
movl %ebx, %ecx
callq 0x2805d
movl %eax, %ecx
xorl %eax, %eax
testb %cl, %cl
cmoveq %r14, %rax
jmp 0x28051
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/arena.c
// Function: arena_run_split_small
static bool
arena_run_split_small(arena_t *arena, arena_run_t *run, size_t size,
    szind_t binind)
{
	arena_chunk_t *chunk;
	arena_chunk_map_misc_t *miscelm;
	size_t flag_dirty, flag_decommitted, run_ind, need_pages, i;

	assert(binind != BININD_INVALID);

	chunk = (arena_chunk_t *)CHUNK_ADDR2BASE(run);
	miscelm = arena_run_to_miscelm(run);
	run_ind = arena_miscelm_to_pageind(miscelm);
	flag_dirty = arena_mapbits_dirty_get(chunk, run_ind);
	flag_decommitted = arena_mapbits_decommitted_get(chunk, run_ind);
	need_pages = (size >> LG_PAGE);
	assert(need_pages > 0);

	if (flag_decommitted != 0 && arena->chunk_hooks.commit(chunk, chunksize,
	    run_ind << LG_PAGE, size, arena->ind))
		return (true);

	arena_run_split_remove(arena, chunk, run_ind, flag_dirty,
	    flag_decommitted, need_pages);

	for (i = 0; i < need_pages; i++) {
		size_t flag_unzeroed = arena_mapbits_unzeroed_get(chunk,
		    run_ind+i);
		arena_mapbits_small_set(chunk, run_ind+i, i, binind,
		    flag_unzeroed);
		if (config_debug && flag_dirty == 0 && flag_unzeroed == 0)
			arena_run_page_validate_zeroed(chunk, run_ind+i);
	}
	JEMALLOC_VALGRIND_MAKE_MEM_UNDEFINED((void *)((uintptr_t)chunk +
	    (run_ind << LG_PAGE)), (need_pages << LG_PAGE));
	return (false);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %r15d
movq %rdx, %rbp
movq %rdi, %r9
leaq 0x2f638(%rip), %rax     # 0x576b0
movq (%rax), %r14
notq %r14
leaq -0x10(%rsi), %rax
andq %r14, %rax
andq %rsi, %r14
addq 0x2f4d1(%rip), %rax     # 0x57560
negq %rax
addq %rsi, %rax
addq $-0x10, %rax
pushq $0x60
popq %rcx
xorl %edx, %edx
divq %rcx
movq 0x2f4b0(%rip), %r12     # 0x57558
addq %rax, %r12
movq 0x68(%r14,%rax,8), %rbx
movq %rbx, %r13
andq $0x4, %r13
movq %rbp, (%rsp)
je 0x280f0
leaq 0x2f5e4(%rip), %rax     # 0x576a8
movq (%rax), %rsi
movq %r12, %rdx
shlq $0xc, %rdx
movl (%r9), %r8d
movq %r14, %rdi
movq %rbp, %rcx
movq %r9, %rbp
callq *0x428(%r9)
movq %rbp, %r9
movq (%rsp), %rbp
movl %eax, %ecx
movb $0x1, %al
testb %cl, %cl
jne 0x28167
andl $0x10, %ebx
shrq $0xc, %rbp
movq %r9, %rdi
movq %r14, %rsi
movq %r12, %rdx
movq %rbx, %rcx
movq %r13, %r8
movq %rbp, %r9
callq 0x26f41
shll $0x5, %r15d
incl %r15d
leaq (%r14,%r12,8), %rax
addq $0x68, %rax
xorl %ecx, %ecx
subq $0x1, %rbp
jb 0x28159
movq 0x2f42c(%rip), %rdx     # 0x57558
shlq $0x3, %rdx
movq %rax, %rsi
subq %rdx, %rsi
negq %rdx
movq (%rsi), %rsi
andl $0x8, %esi
movq %rcx, %rdi
orq %r15, %rdi
orq %rsi, %rdi
movq %rdi, (%rax,%rdx)
addq $0x2000, %rcx           # imm = 0x2000
addq $0x8, %rax
jmp 0x2811f
leaq 0x2e524(%rip), %rax     # 0x56684
cmpb $0x1, (%rax)
je 0x28176
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
shlq $0xc, %r12
addq %r14, %r12
movq (%rsp), %rsi
andq $-0x1000, %rsi          # imm = 0xF000
movq %r12, %rdi
callq 0x38f6a
jmp 0x28165
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/arena.c
// Function: arena_run_first_best_fit
static arena_run_t *
arena_run_first_best_fit(arena_t *arena, size_t size)
{
	size_t search_size = run_quantize_first(size);
	arena_chunk_map_misc_t *key = arena_miscelm_key_create(search_size);
	arena_chunk_map_misc_t *miscelm =
	    arena_avail_tree_nsearch(&arena->runs_avail, key);
	if (miscelm == NULL)
		return (NULL);
	return (&miscelm->run);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x26c43
cmpq %r14, %rax
jae 0x2820d
cmpq $0x3801, %r14           # imm = 0x3801
jb 0x281df
movq $-0x1000, %r15          # imm = 0xF000
leaq (%r14,%r15), %rdi
callq 0x284a4
movl %eax, %ecx
incl %ecx
leaq 0x1a1af(%rip), %rdx     # 0x42380
movl $0x1fff, %eax           # imm = 0x1FFF
addq (%rdx,%rcx,8), %rax
andq %r15, %rax
jmp 0x281e2
pushq $-0x1
popq %rax
cmpq %r14, 0x2f387(%rip)     # 0x57570
jbe 0x2820d
movq 0x2f386(%rip), %rcx     # 0x57578
addq $0x1000, %r14           # imm = 0x1000
movq %r14, %rdx
shrq $0xc, %rdx
cmpb $0x1, (%rcx,%rdx)
jne 0x281f2
cmpq %r14, %rax
cmovaeq %r14, %rax
leaq 0x1(,%rax,2), %r15
leaq 0xf0(%rbx), %r14
addq $0xf8, %rbx
movq %rbx, %r12
movq (%r14), %r14
cmpq %rbx, %r14
je 0x28251
movq %r15, %rdi
movq %r14, %rsi
callq 0x26bd3
testl %eax, %eax
js 0x28249
je 0x2824e
movq 0x8(%r14), %r14
andq $-0x2, %r14
jmp 0x28229
movq %r14, %r12
jmp 0x28226
movq %r14, %r12
xorl %ecx, %ecx
cmpq %rbx, %r12
cmovneq %r12, %rcx
leaq 0x10(%rcx), %rax
testq %rcx, %rcx
cmoveq %rcx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/arena.c
// Function: arena_run_alloc_large_helper
static arena_run_t *
arena_run_alloc_large_helper(arena_t *arena, size_t size, bool zero)
{
	arena_run_t *run = arena_run_first_best_fit(arena, s2u(size));
	if (run != NULL) {
		if (arena_run_split_large(arena, run, size, zero))
			run = NULL;
	}
	return (run);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
cmpq $0x1000, %rsi           # imm = 0x1000
ja 0x2856b
leaq -0x1(%rbx), %rax
shrq $0x3, %rax
leaq 0x1a5df(%rip), %rcx     # 0x42b00
movzbl (%rcx,%rax), %eax
leaq 0x19e54(%rip), %rcx     # 0x42380
movq (%rcx,%rax,8), %rsi
movq %r14, %rdi
callq 0x28192
testq %rax, %rax
je 0x2855e
movq %rax, %r15
movzbl %bpl, %ecx
movq %r14, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x26a10
movl %eax, %ecx
xorl %eax, %eax
testb %cl, %cl
cmoveq %r15, %rax
jmp 0x28560
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
testq %rbx, %rbx
js 0x2859f
leaq -0x1(,%rbx,2), %rax
bsrq %rax, %rax
leal -0x3(%rax), %ecx
pushq $-0x1
popq %rdx
shlq %cl, %rdx
cmpq $0x6, %rax
notq %rdx
pushq $0x7
popq %rsi
cmovaeq %rdx, %rsi
leaq (%rsi,%rbx), %rax
notq %rsi
andq %rax, %rsi
jmp 0x28530
movq %rbx, %rax
btrq $0x3f, %rax
cmpq $0x1, %rax
pushq $0x40
popq %rax
sbbq $0x0, %rax
jmp 0x2857c
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/base.c
// Function: je_base_stats_get
void
base_stats_get(size_t *allocated, size_t *resident, size_t *mapped)
{

	malloc_mutex_lock(&base_mtx);
	assert(base_allocated <= base_resident);
	assert(base_resident <= base_mapped);
	*allocated = base_allocated;
	*resident = base_resident;
	*mapped = base_mapped;
	malloc_mutex_unlock(&base_mtx);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x2eb39(%rip), %r12     # 0x57580
movq %r12, %rdi
callq 0x106d0
movq 0x2ebc2(%rip), %rax     # 0x57618
movq %rax, (%r15)
movq 0x2ebc0(%rip), %rax     # 0x57620
movq %rax, (%r14)
movq 0x2ebbe(%rip), %rax     # 0x57628
movq %rax, (%rbx)
movq %r12, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x10440
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/bitmap.c
// Function: je_bitmap_init
void
bitmap_init(bitmap_t *bitmap, const bitmap_info_t *binfo)
{
	size_t extra;
	unsigned i;

	/*
	 * Bits are actually inverted with regard to the external bitmap
	 * interface, so the bitmap starts out with all 1 bits, except for
	 * trailing unused bits (if any).  Note that each group uses bit 0 to
	 * correspond to the first logical bit in the group, so extra bits
	 * are the most significant bits of the last group.
	 */
	memset(bitmap, 0xffU, binfo->levels[binfo->nlevels].group_offset <<
	    LG_SIZEOF_BITMAP);
	extra = (BITMAP_GROUP_NBITS - (binfo->nbits & BITMAP_GROUP_NBITS_MASK))
	    & BITMAP_GROUP_NBITS_MASK;
	if (extra != 0)
		bitmap[binfo->levels[1].group_offset - 1] >>= extra;
	for (i = 1; i < binfo->nlevels; i++) {
		size_t group_count = binfo->levels[i].group_offset -
		    binfo->levels[i-1].group_offset;
		extra = (BITMAP_GROUP_NBITS - (group_count &
		    BITMAP_GROUP_NBITS_MASK)) & BITMAP_GROUP_NBITS_MASK;
		if (extra != 0)
			bitmap[binfo->levels[i+1].group_offset - 1] >>= extra;
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl 0x8(%rsi), %eax
movq 0x10(%rsi,%rax,8), %rdx
shlq $0x3, %rdx
movl $0xff, %esi
callq 0x10270
xorl %ecx, %ecx
subl (%rbx), %ecx
andl $0x3f, %ecx
je 0x28b6e
movq 0x18(%rbx), %rax
shrq %cl, -0x8(%r14,%rax,8)
movl 0x8(%rbx), %eax
pushq $0x4
popq %rdx
leaq -0x3(%rdx), %rcx
cmpq %rax, %rcx
jae 0x28b98
movl -0x10(%rbx,%rdx,8), %ecx
subl -0x8(%rbx,%rdx,8), %ecx
andl $0x3f, %ecx
je 0x28b93
movq (%rbx,%rdx,8), %rsi
shrq %cl, -0x8(%r14,%rsi,8)
incq %rdx
jmp 0x28b74
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/chunk.c
// Function: chunk_alloc_default
static void *
chunk_alloc_default(void *new_addr, size_t size, size_t alignment, bool *zero,
    bool *commit, unsigned arena_ind)
{
	void *ret;
	arena_t *arena;

	arena = chunk_arena_get(arena_ind);
	ret = chunk_alloc_core(arena, new_addr, size, alignment, zero,
	    commit, arena->dss_prec);
	if (ret == NULL)
		return (NULL);
	if (config_valgrind)
		JEMALLOC_VALGRIND_MAKE_MEM_UNDEFINED(ret, size);

	return (ret);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %r8, %r15
movq %rcx, %r14
movq %rdx, %r13
movq %rsi, %rbx
movq %rdi, %r12
movl %r9d, %edi
callq 0x29ac0
movq %rax, %rbp
movl 0xc0(%rax), %eax
movl %eax, 0x1c(%rsp)
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %rsi
movaps %xmm0, 0x20(%rsi)
andq $0x0, 0x30(%rsi)
movaps %xmm0, 0x10(%rsi)
movaps %xmm0, (%rsi)
leaq 0x2e0(%rbp), %rdx
leaq 0x350(%rbp), %rcx
subq $0x8, %rsp
movq %rbp, %rdi
xorl %r8d, %r8d
movq %r12, %r9
pushq $0x1
pushq %r15
pushq %r14
pushq %r13
movq %rbx, 0x30(%rsp)
pushq %rbx
callq 0x29054
addq $0x30, %rsp
testq %rax, %rax
je 0x28c46
movq %rax, %rbx
leaq 0x2da59(%rip), %rax     # 0x56684
cmpb $0x1, (%rax)
je 0x28cdb
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r15, 0x10(%rsp)
movl 0x1c(%rsp), %eax
cmpl $0x1, %eax
movq %r14, %r15
jne 0x28c80
movq %rbp, %rdi
movq %r12, %rsi
movq 0x8(%rsp), %rdx
movq %r13, %rcx
movq %r15, %r8
movq 0x10(%rsp), %r9
movl %eax, %r14d
callq 0x29bc2
movq %rax, %rbx
movl %r14d, %eax
testq %rbx, %rbx
jne 0x28c24
testq %r12, %r12
je 0x28cb2
cmpl $0x2, %eax
jne 0x28cae
movq %rbp, %rdi
movq %r12, %rsi
movq 0x8(%rsp), %rdx
movq %r13, %rcx
movq %r15, %r8
movq 0x10(%rsp), %r9
callq 0x29bc2
testq %rax, %rax
jne 0x28c21
xorl %ebx, %ebx
jmp 0x28c34
movq 0x8(%rsp), %rdi
movq %r13, %rsi
movq %r15, %rdx
movq 0x10(%rsp), %rcx
movl %eax, %r14d
callq 0x29e10
movq %rax, %rbx
movl %r14d, %eax
testq %rbx, %rbx
jne 0x28c24
jmp 0x28c85
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
callq 0x38f6a
jmp 0x28c34
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/chunk.c
// Function: je_chunk_hooks_get
chunk_hooks_t
chunk_hooks_get(arena_t *arena)
{
	chunk_hooks_t chunk_hooks;

	malloc_mutex_lock(&arena->chunks_mtx);
	chunk_hooks = chunk_hooks_get_locked(arena);
	malloc_mutex_unlock(&arena->chunks_mtx);

	return (chunk_hooks);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x3c0(%rsi), %r15
movq %r15, %rdi
callq 0x106d0
movups 0x418(%rbx), %xmm0
movups 0x428(%rbx), %xmm1
movups 0x438(%rbx), %xmm2
movups %xmm0, (%r14)
movups %xmm1, 0x10(%r14)
movups %xmm2, 0x20(%r14)
movq 0x448(%rbx), %rax
movq %rax, 0x30(%r14)
movq %r15, %rdi
callq 0x10440
movq %r14, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/chunk.c
// Function: je_chunk_hooks_set
chunk_hooks_t
chunk_hooks_set(arena_t *arena, const chunk_hooks_t *chunk_hooks)
{
	chunk_hooks_t old_chunk_hooks;

	malloc_mutex_lock(&arena->chunks_mtx);
	old_chunk_hooks = arena->chunk_hooks;
	/*
	 * Copy each field atomically so that it is impossible for readers to
	 * see partially updated pointers.  There are places where readers only
	 * need one hook function pointer (therefore no need to copy the
	 * entirety of arena->chunk_hooks), and stale reads do not affect
	 * correctness, so they perform unlocked reads.
	 */
#define	ATOMIC_COPY_HOOK(n) do {					\
	union {								\
		chunk_##n##_t	**n;					\
		void		**v;					\
	} u;								\
	u.n = &arena->chunk_hooks.n;					\
	atomic_write_p(u.v, chunk_hooks->n);				\
} while (0)
	ATOMIC_COPY_HOOK(alloc);
	ATOMIC_COPY_HOOK(dalloc);
	ATOMIC_COPY_HOOK(commit);
	ATOMIC_COPY_HOOK(decommit);
	ATOMIC_COPY_HOOK(purge);
	ATOMIC_COPY_HOOK(split);
	ATOMIC_COPY_HOOK(merge);
#undef ATOMIC_COPY_HOOK
	malloc_mutex_unlock(&arena->chunks_mtx);

	return (old_chunk_hooks);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x3c0(%rsi), %r15
movq %r15, %rdi
callq 0x106d0
movups 0x418(%r14), %xmm0
movups 0x428(%r14), %xmm1
movups 0x438(%r14), %xmm2
movups %xmm0, (%rbx)
movups %xmm1, 0x10(%rbx)
movups %xmm2, 0x20(%rbx)
movq 0x448(%r14), %rax
movq %rax, 0x30(%rbx)
movq (%r12), %rax
xchgq %rax, 0x418(%r14)
movq 0x8(%r12), %rax
xchgq %rax, 0x420(%r14)
movq 0x10(%r12), %rax
xchgq %rax, 0x428(%r14)
movq 0x18(%r12), %rax
xchgq %rax, 0x430(%r14)
movq 0x20(%r12), %rax
xchgq %rax, 0x438(%r14)
movq 0x28(%r12), %rax
xchgq %rax, 0x440(%r14)
movq 0x30(%r12), %rax
xchgq %rax, 0x448(%r14)
movq %r15, %rdi
callq 0x10440
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/include/jemalloc/internal/rtree.h
// Function: je_rtree_set
JEMALLOC_INLINE bool
rtree_set(rtree_t *rtree, uintptr_t key, const extent_node_t *val)
{
	uintptr_t subkey;
	unsigned i, start_level;
	rtree_node_elm_t *node, *child;

	start_level = rtree_start_level(rtree, key);

	node = rtree_subtree_read(rtree, start_level);
	if (node == NULL)
		return (true);
	for (i = start_level; /**/; i++, node = child) {
		subkey = rtree_subkey(rtree, key, i);
		if (i == rtree->height - 1) {
			/*
			 * node is a leaf, so it contains values rather than
			 * child pointers.
			 */
			rtree_val_write(rtree, &node[subkey], val);
			return (false);
		}
		assert(i + 1 < rtree->height);
		child = rtree_child_read(rtree, &node[subkey], i);
		if (child == NULL)
			return (true);
	}
	not_reached();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
testq %rdi, %rdi
je 0x28f70
bsrq %r14, %rax
shrq $0x4, %rax
leaq 0x2e787(%rip), %rcx     # 0x57640
movl 0x14(%rcx,%rax,4), %ebp
movl %ebp, %ecx
shlq $0x4, %rcx
leaq 0x2e776(%rip), %r15     # 0x57640
movq 0x28(%rcx,%r15), %rax
cmpq $0x1, %rax
ja 0x28ee3
addq %r15, %rcx
addq $0x28, %rcx
xorl %eax, %eax
lock
xaddq %rax, (%rcx)
cmpq $0x1, %rax
jbe 0x28f7d
movb $0x1, %r12b
testq %rax, %rax
je 0x28f5e
pushq $-0x1
popq %r13
movl %ebp, %edx
shlq $0x4, %rdx
xorl %ecx, %ecx
subb 0x34(%rdx,%r15), %cl
movq %r14, %rsi
shrq %cl, %rsi
movb 0x30(%rdx,%r15), %cl
movq %r13, %rdx
shlq %cl, %rdx
notq %rdx
andq %rsi, %rdx
movl 0x2e72d(%rip), %ecx     # 0x57650
decl %ecx
leaq (%rax,%rdx,8), %rsi
cmpl %ecx, %ebp
je 0x28f58
movq (%rsi), %rax
cmpq $0x1, %rax
ja 0x28f3d
xorl %eax, %eax
lock
xaddq %rax, (%rsi)
cmpq $0x1, %rax
jbe 0x28f4c
incl %ebp
testq %rax, %rax
jne 0x28ef9
jmp 0x28f5e
movq %r15, %rdi
movl %ebp, %edx
callq 0x341f1
jmp 0x28f43
xchgq %rbx, (%rsi)
xorl %r12d, %r12d
movl %r12d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl 0x2e6da(%rip), %ebp     # 0x57650
decl %ebp
jmp 0x28ebd
leaq 0x2e6bc(%rip), %rdi     # 0x57640
movl %ebp, %esi
callq 0x34198
jmp 0x28eed
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/chunk.c
// Function: je_chunk_alloc_base
void *
chunk_alloc_base(size_t size)
{
	void *ret;
	bool zero, commit;

	/*
	 * Directly call chunk_alloc_mmap() rather than chunk_alloc_core()
	 * because it's critical that chunk_alloc_base() return untouched
	 * demand-zeroed virtual memory.
	 */
	zero = true;
	commit = true;
	ret = chunk_alloc_mmap(size, chunksize, &zero, &commit);
	if (ret == NULL)
		return (NULL);
	if (config_valgrind)
		JEMALLOC_VALGRIND_MAKE_MEM_UNDEFINED(ret, size);

	return (ret);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movb $0x1, %al
leaq 0x7(%rsp), %rdx
movb %al, (%rdx)
leaq 0x6(%rsp), %rcx
movb %al, (%rcx)
movq 0x2e6f3(%rip), %rsi     # 0x576a8
callq 0x29e10
movq %rax, %r14
testq %rax, %rax
je 0x28fce
leaq 0x2d6bb(%rip), %rax     # 0x56684
cmpb $0x1, (%rax)
je 0x28fd9
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %r14, %rdi
movq %rbx, %rsi
callq 0x38f6a
jmp 0x28fce
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/chunk.c
// Function: je_chunk_alloc_cache
void *
chunk_alloc_cache(arena_t *arena, chunk_hooks_t *chunk_hooks, void *new_addr,
    size_t size, size_t alignment, bool *zero, bool dalloc_node)
{
	void *ret;
	bool commit;

	assert(size != 0);
	assert((size & chunksize_mask) == 0);
	assert(alignment != 0);
	assert((alignment & chunksize_mask) == 0);

	commit = true;
	ret = chunk_recycle(arena, chunk_hooks, &arena->chunks_szad_cached,
	    &arena->chunks_ad_cached, true, new_addr, size, alignment, zero,
	    &commit, dalloc_node);
	if (ret == NULL)
		return (NULL);
	assert(commit);
	if (config_valgrind)
		JEMALLOC_VALGRIND_MAKE_MEM_UNDEFINED(ret, size);
	return (ret);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %r9, %rax
movq %r8, %r10
movq %rcx, %rbx
movq %rdx, %r9
leaq 0x200(%rdi), %rdx
leaq 0x270(%rdi), %rcx
subq $0x8, %rsp
movzbl 0x28(%rsp), %r11d
leaq 0xf(%rsp), %r14
pushq $0x1
popq %r8
pushq %r11
pushq %r14
pushq %rax
pushq %r10
pushq %rbx
callq 0x29054
addq $0x30, %rsp
movq %rax, %r14
testq %rax, %rax
je 0x2903c
leaq 0x2d64d(%rip), %rax     # 0x56684
cmpb $0x1, (%rax)
je 0x29047
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %r14, %rdi
movq %rbx, %rsi
callq 0x38f6a
jmp 0x2903c
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/chunk.c
// Function: je_chunk_alloc_wrapper
void *
chunk_alloc_wrapper(arena_t *arena, chunk_hooks_t *chunk_hooks, void *new_addr,
    size_t size, size_t alignment, bool *zero, bool *commit)
{
	void *ret;

	chunk_hooks_assure_initialized(arena, chunk_hooks);
	ret = chunk_hooks->alloc(new_addr, size, alignment, zero, commit,
	    arena->ind);
	if (ret == NULL)
		return (NULL);
	if (config_valgrind && chunk_hooks->alloc != chunk_alloc_default)
		JEMALLOC_VALGRIND_MAKE_MEM_UNDEFINED(ret, chunksize);
	return (ret);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %r14
movq %r8, %r15
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, %rbx
movq %rdi, %rbp
callq 0x2952c
movl (%rbp), %r9d
movq %r13, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
movq 0x40(%rsp), %r8
callq *(%rbx)
movq %rax, %r14
testq %rax, %rax
je 0x29509
leaq -0x958(%rip), %rax      # 0x28ba0
cmpq %rax, (%rbx)
je 0x29509
leaq 0x2d180(%rip), %rax     # 0x56684
cmpb $0x1, (%rax)
je 0x2951b
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x2e186(%rip), %rsi     # 0x576a8
movq %r14, %rdi
callq 0x38f6a
jmp 0x29509
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/chunk.c
// Function: je_chunk_dalloc_cache
void
chunk_dalloc_cache(arena_t *arena, chunk_hooks_t *chunk_hooks, void *chunk,
    size_t size, bool committed)
{

	assert(chunk != NULL);
	assert(CHUNK_ADDR2BASE(chunk) == chunk);
	assert(size != 0);
	assert((size & chunksize_mask) == 0);

	chunk_record(arena, chunk_hooks, &arena->chunks_szad_cached,
	    &arena->chunks_ad_cached, true, chunk, size, false, committed);
	arena_maybe_purge(arena);
}

// Assembly:
pushq %rbx
movl %r8d, %eax
movq %rcx, %r10
movq %rdx, %r9
movq %rdi, %rbx
leaq 0x200(%rdi), %rdx
leaq 0x270(%rdi), %rcx
subq $0x8, %rsp
pushq $0x1
popq %r8
pushq %rax
pushq $0x0
pushq %r10
callq 0x2956d
addq $0x20, %rsp
movq %rbx, %rdi
popq %rbx
jmp 0x229ef
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/chunk.c
// Function: je_chunk_dalloc_arena
void
chunk_dalloc_arena(arena_t *arena, chunk_hooks_t *chunk_hooks, void *chunk,
    size_t size, bool zeroed, bool committed)
{

	assert(chunk != NULL);
	assert(CHUNK_ADDR2BASE(chunk) == chunk);
	assert(size != 0);
	assert((size & chunksize_mask) == 0);

	chunk_hooks_assure_initialized(arena, chunk_hooks);
	/* Try to deallocate. */
	if (!chunk_hooks->dalloc(chunk, size, committed, arena->ind))
		return;
	/* Try to decommit; purge if that fails. */
	if (committed) {
		committed = chunk_hooks->decommit(chunk, size, 0, size,
		    arena->ind);
	}
	zeroed = !committed || !chunk_hooks->purge(chunk, size, 0, size,
	    arena->ind);
	chunk_record(arena, chunk_hooks, &arena->chunks_szad_retained,
	    &arena->chunks_ad_retained, false, chunk, size, zeroed, committed);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r9d, %r13d
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
callq 0x2952c
movl (%r12), %ecx
movq %r14, %rdi
movq %rbx, %rsi
movl %r13d, %edx
callq *0x8(%r15)
testb %al, %al
je 0x298ae
movb $0x1, %bpl
testb %r13b, %r13b
je 0x298b4
movl (%r12), %r8d
xorl %r13d, %r13d
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
movq %rbx, %rcx
callq *0x18(%r15)
testb %al, %al
je 0x298b7
movl (%r12), %r8d
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
movq %rbx, %rcx
callq *0x20(%r15)
movl %eax, %ebp
xorb $0x1, %bpl
movb $0x1, %r13b
jmp 0x298b7
addq $0x8, %rsp
jmp 0x298ec
xorl %r13d, %r13d
leaq 0x2e0(%r12), %rdx
leaq 0x350(%r12), %rcx
subq $0x8, %rsp
movzbl %r13b, %eax
movzbl %bpl, %r10d
movq %r12, %rdi
movq %r15, %rsi
xorl %r8d, %r8d
movq %r14, %r9
pushq %rax
pushq %r10
pushq %rbx
callq 0x2956d
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/chunk.c
// Function: je_chunk_dalloc_wrapper
void
chunk_dalloc_wrapper(arena_t *arena, chunk_hooks_t *chunk_hooks, void *chunk,
    size_t size, bool committed)
{

	chunk_hooks_assure_initialized(arena, chunk_hooks);
	chunk_hooks->dalloc(chunk, size, committed, arena->ind);
	if (config_valgrind && chunk_hooks->dalloc != chunk_dalloc_default)
		JEMALLOC_VALGRIND_MAKE_MEM_NOACCESS(chunk, size);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %r8d, %ebp
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
callq 0x2952c
movl (%r12), %ecx
movq %r14, %rdi
movq %rbx, %rsi
movl %ebp, %edx
callq *0x8(%r15)
leaq -0xc3d(%rip), %rax      # 0x28ced
cmpq %rax, 0x8(%r15)
je 0x2993c
leaq 0x2cd4d(%rip), %rax     # 0x56684
cmpb $0x1, (%rax)
je 0x29945
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x38f28
// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/chunk.c
// Function: chunk_arena_get
static arena_t *
chunk_arena_get(unsigned arena_ind)
{
	arena_t *arena;

	/* Dodge tsd for a0 in order to avoid bootstrapping issues. */
	arena = (arena_ind == 0) ? a0get() : arena_get(tsd_fetch(), arena_ind,
	     false, true);
	/*
	 * The arena we're allocating on behalf of must have been initialized
	 * already.
	 */
	assert(arena != NULL);
	return (arena);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testl %edi, %edi
je 0x29b0d
movl %edi, %ebx
movq 0x2a51e(%rip), %r15     # 0x53ff0
movq %fs:0x0, %r14
addq %r15, %r14
movl %fs:(%r15), %eax
testl %eax, %eax
je 0x29b28
cmpl $0x2, %eax
je 0x29b32
movq %fs:0x30(%r15), %rax
testq %rax, %rax
je 0x29b17
cmpl %ebx, %fs:0x38(%r15)
jbe 0x29b17
movl %ebx, %ecx
movq (%rax,%rcx,8), %rax
testq %rax, %rax
je 0x29b17
popq %rbx
popq %r14
popq %r15
retq
popq %rbx
popq %r14
popq %r15
jmp 0x1c298
movq %r14, %rdi
movl %ebx, %esi
xorl %edx, %edx
popq %rbx
popq %r14
popq %r15
jmp 0x1c700
movl $0x1, %fs:(%r15)
jmp 0x29b3a
movl $0x3, %fs:(%r15)
leaq 0x2e2d3(%rip), %rax     # 0x57e14
movl (%rax), %edi
movq %r14, %rsi
callq 0x106f0
testl %eax, %eax
je 0x29aeb
leaq 0x19363(%rip), %rdi     # 0x42eb9
callq 0x37d1c
leaq 0x2cabe(%rip), %rax     # 0x56620
cmpb $0x1, (%rax)
jne 0x29aeb
callq 0x10090