	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function centaur_validate_add_page
_centaur_validate_add_page:             ## @centaur_validate_add_page
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MTRR_TYPE_WRCOMB@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	%edx, (%rcx)
	je	LBB0_4
## %bb.1:
	movq	_centaur_mcr_type@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	movq	_MTRR_TYPE_UNCACHABLE@GOTPCREL(%rip), %rsi
	cmpl	%edx, (%rsi)
	jne	LBB0_3
LBB0_4:
	popq	%rbp
	retq
LBB0_3:
	testq	%rcx, %rcx
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str(%rip), %rdi
	callq	_pr_warning
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MTRR_TYPE_WRCOMB,4,2           ## @MTRR_TYPE_WRCOMB
	.comm	_centaur_mcr_type,8,3           ## @centaur_mcr_type
	.comm	_MTRR_TYPE_UNCACHABLE,4,2       ## @MTRR_TYPE_UNCACHABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mtrr: only write-combining%s supported\n"

L_.str.1:                               ## @.str.1
	.asciz	" and uncacheable are"

L_.str.2:                               ## @.str.2
	.asciz	" is"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_centaur_validate_add_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function centaur_validate_add_page
_centaur_validate_add_page:             ; @centaur_validate_add_page
	.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
Lloh0:
	adrp	x8, _MTRR_TYPE_WRCOMB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MTRR_TYPE_WRCOMB@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _centaur_mcr_type@GOTPAGE
Lloh4:
	ldr	x8, [x8, _centaur_mcr_type@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _MTRR_TYPE_UNCACHABLE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MTRR_TYPE_UNCACHABLE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	x8, #0
	ccmp	w9, w2, #0, ne
	b.eq	LBB0_3
; %bb.2:
Lloh9:
	adrp	x9, l_.str.1@PAGE
Lloh10:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh11:
	adrp	x10, l_.str.2@PAGE
Lloh12:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x1, x10, x9, eq
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_warning
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MTRR_TYPE_WRCOMB,4,2           ; @MTRR_TYPE_WRCOMB
	.comm	_centaur_mcr_type,8,3           ; @centaur_mcr_type
	.comm	_MTRR_TYPE_UNCACHABLE,4,2       ; @MTRR_TYPE_UNCACHABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mtrr: only write-combining%s supported\n"

l_.str.1:                               ; @.str.1
	.asciz	" and uncacheable are"

l_.str.2:                               ; @.str.2
	.asciz	" is"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_centaur_validate_add_page
.subsections_via_symbols
