	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcache_invalidate              ## -- Begin function dcache_invalidate
	.p2align	4, 0x90
_dcache_invalidate:                     ## @dcache_invalidate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movups	%xmm0, 24(%rdi)
	movq	_DCACHE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	testl	%r10d, %r10d
	jle	LBB0_11
## %bb.1:
	leaq	8(%rdi), %r9
	movq	16(%rdi), %r8
	leaq	-1(%r10), %rax
	movl	%r10d, %r11d
	andl	$3, %r11d
	cmpq	$3, %rax
	jae	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	xorl	%edx, %edx
	xorl	%esi, %esi
	testq	%r11, %r11
	jne	LBB0_7
	jmp	LBB0_10
LBB0_3:
	andl	$-4, %r10d
	xorl	%eax, %eax
	movq	%r8, %rdx
	xorl	%ecx, %ecx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rsi, %rsi
	cmoveq	%r9, %rcx
	cmoveq	%rdx, %rsi
	movq	%rdx, (%rcx)
	movq	$0, (%rdx)
	testq	%rsi, %rsi
	movq	%rdx, %rcx
	cmoveq	%r9, %rcx
	leaq	8(%rdx), %rbx
	cmoveq	%rbx, %rsi
	movq	%rbx, (%rcx)
	leaq	16(%rdx), %rcx
	movq	%rcx, 8(%rdx)
	leaq	24(%rdx), %rcx
	movq	%rcx, 16(%rdx)
	movq	$0, 24(%rdx)
	addq	$4, %rax
	addq	$32, %rdx
	cmpq	%rax, %r10
	jne	LBB0_4
## %bb.5:
	addq	$-8, %rdx
	testq	%r11, %r11
	je	LBB0_10
LBB0_7:
	leaq	(%r8,%rax,8), %rax
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rsi, %rsi
	cmoveq	%r9, %rdx
	cmoveq	%rax, %rsi
	movq	%rax, (%rdx)
	movq	$0, (%rax)
	movq	%rax, %rdx
	addq	$8, %rax
	decq	%r11
	jne	LBB0_8
## %bb.9:
	addq	$-8, %rax
	movq	%rax, %rdx
LBB0_10:
	movq	%rdx, (%rdi)
LBB0_11:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DCACHE_SIZE,4,2                ## @DCACHE_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcache_invalidate              ; -- Begin function dcache_invalidate
	.p2align	2
_dcache_invalidate:                     ; @dcache_invalidate
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	str	xzr, [x8, #8]!
	str	xzr, [x0]
	stp	xzr, xzr, [x0, #24]
Lloh0:
	adrp	x9, _DCACHE_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DCACHE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x12, #0
	mov	x11, #0
	ldr	x10, [x0, #16]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x11, #0
	csel	x12, x8, x12, eq
	mov	x13, x10
	csel	x11, x10, x11, eq
	str	x10, [x12]
	str	xzr, [x10], #8
	mov	x12, x13
	subs	x9, x9, #1
	b.ne	LBB0_2
; %bb.3:
	sub	x8, x10, #8
	str	x8, [x0]
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DCACHE_SIZE,4,2                ; @DCACHE_SIZE
.subsections_via_symbols
