	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x86_mrstoreone
_x86_mrstoreone:                        ## @x86_mrstoreone
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %r15
	xorl	%eax, %eax
	callq	_critical_enter
	xorl	%eax, %eax
	callq	_rcr4
	movq	_CR4_PGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	andl	%eax, %edi
	callq	_load_cr4
	xorl	%eax, %eax
	callq	_rcr0
	movq	_CR0_NW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	andl	%eax, %edi
	movq	_CR0_CD@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_load_cr0
	xorl	%eax, %eax
	callq	_wbinvd
	xorl	%eax, %eax
	callq	_invltlb
	movq	_MSR_MTRRdefType@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_rdmsr
	movq	_MTRR_DEF_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	%ebx, %edi
	callq	_wrmsr
	movq	_MR686_FIXMTRR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	testl	%eax, (%r14)
	je	LBB0_10
## %bb.1:
	movq	_MTRR_N64K@GOTPCREL(%rip), %rax
	cmpl	$8, (%rax)
	jl	LBB0_4
## %bb.2:
	movq	_MSR_MTRR64kBase@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%r12), %r13d
	movl	%r13d, %edi
	callq	_rdmsr
	movl	%eax, %ebx
	movl	84(%r15), %edi
	callq	_x86_mrt2mtrr
	movl	72(%r15), %edi
	callq	_x86_mrt2mtrr
	movl	60(%r15), %edi
	callq	_x86_mrt2mtrr
	movl	48(%r15), %edi
	callq	_x86_mrt2mtrr
	movl	36(%r15), %edi
	movl	%ebx, %esi
	sarl	$24, %esi
	callq	_x86_mrt2mtrr
	movl	%eax, %r14d
	movl	24(%r15), %edi
	movl	%ebx, %esi
	sarl	$16, %esi
	callq	_x86_mrt2mtrr
	shll	$16, %r14d
	shll	$8, %eax
	orl	%eax, %r14d
	movl	12(%r15), %edi
	movl	%ebx, %esi
	sarl	$8, %esi
	callq	_x86_mrt2mtrr
	orl	%eax, %r14d
	shll	$8, %r14d
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_x86_mrt2mtrr
	orl	%eax, %r14d
	movl	%r13d, %edi
	movl	%r14d, %esi
	callq	_wrmsr
	movq	_MTRR_N64K@GOTPCREL(%rip), %rax
	addq	$96, %r15
	incl	%r12d
	movl	(%rax), %eax
	leal	7(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$3, %ecx
	cmpl	%ecx, %r12d
	jl	LBB0_3
LBB0_4:
	movq	_MTRR_N16K@GOTPCREL(%rip), %rax
	cmpl	$8, (%rax)
	jl	LBB0_7
## %bb.5:
	movq	_MSR_MTRR16kBase@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%r12), %r13d
	movl	%r13d, %edi
	callq	_rdmsr
	movl	%eax, %r14d
	movl	84(%r15), %edi
	callq	_x86_mrt2mtrr
	movl	72(%r15), %edi
	callq	_x86_mrt2mtrr
	movl	60(%r15), %edi
	callq	_x86_mrt2mtrr
	movl	48(%r15), %edi
	callq	_x86_mrt2mtrr
	movl	36(%r15), %edi
	movl	%r14d, %esi
	sarl	$24, %esi
	callq	_x86_mrt2mtrr
	movl	%eax, %ebx
	movl	24(%r15), %edi
	movl	%r14d, %esi
	sarl	$16, %esi
	callq	_x86_mrt2mtrr
	shll	$16, %ebx
	shll	$8, %eax
	orl	%eax, %ebx
	movl	12(%r15), %edi
	movl	%r14d, %esi
	sarl	$8, %esi
	callq	_x86_mrt2mtrr
	orl	%eax, %ebx
	shll	$8, %ebx
	movl	(%r15), %edi
	movl	%r14d, %esi
	callq	_x86_mrt2mtrr
	orl	%eax, %ebx
	movl	%r13d, %edi
	movl	%ebx, %esi
	callq	_wrmsr
	movq	_MTRR_N16K@GOTPCREL(%rip), %rax
	addq	$96, %r15
	incl	%r12d
	movl	(%rax), %eax
	leal	7(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$3, %ecx
	cmpl	%ecx, %r12d
	jl	LBB0_6
LBB0_7:
	movq	_MTRR_N4K@GOTPCREL(%rip), %rax
	cmpl	$8, (%rax)
	jl	LBB0_10
## %bb.8:
	movq	_MSR_MTRR4kBase@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%r12), %r13d
	movl	%r13d, %edi
	callq	_rdmsr
	movl	%eax, %r14d
	movl	84(%r15), %edi
	callq	_x86_mrt2mtrr
	movl	72(%r15), %edi
	callq	_x86_mrt2mtrr
	movl	60(%r15), %edi
	callq	_x86_mrt2mtrr
	movl	48(%r15), %edi
	callq	_x86_mrt2mtrr
	movl	36(%r15), %edi
	movl	%r14d, %esi
	sarl	$24, %esi
	callq	_x86_mrt2mtrr
	movl	%eax, %ebx
	movl	24(%r15), %edi
	movl	%r14d, %esi
	sarl	$16, %esi
	callq	_x86_mrt2mtrr
	shll	$16, %ebx
	shll	$8, %eax
	orl	%eax, %ebx
	movl	12(%r15), %edi
	movl	%r14d, %esi
	sarl	$8, %esi
	callq	_x86_mrt2mtrr
	orl	%eax, %ebx
	shll	$8, %ebx
	movl	(%r15), %edi
	movl	%r14d, %esi
	callq	_x86_mrt2mtrr
	orl	%eax, %ebx
	movl	%r13d, %edi
	movl	%ebx, %esi
	callq	_wrmsr
	movq	_MTRR_N4K@GOTPCREL(%rip), %rax
	addq	$96, %r15
	incl	%r12d
	movl	(%rax), %eax
	leal	7(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$3, %ecx
	cmpl	%ecx, %r12d
	jl	LBB0_9
LBB0_10:
	movq	%r15, %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	subq	8(%rcx), %rax
	sarq	$2, %rax
	movabsq	$-6148914691236517205, %rdx     ## imm = 0xAAAAAAAAAAAAAAAB
	imulq	%rdx, %rax
	movslq	4(%rcx), %rcx
	cmpq	%rcx, %rax
	jge	LBB0_17
## %bb.11:
	movq	_MSR_MTRRVarBase@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	12(%r15), %r12
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	leal	1(%rbx), %edi
	movl	%r13d, %esi
	callq	_wrmsr
	addq	$12, %r15
	movq	%r12, %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	subq	8(%rcx), %rax
	sarq	$2, %rax
	movabsq	$-6148914691236517205, %rdx     ## imm = 0xAAAAAAAAAAAAAAAB
	imulq	%rdx, %rax
	movslq	4(%rcx), %rcx
	addq	$12, %r12
	addl	$2, %ebx
	cmpq	%rcx, %rax
	jge	LBB0_17
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_rdmsr
	movl	(%r15), %edi
	xorl	%r13d, %r13d
	movl	$0, %esi
	movq	_MDF_ACTIVE@GOTPCREL(%rip), %rcx
	testl	%edi, (%rcx)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	_mtrr_physmask@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	andl	4(%r15), %r14d
	movl	%eax, %esi
	callq	_x86_mrt2mtrr
	movl	%eax, %esi
	orl	%r14d, %esi
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	%ebx, %edi
	callq	_wrmsr
	movq	_MDF_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	_MTRR_PHYSMASK_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_mtrr_physmask@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r15), %esi
	callq	_rounddown2
	movl	%eax, %r13d
	orl	%r14d, %r13d
	jmp	LBB0_16
