	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pplm2ethtool_fec
_pplm2ethtool_fec:                      ## @pplm2ethtool_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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, -20(%rbp)
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	leaq	-20(%rbp), %rdi
	callq	_find_first_bit
	movl	%eax, %ebx
	movq	_pplm_fec_2_ethtool@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	%ecx, %ebx
	jge	LBB0_5
## %bb.3:
	movslq	%ebx, %rax
	shlq	$2, %rax
	addq	(%r14), %rax
	jmp	LBB0_4
LBB0_1:
	movq	_ETHTOOL_FEC_AUTO@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETHTOOL_FEC_AUTO,4,2           ## @ETHTOOL_FEC_AUTO
	.comm	_pplm_fec_2_ethtool,8,3         ## @pplm_fec_2_ethtool
	.no_dead_strip	_pplm2ethtool_fec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pplm2ethtool_fec
_pplm2ethtool_fec:                      ; @pplm2ethtool_fec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	str	w0, [sp, #12]
	cbz	w0, LBB0_3
; %bb.1:
	add	x0, sp, #12
	bl	_find_first_bit
	mov	x19, x0
Lloh0:
	adrp	x20, _pplm_fec_2_ethtool@GOTPAGE
Lloh1:
	ldr	x20, [x20, _pplm_fec_2_ethtool@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	w19, w0
	b.ge	LBB0_5
; %bb.2:
	ldr	x8, [x20]
	add	x8, x8, w19, sxtw #2
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _ETHTOOL_FEC_AUTO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ETHTOOL_FEC_AUTO@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ETHTOOL_FEC_AUTO,4,2           ; @ETHTOOL_FEC_AUTO
	.comm	_pplm_fec_2_ethtool,8,3         ; @pplm_fec_2_ethtool
	.no_dead_strip	_pplm2ethtool_fec
.subsections_via_symbols
