	.file	"extr_cxgb4_ethtool.c_fwcap_to_eth_fec.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fwcap_to_eth_fec, @function
fwcap_to_eth_fec:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edx, DWORD PTR FW_PORT_CAP32_FEC_BASER_RS[rip]
	mov	eax, edi
	and	edx, edi
	and	eax, DWORD PTR FW_PORT_CAP32_FEC_RS[rip]
	jne	.L2
	test	edx, edx
	je	.L4
.L3:
	or	eax, DWORD PTR ETHTOOL_FEC_BASER[rip]
.L5:
	test	eax, eax
	je	.L4
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, DWORD PTR ETHTOOL_FEC_OFF[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR ETHTOOL_FEC_RS[rip]
	test	edx, edx
	je	.L5
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	fwcap_to_eth_fec, .-fwcap_to_eth_fec
	.comm	FW_PORT_CAP32_FEC_RS,4,4
	.comm	FW_PORT_CAP32_FEC_BASER_RS,4,4
	.comm	ETHTOOL_FEC_RS,4,4
	.comm	ETHTOOL_FEC_OFF,4,4
	.comm	ETHTOOL_FEC_BASER,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_cxgb4_ethtool.c_fwcap_to_eth_fec.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fwcap_to_eth_fec, %function
fwcap_to_eth_fec:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	mov	r3, r0
	ldr	r1, .L12
	ldr	r2, .L12+4
	ldr	r0, [r1]
	ldr	r2, [r2]
	ands	r0, r3, r0
	and	r3, r3, r2
	bne	.L2
	cmp	r3, #0
	beq	.L4
.L3:
	ldr	r3, .L12+8
	ldr	r3, [r3]
	orr	r0, r0, r3
	cmp	r0, #0
	bxne	lr
.L4:
	ldr	r3, .L12+12
	ldr	r0, [r3]
	bx	lr
.L2:
	ldr	r2, .L12+16
	cmp	r3, #0
	ldr	r0, [r2]
	bne	.L3
	cmp	r0, #0
	bxne	lr
	b	.L4
.L13:
	.align	2
.L12:
	.word	FW_PORT_CAP32_FEC_RS
	.word	FW_PORT_CAP32_FEC_BASER_RS
	.word	ETHTOOL_FEC_BASER
	.word	ETHTOOL_FEC_OFF
	.word	ETHTOOL_FEC_RS
	.size	fwcap_to_eth_fec, .-fwcap_to_eth_fec
	.comm	FW_PORT_CAP32_FEC_RS,4,4
	.comm	FW_PORT_CAP32_FEC_BASER_RS,4,4
	.comm	ETHTOOL_FEC_RS,4,4
	.comm	ETHTOOL_FEC_OFF,4,4
	.comm	ETHTOOL_FEC_BASER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
