	.file	"extr_chunk.c_chunk_purge_arena.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	chunk_purge_arena
	.type	chunk_purge_arena, @function
chunk_purge_arena:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	edi, edi
	test	rsi, rsi
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	setne	dil
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	call	assert@PLT
	mov	rdi, rbx
	call	CHUNK_ADDR2BASE@PLT
	xor	edi, edi
	cmp	rbx, rax
	sete	dil
	call	assert@PLT
	xor	edi, edi
	test	QWORD PTR PAGE_MASK[rip], r12
	sete	dil
	call	assert@PLT
	xor	edi, edi
	test	rbp, rbp
	setne	dil
	call	assert@PLT
	xor	edi, edi
	test	QWORD PTR PAGE_MASK[rip], rbp
	sete	dil
	call	assert@PLT
	lea	rdi, [rbx+r12]
	mov	rsi, rbp
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	pages_purge@PLT
	.cfi_endproc
.LFE0:
	.size	chunk_purge_arena, .-chunk_purge_arena
	.comm	PAGE_MASK,8,8
	.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_chunk.c_chunk_purge_arena.c"
	.text
	.align	2
	.global	chunk_purge_arena
	.syntax unified
	.arm
	.fpu softvfp
	.type	chunk_purge_arena, %function
chunk_purge_arena:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	subs	r0, r1, #0
	movne	r0, #1
	mov	r6, r2
	mov	r5, r3
	bl	assert
	mov	r0, r4
	bl	CHUNK_ADDR2BASE
	sub	r0, r4, r0
	clz	r0, r0
	ldr	r7, .L4
	lsr	r0, r0, #5
	bl	assert
	ldr	r3, [r7]
	tst	r6, r3
	moveq	r0, #1
	movne	r0, #0
	bl	assert
	subs	r0, r5, #0
	movne	r0, #1
	bl	assert
	ldr	r3, [r7]
	tst	r5, r3
	moveq	r0, #1
	movne	r0, #0
	bl	assert
	mov	r1, r5
	add	r0, r4, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	pages_purge
.L5:
	.align	2
.L4:
	.word	PAGE_MASK
	.size	chunk_purge_arena, .-chunk_purge_arena
	.comm	PAGE_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
