	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_svm_info
_print_svm_info:                        ## @print_svm_info
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	leaq	-48(%rbp), %rsi
	movl	$-2147483638, %edi              ## imm = 0x8000000A
	callq	_do_cpuid
	movl	-36(%rbp), %r14d
	movq	_MSR_VM_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rdmsr
	movq	_VM_CR_SVMDIS@GOTPCREL(%rip), %rcx
	notl	%eax
	testl	%eax, (%rcx)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_2:
	movq	_bootverbose@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.15:
	leaq	L_.str.10(%rip), %rdi
	leaq	L_.str.11(%rip), %rdx
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_printf
	movzbl	-48(%rbp), %esi
	movl	-44(%rbp), %edx
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_16
LBB0_3:
	xorl	%eax, %eax
	testb	$1, %r14b
	jne	LBB0_4
## %bb.5:
	testb	$8, %r14b
	jne	LBB0_6
LBB0_7:
	testb	$32, %r14b
	jne	LBB0_8
LBB0_9:
	testb	$64, %r14b
	je	LBB0_11
LBB0_10:
	testl	%eax, %eax
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	$1, %eax
LBB0_11:
	testl	%eax, %eax
	leaq	L_.str.4(%rip), %rsi
	leaq	L_.str.3(%rip), %rbx
	cmovneq	%rbx, %rsi
	testb	$-128, %r14b
	jne	LBB0_13
## %bb.12:
	movq	%rsi, %rbx
	jmp	LBB0_14
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_printf
	movl	$1, %eax
	testb	$8, %r14b
	je	LBB0_7
LBB0_6:
	testb	$1, %r14b
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	$1, %eax
	testb	$32, %r14b
	je	LBB0_9
LBB0_8:
	testl	%eax, %eax
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	$1, %eax
	testb	$64, %r14b
	jne	LBB0_10
	jmp	LBB0_11
