	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_domain_clear                ## -- Begin function vm_domain_clear
	.p2align	4, 0x90
_vm_domain_clear:                       ## @vm_domain_clear
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_vm_domainset_lock@GOTPCREL(%rip), %rdi
	callq	_mtx_lock
	cmpq	$0, 40(%rbx)
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_vm_paging_min
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movq	$0, 40(%rbx)
	movl	24(%rbx), %edi
	movq	_vm_min_domains@GOTPCREL(%rip), %rsi
	callq	_DOMAINSET_CLR
	movq	_vm_min_waiters@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	$0, (%rax)
	movq	_vm_min_domains@GOTPCREL(%rip), %rdi
	callq	_wakeup
LBB0_4:
	cmpq	$0, 32(%rbx)
	je	LBB0_8
## %bb.5:
	movq	%rbx, %rdi
	callq	_vm_paging_severe
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:
	movq	$0, 32(%rbx)
	movl	24(%rbx), %edi
	movq	_vm_severe_domains@GOTPCREL(%rip), %rsi
	callq	_DOMAINSET_CLR
	movq	_vm_severe_waiters@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.7:
	movq	$0, (%rax)
	movq	_vm_severe_domains@GOTPCREL(%rip), %rdi
	callq	_wakeup
LBB0_8:
	cmpq	$0, 16(%rbx)
	je	LBB0_11
## %bb.9:
	movq	(%rbx), %rax
	cmpq	8(%rbx), %rax
	jl	LBB0_11
## %bb.10:
	addq	$16, %rbx
	movq	%rbx, %rdi
	callq	_wakeup
	movq	$0, (%rbx)
LBB0_11:
	movq	_vm_pageproc_waiters@GOTPCREL(%rip), %rdi
	cmpq	$0, (%rdi)
	je	LBB0_13
## %bb.12:
	movq	$0, (%rdi)
	callq	_wakeup
LBB0_13:
	movq	_vm_domainset_lock@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mtx_unlock                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_vm_domainset_lock,4,2          ## @vm_domainset_lock
	.comm	_vm_min_domains,8,3             ## @vm_min_domains
	.comm	_vm_min_waiters,8,3             ## @vm_min_waiters
	.comm	_vm_severe_domains,8,3          ## @vm_severe_domains
	.comm	_vm_severe_waiters,8,3          ## @vm_severe_waiters
	.comm	_vm_pageproc_waiters,8,3        ## @vm_pageproc_waiters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_domain_clear                ; -- Begin function vm_domain_clear
	.p2align	2
_vm_domain_clear:                       ; @vm_domain_clear
	.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, x0
Lloh0:
	adrp	x0, _vm_domainset_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _vm_domainset_lock@GOTPAGEOFF]
	bl	_mtx_lock
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_vm_paging_min
	cbnz	w0, LBB0_4
; %bb.2:
	str	xzr, [x19, #40]
	ldr	w0, [x19, #24]
Lloh2:
	adrp	x1, _vm_min_domains@GOTPAGE
Lloh3:
	ldr	x1, [x1, _vm_min_domains@GOTPAGEOFF]
	bl	_DOMAINSET_CLR
Lloh4:
	adrp	x8, _vm_min_waiters@GOTPAGE
Lloh5:
	ldr	x8, [x8, _vm_min_waiters@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_4
; %bb.3:
	str	xzr, [x8]
Lloh6:
	adrp	x0, _vm_min_domains@GOTPAGE
Lloh7:
	ldr	x0, [x0, _vm_min_domains@GOTPAGEOFF]
	bl	_wakeup
LBB0_4:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_8
; %bb.5:
	mov	x0, x19
	bl	_vm_paging_severe
	cbnz	w0, LBB0_8
; %bb.6:
	str	xzr, [x19, #32]
	ldr	w0, [x19, #24]
Lloh8:
	adrp	x1, _vm_severe_domains@GOTPAGE
Lloh9:
	ldr	x1, [x1, _vm_severe_domains@GOTPAGEOFF]
	bl	_DOMAINSET_CLR
Lloh10:
	adrp	x8, _vm_severe_waiters@GOTPAGE
Lloh11:
	ldr	x8, [x8, _vm_severe_waiters@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_8
; %bb.7:
	str	xzr, [x8]
Lloh12:
	adrp	x0, _vm_severe_domains@GOTPAGE
Lloh13:
	ldr	x0, [x0, _vm_severe_domains@GOTPAGEOFF]
	bl	_wakeup
LBB0_8:
	mov	x20, x19
	ldr	x8, [x20, #16]!
	cbz	x8, LBB0_11
; %bb.9:
	ldp	x8, x9, [x19]
	cmp	x8, x9
	b.lt	LBB0_11
; %bb.10:
	mov	x0, x20
	bl	_wakeup
	str	xzr, [x20]
LBB0_11:
Lloh14:
	adrp	x0, _vm_pageproc_waiters@GOTPAGE
Lloh15:
	ldr	x0, [x0, _vm_pageproc_waiters@GOTPAGEOFF]
	ldr	x8, [x0]
	cbz	x8, LBB0_13
; %bb.12:
	str	xzr, [x0]
	bl	_wakeup
LBB0_13:
Lloh16:
	adrp	x0, _vm_domainset_lock@GOTPAGE
Lloh17:
	ldr	x0, [x0, _vm_domainset_lock@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mtx_unlock
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_vm_domainset_lock,4,2          ; @vm_domainset_lock
	.comm	_vm_min_domains,8,3             ; @vm_min_domains
	.comm	_vm_min_waiters,8,3             ; @vm_min_waiters
	.comm	_vm_severe_domains,8,3          ; @vm_severe_domains
	.comm	_vm_severe_waiters,8,3          ; @vm_severe_waiters
	.comm	_vm_pageproc_waiters,8,3        ; @vm_pageproc_waiters
.subsections_via_symbols
