	.file	"extr_c-r4k.c___local_r4k_flush_icache_range.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	__local_r4k_flush_icache_range, @function
__local_r4k_flush_icache_range:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, edx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR cpu_has_ic_fills_f_dc[rip]
	mov	eax, DWORD PTR R4K_INDEX[rip]
	test	edx, edx
	jne	.L2
	cmp	ebx, eax
	je	.L3
	test	ebx, eax
	je	.L4
	mov	rax, rsi
	sub	rax, rdi
	cmp	rax, QWORD PTR dcache_size[rip]
	jb	.L4
.L3:
	xor	eax, eax
	call	r4k_blast_dcache@PLT
	mov	eax, DWORD PTR R4K_INDEX[rip]
.L2:
	cmp	ebx, eax
	je	.L6
	test	ebx, eax
	je	.L7
	mov	rax, r12
	sub	rax, rbp
	cmp	rax, QWORD PTR icache_size[rip]
	jbe	.L7
.L6:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	r4k_blast_icache@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	xor	eax, eax
	call	boot_cpu_type@PLT
	mov	rsi, r12
	mov	rdi, rbp
	cmp	eax, 128
	je	.L18
	test	r13d, r13d
	je	.L9
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	protected_blast_icache_range@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rsi, r12
	mov	rdi, rbp
	test	r13d, r13d
	je	.L5
	call	protected_blast_dcache_range@PLT
	mov	eax, DWORD PTR R4K_INDEX[rip]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L9:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	blast_icache_range@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	call	blast_dcache_range@PLT
	mov	eax, DWORD PTR R4K_INDEX[rip]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L18:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	protected_loongson2_blast_icache_range@PLT
	.cfi_endproc
.LFE0:
	.size	__local_r4k_flush_icache_range, .-__local_r4k_flush_icache_range
	.comm	icache_size,8,8
	.comm	dcache_size,8,8
	.comm	cpu_has_ic_fills_f_dc,4,4
	.comm	R4K_INDEX,4,4
	.comm	R4600_HIT_CACHEOP_WAR_IMPL,4,4
	.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_c-r4k.c___local_r4k_flush_icache_range.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__local_r4k_flush_icache_range, %function
__local_r4k_flush_icache_range:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, .L19
	push	{r4, r5, r6, r7, r8, lr}
	ldr	ip, [ip]
	ldr	r8, .L19+4
	cmp	ip, #0
	mov	r4, r2
	mov	r5, r0
	mov	r6, r1
	mov	r7, r3
	ldr	r2, [r8]
	bne	.L2
	cmp	r4, r2
	beq	.L3
	tst	r4, r2
	beq	.L4
	ldr	r2, .L19+8
	sub	r3, r1, r0
	ldr	r2, [r2]
	cmp	r3, r2
	bcc	.L4
.L3:
	bl	r4k_blast_dcache
	ldr	r2, [r8]
.L2:
	cmp	r4, r2
	beq	.L6
	tst	r4, r2
	beq	.L7
	ldr	r3, .L19+12
	sub	r2, r6, r5
	ldr	r3, [r3]
	cmp	r2, r3
	bls	.L7
.L6:
	pop	{r4, r5, r6, r7, r8, lr}
	b	r4k_blast_icache
.L7:
	bl	boot_cpu_type
	cmp	r0, #128
	mov	r1, r6
	mov	r0, r5
	beq	.L18
	cmp	r7, #0
	beq	.L9
	pop	{r4, r5, r6, r7, r8, lr}
	b	protected_blast_icache_range
.L4:
	cmp	r7, #0
	mov	r1, r6
	mov	r0, r5
	beq	.L5
	bl	protected_blast_dcache_range
	ldr	r2, [r8]
	b	.L2
.L9:
	pop	{r4, r5, r6, r7, r8, lr}
	b	blast_icache_range
.L5:
	bl	blast_dcache_range
	ldr	r2, [r8]
	b	.L2
.L18:
	pop	{r4, r5, r6, r7, r8, lr}
	b	protected_loongson2_blast_icache_range
.L20:
	.align	2
.L19:
	.word	cpu_has_ic_fills_f_dc
	.word	R4K_INDEX
	.word	dcache_size
	.word	icache_size
	.size	__local_r4k_flush_icache_range, .-__local_r4k_flush_icache_range
	.comm	icache_size,4,4
	.comm	dcache_size,4,4
	.comm	cpu_has_ic_fills_f_dc,4,4
	.comm	R4K_INDEX,4,4
	.comm	R4600_HIT_CACHEOP_WAR_IMPL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