LBB0_17:
	xorl	%eax, %eax
	callq	_wbinvd
	xorl	%eax, %eax
	callq	_invltlb
	movq	_MSR_MTRRdefType@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_rdmsr
	movq	_MTRR_DEF_ENABLE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_wrmsr
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_load_cr0
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	callq	_load_cr4
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_critical_exit                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CR4_PGE,4,2                    ## @CR4_PGE
	.comm	_CR0_NW,4,2                     ## @CR0_NW
	.comm	_CR0_CD,4,2                     ## @CR0_CD
	.comm	_MSR_MTRRdefType,4,2            ## @MSR_MTRRdefType
	.comm	_MTRR_DEF_ENABLE,4,2            ## @MTRR_DEF_ENABLE
	.comm	_MR686_FIXMTRR,4,2              ## @MR686_FIXMTRR
	.comm	_MSR_MTRR64kBase,4,2            ## @MSR_MTRR64kBase
	.comm	_MTRR_N64K,4,2                  ## @MTRR_N64K
	.comm	_MSR_MTRR16kBase,4,2            ## @MSR_MTRR16kBase
	.comm	_MTRR_N16K,4,2                  ## @MTRR_N16K
	.comm	_MSR_MTRR4kBase,4,2             ## @MSR_MTRR4kBase
	.comm	_MTRR_N4K,4,2                   ## @MTRR_N4K
	.comm	_MSR_MTRRVarBase,4,2            ## @MSR_MTRRVarBase
	.comm	_MDF_ACTIVE,4,2                 ## @MDF_ACTIVE
	.comm	_mtrr_physmask,4,2              ## @mtrr_physmask
	.comm	_MTRR_PHYSMASK_VALID,4,2        ## @MTRR_PHYSMASK_VALID
	.no_dead_strip	_x86_mrstoreone
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x86_mrstoreone
_x86_mrstoreone:                        ; @x86_mrstoreone
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x0
	ldr	x25, [x0, #8]
	bl	_critical_enter
	bl	_rcr4
Lloh0:
	adrp	x8, _CR4_PGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CR4_PGE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	bic	w0, w0, w8
	bl	_load_cr4
	bl	_rcr0
	mov	x20, x0
Lloh3:
	adrp	x8, _CR0_NW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CR0_NW@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh6:
	adrp	x9, _CR0_CD@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CR0_CD@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w0, w8, w9
	bl	_load_cr0
	bl	_wbinvd
	bl	_invltlb
Lloh9:
	adrp	x8, _MSR_MTRRdefType@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MSR_MTRRdefType@GOTPAGEOFF]
