	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qp_notify_peer_local
_qp_notify_peer_local:                  ## @qp_notify_peer_local
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %r15d
	xorl	%eax, %eax
	callq	_vmci_get_context_id
	movl	%eax, %ebx
	movq	_VMCI_EVENT_HANDLER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_vmci_make_handle
	movq	%rax, -48(%rbp)
	movq	_VMCI_HYPERVISOR_CONTEXT_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_VMCI_CONTEXT_RESOURCE_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_vmci_make_handle
	movq	%rax, -56(%rbp)
	movl	$16, -64(%rbp)
	testl	%r15d, %r15d
	jne	LBB0_1
## %bb.2:
	movq	_VMCI_EVENT_QP_PEER_DETACH@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_VMCI_EVENT_QP_PEER_ATTACH@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movl	%ebx, -28(%rbp)
	movl	%r14d, -32(%rbp)
	leaq	-64(%rbp), %rdi
	callq	_vmci_event_dispatch
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VMCI_EVENT_HANDLER,4,2         ## @VMCI_EVENT_HANDLER
	.comm	_VMCI_HYPERVISOR_CONTEXT_ID,4,2 ## @VMCI_HYPERVISOR_CONTEXT_ID
	.comm	_VMCI_CONTEXT_RESOURCE_ID,4,2   ## @VMCI_CONTEXT_RESOURCE_ID
	.comm	_VMCI_EVENT_QP_PEER_ATTACH,4,2  ## @VMCI_EVENT_QP_PEER_ATTACH
	.comm	_VMCI_EVENT_QP_PEER_DETACH,4,2  ## @VMCI_EVENT_QP_PEER_DETACH
	.no_dead_strip	_qp_notify_peer_local
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qp_notify_peer_local
_qp_notify_peer_local:                  ; @qp_notify_peer_local
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x1
	mov	x20, x0
	bl	_vmci_get_context_id
	mov	x21, x0
Lloh0:
	adrp	x8, _VMCI_EVENT_HANDLER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VMCI_EVENT_HANDLER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_vmci_make_handle
	str	x0, [sp, #24]
Lloh3:
	adrp	x8, _VMCI_HYPERVISOR_CONTEXT_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VMCI_HYPERVISOR_CONTEXT_ID@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _VMCI_CONTEXT_RESOURCE_ID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VMCI_CONTEXT_RESOURCE_ID@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_vmci_make_handle
	str	x0, [sp, #16]
	mov	w8, #16
	str	w8, [sp, #8]
Lloh9:
	adrp	x8, _VMCI_EVENT_QP_PEER_ATTACH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VMCI_EVENT_QP_PEER_ATTACH@GOTPAGEOFF]
Lloh11:
	adrp	x9, _VMCI_EVENT_QP_PEER_DETACH@GOTPAGE
Lloh12:
	ldr	x9, [x9, _VMCI_EVENT_QP_PEER_DETACH@GOTPAGEOFF]
	cmp	w20, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	stp	w19, w21, [sp, #40]
	str	w8, [sp, #32]
	add	x0, sp, #8
	bl	_vmci_event_dispatch
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VMCI_EVENT_HANDLER,4,2         ; @VMCI_EVENT_HANDLER
	.comm	_VMCI_HYPERVISOR_CONTEXT_ID,4,2 ; @VMCI_HYPERVISOR_CONTEXT_ID
	.comm	_VMCI_CONTEXT_RESOURCE_ID,4,2   ; @VMCI_CONTEXT_RESOURCE_ID
	.comm	_VMCI_EVENT_QP_PEER_ATTACH,4,2  ; @VMCI_EVENT_QP_PEER_ATTACH
	.comm	_VMCI_EVENT_QP_PEER_DETACH,4,2  ; @VMCI_EVENT_QP_PEER_DETACH
	.no_dead_strip	_qp_notify_peer_local
.subsections_via_symbols
