	.file	"extr_c-r3k.c_r3k_cache_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Primary instruction cache %ldkB, linesize %ld bytes.\n"
	.align 8
.LC1:
	.string	"Primary data cache %ldkB, linesize %ld bytes.\n"
	.text
	.p2align 4
	.globl	r3k_cache_init
	.type	r3k_cache_init, @function
r3k_cache_init:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	xor	eax, eax
	call	r3k_probe_cache@PLT
	mov	eax, DWORD PTR r3k_flush_cache_all[rip]
	mov	esi, DWORD PTR icache_size[rip]
	lea	rdi, .LC0[rip]
	mov	edx, DWORD PTR icache_lsize[rip]
	mov	DWORD PTR flush_cache_all[rip], eax
	mov	eax, DWORD PTR r3k___flush_cache_all[rip]
	sar	esi, 10
	mov	DWORD PTR __flush_cache_all[rip], eax
	mov	eax, DWORD PTR r3k_flush_cache_mm[rip]
	mov	DWORD PTR flush_cache_mm[rip], eax
	mov	eax, DWORD PTR r3k_flush_cache_range[rip]
	mov	DWORD PTR flush_cache_range[rip], eax
	mov	eax, DWORD PTR r3k_flush_cache_page[rip]
	mov	DWORD PTR flush_cache_page[rip], eax
	mov	rax, QWORD PTR r3k_flush_icache_range[rip]
	mov	QWORD PTR flush_icache_range[rip], rax
	mov	QWORD PTR local_flush_icache_range[rip], rax
	mov	QWORD PTR __flush_icache_user_range[rip], rax
	mov	QWORD PTR __local_flush_icache_user_range[rip], rax
	mov	eax, DWORD PTR r3k_flush_kernel_vmap_range[rip]
	mov	DWORD PTR __flush_kernel_vmap_range[rip], eax
	mov	eax, DWORD PTR local_r3k_flush_data_cache_page[rip]
	mov	DWORD PTR local_flush_data_cache_page[rip], eax
	mov	eax, DWORD PTR r3k_flush_data_cache_page[rip]
	mov	DWORD PTR flush_data_cache_page[rip], eax
	mov	rax, QWORD PTR r3k_dma_cache_wback_inv[rip]
	mov	QWORD PTR _dma_cache_wback_inv[rip], rax
	mov	QWORD PTR _dma_cache_wback[rip], rax
	mov	QWORD PTR _dma_cache_inv[rip], rax
	call	printk@PLT
	mov	esi, DWORD PTR dcache_size[rip]
	mov	edx, DWORD PTR dcache_lsize[rip]
	lea	rdi, .LC1[rip]
	sar	esi, 10
	call	printk@PLT
	call	build_clear_page@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 8
	jmp	build_copy_page@PLT
	.cfi_endproc
.LFE0:
	.size	r3k_cache_init, .-r3k_cache_init
	.comm	r3k_flush_kernel_vmap_range,4,4
	.comm	r3k_flush_icache_range,8,8
	.comm	r3k_flush_data_cache_page,4,4
	.comm	r3k_flush_cache_range,4,4
	.comm	r3k_flush_cache_page,4,4
	.comm	r3k_flush_cache_mm,4,4
	.comm	r3k_flush_cache_all,4,4
	.comm	r3k_dma_cache_wback_inv,8,8
	.comm	r3k___flush_cache_all,4,4
	.comm	local_r3k_flush_data_cache_page,4,4
	.comm	local_flush_icache_range,8,8
	.comm	local_flush_data_cache_page,4,4
	.comm	icache_size,4,4
	.comm	icache_lsize,4,4
	.comm	flush_icache_range,8,8
	.comm	flush_data_cache_page,4,4
	.comm	flush_cache_range,4,4
	.comm	flush_cache_page,4,4
	.comm	flush_cache_mm,4,4
	.comm	flush_cache_all,4,4
	.comm	dcache_size,4,4
	.comm	dcache_lsize,4,4
	.comm	_dma_cache_wback_inv,8,8
	.comm	_dma_cache_wback,8,8
	.comm	_dma_cache_inv,8,8
	.comm	__local_flush_icache_user_range,8,8
	.comm	__flush_kernel_vmap_range,4,4
	.comm	__flush_icache_user_range,8,8
	.comm	__flush_cache_all,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-r3k.c_r3k_cache_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Primary instruction cache %ldkB, linesize %ld bytes"
	.ascii	".\012\000"
	.align	2
.LC1:
	.ascii	"Primary data cache %ldkB, linesize %ld bytes.\012\000"
	.text
	.align	2
	.global	r3k_cache_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	r3k_cache_init, %function
