	.file	"extr_s2io.c_s2io_ethtool_gregs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	s2io_ethtool_gregs, @function
s2io_ethtool_gregs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	netdev_priv@PLT
	mov	r13, rax
	mov	eax, DWORD PTR XENA_REG_SPACE[rip]
	mov	rdx, QWORD PTR 8[r13]
	mov	DWORD PTR [r12], eax
	mov	edx, DWORD PTR [rdx]
	mov	DWORD PTR 4[r12], edx
	test	eax, eax
	jle	.L1
	xor	ebx, ebx
	lea	r14, 4[rsp]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, QWORD PTR 0[r13]
	add	rdi, rbx
	add	rbx, 8
	call	readq@PLT
	mov	rdi, rbp
	mov	edx, 8
	mov	rsi, r14
	mov	DWORD PTR 4[rsp], eax
	add	rbp, 32
	call	memcpy@PLT
	cmp	DWORD PTR [r12], ebx
	jg	.L3
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L8:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	s2io_ethtool_gregs, .-s2io_ethtool_gregs
	.comm	XENA_REG_SPACE,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_s2io.c_s2io_ethtool_gregs.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	s2io_ethtool_gregs, %function
s2io_ethtool_gregs:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L9
	sub	sp, sp, #12
	mov	r6, r1
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	netdev_priv
	ldr	r3, .L9+4
	ldr	r2, [r0, #4]
	ldr	r3, [r3]
	ldr	r2, [r2]
	cmp	r3, #0
	str	r2, [r6, #4]
	str	r3, [r6]
	ble	.L1
	mov	r7, r0
	mov	r4, #0
.L3:
	ldr	r0, [r7]
	add	r0, r4, r0
	bl	readq
	mov	r3, r0
	mov	r2, #8
	mov	r0, r5
	mov	r1, sp
	str	r3, [sp]
	bl	memcpy
	ldr	r3, [r6]
	add	r4, r4, #8
	cmp	r3, r4
	add	r5, r5, #32
	bgt	.L3
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	XENA_REG_SPACE
	.size	s2io_ethtool_gregs, .-s2io_ethtool_gregs
	.comm	XENA_REG_SPACE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
