	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fwcap_to_eth_fec
_fwcap_to_eth_fec:                      ## @fwcap_to_eth_fec
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	movq	_FW_PORT_CAP32_FEC_RS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%edi, %ecx
	je	LBB0_2
## %bb.1:
	movq	_ETHTOOL_FEC_RS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
	movq	_FW_PORT_CAP32_FEC_BASER_RS@GOTPCREL(%rip), %rdx
	andl	(%rdx), %eax
	jne	LBB0_3
## %bb.4:
	orl	%ecx, %eax
	je	LBB0_5
LBB0_6:
	popq	%rbp
	retq
LBB0_3:
	movq	_ETHTOOL_FEC_BASER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%ecx, %eax
	jne	LBB0_6
LBB0_5:
	movq	_ETHTOOL_FEC_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_PORT_CAP32_FEC_RS,4,2       ## @FW_PORT_CAP32_FEC_RS
	.comm	_ETHTOOL_FEC_RS,4,2             ## @ETHTOOL_FEC_RS
	.comm	_FW_PORT_CAP32_FEC_BASER_RS,4,2 ## @FW_PORT_CAP32_FEC_BASER_RS
	.comm	_ETHTOOL_FEC_BASER,4,2          ## @ETHTOOL_FEC_BASER
	.comm	_ETHTOOL_FEC_OFF,4,2            ## @ETHTOOL_FEC_OFF
	.no_dead_strip	_fwcap_to_eth_fec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fwcap_to_eth_fec
_fwcap_to_eth_fec:                      ; @fwcap_to_eth_fec
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _FW_PORT_CAP32_FEC_RS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FW_PORT_CAP32_FEC_RS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ETHTOOL_FEC_RS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ETHTOOL_FEC_RS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w8, w0
	csel	w8, wzr, w9, eq
Lloh6:
	adrp	x9, _FW_PORT_CAP32_FEC_BASER_RS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FW_PORT_CAP32_FEC_BASER_RS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _ETHTOOL_FEC_BASER@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ETHTOOL_FEC_BASER@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _ETHTOOL_FEC_OFF@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ETHTOOL_FEC_OFF@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w0, w9, w8, eq
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FW_PORT_CAP32_FEC_RS,4,2       ; @FW_PORT_CAP32_FEC_RS
	.comm	_ETHTOOL_FEC_RS,4,2             ; @ETHTOOL_FEC_RS
	.comm	_FW_PORT_CAP32_FEC_BASER_RS,4,2 ; @FW_PORT_CAP32_FEC_BASER_RS
	.comm	_ETHTOOL_FEC_BASER,4,2          ; @ETHTOOL_FEC_BASER
	.comm	_ETHTOOL_FEC_OFF,4,2            ; @ETHTOOL_FEC_OFF
	.no_dead_strip	_fwcap_to_eth_fec
.subsections_via_symbols
