	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_set_fec_param
_i40e_set_fec_param:                    ## @i40e_set_fec_param
	.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
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rcx
	movq	_I40E_DEV_ID_25G_SFP28@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_4
## %bb.1:
	movq	_I40E_DEV_ID_25G_B@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_4
## %bb.2:
	movq	_EPERM@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movl	(%rbx), %edx
	leal	-128(%rdx), %ecx
	cmpl	$4, %ecx
	ja	LBB0_9
## %bb.5:
	xorl	%esi, %esi
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_6:
	movq	_I40E_AQ_SET_FEC_REQUEST_RS@GOTPCREL(%rip), %rax
	movq	_I40E_AQ_SET_FEC_ABILITY_RS@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_9:
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_dev_warn
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_8:
	movq	_I40E_AQ_SET_FEC_REQUEST_KR@GOTPCREL(%rip), %rax
	movq	_I40E_AQ_SET_FEC_ABILITY_KR@GOTPCREL(%rip), %rcx
LBB0_7:
	movl	(%rcx), %esi
	orl	(%rax), %esi
	jmp	LBB0_11
LBB0_10:
	movq	_I40E_AQ_SET_FEC_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_11:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_i40e_set_fec_cfg               ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_8
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_I40E_DEV_ID_25G_SFP28,8,3      ## @I40E_DEV_ID_25G_SFP28
	.comm	_I40E_DEV_ID_25G_B,8,3          ## @I40E_DEV_ID_25G_B
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_I40E_AQ_SET_FEC_AUTO,4,2       ## @I40E_AQ_SET_FEC_AUTO
	.comm	_I40E_AQ_SET_FEC_REQUEST_RS,4,2 ## @I40E_AQ_SET_FEC_REQUEST_RS
	.comm	_I40E_AQ_SET_FEC_ABILITY_RS,4,2 ## @I40E_AQ_SET_FEC_ABILITY_RS
	.comm	_I40E_AQ_SET_FEC_REQUEST_KR,4,2 ## @I40E_AQ_SET_FEC_REQUEST_KR
	.comm	_I40E_AQ_SET_FEC_ABILITY_KR,4,2 ## @I40E_AQ_SET_FEC_ABILITY_KR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported FEC mode: %d"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_i40e_set_fec_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_set_fec_param
_i40e_set_fec_param:                    ; @i40e_set_fec_param
	.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	x8, [x0]
	ldr	x8, [x8]
	ldr	x9, [x8, #8]
Lloh0:
	adrp	x10, _I40E_DEV_ID_25G_SFP28@GOTPAGE
Lloh1:
	ldr	x10, [x10, _I40E_DEV_ID_25G_SFP28@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
Lloh3:
	adrp	x11, _I40E_DEV_ID_25G_B@GOTPAGE
Lloh4:
	ldr	x11, [x11, _I40E_DEV_ID_25G_B@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cmp	x9, x10
	ccmp	x9, x11, #4, ne
	b.ne	LBB0_4
; %bb.1:
	ldr	w2, [x20]
	sub	w9, w2, #128
	cmp	w9, #4
	b.hi	LBB0_6
; %bb.2:
	mov	w1, #0
Lloh6:
	adrp	x8, lJTI0_0@PAGE
Lloh7:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
Lloh8:
	adrp	x8, _I40E_AQ_SET_FEC_REQUEST_RS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _I40E_AQ_SET_FEC_REQUEST_RS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _I40E_AQ_SET_FEC_ABILITY_RS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _I40E_AQ_SET_FEC_ABILITY_RS@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
Lloh13:
	adrp	x8, _EPERM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
LBB0_5:
	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
LBB0_6:
	ldr	x0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
Lloh17:
	adrp	x8, _EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_7:
Lloh19:
	adrp	x8, _I40E_AQ_SET_FEC_REQUEST_KR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _I40E_AQ_SET_FEC_REQUEST_KR@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _I40E_AQ_SET_FEC_ABILITY_KR@GOTPAGE
Lloh23:
	ldr	x9, [x9, _I40E_AQ_SET_FEC_ABILITY_KR@GOTPAGEOFF]
LBB0_8:
	ldr	w9, [x9]
	orr	w1, w9, w8
	b	LBB0_10
LBB0_9:
Lloh24:
	adrp	x8, _I40E_AQ_SET_FEC_AUTO@GOTPAGE
Lloh25:
	ldr	x8, [x8, _I40E_AQ_SET_FEC_AUTO@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_i40e_set_fec_cfg
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
                                        ; -- End function
	.comm	_I40E_DEV_ID_25G_SFP28,8,3      ; @I40E_DEV_ID_25G_SFP28
	.comm	_I40E_DEV_ID_25G_B,8,3          ; @I40E_DEV_ID_25G_B
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_I40E_AQ_SET_FEC_AUTO,4,2       ; @I40E_AQ_SET_FEC_AUTO
	.comm	_I40E_AQ_SET_FEC_REQUEST_RS,4,2 ; @I40E_AQ_SET_FEC_REQUEST_RS
	.comm	_I40E_AQ_SET_FEC_ABILITY_RS,4,2 ; @I40E_AQ_SET_FEC_ABILITY_RS
	.comm	_I40E_AQ_SET_FEC_REQUEST_KR,4,2 ; @I40E_AQ_SET_FEC_REQUEST_KR
	.comm	_I40E_AQ_SET_FEC_ABILITY_KR,4,2 ; @I40E_AQ_SET_FEC_ABILITY_KR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported FEC mode: %d"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_i40e_set_fec_param
.subsections_via_symbols
