	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmci_ctx_rcv_notifications_release ## -- Begin function vmci_ctx_rcv_notifications_release
	.p2align	4, 0x90
_vmci_ctx_rcv_notifications_release:    ## @vmci_ctx_rcv_notifications_release
	.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, %ebx
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rsi, -48(%rbp)
	callq	_vmci_ctx_get
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_spin_lock
	testl	%ebx, %ebx
	je	LBB0_1
## %bb.8:
	movq	%r15, %rdi
	callq	_ctx_clear_notify_call
	jmp	LBB0_9
LBB0_1:
	movq	8(%r15), %rdi
	callq	_vmci_handle_arr_remove_tail
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_vmci_handle_is_invalid
	testl	%eax, %eax
	je	LBB0_2
LBB0_7:
	movq	8(%r15), %rdi
	callq	_vmci_handle_arr_destroy
	movq	-48(%rbp), %rax
	movq	%rax, 8(%r15)
	movq	$0, -48(%rbp)
LBB0_9:
	movq	%r15, %rdi
	callq	_spin_unlock
	movq	%r15, %rdi
	callq	_vmci_ctx_put
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	callq	_vmci_handle_arr_destroy
LBB0_11:
	testq	%r14, %r14
	je	LBB0_13
## %bb.12:
	movq	%r14, %rdi
	callq	_vmci_handle_arr_destroy
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	-48(%rbp), %r13
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_vmci_handle_arr_has_entry
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_vmci_handle_arr_append_entry
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r15), %rdi
	callq	_vmci_handle_arr_remove_tail
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_vmci_handle_is_invalid
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %r12
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmci_ctx_rcv_notifications_release ; -- Begin function vmci_ctx_rcv_notifications_release
	.p2align	2
_vmci_ctx_rcv_notifications_release:    ; @vmci_ctx_rcv_notifications_release
	.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
	mov	x22, x3
	mov	x19, x2
	mov	x21, x1
	str	x1, [sp, #8]
	bl	_vmci_ctx_get
	mov	x20, x0
	bl	_spin_lock
	cbz	w22, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_ctx_clear_notify_call
	b	LBB0_8
LBB0_2:
	ldr	x0, [x20, #8]
	bl	_vmci_handle_arr_remove_tail
	mov	w22, w0
	mov	x0, x22
	bl	_vmci_handle_is_invalid
	cbnz	w0, LBB0_7
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x21, [sp, #8]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_vmci_handle_arr_has_entry
	cbnz	w0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #8
	mov	x1, x22
	bl	_vmci_handle_arr_append_entry
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x20, #8]
	bl	_vmci_handle_arr_remove_tail
	mov	w22, w0
	mov	x0, x22
	bl	_vmci_handle_is_invalid
	cbz	w0, LBB0_3
LBB0_7:
	ldr	x0, [x20, #8]
	bl	_vmci_handle_arr_destroy
	ldr	x8, [sp, #8]
	str	x8, [x20, #8]
	str	xzr, [sp, #8]
LBB0_8:
	mov	x0, x20
	bl	_spin_unlock
	mov	x0, x20
	bl	_vmci_ctx_put
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_vmci_handle_arr_destroy
LBB0_10:
	cbz	x19, LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_vmci_handle_arr_destroy
LBB0_12:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
