	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__set_memory_wc                 ## -- Begin function _set_memory_wc
	.p2align	4, 0x90
__set_memory_wc:                        ## @_set_memory_wc
	.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
	movl	%esi, %ebx
	movq	%rdi, -32(%rbp)
	movq	%rdi, -24(%rbp)
	movq	__PAGE_CACHE_UC_MINUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	___pgprot
	leaq	-32(%rbp), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_change_page_attr_set
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	__PAGE_CACHE_WC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	___pgprot
	movl	%eax, %r14d
	movq	__PAGE_CACHE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	___pgprot
	movq	$0, (%rsp)
	leaq	-24(%rbp), %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_change_page_attr_set_clr
LBB0_2:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__PAGE_CACHE_UC_MINUS,4,2       ## @_PAGE_CACHE_UC_MINUS
	.comm	__PAGE_CACHE_WC,4,2             ## @_PAGE_CACHE_WC
	.comm	__PAGE_CACHE_MASK,4,2           ## @_PAGE_CACHE_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__set_memory_wc                 ; -- Begin function _set_memory_wc
	.p2align	2
__set_memory_wc:                        ; @_set_memory_wc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	stp	x0, x0, [sp]
Lloh0:
	adrp	x8, __PAGE_CACHE_UC_MINUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, __PAGE_CACHE_UC_MINUS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	___pgprot
	mov	x2, x0
	add	x0, sp, #8
	mov	x1, x19
	mov	w3, #0
	bl	_change_page_attr_set
	cbnz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, __PAGE_CACHE_WC@GOTPAGE
Lloh4:
	ldr	x8, [x8, __PAGE_CACHE_WC@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	___pgprot
	mov	x20, x0
Lloh6:
	adrp	x8, __PAGE_CACHE_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, __PAGE_CACHE_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	___pgprot
	mov	x3, x0
	mov	x0, sp
	mov	x1, x19
	mov	x2, x20
	mov	w4, #0
	mov	w5, #0
	mov	x6, #0
	bl	_change_page_attr_set_clr
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	__PAGE_CACHE_UC_MINUS,4,2       ; @_PAGE_CACHE_UC_MINUS
	.comm	__PAGE_CACHE_WC,4,2             ; @_PAGE_CACHE_WC
	.comm	__PAGE_CACHE_MASK,4,2           ; @_PAGE_CACHE_MASK
.subsections_via_symbols
