	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i810_insert_dcache_entries
_i810_insert_dcache_entries:            ## @i810_insert_dcache_entries
	.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	%esi, %r15d
	movl	(%rdi), %eax
	leal	(%rax,%r15), %ecx
	movq	_intel_private@GOTPCREL(%rip), %r13
	cmpl	(%r13), %ecx
	jle	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_9
LBB0_2:
	movl	%edx, %r14d
	movq	%rdi, %r12
	cmpl	$0, 4(%rdi)
	je	LBB0_3
## %bb.4:
	testl	%eax, %eax
	jle	LBB0_5
LBB0_6:
	movl	%r15d, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	movl	%ebx, %edi
	shll	%cl, %edi
	movq	16(%r13), %rax
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	*(%rax)
	incl	%ebx
	movl	(%r12), %eax
	addl	%r15d, %eax
	cmpl	%eax, %ebx
	jl	LBB0_7
	jmp	LBB0_8
LBB0_3:
	xorl	%eax, %eax
	callq	_global_cache_flush
	movl	(%r12), %eax
	testl	%eax, %eax
	jg	LBB0_6
LBB0_5:
	movl	%r15d, %ebx
LBB0_8:
	movq	8(%r13), %rax
	movslq	%ebx, %rcx
	leaq	(%rcx,%rax), %rdi
	decq	%rdi
	callq	_readl
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_intel_private,24,3             ## @intel_private
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.no_dead_strip	_i810_insert_dcache_entries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i810_insert_dcache_entries
_i810_insert_dcache_entries:            ; @i810_insert_dcache_entries
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x23, _intel_private@GOTPAGE
Lloh1:
	ldr	x23, [x23, _intel_private@GOTPAGEOFF]
	ldr	w9, [x23]
	add	w10, w8, w1
	cmp	w10, w9
	b.le	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_2:
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	w9, [x0, #4]
	cbz	w9, LBB0_6
; %bb.3:
	cmp	w8, #1
	b.lt	LBB0_7
LBB0_4:
Lloh5:
	adrp	x24, _PAGE_SHIFT@GOTPAGE
Lloh6:
	ldr	x24, [x24, _PAGE_SHIFT@GOTPAGEOFF]
	mov	x22, x19
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x24]
	lsl	w0, w22, w8
	ldr	x8, [x23, #16]
	ldr	x8, [x8]
	mov	x1, x22
	mov	x2, x20
	blr	x8
	add	w22, w22, #1
	ldr	w8, [x21]
	add	w8, w8, w19
	cmp	w22, w8
	b.lt	LBB0_5
	b	LBB0_8
LBB0_6:
	bl	_global_cache_flush
	ldr	w8, [x21]
	cmp	w8, #1
	b.ge	LBB0_4
LBB0_7:
	mov	x22, x19
LBB0_8:
	ldr	x8, [x23, #8]
	add	x8, x8, w22, sxtw
	sub	x0, x8, #1
	bl	_readl
	mov	w0, #0
LBB0_9:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_intel_private,24,3             ; @intel_private
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.no_dead_strip	_i810_insert_dcache_entries
.subsections_via_symbols
