// File: /workspace/github_c_makefile_star2_O0/gplessis[P]dotdeb-redis/deps/jemalloc/src/jemalloc.c
// Function: je_dallocx
JEMALLOC_NOTHROW
je_dallocx(void *ptr, int flags)
{
	tsd_t *tsd;
	tcache_t *tcache;

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

	tsd = tsd_fetch();
	if (unlikely((flags & MALLOCX_TCACHE_MASK) != 0)) {
		if ((flags & MALLOCX_TCACHE_MASK) == MALLOCX_TCACHE_NONE)
			tcache = NULL;
		else
			tcache = tcaches_get(tsd, MALLOCX_TCACHE_GET(flags));
	} else
		tcache = tcache_get(tsd, false);

	UTRACE(ptr, 0, 0);
	ifree(tsd_fetch(), ptr, tcache);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x90(%rbp)
movl %esi, -0x94(%rbp)
jmp 0x3772a
jmp 0x3772c
jmp 0x3772e
movq 0x678b3(%rip), %rcx     # 0x9efe8
movq %fs:0x0, %rax
addq %rcx, %rax
movq %rax, -0x80(%rbp)
movq -0x80(%rbp), %rax
cmpl $0x1, (%rax)
setne %al
testb $0x1, %al
jne 0x37758
jmp 0x37861
movq -0x80(%rbp), %rax
cmpl $0x0, (%rax)
jne 0x377db
movq -0x80(%rbp), %rax
movl $0x1, (%rax)
movq -0x80(%rbp), %rax
movq %rax, -0x40(%rbp)
movq 0x6786e(%rip), %rax     # 0x9efe8
movq %fs:0x0, %rdi
addq %rax, %rdi
movq -0x40(%rbp), %rsi
movl $0x50, %edx
callq 0x103b0
leaq 0x6b779(%rip), %rax     # 0xa2f14
movl (%rax), %edi
movq 0x67844(%rip), %rax     # 0x9efe8
movq %fs:0x0, %rsi
addq %rax, %rsi
callq 0x106d0
cmpl $0x0, %eax
je 0x377d6
leaq 0x57878(%rip), %rdi     # 0x8f039
callq 0x7c0e0
testb $0x1, 0x69ed3(%rip)     # 0xa16a0
je 0x377d4
callq 0x10070
jmp 0x377d6
jmp 0x3785f
movq -0x80(%rbp), %rax
cmpl $0x2, (%rax)
jne 0x3785b
movq -0x80(%rbp), %rax
movl $0x3, (%rax)
movq -0x80(%rbp), %rax
movq %rax, -0x38(%rbp)
movq 0x677eb(%rip), %rax     # 0x9efe8
movq %fs:0x0, %rdi
addq %rax, %rdi
movq -0x38(%rbp), %rsi
movl $0x50, %edx
callq 0x103b0
leaq 0x6b6f6(%rip), %rax     # 0xa2f14
movl (%rax), %edi
movq 0x677c1(%rip), %rax     # 0x9efe8
movq %fs:0x0, %rsi
addq %rax, %rsi
callq 0x106d0
cmpl $0x0, %eax
je 0x37859
leaq 0x577f5(%rip), %rdi     # 0x8f039
callq 0x7c0e0
testb $0x1, 0x69e50(%rip)     # 0xa16a0
je 0x37857
callq 0x10070
jmp 0x37859
jmp 0x3785d
jmp 0x3785d
jmp 0x3785f
jmp 0x37861
movq -0x80(%rbp), %rax
movq %rax, -0xa0(%rbp)
movl -0x94(%rbp), %eax
andl $0xfff00, %eax          # imm = 0xFFF00
cmpl $0x0, %eax
setne %al
xorb $-0x1, %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x37940
movl -0x94(%rbp), %eax
andl $0xfff00, %eax          # imm = 0xFFF00
cmpl $0x100, %eax            # imm = 0x100
jne 0x378b4
movq $0x0, -0xa8(%rbp)
jmp 0x3793b
movq -0xa0(%rbp), %rcx
movl -0x94(%rbp), %eax
andl $0xfff00, %eax          # imm = 0xFFF00
sarl $0x8, %eax
subl $0x2, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq 0x6b5e6(%rip), %rax     # 0xa2ec0
movq (%rax), %rax
movl -0x4c(%rbp), %ecx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, -0x58(%rbp)
movq -0x58(%rbp), %rax
cmpq $0x0, (%rax)
sete %al
testb $0x1, %al
jne 0x378fc
jmp 0x3792d
movq -0x48(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x48(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x3b9e0
movq -0xb0(%rbp), %rdi
movq %rax, %rsi
callq 0x7a290
movq %rax, %rcx
movq -0x58(%rbp), %rax
movq %rcx, (%rax)
movq -0x58(%rbp), %rax
movq (%rax), %rax
movq %rax, -0xa8(%rbp)
jmp 0x379d4
movq -0xa0(%rbp), %rax
movq %rax, -0x68(%rbp)
movb $0x0, -0x69(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x78(%rbp)
testb $0x1, -0x69(%rbp)
jne 0x3797b
movq -0x78(%rbp), %rax
movq %rax, -0x60(%rbp)
jmp 0x379c9
cmpq $0x0, -0x78(%rbp)
sete %al
testb $0x1, %al
jne 0x37989
jmp 0x379c1
movq -0x68(%rbp), %rdi
callq 0x26380
testb $0x1, %al
jne 0x37998
jmp 0x379c1
movq -0x68(%rbp), %rdi
callq 0x79eb0
movq %rax, -0x78(%rbp)
movq -0x68(%rbp), %rcx
movq -0x78(%rbp), %rax
movq %rcx, -0x10(%rbp)
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x78(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq 0x6760d(%rip), %rcx     # 0x9efe8
movq %fs:0x0, %rax
addq %rcx, %rax
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rax
cmpl $0x1, (%rax)
setne %al
testb $0x1, %al
jne 0x37a04
jmp 0x37b23
movq -0x88(%rbp), %rax
cmpl $0x0, (%rax)
jne 0x37a94
movq -0x88(%rbp), %rax
movl $0x1, (%rax)
movq -0x88(%rbp), %rax
movq %rax, -0x30(%rbp)
movq 0x675b5(%rip), %rax     # 0x9efe8
movq %fs:0x0, %rdi
addq %rax, %rdi
movq -0x30(%rbp), %rsi
movl $0x50, %edx
callq 0x103b0
leaq 0x6b4c0(%rip), %rax     # 0xa2f14
movl (%rax), %edi
movq 0x6758b(%rip), %rax     # 0x9efe8
movq %fs:0x0, %rsi
addq %rax, %rsi
callq 0x106d0
cmpl $0x0, %eax
je 0x37a8f
leaq 0x575bf(%rip), %rdi     # 0x8f039
callq 0x7c0e0
testb $0x1, 0x69c1a(%rip)     # 0xa16a0
je 0x37a8d
callq 0x10070
jmp 0x37a8f
jmp 0x37b21
movq -0x88(%rbp), %rax
cmpl $0x2, (%rax)
jne 0x37b1d
movq -0x88(%rbp), %rax
movl $0x3, (%rax)
movq -0x88(%rbp), %rax
movq %rax, -0x28(%rbp)
movq 0x67529(%rip), %rax     # 0x9efe8
movq %fs:0x0, %rdi
addq %rax, %rdi
movq -0x28(%rbp), %rsi
movl $0x50, %edx
callq 0x103b0
leaq 0x6b434(%rip), %rax     # 0xa2f14
movl (%rax), %edi
movq 0x674ff(%rip), %rax     # 0x9efe8
movq %fs:0x0, %rsi
addq %rax, %rsi
callq 0x106d0
cmpl $0x0, %eax
je 0x37b1b
leaq 0x57533(%rip), %rdi     # 0x8f039
callq 0x7c0e0
testb $0x1, 0x69b8e(%rip)     # 0xa16a0
je 0x37b19
callq 0x10070
jmp 0x37b1b
jmp 0x37b1f
jmp 0x37b1f
jmp 0x37b21
jmp 0x37b23
movq -0x88(%rbp), %rdi
movq -0x90(%rbp), %rsi
movq -0xa8(%rbp), %rdx
callq 0x2e940
addq $0xb0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)