	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x86_mtrrtype
_x86_mtrrtype:                          ## @x86_mtrrtype
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MTRRTOMRTLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$-1, %eax
	testl	%r8d, %r8d
	jle	LBB0_6
## %bb.1:
	movq	_MDF_ATTRMASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edi
	movq	_x86_mtrrtomrt@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r9
	movq	_MDF_UNKNOWN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%esi, %esi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	cmpq	%rsi, %r8
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r9,%rsi,4), %edx
	cmpl	%ecx, %edx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edx, %edi
	jne	LBB0_4
## %bb.5:
	movl	%esi, %eax
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MDF_ATTRMASK,4,2               ## @MDF_ATTRMASK
	.comm	_MTRRTOMRTLEN,4,2               ## @MTRRTOMRTLEN
	.comm	_x86_mtrrtomrt,8,3              ## @x86_mtrrtomrt
	.comm	_MDF_UNKNOWN,4,2                ## @MDF_UNKNOWN
	.no_dead_strip	_x86_mtrrtype
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x86_mtrrtype
_x86_mtrrtype:                          ; @x86_mtrrtype
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _MTRRTOMRTLEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MTRRTOMRTLEN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x8, x0
	mov	x0, #0
Lloh3:
	adrp	x10, _MDF_ATTRMASK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MDF_ATTRMASK@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	and	w8, w10, w8
Lloh6:
	adrp	x10, _x86_mtrrtomrt@GOTPAGE
Lloh7:
	ldr	x10, [x10, _x86_mtrrtomrt@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
Lloh9:
	adrp	x11, _MDF_UNKNOWN@GOTPAGE
Lloh10:
	ldr	x11, [x11, _MDF_UNKNOWN@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10, x0, lsl #2]
	cmp	w12, w11
	ccmp	w8, w12, #0, ne
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x0, #1
	cmp	x9, x0
	b.ne	LBB0_2
LBB0_4:
	mov	w0, #-1
LBB0_5:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MDF_ATTRMASK,4,2               ; @MDF_ATTRMASK
	.comm	_MTRRTOMRTLEN,4,2               ; @MTRRTOMRTLEN
	.comm	_x86_mtrrtomrt,8,3              ; @x86_mtrrtomrt
	.comm	_MDF_UNKNOWN,4,2                ; @MDF_UNKNOWN
	.no_dead_strip	_x86_mtrrtype
.subsections_via_symbols
