	.file	"extr_lio_ethtool.c_cn6xxx_read_config_reg.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"\n\t Octeon Config space Registers\n\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"[0x%x] (Config[%d]): 0x%08x\n"
	.text
	.p2align 4
	.type	cn6xxx_read_config_reg, @function
cn6xxx_read_config_reg:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	r15, .LC1[rip]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	xor	ebx, ebx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 8[rsp], rsi
	lea	rsi, .LC0[rip]
	lea	r14, 20[rsp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	sprintf@PLT
	mov	r12d, eax
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rax, QWORD PTR 8[rsp]
	lea	r13d, 0[0+rbx*4]
	mov	rdx, r14
	mov	esi, r13d
	mov	edi, DWORD PTR [rax]
	call	pci_read_config_dword@PLT
	movsx	rdi, r12d
	mov	r8d, DWORD PTR 20[rsp]
	mov	ecx, ebx
	add	rdi, rbp
	mov	edx, r13d
	mov	rsi, r15
	xor	eax, eax
	call	sprintf@PLT
	add	ebx, 1
	add	r12d, eax
	cmp	ebx, 14
	jne	.L2
	mov	ebx, 30
	lea	r13, .LC1[rip]
.L3:
	mov	rax, QWORD PTR 8[rsp]
	lea	r15d, 0[0+rbx*4]
	mov	rdx, r14
	mov	esi, r15d
	mov	edi, DWORD PTR [rax]
	call	pci_read_config_dword@PLT
	movsx	rdi, r12d
	mov	r8d, DWORD PTR 20[rsp]
	mov	ecx, ebx
	add	rdi, rbp
	mov	edx, r15d
	mov	rsi, r13
	xor	eax, eax
	call	sprintf@PLT
	add	ebx, 1
	add	r12d, eax
	cmp	ebx, 35
	jne	.L3
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	cn6xxx_read_config_reg, .-cn6xxx_read_config_reg
	.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_lio_ethtool.c_cn6xxx_read_config_reg.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\012\011 Octeon Config space Registers\012\012\000"
	.align	2
.LC1:
	.ascii	"[0x%x] (Config[%d]): 0x%08x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cn6xxx_read_config_reg, %function
cn6xxx_read_config_reg:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L10
	sub	sp, sp, #20
	mov	r8, r1
	mov	r2, #35
	ldr	r1, .L10+4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r7, r0
	mov	r5, #34
	bl	memcpy
	mov	r4, #0
	ldr	r9, .L10+8
.L2:
	lsl	r6, r4, #2
	mov	r1, r6
	add	r2, sp, #8
	ldr	r0, [r8]
	bl	pci_read_config_dword
	ldr	r3, [sp, #8]
	add	r0, r7, r5
	str	r3, [sp]
	mov	r2, r6
	mov	r3, r4
	mov	r1, r9
	bl	sprintf
	add	r4, r4, #1
	cmp	r4, #14
	add	r5, r5, r0
	bne	.L2
	mov	r4, #30
	ldr	r9, .L10+8
.L3:
	lsl	r6, r4, #2
	mov	r1, r6
	add	r2, sp, #8
	ldr	r0, [r8]
	bl	pci_read_config_dword
	ldr	r3, [sp, #8]
	add	r0, r7, r5
	str	r3, [sp]
	mov	r2, r6
	mov	r3, r4
	mov	r1, r9
	add	r4, r4, #1
	bl	sprintf
	cmp	r4, #35
	add	r5, r5, #32
	bne	.L3
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	cn6xxx_read_config_reg, .-cn6xxx_read_config_reg
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