r3k_cache_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	r3k_probe_cache
	ldr	r2, .L4
	ldr	r3, .L4+4
	ldr	r1, [r2]
	ldr	r0, .L4+8
	ldr	r2, [r3]
	ldr	r3, .L4+12
	ldr	r0, [r0]
	str	r2, [r3]
	ldr	r4, .L4+16
	ldr	r2, .L4+20
	ldr	r4, [r4]
	str	r0, [r2]
	ldr	lr, .L4+24
	ldr	r2, .L4+28
	ldr	r3, .L4+32
	str	r4, [r2]
	ldr	r3, [r3]
	ldr	lr, [lr]
	ldr	r2, .L4+36
	ldr	r5, .L4+40
	ldr	ip, .L4+44
	str	lr, [r2]
	str	r3, [r5]
	ldr	ip, [ip]
	ldr	r2, .L4+48
	ldr	r5, .L4+52
	str	ip, [r2]
	str	r3, [r5]
	ldr	r2, .L4+56
	ldr	r5, .L4+60
	ldr	r0, .L4+64
	str	r3, [r2]
	ldr	r0, [r0]
	str	r3, [r5]
	ldr	r4, .L4+68
	ldr	r3, .L4+72
	ldr	lr, .L4+76
	str	r0, [r3]
	ldr	r4, [r4]
	ldr	r0, .L4+80
	ldr	ip, .L4+84
	ldr	lr, [lr]
	ldr	r3, .L4+88
	ldr	ip, [ip]
	str	r4, [r0]
	ldr	r2, .L4+92
	ldr	r0, .L4+96
	str	lr, [r3]
	ldr	lr, .L4+100
	ldr	r3, .L4+104
	str	ip, [r0]
	ldr	r2, [r2]
	asr	r1, r1, #10
	ldr	r0, .L4+108
	str	ip, [lr]
	str	ip, [r3]
	bl	printk
	ldr	r2, .L4+112
	ldr	r3, .L4+116
	ldr	r1, [r2]
	ldr	r0, .L4+120
	ldr	r2, [r3]
	asr	r1, r1, #10
	bl	printk
	bl	build_clear_page
	pop	{r4, r5, r6, lr}
	b	build_copy_page
.L5:
	.align	2
.L4:
	.word	icache_size
	.word	r3k_flush_cache_all
	.word	r3k___flush_cache_all
	.word	flush_cache_all
	.word	r3k_flush_cache_mm
	.word	__flush_cache_all
	.word	r3k_flush_cache_range
	.word	flush_cache_mm
	.word	r3k_flush_icache_range
	.word	flush_cache_range
	.word	local_flush_icache_range
	.word	r3k_flush_cache_page
	.word	flush_cache_page
	.word	__flush_icache_user_range
	.word	flush_icache_range
	.word	__local_flush_icache_user_range
	.word	r3k_flush_kernel_vmap_range
	.word	local_r3k_flush_data_cache_page
	.word	__flush_kernel_vmap_range
	.word	r3k_flush_data_cache_page
	.word	local_flush_data_cache_page
	.word	r3k_dma_cache_wback_inv
	.word	flush_data_cache_page
	.word	icache_lsize
	.word	_dma_cache_wback_inv
	.word	_dma_cache_wback
	.word	_dma_cache_inv
	.word	.LC0
	.word	dcache_size
	.word	dcache_lsize
	.word	.LC1
	.size	r3k_cache_init, .-r3k_cache_init
	.comm	r3k_flush_kernel_vmap_range,4,4
	.comm	r3k_flush_icache_range,4,4
	.comm	r3k_flush_data_cache_page,4,4
	.comm	r3k_flush_cache_range,4,4
	.comm	r3k_flush_cache_page,4,4
	.comm	r3k_flush_cache_mm,4,4
	.comm	r3k_flush_cache_all,4,4
	.comm	r3k_dma_cache_wback_inv,4,4
	.comm	r3k___flush_cache_all,4,4
	.comm	local_r3k_flush_data_cache_page,4,4
	.comm	local_flush_icache_range,4,4
	.comm	local_flush_data_cache_page,4,4
	.comm	icache_size,4,4
	.comm	icache_lsize,4,4
	.comm	flush_icache_range,4,4
	.comm	flush_data_cache_page,4,4
	.comm	flush_cache_range,4,4
	.comm	flush_cache_page,4,4
	.comm	flush_cache_mm,4,4
	.comm	flush_cache_all,4,4
	.comm	dcache_size,4,4
	.comm	dcache_lsize,4,4
	.comm	_dma_cache_wback_inv,4,4
	.comm	_dma_cache_wback,4,4
	.comm	_dma_cache_inv,4,4
	.comm	__local_flush_icache_user_range,4,4
	.comm	__flush_kernel_vmap_range,4,4
	.comm	__flush_icache_user_range,4,4
	.comm	__flush_cache_all,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
