	.file	"extr_e1000_ethtool.c_e1000_get_regs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	e1000_get_regs, @function
e1000_get_regs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	netdev_priv@PLT
	xor	esi, esi
	mov	rdi, rbx
	mov	rbp, rax
	lea	r12, 16[rax]
	mov	eax, DWORD PTR E1000_REGS_LEN[rip]
	lea	edx, 0[0+rax*8]
	call	memset@PLT
	mov	eax, DWORD PTR 16[rbp]
	sal	eax, 16
	or	eax, DWORD PTR 20[rbp]
	or	eax, 16777216
	mov	DWORD PTR 0[r13], eax
	mov	edi, DWORD PTR CTRL[rip]
	call	er32@PLT
	mov	edi, DWORD PTR STATUS[rip]
	mov	QWORD PTR [rbx], rax
	call	er32@PLT
	mov	edi, DWORD PTR RCTL[rip]
	mov	QWORD PTR 8[rbx], rax
	call	er32@PLT
	mov	edi, DWORD PTR RDLEN[rip]
	mov	QWORD PTR 16[rbx], rax
	call	er32@PLT
	mov	edi, DWORD PTR RDH[rip]
	mov	QWORD PTR 24[rbx], rax
	call	er32@PLT
	mov	edi, DWORD PTR RDT[rip]
	mov	QWORD PTR 32[rbx], rax
	call	er32@PLT
	mov	edi, DWORD PTR RDTR[rip]
	mov	QWORD PTR 40[rbx], rax
	call	er32@PLT
	mov	edi, DWORD PTR TCTL[rip]
	mov	QWORD PTR 48[rbx], rax
	call	er32@PLT
	mov	edi, DWORD PTR TDLEN[rip]
	mov	QWORD PTR 56[rbx], rax
	call	er32@PLT
	mov	edi, DWORD PTR TDH[rip]
	mov	QWORD PTR 64[rbx], rax
	call	er32@PLT
	mov	edi, DWORD PTR TDT[rip]
	mov	QWORD PTR 72[rbx], rax
	call	er32@PLT
	mov	edi, DWORD PTR TIDV[rip]
	mov	QWORD PTR 80[rbx], rax
	call	er32@PLT
	mov	QWORD PTR 88[rbx], rax
	mov	rax, QWORD PTR 24[rbp]
	cmp	rax, QWORD PTR e1000_phy_igp[rip]
	mov	QWORD PTR 96[rbx], rax
	je	.L8
	mov	esi, DWORD PTR M88E1000_PHY_SPEC_STATUS[rip]
	mov	r13, rsp
	mov	rdi, r12
	mov	rdx, r13
	call	e1000_read_phy_reg@PLT
	mov	rax, QWORD PTR [rsp]
	mov	rdx, r13
	mov	rdi, r12
	mov	QWORD PTR 112[rbx], 0
	mov	esi, DWORD PTR M88E1000_PHY_SPEC_CTRL[rip]
	mov	QWORD PTR 104[rbx], rax
	mov	QWORD PTR 120[rbx], 0
	mov	QWORD PTR 128[rbx], 0
	call	e1000_read_phy_reg@PLT
	mov	rdx, QWORD PTR [rsp]
	mov	rax, QWORD PTR 104[rbx]
	mov	QWORD PTR 152[rbx], 0
	mov	QWORD PTR 136[rbx], rdx
	mov	QWORD PTR 144[rbx], rax
	mov	QWORD PTR 160[rbx], rdx
	mov	rdx, QWORD PTR 0[rbp]
	mov	QWORD PTR 184[rbx], rax
	mov	QWORD PTR 176[rbx], rdx
