	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vm_pageout_mightbe_oom
_vm_pageout_mightbe_oom:                ## @vm_pageout_mightbe_oom
	.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
	xorl	%eax, %eax
	testl	%edx, %edx
	jle	LBB0_3
## %bb.1:
	cmpl	%esi, %edx
	jne	LBB0_3
## %bb.2:
	movq	(%rbx), %rax
	incq	%rax
LBB0_3:
	movq	%rax, (%rbx)
	movq	_vm_pageout_oom_seq@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_6
## %bb.4:
	cmpq	$0, 8(%rbx)
	je	LBB0_10
## %bb.5:
	addq	$8, %rbx
	jmp	LBB0_9
LBB0_6:
	movq	$0, (%rbx)
	cmpq	$0, 8(%rbx)
	jne	LBB0_10
## %bb.7:
	addq	$8, %rbx
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	_vm_pageout_oom_vote@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	callq	_atomic_fetchadd_int
	movq	_vm_ndomains@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	decl	%ecx
	cmpl	%ecx, %eax
	jne	LBB0_10
## %bb.8:
	movq	_VM_OOM_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_vm_pageout_oom
LBB0_9:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	_vm_pageout_oom_vote@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_atomic_subtract_int            ## TAILCALL
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vm_pageout_oom_seq,8,3         ## @vm_pageout_oom_seq
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_vm_pageout_oom_vote,4,2        ## @vm_pageout_oom_vote
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_vm_ndomains,4,2                ## @vm_ndomains
	.comm	_VM_OOM_MEM,4,2                 ## @VM_OOM_MEM
	.no_dead_strip	_vm_pageout_mightbe_oom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vm_pageout_mightbe_oom
_vm_pageout_mightbe_oom:                ; @vm_pageout_mightbe_oom
	.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
	mov	x8, #0
	cmp	w2, #1
	b.lt	LBB0_3
; %bb.1:
	cmp	w2, w1
	b.ne	LBB0_3
; %bb.2:
	ldr	x8, [x19]
	add	x8, x8, #1
LBB0_3:
	str	x8, [x19]
Lloh0:
	adrp	x9, _vm_pageout_oom_seq@GOTPAGE
Lloh1:
	ldr	x9, [x9, _vm_pageout_oom_seq@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_5
; %bb.4:
	ldr	x8, [x19, #8]!
	cbnz	x8, LBB0_8
	b	LBB0_9
LBB0_5:
	str	xzr, [x19]
	ldr	x8, [x19, #8]!
	cbnz	x8, LBB0_9
; %bb.6:
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19]
Lloh6:
	adrp	x0, _vm_pageout_oom_vote@GOTPAGE
Lloh7:
	ldr	x0, [x0, _vm_pageout_oom_vote@GOTPAGEOFF]
	mov	w1, #1
	bl	_atomic_fetchadd_int
Lloh8:
	adrp	x8, _vm_ndomains@GOTPAGE
Lloh9:
	ldr	x8, [x8, _vm_ndomains@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	sub	w8, w8, #1
	cmp	w0, w8
	b.ne	LBB0_9
; %bb.7:
Lloh11:
	adrp	x8, _VM_OOM_MEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VM_OOM_MEM@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_vm_pageout_oom
LBB0_8:
Lloh14:
	adrp	x8, _FALSE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	str	x8, [x19]
Lloh17:
	adrp	x0, _vm_pageout_oom_vote@GOTPAGE
Lloh18:
	ldr	x0, [x0, _vm_pageout_oom_vote@GOTPAGEOFF]
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_atomic_subtract_int
LBB0_9:
	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	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_vm_pageout_oom_seq,8,3         ; @vm_pageout_oom_seq
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_vm_pageout_oom_vote,4,2        ; @vm_pageout_oom_vote
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_vm_ndomains,4,2                ; @vm_ndomains
	.comm	_VM_OOM_MEM,4,2                 ; @VM_OOM_MEM
	.no_dead_strip	_vm_pageout_mightbe_oom
.subsections_via_symbols
