	.file	"extr_efx.c_efx_link_set_wanted_fc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	efx_link_set_wanted_fc
	.type	efx_link_set_wanted_fc, @function
efx_link_set_wanted_fc:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rcx, QWORD PTR 8[rdi]
	mov	DWORD PTR [rdi], esi
	mov	edx, DWORD PTR [rcx]
	test	edx, edx
	je	.L1
	mov	eax, DWORD PTR ADVERTISED_Pause[rip]
	mov	edi, edx
	or	eax, DWORD PTR ADVERTISED_Asym_Pause[rip]
	or	edi, eax
	not	eax
	and	eax, edx
	test	DWORD PTR EFX_FC_RX[rip], esi
	cmovne	eax, edi
	mov	DWORD PTR [rcx], eax
	test	DWORD PTR EFX_FC_TX[rip], esi
	je	.L1
	xor	eax, DWORD PTR ADVERTISED_Asym_Pause[rip]
	mov	DWORD PTR [rcx], eax
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	efx_link_set_wanted_fc, .-efx_link_set_wanted_fc
	.comm	EFX_FC_TX,4,4
	.comm	EFX_FC_RX,4,4
	.comm	ADVERTISED_Pause,4,4
	.comm	ADVERTISED_Asym_Pause,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_efx.c_efx_link_set_wanted_fc.c"
	.text
	.align	2
	.global	efx_link_set_wanted_fc
	.syntax unified
	.arm
	.fpu softvfp
	.type	efx_link_set_wanted_fc, %function
efx_link_set_wanted_fc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r0, #4]
	str	r1, [r0]
	ldr	r3, [r2]
	cmp	r3, #0
	bxeq	lr
	push	{r4, lr}
	ldr	ip, .L15
	ldr	lr, .L15+4
	ldr	r0, .L15+8
	ldr	r4, [lr]
	ldr	r0, [r0]
	ldr	lr, [ip]
	tst	r1, r4
	orr	r0, r0, lr
	orrne	r3, r3, r0
	biceq	r3, r3, r0
	ldr	r0, .L15+12
	str	r3, [r2]
	ldr	r0, [r0]
	tst	r1, r0
	ldrne	r1, [ip]
	eorne	r3, r3, r1
	strne	r3, [r2]
	pop	{r4, pc}
.L16:
	.align	2
.L15:
	.word	ADVERTISED_Asym_Pause
	.word	EFX_FC_RX
	.word	ADVERTISED_Pause
	.word	EFX_FC_TX
	.size	efx_link_set_wanted_fc, .-efx_link_set_wanted_fc
	.comm	EFX_FC_TX,4,4
	.comm	EFX_FC_RX,4,4
	.comm	ADVERTISED_Pause,4,4
	.comm	ADVERTISED_Asym_Pause,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
