	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmci_get_context_id            ## -- Begin function vmci_get_context_id
	.p2align	4, 0x90
_vmci_get_context_id:                   ## @vmci_get_context_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_vmci_guest_code_active
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_vmci_get_vm_context_id         ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	callq	_vmci_host_code_active
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_VMCI_HOST_CONTEXT_ID@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_VMCI_INVALID_ID@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VMCI_HOST_CONTEXT_ID,4,2       ## @VMCI_HOST_CONTEXT_ID
	.comm	_VMCI_INVALID_ID,4,2            ## @VMCI_INVALID_ID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmci_get_context_id            ; -- Begin function vmci_get_context_id
	.p2align	2
_vmci_get_context_id:                   ; @vmci_get_context_id
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_vmci_guest_code_active
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_vmci_get_vm_context_id
LBB0_2:
	bl	_vmci_host_code_active
	cbz	x0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _VMCI_HOST_CONTEXT_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VMCI_HOST_CONTEXT_ID@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _VMCI_INVALID_ID@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VMCI_INVALID_ID@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_VMCI_HOST_CONTEXT_ID,4,2       ; @VMCI_HOST_CONTEXT_ID
	.comm	_VMCI_INVALID_ID,4,2            ; @VMCI_INVALID_ID
.subsections_via_symbols
