	.file	"extr_pata_octeon_cf.c_octeon_cf_set_boot_reg_cfg.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	octeon_cf_set_boot_reg_cfg, @function
octeon_cf_set_boot_reg_cfg:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	sub	esi, 2
	mov	r12d, 1
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	esi, 6
	ja	.L2
	lea	rax, CSWTCH.2[rip]
	mov	r12d, DWORD PTR [rax+rsi*4]
.L2:
	mov	edi, ebp
	call	CVMX_MIO_BOOT_REG_CFGX@PLT
	mov	edi, eax
	call	cvmx_read_csr@PLT
	mov	edi, ebp
	call	CVMX_MIO_BOOT_REG_CFGX@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	esi, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	edi, eax
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	cvmx_write_csr@PLT
	.cfi_endproc
.LFE0:
	.size	octeon_cf_set_boot_reg_cfg, .-octeon_cf_set_boot_reg_cfg
	.section	.rodata
	.align 16
	.type	CSWTCH.2, @object
	.size	CSWTCH.2, 28
CSWTCH.2:
	.long	2
	.long	1
	.long	0
	.long	1
	.long	1
	.long	1
	.long	3
	.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_pata_octeon_cf.c_octeon_cf_set_boot_reg_cfg.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	octeon_cf_set_boot_reg_cfg, %function
octeon_cf_set_boot_reg_cfg:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	sub	r1, r1, #2
	push	{r4, r5, r6, lr}
	cmp	r1, #6
	mov	r4, r0
	movhi	r5, #1
	ldrls	r3, .L6
	ldrls	r5, [r3, r1, lsl #2]
	bl	CVMX_MIO_BOOT_REG_CFGX
	bl	cvmx_read_csr
	mov	r0, r4
	bl	CVMX_MIO_BOOT_REG_CFGX
	mov	r1, r5
	pop	{r4, r5, r6, lr}
	b	cvmx_write_csr
.L7:
	.align	2
.L6:
	.word	.LANCHOR0
	.size	octeon_cf_set_boot_reg_cfg, .-octeon_cf_set_boot_reg_cfg
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	CSWTCH.2, %object
	.size	CSWTCH.2, 28
CSWTCH.2:
	.word	2
	.word	1
	.word	0
	.word	1
	.word	1
	.word	1
	.word	3
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
