	.file	"extr_cache.c___invalidate_dcache_range.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	__invalidate_dcache_range
	.type	__invalidate_dcache_range, @function
__invalidate_dcache_range:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR cpuinfo[rip+16], 0
	jne	.L12
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	r13, cpuinfo[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rdi, QWORD PTR cpuinfo[rip+8]
	add	rdi, r12
	call	min@PLT
	movsx	rdx, DWORD PTR cpuinfo[rip]
	xor	edi, edi
	mov	ecx, edx
	neg	ecx
	mov	ebp, ecx
	and	r12, rbp
	and	rbp, rax
	add	rbp, rdx
	mov	ebx, r12d
	call	local_irq_save@PLT
	xor	eax, eax
	call	__disable_dcache@PLT
	cmp	r12, rbp
	jnb	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, ebx
	call	__invalidate_dcache@PLT
	add	ebx, DWORD PTR 0[r13]
	mov	eax, ebx
	cmp	rax, rbp
	jb	.L3
.L4:
	xor	eax, eax
	call	__enable_dcache@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	edi, edi
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 8
	jmp	local_irq_restore@PLT
	.cfi_endproc
.LFE0:
	.size	__invalidate_dcache_range, .-__invalidate_dcache_range
	.comm	cpuinfo,24,16
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_cache.c___invalidate_dcache_range.c"
	.text
	.align	2
	.global	__invalidate_dcache_range
	.syntax unified
	.arm
	.fpu softvfp
	.type	__invalidate_dcache_range, %function
__invalidate_dcache_range:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L8
	ldr	r3, [r5, #8]
	cmp	r3, #0
	popeq	{r4, r5, r6, pc}
	mov	r4, r0
	ldr	r0, [r5, #4]
	add	r0, r4, r0
	bl	min
	mov	r3, r0
	ldr	r6, [r5]
	mov	r0, #0
	rsb	r2, r6, #0
	and	r3, r3, r2
	add	r6, r6, r3
	and	r4, r4, r2
	bl	local_irq_save
	bl	__disable_dcache
	cmp	r4, r6
	bcs	.L3
.L4:
	mov	r0, r4
	bl	__invalidate_dcache
	ldr	r3, [r5]
	add	r4, r4, r3
	cmp	r6, r4
	bhi	.L4
.L3:
	bl	__enable_dcache
	pop	{r4, r5, r6, lr}
	mov	r0, #0
	b	local_irq_restore
.L9:
	.align	2
.L8:
	.word	cpuinfo
	.size	__invalidate_dcache_range, .-__invalidate_dcache_range
	.comm	cpuinfo,12,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
