	.file	"extr_vm_resident.c_vm_page_release_fictitious.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	vm_page_release_fictitious
	.type	vm_page_release_fictitious, @function
vm_page_release_fictitious:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rax, QWORD PTR [rdi]
	mov	rbp, rdi
	mov	edi, 1
	cmp	rax, QWORD PTR VM_PAGE_NOT_ON_Q[rip]
	je	.L2
	xor	edi, edi
	cmp	QWORD PTR VM_PAGE_IS_WIRED[rip], rax
	sete	dil
.L2:
	call	assert@PLT
	mov	edi, DWORD PTR 8[rbp]
	call	assert@PLT
	mov	rdi, rbp
	call	VM_PAGE_GET_PHYS_PAGE@PLT
	cmp	rax, QWORD PTR vm_page_fictitious_addr[rip]
	mov	edi, 1
	je	.L3
	mov	rdi, rbp
	call	VM_PAGE_GET_PHYS_PAGE@PLT
	xor	edi, edi
	cmp	QWORD PTR vm_page_guard_addr[rip], rax
	sete	dil
.L3:
	call	assert@PLT
	mov	rdi, rbp
	call	VM_PAGE_GET_PHYS_PAGE@PLT
	cmp	rax, QWORD PTR vm_page_guard_addr[rip]
	je	.L10
.L4:
	add	DWORD PTR c_vm_page_release_fictitious[rip], 1
	mov	edi, DWORD PTR vm_page_zone[rip]
	mov	rsi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	zfree@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	lea	rsi, vm_guard_count[rip]
	mov	edi, -1
	call	OSAddAtomic@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	vm_page_release_fictitious, .-vm_page_release_fictitious
	.comm	vm_page_zone,4,4
	.comm	vm_page_guard_addr,8,8
	.comm	vm_page_fictitious_addr,8,8
	.comm	vm_guard_count,4,4
	.comm	c_vm_page_release_fictitious,4,4
	.comm	VM_PAGE_NOT_ON_Q,8,8
	.comm	VM_PAGE_IS_WIRED,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_vm_resident.c_vm_page_release_fictitious.c"
	.text
	.align	2
	.global	vm_page_release_fictitious
	.syntax unified
	.arm
	.fpu softvfp
	.type	vm_page_release_fictitious, %function
vm_page_release_fictitious:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L11
	ldr	r3, [r0]
	ldr	r2, [r2]
	push	{r4, r5, r6, lr}
	cmp	r3, r2
	ldrne	r2, .L11+4
	mov	r4, r0
	ldrne	r0, [r2]
	moveq	r0, #1
	subne	r0, r0, r3
	clzne	r0, r0
	lsrne	r0, r0, #5
	bl	assert
	ldr	r0, [r4, #4]
	bl	assert
	mov	r0, r4
	bl	VM_PAGE_GET_PHYS_PAGE
	ldr	r3, .L11+8
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L9
	mov	r0, #1
	ldr	r5, .L11+12
.L3:
	bl	assert
	mov	r0, r4
	bl	VM_PAGE_GET_PHYS_PAGE
	ldr	r3, [r5]
	cmp	r0, r3
	beq	.L10
.L4:
	ldr	r2, .L11+16
	ldr	r0, .L11+20
	ldr	r3, [r2]
	mov	r1, r4
	pop	{r4, r5, r6, lr}
	add	r3, r3, #1
	ldr	r0, [r0]
	str	r3, [r2]
	b	zfree
.L9:
	mov	r0, r4
	bl	VM_PAGE_GET_PHYS_PAGE
	ldr	r5, .L11+12
	ldr	r3, [r5]
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	b	.L3
.L10:
	ldr	r1, .L11+24
	mvn	r0, #0
	bl	OSAddAtomic
	b	.L4
.L12:
	.align	2
.L11:
	.word	VM_PAGE_NOT_ON_Q
	.word	VM_PAGE_IS_WIRED
	.word	vm_page_fictitious_addr
	.word	vm_page_guard_addr
	.word	c_vm_page_release_fictitious
	.word	vm_page_zone
	.word	vm_guard_count
	.size	vm_page_release_fictitious, .-vm_page_release_fictitious
	.comm	vm_page_zone,4,4
	.comm	vm_page_guard_addr,4,4
	.comm	vm_page_fictitious_addr,4,4
	.comm	vm_guard_count,4,4
	.comm	c_vm_page_release_fictitious,4,4
	.comm	VM_PAGE_NOT_ON_Q,4,4
	.comm	VM_PAGE_IS_WIRED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
