	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdev_pager_free_page           ## -- Begin function cdev_pager_free_page
	.p2align	4, 0x90
_cdev_pager_free_page:                  ## @cdev_pager_free_page
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_VM_OBJECT_ASSERT_WLOCKED
	movq	(%rbx), %rax
	movq	_OBJT_MGTDEVICE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.3:
	movq	_VPO_UNMANAGED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	(%r14), %eax
	sete	%dil
	movq	%r14, %rsi
	callq	_KASSERT
	movq	%r14, %rdi
	callq	_pmap_remove_all
	movq	%r14, %rdi
	callq	_vm_page_remove
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_vm_page_xunbusy                ## TAILCALL
LBB0_1:
	movq	_OBJT_DEVICE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dev_pager_free_page            ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OBJT_MGTDEVICE,8,3             ## @OBJT_MGTDEVICE
	.comm	_VPO_UNMANAGED,4,2              ## @VPO_UNMANAGED
	.comm	_OBJT_DEVICE,8,3                ## @OBJT_DEVICE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdev_pager_free_page           ; -- Begin function cdev_pager_free_page
	.p2align	2
_cdev_pager_free_page:                  ; @cdev_pager_free_page
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	bl	_VM_OBJECT_ASSERT_WLOCKED
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _OBJT_MGTDEVICE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OBJT_MGTDEVICE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _VPO_UNMANAGED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VPO_UNMANAGED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	mov	x1, x19
	bl	_KASSERT
	mov	x0, x19
	bl	_pmap_remove_all
	mov	x0, x19
	bl	_vm_page_remove
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vm_page_xunbusy
LBB0_2:
Lloh6:
	adrp	x9, _OBJT_DEVICE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _OBJT_DEVICE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_pager_free_page
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_OBJT_MGTDEVICE,8,3             ; @OBJT_MGTDEVICE
	.comm	_VPO_UNMANAGED,4,2              ; @VPO_UNMANAGED
	.comm	_OBJT_DEVICE,8,3                ; @OBJT_DEVICE
.subsections_via_symbols
