	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vm_page_object_remove
_vm_page_object_remove:                 ## @vm_page_object_remove
	.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	%rdi, %rbx
	movq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_VM_OBJECT_ASSERT_WLOCKED
	movq	_VPRC_OBJREF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	(%rbx), %eax
	setne	%dil
	movq	%rbx, %rsi
	callq	_KASSERT
	leaq	24(%r14), %rdi
	movl	4(%rbx), %esi
	callq	_vm_radix_remove
	xorl	%edi, %edi
	cmpq	%rbx, %rax
	sete	%dil
	movq	%rbx, %rsi
	callq	_KASSERT
	leaq	20(%r14), %rdi
	movq	_listq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_TAILQ_REMOVE
	decq	(%r14)
	jne	LBB0_2
## %bb.1:
	movq	8(%r14), %rax
	movq	_OBJT_VNODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movl	16(%r14), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_vdrop                          ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VPRC_OBJREF,4,2                ## @VPRC_OBJREF
	.comm	_listq,4,2                      ## @listq
	.comm	_OBJT_VNODE,8,3                 ## @OBJT_VNODE
	.no_dead_strip	_vm_page_object_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vm_page_object_remove
_vm_page_object_remove:                 ; @vm_page_object_remove
	.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	x20, x0
	ldr	x19, [x0, #8]
	mov	x0, x19
	bl	_VM_OBJECT_ASSERT_WLOCKED
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _VPRC_OBJREF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VPRC_OBJREF@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
	mov	x1, x20
	bl	_KASSERT
	add	x0, x19, #24
	ldr	w1, [x20, #4]
	bl	_vm_radix_remove
	cmp	x0, x20
	cset	w0, eq
	mov	x1, x20
	bl	_KASSERT
	add	x0, x19, #20
Lloh3:
	adrp	x8, _listq@GOTPAGE
Lloh4:
	ldr	x8, [x8, _listq@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_TAILQ_REMOVE
	ldr	x8, [x19]
	subs	x8, x8, #1
	str	x8, [x19]
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _OBJT_VNODE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _OBJT_VNODE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [x19, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vdrop
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_VPRC_OBJREF,4,2                ; @VPRC_OBJREF
	.comm	_listq,4,2                      ; @listq
	.comm	_OBJT_VNODE,8,3                 ; @OBJT_VNODE
	.no_dead_strip	_vm_page_object_remove
.subsections_via_symbols
