	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmci_guest_cid_update
_vmci_guest_cid_update:                 ## @vmci_guest_cid_update
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_vmci_event_data_const_payload
	movq	%rax, %r14
	movq	_ctx_update_sub_id@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_4
## %bb.1:
	testq	%r15, %r15
	je	LBB0_5
## %bb.2:
	movq	(%r14), %rdx
	movq	_VMCI_INVALID_ID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_3
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_devel                       ## TAILCALL
LBB0_4:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_devel                       ## TAILCALL
LBB0_3:
	movq	_vm_context_id@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movl	(%r15), %ecx
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_devel
	movq	(%r14), %rax
	movq	%rax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ctx_update_sub_id,8,3          ## @ctx_update_sub_id
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid subscriber (ID=0x%x)\n"

	.comm	_VMCI_INVALID_ID,8,3            ## @VMCI_INVALID_ID
L_.str.1:                               ## @.str.1
	.asciz	"Invalid event data\n"

L_.str.2:                               ## @.str.2
	.asciz	"Updating context from (ID=0x%x) to (ID=0x%x) on event (type=%d)\n"

	.comm	_vm_context_id,8,3              ## @vm_context_id
	.no_dead_strip	_vmci_guest_cid_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmci_guest_cid_update
_vmci_guest_cid_update:                 ; @vmci_guest_cid_update
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_vmci_event_data_const_payload
Lloh0:
	adrp	x8, _ctx_update_sub_id@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ctx_update_sub_id@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_4
; %bb.1:
	cbz	x20, LBB0_3
; %bb.2:
	mov	x19, x0
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _VMCI_INVALID_ID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VMCI_INVALID_ID@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
LBB0_3:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_pr_devel
LBB0_4:
	str	x21, [sp]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_devel
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x21, _vm_context_id@GOTPAGE
Lloh11:
	ldr	x21, [x21, _vm_context_id@GOTPAGEOFF]
	ldr	x9, [x21]
	ldr	w10, [x20]
	stp	x8, x10, [sp, #8]
	str	x9, [sp]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_devel
	ldr	x8, [x19]
	str	x8, [x21]
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ctx_update_sub_id,8,3          ; @ctx_update_sub_id
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid subscriber (ID=0x%x)\n"

	.comm	_VMCI_INVALID_ID,8,3            ; @VMCI_INVALID_ID
l_.str.1:                               ; @.str.1
	.asciz	"Invalid event data\n"

l_.str.2:                               ; @.str.2
	.asciz	"Updating context from (ID=0x%x) to (ID=0x%x) on event (type=%d)\n"

	.comm	_vm_context_id,8,3              ; @vm_context_id
	.no_dead_strip	_vmci_guest_cid_update
.subsections_via_symbols
