LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/jemalloc.c
// Function: choose_arena_hard
arena_t *
choose_arena_hard(void)
{
	arena_t *ret;

	if (narenas_auto > 1) {
		unsigned i, choose, first_null;

		choose = 0;
		first_null = narenas_auto;
		malloc_mutex_lock(&arenas_lock);
		assert(arenas[0] != NULL);
		for (i = 1; i < narenas_auto; i++) {
			if (arenas[i] != NULL) {
				/*
				 * Choose the first arena that has the lowest
				 * number of threads assigned to it.
				 */
				if (arenas[i]->nthreads <
				    arenas[choose]->nthreads)
					choose = i;
			} else if (first_null == narenas_auto) {
				/*
				 * Record the index of the first uninitialized
				 * arena, in case all extant arenas are in use.
				 *
				 * NB: It is possible for there to be
				 * discontinuities in terms of initialized
				 * versus uninitialized arenas, due to the
				 * "thread.arena" mallctl.
				 */
				first_null = i;
			}
		}

		if (arenas[choose]->nthreads == 0
		    || first_null == narenas_auto) {
			/*
			 * Use an unloaded arena, or the least loaded arena if
			 * all arenas are already initialized.
			 */
			ret = arenas[choose];
		} else {
			/* Initialize a new arena. */
			ret = arenas_extend(first_null);
		}
		ret->nthreads++;
		malloc_mutex_unlock(&arenas_lock);
	} else {
		ret = arenas[0];
		malloc_mutex_lock(&arenas_lock);
		ret->nthreads++;
		malloc_mutex_unlock(&arenas_lock);
	}

	arenas_tsd_set(&ret);

	return (ret);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl 0x62844(%rip), %ebx     # 0xdeb80
cmpl $0x2, %ebx
jb 0x7c3b9
leaq 0x62840(%rip), %rdi     # 0xdeb88
callq 0x1faa0
movl 0x6282d(%rip), %eax     # 0xdeb80
xorl %ecx, %ecx
cmpq $0x2, %rax
jb 0x7c397
movq 0x62816(%rip), %rdx     # 0xdeb78
movl $0x1, %esi
movq (%rdx,%rsi,8), %rdi
testq %rdi, %rdi
je 0x7c388
movl 0x4(%rdi), %r8d
movl %ecx, %edi
movq (%rdx,%rdi,8), %r9
movl %esi, %edi
cmpl 0x4(%r9), %r8d
jb 0x7c384
movl %ecx, %edi
movl %edi, %ecx
jmp 0x7c38d
cmpl %eax, %ebx
cmovel %esi, %ebx
incq %rsi
cmpq %rsi, %rax
jne 0x7c367
movl %ecx, %ecx
movq 0x627da(%rip), %rdx     # 0xdeb78
movq (%rdx,%rcx,8), %r14
cmpl $0x0, 0x4(%r14)
je 0x7c3cf
cmpl %eax, %ebx
je 0x7c3cf
movl %ebx, %edi
callq 0x7c2d0
movq %rax, %r14
jmp 0x7c3cf
movq 0x627b8(%rip), %rax     # 0xdeb78
movq (%rax), %r14
leaq 0x627be(%rip), %rdi     # 0xdeb88
callq 0x1faa0
incl 0x4(%r14)
leaq 0x627ae(%rip), %rdi     # 0xdeb88
callq 0x1fbb0
movq %fs:0x0, %rax
leaq -0x30(%rax), %rsi
movq %r14, %fs:-0x30
movl 0x627b6(%rip), %edi     # 0xdebb4
callq 0x1f1c0
testl %eax, %eax
je 0x7c41c
leaq 0x26aec(%rip), %rdi     # 0xa2efa
callq 0x9124c
cmpb $0x1, 0x62740(%rip)     # 0xdeb5a
je 0x7c427
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x1f1b0
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/jemalloc.c
// Function: arenas_cleanup
void
arenas_cleanup(void *arg)
{
	arena_t *arena = *(arena_t **)arg;

	malloc_mutex_lock(&arenas_lock);
	arena->nthreads--;
	malloc_mutex_unlock(&arenas_lock);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq (%rdi), %r14
leaq 0x6274e(%rip), %rbx     # 0xdeb88
movq %rbx, %rdi
callq 0x1faa0
decl 0x4(%r14)
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x1fbb0
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/jemalloc.c
// Function: je_posix_memalign
int
je_posix_memalign(void **memptr, size_t alignment, size_t size)
{
	int ret = imemalign(memptr, alignment, size, sizeof(void *));
	JEMALLOC_VALGRIND_MALLOC(ret == 0, *memptr, isalloc(*memptr,
	    config_prof), false);
	return (ret);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rdi, %r14
movl $0x8, %ecx
callq 0x7d364
movl %eax, %ebx
testl %eax, %eax
sete %al
andb 0x61946(%rip), %al      # 0xdeb6a
cmpb $0x1, %al
jne 0x7d358
movq $0x1301, 0x10(%rsp)     # imm = 0x1301
movq (%r14), %rdi
movq %rdi, 0x18(%rsp)
leaq 0x6263c(%rip), %r15     # 0xdf880
movq (%r15), %rax
notq %rax
andq %rdi, %rax
movq %rdi, %rcx
subq %rax, %rcx
je 0x7d284
shrq $0xc, %rcx
leaq 0x626c8(%rip), %rdx     # 0xdf928
subq (%rdx), %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x40(%rax,%rcx,8), %rax
movl %eax, %ecx
shrl $0x4, %ecx
movl $0xff, %edx
andl %edx, %ecx
cmpl %edx, %ecx
jne 0x7d28b
andq $-0x1000, %rax          # imm = 0xF000
jmp 0x7d29a
callq 0x8bc15
jmp 0x7d29a
imulq $0x68, %rcx, %rax
leaq 0x6196a(%rip), %rcx     # 0xdec00
movq (%rcx,%rax), %rax
movq %rax, 0x20(%rsp)
movq (%r14), %rdi
movq (%r15), %rax
notq %rax
andq %rdi, %rax
movq %rdi, %rcx
subq %rax, %rcx
je 0x7d2e2
shrq $0xc, %rcx
leaq 0x6266a(%rip), %rdx     # 0xdf928
subq (%rdx), %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x40(%rax,%rcx,8), %rax
movl %eax, %ecx
shrl $0x4, %ecx
movl $0xff, %edx
andl %edx, %ecx
cmpl %edx, %ecx
jne 0x7d2e9
andq $-0x1000, %rax          # imm = 0xF000
jmp 0x7d2f8
callq 0x8bc15
jmp 0x7d2f8
imulq $0x68, %rcx, %rax
leaq 0x6190c(%rip), %rcx     # 0xdec00
movq (%rcx,%rax), %rax
cmpq $0xe00, %rax            # imm = 0xE00
ja 0x7d324
decq %rax
shrq $0x3, %rax
leaq 0x25db2(%rip), %rcx     # 0xa30c0
movzbl (%rcx,%rax), %eax
imulq $0x68, %rax, %rax
leaq 0x618e3(%rip), %rcx     # 0xdec00
movq 0x8(%rcx,%rax), %rcx
jmp 0x7d326
xorl %ecx, %ecx
leaq 0x10(%rsp), %rax
movq %rcx, 0x18(%rax)
xorl %ecx, %ecx
movq %rcx, 0x20(%rax)
movq %rcx, 0x28(%rax)
xorl %edx, %edx
rolq $0x3, %rdi
rolq $0xd, %rdi
rolq $0x3d, %rdi
rolq $0x33, %rdi
xchgq %rbx, %rbx
movq %rdx, 0x8(%rsp)
movq 0x8(%rsp), %rax
movl %ebx, %eax
addq $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/jemalloc.c
// Function: je_aligned_alloc
void *
je_aligned_alloc(size_t alignment, size_t size)
{
	void *ret;
	int err;

	if ((err = imemalign(&ret, alignment, size, 1)) != 0) {
		ret = NULL;
		set_errno(err);
	}
	JEMALLOC_VALGRIND_MALLOC(err == 0, ret, isalloc(ret, config_prof),
	    false);
	return (ret);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rdx
movq %rdi, %rsi
movq %rsp, %rdi
movl $0x1, %ecx
callq 0x7d364
movl %eax, %ebx
testl %eax, %eax
je 0x7d58c
movq $0x0, (%rsp)
callq 0x1f810
movl %ebx, (%rax)
testl %ebx, %ebx
jne 0x7d6d1
cmpb $0x0, 0x615cf(%rip)     # 0xdeb6a
je 0x7d6d1
movq $0x1301, 0x10(%rsp)     # imm = 0x1301
movq (%rsp), %rbx
movq %rbx, 0x18(%rsp)
leaq 0x622c6(%rip), %r14     # 0xdf880
movq (%r14), %rax
notq %rax
andq %rbx, %rax
movq %rbx, %rcx
subq %rax, %rcx
je 0x7d5fa
shrq $0xc, %rcx
leaq 0x62352(%rip), %rdx     # 0xdf928
subq (%rdx), %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x40(%rax,%rcx,8), %rax
movl %eax, %ecx
shrl $0x4, %ecx
movl $0xff, %edx
andl %edx, %ecx
cmpl %edx, %ecx
jne 0x7d604
andq $-0x1000, %rax          # imm = 0xF000
jmp 0x7d613
movq %rbx, %rdi
callq 0x8bc15
jmp 0x7d613
imulq $0x68, %rcx, %rax
leaq 0x615f1(%rip), %rcx     # 0xdec00
movq (%rcx,%rax), %rax
movq %rax, 0x20(%rsp)
movq (%r14), %rax
notq %rax
andq %rbx, %rax
movq %rbx, %rcx
subq %rax, %rcx
je 0x7d658
shrq $0xc, %rcx
leaq 0x622f4(%rip), %rdx     # 0xdf928
subq (%rdx), %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x40(%rax,%rcx,8), %rax
movl %eax, %ecx
shrl $0x4, %ecx
movl $0xff, %edx
andl %edx, %ecx
cmpl %edx, %ecx
jne 0x7d662
andq $-0x1000, %rax          # imm = 0xF000
jmp 0x7d671
movq %rbx, %rdi
callq 0x8bc15
jmp 0x7d671
imulq $0x68, %rcx, %rax
leaq 0x61593(%rip), %rcx     # 0xdec00
movq (%rcx,%rax), %rax
cmpq $0xe00, %rax            # imm = 0xE00
ja 0x7d69d
decq %rax
shrq $0x3, %rax
leaq 0x25a39(%rip), %rcx     # 0xa30c0
movzbl (%rcx,%rax), %eax
imulq $0x68, %rax, %rax
leaq 0x6156a(%rip), %rcx     # 0xdec00
movq 0x8(%rcx,%rax), %rcx
jmp 0x7d69f
xorl %ecx, %ecx
leaq 0x10(%rsp), %rax
movq %rcx, 0x18(%rax)
xorl %ecx, %ecx
movq %rcx, 0x20(%rax)
movq %rcx, 0x28(%rax)
xorl %edx, %edx
rolq $0x3, %rdi
rolq $0xd, %rdi
rolq $0x3d, %rdi
rolq $0x33, %rdi
xchgq %rbx, %rbx
movq %rdx, 0x8(%rsp)
movq 0x8(%rsp), %rax
movq (%rsp), %rax
addq $0x48, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/jemalloc.c
// Function: je_free
void
je_free(void *ptr)
{

	UTRACE(ptr, 0, 0);
	if (ptr != NULL) {
		size_t usize;
		size_t rzsize JEMALLOC_CC_SILENCE_INIT(0);

		assert(malloc_initialized || IS_INITIALIZER);

		if (config_prof && opt_prof) {
			usize = isalloc(ptr, config_prof);
			prof_free(ptr, usize);
		} else if (config_stats || config_valgrind)
			usize = isalloc(ptr, config_prof);
		if (config_stats)
			thread_allocated_tsd_get()->deallocated += usize;
		if (config_valgrind && opt_valgrind)
			rzsize = p2rz(ptr);
		iqalloc(ptr);
		JEMALLOC_VALGRIND_FREE(ptr, rzsize);
	}
}

// Assembly:
testq %rdi, %rdi
je 0x7e04f
pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
leaq 0x619c2(%rip), %r14     # 0xdf880
movq (%r14), %rax
notq %rax
andq %rdi, %rax
cmpq %rdi, %rax
je 0x7df01
movq %rbx, %rcx
subq %rax, %rcx
shrq $0xc, %rcx
leaq 0x61a4b(%rip), %rdx     # 0xdf928
subq (%rdx), %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x40(%rax,%rcx,8), %rax
movl %eax, %ecx
shrl $0x4, %ecx
movl $0xff, %edx
andl %edx, %ecx
cmpl %edx, %ecx
jne 0x7df0b
andq $-0x1000, %rax          # imm = 0xF000
jmp 0x7df1a
movq %rbx, %rdi
callq 0x8bc15
jmp 0x7df1a
imulq $0x68, %rcx, %rax
leaq 0x60cea(%rip), %rcx     # 0xdec00
movq (%rcx,%rax), %rax
addq %rax, %fs:-0x20
cmpb $0x1, 0x60c40(%rip)     # 0xdeb6a
jne 0x7dfb8
movq (%r14), %rax
notq %rax
andq %rbx, %rax
cmpq %rbx, %rax
je 0x7df73
movq %rbx, %rcx
subq %rax, %rcx
shrq $0xc, %rcx
leaq 0x619d9(%rip), %rdx     # 0xdf928
subq (%rdx), %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x40(%rax,%rcx,8), %rax
movl %eax, %ecx
shrl $0x4, %ecx
movl $0xff, %edx
andl %edx, %ecx
cmpl %edx, %ecx
jne 0x7df7d
andq $-0x1000, %rax          # imm = 0xF000
jmp 0x7df8c
movq %rbx, %rdi
callq 0x8bc15
jmp 0x7df8c
imulq $0x68, %rcx, %rax
leaq 0x60c78(%rip), %rcx     # 0xdec00
movq (%rcx,%rax), %rax
cmpq $0xe00, %rax            # imm = 0xE00
ja 0x7dfb8
decq %rax
shrq $0x3, %rax
leaq 0x2511e(%rip), %rcx     # 0xa30c0
movzbl (%rcx,%rax), %eax
imulq $0x68, %rax, %rax
leaq 0x60c4f(%rip), %rcx     # 0xdec00
movq 0x8(%rcx,%rax), %r15
jmp 0x7dfbb
xorl %r15d, %r15d
cmpq $0x0, 0x60b9d(%rip)     # 0xdeb60
je 0x7dfcf
movq %rbx, %rdi
callq 0x8d814
jmp 0x7dffc
movq (%r14), %rsi
notq %rsi
andq %rbx, %rsi
cmpq %rbx, %rsi
je 0x7dfef
movq (%rsi), %rdi
movq %rbx, %rdx
movl $0x1, %ecx
callq 0x7f5fb
jmp 0x7dffc
movq %rbx, %rdi
movl $0x1, %esi
callq 0x8bb7e
cmpb $0x1, 0x60b67(%rip)     # 0xdeb6a
jne 0x7e046
leaq 0x10(%rsp), %rax
movq $0x1302, (%rax)         # imm = 0x1302
movq %rbx, 0x8(%rax)
movq %r15, 0x10(%rax)
xorl %ecx, %ecx
movq %rcx, 0x18(%rax)
movq %rcx, 0x20(%rax)
movq %rcx, 0x28(%rax)
xorl %edx, %edx
rolq $0x3, %rdi
rolq $0xd, %rdi
rolq $0x3d, %rdi
rolq $0x33, %rdi
xchgq %rbx, %rbx
movq %rdx, 0x8(%rsp)
movq 0x8(%rsp), %rax
addq $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/jemalloc.c
// Function: je_memalign
void *
je_memalign(size_t alignment, size_t size)
{
	void *ret JEMALLOC_CC_SILENCE_INIT(NULL);
	imemalign(&ret, alignment, size, 1);
	JEMALLOC_VALGRIND_MALLOC(ret != NULL, ret, size, false);
	return (ret);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
movq %rdi, %rsi
leaq 0x8(%rsp), %rbx
movq $0x0, (%rbx)
movl $0x1, %ecx
movq %rbx, %rdi
movq %r14, %rdx
callq 0x7d364
movq (%rbx), %rax
movq %rax, %rbx
testq %rax, %rax
setne %cl
andb 0x60adf(%rip), %cl      # 0xdeb6a
cmpb $0x1, %cl
jne 0x7e162
movq $0x1301, 0x10(%rsp)     # imm = 0x1301
movq %rbx, 0x18(%rsp)
movq %r14, 0x20(%rsp)
leaq 0x617d2(%rip), %rcx     # 0xdf880
movq (%rcx), %rcx
notq %rcx
andq %rax, %rcx
subq %rcx, %rax
je 0x7e0eb
shrq $0xc, %rax
leaq 0x61861(%rip), %rdx     # 0xdf928
subq (%rdx), %rax
leaq (%rax,%rax,2), %rax
movq 0x40(%rcx,%rax,8), %rax
movl %eax, %ecx
shrl $0x4, %ecx
movl $0xff, %edx
andl %edx, %ecx
cmpl %edx, %ecx
jne 0x7e0f5
andq $-0x1000, %rax          # imm = 0xF000
jmp 0x7e104
movq %rbx, %rdi
callq 0x8bc15
jmp 0x7e104
imulq $0x68, %rcx, %rax
leaq 0x60b00(%rip), %rcx     # 0xdec00
movq (%rcx,%rax), %rax
cmpq $0xe00, %rax            # imm = 0xE00
ja 0x7e130
decq %rax
shrq $0x3, %rax
leaq 0x24fa6(%rip), %rcx     # 0xa30c0
movzbl (%rcx,%rax), %eax
imulq $0x68, %rax, %rax
leaq 0x60ad7(%rip), %rcx     # 0xdec00
movq 0x8(%rcx,%rax), %rcx
jmp 0x7e132
xorl %ecx, %ecx
leaq 0x10(%rsp), %rax
movq %rcx, 0x18(%rax)
xorl %ecx, %ecx
movq %rcx, 0x20(%rax)
movq %rcx, 0x28(%rax)
xorl %edx, %edx
rolq $0x3, %rdi
rolq $0xd, %rdi
rolq $0x3d, %rdi
rolq $0x33, %rdi
xchgq %rbx, %rbx
movq %rdx, (%rsp)
movq (%rsp), %rax
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/jemalloc.c
// Function: je_valloc
void *
je_valloc(size_t size)
{
	void *ret JEMALLOC_CC_SILENCE_INIT(NULL);
	imemalign(&ret, PAGE, size, 1);
	JEMALLOC_VALGRIND_MALLOC(ret != NULL, ret, size, false);
	return (ret);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdi, %r14
leaq 0x8(%rsp), %rbx
movq $0x0, (%rbx)
movl $0x1000, %esi           # imm = 0x1000
movl $0x1, %ecx
movq %rbx, %rdi
movq %r14, %rdx
callq 0x7d364
movq (%rbx), %rax
movq %rax, %rbx
testq %rax, %rax
setne %cl
andb 0x609c0(%rip), %cl      # 0xdeb6a
cmpb $0x1, %cl
jne 0x7e281
movq $0x1301, 0x10(%rsp)     # imm = 0x1301
movq %rbx, 0x18(%rsp)
movq %r14, 0x20(%rsp)
leaq 0x616b3(%rip), %rcx     # 0xdf880
movq (%rcx), %rcx
notq %rcx
andq %rax, %rcx
subq %rcx, %rax
je 0x7e20a
shrq $0xc, %rax
leaq 0x61742(%rip), %rdx     # 0xdf928
subq (%rdx), %rax
leaq (%rax,%rax,2), %rax
movq 0x40(%rcx,%rax,8), %rax
movl %eax, %ecx
shrl $0x4, %ecx
movl $0xff, %edx
andl %edx, %ecx
cmpl %edx, %ecx
jne 0x7e214
andq $-0x1000, %rax          # imm = 0xF000
jmp 0x7e223
movq %rbx, %rdi
callq 0x8bc15
jmp 0x7e223
imulq $0x68, %rcx, %rax
leaq 0x609e1(%rip), %rcx     # 0xdec00
movq (%rcx,%rax), %rax
cmpq $0xe00, %rax            # imm = 0xE00
ja 0x7e24f
decq %rax
shrq $0x3, %rax
leaq 0x24e87(%rip), %rcx     # 0xa30c0
movzbl (%rcx,%rax), %eax
imulq $0x68, %rax, %rax
leaq 0x609b8(%rip), %rcx     # 0xdec00
movq 0x8(%rcx,%rax), %rcx
jmp 0x7e251
xorl %ecx, %ecx
leaq 0x10(%rsp), %rax
movq %rcx, 0x18(%rax)
xorl %ecx, %ecx
movq %rcx, 0x20(%rax)
movq %rcx, 0x28(%rax)
xorl %edx, %edx
rolq $0x3, %rdi
rolq $0xd, %rdi
rolq $0x3d, %rdi
rolq $0x33, %rdi
xchgq %rbx, %rbx
movq %rdx, (%rsp)
movq (%rsp), %rax
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/jemalloc.c
// Function: je_malloc_usable_size
size_t
je_malloc_usable_size(JEMALLOC_USABLE_SIZE_CONST void *ptr)
{
	size_t ret;

	assert(malloc_initialized || IS_INITIALIZER);

	if (config_ivsalloc)
		ret = ivsalloc(ptr, config_prof);
	else
		ret = (ptr != NULL) ? isalloc(ptr, config_prof) : 0;

	return (ret);
}

// Assembly:
testq %rdi, %rdi
je 0x7e2db
leaq 0x615e8(%rip), %rax     # 0xdf880
movq (%rax), %rax
notq %rax
andq %rdi, %rax
cmpq %rdi, %rax
je 0x8bc15
subq %rax, %rdi
shrq $0xc, %rdi
leaq 0x61670(%rip), %rcx     # 0xdf928
subq (%rcx), %rdi
leaq (%rdi,%rdi,2), %rcx
movq 0x40(%rax,%rcx,8), %rax
movl %eax, %ecx
shrl $0x4, %ecx
movl $0xff, %edx
andl %edx, %ecx
cmpl %edx, %ecx
jne 0x7e2de
andq $-0x1000, %rax          # imm = 0xF000
retq
xorl %eax, %eax
retq
imulq $0x68, %rcx, %rax
leaq 0x60917(%rip), %rcx     # 0xdec00
movq (%rcx,%rax), %rax
retq
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/jemalloc.c
// Function: je_sallocm
int
je_sallocm(const void *ptr, size_t *rsize, int flags)
{
	size_t sz;

	assert(malloc_initialized || IS_INITIALIZER);

	if (config_ivsalloc)
		sz = ivsalloc(ptr, config_prof);
	else {
		assert(ptr != NULL);
		sz = isalloc(ptr, config_prof);
	}
	assert(rsize != NULL);
	*rsize = sz;

	return (ALLOCM_SUCCESS);
}

// Assembly:
pushq %rbx
movq %rsi, %rbx
leaq 0x60845(%rip), %rax     # 0xdf880
movq (%rax), %rax
notq %rax
andq %rdi, %rax
cmpq %rdi, %rax
je 0x7f07b
subq %rax, %rdi
shrq $0xc, %rdi
leaq 0x608d1(%rip), %rcx     # 0xdf928
subq (%rcx), %rdi
leaq (%rdi,%rdi,2), %rcx
movq 0x40(%rax,%rcx,8), %rax
movl %eax, %ecx
shrl $0x4, %ecx
movl $0xff, %edx
andl %edx, %ecx
cmpl %edx, %ecx
jne 0x7f082
andq $-0x1000, %rax          # imm = 0xF000
jmp 0x7f091
callq 0x8bc15
jmp 0x7f091
imulq $0x68, %rcx, %rax
leaq 0x5fb73(%rip), %rcx     # 0xdec00
movq (%rcx,%rax), %rax
movq %rax, (%rbx)
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/jemalloc.c
// Function: je_nallocm
int
je_nallocm(size_t *rsize, size_t size, int flags)
{
	size_t usize;
	size_t alignment = (ZU(1) << (flags & ALLOCM_LG_ALIGN_MASK)
	    & (SIZE_T_MAX-1));

	assert(size != 0);

	if (malloc_init())
		return (ALLOCM_ERR_OOM);

	usize = (alignment == 0) ? s2u(size) : sa2u(size, alignment);
	if (usize == 0)
		return (ALLOCM_ERR_OOM);

	if (rsize != NULL)
		*rsize = usize;
	return (ALLOCM_SUCCESS);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ecx
movq %rsi, %r15
movq %rdi, %r14
movl $0x1, %r12d
shlq %cl, %r12
movl $0x1, %ebx
callq 0x7c61b
testb %al, %al
jne 0x7f3d3
andq $-0x2, %r12
je 0x7f2c6
leaq (%r15,%r12), %rcx
decq %rcx
movq %r12, %rax
negq %rax
andq %rcx, %rax
cmpq %r15, %rax
jae 0x7f2e4
xorl %eax, %eax
jmp 0x7f3c4
cmpq $0xe00, %r15            # imm = 0xE00
ja 0x7f336
decq %r15
shrq $0x3, %r15
leaq 0x23de3(%rip), %rax     # 0xa30c0
movzbl (%rax,%r15), %eax
jmp 0x7f322
leaq 0x60645(%rip), %rcx     # 0xdf930
movq (%rcx), %rcx
cmpq %rcx, %rax
seta %dl
cmpq $0x1001, %r12           # imm = 0x1001
setae %sil
orb %dl, %sil
jne 0x7f357
cmpq $0xe00, %rax            # imm = 0xE00
ja 0x7f3b8
decq %rax
shrq $0x3, %rax
leaq 0x23da2(%rip), %rcx     # 0xa30c0
movzbl (%rcx,%rax), %eax
imulq $0x68, %rax, %rax
leaq 0x5f8d3(%rip), %rcx     # 0xdec00
movq (%rcx,%rax), %rax
jmp 0x7f3c4
leaq 0x605f3(%rip), %rax     # 0xdf930
cmpq %r15, (%rax)
jae 0x7f3a5
leaq 0x60537(%rip), %rax     # 0xdf880
movq (%rax), %rax
addq %rax, %r15
notq %rax
andq %r15, %rax
jmp 0x7f3c4
leaq 0xfff(%r15), %rax
andq $-0x1000, %rax          # imm = 0xF000
cmpq %r15, %rax
jb 0x7f2bf
addq $0xfff, %r12            # imm = 0xFFF
andq $-0x1000, %r12          # imm = 0xF000
addq %rax, %r12
jb 0x7f2bf
addq $-0x1000, %r12          # imm = 0xF000
cmpq %rcx, %r12
jbe 0x7f3c4
leaq 0x604e9(%rip), %rcx     # 0xdf880
movq (%rcx), %rcx
addq %rcx, %rax
notq %rcx
andq %rcx, %rax
jmp 0x7f3c4
addq $0xfff, %r15            # imm = 0xFFF
andq $-0x1000, %r15          # imm = 0xF000
movq %r15, %rax
jmp 0x7f3c4
addq $0xfff, %rax            # imm = 0xFFF
andq $-0x1000, %rax          # imm = 0xF000
testq %rax, %rax
je 0x7f3d3
xorl %ebx, %ebx
testq %r14, %r14
je 0x7f3d3
movq %rax, (%r14)
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/jemalloc.c
// Function: a0alloc
static void *
a0alloc(size_t size, bool zero)
{

	if (malloc_init())
		return (NULL);

	if (size == 0)
		size = 1;

	if (size <= arena_maxclass)
		return (arena_malloc(arenas[0], size, zero, false));
	else
		return (huge_malloc(size, zero));
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl %esi, %ebx
movq %rdi, %r15
callq 0x7c61b
testb %al, %al
je 0x7f504
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
cmpq $0x1, %r15
movq %r15, %r14
adcq $0x0, %r14
leaq 0x6041a(%rip), %rax     # 0xdf930
cmpq (%rax), %r14
jbe 0x7f52b
movzbl %bl, %esi
movq %r14, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x8b6a4
movq 0x5f646(%rip), %rax     # 0xdeb78
movq (%rax), %rdi
cmpq $0xe00, %r15            # imm = 0xE00
ja 0x7f569
testq %rdi, %rdi
jne 0x7f559
movq %fs:-0x30, %rdi
testq %rdi, %rdi
jne 0x7f559
callq 0x7c332
movq %rax, %rdi
movzbl %bl, %edx
movq %r14, %rsi
popq %rbx
popq %r14
popq %r15
jmp 0x80961
testq %rdi, %rdi
jne 0x7f584
movq %fs:-0x30, %rdi
testq %rdi, %rdi
jne 0x7f584
callq 0x7c332
movq %rax, %rdi
movzbl %bl, %edx
movq %r14, %rsi
popq %rbx
popq %r14
popq %r15
jmp 0x80be1
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/jemalloc.c
// Function: a0free
void
a0free(void *ptr)
{
	arena_chunk_t *chunk;

	if (ptr == NULL)
		return;

	chunk = (arena_chunk_t *)CHUNK_ADDR2BASE(ptr);
	if (chunk != ptr)
		arena_dalloc(chunk->arena, chunk, ptr, false);
	else
		huge_dalloc(ptr, true);
}

// Assembly:
testq %rdi, %rdi
je 0x7f5ed
movq %rdi, %rdx
leaq 0x602cf(%rip), %rax     # 0xdf880
movq (%rax), %rsi
notq %rsi
andq %rdi, %rsi
cmpq %rdi, %rsi
je 0x7f5ee
movq %rdx, %rcx
subq %rsi, %rcx
shrq $0xc, %rcx
leaq 0x60358(%rip), %rax     # 0xdf928
movq %rcx, %r8
subq (%rax), %r8
movq (%rsi), %rdi
leaq (%r8,%r8,2), %rax
testb $0x2, 0x40(%rsi,%rax,8)
je 0x8147f
jmp 0x81920
retq
movq %rdx, %rdi
movl $0x1, %esi
jmp 0x8bb7e
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/include/jemalloc/internal/tcache.h
// Function: tcache_get
JEMALLOC_INLINE tcache_t *
tcache_get(bool create)
{
	tcache_t *tcache;

	if (config_tcache == false)
		return (NULL);
	if (config_lazy_lock && isthreaded == false)
		return (NULL);

	tcache = *tcache_tsd_get();
	if ((uintptr_t)tcache <= (uintptr_t)TCACHE_STATE_MAX) {
		if (tcache == TCACHE_STATE_DISABLED)
			return (NULL);
		if (tcache == NULL) {
			if (create == false) {
				/*
				 * Creating a tcache here would cause
				 * allocation as a side effect of free().
				 * Ordinarily that would be okay since
				 * tcache_create() failure is a soft failure
				 * that doesn't propagate.  However, if TLS
				 * data are freed via free() as in glibc,
				 * subtle corruption could result from setting
				 * a TLS variable after its backing memory is
				 * freed.
				 */
				return (NULL);
			}
			if (tcache_enabled_get() == false) {
				tcache_enabled_set(false); /* Memoize. */
				return (NULL);
			}
			return (tcache_create(choose_arena(NULL)));
		}
		if (tcache == TCACHE_STATE_PURGATORY) {
			/*
			 * Make a note that an allocator function was called
			 * after tcache_thread_cleanup() was called.
			 */
			tcache = TCACHE_STATE_REINCARNATED;
			tcache_tsd_set(&tcache);
			return (NULL);
		}
		if (tcache == TCACHE_STATE_REINCARNATED)
			return (NULL);
		not_reached();
	}

	return (tcache);
}

// Assembly:
pushq %rbx
movq 0x41053(%rip), %rbx     # 0xc5f58
movq %fs:(%rbx), %rax
cmpq $0x3, %rax
ja 0x84fb3
leaq -0x1(%rax), %rcx
cmpq $0x2, %rcx
jb 0x84fb1
cmpq $0x3, %rax
je 0x84f73
testq %rax, %rax
jne 0x84fb3
testb %dil, %dil
je 0x84fb1
movq 0x4104c(%rip), %rcx     # 0xc5f88
movl %fs:(%rcx), %edx
cmpl $0x2, %edx
jne 0x84f51
leaq 0x45045(%rip), %rdx     # 0xc9f90
movzbl (%rdx), %edx
movl %edx, %fs:(%rcx)
testl %edx, %edx
je 0x84fb5
movq 0x40fdc(%rip), %rax     # 0xc5f38
movq %fs:(%rax), %rdi
testq %rdi, %rdi
jne 0x84f6d
callq 0x7c332
movq %rax, %rdi
popq %rbx
jmp 0x90dc6
movq %fs:0x0, %rsi
addq %rbx, %rsi
movq $0x2, %fs:(%rbx)
leaq 0x6bc22(%rip), %rax     # 0xf0bb0
movl (%rax), %edi
callq 0x1f1c0
testl %eax, %eax
je 0x84fb1
leaq 0x1e0f6(%rip), %rdi     # 0xa3096
callq 0x9124c
leaq 0x59bae(%rip), %rax     # 0xdeb5a
cmpb $0x1, (%rax)
je 0x84fe7
xorl %eax, %eax
popq %rbx
retq
movl $0x0, %fs:(%rcx)
cmpq $0x4, %rax
jb 0x84fcc
movq %rax, %rdi
callq 0x90f12
xorl %eax, %eax
testq %rax, %rax
jne 0x84fb1
movq %fs:0x0, %rsi
addq %rbx, %rsi
movq $0x1, %fs:(%rbx)
jmp 0x84f87
callq 0x1f1b0
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/include/jemalloc/internal/jemalloc_internal.h
// Function: ipallocx
JEMALLOC_INLINE void *
ipallocx(size_t usize, size_t alignment, bool zero, bool try_tcache,
    arena_t *arena)
{
	void *ret;

	assert(usize != 0);
	assert(usize == sa2u(usize, alignment));

	if (usize <= arena_maxclass && alignment <= PAGE)
		ret = arena_malloc(arena, usize, zero, try_tcache);
	else {
		if (usize <= arena_maxclass) {
			ret = arena_palloc(choose_arena(arena), usize,
			    alignment, zero);
		} else if (alignment <= chunksize)
			ret = huge_malloc(usize, zero);
		else
			ret = huge_palloc(usize, alignment, zero);
	}

	assert(ALIGNMENT_ADDR2BASE(ret, alignment) == ret);
	return (ret);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x5fc3b(%rip), %rax     # 0xdf930
movq (%rax), %rax
cmpq %rdi, %rax
setb %dl
cmpq $0x1001, %rsi           # imm = 0x1001
setae %sil
orb %dl, %sil
jne 0x7fd24
movzbl %bpl, %edx
movzbl %cl, %ecx
movq %r8, %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp 0x7f908
cmpq %rbx, %rax
jb 0x7fd5a
testq %r8, %r8
jne 0x7fd44
movq %fs:-0x30, %r8
testq %r8, %r8
jne 0x7fd44
callq 0x7c332
movq %rax, %r8
movzbl %bpl, %ecx
movq %r8, %rdi
movq %rbx, %rsi
movq %r14, %rdx
popq %rbx
popq %r14
popq %rbp
jmp 0x80d53
leaq 0x5faff(%rip), %rax     # 0xdf860
cmpq %r14, (%rax)
jae 0x7fd79
movzbl %bpl, %edx
movq %rbx, %rdi
movq %r14, %rsi
popq %rbx
popq %r14
popq %rbp
jmp 0x8b6b5
movzbl %bpl, %esi
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x8b6a4
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/arena.c
// Function: arena_dalloc_junk_small
void
arena_dalloc_junk_small(void *ptr, arena_bin_info_t *bin_info)
{
	size_t size = bin_info->reg_size;
	size_t redzone_size = bin_info->redzone_size;
	size_t i;
	bool error = false;

	for (i = 1; i <= redzone_size; i++) {
		unsigned byte;
		if ((byte = *(uint8_t *)((uintptr_t)ptr - i)) != 0xa5) {
			error = true;
			malloc_printf("<jemalloc>: Corrupt redzone "
			    "%zu byte%s before %p (size %zu), byte=%#x\n", i,
			    (i == 1) ? "" : "s", ptr, size, byte);
		}
	}
	for (i = 0; i < redzone_size; i++) {
		unsigned byte;
		if ((byte = *(uint8_t *)((uintptr_t)ptr + size + i)) != 0xa5) {
			error = true;
			malloc_printf("<jemalloc>: Corrupt redzone "
			    "%zu byte%s after end of %p (size %zu), byte=%#x\n",
			    i, (i == 1) ? "" : "s", ptr, size, byte);
		}
	}
	if (opt_abort && error)
		abort();

	memset((void *)((uintptr_t)ptr - redzone_size), 0x5a,
	    bin_info->reg_interval);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
movq (%rsi), %r15
movq %rsi, (%rsp)
movq 0x8(%rsi), %rbp
testq %rbp, %rbp
je 0x808d0
leaq -0x1(%r14), %rbx
movl $0x1, %r12d
xorl %eax, %eax
leaq 0x22a69(%rip), %r13     # 0xa32f4
movzbl (%rbx), %r9d
cmpl $0xa5, %r9d
je 0x808c3
cmpq $0x1, %r12
leaq 0x1eb70(%rip), %rdx     # 0x9f413
leaq 0x16a37(%rip), %rax     # 0x972e1
cmoveq %rax, %rdx
movq %r13, %rdi
movq %r12, %rsi
movq %r14, %rcx
movq %r15, %r8
xorl %eax, %eax
callq 0x92309
movb $0x1, %al
incq %r12
decq %rbx
cmpq %rbp, %r12
jbe 0x8088b
jmp 0x808d2
xorl %eax, %eax
testq %rbp, %rbp
je 0x80926
leaq (%r15,%r14), %rbx
leaq 0x22a59(%rip), %r12     # 0xa333b
xorl %r13d, %r13d
movzbl (%rbx,%r13), %r9d
cmpl $0xa5, %r9d
je 0x8091e
cmpq $0x1, %r13
leaq 0x1eb15(%rip), %rdx     # 0x9f413
leaq 0x169dc(%rip), %rax     # 0x972e1
cmoveq %rax, %rdx
movq %r12, %rdi
movq %r13, %rsi
movq %r14, %rcx
movq %r15, %r8
xorl %eax, %eax
callq 0x92309
movb $0x1, %al
incq %r13
cmpq %r13, %rbp
jne 0x808e5
leaq 0x5e22d(%rip), %rcx     # 0xdeb5a
cmpb $0x1, (%rcx)
jne 0x80936
testb $0x1, %al
jne 0x8095c
subq %rbp, %r14
movq (%rsp), %rax
movq 0x10(%rax), %rdx
movq %r14, %rdi
movl $0x5a, %esi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1f110
callq 0x1f1b0
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/arena.c
// Function: arena_malloc_large
void *
arena_malloc_large(arena_t *arena, size_t size, bool zero)
{
	void *ret;

	/* Large allocation. */
	size = PAGE_CEILING(size);
	malloc_mutex_lock(&arena->lock);
	ret = (void *)arena_run_alloc(arena, size, true, BININD_INVALID, zero);
	if (ret == NULL) {
		malloc_mutex_unlock(&arena->lock);
		return (NULL);
	}
	if (config_stats) {
		arena->stats.nmalloc_large++;
		arena->stats.nrequests_large++;
		arena->stats.allocated_large += size;
		arena->stats.lstats[(size >> LG_PAGE) - 1].nmalloc++;
		arena->stats.lstats[(size >> LG_PAGE) - 1].nrequests++;
		arena->stats.lstats[(size >> LG_PAGE) - 1].curruns++;
	}
	if (config_prof)
		arena_prof_accum(arena, size);
	malloc_mutex_unlock(&arena->lock);

	if (zero == false) {
		if (config_fill) {
			if (opt_junk)
				memset(ret, 0xa5, size);
			else if (opt_zero)
				memset(ret, 0, size);
		}
	}

	return (ret);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %r13
addq $0xfff, %r15            # imm = 0xFFF
movq %r15, %rbx
andq $-0x1000, %rbx          # imm = 0xF000
leaq 0x8(%rdi), %r12
movq %r12, %rdi
callq 0x1faa0
movl $0xff, %ecx
movq %r13, %rdi
movq %rbx, %rsi
movl $0x1, %edx
movl %ebp, %r8d
callq 0x80cbf
testq %rax, %rax
je 0x80c7b
movq %rax, %r14
incq 0x58(%r13)
incq 0x68(%r13)
addq %rbx, 0x50(%r13)
movq 0x70(%r13), %rax
shrq $0x7, %r15
andq $-0x20, %r15
incq -0x20(%r15,%rax)
incq -0x10(%r15,%rax)
incq -0x8(%r15,%rax)
movq %r12, %rdi
callq 0x1fbb0
testb %bpl, %bpl
jne 0x80c86
leaq 0x5deef(%rip), %rax     # 0xdeb5b
cmpb $0x1, (%rax)
jne 0x80c98
movq %r14, %rdi
movl $0xa5, %esi
jmp 0x80ca9
movq %r12, %rdi
callq 0x1fbb0
xorl %r14d, %r14d
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x5decd(%rip), %rax     # 0xdeb6c
cmpb $0x1, (%rax)
jne 0x80c86
movq %r14, %rdi
xorl %esi, %esi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1f110
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/arena.c
// Function: arena_run_alloc
static arena_run_t *
arena_run_alloc(arena_t *arena, size_t size, bool large, size_t binind,
    bool zero)
{
	arena_chunk_t *chunk;
	arena_run_t *run;

	assert(size <= arena_maxclass);
	assert((size & PAGE_MASK) == 0);
	assert((large && binind == BININD_INVALID) || (large == false && binind
	    != BININD_INVALID));

	/* Search the arena's chunks for the lowest best fit. */
	run = arena_run_alloc_helper(arena, size, large, binind, 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_run_t *)((uintptr_t)chunk + (map_bias << LG_PAGE));
		arena_run_split(arena, run, size, large, binind, zero);
		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_helper(arena, size, large, binind, zero));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r8d, %ebp
movq %rcx, %rbx
movl %edx, %r12d
movq %rsi, %r14
movq %rdi, %r15
callq 0x84c71
movq %rax, %r13
testq %rax, %rax
jne 0x80d1d
movq %r15, %rdi
callq 0x8310e
testq %rax, %rax
je 0x80d2f
leaq 0x5ec2e(%rip), %rcx     # 0xdf928
movq (%rcx), %r13
shlq $0xc, %r13
addq %rax, %r13
movzbl %r12b, %ecx
movzbl %bpl, %r9d
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movq %rbx, %r8
callq 0x83283
movq %r13, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movzbl %r12b, %edx
movzbl %bpl, %r8d
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rcx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x84c71
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/arena.c
// Function: arena_run_trim_tail
static void
arena_run_trim_tail(arena_t *arena, arena_chunk_t *chunk, arena_run_t *run,
    size_t oldsize, size_t newsize, bool dirty)
{
	size_t pageind = ((uintptr_t)run - (uintptr_t)chunk) >> LG_PAGE;
	size_t head_npages = newsize >> LG_PAGE;
	size_t flag_dirty = arena_mapbits_dirty_get(chunk, pageind);

	assert(oldsize > newsize);

	/*
	 * Update the chunk map so that arena_run_dalloc() can treat the
	 * trailing run as separately allocated.  Set the last element of each
	 * run first, in case of single-page runs.
	 */
	assert(arena_mapbits_large_size_get(chunk, pageind) == oldsize);
	arena_mapbits_large_set(chunk, pageind+head_npages-1, 0, flag_dirty);
	arena_mapbits_large_set(chunk, pageind, newsize, flag_dirty);

	if (config_debug) {
		UNUSED size_t tail_npages = (oldsize - newsize) >> LG_PAGE;
		assert(arena_mapbits_large_size_get(chunk,
		    pageind+head_npages+tail_npages-1) == 0);
		assert(arena_mapbits_dirty_get(chunk,
		    pageind+head_npages+tail_npages-1) == flag_dirty);
	}
	arena_mapbits_large_set(chunk, pageind+head_npages, oldsize-newsize,
	    flag_dirty);

	arena_run_dalloc(arena, (arena_run_t *)((uintptr_t)run + newsize),
	    dirty, false);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
leaq (%rdx,%r8), %rax
subq %rsi, %rdx
shrq $0xc, %rdx
movq %r8, %r10
shrq $0xc, %r10
leaq 0x5e9d5(%rip), %r11     # 0xdf928
movq (%r11), %rbx
movq %rdx, %r14
subq %rbx, %r14
leaq (%r14,%r14,2), %r14
movq 0x40(%rsi,%r14,8), %r14
andl $0x8, %r14d
addq %rdx, %r10
notq %rbx
addq %r10, %rbx
leaq (%rbx,%rbx,2), %rbx
movq 0x40(%rsi,%rbx,8), %r15
andl $0x4, %r15d
orq %r14, %r15
movl $0xff3, %r12d           # imm = 0xFF3
orq %r12, %r15
movq %r15, 0x40(%rsi,%rbx,8)
subq (%r11), %rdx
leaq (%rdx,%rdx,2), %rdx
movq 0x40(%rsi,%rdx,8), %rbx
andl $0x4, %ebx
orq %r8, %rbx
orq %r12, %r14
orq %r14, %rbx
movq %rbx, 0x40(%rsi,%rdx,8)
subq %r8, %rcx
subq (%r11), %r10
leaq (%r10,%r10,2), %rdx
movq 0x40(%rsi,%rdx,8), %r8
andl $0x4, %r8d
orq %rcx, %r8
orq %r14, %r8
movq %r8, 0x40(%rsi,%rdx,8)
movq %rax, %rsi
movl %r9d, %edx
xorl %ecx, %ecx
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x81526
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/arena.c
// Function: arena_dalloc_bin
void
arena_dalloc_bin(arena_t *arena, arena_chunk_t *chunk, void *ptr,
    size_t pageind, arena_chunk_map_t *mapelm)
{
	arena_run_t *run;
	arena_bin_t *bin;

	run = (arena_run_t *)((uintptr_t)chunk + (uintptr_t)((pageind -
	    arena_mapbits_small_runind_get(chunk, pageind)) << LG_PAGE));
	bin = run->bin;
	malloc_mutex_lock(&bin->lock);
	arena_dalloc_bin_locked(arena, chunk, ptr, mapelm);
	malloc_mutex_unlock(&bin->lock);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %r8, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
leaq 0x5e4f1(%rip), %rax     # 0xdf928
movq %rcx, %rdx
subq (%rax), %rdx
leaq (%rdx,%rdx,2), %rax
movq 0x40(%rsi,%rax,8), %rax
shrq $0xc, %rax
subq %rax, %rcx
shlq $0xc, %rcx
movq (%rcx,%rsi), %r13
movq %r13, %rdi
callq 0x1faa0
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x8102e
movq %r13, %rdi
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x1fbb0
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/arena.c
// Function: arena_dalloc_large_locked
void
arena_dalloc_large_locked(arena_t *arena, arena_chunk_t *chunk, void *ptr)
{

	if (config_fill || config_stats) {
		size_t pageind = ((uintptr_t)ptr - (uintptr_t)chunk) >> LG_PAGE;
		size_t size = arena_mapbits_large_size_get(chunk, pageind);

		if (config_fill && config_stats && opt_junk)
			memset(ptr, 0x5a, size);
		if (config_stats) {
			arena->stats.ndalloc_large++;
			arena->stats.allocated_large -= size;
			arena->stats.lstats[(size >> LG_PAGE) - 1].ndalloc++;
			arena->stats.lstats[(size >> LG_PAGE) - 1].curruns--;
		}
	}

	arena_run_dalloc(arena, (arena_run_t *)ptr, true, false);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdx, %rax
subq %rsi, %rax
shrq $0xc, %rax
leaq 0x5e46f(%rip), %rcx     # 0xdf928
subq (%rcx), %rax
movq %rdi, %r14
leaq (%rax,%rax,2), %rax
movq 0x40(%rsi,%rax,8), %r12
movq %r12, %r15
andq $-0x1000, %r15          # imm = 0xF000
leaq 0x5d682(%rip), %rax     # 0xdeb5b
cmpb $0x1, (%rax)
jne 0x814ee
movq %rbx, %rdi
movl $0x5a, %esi
movq %r15, %rdx
callq 0x1f110
incq 0x60(%r14)
subq %r15, 0x50(%r14)
movq 0x70(%r14), %rax
shrq $0x7, %r12
andq $-0x20, %r12
incq -0x18(%r12,%rax)
decq -0x8(%r12,%rax)
movq %r14, %rdi
movq %rbx, %rsi
movl $0x1, %edx
xorl %ecx, %ecx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x81526
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/arena.c
// Function: arena_new
bool
arena_new(arena_t *arena, unsigned ind)
{
	unsigned i;
	arena_bin_t *bin;

	arena->ind = ind;
	arena->nthreads = 0;

	if (malloc_mutex_init(&arena->lock))
		return (true);

	if (config_stats) {
		memset(&arena->stats, 0, sizeof(arena_stats_t));
		arena->stats.lstats =
		    (malloc_large_stats_t *)base_alloc(nlclasses *
		    sizeof(malloc_large_stats_t));
		if (arena->stats.lstats == NULL)
			return (true);
		memset(arena->stats.lstats, 0, nlclasses *
		    sizeof(malloc_large_stats_t));
		if (config_tcache)
			ql_new(&arena->tcache_ql);
	}

	if (config_prof)
		arena->prof_accumbytes = 0;

	arena->dss_prec = chunk_dss_prec_get();

	/* Initialize chunks. */
	arena_chunk_dirty_new(&arena->chunks_dirty);
	arena->spare = NULL;

	arena->nactive = 0;
	arena->ndirty = 0;
	arena->npurgatory = 0;

	arena_avail_tree_new(&arena->runs_avail);

	/* Initialize bins. */
	for (i = 0; i < NBINS; i++) {
		bin = &arena->bins[i];
		if (malloc_mutex_init(&bin->lock))
			return (true);
		bin->runcur = NULL;
		arena_run_tree_new(&bin->runs);
		if (config_stats)
			memset(&bin->stats, 0, sizeof(malloc_bin_stats_t));
	}

	return (false);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl %esi, (%rdi)
movl $0x0, 0x4(%rdi)
addq $0x8, %rdi
callq 0x8bd44
movb $0x1, %bpl
testb %al, %al
jne 0x82ab9
xorps %xmm0, %xmm0
movups %xmm0, 0x60(%rbx)
movups %xmm0, 0x50(%rbx)
movups %xmm0, 0x40(%rbx)
movups %xmm0, 0x30(%rbx)
movq $0x0, 0x70(%rbx)
leaq 0x5cede(%rip), %r14     # 0xdf888
movq (%r14), %rdi
leaq 0x5cf74(%rip), %r15     # 0xdf928
subq (%r15), %rdi
shlq $0x5, %rdi
callq 0x85158
movq %rax, 0x70(%rbx)
testq %rax, %rax
je 0x82ab9
movq (%r14), %rdx
subq (%r15), %rdx
shlq $0x5, %rdx
xorl %r15d, %r15d
movq %rax, %rdi
xorl %esi, %esi
callq 0x1f110
movq $0x0, 0x78(%rbx)
callq 0x85930
movl %eax, 0x88(%rbx)
leaq 0x98(%rbx), %rax
movq %rax, 0x90(%rbx)
movq %rax, 0xa0(%rbx)
andq $-0x2, %rax
movq %rax, 0xa8(%rbx)
leaq 0x108(%rbx), %rax
xorps %xmm0, %xmm0
movups %xmm0, 0xe0(%rbx)
movups %xmm0, 0xf0(%rbx)
movq %rax, 0x100(%rbx)
movq %rax, 0x108(%rbx)
andq $-0x2, %rax
movq %rax, 0x110(%rbx)
leaq 0x120(%rbx), %r14
addq $0x158, %rbx            # imm = 0x158
movl $0x98, %r12d
xorl %r13d, %r13d
movq %r14, %rdi
callq 0x8bd44
movl %eax, %ebp
testb %al, %al
jne 0x82ab9
movq %r15, 0x28(%r14)
leaq 0x38(%r14), %rax
movq %rax, 0x30(%r14)
movq %rax, 0x38(%r14)
leaq (%rbx,%r13), %rax
andq $-0x2, %rax
movq %rax, 0x40(%r14)
xorps %xmm0, %xmm0
movups %xmm0, 0x50(%r14)
movups %xmm0, 0x60(%r14)
movups %xmm0, 0x70(%r14)
movups %xmm0, 0x80(%r14)
movq %r15, 0x90(%r14)
addq %r12, %r14
addq %r12, %r13
cmpq $0x10a0, %r13           # imm = 0x10A0
jne 0x82a5f
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/arena.c
// Function: arena_run_alloc_helper
static arena_run_t *
arena_run_alloc_helper(arena_t *arena, size_t size, bool large, size_t binind,
    bool zero)
{
	arena_run_t *run;
	arena_chunk_map_t *mapelm, key;

	key.bits = size | CHUNK_MAP_KEY;
	mapelm = arena_avail_tree_nsearch(&arena->runs_avail, &key);
	if (mapelm != NULL) {
		arena_chunk_t *run_chunk = CHUNK_ADDR2BASE(mapelm);
		size_t pageind = (((uintptr_t)mapelm -
		    (uintptr_t)run_chunk->map) / sizeof(arena_chunk_map_t))
		    + map_bias;

		run = (arena_run_t *)((uintptr_t)run_chunk + (pageind <<
		    LG_PAGE));
		arena_run_split(arena, run, size, large, binind, zero);
		return (run);
	}

	return (NULL);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rcx, %r14
movl %edx, %r10d
movq %rsi, %r11
movq 0x100(%rdi), %r9
leaq 0x108(%rdi), %rcx
movq %rsi, %rdx
andq $-0x1000, %rdx          # imm = 0xF000
movq $-0x1000, %rsi          # imm = 0xF000
movq %rcx, %rax
cmpq %rcx, %r9
je 0x84cf8
movq 0x10(%r9), %rbx
andq %rsi, %rbx
xorl %ebp, %ebp
cmpq %rbx, %rdx
seta %bpl
sbbl $0x0, %ebp
movq %r9, %rbx
negq %rbx
movl $0x0, %ebx
sbbl %ebx, %ebx
testl %ebp, %ebp
cmovnel %ebp, %ebx
testl %ebx, %ebx
js 0x84ce0
je 0x84ce8
movq 0x8(%r9), %rbx
andq $-0x2, %rbx
movb $0x1, %bpl
movq %rax, %r9
jmp 0x84ced
movq (%r9), %rbx
movb $0x1, %bpl
jmp 0x84ced
xorl %ebp, %ebp
movq %r9, %rbx
movq %r9, %rax
movq %rbx, %r9
testb %bpl, %bpl
jne 0x84ca0
cmpq %rcx, %rax
sete %cl
testq %rax, %rax
sete %dl
orb %cl, %dl
je 0x84d0c
xorl %ebx, %ebx
jmp 0x84d5e
leaq 0x5ab6d(%rip), %rcx     # 0xdf880
movq (%rcx), %rcx
notq %rcx
andq %rax, %rcx
subq %rcx, %rax
addq $-0x30, %rax
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
mulq %rdx
movq %rdx, %rbx
shrq $0x4, %rbx
leaq 0x5abea(%rip), %rax     # 0xdf928
addq (%rax), %rbx
shlq $0xc, %rbx
addq %rcx, %rbx
movzbl %r10b, %ecx
movzbl %r8b, %r9d
movq %rbx, %rsi
movq %r11, %rdx
movq %r14, %r8
callq 0x83283
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/arena.c
// Function: arena_bin_runs_insert
static void
arena_bin_runs_insert(arena_bin_t *bin, arena_run_t *run)
{
	arena_chunk_t *chunk = CHUNK_ADDR2BASE(run);
	size_t pageind = ((uintptr_t)run - (uintptr_t)chunk) >> LG_PAGE;
	arena_chunk_map_t *mapelm = arena_mapp_get(chunk, pageind);

	assert(arena_run_tree_search(&bin->runs, mapelm) == NULL);

	arena_run_tree_insert(&bin->runs, mapelm);
}

// Assembly:
subq $0x788, %rsp            # imm = 0x788
leaq 0x5ab0c(%rip), %rax     # 0xdf880
movq (%rax), %rax
notq %rax
andq %rsi, %rax
subq %rax, %rsi
shrq $0xc, %rsi
leaq 0x5ab9d(%rip), %rcx     # 0xdf928
subq (%rcx), %rsi
leaq (%rsi,%rsi,2), %rcx
leaq (%rax,%rcx,8), %rcx
addq $0x30, %rcx
leaq 0x38(%rdi), %rdx
movq %rdx, (%rcx)
movq %rdx, %rax
orq $0x1, %rax
movq %rax, 0x8(%rcx)
movq 0x30(%rdi), %r8
leaq -0x80(%rsp), %rsi
movq %r8, (%rsi)
movq %rsi, %rax
cmpq %rdx, %r8
je 0x84df9
leaq -0x80(%rsp), %rax
xorl %r9d, %r9d
xorl %r10d, %r10d
cmpq %rcx, %r8
setb %r9b
seta %r10b
subl %r10d, %r9d
movl %r9d, 0x8(%rax)
js 0x84de9
movq 0x8(%r8), %r8
andq $-0x2, %r8
jmp 0x84dec
movq (%r8), %r8
movq %r8, 0x10(%rax)
addq $0x10, %rax
cmpq %rdx, %r8
jne 0x84dc5
movq %rcx, (%rax)
addq $-0x10, %rax
cmpq %rsi, %rax
jb 0x84ee8
leaq -0x80(%rsp), %rcx
movq (%rax), %rdx
movq 0x10(%rax), %rsi
cmpl $0x0, 0x8(%rax)
js 0x84e6e
movq 0x8(%rdx), %r9
andl $0x1, %r9d
orq %rsi, %r9
movq %r9, 0x8(%rdx)
movq 0x8(%rsi), %r8
testb $0x1, %r8b
je 0x84ed2
movq (%rdx), %r10
movq 0x8(%r10), %r11
testb $0x1, %r11b
jne 0x84eb2
andl $0x1, %r9d
movq %rsi, %r10
andq $-0x2, %r10
movq (%r10), %rsi
orq %r9, %rsi
movq %rsi, 0x8(%rdx)
movq %rdx, (%r10)
leaq 0x8(%r10), %rsi
movq 0x8(%r10), %r11
andq $-0x2, %r11
orq %r9, %r11
jmp 0x84ec8
movq %rsi, (%rdx)
movq 0x8(%rsi), %r8
testb $0x1, %r8b
je 0x84ed2
movq (%rsi), %rsi
movq 0x8(%rsi), %r9
testb $0x1, %r9b
je 0x84ed2
andq $-0x2, %r9
movq %r9, 0x8(%rsi)
movq (%rdx), %rsi
movq 0x8(%rsi), %r9
andq $-0x2, %r9
movq %r9, (%rdx)
movq 0x8(%rsi), %r9
andl $0x1, %r9d
orq %rdx, %r9
movq %r9, 0x8(%rsi)
movq %rsi, %rdx
jmp 0x84ed2
addq $0x8, %rsi
andq $-0x2, %r11
movq %r11, 0x8(%r10)
movq (%rsi), %r11
andq $-0x2, %r11
movq %rdx, %r10
movq %r11, (%rsi)
orb $0x1, 0x8(%rdx)
movq %r10, %rdx
testb $0x1, %r8b
je 0x84ef5
movq %rdx, (%rax)
addq $-0x10, %rax
cmpq %rcx, %rax
jae 0x84e0e
movq -0x80(%rsp), %rax
movq %rax, 0x30(%rdi)
andb $-0x2, 0x8(%rax)
addq $0x788, %rsp            # imm = 0x788
retq
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/base.c
// Function: base_alloc
void *
base_alloc(size_t size)
{
	void *ret;
	size_t csize;

	/* Round size up to nearest multiple of the cacheline size. */
	csize = CACHELINE_CEILING(size);

	malloc_mutex_lock(&base_mtx);
	/* Make sure there's enough space for the allocation. */
	if ((uintptr_t)base_next_addr + csize > (uintptr_t)base_past_addr) {
		if (base_pages_alloc(csize)) {
			malloc_mutex_unlock(&base_mtx);
			return (NULL);
		}
	}
	/* Allocate. */
	ret = base_next_addr;
	base_next_addr = (void *)((uintptr_t)base_next_addr + csize);
	malloc_mutex_unlock(&base_mtx);

	return (ret);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
addq $0x3f, %rbx
andq $-0x40, %rbx
leaq 0x5a5ee(%rip), %rdi     # 0xdf760
callq 0x1faa0
movq 0x5a60a(%rip), %rax     # 0xdf788
addq %rbx, %rax
cmpq 0x5a608(%rip), %rax     # 0xdf790
jbe 0x851e9
leaq 0x5a6ef(%rip), %rax     # 0xdf880
movq (%rax), %r14
leaq (%r14,%rbx), %rax
notq %r14
andq %rax, %r14
leaq 0x7(%rsp), %r15
movb $0x0, (%r15)
leaq 0x5a6b2(%rip), %rax     # 0xdf860
movq (%rax), %r12
callq 0x85930
movq %r14, %rdi
movq %r12, %rsi
movl $0x1, %edx
movq %r15, %rcx
movl %eax, %r8d
callq 0x85410
movq %rax, 0x5a5cd(%rip)     # 0xdf7a0
testq %rax, %rax
je 0x85215
movq %rax, 0x5a5a9(%rip)     # 0xdf788
addq %rax, %r14
movq %r14, 0x5a5a7(%rip)     # 0xdf790
movq 0x5a598(%rip), %r14     # 0xdf788
addq %r14, %rbx
movq %rbx, 0x5a58e(%rip)     # 0xdf788
leaq 0x5a55f(%rip), %rdi     # 0xdf760
callq 0x1fbb0
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
xorl %r14d, %r14d
jmp 0x851fa
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/base.c
// Function: base_calloc
void *
base_calloc(size_t number, size_t size)
{
	void *ret = base_alloc(number * size);

	if (ret != NULL)
		memset(ret, 0, number * size);

	return (ret);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
imulq %rsi, %rbx
movq %rbx, %rdi
callq 0x85158
testq %rax, %rax
je 0x8523d
movq %rax, %rdi
xorl %esi, %esi
movq %rbx, %rdx
popq %rbx
jmp 0x1f110
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/base.c
// Function: base_node_alloc
extent_node_t *
base_node_alloc(void)
{
	extent_node_t *ret;

	malloc_mutex_lock(&base_mtx);
	if (base_nodes != NULL) {
		ret = base_nodes;
		base_nodes = *(extent_node_t **)ret;
		malloc_mutex_unlock(&base_mtx);
	} else {
		malloc_mutex_unlock(&base_mtx);
		ret = (extent_node_t *)base_alloc(sizeof(extent_node_t));
	}

	return (ret);
}

// Assembly:
pushq %rbx
leaq 0x5a519(%rip), %rdi     # 0xdf760
callq 0x1faa0
movq 0x5a545(%rip), %rbx     # 0xdf798
testq %rbx, %rbx
je 0x85273
movq (%rbx), %rax
movq %rax, 0x5a536(%rip)     # 0xdf798
leaq 0x5a4f7(%rip), %rdi     # 0xdf760
callq 0x1fbb0
movq %rbx, %rax
popq %rbx
retq
leaq 0x5a4e6(%rip), %rdi     # 0xdf760
callq 0x1fbb0
movl $0x40, %edi
popq %rbx
jmp 0x85158
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/base.c
// Function: base_node_dealloc
void
base_node_dealloc(extent_node_t *node)
{

	malloc_mutex_lock(&base_mtx);
	*(extent_node_t **)node = base_nodes;
	base_nodes = node;
	malloc_mutex_unlock(&base_mtx);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x5a4c8(%rip), %r14     # 0xdf760
movq %r14, %rdi
callq 0x1faa0
movq 0x5a4f1(%rip), %rax     # 0xdf798
movq %rax, (%rbx)
movq %rbx, 0x5a4e7(%rip)     # 0xdf798
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x1fbb0
// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/jemalloc/src/bitmap.c
// Function: bitmap_info_init
void
bitmap_info_init(bitmap_info_t *binfo, size_t nbits)
{
	unsigned i;
	size_t group_count;

	assert(nbits > 0);
	assert(nbits <= (ZU(1) << LG_BITMAP_MAXBITS));

	/*
	 * Compute the number of groups necessary to store nbits bits, and
	 * progressively work upward through the levels until reaching a level
	 * that requires only one group.
	 */
	binfo->levels[0].group_offset = 0;
	group_count = bits2groups(nbits);
	for (i = 1; group_count > 1; i++) {
		assert(i < BITMAP_MAX_LEVELS);
		binfo->levels[i].group_offset = binfo->levels[i-1].group_offset
		    + group_count;
		group_count = bits2groups(group_count);
	}
	binfo->levels[i].group_offset = binfo->levels[i-1].group_offset
	    + group_count;
	binfo->nlevels = i;
	binfo->nbits = nbits;
}

// Assembly:
movq $0x0, 0x10(%rdi)
movq %rsi, %rdx
shrq $0x6, %rdx
movl %esi, %eax
andl $0x3f, %eax
cmpq $0x1, %rax
sbbq $-0x1, %rdx
movl $0x1, %eax
cmpq $0x2, %rdx
jb 0x8535b
movl $0x1, %eax
movq %rdx, %rcx
leal -0x1(%rax), %r8d
movq 0x10(%rdi,%r8,8), %r8
addq %rdx, %r8
movl %eax, %r9d
shrq $0x6, %rcx
andl $0x3f, %edx
cmpq $0x1, %rdx
sbbq $-0x1, %rcx
movq %r8, 0x10(%rdi,%r9,8)
incl %eax
movq %rcx, %rdx
cmpq $0x1, %rcx
ja 0x8532b
jmp 0x8535e
movq %rdx, %rcx
leal -0x1(%rax), %edx
addq 0x10(%rdi,%rdx,8), %rcx
movl %eax, %edx
movq %rcx, 0x10(%rdi,%rdx,8)
movl %eax, 0x8(%rdi)
movq %rsi, (%rdi)
retq