	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_qenter                    ## -- Begin function pmap_qenter
	.p2align	4, 0x90
_pmap_qenter:                           ## @pmap_qenter
	.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	%edi, %r12d
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	testl	%edx, %edx
	jle	LBB0_3
## %bb.1:
	movq	%rsi, %r15
	movl	%edx, %r13d
	xorl	%r14d, %r14d
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%r14,4), %edi
	callq	_VM_PAGE_TO_PHYS
	cltd
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	idivl	(%rcx)
	movl	%eax, %ebx
	movq	_kernel_pmap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r12d, %esi
	callq	_pmap_l3
	movq	_PTE_PPN0_S@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	shll	%cl, %ebx
	movq	_PTE_KERN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_pmap_store
	movq	_L3_SIZE@GOTPCREL(%rip), %rax
	addl	(%rax), %r12d
	incq	%r14
	cmpq	%r14, %r13
	jne	LBB0_2
LBB0_3:
	movq	_kernel_pmap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pmap_invalidate_range          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_kernel_pmap,4,2                ## @kernel_pmap
	.comm	_PTE_KERN,4,2                   ## @PTE_KERN
	.comm	_PTE_PPN0_S,4,2                 ## @PTE_PPN0_S
	.comm	_L3_SIZE,8,3                    ## @L3_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_qenter                    ; -- Begin function pmap_qenter
	.p2align	2
_pmap_qenter:                           ; @pmap_qenter
	.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	x19, x0
Lloh0:
	adrp	x22, _kernel_pmap@GOTPAGE
Lloh1:
	ldr	x22, [x22, _kernel_pmap@GOTPAGEOFF]
	mov	x21, x0
	cmp	w2, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, x1
Lloh2:
	adrp	x23, _PAGE_SIZE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _PAGE_SIZE@GOTPAGEOFF]
Lloh4:
	adrp	x24, _PTE_KERN@GOTPAGE
Lloh5:
	ldr	x24, [x24, _PTE_KERN@GOTPAGEOFF]
	mov	x21, x19
Lloh6:
	adrp	x25, _PTE_PPN0_S@GOTPAGE
Lloh7:
	ldr	x25, [x25, _PTE_PPN0_S@GOTPAGEOFF]
	mov	w26, w2
Lloh8:
	adrp	x27, _L3_SIZE@GOTPAGE
Lloh9:
	ldr	x27, [x27, _L3_SIZE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20], #4
	bl	_VM_PAGE_TO_PHYS
	ldr	w9, [x23]
	ldr	w8, [x22]
	sdiv	w28, w0, w9
	mov	x0, x8
	mov	x1, x21
	bl	_pmap_l3
	ldr	w8, [x24]
	ldr	w9, [x25]
	lsl	w9, w28, w9
	orr	w1, w9, w8
	bl	_pmap_store
	ldr	w8, [x27]
	add	w21, w21, w8
	subs	x26, x26, #1
	b.ne	LBB0_2
LBB0_3:
	ldr	w0, [x22]
	mov	x1, x19
	mov	x2, x21
	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_invalidate_range
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_kernel_pmap,4,2                ; @kernel_pmap
	.comm	_PTE_KERN,4,2                   ; @PTE_KERN
	.comm	_PTE_PPN0_S,4,2                 ; @PTE_PPN0_S
	.comm	_L3_SIZE,8,3                    ; @L3_SIZE
.subsections_via_symbols
