	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_wait_min                    ## -- Begin function vm_wait_min
	.p2align	4, 0x90
_vm_wait_min:                           ## @vm_wait_min
	.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	_vm_domainset_lock@GOTPCREL(%rip), %rdi
	callq	_mtx_lock
	xorl	%eax, %eax
	callq	_vm_page_count_min
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_vm_min_waiters@GOTPCREL(%rip), %r12
	movq	_PVM@GOTPCREL(%rip), %r13
	movq	_vm_min_domains@GOTPCREL(%rip), %r14
	movq	_vm_domainset_lock@GOTPCREL(%rip), %r15
	leaq	L_.str(%rip), %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incl	(%r12)
	movl	(%r13), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	callq	_msleep
	xorl	%eax, %eax
	callq	_vm_page_count_min
	testq	%rax, %rax
	jne	LBB0_2
LBB0_3:
	movq	_vm_domainset_lock@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mtx_unlock                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_vm_domainset_lock,4,2          ## @vm_domainset_lock
	.comm	_vm_min_waiters,4,2             ## @vm_min_waiters
	.comm	_vm_min_domains,4,2             ## @vm_min_domains
	.comm	_PVM,4,2                        ## @PVM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vmwait"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_wait_min                    ; -- Begin function vm_wait_min
	.p2align	2
_vm_wait_min:                           ; @vm_wait_min
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x0, _vm_domainset_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _vm_domainset_lock@GOTPAGEOFF]
	bl	_mtx_lock
	bl	_vm_page_count_min
	cbz	x0, LBB0_3
; %bb.1:
Lloh2:
	adrp	x22, _vm_min_waiters@GOTPAGE
Lloh3:
	ldr	x22, [x22, _vm_min_waiters@GOTPAGEOFF]
Lloh4:
	adrp	x23, _PVM@GOTPAGE
Lloh5:
	ldr	x23, [x23, _PVM@GOTPAGEOFF]
Lloh6:
	adrp	x19, _vm_min_domains@GOTPAGE
Lloh7:
	ldr	x19, [x19, _vm_min_domains@GOTPAGEOFF]
Lloh8:
	adrp	x20, l_.str@PAGE
Lloh9:
	add	x20, x20, l_.str@PAGEOFF
Lloh10:
	adrp	x21, _vm_domainset_lock@GOTPAGE
Lloh11:
	ldr	x21, [x21, _vm_domainset_lock@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
	ldr	w2, [x23]
	mov	x0, x19
	mov	x1, x21
	mov	x3, x20
	mov	w4, #0
	bl	_msleep
	bl	_vm_page_count_min
	cbnz	x0, LBB0_2
LBB0_3:
Lloh12:
	adrp	x0, _vm_domainset_lock@GOTPAGE
Lloh13:
	ldr	x0, [x0, _vm_domainset_lock@GOTPAGEOFF]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_mtx_unlock
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_vm_domainset_lock,4,2          ; @vm_domainset_lock
	.comm	_vm_min_waiters,4,2             ; @vm_min_waiters
	.comm	_vm_min_domains,4,2             ; @vm_min_domains
	.comm	_PVM,4,2                        ; @PVM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vmwait"

.subsections_via_symbols