Lloh11:
	ldr	w22, [x8]
	mov	x0, x22
	bl	_rdmsr
Lloh12:
	adrp	x8, _MTRR_DEF_ENABLE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MTRR_DEF_ENABLE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	bic	w1, w0, w8
	mov	x0, x22
	bl	_wrmsr
	ldr	w8, [x21]
Lloh15:
	adrp	x9, _MR686_FIXMTRR@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MR686_FIXMTRR@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.1:
Lloh18:
	adrp	x28, _MTRR_N64K@GOTPAGE
Lloh19:
	ldr	x28, [x28, _MTRR_N64K@GOTPAGEOFF]
	ldr	w8, [x28]
	cmp	w8, #8
	b.lt	LBB0_4
; %bb.2:
	mov	w26, #0
Lloh20:
	adrp	x8, _MSR_MTRR64kBase@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MSR_MTRR64kBase@GOTPAGEOFF]
Lloh22:
	ldr	w27, [x8]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w22, w27, w26
	mov	x0, x22
	bl	_rdmsr
	mov	x23, x0
	ldr	w0, [x25, #84]
	bl	_x86_mrt2mtrr
	ldr	w0, [x25, #72]
	bl	_x86_mrt2mtrr
	ldr	w0, [x25, #60]
	bl	_x86_mrt2mtrr
	ldr	w0, [x25, #48]
	bl	_x86_mrt2mtrr
	ldr	w0, [x25, #36]
	asr	w1, w23, #24
	bl	_x86_mrt2mtrr
	mov	x24, x0
	ldr	w0, [x25, #24]
	asr	w1, w23, #16
	bl	_x86_mrt2mtrr
	lsl	w8, w24, #16
	orr	w24, w8, w0, lsl #8
	ldr	w0, [x25, #12]
	asr	w1, w23, #8
	bl	_x86_mrt2mtrr
	orr	w24, w0, w24
	ldr	w0, [x25], #96
	mov	x1, x23
	bl	_x86_mrt2mtrr
	orr	w1, w0, w24, lsl #8
	mov	x0, x22
	bl	_wrmsr
	add	w26, w26, #1
	ldr	w8, [x28]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	cmp	w26, w8, asr #3
	b.lt	LBB0_3
LBB0_4:
Lloh23:
	adrp	x28, _MTRR_N16K@GOTPAGE
Lloh24:
	ldr	x28, [x28, _MTRR_N16K@GOTPAGEOFF]
	ldr	w8, [x28]
	cmp	w8, #8
	b.lt	LBB0_7
; %bb.5:
	mov	w26, #0
Lloh25:
	adrp	x8, _MSR_MTRR16kBase@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MSR_MTRR16kBase@GOTPAGEOFF]
Lloh27:
	ldr	w27, [x8]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	w22, w27, w26
	mov	x0, x22
	bl	_rdmsr
	mov	x23, x0
	ldr	w0, [x25, #84]
	bl	_x86_mrt2mtrr
	ldr	w0, [x25, #72]
	bl	_x86_mrt2mtrr
	ldr	w0, [x25, #60]
	bl	_x86_mrt2mtrr
	ldr	w0, [x25, #48]
	bl	_x86_mrt2mtrr
	ldr	w0, [x25, #36]
	asr	w1, w23, #24
	bl	_x86_mrt2mtrr
	mov	x24, x0
	ldr	w0, [x25, #24]
	asr	w1, w23, #16
	bl	_x86_mrt2mtrr
	lsl	w8, w24, #16
	orr	w24, w8, w0, lsl #8
	ldr	w0, [x25, #12]
	asr	w1, w23, #8
	bl	_x86_mrt2mtrr
	orr	w24, w0, w24
	ldr	w0, [x25], #96
	mov	x1, x23
	bl	_x86_mrt2mtrr
	orr	w1, w0, w24, lsl #8
	mov	x0, x22
	bl	_wrmsr
	add	w26, w26, #1
	ldr	w8, [x28]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	cmp	w26, w8, asr #3
	b.lt	LBB0_6
LBB0_7:
Lloh28:
	adrp	x28, _MTRR_N4K@GOTPAGE
Lloh29:
	ldr	x28, [x28, _MTRR_N4K@GOTPAGEOFF]
	ldr	w8, [x28]
	cmp	w8, #8
	b.lt	LBB0_10
; %bb.8:
	mov	w26, #0
Lloh30:
	adrp	x8, _MSR_MTRR4kBase@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MSR_MTRR4kBase@GOTPAGEOFF]
Lloh32:
	ldr	w27, [x8]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	w22, w27, w26
	mov	x0, x22
	bl	_rdmsr
	mov	x23, x0
	ldr	w0, [x25, #84]
	bl	_x86_mrt2mtrr
	ldr	w0, [x25, #72]
	bl	_x86_mrt2mtrr
	ldr	w0, [x25, #60]
	bl	_x86_mrt2mtrr
	ldr	w0, [x25, #48]
	bl	_x86_mrt2mtrr
	ldr	w0, [x25, #36]
	asr	w1, w23, #24
	bl	_x86_mrt2mtrr
	mov	x24, x0
	ldr	w0, [x25, #24]
	asr	w1, w23, #16
	bl	_x86_mrt2mtrr
	lsl	w8, w24, #16
	orr	w24, w8, w0, lsl #8
	ldr	w0, [x25, #12]
	asr	w1, w23, #8
	bl	_x86_mrt2mtrr
	orr	w24, w0, w24
	ldr	w0, [x25], #96
	mov	x1, x23
	bl	_x86_mrt2mtrr
	orr	w1, w0, w24, lsl #8
	mov	x0, x22
	bl	_wrmsr
	add	w26, w26, #1
	ldr	w8, [x28]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	cmp	w26, w8, asr #3
	b.lt	LBB0_9
LBB0_10:
	ldr	x8, [x21, #8]
	sub	x8, x25, x8
	asr	x8, x8, #2
	mov	x23, #-6148914691236517206
	movk	x23, #43691
	mul	x8, x8, x23
	ldrsw	x9, [x21, #4]
	cmp	x8, x9
	b.ge	LBB0_19
; %bb.11:
Lloh33:
	adrp	x8, _MSR_MTRRVarBase@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MSR_MTRRVarBase@GOTPAGEOFF]
Lloh35:
	ldr	w22, [x8]
	add	x24, x25, #12
Lloh36:
	adrp	x28, _MDF_ACTIVE@GOTPAGE
Lloh37:
	ldr	x28, [x28, _MDF_ACTIVE@GOTPAGEOFF]
Lloh38:
	adrp	x26, _MTRR_PHYSMASK_VALID@GOTPAGE
Lloh39:
	ldr	x26, [x26, _MTRR_PHYSMASK_VALID@GOTPAGEOFF]
Lloh40:
	adrp	x27, _mtrr_physmask@GOTPAGE
Lloh41:
	ldr	x27, [x27, _mtrr_physmask@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	w19, [x26]
	ldr	w0, [x27]
	ldr	w1, [x25, #8]
	bl	_rounddown2
	orr	w1, w0, w19
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	w0, w22, #1
	bl	_wrmsr
	add	x25, x25, #12
	ldr	x8, [x21, #8]
	sub	x8, x24, x8
	asr	x8, x8, #2
	mul	x8, x8, x23
	ldrsw	x9, [x21, #4]
	add	x24, x24, #12
	add	w22, w22, #2
	cmp	x8, x9
	b.ge	LBB0_19
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_rdmsr
	mov	x1, x0
	ldr	w0, [x25]
	ldr	w8, [x28]
	tst	w8, w0
	b.eq	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [x25, #4]
	ldr	w9, [x27]
	and	w19, w9, w8
	bl	_x86_mrt2mtrr
	orr	w1, w19, w0
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	w1, #0
LBB0_17:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x22
	bl	_wrmsr
	ldr	w8, [x25]
	ldr	w9, [x28]
	tst	w9, w8
	b.ne	LBB0_12
; %bb.18:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	w1, #0
	b	LBB0_13
LBB0_19:
	bl	_wbinvd
	bl	_invltlb
Lloh42:
	adrp	x8, _MSR_MTRRdefType@GOTPAGE
Lloh43:
	ldr	x8, [x8, _MSR_MTRRdefType@GOTPAGEOFF]
Lloh44:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_rdmsr
Lloh45:
	adrp	x8, _MTRR_DEF_ENABLE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _MTRR_DEF_ENABLE@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	orr	w1, w8, w0
	mov	x0, x21
	bl	_wrmsr
	mov	x0, x20
	bl	_load_cr0
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	bl	_load_cr4
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_critical_exit
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_CR4_PGE,4,2                    ; @CR4_PGE
	.comm	_CR0_NW,4,2                     ; @CR0_NW
	.comm	_CR0_CD,4,2                     ; @CR0_CD
	.comm	_MSR_MTRRdefType,4,2            ; @MSR_MTRRdefType
	.comm	_MTRR_DEF_ENABLE,4,2            ; @MTRR_DEF_ENABLE
	.comm	_MR686_FIXMTRR,4,2              ; @MR686_FIXMTRR
	.comm	_MSR_MTRR64kBase,4,2            ; @MSR_MTRR64kBase
	.comm	_MTRR_N64K,4,2                  ; @MTRR_N64K
	.comm	_MSR_MTRR16kBase,4,2            ; @MSR_MTRR16kBase
	.comm	_MTRR_N16K,4,2                  ; @MTRR_N16K
	.comm	_MSR_MTRR4kBase,4,2             ; @MSR_MTRR4kBase
	.comm	_MTRR_N4K,4,2                   ; @MTRR_N4K
	.comm	_MSR_MTRRVarBase,4,2            ; @MSR_MTRRVarBase
	.comm	_MDF_ACTIVE,4,2                 ; @MDF_ACTIVE
	.comm	_mtrr_physmask,4,2              ; @mtrr_physmask
	.comm	_MTRR_PHYSMASK_VALID,4,2        ; @MTRR_PHYSMASK_VALID
	.no_dead_strip	_x86_mrstoreone
.subsections_via_symbols
