// File: /workspace/github_c_makefile_star2_O0/zhou-yuxin[P]redis-aof-no-cow/deps/jemalloc/src/quarantine.c
// Function: quarantine_drain_one
static void
quarantine_drain_one(tsdn_t *tsdn, quarantine_t *quarantine)
{
	quarantine_obj_t *obj = &quarantine->objs[quarantine->first];
	assert(obj->usize == isalloc(tsdn, obj->ptr, config_prof));
	idalloctm(tsdn, obj->ptr, NULL, false, true);
	quarantine->curbytes -= obj->usize;
	quarantine->curobjs--;
	quarantine->first = (quarantine->first + 1) & ((ZU(1) <<
	    quarantine->lg_maxobjs) - 1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x390, %rsp            # imm = 0x390
movq %rdi, -0x358(%rbp)
movq %rsi, -0x360(%rbp)
movq -0x360(%rbp), %rax
addq $0x20, %rax
movq -0x360(%rbp), %rcx
movq 0x10(%rcx), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x368(%rbp)
jmp 0x777ff
movq -0x358(%rbp), %rcx
movq -0x368(%rbp), %rax
movq (%rax), %rax
movq %rcx, -0x338(%rbp)
movq %rax, -0x340(%rbp)
movq $0x0, -0x348(%rbp)
movb $0x0, -0x349(%rbp)
movb $0x1, -0x34a(%rbp)
testb $0x1, -0x349(%rbp)
je 0x77b9b
movq -0x340(%rbp), %rax
movq %rax, -0x318(%rbp)
movq -0x318(%rbp), %rax
movq %rax, -0x308(%rbp)
movq -0x308(%rbp), %rax
leaq 0x2c842(%rip), %rcx     # 0xa40b0
movq (%rcx), %rcx
xorq $-0x1, %rcx
andq %rcx, %rax
movq %rax, -0x310(%rbp)
movq -0x310(%rbp), %rax
cmpq -0x308(%rbp), %rax
setne %al
testb $0x1, %al
jne 0x77896
jmp 0x778ab
movq -0x310(%rbp), %rdi
callq 0x77610
movq %rax, -0x300(%rbp)
jmp 0x778be
movq -0x308(%rbp), %rdi
callq 0x63ec0
movq %rax, -0x300(%rbp)
movq -0x300(%rbp), %rax
movq %rax, -0x370(%rbp)
movq -0x338(%rbp), %rcx
movq -0x340(%rbp), %rax
movq %rcx, -0x320(%rbp)
movq %rax, -0x328(%rbp)
movb $0x0, -0x329(%rbp)
movq -0x320(%rbp), %rdx
movq -0x328(%rbp), %rcx
movb -0x329(%rbp), %al
movq %rdx, -0xf8(%rbp)
movq %rcx, -0x100(%rbp)
andb $0x1, %al
movb %al, -0x101(%rbp)
movq -0x100(%rbp), %rax
leaq 0x2c789(%rip), %rcx     # 0xa40b0
movq (%rcx), %rcx
xorq $-0x1, %rcx
andq %rcx, %rax
movq %rax, -0x118(%rbp)
movq -0x118(%rbp), %rax
cmpq -0x100(%rbp), %rax
setne %al
testb $0x1, %al
jne 0x77952
jmp 0x77b6e
movq -0x100(%rbp), %rax
movq -0x118(%rbp), %rcx
subq %rcx, %rax
shrq $0xc, %rax
movq %rax, -0x120(%rbp)
movq -0x118(%rbp), %rcx
movq -0x120(%rbp), %rax
movq %rcx, -0x50(%rbp)
movq %rax, -0x58(%rbp)
movq -0x50(%rbp), %rcx
movq -0x58(%rbp), %rax
movq %rcx, -0x40(%rbp)
movq %rax, -0x48(%rbp)
movq -0x40(%rbp), %rcx
movq -0x48(%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), %rcx
movq -0x20(%rbp), %rax
movq %rcx, -0x8(%rbp)
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
addq $0x78, %rax
movq -0x10(%rbp), %rcx
leaq 0x2c5c9(%rip), %rdx     # 0xa3fa0
subq (%rdx), %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rax
andq $0x1fe0, %rax           # imm = 0x1FE0
shrq $0x5, %rax
movl %eax, -0x64(%rbp)
movl -0x64(%rbp), %eax
movl %eax, -0x124(%rbp)
movl -0x124(%rbp), %eax
movl %eax, %ecx
movb $0x1, %al
cmpq $0xff, %rcx
movb %al, -0x371(%rbp)
je 0x77a2d
xorl %eax, %eax
movb %al, -0x371(%rbp)
jmp 0x77a2d
movb -0x371(%rbp), %al
testb $0x1, %al
jne 0x77a3c
jmp 0x77b2c
movq -0x118(%rbp), %rcx
movq -0x120(%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), %rcx
movq -0xc0(%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, -0x80(%rbp)
movq %rax, -0x88(%rbp)
movq -0x80(%rbp), %rax
addq $0x78, %rax
movq -0x88(%rbp), %rcx
leaq 0x2c4c5(%rip), %rdx     # 0xa3fa0
subq (%rdx), %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, -0xb0(%rbp)
movq -0xb0(%rbp), %rax
movq (%rax), %rax
movq %rax, -0xd8(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rax
andq $-0x2000, %rax          # imm = 0xE000
shrq %rax
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rax
subq $0x1000, %rax           # imm = 0x1000
movq %rax, -0x110(%rbp)
jmp 0x77b6c
movl -0x124(%rbp), %eax
movl %eax, -0xec(%rbp)
movl -0xec(%rbp), %eax
movl %eax, -0xdc(%rbp)
movl -0xdc(%rbp), %eax
movl %eax, %ecx
leaq 0x187ad(%rip), %rax     # 0x90300
movq (%rax,%rcx,8), %rax
movq %rax, -0xe8(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x110(%rbp)
jmp 0x77b88
movq -0xf8(%rbp), %rdi
movq -0x100(%rbp), %rsi
callq 0x65c10
movq %rax, -0x110(%rbp)
movq -0x370(%rbp), %rdi
movq -0x110(%rbp), %rsi
callq 0x77760
movq -0x338(%rbp), %rsi
movq -0x340(%rbp), %rdx
movq -0x348(%rbp), %rcx
movb -0x34a(%rbp), %al
movq %rsi, -0x2b8(%rbp)
movq %rdx, -0x2c0(%rbp)
movq %rcx, -0x2c8(%rbp)
andb $0x1, %al
movb %al, -0x2c9(%rbp)
movq -0x2c0(%rbp), %rax
leaq 0x2c4cf(%rip), %rcx     # 0xa40b0
movq (%rcx), %rcx
xorq $-0x1, %rcx
andq %rcx, %rax
movq %rax, -0x2d8(%rbp)
movq -0x2d8(%rbp), %rax
cmpq -0x2c0(%rbp), %rax
setne %al
testb $0x1, %al
jne 0x77c0c
jmp 0x7827c
movq -0x2c0(%rbp), %rax
movq -0x2d8(%rbp), %rcx
subq %rcx, %rax
shrq $0xc, %rax
movq %rax, -0x2e0(%rbp)
movq -0x2d8(%rbp), %rcx
movq -0x2e0(%rbp), %rax
movq %rcx, -0x298(%rbp)
movq %rax, -0x2a0(%rbp)
movq -0x298(%rbp), %rcx
movq -0x2a0(%rbp), %rax
movq %rcx, -0x180(%rbp)
movq %rax, -0x188(%rbp)
movq -0x180(%rbp), %rcx
movq -0x188(%rbp), %rax
movq %rcx, -0x170(%rbp)
movq %rax, -0x178(%rbp)
movq -0x170(%rbp), %rcx
movq -0x178(%rbp), %rax
movq %rcx, -0x140(%rbp)
movq %rax, -0x148(%rbp)
movq -0x140(%rbp), %rax
addq $0x78, %rax
movq -0x148(%rbp), %rcx
leaq 0x2c2ef(%rip), %rdx     # 0xa3fa0
subq (%rdx), %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, -0x1a0(%rbp)
movq -0x1a0(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x2e8(%rbp)
movq -0x2e8(%rbp), %rax
andq $0x2, %rax
cmpq $0x0, %rax
sete %al
testb $0x1, %al
jne 0x77cee
jmp 0x77f12
cmpq $0x0, -0x2c8(%rbp)
setne %al
testb $0x1, %al
jne 0x77d02
jmp 0x77ecf
movq -0x2c0(%rbp), %rcx
movq -0x2e8(%rbp), %rax
movq %rcx, -0x280(%rbp)
movq %rax, -0x288(%rbp)
movq -0x288(%rbp), %rax
andq $0x1fe0, %rax           # imm = 0x1FE0
shrq $0x5, %rax
movl %eax, -0x28c(%rbp)
movl -0x28c(%rbp), %eax
movl %eax, -0x2ec(%rbp)
movq -0x2b8(%rbp), %rax
movq %rax, -0x2a8(%rbp)
movq -0x2a8(%rbp), %rdi
movq -0x2c8(%rbp), %rsi
movq -0x2c0(%rbp), %rdx
movl -0x2ec(%rbp), %ecx
movb -0x2c9(%rbp), %al
movq %rdi, -0x250(%rbp)
movq %rsi, -0x258(%rbp)
movq %rdx, -0x260(%rbp)
movl %ecx, -0x264(%rbp)
andb $0x1, %al
movb %al, -0x265(%rbp)
testb $0x1, -0x265(%rbp)
je 0x77dcb
leaq 0x2b75f(%rip), %rax     # 0xa3502
movb (%rax), %al
testb $0x1, %al
jne 0x77dab
jmp 0x77dcb
movq -0x260(%rbp), %rdi
movl -0x264(%rbp), %eax
leaq 0x2b801(%rip), %rsi     # 0xa35c0
shlq $0x6, %rax
addq %rax, %rsi
callq 0x3cbd0
movq -0x258(%rbp), %rax
addq $0x28, %rax
movl -0x264(%rbp), %ecx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, -0x270(%rbp)
leaq 0x2c6e7(%rip), %rax     # 0xa44d8
movq (%rax), %rax
movl -0x264(%rbp), %ecx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x278(%rbp)
movq -0x270(%rbp), %rax
movl 0x10(%rax), %eax
movq -0x278(%rbp), %rcx
cmpl (%rcx), %eax
sete %al
testb $0x1, %al
jne 0x77e24
jmp 0x77e51
movq -0x250(%rbp), %rdi
movq -0x258(%rbp), %rsi
movq -0x270(%rbp), %rdx
movl -0x264(%rbp), %ecx
movq -0x278(%rbp), %rax
movl (%rax), %r8d
shrl %r8d
callq 0x7ecb0
movq -0x270(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x260(%rbp), %rdx
movq -0x270(%rbp), %rax
movq 0x18(%rax), %rax
movq -0x270(%rbp), %rcx
movl 0x10(%rcx), %ecx
movl %ecx, %esi
xorl %ecx, %ecx
subq %rsi, %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x250(%rbp), %rcx
movq -0x258(%rbp), %rax
movq %rcx, -0x240(%rbp)
movq %rax, -0x248(%rbp)
movq -0x248(%rbp), %rdi
addq $0x18, %rdi
callq 0x77510
testb $0x1, %al
jne 0x77eba
jmp 0x77ecd
movq -0x240(%rbp), %rdi
movq -0x248(%rbp), %rsi
callq 0x7eb70
jmp 0x77f0d
movq -0x2b8(%rbp), %rax
movq %rax, -0x380(%rbp)
movq -0x2d8(%rbp), %rdi
callq 0x77610
movq -0x380(%rbp), %rdi
movq %rax, %rsi
movq -0x2d8(%rbp), %rdx
movq -0x2c0(%rbp), %rcx
movq -0x2e0(%rbp), %r8
callq 0x3f9a0
jmp 0x7827a
movq -0x2d8(%rbp), %rcx
movq -0x2e0(%rbp), %rax
movq %rcx, -0x228(%rbp)
movq %rax, -0x230(%rbp)
movq -0x228(%rbp), %rcx
movq -0x230(%rbp), %rax
movq %rcx, -0x218(%rbp)
movq %rax, -0x220(%rbp)
movq -0x218(%rbp), %rcx
movq -0x220(%rbp), %rax
movq %rcx, -0x190(%rbp)
movq %rax, -0x198(%rbp)
movq -0x190(%rbp), %rcx
movq -0x198(%rbp), %rax
movq %rcx, -0x160(%rbp)
movq %rax, -0x168(%rbp)
movq -0x160(%rbp), %rcx
movq -0x168(%rbp), %rax
movq %rcx, -0x150(%rbp)
movq %rax, -0x158(%rbp)
movq -0x150(%rbp), %rax
addq $0x78, %rax
movq -0x158(%rbp), %rcx
leaq 0x2bfe9(%rip), %rdx     # 0xa3fa0
subq (%rdx), %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, -0x1a8(%rbp)
movq -0x1a8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x238(%rbp)
movq -0x238(%rbp), %rax
movq %rax, -0x130(%rbp)
movq -0x130(%rbp), %rax
andq $-0x2000, %rax          # imm = 0xE000
shrq %rax
movq %rax, -0x138(%rbp)
movq -0x138(%rbp), %rax
movq %rax, -0x2f8(%rbp)
cmpq $0x0, -0x2c8(%rbp)
setne %al
testb $0x1, %al
jne 0x78020
jmp 0x78241
movq -0x2f8(%rbp), %rax
subq $0x1000, %rax           # imm = 0x1000
leaq 0x2c4cc(%rip), %rcx     # 0xa4500
cmpq (%rcx), %rax
ja 0x78241
movq -0x2b8(%rbp), %rax
movq %rax, -0x2b0(%rbp)
movq -0x2b0(%rbp), %rdi
movq -0x2c8(%rbp), %rsi
movq -0x2c0(%rbp), %rdx
movq -0x2f8(%rbp), %rcx
subq $0x1000, %rcx           # imm = 0x1000
movb -0x2c9(%rbp), %al
movq %rdi, -0x1e0(%rbp)
movq %rsi, -0x1e8(%rbp)
movq %rdx, -0x1f0(%rbp)
movq %rcx, -0x1f8(%rbp)
andb $0x1, %al
movb %al, -0x1f9(%rbp)
movq -0x1f8(%rbp), %rax
movq %rax, -0x1d8(%rbp)
cmpq $0x1000, -0x1d8(%rbp) # imm = 0x1000
setbe %al
testb $0x1, %al
jne 0x780ba
jmp 0x780f6
movq -0x1d8(%rbp), %rax
movq %rax, -0x1b0(%rbp)
movq -0x1b0(%rbp), %rcx
subq $0x1, %rcx
shrq $0x3, %rcx
leaq 0x189a2(%rip), %rax     # 0x90a80
movzbl (%rax,%rcx), %eax
movl %eax, -0x1b4(%rbp)
movl -0x1b4(%rbp), %eax
movl %eax, -0x1cc(%rbp)
jmp 0x78108
movq -0x1d8(%rbp), %rdi
callq 0x77630
movl %eax, -0x1cc(%rbp)
movl -0x1cc(%rbp), %eax
movl %eax, -0x200(%rbp)
testb $0x1, -0x1f9(%rbp)
je 0x7813f
leaq 0x2b3de(%rip), %rax     # 0xa3502
movb (%rax), %al
testb $0x1, %al
jne 0x7812c
jmp 0x7813f
movq -0x1f0(%rbp), %rdi
movq -0x1f8(%rbp), %rsi
callq 0x3fab0
movq -0x1e8(%rbp), %rax
addq $0x28, %rax
movl -0x200(%rbp), %ecx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, -0x208(%rbp)
leaq 0x2c373(%rip), %rax     # 0xa44d8
movq (%rax), %rax
movl -0x200(%rbp), %ecx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x210(%rbp)
movq -0x208(%rbp), %rax
movl 0x10(%rax), %eax
movq -0x210(%rbp), %rcx
cmpl (%rcx), %eax
sete %al
testb $0x1, %al
jne 0x78198
jmp 0x781c3
movq -0x1e0(%rbp), %rdi
movq -0x208(%rbp), %rsi
movl -0x200(%rbp), %edx
movq -0x210(%rbp), %rax
movl (%rax), %ecx
shrl %ecx
movq -0x1e8(%rbp), %r8
callq 0x7f140
movq -0x208(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x1f0(%rbp), %rdx
movq -0x208(%rbp), %rax
movq 0x18(%rax), %rax
movq -0x208(%rbp), %rcx
movl 0x10(%rcx), %ecx
movl %ecx, %esi
xorl %ecx, %ecx
subq %rsi, %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x1e0(%rbp), %rcx
movq -0x1e8(%rbp), %rax
movq %rcx, -0x1c0(%rbp)
movq %rax, -0x1c8(%rbp)
movq -0x1c8(%rbp), %rdi
addq $0x18, %rdi
callq 0x77510
testb $0x1, %al
jne 0x7822c
jmp 0x7823f
movq -0x1c0(%rbp), %rdi
movq -0x1c8(%rbp), %rsi
callq 0x7eb70
jmp 0x78278
movq -0x2b8(%rbp), %rax
movq %rax, -0x388(%rbp)
movq -0x2d8(%rbp), %rdi
callq 0x77610
movq -0x388(%rbp), %rdi
movq %rax, %rsi
movq -0x2d8(%rbp), %rdx
movq -0x2c0(%rbp), %rcx
callq 0x3fde0
jmp 0x7827a
jmp 0x7828f
movq -0x2b8(%rbp), %rdi
movq -0x2c0(%rbp), %rsi
callq 0x64db0
movq -0x368(%rbp), %rax
movq 0x8(%rax), %rdx
movq -0x360(%rbp), %rax
movq (%rax), %rcx
subq %rdx, %rcx
movq %rcx, (%rax)
movq -0x360(%rbp), %rax
movq 0x8(%rax), %rcx
addq $-0x1, %rcx
movq %rcx, 0x8(%rax)
movq -0x360(%rbp), %rax
movq 0x10(%rax), %rax
addq $0x1, %rax
movq %rax, -0x390(%rbp)
movq -0x360(%rbp), %rax
movq 0x18(%rax), %rcx
movl $0x1, %eax
shlq %cl, %rax
movq -0x390(%rbp), %rcx
subq $0x1, %rax
andq %rax, %rcx
movq -0x360(%rbp), %rax
movq %rcx, 0x10(%rax)
addq $0x390, %rsp            # imm = 0x390
popq %rbp
retq
nopl (%rax,%rax)