	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vm_object_collapse_scan_wait
_vm_object_collapse_scan_wait:          ## @vm_object_collapse_scan_wait
	.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
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_VM_OBJECT_ASSERT_WLOCKED
	movq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_VM_OBJECT_ASSERT_WLOCKED
	movl	$1, %edi
	testq	%r15, %r15
	je	LBB0_3
## %bb.1:
	movq	(%r15), %rax
	cmpq	%rbx, %rax
	je	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	cmpq	%r14, %rax
	sete	%dil
LBB0_3:
	movq	%r14, %rsi
	callq	_KASSERT
	movq	_OBSC_COLLAPSE_NOWAIT@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_4
## %bb.11:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	testq	%r15, %r15
	je	LBB0_5
## %bb.6:
	cmpq	%rbx, (%r15)
	je	LBB0_7
## %bb.8:
	movq	%rbx, %rdi
	jmp	LBB0_9
LBB0_5:
	xorl	%eax, %eax
	callq	_vm_radix_wait
	jmp	LBB0_10
LBB0_7:
	movq	%r14, %rdi
LBB0_9:
	callq	_VM_OBJECT_WUNLOCK
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_vm_page_busy_sleep
LBB0_10:
	movq	%rbx, %rdi
	callq	_VM_OBJECT_WLOCK
	movq	%r14, %rdi
	callq	_VM_OBJECT_WLOCK
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_TAILQ_FIRST                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OBSC_COLLAPSE_NOWAIT,4,2       ## @OBSC_COLLAPSE_NOWAIT
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"vmocol"

	.no_dead_strip	_vm_object_collapse_scan_wait
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vm_object_collapse_scan_wait
_vm_object_collapse_scan_wait:          ; @vm_object_collapse_scan_wait
	.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
	mov	x23, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	bl	_VM_OBJECT_ASSERT_WLOCKED
	ldr	x19, [x20, #8]
	mov	x0, x19
	bl	_VM_OBJECT_ASSERT_WLOCKED
	cbz	x21, LBB0_2
; %bb.1:
	ldr	x8, [x21]
	mov	w9, #1
	cmp	x8, x19
	cset	w10, eq
	cmp	x8, x20
	csel	w0, w9, w10, eq
	b	LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
	mov	x1, x19
	bl	_KASSERT
Lloh0:
	adrp	x8, _OBSC_COLLAPSE_NOWAIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OBSC_COLLAPSE_NOWAIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x22
	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
	ret
LBB0_5:
	cbz	x21, LBB0_8
; %bb.6:
	ldr	x8, [x21]
	cmp	x8, x20
	b.eq	LBB0_9
; %bb.7:
	mov	x0, x20
	b	LBB0_10
LBB0_8:
	bl	_vm_radix_wait
	b	LBB0_11
LBB0_9:
	mov	x0, x19
LBB0_10:
	bl	_VM_OBJECT_WUNLOCK
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	w2, #0
	bl	_vm_page_busy_sleep
LBB0_11:
	mov	x0, x20
	bl	_VM_OBJECT_WLOCK
	mov	x0, x19
	bl	_VM_OBJECT_WLOCK
	mov	x0, x19
	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	_TAILQ_FIRST
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_OBSC_COLLAPSE_NOWAIT,4,2       ; @OBSC_COLLAPSE_NOWAIT
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"vmocol"

	.no_dead_strip	_vm_object_collapse_scan_wait
.subsections_via_symbols
