	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_set_fecparam
_ice_set_fecparam:                      ## @ice_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_netdev_priv
	movl	(%rbx), %edx
	leal	-128(%rdx), %ecx
	cmpl	$5, %ecx
	jae	LBB0_1
## %bb.2:
	movslq	%ecx, %rax
	leaq	l_switch.table.ice_set_fecparam(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ice_set_fec_cfg                ## TAILCALL
LBB0_1:
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_dev_warn
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE_FEC_AUTO,4,2               ## @ICE_FEC_AUTO
	.comm	_ICE_FEC_RS,4,2                 ## @ICE_FEC_RS
	.comm	_ICE_FEC_BASER,4,2              ## @ICE_FEC_BASER
	.comm	_ICE_FEC_NONE,4,2               ## @ICE_FEC_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported FEC mode: %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ice_set_fecparam
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.ice_set_fecparam
l_switch.table.ice_set_fecparam:
	.quad	_ICE_FEC_RS
	.quad	_ICE_FEC_NONE
	.quad	_ICE_FEC_NONE
	.quad	_ICE_FEC_BASER
	.quad	_ICE_FEC_AUTO

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_set_fecparam
_ice_set_fecparam:                      ; @ice_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	x20, x1
	mov	x19, x0
	bl	_netdev_priv
	ldr	w2, [x20]
	sub	w8, w2, #128
	cmp	w8, #5
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.ice_set_fecparam@PAGE
Lloh1:
	add	x9, x9, l_switch.table.ice_set_fecparam@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ice_set_fec_cfg
LBB0_2:
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x0, [x8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE_FEC_AUTO,4,2               ; @ICE_FEC_AUTO
	.comm	_ICE_FEC_RS,4,2                 ; @ICE_FEC_RS
	.comm	_ICE_FEC_BASER,4,2              ; @ICE_FEC_BASER
	.comm	_ICE_FEC_NONE,4,2               ; @ICE_FEC_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported FEC mode: %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ice_set_fecparam
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.ice_set_fecparam
l_switch.table.ice_set_fecparam:
	.quad	_ICE_FEC_RS
	.quad	_ICE_FEC_NONE
	.quad	_ICE_FEC_NONE
	.quad	_ICE_FEC_BASER
	.quad	_ICE_FEC_AUTO

.subsections_via_symbols
