	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_svm_init                 ## -- Begin function intel_svm_init
	.p2align	4, 0x90
_intel_svm_init:                        ## @intel_svm_init
	.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
	movq	_X86_FEATURE_GBPAGES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_feature_enabled
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	callq	_cap_fl1gp_support
	testl	%eax, %eax
	je	LBB0_4
LBB0_2:
	movq	_X86_FEATURE_LA57@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_feature_enabled
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	(%r14), %edi
	callq	_cap_5lp_support
	testl	%eax, %eax
	jne	LBB0_5
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X86_FEATURE_GBPAGES,4,2        ## @X86_FEATURE_GBPAGES
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_X86_FEATURE_LA57,4,2           ## @X86_FEATURE_LA57
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_svm_init                 ; -- Begin function intel_svm_init
	.p2align	2
_intel_svm_init:                        ; @intel_svm_init
	.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
Lloh0:
	adrp	x8, _X86_FEATURE_GBPAGES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _X86_FEATURE_GBPAGES@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_feature_enabled
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19]
	bl	_cap_fl1gp_support
	cbz	w0, LBB0_5
LBB0_2:
Lloh3:
	adrp	x8, _X86_FEATURE_LA57@GOTPAGE
Lloh4:
	ldr	x8, [x8, _X86_FEATURE_LA57@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_cpu_feature_enabled
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w0, [x19]
	bl	_cap_5lp_support
	cbz	w0, LBB0_5
; %bb.4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_X86_FEATURE_GBPAGES,4,2        ; @X86_FEATURE_GBPAGES
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_X86_FEATURE_LA57,4,2           ; @X86_FEATURE_LA57
.subsections_via_symbols
