	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flush_dcache
_flush_dcache:                          ## @flush_dcache
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_pfn_to_page
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r14
	movq	(%rax), %rbx
	movq	_PG_dcache_dirty@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	btq	%rax, %rbx
	jae	LBB0_6
## %bb.2:
	movq	_PG_dcache_cpu_shift@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrq	%cl, %rbx
	movq	_PG_dcache_cpu_mask@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_get_cpu
	movq	%r14, %rdi
	cmpl	%ebx, %eax
	jne	LBB0_4
## %bb.3:
	callq	_flush_dcache_page_impl
	jmp	LBB0_5
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movl	%ebx, %esi
	callq	_smp_flush_dcache_page_impl
LBB0_5:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_clear_dcache_dirty_cpu
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_put_cpu                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PG_dcache_dirty,8,3            ## @PG_dcache_dirty
	.comm	_PG_dcache_cpu_shift,8,3        ## @PG_dcache_cpu_shift
	.comm	_PG_dcache_cpu_mask,8,3         ## @PG_dcache_cpu_mask
	.no_dead_strip	_flush_dcache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flush_dcache
_flush_dcache:                          ; @flush_dcache
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_pfn_to_page
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PG_dcache_dirty@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PG_dcache_dirty@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	lsr	x9, x8, x9
	tbz	w9, #0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x9, _PG_dcache_cpu_shift@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PG_dcache_cpu_shift@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	lsr	x8, x8, x9
Lloh6:
	adrp	x9, _PG_dcache_cpu_mask@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PG_dcache_cpu_mask@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w20, w8, w9
	bl	_get_cpu
	cmp	w0, w20
	b.ne	LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_flush_dcache_page_impl
	b	LBB0_6
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	bl	_smp_flush_dcache_page_impl
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	bl	_clear_dcache_dirty_cpu
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_put_cpu
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PG_dcache_dirty,8,3            ; @PG_dcache_dirty
	.comm	_PG_dcache_cpu_shift,8,3        ; @PG_dcache_cpu_shift
	.comm	_PG_dcache_cpu_mask,8,3         ; @PG_dcache_cpu_mask
	.no_dead_strip	_flush_dcache
.subsections_via_symbols