LBB0_13:
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_14:
	movl	-44(%rbp), %edx
	leaq	L_.str.9(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_printf
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n  SVM: "

	.comm	_MSR_VM_CR,4,2                  ## @MSR_VM_CR
	.comm	_VM_CR_SVMDIS,4,2               ## @VM_CR_SVMDIS
L_.str.1:                               ## @.str.1
	.asciz	"(disabled in BIOS) "

	.comm	_bootverbose,4,2                ## @bootverbose
L_.str.2:                               ## @.str.2
	.asciz	"%sNP"

L_.str.3:                               ## @.str.3
	.asciz	","

L_.str.4:                               ## @.str.4
	.space	1

L_.str.5:                               ## @.str.5
	.asciz	"%sNRIP"

L_.str.6:                               ## @.str.6
	.asciz	"%sVClean"

L_.str.7:                               ## @.str.7
	.asciz	"%sAFlush"

L_.str.8:                               ## @.str.8
	.asciz	"%sDAssist"

L_.str.9:                               ## @.str.9
	.asciz	"%sNAsids=%d"

L_.str.10:                              ## @.str.10
	.asciz	"Features=0x%b"

L_.str.11:                              ## @.str.11
	.asciz	"\020\001NP\002LbrVirt\003SVML\004NRIPS\005TscRateMsr\006VmcbClean\007FlushByAsid\bDecodeAssist\t<b8>\n<b9>\013PauseFilter\fEncryptedMcodePatch\rPauseFilterThreshold\016AVIC\017<b14>\020V_VMSAVE_VMLOAD\021vGIF\022GMET\023<b18>\024<b19>\025<b20>\026<b21>\027<b22>\030<b23>\031<b24>\032<b25>\033<b26>\034<b27>\035<b28>\036<b29>\037<b30> <b31>"

L_.str.12:                              ## @.str.12
	.asciz	"\nRevision=%d, ASIDs=%d"

	.no_dead_strip	_print_svm_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_svm_info
_print_svm_info:                        ; @print_svm_info
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	add	x1, sp, #24
	mov	w0, #10
	movk	w0, #32768, lsl #16
	bl	_do_cpuid
	ldr	w19, [sp, #36]
Lloh5:
	adrp	x8, _MSR_VM_CR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSR_VM_CR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_rdmsr
Lloh8:
	adrp	x8, _VM_CR_SVMDIS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VM_CR_SVMDIS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	bics	wzr, w8, w0
	b.ne	LBB0_2
; %bb.1:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
LBB0_2:
Lloh13:
	adrp	x8, _bootverbose@GOTPAGE
Lloh14:
	ldr	x8, [x8, _bootverbose@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.3:
Lloh16:
	adrp	x8, l_.str.11@PAGE
Lloh17:
	add	x8, x8, l_.str.11@PAGEOFF
	stp	x19, x8, [sp]
Lloh18:
	adrp	x0, l_.str.10@PAGE
Lloh19:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_printf
	ldrb	w8, [sp, #24]
	ldr	w9, [sp, #28]
	stp	x8, x9, [sp]
Lloh20:
	adrp	x0, l_.str.12@PAGE
Lloh21:
	add	x0, x0, l_.str.12@PAGEOFF
	b	LBB0_14
LBB0_4:
Lloh22:
	adrp	x20, l_.str.4@PAGE
Lloh23:
	add	x20, x20, l_.str.4@PAGEOFF
	tbnz	w19, #0, LBB0_6
; %bb.5:
	mov	w8, #0
	b	LBB0_7
LBB0_6:
	str	x20, [sp]
Lloh24:
	adrp	x0, l_.str.2@PAGE
Lloh25:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	mov	w8, #1
LBB0_7:
Lloh26:
	adrp	x21, l_.str.3@PAGE
Lloh27:
	add	x21, x21, l_.str.3@PAGEOFF
	tbnz	w19, #3, LBB0_16
; %bb.8:
	tbnz	w19, #5, LBB0_17
LBB0_9:
	tbz	w19, #6, LBB0_11
LBB0_10:
	cmp	w8, #0
	csel	x8, x20, x21, eq
	str	x8, [sp]
Lloh28:
	adrp	x0, l_.str.7@PAGE
Lloh29:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printf
	mov	w8, #1
LBB0_11:
	cmp	w8, #0
	csel	x8, x20, x21, eq
	tbz	w19, #7, LBB0_13
; %bb.12:
	str	x8, [sp]
Lloh30:
	adrp	x0, l_.str.8@PAGE
Lloh31:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printf
Lloh32:
	adrp	x8, l_.str.3@PAGE
Lloh33:
	add	x8, x8, l_.str.3@PAGEOFF
LBB0_13:
	ldr	w9, [sp, #28]
	stp	x8, x9, [sp]
Lloh34:
	adrp	x0, l_.str.9@PAGE
Lloh35:
	add	x0, x0, l_.str.9@PAGEOFF
LBB0_14:
	bl	_printf
	ldr	x8, [sp, #40]
Lloh36:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh37:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.15:
	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
LBB0_16:
	tst	w19, #0x1
	csel	x8, x20, x21, eq
	str	x8, [sp]
Lloh39:
	adrp	x0, l_.str.5@PAGE
Lloh40:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	mov	w8, #1
	tbz	w19, #5, LBB0_9
LBB0_17:
	cmp	w8, #0
	csel	x8, x20, x21, eq
	str	x8, [sp]
Lloh41:
	adrp	x0, l_.str.6@PAGE
Lloh42:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
	mov	w8, #1
	tbnz	w19, #6, LBB0_10
	b	LBB0_11
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n  SVM: "

	.comm	_MSR_VM_CR,4,2                  ; @MSR_VM_CR
	.comm	_VM_CR_SVMDIS,4,2               ; @VM_CR_SVMDIS
l_.str.1:                               ; @.str.1
	.asciz	"(disabled in BIOS) "

	.comm	_bootverbose,4,2                ; @bootverbose
l_.str.2:                               ; @.str.2
	.asciz	"%sNP"

l_.str.3:                               ; @.str.3
	.asciz	","

l_.str.4:                               ; @.str.4
	.space	1

l_.str.5:                               ; @.str.5
	.asciz	"%sNRIP"

l_.str.6:                               ; @.str.6
	.asciz	"%sVClean"

l_.str.7:                               ; @.str.7
	.asciz	"%sAFlush"

l_.str.8:                               ; @.str.8
	.asciz	"%sDAssist"

l_.str.9:                               ; @.str.9
	.asciz	"%sNAsids=%d"

l_.str.10:                              ; @.str.10
	.asciz	"Features=0x%b"

l_.str.11:                              ; @.str.11
	.asciz	"\020\001NP\002LbrVirt\003SVML\004NRIPS\005TscRateMsr\006VmcbClean\007FlushByAsid\bDecodeAssist\t<b8>\n<b9>\013PauseFilter\fEncryptedMcodePatch\rPauseFilterThreshold\016AVIC\017<b14>\020V_VMSAVE_VMLOAD\021vGIF\022GMET\023<b18>\024<b19>\025<b20>\026<b21>\027<b22>\030<b23>\031<b24>\032<b25>\033<b26>\034<b27>\035<b28>\036<b29>\037<b30> <b31>"

l_.str.12:                              ; @.str.12
	.asciz	"\nRevision=%d, ASIDs=%d"

	.no_dead_strip	_print_svm_info
.subsections_via_symbols
