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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_enter_object              ; -- Begin function pmap_enter_object
	.p2align	2
_pmap_enter_object:                     ; @pmap_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, x4
	mov	x21, x3
	mov	x23, x2
	mov	x22, x1
	mov	x19, x0
	ldr	w0, [x3, #8]
	bl	_VM_OBJECT_ASSERT_LOCKED
	sub	x0, x23, x22
	bl	_atop
	mov	x23, x0
Lloh0:
	adrp	x0, _tte_list_global_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _tte_list_global_lock@GOTPAGEOFF]
	bl	_rw_wlock
	mov	x0, x19
	bl	_PMAP_LOCK
Lloh2:
	adrp	x25, _VM_PROT_READ@GOTPAGE
Lloh3:
	ldr	x25, [x25, _VM_PROT_READ@GOTPAGEOFF]
Lloh4:
	adrp	x26, _VM_PROT_EXECUTE@GOTPAGE
Lloh5:
	ldr	x26, [x26, _VM_PROT_EXECUTE@GOTPAGEOFF]
Lloh6:
	adrp	x27, _PMAP_ENTER_QUICK_LOCKED@GOTPAGE
Lloh7:
	ldr	x27, [x27, _PMAP_ENTER_QUICK_LOCKED@GOTPAGEOFF]
	mov	x24, x21
Lloh8:
	adrp	x28, _listq@GOTPAGE
Lloh9:
	ldr	x28, [x28, _listq@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	x9, [x21]
	sub	x0, x8, x9
	cmp	x0, x23
	b.ge	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_ptoa
	add	x1, x0, x22
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w8, w9, w8
	and	w3, w8, w20
	ldr	w4, [x27]
	mov	x0, x19
	mov	x2, x24
	mov	w5, #0
	bl	_pmap_enter_locked
	ldr	w1, [x28]
	mov	x0, x24
	bl	_TAILQ_NEXT
	mov	x24, x0
	cbnz	x0, LBB0_1
LBB0_3:
Lloh10:
	adrp	x0, _tte_list_global_lock@GOTPAGE
Lloh11:
	ldr	x0, [x0, _tte_list_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	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_tte_list_global_lock,4,2       ; @tte_list_global_lock
	.comm	_VM_PROT_READ,4,2               ; @VM_PROT_READ
	.comm	_VM_PROT_EXECUTE,4,2            ; @VM_PROT_EXECUTE
	.comm	_PMAP_ENTER_QUICK_LOCKED,4,2    ; @PMAP_ENTER_QUICK_LOCKED
	.comm	_listq,4,2                      ; @listq
.subsections_via_symbols
