	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eth_to_cc_fec
_eth_to_cc_fec:                         ## @eth_to_cc_fec
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ETHTOOL_FEC_OFF@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	testl	%edi, (%rcx)
	je	LBB0_1
## %bb.8:
	popq	%rbp
	retq
LBB0_1:
	movq	_ETHTOOL_FEC_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	%edi, %ecx
	je	LBB0_3
## %bb.2:
	movq	_FEC_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_3:
	movq	_ETHTOOL_FEC_RS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edi, %eax
	je	LBB0_5
## %bb.4:
	movq	_FEC_RS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	orl	%ecx, %eax
	movq	_ETHTOOL_FEC_BASER@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edi
	je	LBB0_7
## %bb.6:
	movq	_FEC_BASER_RS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
LBB0_7:
	orl	%edi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETHTOOL_FEC_OFF,4,2            ## @ETHTOOL_FEC_OFF
	.comm	_ETHTOOL_FEC_AUTO,4,2           ## @ETHTOOL_FEC_AUTO
	.comm	_FEC_AUTO,4,2                   ## @FEC_AUTO
	.comm	_ETHTOOL_FEC_RS,4,2             ## @ETHTOOL_FEC_RS
	.comm	_FEC_RS,4,2                     ## @FEC_RS
	.comm	_ETHTOOL_FEC_BASER,4,2          ## @ETHTOOL_FEC_BASER
	.comm	_FEC_BASER_RS,4,2               ## @FEC_BASER_RS
	.no_dead_strip	_eth_to_cc_fec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eth_to_cc_fec
_eth_to_cc_fec:                         ; @eth_to_cc_fec
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ETHTOOL_FEC_OFF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETHTOOL_FEC_OFF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
Lloh3:
	adrp	x8, _ETHTOOL_FEC_AUTO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETHTOOL_FEC_AUTO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _FEC_AUTO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FEC_AUTO@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w8, w0
	csel	w8, wzr, w9, eq
Lloh9:
	adrp	x9, _ETHTOOL_FEC_RS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ETHTOOL_FEC_RS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _FEC_RS@GOTPAGE
Lloh13:
	ldr	x10, [x10, _FEC_RS@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w8, w9, w8
Lloh15:
	adrp	x9, _ETHTOOL_FEC_BASER@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ETHTOOL_FEC_BASER@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _FEC_BASER_RS@GOTPAGE
Lloh19:
	ldr	x10, [x10, _FEC_BASER_RS@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w0, w8, w9
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ETHTOOL_FEC_OFF,4,2            ; @ETHTOOL_FEC_OFF
	.comm	_ETHTOOL_FEC_AUTO,4,2           ; @ETHTOOL_FEC_AUTO
	.comm	_FEC_AUTO,4,2                   ; @FEC_AUTO
	.comm	_ETHTOOL_FEC_RS,4,2             ; @ETHTOOL_FEC_RS
	.comm	_FEC_RS,4,2                     ; @FEC_RS
	.comm	_ETHTOOL_FEC_BASER,4,2          ; @ETHTOOL_FEC_BASER
	.comm	_FEC_BASER_RS,4,2               ; @FEC_BASER_RS
	.no_dead_strip	_eth_to_cc_fec
.subsections_via_symbols