.L3:
	mov	rax, QWORD PTR 8[rbp]
	mov	esi, DWORD PTR PHY_1000T_STATUS[rip]
	mov	rdx, r13
	mov	rdi, r12
	mov	QWORD PTR 168[rbx], rax
	call	e1000_read_phy_reg@PLT
	mov	rax, QWORD PTR [rsp]
	mov	QWORD PTR 192[rbx], rax
	mov	QWORD PTR 200[rbx], rax
	mov	rax, QWORD PTR e1000_82540[rip]
	cmp	QWORD PTR 32[rbp], rax
	jl	.L1
	mov	rax, QWORD PTR e1000_media_type_copper[rip]
	cmp	QWORD PTR 40[rbp], rax
	je	.L9
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 24
	.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
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edx, DWORD PTR IGP01E1000_PHY_AGC_A[rip]
	mov	esi, DWORD PTR IGP01E1000_PHY_PAGE_SELECT[rip]
	mov	r13, rsp
	mov	rdi, r12
	call	e1000_write_phy_reg@PLT
	mov	rdx, r13
	mov	rdi, r12
	mov	esi, DWORD PTR IGP01E1000_PHY_AGC_A[rip]
	and	esi, DWORD PTR IGP01E1000_PHY_PAGE_SELECT[rip]
	call	e1000_read_phy_reg@PLT
	mov	rax, QWORD PTR [rsp]
	mov	edx, DWORD PTR IGP01E1000_PHY_AGC_B[rip]
	mov	rdi, r12
	mov	esi, DWORD PTR IGP01E1000_PHY_PAGE_SELECT[rip]
	mov	QWORD PTR 104[rbx], rax
	call	e1000_write_phy_reg@PLT
	mov	rdx, r13
	mov	rdi, r12
	mov	esi, DWORD PTR IGP01E1000_PHY_AGC_B[rip]
	and	esi, DWORD PTR IGP01E1000_PHY_PAGE_SELECT[rip]
	call	e1000_read_phy_reg@PLT
	mov	rax, QWORD PTR [rsp]
	mov	edx, DWORD PTR IGP01E1000_PHY_AGC_C[rip]
	mov	rdi, r12
	mov	esi, DWORD PTR IGP01E1000_PHY_PAGE_SELECT[rip]
	mov	QWORD PTR 112[rbx], rax
	call	e1000_write_phy_reg@PLT
	mov	rdx, r13
	mov	rdi, r12
	mov	esi, DWORD PTR IGP01E1000_PHY_AGC_C[rip]
	and	esi, DWORD PTR IGP01E1000_PHY_PAGE_SELECT[rip]
	call	e1000_read_phy_reg@PLT
	mov	rax, QWORD PTR [rsp]
	mov	edx, DWORD PTR IGP01E1000_PHY_AGC_D[rip]
	mov	rdi, r12
	mov	esi, DWORD PTR IGP01E1000_PHY_PAGE_SELECT[rip]
	mov	QWORD PTR 120[rbx], rax
	call	e1000_write_phy_reg@PLT
	mov	rdx, r13
	mov	rdi, r12
	mov	esi, DWORD PTR IGP01E1000_PHY_AGC_D[rip]
	and	esi, DWORD PTR IGP01E1000_PHY_PAGE_SELECT[rip]
	call	e1000_read_phy_reg@PLT
	mov	rax, QWORD PTR [rsp]
	xor	edx, edx
	mov	rdi, r12
	mov	QWORD PTR 136[rbx], 0
	mov	esi, DWORD PTR IGP01E1000_PHY_PAGE_SELECT[rip]
	mov	QWORD PTR 128[rbx], rax
	call	e1000_write_phy_reg@PLT
	mov	rdx, r13
	mov	rdi, r12
	mov	esi, DWORD PTR IGP01E1000_PHY_PORT_STATUS[rip]
	and	esi, DWORD PTR IGP01E1000_PHY_PAGE_SELECT[rip]
	call	e1000_read_phy_reg@PLT
	mov	rax, QWORD PTR [rsp]
	mov	edx, DWORD PTR IGP01E1000_PHY_PCS_INIT_REG[rip]
	mov	rdi, r12
	mov	esi, DWORD PTR IGP01E1000_PHY_PAGE_SELECT[rip]
	mov	QWORD PTR 144[rbx], rax
	call	e1000_write_phy_reg@PLT
	mov	rdx, r13
	mov	rdi, r12
	mov	esi, DWORD PTR IGP01E1000_PHY_PCS_INIT_REG[rip]
	and	esi, DWORD PTR IGP01E1000_PHY_PAGE_SELECT[rip]
	call	e1000_read_phy_reg@PLT
	mov	rax, QWORD PTR [rsp]
	xor	edx, edx
	mov	rdi, r12
	mov	QWORD PTR 160[rbx], 0
	mov	esi, DWORD PTR IGP01E1000_PHY_PAGE_SELECT[rip]
	mov	QWORD PTR 152[rbx], rax
	mov	rax, QWORD PTR 144[rbx]
	mov	QWORD PTR 176[rbx], 0
	mov	QWORD PTR 184[rbx], rax
	call	e1000_write_phy_reg@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edi, DWORD PTR MANC[rip]
	call	er32@PLT
	mov	QWORD PTR 208[rbx], rax
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	e1000_get_regs, .-e1000_get_regs
	.comm	e1000_phy_igp,8,8
	.comm	e1000_media_type_copper,8,8
	.comm	e1000_82540,8,8
	.comm	TIDV,4,4
	.comm	TDT,4,4
	.comm	TDLEN,4,4
	.comm	TDH,4,4
	.comm	TCTL,4,4
	.comm	STATUS,4,4
	.comm	RDTR,4,4
	.comm	RDT,4,4
	.comm	RDLEN,4,4
	.comm	RDH,4,4
	.comm	RCTL,4,4
	.comm	PHY_1000T_STATUS,4,4
	.comm	MANC,4,4
	.comm	M88E1000_PHY_SPEC_STATUS,4,4
	.comm	M88E1000_PHY_SPEC_CTRL,4,4
	.comm	IGP01E1000_PHY_PORT_STATUS,4,4
	.comm	IGP01E1000_PHY_PCS_INIT_REG,4,4
	.comm	IGP01E1000_PHY_PAGE_SELECT,4,4
	.comm	IGP01E1000_PHY_AGC_D,4,4
	.comm	IGP01E1000_PHY_AGC_C,4,4
	.comm	IGP01E1000_PHY_AGC_B,4,4
	.comm	IGP01E1000_PHY_AGC_A,4,4
	.comm	E1000_REGS_LEN,4,4
	.comm	CTRL,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_e1000_ethtool.c_e1000_get_regs.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	e1000_get_regs, %function
