	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function running_on_hyperv
_running_on_hyperv:                     ## @running_on_hyperv
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	leaq	-48(%rbp), %rsi
	movl	$1, %edi
	callq	_do_cpuid
	movq	_CPUID2_HV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ebx, %ebx
	testl	%eax, -40(%rbp)
	je	LBB0_6
## %bb.1:
	movq	_CPUID_LEAF_HV_MAXLEAF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	callq	_do_cpuid
	movl	-48(%rbp), %eax
	movq	_CPUID_LEAF_HV_LIMITS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_6
## %bb.2:
	movl	-44(%rbp), %eax
	movl	%eax, -32(%rbp)
	movq	-40(%rbp), %rax
	movq	%rax, -28(%rbp)
	movb	$0, -20(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movq	_CPUID_LEAF_HV_INTERFACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	callq	_do_cpuid
	movl	-48(%rbp), %eax
	movq	_CPUID_HV_IFACE_HYPERV@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
## %bb.4:
	movq	_CPUID_LEAF_HV_FEATURES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	callq	_do_cpuid
	movl	-48(%rbp), %eax
	movq	_CPUID_HV_MSR_HYPERCALL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	_CPUID_HV_MSR_TIME_REFCNT@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	testl	%eax, (%rcx)
	setne	%bl
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CPUID2_HV,4,2                  ## @CPUID2_HV
	.comm	_CPUID_LEAF_HV_MAXLEAF,4,2      ## @CPUID_LEAF_HV_MAXLEAF
	.comm	_CPUID_LEAF_HV_LIMITS,4,2       ## @CPUID_LEAF_HV_LIMITS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Microsoft Hv"

	.comm	_CPUID_LEAF_HV_INTERFACE,4,2    ## @CPUID_LEAF_HV_INTERFACE
	.comm	_CPUID_HV_IFACE_HYPERV,4,2      ## @CPUID_HV_IFACE_HYPERV
	.comm	_CPUID_LEAF_HV_FEATURES,4,2     ## @CPUID_LEAF_HV_FEATURES
	.comm	_CPUID_HV_MSR_HYPERCALL,4,2     ## @CPUID_HV_MSR_HYPERCALL
	.comm	_CPUID_HV_MSR_TIME_REFCNT,4,2   ## @CPUID_HV_MSR_TIME_REFCNT
	.no_dead_strip	_running_on_hyperv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function running_on_hyperv
_running_on_hyperv:                     ; @running_on_hyperv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
	add	x1, sp, #8
	mov	w0, #1
	bl	_do_cpuid
	ldr	w8, [sp, #16]
Lloh3:
	adrp	x9, _CPUID2_HV@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CPUID2_HV@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _CPUID_LEAF_HV_MAXLEAF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CPUID_LEAF_HV_MAXLEAF@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_do_cpuid
	ldr	w8, [sp, #8]
Lloh9:
	adrp	x9, _CPUID_LEAF_HV_LIMITS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CPUID_LEAF_HV_LIMITS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_3
LBB0_2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	ldur	d0, [sp, #12]
	str	d0, [sp, #24]
	ldr	w8, [sp, #20]
	str	w8, [sp, #32]
	strb	wzr, [sp, #36]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #24
	bl	_strcmp
	mov	x8, x0
	mov	w0, #0
	cbz	x8, LBB0_6
LBB0_4:
	ldur	x8, [x29, #-8]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
Lloh17:
	adrp	x8, _CPUID_LEAF_HV_INTERFACE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CPUID_LEAF_HV_INTERFACE@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_do_cpuid
	ldr	w8, [sp, #8]
Lloh20:
	adrp	x9, _CPUID_HV_IFACE_HYPERV@GOTPAGE
Lloh21:
	ldr	x9, [x9, _CPUID_HV_IFACE_HYPERV@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.7:
Lloh23:
	adrp	x8, _CPUID_LEAF_HV_FEATURES@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CPUID_LEAF_HV_FEATURES@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_do_cpuid
	ldr	w8, [sp, #8]
Lloh26:
	adrp	x9, _CPUID_HV_MSR_HYPERCALL@GOTPAGE
Lloh27:
	ldr	x9, [x9, _CPUID_HV_MSR_HYPERCALL@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.8:
Lloh29:
	adrp	x9, _CPUID_HV_MSR_TIME_REFCNT@GOTPAGE
Lloh30:
	ldr	x9, [x9, _CPUID_HV_MSR_TIME_REFCNT@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
	b	LBB0_4
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_CPUID2_HV,4,2                  ; @CPUID2_HV
	.comm	_CPUID_LEAF_HV_MAXLEAF,4,2      ; @CPUID_LEAF_HV_MAXLEAF
	.comm	_CPUID_LEAF_HV_LIMITS,4,2       ; @CPUID_LEAF_HV_LIMITS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Microsoft Hv"

	.comm	_CPUID_LEAF_HV_INTERFACE,4,2    ; @CPUID_LEAF_HV_INTERFACE
	.comm	_CPUID_HV_IFACE_HYPERV,4,2      ; @CPUID_HV_IFACE_HYPERV
	.comm	_CPUID_LEAF_HV_FEATURES,4,2     ; @CPUID_LEAF_HV_FEATURES
	.comm	_CPUID_HV_MSR_HYPERCALL,4,2     ; @CPUID_HV_MSR_HYPERCALL
	.comm	_CPUID_HV_MSR_TIME_REFCNT,4,2   ; @CPUID_HV_MSR_TIME_REFCNT
	.no_dead_strip	_running_on_hyperv
.subsections_via_symbols
