	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_smp_rendezvous              ## -- Begin function vm_smp_rendezvous
	.p2align	4, 0x90
_vm_smp_rendezvous:                     ## @vm_smp_rendezvous
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%edx, %r13d
	movl	%esi, %r14d
	movq	%rdi, %r12
	movl	%edx, -44(%rbp)
	movq	_WARN_PANIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_WITNESS_WARN
	cmpl	$-1, %r14d
	je	LBB0_1
## %bb.2:
	testl	%r14d, %r14d
	js	LBB0_4
## %bb.3:
	xorl	%ebx, %ebx
	cmpl	%r14d, (%r12)
	setg	%bl
	jmp	LBB0_4
LBB0_1:
	movl	$1, %ebx
LBB0_4:
	movslq	%r14d, %rsi
	movl	%ebx, %edi
	callq	_KASSERT
	leaq	4(%r12), %r15
	movq	%r15, %rdi
	callq	_mtx_lock
	cmpq	$0, 8(%r12)
	je	LBB0_7
## %bb.5:
	leaq	L_.str.2(%rip), %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	callq	_RENDEZVOUS_CTR0
	movq	%r15, %rdi
	callq	_mtx_unlock
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_vm_handle_rendezvous
	movq	%r15, %rdi
	callq	_mtx_lock
	cmpq	$0, 8(%r12)
	jne	LBB0_6
LBB0_7:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	callq	_KASSERT
	leaq	L_.str.4(%rip), %rdx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_RENDEZVOUS_CTR0
	movl	%r13d, 28(%r12)
	leaq	24(%r12), %rdi
	callq	_CPU_ZERO
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 16(%r12)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r12)
	movq	%r15, %rdi
	callq	_mtx_unlock
	cmpl	$0, (%r12)
	jle	LBB0_12
## %bb.8:
	xorl	%ebx, %ebx
	leaq	-44(%rbp), %r15
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	incl	%ebx
	cmpl	(%r12), %ebx
	jge	LBB0_12
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_CPU_ISSET
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_vcpu_notify_event
	jmp	LBB0_11
LBB0_12:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_vm_handle_rendezvous
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WARN_PANIC,4,2                 ## @WARN_PANIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vm_smp_rendezvous"

L_.str.2:                               ## @.str.2
	.asciz	"Rendezvous already in progress"

L_.str.3:                               ## @.str.3
	.asciz	"vm_smp_rendezvous: previous rendezvous is still in progress"

L_.str.4:                               ## @.str.4
	.asciz	"Initiating rendezvous"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_smp_rendezvous              ; -- Begin function vm_smp_rendezvous
	.p2align	2
_vm_smp_rendezvous:                     ; @vm_smp_rendezvous
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x4
	mov	x21, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	str	w2, [sp, #12]
Lloh0:
	adrp	x8, _WARN_PANIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WARN_PANIC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, #0
	bl	_WITNESS_WARN
	cmn	w19, #1
	b.eq	LBB0_3
; %bb.1:
	tbnz	w19, #31, LBB0_4
; %bb.2:
	ldr	w8, [x20]
	cmp	w8, w19
	cset	w0, gt
	b	LBB0_5
LBB0_3:
	mov	w0, #1
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	sxtw	x1, w19
	bl	_KASSERT
	add	x24, x20, #4
	mov	x0, x24
	bl	_mtx_lock
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_8
; %bb.6:
Lloh5:
	adrp	x25, l_.str.2@PAGE
Lloh6:
	add	x25, x25, l_.str.2@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x25
	bl	_RENDEZVOUS_CTR0
	mov	x0, x24
	bl	_mtx_unlock
	mov	x0, x20
	mov	x1, x19
	bl	_vm_handle_rendezvous
	mov	x0, x24
	bl	_mtx_lock
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_7
LBB0_8:
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_KASSERT
Lloh9:
	adrp	x2, l_.str.4@PAGE
Lloh10:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_RENDEZVOUS_CTR0
	str	w23, [x20, #28]
	add	x0, x20, #24
	bl	_CPU_ZERO
	stp	x21, x22, [x20, #8]
	mov	x0, x24
	bl	_mtx_unlock
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.9:
	mov	w21, #0
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	w21, w21, #1
	ldr	w8, [x20]
	cmp	w21, w8
	b.ge	LBB0_13
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #12
	mov	x0, x21
	bl	_CPU_ISSET
	cbz	x0, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	bl	_vcpu_notify_event
	b	LBB0_10
LBB0_13:
	mov	x0, x20
	mov	x1, x19
	bl	_vm_handle_rendezvous
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_WARN_PANIC,4,2                 ; @WARN_PANIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vm_smp_rendezvous"

l_.str.2:                               ; @.str.2
	.asciz	"Rendezvous already in progress"

l_.str.3:                               ; @.str.3
	.asciz	"vm_smp_rendezvous: previous rendezvous is still in progress"

l_.str.4:                               ; @.str.4
	.asciz	"Initiating rendezvous"

.subsections_via_symbols
