	.file	"extr_netdev.c_e1000e_update_rdt_wa.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"ME firmware caused invalid RDT - resetting\n"
	.text
	.p2align 4
	.type	e1000e_update_rdt_wa, @function
e1000e_update_rdt_wa:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r13, QWORD PTR 8[rdi]
	lea	rdi, 4[r13]
	call	__ew32_prepare@PLT
	mov	esi, DWORD PTR [rbx]
	mov	edi, ebp
	mov	r12d, eax
	call	writel@PLT
	xor	edi, edi
	test	r12d, r12d
	je	.L8
	call	unlikely@PLT
	test	rax, rax
	jne	.L9
.L1:
	add	rsp, 8
	.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	edi, DWORD PTR [rbx]
	call	readl@PLT
	xor	edi, edi
	cmp	eax, ebp
	setne	dil
	call	unlikely@PLT
	test	rax, rax
	je	.L1
.L9:
	mov	edi, DWORD PTR RCTL[rip]
	call	er32@PLT
	mov	esi, DWORD PTR E1000_RCTL_EN[rip]
	mov	edi, DWORD PTR RCTL[rip]
	not	esi
	and	esi, eax
	call	ew32@PLT
	lea	rdi, .LC0[rip]
	call	e_err@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, r13
	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
	jmp	schedule_work@PLT
	.cfi_endproc
.LFE0:
	.size	e1000e_update_rdt_wa, .-e1000e_update_rdt_wa
	.comm	RCTL,4,4
	.comm	E1000_RCTL_EN,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_netdev.c_e1000e_update_rdt_wa.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ME firmware caused invalid RDT - resetting\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	e1000e_update_rdt_wa, %function
e1000e_update_rdt_wa:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, [r0, #4]
	mov	r4, r0
	add	r0, r7, #4
	mov	r5, r1
	bl	__ew32_prepare
	mov	r6, r0
	ldr	r1, [r4]
	mov	r0, r5
	bl	writel
	cmp	r6, #0
	movne	r0, #0
	beq	.L7
.L2:
	bl	unlikely
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r4, .L8
	ldr	r0, [r4]
	bl	er32
	mov	r3, r0
	ldr	r2, .L8+4
	ldr	r0, [r4]
	ldr	r1, [r2]
	bic	r1, r3, r1
	bl	ew32
	ldr	r0, .L8+8
	bl	e_err
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, lr}
	b	schedule_work
.L7:
	ldr	r0, [r4]
	bl	readl
	subs	r0, r0, r5
	movne	r0, #1
	b	.L2
.L9:
	.align	2
.L8:
	.word	RCTL
	.word	E1000_RCTL_EN
	.word	.LC0
	.size	e1000e_update_rdt_wa, .-e1000e_update_rdt_wa
	.comm	RCTL,4,4
	.comm	E1000_RCTL_EN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
