	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_page_trysbusy               ## -- Begin function vm_page_trysbusy
	.p2align	4, 0x90
_vm_page_trysbusy:                      ## @vm_page_trysbusy
	.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	8(%rdi), %rbx
	movl	(%rdi), %eax
	movl	%eax, -44(%rbp)
	movq	_VPB_BIT_SHARED@GOTPCREL(%rip), %r13
	xorl	%r14d, %r14d
	testl	%eax, (%r13)
	je	LBB0_11
## %bb.1:
	movq	%rdi, %r15
	movq	_VPB_ONE_SHARER@GOTPCREL(%rip), %r14
	leaq	-44(%rbp), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_vm_object_busied
	testq	%rax, %rax
	jne	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %eax
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	%eax, %rdx
	addq	(%r14), %rdx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_atomic_fcmpset_acq_int
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %eax
	testl	%eax, (%r13)
	jne	LBB0_2
	jmp	LBB0_10
LBB0_7:
	movq	8(%r15), %rdi
	movl	$1, %r14d
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.8:
	callq	_vm_object_busied
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	%r15, %rdi
	callq	_vm_page_sunbusy
LBB0_10:
	xorl	%r14d, %r14d
LBB0_11:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VPB_BIT_SHARED,4,2             ## @VPB_BIT_SHARED
	.comm	_VPB_ONE_SHARER,8,3             ## @VPB_ONE_SHARER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_page_trysbusy               ; -- Begin function vm_page_trysbusy
	.p2align	2
_vm_page_trysbusy:                      ; @vm_page_trysbusy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x20, [x0, #8]
	ldr	w8, [x0]
	str	w8, [sp, #12]
Lloh0:
	adrp	x21, _VPB_BIT_SHARED@GOTPAGE
Lloh1:
	ldr	x21, [x21, _VPB_BIT_SHARED@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x22, _VPB_ONE_SHARER@GOTPAGE
Lloh3:
	ldr	x22, [x22, _VPB_ONE_SHARER@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x20, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_vm_object_busied
	cbnz	x0, LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #12]
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x22]
	add	x2, x9, w8, sxtw
	add	x1, sp, #12
	mov	x0, x19
	bl	_atomic_fcmpset_acq_int
	cbnz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #12]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_2
	b	LBB0_10
LBB0_7:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_12
; %bb.8:
	bl	_vm_object_busied
	cbz	x0, LBB0_12
; %bb.9:
	mov	x0, x19
	bl	_vm_page_sunbusy
LBB0_10:
	mov	w0, #0
LBB0_11:
	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
	add	sp, sp, #64
	ret
LBB0_12:
	mov	w0, #1
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_VPB_BIT_SHARED,4,2             ; @VPB_BIT_SHARED
	.comm	_VPB_ONE_SHARER,8,3             ; @VPB_ONE_SHARER
.subsections_via_symbols