e1000_get_regs:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, .L11
	sub	sp, sp, #8
	mov	r4, r2
	mov	r6, r1
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	netdev_priv
	mov	r5, r0
	ldr	r3, .L11+4
	mov	r1, #0
	ldr	r2, [r3]
	mov	r0, r4
	lsl	r2, r2, #2
	bl	memset
	ldr	r1, [r5, #8]
	ldr	r3, [r5, #12]
	ldr	r2, .L11+8
	orr	r3, r3, r1, lsl #16
	orr	r3, r3, #16777216
	str	r3, [r6]
	ldr	r0, [r2]
	bl	er32
	ldr	r3, .L11+12
	str	r0, [r4]
	ldr	r0, [r3]
	bl	er32
	ldr	r3, .L11+16
	str	r0, [r4, #4]
	ldr	r0, [r3]
	bl	er32
	ldr	r3, .L11+20
	str	r0, [r4, #8]
	ldr	r0, [r3]
	bl	er32
	ldr	r3, .L11+24
	str	r0, [r4, #12]
	ldr	r0, [r3]
	bl	er32
	ldr	r3, .L11+28
	str	r0, [r4, #16]
	ldr	r0, [r3]
	bl	er32
	ldr	r3, .L11+32
	str	r0, [r4, #20]
	ldr	r0, [r3]
	bl	er32
	ldr	r3, .L11+36
	str	r0, [r4, #24]
	ldr	r0, [r3]
	bl	er32
	ldr	r3, .L11+40
	str	r0, [r4, #28]
	ldr	r0, [r3]
	bl	er32
	ldr	r3, .L11+44
	str	r0, [r4, #32]
	ldr	r0, [r3]
	bl	er32
	ldr	r3, .L11+48
	str	r0, [r4, #36]
	ldr	r0, [r3]
	bl	er32
	ldr	r3, .L11+52
	str	r0, [r4, #40]
	ldr	r0, [r3]
	bl	er32
	ldr	r2, .L11+56
	str	r0, [r4, #44]
	ldr	r3, [r5, #16]
	ldr	r2, [r2]
	str	r3, [r4, #48]
	cmp	r3, r2
	add	r6, r5, #8
	beq	.L8
	mov	r7, sp
	mov	r8, #0
	ldr	r3, .L11+60
	mov	r2, r7
	ldr	r1, [r3]
	mov	r0, r6
	bl	e1000_read_phy_reg
	ldr	r1, [sp]
	ldr	r3, .L11+64
	mov	r2, r7
	str	r1, [r4, #52]
	mov	r0, r6
	ldr	r1, [r3]
	str	r8, [r4, #56]
	str	r8, [r4, #60]
	str	r8, [r4, #64]
	bl	e1000_read_phy_reg
	ldr	r2, [sp]
	ldr	r3, [r4, #52]
	str	r8, [r4, #76]
	str	r2, [r4, #68]
	str	r2, [r4, #80]
	str	r3, [r4, #72]
	ldr	r2, [r5]
	str	r3, [r4, #92]
	str	r2, [r4, #88]
.L3:
	ldr	r1, [r5, #4]
	ldr	r3, .L11+68
	mov	r2, r7
	str	r1, [r4, #84]
	mov	r0, r6
	ldr	r1, [r3]
	bl	e1000_read_phy_reg
	ldr	r3, [sp]
	ldr	r1, .L11+72
	str	r3, [r4, #96]
	str	r3, [r4, #100]
	ldr	r2, [r5, #20]
	ldr	r3, [r1]
	cmp	r2, r3
	blt	.L1
	ldr	r3, .L11+76
	ldr	r2, [r5, #24]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L9
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	ldr	r8, .L11+80
	ldr	r7, .L11+84
	ldr	r1, [r8]
	ldr	r2, [r7]
	mov	r0, r6
	bl	e1000_write_phy_reg
	ldr	r1, [r7]
	mov	r7, sp
	mov	r9, #0
	ldr	r3, [r8]
	mov	r2, r7
	and	r1, r1, r3
	mov	r0, r6
	bl	e1000_read_phy_reg
	ldr	r10, .L11+88
	ldr	r3, [sp]
	ldr	r1, [r8]
	ldr	r2, [r10]
	str	r3, [r4, #52]
	mov	r0, r6
	bl	e1000_write_phy_reg
	ldr	r3, [r8]
	ldr	r1, [r10]
	mov	r2, r7
	and	r1, r1, r3
	mov	r0, r6
	bl	e1000_read_phy_reg
	ldr	r10, .L11+92
	ldr	r3, [sp]
	ldr	r1, [r8]
	ldr	r2, [r10]
	str	r3, [r4, #56]
	mov	r0, r6
	bl	e1000_write_phy_reg
	ldr	r3, [r8]
	ldr	r1, [r10]
	mov	r2, r7
	and	r1, r1, r3
	mov	r0, r6
	bl	e1000_read_phy_reg
	ldr	r10, .L11+96
	ldr	r3, [sp]
	ldr	r1, [r8]
	ldr	r2, [r10]
	str	r3, [r4, #60]
	mov	r0, r6
	bl	e1000_write_phy_reg
	ldr	r3, [r8]
	ldr	r1, [r10]
	mov	r2, r7
	and	r1, r1, r3
	mov	r0, r6
	bl	e1000_read_phy_reg
	ldr	r3, [sp]
	mov	r2, r9
	ldr	r1, [r8]
	str	r3, [r4, #64]
	mov	r0, r6
	str	r9, [r4, #68]
	bl	e1000_write_phy_reg
	ldr	r2, .L11+100
	ldr	r3, [r8]
	ldr	r1, [r2]
	mov	r0, r6
	mov	r2, r7
	and	r1, r1, r3
	bl	e1000_read_phy_reg
	ldr	r10, .L11+104
	ldr	r3, [sp]
	ldr	r1, [r8]
	ldr	r2, [r10]
	str	r3, [r4, #72]
	mov	r0, r6
	bl	e1000_write_phy_reg
	ldr	r3, [r8]
	ldr	r1, [r10]
	mov	r2, r7
	and	r1, r1, r3
	mov	r0, r6
	bl	e1000_read_phy_reg
	ldr	r0, [sp]
	ldr	r3, [r4, #72]
	str	r0, [r4, #76]
	mov	r2, r9
	mov	r0, r6
	ldr	r1, [r8]
	str	r9, [r4, #80]
	str	r9, [r4, #88]
	str	r3, [r4, #92]
	bl	e1000_write_phy_reg
	b	.L3
.L9:
	ldr	r3, .L11+108
	ldr	r0, [r3]
	bl	er32
	str	r0, [r4, #104]
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	E1000_REGS_LEN
	.word	CTRL
	.word	STATUS
	.word	RCTL
	.word	RDLEN
	.word	RDH
	.word	RDT
	.word	RDTR
	.word	TCTL
	.word	TDLEN
	.word	TDH
	.word	TDT
	.word	TIDV
	.word	e1000_phy_igp
	.word	M88E1000_PHY_SPEC_STATUS
	.word	M88E1000_PHY_SPEC_CTRL
	.word	PHY_1000T_STATUS
	.word	e1000_82540
	.word	e1000_media_type_copper
	.word	IGP01E1000_PHY_PAGE_SELECT
	.word	IGP01E1000_PHY_AGC_A
	.word	IGP01E1000_PHY_AGC_B
	.word	IGP01E1000_PHY_AGC_C
	.word	IGP01E1000_PHY_AGC_D
	.word	IGP01E1000_PHY_PORT_STATUS
	.word	IGP01E1000_PHY_PCS_INIT_REG
	.word	MANC
	.size	e1000_get_regs, .-e1000_get_regs
	.comm	e1000_phy_igp,4,4
	.comm	e1000_media_type_copper,4,4
	.comm	e1000_82540,4,4
	.comm	TIDV,4,4
	.comm	TDT,4,4
	.comm	TDLEN,4,4
	.comm	TDH,4,4
	.comm	TCTL,4,4
	.comm	STATUS,4,4
	.comm	RDTR,4,4
	.comm	RDT,4,4
	.comm	RDLEN,4,4
	.comm	RDH,4,4
	.comm	RCTL,4,4
	.comm	PHY_1000T_STATUS,4,4
	.comm	MANC,4,4
	.comm	M88E1000_PHY_SPEC_STATUS,4,4
	.comm	M88E1000_PHY_SPEC_CTRL,4,4
	.comm	IGP01E1000_PHY_PORT_STATUS,4,4
	.comm	IGP01E1000_PHY_PCS_INIT_REG,4,4
	.comm	IGP01E1000_PHY_PAGE_SELECT,4,4
	.comm	IGP01E1000_PHY_AGC_D,4,4
	.comm	IGP01E1000_PHY_AGC_C,4,4
	.comm	IGP01E1000_PHY_AGC_B,4,4
	.comm	IGP01E1000_PHY_AGC_A,4,4
	.comm	E1000_REGS_LEN,4,4
	.comm	CTRL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
