	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_page_set_memattr          ## -- Begin function pmap_page_set_memattr
	.p2align	4, 0x90
_pmap_page_set_memattr:                 ## @pmap_page_set_memattr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, 12(%rdi)
	cmpq	$0, (%rdi)
	jne	LBB0_3
## %bb.1:
	addq	$8, %rdi
	callq	_TAILQ_FIRST
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_panic                          ## TAILCALL
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't change memattr on page with existing mappings"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_page_set_memattr          ; -- Begin function pmap_page_set_memattr
	.p2align	2
_pmap_page_set_memattr:                 ; @pmap_page_set_memattr
	.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
	str	w1, [x0, #12]
	ldr	x8, [x0]
	cbnz	x8, LBB0_2
; %bb.1:
	add	x0, x0, #8
	bl	_TAILQ_FIRST
	cbz	x0, LBB0_3
LBB0_2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_panic
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't change memattr on page with existing mappings"

.subsections_via_symbols
