	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eth_to_loc_fec
_eth_to_loc_fec:                        ## @eth_to_loc_fec
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_ETHTOOL_FEC_OFF@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	testl	%edi, (%rax)
	jne	LBB0_8
## %bb.1:
	movl	%edi, %r14d
	movq	_ETHTOOL_FEC_AUTO@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_2
## %bb.3:
	movq	_HNAE3_FEC_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %ebx
	jmp	LBB0_4
LBB0_2:
	xorl	%ebx, %ebx
LBB0_4:
	movq	_ETHTOOL_FEC_RS@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_HNAE3_FEC_RS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%eax, %ebx
LBB0_6:
	movq	_ETHTOOL_FEC_BASER@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_HNAE3_FEC_BASER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%eax, %ebx
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	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	_HNAE3_FEC_AUTO,4,2             ## @HNAE3_FEC_AUTO
	.comm	_ETHTOOL_FEC_RS,4,2             ## @ETHTOOL_FEC_RS
	.comm	_HNAE3_FEC_RS,4,2               ## @HNAE3_FEC_RS
	.comm	_ETHTOOL_FEC_BASER,4,2          ## @ETHTOOL_FEC_BASER
	.comm	_HNAE3_FEC_BASER,4,2            ## @HNAE3_FEC_BASER
	.no_dead_strip	_eth_to_loc_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_loc_fec
_eth_to_loc_fec:                        ; @eth_to_loc_fec
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
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	w20, #0
	b	LBB0_9
LBB0_2:
	mov	x19, x0
Lloh3:
	adrp	x8, _ETHTOOL_FEC_AUTO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETHTOOL_FEC_AUTO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _HNAE3_FEC_AUTO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HNAE3_FEC_AUTO@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_BIT
	mov	x20, x0
	b	LBB0_5
LBB0_4:
	mov	w20, #0
LBB0_5:
Lloh9:
	adrp	x8, _ETHTOOL_FEC_RS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETHTOOL_FEC_RS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_7
; %bb.6:
Lloh12:
	adrp	x8, _HNAE3_FEC_RS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HNAE3_FEC_RS@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_BIT
	orr	w20, w0, w20
LBB0_7:
Lloh15:
	adrp	x8, _ETHTOOL_FEC_BASER@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ETHTOOL_FEC_BASER@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_9
; %bb.8:
Lloh18:
	adrp	x8, _HNAE3_FEC_BASER@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HNAE3_FEC_BASER@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_BIT
	orr	w20, w0, w20
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ETHTOOL_FEC_OFF,4,2            ; @ETHTOOL_FEC_OFF
	.comm	_ETHTOOL_FEC_AUTO,4,2           ; @ETHTOOL_FEC_AUTO
	.comm	_HNAE3_FEC_AUTO,4,2             ; @HNAE3_FEC_AUTO
	.comm	_ETHTOOL_FEC_RS,4,2             ; @ETHTOOL_FEC_RS
	.comm	_HNAE3_FEC_RS,4,2               ; @HNAE3_FEC_RS
	.comm	_ETHTOOL_FEC_BASER,4,2          ; @ETHTOOL_FEC_BASER
	.comm	_HNAE3_FEC_BASER,4,2            ; @HNAE3_FEC_BASER
	.no_dead_strip	_eth_to_loc_fec
.subsections_via_symbols
