	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_force_invalidate_cache_range ## -- Begin function pmap_force_invalidate_cache_range
	.p2align	4, 0x90
_pmap_force_invalidate_cache_range:     ## @pmap_force_invalidate_cache_range
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_cpu_clflush_line_size@GOTPCREL(%rip), %r15
	xorl	%eax, %eax
	subl	(%r15), %eax
	cltq
	andq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_pmap_kextract
	movq	_lapic_paddr@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_cpu_stdext_feature@GOTPCREL(%rip), %rax
	movq	_CPUID_STDEXT_CLFLUSHOPT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_6
## %bb.2:
	xorl	%eax, %eax
	callq	_atomic_thread_fence_seq_cst
	cmpq	%r14, %rbx
	jge	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_clflushopt
	movslq	(%r15), %rax
	addq	%rax, %rbx
	cmpq	%r14, %rbx
	jl	LBB0_3
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_atomic_thread_fence_seq_cst    ## TAILCALL
LBB0_6:
	movq	_cpu_vendor_id@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	_CPU_VENDOR_INTEL@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	je	LBB0_9
## %bb.7:
	xorl	%eax, %eax
	callq	_mfence
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %rdi
	callq	_clflush
	movslq	(%r15), %rax
	addq	%rax, %rbx
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r14, %rbx
	jl	LBB0_8
## %bb.10:
	movq	(%r12), %rax
	cmpq	(%r13), %rax
	je	LBB0_11
## %bb.12:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mfence                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cpu_clflush_line_size,4,2      ## @cpu_clflush_line_size
	.comm	_lapic_paddr,8,3                ## @lapic_paddr
	.comm	_cpu_stdext_feature,4,2         ## @cpu_stdext_feature
	.comm	_CPUID_STDEXT_CLFLUSHOPT,4,2    ## @CPUID_STDEXT_CLFLUSHOPT
	.comm	_cpu_vendor_id,8,3              ## @cpu_vendor_id
	.comm	_CPU_VENDOR_INTEL,8,3           ## @CPU_VENDOR_INTEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_force_invalidate_cache_range ; -- Begin function pmap_force_invalidate_cache_range
	.p2align	2
_pmap_force_invalidate_cache_range:     ; @pmap_force_invalidate_cache_range
	.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	x19, x1
Lloh0:
	adrp	x21, _cpu_clflush_line_size@GOTPAGE
Lloh1:
	ldr	x21, [x21, _cpu_clflush_line_size@GOTPAGEOFF]
	ldr	w8, [x21]
	neg	w8, w8
	sxtw	x8, w8
	and	x20, x8, x0
	mov	x0, x20
	bl	_pmap_kextract
Lloh2:
	adrp	x8, _lapic_paddr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _lapic_paddr@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
LBB0_1:
	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_2:
Lloh5:
	adrp	x8, _cpu_stdext_feature@GOTPAGE
Lloh6:
	ldr	x8, [x8, _cpu_stdext_feature@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _CPUID_STDEXT_CLFLUSHOPT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CPUID_STDEXT_CLFLUSHOPT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.3:
	bl	_atomic_thread_fence_seq_cst
	cmp	x20, x19
	b.ge	LBB0_5
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_clflushopt
	ldrsw	x8, [x21]
	add	x20, x20, x8
	cmp	x20, x19
	b.lt	LBB0_4
LBB0_5:
	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	_atomic_thread_fence_seq_cst
LBB0_6:
Lloh11:
	adrp	x22, _cpu_vendor_id@GOTPAGE
Lloh12:
	ldr	x22, [x22, _cpu_vendor_id@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh13:
	adrp	x23, _CPU_VENDOR_INTEL@GOTPAGE
Lloh14:
	ldr	x23, [x23, _CPU_VENDOR_INTEL@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.7:
	bl	_mfence
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	bl	_clflush
	ldrsw	x8, [x21]
	add	x20, x20, x8
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x20, x19
	b.lt	LBB0_8
; %bb.10:
	ldr	x8, [x22]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_1
; %bb.11:
	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	_mfence
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_cpu_clflush_line_size,4,2      ; @cpu_clflush_line_size
	.comm	_lapic_paddr,8,3                ; @lapic_paddr
	.comm	_cpu_stdext_feature,4,2         ; @cpu_stdext_feature
	.comm	_CPUID_STDEXT_CLFLUSHOPT,4,2    ; @CPUID_STDEXT_CLFLUSHOPT
	.comm	_cpu_vendor_id,8,3              ; @cpu_vendor_id
	.comm	_CPU_VENDOR_INTEL,8,3           ; @CPU_VENDOR_INTEL
.subsections_via_symbols
