	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_page_busy_downgrade         ## -- Begin function vm_page_busy_downgrade
	.p2align	4, 0x90
_vm_page_busy_downgrade:                ## @vm_page_busy_downgrade
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_vm_page_assert_xbusied
	movl	(%rbx), %eax
	movl	%eax, -20(%rbp)
	leaq	-20(%rbp), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %edi
	callq	_VPB_SHARERS_WORD
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_atomic_fcmpset_rel_int
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_VPB_BIT_WAITERS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -20(%rbp)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_wakeup
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VPB_BIT_WAITERS,4,2            ## @VPB_BIT_WAITERS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_page_busy_downgrade         ; -- Begin function vm_page_busy_downgrade
	.p2align	2
_vm_page_busy_downgrade:                ; @vm_page_busy_downgrade
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_vm_page_assert_xbusied
	ldr	w8, [x19]
	str	w8, [sp, #12]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #1
	bl	_VPB_SHARERS_WORD
	mov	x2, x0
	add	x1, sp, #12
	mov	x0, x19
	bl	_atomic_fcmpset_rel_int
	cbz	x0, LBB0_1
; %bb.2:
	ldr	w8, [sp, #12]
Lloh0:
	adrp	x9, _VPB_BIT_WAITERS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VPB_BIT_WAITERS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_wakeup
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VPB_BIT_WAITERS,4,2            ; @VPB_BIT_WAITERS
.subsections_via_symbols
