	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpa_flush_range
_cpa_flush_range:                       ## @cpa_flush_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
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_irqs_disabled
	movl	%eax, %edi
	callq	_BUG_ON
	movq	%rbx, %rdi
	callq	_PAGE_ALIGN
	xorl	%edi, %edi
	cmpq	%rbx, %rax
	setne	%dil
	callq	_WARN_ON
	movq	___cpa_flush_range@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_on_each_cpu
	testl	%r15d, %r15d
	je	LBB0_7
## %bb.1:
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.2:
	leaq	-44(%rbp), %r15
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r12
	movq	__PAGE_PRESENT@GOTPCREL(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	(%r12), %rbx
	decl	%r14d
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_lookup_address
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax), %edi
	callq	_pte_val
	testl	%eax, (%r13)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rsi
	movq	%rbx, %rdi
	callq	_clflush_cache_range
	jmp	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___cpa_flush_range,4,2          ## @__cpa_flush_range
	.comm	__PAGE_PRESENT,4,2              ## @_PAGE_PRESENT
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.no_dead_strip	_cpa_flush_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpa_flush_range
_cpa_flush_range:                       ; @cpa_flush_range
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	bl	_irqs_disabled
	bl	_BUG_ON
	mov	x0, x20
	bl	_PAGE_ALIGN
	cmp	x0, x20
	cset	w0, ne
	bl	_WARN_ON
Lloh0:
	adrp	x8, ___cpa_flush_range@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___cpa_flush_range@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, #0
	mov	w2, #1
	bl	_on_each_cpu
	cbz	w21, LBB0_7
; %bb.1:
	cbz	w19, LBB0_7
; %bb.2:
Lloh3:
	adrp	x21, _PAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _PAGE_SIZE@GOTPAGEOFF]
Lloh5:
	adrp	x22, __PAGE_PRESENT@GOTPAGE
Lloh6:
	ldr	x22, [x22, __PAGE_PRESENT@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21]
	add	x20, x8, x20
	subs	w19, w19, #1
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #12
	mov	x0, x20
	bl	_lookup_address
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x0]
	bl	_pte_val
	ldr	w8, [x22]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x21]
	mov	x0, x20
	bl	_clflush_cache_range
	b	LBB0_3
LBB0_7:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	___cpa_flush_range,4,2          ; @__cpa_flush_range
	.comm	__PAGE_PRESENT,4,2              ; @_PAGE_PRESENT
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.no_dead_strip	_cpa_flush_range
.subsections_via_symbols
