// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/jemalloc/src/jemalloc.c
// Function: ifree
JEMALLOC_INLINE_C void
ifree(tsd_t *tsd, void *ptr, tcache_t *tcache)
{
	size_t usize;
	UNUSED size_t rzsize JEMALLOC_CC_SILENCE_INIT(0);

	assert(ptr != NULL);
	assert(malloc_initialized() || IS_INITIALIZER);

	if (config_prof && opt_prof) {
		usize = isalloc(ptr, config_prof);
		prof_free(tsd, ptr, usize);
	} else if (config_stats || config_valgrind)
		usize = isalloc(ptr, config_prof);
	if (config_stats)
		*tsd_thread_deallocatedp_get(tsd) += usize;
	if (config_valgrind && unlikely(in_valgrind))
		rzsize = p2rz(ptr);
	iqalloc(tsd, ptr, tcache);
	JEMALLOC_VALGRIND_FREE(ptr, rzsize);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
leaq 0x392bd(%rip), %r13     # 0x576b0
movq (%r13), %rax
notq %rax
andq %rsi, %rax
cmpq %rsi, %rax
je 0x1e51b
movq %rbx, %rcx
subq %rax, %rcx
shrq $0xc, %rcx
leaq 0x39141(%rip), %rdx     # 0x57558
subq (%rdx), %rcx
movq 0x68(%rax,%rcx,8), %rax
movl %eax, %ecx
shrl $0x5, %ecx
movl $0xff, %edx
andl %edx, %ecx
cmpl %edx, %ecx
je 0x1e55e
movl %ecx, %eax
leaq 0x23f44(%rip), %rcx     # 0x42380
movq (%rcx,%rax,8), %rax
addq %rax, 0x18(%r15)
cmpb $0x1, 0x38239(%rip)     # 0x56684
je 0x1e528
xorl %r12d, %r12d
cmpq $0x0, 0x381cc(%rip)     # 0x56628
jne 0x1e538
movq (%r13), %rsi
notq %rsi
andq %rbx, %rsi
cmpq %rbx, %rsi
je 0x1e572
movq %rbx, %rcx
subq %rsi, %rcx
shrq $0xc, %rcx
leaq 0x390d2(%rip), %rax     # 0x57558
movq %rcx, %rdx
subq (%rax), %rdx
movq 0x68(%rsi,%rdx,8), %rax
testb $0x2, %al
jne 0x1e582
testq %r14, %r14
je 0x1e5b3
shrl $0x5, %eax
movzbl %al, %r13d
cmpb $0x1, 0x38172(%rip)     # 0x56622
je 0x1e5d3
movl %r13d, %eax
shll $0x5, %eax
leaq (%r14,%rax), %rbp
addq $0x20, %rbp
leaq 0x398e5(%rip), %rax     # 0x57db0
movq (%rax), %rax
movl 0x10(%rbp), %r8d
cmpl (%rax,%r13,4), %r8d
je 0x1e5eb
movq 0x18(%rbp), %rax
movl %r8d, %ecx
movq %rbx, (%rax,%rcx,8)
incl %r8d
movl %r8d, 0x10(%rbp)
movl 0x18(%r14), %eax
incl %eax
movl %eax, 0x18(%r14)
cmpl $0xd3, %eax
je 0x1e5c3
cmpb $0x1, 0x3817a(%rip)     # 0x56684
je 0x1e545
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdi
callq 0x311c1
jmp 0x1e440
movq %rbx, %rdi
callq 0x1ce55
movq %rax, %r12
jmp 0x1e454
movq %r15, %rdi
movq %rbx, %rsi
callq 0x3366e
jmp 0x1e503
movq %rbx, %rdi
movq %r12, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x38fee
shrq %rax
andq $-0x1000, %rax          # imm = 0xF000
addq $-0x1000, %rax          # imm = 0xF000
jmp 0x1e440
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x30dbc
jmp 0x1e503
testq %r14, %r14
je 0x1e5a3
shrq %rax
andq $-0x1000, %rax          # imm = 0xF000
leaq -0x1000(%rax), %r13
leaq 0x39842(%rip), %rcx     # 0x57de0
cmpq (%rcx), %r13
jbe 0x1e608
movq (%rsi), %rdi
movq %rbx, %rdx
callq 0x24608
jmp 0x1e503
movq (%rsi), %rdi
movq %rbx, %rdx
callq 0x244f0
jmp 0x1e503
movq %r15, %rdi
movq %r14, %rsi
callq 0x36f85
jmp 0x1e503
imulq $0x60, %r13, %rsi
addq 0x359fa(%rip), %rsi     # 0x53fd8
movq %rbx, %rdi
callq 0x233ee
jmp 0x1e4b6
shrl %r8d
movq %r15, %rdi
movq %r14, %rsi
movq %rbp, %rdx
movl %r13d, %ecx
callq 0x37034
movl 0x10(%rbp), %r8d
jmp 0x1e4dc
cmpq $0x1000, %r13           # imm = 0x1000
ja 0x1e668
addq $-0x1001, %rax          # imm = 0xEFFF
shrq $0x3, %rax
leaq 0x244de(%rip), %rcx     # 0x42b00
movzbl (%rax,%rcx), %ebp
cmpb $0x1, 0x37ff5(%rip)     # 0x56622
je 0x1e674
movl %ebp, %eax
movq %rax, %rcx
shlq $0x5, %rcx
leaq (%r14,%rcx), %r13
addq $0x20, %r13
leaq 0x39769(%rip), %rcx     # 0x57db0
movq (%rcx), %rdx
movl 0x10(%r13), %ecx
cmpl (%rdx,%rax,4), %ecx
je 0x1e681
movq 0x18(%r13), %rax
movl %ecx, %edx
movq %rbx, (%rax,%rdx,8)
incl %ecx
movl %ecx, 0x10(%r13)
jmp 0x1e4ee
movq %r13, %rdi
callq 0x21e78
movl %eax, %ebp
jmp 0x1e626
movq %rbx, %rdi
movq %r13, %rsi
callq 0x244f5
jmp 0x1e62f
shrl %ecx
movq %r15, %rdi
movq %r13, %rsi
movl %ebp, %edx
movq %r14, %r8
callq 0x371b7
movl 0x10(%r13), %ecx
jmp 0x1e653