	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __sysmmu_tlb_invalidate_entry
___sysmmu_tlb_invalidate_entry:         ## @__sysmmu_tlb_invalidate_entry
	.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	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	8(%rdi), %edi
	callq	_MMU_MAJ_VER
	cmpl	$4, %eax
	jg	LBB0_5
## %bb.1:
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.2:
	movq	_REG_MMU_FLUSH_ENTRY@GOTPCREL(%rip), %r13
	movq	_SPAGE_SIZE@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_SPAGE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%ebx, %edi
	orl	$1, %edi
	movq	(%r13), %rsi
	addq	(%r14), %rsi
	callq	_writel
	addl	(%r12), %ebx
	decl	%r15d
	jne	LBB0_3
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_SPAGE_MASK@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	andl	%ebx, %edi
	cmpl	$1, %r15d
	jne	LBB0_7
## %bb.6:
	orl	$1, %edi
	movq	_REG_V5_MMU_FLUSH_ENTRY@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_REG_V5_MMU_FLUSH_START@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel
	andl	(%r12), %ebx
	decl	%r15d
	movq	_SPAGE_SIZE@GOTPCREL(%rip), %rax
	imull	(%rax), %r15d
	addl	%ebx, %r15d
	movq	_REG_V5_MMU_FLUSH_END@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	%r15d, %edi
	callq	_writel
	movl	$1, %edi
	movq	_REG_V5_MMU_FLUSH_RANGE@GOTPCREL(%rip), %rax
LBB0_8:
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SPAGE_MASK,4,2                 ## @SPAGE_MASK
	.comm	_REG_MMU_FLUSH_ENTRY,8,3        ## @REG_MMU_FLUSH_ENTRY
	.comm	_SPAGE_SIZE,4,2                 ## @SPAGE_SIZE
	.comm	_REG_V5_MMU_FLUSH_ENTRY,8,3     ## @REG_V5_MMU_FLUSH_ENTRY
	.comm	_REG_V5_MMU_FLUSH_START,8,3     ## @REG_V5_MMU_FLUSH_START
	.comm	_REG_V5_MMU_FLUSH_END,8,3       ## @REG_V5_MMU_FLUSH_END
	.comm	_REG_V5_MMU_FLUSH_RANGE,8,3     ## @REG_V5_MMU_FLUSH_RANGE
	.no_dead_strip	___sysmmu_tlb_invalidate_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __sysmmu_tlb_invalidate_entry
___sysmmu_tlb_invalidate_entry:         ; @__sysmmu_tlb_invalidate_entry
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_MMU_MAJ_VER
	cmp	w0, #4
	b.gt	LBB0_5
; %bb.1:
	cbz	w21, LBB0_4
; %bb.2:
Lloh0:
	adrp	x22, _SPAGE_MASK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SPAGE_MASK@GOTPAGEOFF]
Lloh2:
	adrp	x23, _REG_MMU_FLUSH_ENTRY@GOTPAGE
Lloh3:
	ldr	x23, [x23, _REG_MMU_FLUSH_ENTRY@GOTPAGEOFF]
Lloh4:
	adrp	x24, _SPAGE_SIZE@GOTPAGE
Lloh5:
	ldr	x24, [x24, _SPAGE_SIZE@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	and	w8, w8, w20
	orr	w0, w8, #0x1
	ldr	x8, [x19]
	ldr	x9, [x23]
	add	x1, x9, x8
	bl	_writel
	ldr	w8, [x24]
	add	w20, w8, w20
	subs	w21, w21, #1
	b.ne	LBB0_3
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh6:
	adrp	x22, _SPAGE_MASK@GOTPAGE
Lloh7:
	ldr	x22, [x22, _SPAGE_MASK@GOTPAGEOFF]
	ldr	w8, [x22]
	and	w0, w8, w20
	subs	w21, w21, #1
	b.ne	LBB0_7
; %bb.6:
	orr	w0, w0, #0x1
Lloh8:
	adrp	x8, _REG_V5_MMU_FLUSH_ENTRY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _REG_V5_MMU_FLUSH_ENTRY@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
	ldr	x8, [x19]
Lloh10:
	adrp	x9, _REG_V5_MMU_FLUSH_START@GOTPAGE
Lloh11:
	ldr	x9, [x9, _REG_V5_MMU_FLUSH_START@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w8, [x22]
	and	w8, w8, w20
Lloh13:
	adrp	x9, _SPAGE_SIZE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _SPAGE_SIZE@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	madd	w0, w9, w21, w8
	ldr	x8, [x19]
Lloh16:
	adrp	x9, _REG_V5_MMU_FLUSH_END@GOTPAGE
Lloh17:
	ldr	x9, [x9, _REG_V5_MMU_FLUSH_END@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	mov	w0, #1
Lloh19:
	adrp	x8, _REG_V5_MMU_FLUSH_RANGE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _REG_V5_MMU_FLUSH_RANGE@GOTPAGEOFF]
LBB0_8:
	ldr	x9, [x19]
	ldr	x8, [x8]
	add	x1, x8, x9
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SPAGE_MASK,4,2                 ; @SPAGE_MASK
	.comm	_REG_MMU_FLUSH_ENTRY,8,3        ; @REG_MMU_FLUSH_ENTRY
	.comm	_SPAGE_SIZE,4,2                 ; @SPAGE_SIZE
	.comm	_REG_V5_MMU_FLUSH_ENTRY,8,3     ; @REG_V5_MMU_FLUSH_ENTRY
	.comm	_REG_V5_MMU_FLUSH_START,8,3     ; @REG_V5_MMU_FLUSH_START
	.comm	_REG_V5_MMU_FLUSH_END,8,3       ; @REG_V5_MMU_FLUSH_END
	.comm	_REG_V5_MMU_FLUSH_RANGE,8,3     ; @REG_V5_MMU_FLUSH_RANGE
	.no_dead_strip	___sysmmu_tlb_invalidate_entry
.subsections_via_symbols
