	.file	"extr_large.c_large_dalloc_prep_impl.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	large_dalloc_prep_impl, @function
large_dalloc_prep_impl:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	ecx, ecx
	jne	.L2
	mov	rdi, rsi
	call	arena_is_auto@PLT
	test	eax, eax
	je	.L7
.L3:
	mov	rdi, r13
	call	extent_usize_get@PLT
	mov	rdi, r13
	mov	r12d, eax
	call	extent_addr_get@PLT
	mov	esi, r12d
	mov	edi, eax
	call	large_dalloc_maybe_junk@PLT
.L4:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdx, r13
	mov	rsi, rbp
	mov	rdi, r14
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	arena_extent_dalloc_large_prep@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	rsi, 4[rsi]
	call	malloc_mutex_assert_owner@PLT
	mov	rdi, rbp
	call	arena_is_auto@PLT
	test	eax, eax
	jne	.L4
	mov	rsi, r13
	mov	rdi, rbp
	call	extent_list_remove@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L7:
	lea	r12, 4[rbp]
	mov	rdi, r14
	mov	rsi, r12
	call	malloc_mutex_lock@PLT
	mov	rsi, r13
	mov	rdi, rbp
	call	extent_list_remove@PLT
	mov	rsi, r12
	mov	rdi, r14
	call	malloc_mutex_unlock@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	large_dalloc_prep_impl, .-large_dalloc_prep_impl
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_large.c_large_dalloc_prep_impl.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	large_dalloc_prep_impl, %function
large_dalloc_prep_impl:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r3, #0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	mov	r5, r2
	mov	r6, r0
	bne	.L2
	mov	r0, r1
	bl	arena_is_auto
	cmp	r0, #0
	beq	.L7
.L3:
	mov	r0, r5
	bl	extent_addr_get
	mov	r7, r0
	mov	r0, r5
	bl	extent_usize_get
	mov	r1, r0
	mov	r0, r7
	bl	large_dalloc_maybe_junk
.L4:
	mov	r2, r5
	mov	r1, r4
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	arena_extent_dalloc_large_prep
.L2:
	add	r1, r1, #4
	bl	malloc_mutex_assert_owner
	mov	r0, r4
	bl	arena_is_auto
	cmp	r0, #0
	bne	.L4
	mov	r1, r5
	mov	r0, r4
	bl	extent_list_remove
	b	.L4
.L7:
	add	r7, r4, #4
	mov	r1, r7
	mov	r0, r6
	bl	malloc_mutex_lock
	mov	r1, r5
	mov	r0, r4
	bl	extent_list_remove
	mov	r1, r7
	mov	r0, r6
	bl	malloc_mutex_unlock
	b	.L3
	.size	large_dalloc_prep_impl, .-large_dalloc_prep_impl
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
