	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmu_free_roots
_mmu_free_roots:                        ## @mmu_free_roots
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_VALID_PAGE
	testl	%eax, %eax
	je	LBB0_19
## %bb.1:
	movq	24(%rbx), %rdi
	callq	_spin_lock
	movq	8(%rbx), %rax
	movq	_PT64_ROOT_LEVEL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.20:
	movl	(%rbx), %edi
	callq	_page_header
	decl	8(%rax)
	jne	LBB0_23
## %bb.21:
	cmpq	$0, (%rax)
	je	LBB0_23
## %bb.22:
	movq	24(%rbx), %rdi
	movq	%rax, %rsi
	callq	_kvm_mmu_zap_page
LBB0_23:
	movq	_INVALID_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	24(%rbx), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
LBB0_2:
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	testl	%edi, %edi
	je	LBB0_6
## %bb.3:
	movq	_PT64_BASE_ADDR_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	callq	_page_header
	decl	8(%rax)
	jne	LBB0_6
## %bb.4:
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	movq	24(%rbx), %rdi
	movq	%rax, %rsi
	callq	_kvm_mmu_zap_page
LBB0_6:
	movq	_INVALID_PAGE@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movq	16(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	4(%rcx), %edi
	testl	%edi, %edi
	je	LBB0_10
## %bb.7:
	movq	_PT64_BASE_ADDR_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	callq	_page_header
	decl	8(%rax)
	jne	LBB0_10
## %bb.8:
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.9:
	movq	24(%rbx), %rdi
	movq	%rax, %rsi
	callq	_kvm_mmu_zap_page
LBB0_10:
	movl	(%r14), %eax
	movq	16(%rbx), %rcx
	movl	%eax, 4(%rcx)
	movl	8(%rcx), %edi
	testl	%edi, %edi
	je	LBB0_14
## %bb.11:
	movq	_PT64_BASE_ADDR_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	callq	_page_header
	decl	8(%rax)
	jne	LBB0_14
## %bb.12:
	cmpq	$0, (%rax)
	je	LBB0_14
## %bb.13:
	movq	24(%rbx), %rdi
	movq	%rax, %rsi
	callq	_kvm_mmu_zap_page
LBB0_14:
	movl	(%r14), %eax
	movq	16(%rbx), %rcx
	movl	%eax, 8(%rcx)
	movl	12(%rcx), %edi
	testl	%edi, %edi
	je	LBB0_18
## %bb.15:
	movq	_PT64_BASE_ADDR_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	callq	_page_header
	decl	8(%rax)
	jne	LBB0_18
## %bb.16:
	cmpq	$0, (%rax)
	je	LBB0_18
## %bb.17:
	movq	24(%rbx), %rdi
	movq	%rax, %rsi
	callq	_kvm_mmu_zap_page
LBB0_18:
	movl	(%r14), %eax
	movq	16(%rbx), %rcx
	movl	%eax, 12(%rcx)
	movq	24(%rbx), %rdi
	callq	_spin_unlock
	movl	(%r14), %eax
	movl	%eax, (%rbx)
LBB0_19:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PT64_ROOT_LEVEL,8,3            ## @PT64_ROOT_LEVEL
	.comm	_INVALID_PAGE,8,3               ## @INVALID_PAGE
	.comm	_PT64_BASE_ADDR_MASK,4,2        ## @PT64_BASE_ADDR_MASK
	.no_dead_strip	_mmu_free_roots
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmu_free_roots
_mmu_free_roots:                        ; @mmu_free_roots
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	w0, [x0]
	bl	_VALID_PAGE
	cbz	w0, LBB0_23
; %bb.1:
	ldr	x0, [x19, #24]
	bl	_spin_lock
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _PT64_ROOT_LEVEL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PT64_ROOT_LEVEL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.2:
	ldr	w0, [x19]
	bl	_page_header
	ldr	w8, [x0, #8]
	subs	w8, w8, #1
	str	w8, [x0, #8]
	b.ne	LBB0_5
; %bb.3:
	mov	x1, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x0, [x19, #24]
	bl	_kvm_mmu_zap_page
LBB0_5:
Lloh3:
	adrp	x8, _INVALID_PAGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INVALID_PAGE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	w8, [x19]
	ldr	x0, [x19, #24]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_spin_unlock
LBB0_6:
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
Lloh6:
	adrp	x21, _PT64_BASE_ADDR_MASK@GOTPAGE
Lloh7:
	ldr	x21, [x21, _PT64_BASE_ADDR_MASK@GOTPAGEOFF]
	cbz	w8, LBB0_10
; %bb.7:
	ldr	w9, [x21]
	and	w0, w9, w8
	bl	_page_header
	ldr	w8, [x0, #8]
	subs	w8, w8, #1
	str	w8, [x0, #8]
	b.ne	LBB0_10
; %bb.8:
	mov	x1, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	x0, [x19, #24]
	bl	_kvm_mmu_zap_page
LBB0_10:
Lloh8:
	adrp	x20, _INVALID_PAGE@GOTPAGE
Lloh9:
	ldr	x20, [x20, _INVALID_PAGE@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x9, [x19, #16]
	str	w8, [x9]
	ldr	w8, [x9, #4]
	cbz	w8, LBB0_14
; %bb.11:
	ldr	w9, [x21]
	and	w0, w9, w8
	bl	_page_header
	ldr	w8, [x0, #8]
	subs	w8, w8, #1
	str	w8, [x0, #8]
	b.ne	LBB0_14
; %bb.12:
	mov	x1, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_14
; %bb.13:
	ldr	x0, [x19, #24]
	bl	_kvm_mmu_zap_page
LBB0_14:
	ldr	x8, [x20]
	ldr	x9, [x19, #16]
	str	w8, [x9, #4]
	ldr	w8, [x9, #8]
	cbz	w8, LBB0_18
; %bb.15:
	ldr	w9, [x21]
	and	w0, w9, w8
	bl	_page_header
	ldr	w8, [x0, #8]
	subs	w8, w8, #1
	str	w8, [x0, #8]
	b.ne	LBB0_18
; %bb.16:
	mov	x1, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_18
; %bb.17:
	ldr	x0, [x19, #24]
	bl	_kvm_mmu_zap_page
LBB0_18:
	ldr	x8, [x20]
	ldr	x9, [x19, #16]
	str	w8, [x9, #8]
	ldr	w8, [x9, #12]
	cbz	w8, LBB0_22
; %bb.19:
	ldr	w9, [x21]
	and	w0, w9, w8
	bl	_page_header
	ldr	w8, [x0, #8]
	subs	w8, w8, #1
	str	w8, [x0, #8]
	b.ne	LBB0_22
; %bb.20:
	mov	x1, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_22
; %bb.21:
	ldr	x0, [x19, #24]
	bl	_kvm_mmu_zap_page
LBB0_22:
	ldr	x8, [x20]
	ldp	x9, x0, [x19, #16]
	str	w8, [x9, #12]
	bl	_spin_unlock
	ldr	x8, [x20]
	str	w8, [x19]
LBB0_23:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_PT64_ROOT_LEVEL,8,3            ; @PT64_ROOT_LEVEL
	.comm	_INVALID_PAGE,8,3               ; @INVALID_PAGE
	.comm	_PT64_BASE_ADDR_MASK,4,2        ; @PT64_BASE_ADDR_MASK
	.no_dead_strip	_mmu_free_roots
.subsections_via_symbols
