	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmap_demote_pde_abort
_pmap_demote_pde_abort:                 ## @pmap_demote_pde_abort
	.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	%r8, %r13
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r15
	movl	%esi, %ebx
	movl	%edi, %r14d
	leaq	-48(%rbp), %rdi
	callq	_SLIST_INIT
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_trunc_2mpage
	movl	%eax, %r12d
	movl	%r14d, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	leaq	-48(%rbp), %rcx
	movq	%r13, %r8
	callq	_pmap_remove_pde
	movl	%r14d, %edi
	callq	_pmap_global_bit
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, %eax
	jne	LBB0_2
## %bb.1:
	movl	%r14d, %edi
	movl	%r12d, %esi
	callq	_pmap_invalidate_pde_page
LBB0_2:
	leaq	-48(%rbp), %rdi
	movl	$1, %esi
	callq	_vm_page_free_pages_toq
	movq	_KTR_PMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	callq	_CTR2
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KTR_PMAP,4,2                   ## @KTR_PMAP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pmap_demote_pde: failure for va %#lx in pmap %p"

	.no_dead_strip	_pmap_demote_pde_abort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmap_demote_pde_abort
_pmap_demote_pde_abort:                 ; @pmap_demote_pde_abort
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x23, x4
	mov	x21, x3
	mov	x24, x2
	mov	x20, x1
	mov	x19, x0
	add	x0, sp, #8
	bl	_SLIST_INIT
	mov	x0, x20
	bl	_trunc_2mpage
	mov	x22, x0
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x24
	mov	x2, x22
	mov	x4, x23
	bl	_pmap_remove_pde
	mov	x0, x19
	bl	_pmap_global_bit
	tst	w0, w21
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_pmap_invalidate_pde_page
LBB0_2:
	add	x0, sp, #8
	mov	w1, #1
	bl	_vm_page_free_pages_toq
Lloh0:
	adrp	x8, _KTR_PMAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KTR_PMAP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	mov	x3, x19
	bl	_CTR2
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_KTR_PMAP,4,2                   ; @KTR_PMAP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pmap_demote_pde: failure for va %#lx in pmap %p"

	.no_dead_strip	_pmap_demote_pde_abort
.subsections_via_symbols
