	.file	"extr_ixgbe_82599.c_prot_autoc_write_82599.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	prot_autoc_write_82599
	.type	prot_autoc_write_82599, @function
prot_autoc_write_82599:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r12, QWORD PTR IXGBE_SUCCESS[rip]
	call	ixgbe_check_reset_blocked@PLT
	test	rax, rax
	jne	.L2
	test	ebp, ebp
	je	.L14
.L3:
	mov	esi, DWORD PTR IXGBE_AUTOC[rip]
	mov	edx, r13d
	mov	rdi, rbx
	call	IXGBE_WRITE_REG@PLT
	mov	rdi, rbx
	call	ixgbe_reset_pipeline_82599@PLT
	mov	r12, rax
.L2:
	test	ebp, ebp
	je	.L1
	mov	esi, DWORD PTR IXGBE_GSSR_MAC_CSR_SM[rip]
	mov	rdi, rbx
	call	[QWORD PTR 8[rbx]]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	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
.L14:
	.cfi_restore_state
	mov	rdi, rbx
	call	ixgbe_verify_lesm_fw_enabled_82599@PLT
	test	rax, rax
	je	.L3
	mov	esi, DWORD PTR IXGBE_GSSR_MAC_CSR_SM[rip]
	mov	rdi, rbx
	call	[QWORD PTR [rbx]]
	cmp	QWORD PTR IXGBE_SUCCESS[rip], rax
	mov	r12, QWORD PTR IXGBE_ERR_SWFW_SYNC[rip]
	jne	.L1
	mov	ebp, DWORD PTR TRUE[rip]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	prot_autoc_write_82599, .-prot_autoc_write_82599
	.comm	TRUE,4,4
	.comm	IXGBE_SUCCESS,8,8
	.comm	IXGBE_GSSR_MAC_CSR_SM,4,4
	.comm	IXGBE_ERR_SWFW_SYNC,8,8
	.comm	IXGBE_AUTOC,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_ixgbe_82599.c_prot_autoc_write_82599.c"
	.text
	.align	2
	.global	prot_autoc_write_82599
	.syntax unified
	.arm
	.fpu softvfp
	.type	prot_autoc_write_82599, %function
prot_autoc_write_82599:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L15
	mov	r8, r1
	mov	r4, r2
	mov	r5, r0
	ldr	r6, [r7]
	bl	ixgbe_check_reset_blocked
	cmp	r0, #0
	bne	.L2
	cmp	r4, #0
	beq	.L14
.L3:
	ldr	r3, .L15+4
	mov	r2, r8
	ldr	r1, [r3]
	mov	r0, r5
	bl	IXGBE_WRITE_REG
	mov	r0, r5
	bl	ixgbe_reset_pipeline_82599
	mov	r6, r0
.L2:
	cmp	r4, #0
	beq	.L1
	ldr	r2, .L15+8
	mov	r0, r5
	ldr	r3, [r5, #4]
	ldr	r1, [r2]
	blx	r3
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	mov	r0, r5
	bl	ixgbe_verify_lesm_fw_enabled_82599
	subs	r4, r0, #0
	beq	.L3
	ldr	r2, .L15+8
	ldr	r3, [r5]
	mov	r0, r5
	ldr	r1, [r2]
	blx	r3
	ldr	r3, [r7]
	cmp	r3, r0
	ldrne	r3, .L15+12
	ldrne	r6, [r3]
	bne	.L1
.L4:
	ldr	r3, .L15+16
	ldr	r4, [r3]
	b	.L3
.L16:
	.align	2
.L15:
	.word	IXGBE_SUCCESS
	.word	IXGBE_AUTOC
	.word	IXGBE_GSSR_MAC_CSR_SM
	.word	IXGBE_ERR_SWFW_SYNC
	.word	TRUE
	.size	prot_autoc_write_82599, .-prot_autoc_write_82599
	.comm	TRUE,4,4
	.comm	IXGBE_SUCCESS,4,4
	.comm	IXGBE_GSSR_MAC_CSR_SM,4,4
	.comm	IXGBE_ERR_SWFW_SYNC,4,4
	.comm	IXGBE_AUTOC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
