	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lio_set_fecparam
_lio_set_fecparam:                      ## @lio_set_fecparam
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_GET_LIO
	movq	(%rax), %rcx
	movq	(%rcx), %rdx
	movq	_OCTEON_CN2350_25GB_SUBSYS_ID@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	je	LBB0_2
## %bb.1:
	movq	_OCTEON_CN2360_25GB_SUBSYS_ID@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_7
LBB0_2:
	cmpl	$1, 8(%rcx)
	jne	LBB0_3
LBB0_7:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movl	(%rbx), %ecx
	movq	_ETHTOOL_FEC_OFF@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_5
## %bb.4:
	xorl	%ebx, %ebx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_liquidio_set_fec
	jmp	LBB0_8
LBB0_5:
	movq	_ETHTOOL_FEC_RS@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_7
## %bb.6:
	movq	%rax, %rdi
	movl	$1, %esi
	callq	_liquidio_set_fec
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_OCTEON_CN2350_25GB_SUBSYS_ID,8,3 ## @OCTEON_CN2350_25GB_SUBSYS_ID
	.comm	_OCTEON_CN2360_25GB_SUBSYS_ID,8,3 ## @OCTEON_CN2360_25GB_SUBSYS_ID
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_ETHTOOL_FEC_OFF,4,2            ## @ETHTOOL_FEC_OFF
	.comm	_ETHTOOL_FEC_RS,4,2             ## @ETHTOOL_FEC_RS
	.no_dead_strip	_lio_set_fecparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lio_set_fecparam
_lio_set_fecparam:                      ; @lio_set_fecparam
	.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
	mov	x19, x1
	bl	_GET_LIO
	ldr	x8, [x0]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _OCTEON_CN2350_25GB_SUBSYS_ID@GOTPAGE
Lloh1:
	ldr	x10, [x10, _OCTEON_CN2350_25GB_SUBSYS_ID@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
Lloh3:
	adrp	x11, _OCTEON_CN2360_25GB_SUBSYS_ID@GOTPAGE
Lloh4:
	ldr	x11, [x11, _OCTEON_CN2360_25GB_SUBSYS_ID@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cmp	x9, x10
	ccmp	x9, x11, #4, ne
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x8, #8]
	cmp	w8, #1
	b.ne	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_3:
	ldr	w8, [x19]
Lloh9:
	adrp	x9, _ETHTOOL_FEC_OFF@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ETHTOOL_FEC_OFF@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	mov	w1, #0
	b	LBB0_7
LBB0_5:
Lloh12:
	adrp	x9, _ETHTOOL_FEC_RS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ETHTOOL_FEC_RS@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.6:
	mov	w1, #1
LBB0_7:
	bl	_liquidio_set_fec
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_OCTEON_CN2350_25GB_SUBSYS_ID,8,3 ; @OCTEON_CN2350_25GB_SUBSYS_ID
	.comm	_OCTEON_CN2360_25GB_SUBSYS_ID,8,3 ; @OCTEON_CN2360_25GB_SUBSYS_ID
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_ETHTOOL_FEC_OFF,4,2            ; @ETHTOOL_FEC_OFF
	.comm	_ETHTOOL_FEC_RS,4,2             ; @ETHTOOL_FEC_RS
	.no_dead_strip	_lio_set_fecparam
.subsections_via_symbols
