	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmu_booke_enter_object
_mmu_booke_enter_object:                ## @mmu_booke_enter_object
	.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
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movq	%r8, %r13
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movl	%esi, %r15d
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movl	8(%r8), %edi
	callq	_VM_OBJECT_ASSERT_LOCKED
	subq	%r12, %rbx
	movq	%rbx, %rdi
	callq	_atop
	movq	%rax, %r14
	movq	_pvh_global_lock@GOTPCREL(%rip), %rdi
	callq	_rw_wlock
	movl	%r15d, %edi
	callq	_PMAP_LOCK
	movq	%r13, %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	subq	(%r13), %rdi
	cmpq	%r14, %rdi
	jge	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	callq	_ptoa
	leaq	(%rax,%r12), %rdx
	movq	_VM_PROT_EXECUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_VM_PROT_READ@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	andl	-48(%rbp), %r8d                 ## 4-byte Folded Reload
	movq	_PMAP_ENTER_QUICK_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_PMAP_ENTER_NOSLEEP@GOTPCREL(%rip), %rax
	orl	(%rax), %r9d
	movl	$0, (%rsp)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r15d, %esi
	movq	%rbx, %rcx
	callq	_mmu_booke_enter_locked
	movq	_listq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_TAILQ_NEXT
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_1
LBB0_3:
	movq	_pvh_global_lock@GOTPCREL(%rip), %rdi
	callq	_rw_wunlock
	movl	%r15d, %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PMAP_UNLOCK                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_pvh_global_lock,4,2            ## @pvh_global_lock
	.comm	_VM_PROT_READ,4,2               ## @VM_PROT_READ
	.comm	_VM_PROT_EXECUTE,4,2            ## @VM_PROT_EXECUTE
	.comm	_PMAP_ENTER_NOSLEEP,4,2         ## @PMAP_ENTER_NOSLEEP
	.comm	_PMAP_ENTER_QUICK_LOCKED,4,2    ## @PMAP_ENTER_QUICK_LOCKED
	.comm	_listq,4,2                      ## @listq
	.no_dead_strip	_mmu_booke_enter_object
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmu_booke_enter_object
_mmu_booke_enter_object:                ; @mmu_booke_enter_object
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x5
	mov	x21, x4
	mov	x24, x3
	mov	x22, x2
	mov	x19, x1
	mov	x23, x0
	ldr	w0, [x4, #8]
	bl	_VM_OBJECT_ASSERT_LOCKED
	sub	x0, x24, x22
	bl	_atop
	mov	x24, x0
Lloh0:
	adrp	x0, _pvh_global_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _pvh_global_lock@GOTPAGEOFF]
	bl	_rw_wlock
	mov	x0, x19
	bl	_PMAP_LOCK
Lloh2:
	adrp	x28, _PMAP_ENTER_NOSLEEP@GOTPAGE
Lloh3:
	ldr	x28, [x28, _PMAP_ENTER_NOSLEEP@GOTPAGEOFF]
Lloh4:
	adrp	x26, _PMAP_ENTER_QUICK_LOCKED@GOTPAGE
Lloh5:
	ldr	x26, [x26, _PMAP_ENTER_QUICK_LOCKED@GOTPAGEOFF]
	mov	x25, x21
Lloh6:
	adrp	x27, _listq@GOTPAGE
Lloh7:
	ldr	x27, [x27, _listq@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	ldr	x9, [x21]
	sub	x0, x8, x9
	cmp	x0, x24
	b.ge	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_ptoa
	add	x2, x0, x22
Lloh8:
	adrp	x8, _VM_PROT_READ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VM_PROT_READ@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _VM_PROT_EXECUTE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _VM_PROT_EXECUTE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
	and	w4, w8, w20
	ldr	w8, [x28]
	ldr	w9, [x26]
	orr	w5, w9, w8
	mov	x0, x23
	mov	x1, x19
	mov	x3, x25
	mov	w6, #0
	bl	_mmu_booke_enter_locked
	ldr	w1, [x27]
	mov	x0, x25
	bl	_TAILQ_NEXT
	mov	x25, x0
	cbnz	x0, LBB0_1
LBB0_3:
Lloh14:
	adrp	x0, _pvh_global_lock@GOTPAGE
Lloh15:
	ldr	x0, [x0, _pvh_global_lock@GOTPAGEOFF]
	bl	_rw_wunlock
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_PMAP_UNLOCK
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_pvh_global_lock,4,2            ; @pvh_global_lock
	.comm	_VM_PROT_READ,4,2               ; @VM_PROT_READ
	.comm	_VM_PROT_EXECUTE,4,2            ; @VM_PROT_EXECUTE
	.comm	_PMAP_ENTER_NOSLEEP,4,2         ; @PMAP_ENTER_NOSLEEP
	.comm	_PMAP_ENTER_QUICK_LOCKED,4,2    ; @PMAP_ENTER_QUICK_LOCKED
	.comm	_listq,4,2                      ; @listq
	.no_dead_strip	_mmu_booke_enter_object
.subsections_via_symbols
