	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dg_dispatch_as_guest
_dg_dispatch_as_guest:                  ## @dg_dispatch_as_guest
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	(%rdi), %edi
	movq	_VMCI_RESOURCE_TYPE_DATAGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_vmci_resource_by_handle
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_vmci_send_datagram
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_vmci_resource_put
	movl	%r14d, %eax
	jmp	LBB0_2
LBB0_1:
	movq	_VMCI_ERROR_NO_HANDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VMCI_RESOURCE_TYPE_DATAGRAM,4,2 ## @VMCI_RESOURCE_TYPE_DATAGRAM
	.comm	_VMCI_ERROR_NO_HANDLE,4,2       ## @VMCI_ERROR_NO_HANDLE
	.no_dead_strip	_dg_dispatch_as_guest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dg_dispatch_as_guest
_dg_dispatch_as_guest:                  ; @dg_dispatch_as_guest
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _VMCI_RESOURCE_TYPE_DATAGRAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VMCI_RESOURCE_TYPE_DATAGRAM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_vmci_resource_by_handle
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	bl	_vmci_send_datagram
	mov	x19, x0
	mov	x0, x20
	bl	_vmci_resource_put
	mov	x0, x19
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _VMCI_ERROR_NO_HANDLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VMCI_ERROR_NO_HANDLE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_VMCI_RESOURCE_TYPE_DATAGRAM,4,2 ; @VMCI_RESOURCE_TYPE_DATAGRAM
	.comm	_VMCI_ERROR_NO_HANDLE,4,2       ; @VMCI_ERROR_NO_HANDLE
	.no_dead_strip	_dg_dispatch_as_guest
.subsections_via_symbols
