// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0x1e0, %rsp            # imm = 0x1E0
movq %rdi, -0x188(%rbp)
movq %rsi, -0x190(%rbp)
movq %rdx, -0x198(%rbp)
movl %ecx, -0x19c(%rbp)
jmp 0x4bc48
movq -0x190(%rbp), %rax
leaq 0x56ada(%rip), %rcx     # 0xa2730
movq (%rcx), %rcx
xorq $-0x1, %rcx
andq %rcx, %rax
movq %rax, -0x1a8(%rbp)
movq -0x190(%rbp), %rax
movq %rax, -0x170(%rbp)
movq -0x170(%rbp), %rax
subq $0x10, %rax
movq %rax, -0x178(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x1b0(%rbp)
movq -0x1b0(%rbp), %rax
movq %rax, -0x158(%rbp)
movq -0x158(%rbp), %rax
leaq 0x56a7f(%rip), %rcx     # 0xa2730
movq (%rcx), %rcx
xorq $-0x1, %rcx
andq %rcx, %rax
movq %rax, -0x160(%rbp)
movq -0x158(%rbp), %rax
movq -0x160(%rbp), %rcx
addq 0x56909(%rip), %rcx     # 0xa25e0
subq %rcx, %rax
movl $0x60, %ecx
xorl %edx, %edx
divq %rcx
addq 0x568ed(%rip), %rax     # 0xa25d8
movq %rax, -0x168(%rbp)
movq -0x168(%rbp), %rax
movq %rax, -0x1c8(%rbp)
movq -0x1a8(%rbp), %rcx
movq -0x1c8(%rbp), %rax
movq %rcx, -0x140(%rbp)
movq %rax, -0x148(%rbp)
movq -0x140(%rbp), %rcx
movq -0x148(%rbp), %rax
movq %rcx, -0x130(%rbp)
movq %rax, -0x138(%rbp)
movq -0x130(%rbp), %rcx
movq -0x138(%rbp), %rax
movq %rcx, -0x118(%rbp)
movq %rax, -0x120(%rbp)
movq -0x118(%rbp), %rcx
movq -0x120(%rbp), %rax
movq %rcx, -0x108(%rbp)
movq %rax, -0x110(%rbp)
movq -0x108(%rbp), %rax
addq $0x68, %rax
movq -0x110(%rbp), %rcx
subq 0x5684f(%rip), %rcx     # 0xa25d8
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, -0x128(%rbp)
movq -0x128(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x150(%rbp)
movq -0x150(%rbp), %rax
andq $0x10, %rax
movq %rax, -0x1b8(%rbp)
movq -0x1a8(%rbp), %rcx
movq -0x1c8(%rbp), %rax
movq %rcx, -0xf0(%rbp)
movq %rax, -0xf8(%rbp)
movq -0xf0(%rbp), %rcx
movq -0xf8(%rbp), %rax
movq %rcx, -0xe0(%rbp)
movq %rax, -0xe8(%rbp)
movq -0xe0(%rbp), %rcx
movq -0xe8(%rbp), %rax
movq %rcx, -0xc8(%rbp)
movq %rax, -0xd0(%rbp)
movq -0xc8(%rbp), %rcx
movq -0xd0(%rbp), %rax
movq %rcx, -0xb8(%rbp)
movq %rax, -0xc0(%rbp)
movq -0xb8(%rbp), %rax
addq $0x68, %rax
movq -0xc0(%rbp), %rcx
subq 0x56795(%rip), %rcx     # 0xa25d8
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, -0xd8(%rbp)
movq -0xd8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x100(%rbp)
movq -0x100(%rbp), %rax
andq $0x4, %rax
movq %rax, -0x1c0(%rbp)
movq -0x198(%rbp), %rax
shrq $0xc, %rax
movq %rax, -0x1d0(%rbp)
jmp 0x4be88
cmpq $0x0, -0x1c0(%rbp)
je 0x4bee1
movq -0x188(%rbp), %rax
movq 0x428(%rax), %rax
movq -0x1a8(%rbp), %rdi
leaq 0x5687a(%rip), %rcx     # 0xa2728
movq (%rcx), %rsi
movq -0x1c8(%rbp), %rdx
shlq $0xc, %rdx
movq -0x198(%rbp), %rcx
movq -0x188(%rbp), %r8
movl (%r8), %r8d
callq *%rax
testb $0x1, %al
jne 0x4bed5
jmp 0x4bee1
movb $0x1, -0x179(%rbp)
jmp 0x4c0e5
movq -0x188(%rbp), %rdi
movq -0x1a8(%rbp), %rsi
movq -0x1c8(%rbp), %rdx
movq -0x1b8(%rbp), %rcx
movq -0x1c0(%rbp), %r8
movq -0x1d0(%rbp), %r9
callq 0x476c0
movq $0x0, -0x1d8(%rbp)
movq -0x1d8(%rbp), %rax
cmpq -0x1d0(%rbp), %rax
jae 0x4c09b
movq -0x1a8(%rbp), %rcx
movq -0x1c8(%rbp), %rax
addq -0x1d8(%rbp), %rax
movq %rcx, -0xa0(%rbp)
movq %rax, -0xa8(%rbp)
movq -0xa0(%rbp), %rcx
movq -0xa8(%rbp), %rax
movq %rcx, -0x90(%rbp)
movq %rax, -0x98(%rbp)
movq -0x90(%rbp), %rcx
movq -0x98(%rbp), %rax
movq %rcx, -0x78(%rbp)
movq %rax, -0x80(%rbp)
movq -0x78(%rbp), %rcx
movq -0x80(%rbp), %rax
movq %rcx, -0x68(%rbp)
movq %rax, -0x70(%rbp)
movq -0x68(%rbp), %rax
addq $0x68, %rax
movq -0x70(%rbp), %rcx
subq 0x56631(%rip), %rcx     # 0xa25d8
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rax
movq (%rax), %rax
movq %rax, -0xb0(%rbp)
movq -0xb0(%rbp), %rax
andq $0x8, %rax
movq %rax, -0x1e0(%rbp)
movq -0x1a8(%rbp), %rdi
movq -0x1c8(%rbp), %rsi
addq -0x1d8(%rbp), %rsi
movq -0x1d8(%rbp), %rdx
movl -0x19c(%rbp), %ecx
movq -0x1e0(%rbp), %rax
movq %rdi, -0x38(%rbp)
movq %rsi, -0x40(%rbp)
movq %rdx, -0x48(%rbp)
movl %ecx, -0x4c(%rbp)
movq %rax, -0x58(%rbp)
movq -0x38(%rbp), %rcx
movq -0x40(%rbp), %rax
movq %rcx, -0x28(%rbp)
movq %rax, -0x30(%rbp)
movq -0x28(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, -0x18(%rbp)
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rax
addq $0x68, %rax
movq -0x20(%rbp), %rcx
subq 0x56591(%rip), %rcx     # 0xa25d8
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rcx
movq -0x48(%rbp), %rax
shlq $0xd, %rax
movl -0x4c(%rbp), %edx
shll $0x5, %edx
movl %edx, %edx
orq %rdx, %rax
orq -0x58(%rbp), %rax
orq $0x1, %rax
movq %rcx, -0x8(%rbp)
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, (%rax)
movq -0x1d8(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x1d8(%rbp)
jmp 0x4bf1b
jmp 0x4c09d
leaq 0x55660(%rip), %rax     # 0xa1704
movb (%rax), %al
xorb $-0x1, %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x4c0dc
movq -0x1a8(%rbp), %rdi
movq -0x1c8(%rbp), %rax
shlq $0xc, %rax
addq %rax, %rdi
movq -0x1d0(%rbp), %rsi
shlq $0xc, %rsi
callq 0x7faa0
jmp 0x4c0de
movb $0x0, -0x179(%rbp)
movb -0x179(%rbp), %al
andb $0x1, %al
addq $0x1e0, %rsp            # imm = 0x1E0
popq %rbp
retq
nopw %cs:(%rax,%rax)