	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vm_map_process_deferred
_vm_map_process_deferred:               ## @vm_map_process_deferred
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_curthread@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rbx
	movq	$0, (%rax)
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movq	_MAP_ENTRY_WRITECNT@GOTPCREL(%rip), %r13
	movq	_FALSE@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_vm_map_entry_set_vnode_text
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_vm_map_entry_deallocate
	movq	%r14, %rbx
	testq	%r14, %r14
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%rbx), %r14
	movl	(%rbx), %eax
	movq	_MAP_ENTRY_VN_EXEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%r13), %ecx
	notl	%eax
	xorl	%edi, %edi
	testl	%eax, %ecx
	setne	%dil
	callq	_MPASS
	movl	(%rbx), %eax
	testl	%eax, (%r13)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	movq	_MAP_ENTRY_IS_SUB_MAP@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	sete	%dil
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	movq	16(%rbx), %r12
	xorl	%edi, %edi
	testq	%r12, %r12
	setne	%dil
	leaq	L_.str.1(%rip), %rsi
	callq	_KASSERT
	movl	4(%rbx), %edx
	movl	8(%rbx), %esi
	movq	%r12, %rdi
	callq	_vm_pager_release_writecount
	jmp	LBB0_4
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_curthread,8,3                  ## @curthread
	.comm	_MAP_ENTRY_WRITECNT,4,2         ## @MAP_ENTRY_WRITECNT
	.comm	_MAP_ENTRY_VN_EXEC,4,2          ## @MAP_ENTRY_VN_EXEC
	.comm	_MAP_ENTRY_IS_SUB_MAP,4,2       ## @MAP_ENTRY_IS_SUB_MAP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Submap with writecount"

L_.str.1:                               ## @.str.1
	.asciz	"No object for writecount"

	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_vm_map_process_deferred
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vm_map_process_deferred
_vm_map_process_deferred:               ; @vm_map_process_deferred
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _curthread@GOTPAGE
Lloh1:
	ldr	x8, [x8, _curthread@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x19, [x8]
	str	xzr, [x8]
	cbz	x19, LBB0_5
; %bb.1:
Lloh3:
	adrp	x23, _MAP_ENTRY_WRITECNT@GOTPAGE
Lloh4:
	ldr	x23, [x23, _MAP_ENTRY_WRITECNT@GOTPAGEOFF]
Lloh5:
	adrp	x24, _MAP_ENTRY_VN_EXEC@GOTPAGE
Lloh6:
	ldr	x24, [x24, _MAP_ENTRY_VN_EXEC@GOTPAGEOFF]
Lloh7:
	adrp	x20, l_.str@PAGE
Lloh8:
	add	x20, x20, l_.str@PAGEOFF
Lloh9:
	adrp	x25, _FALSE@GOTPAGE
Lloh10:
	ldr	x25, [x25, _FALSE@GOTPAGEOFF]
Lloh11:
	adrp	x26, _MAP_ENTRY_IS_SUB_MAP@GOTPAGE
Lloh12:
	ldr	x26, [x26, _MAP_ENTRY_IS_SUB_MAP@GOTPAGEOFF]
Lloh13:
	adrp	x21, l_.str.1@PAGE
Lloh14:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	w1, #0
	bl	_vm_map_entry_set_vnode_text
	ldr	w1, [x25]
	mov	x0, x19
	bl	_vm_map_entry_deallocate
	mov	x19, x27
	cbz	x27, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x27, [x19, #24]
	ldr	w8, [x19]
	ldr	w9, [x23]
	ldr	w10, [x24]
	orr	w9, w10, w9
	bics	wzr, w9, w8
	cset	w0, ne
	bl	_MPASS
	ldr	w8, [x19]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x26]
	tst	w9, w8
	cset	w0, eq
	mov	x1, x20
	bl	_KASSERT
	ldr	x22, [x19, #16]
	cmp	x22, #0
	cset	w0, ne
	mov	x1, x21
	bl	_KASSERT
	ldp	w2, w1, [x19, #4]
	mov	x0, x22
	bl	_vm_pager_release_writecount
	b	LBB0_2
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_curthread,8,3                  ; @curthread
	.comm	_MAP_ENTRY_WRITECNT,4,2         ; @MAP_ENTRY_WRITECNT
	.comm	_MAP_ENTRY_VN_EXEC,4,2          ; @MAP_ENTRY_VN_EXEC
	.comm	_MAP_ENTRY_IS_SUB_MAP,4,2       ; @MAP_ENTRY_IS_SUB_MAP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Submap with writecount"

l_.str.1:                               ; @.str.1
	.asciz	"No object for writecount"

	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_vm_map_process_deferred
.subsections_via_symbols
