	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_get_fecparam
_ice_get_fecparam:                      ## @ice_get_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_netdev_priv
	movq	(%rax), %r13
	movq	8(%r13), %r12
	testq	%r12, %r12
	je	LBB0_1
## %bb.3:
	movl	(%r12), %eax
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_4
## %bb.5:
	cltq
	leaq	l_switch.table.ice_get_fecparam(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_6
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ETHTOOL_FEC_OFF@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	(%r13), %rax
	movq	(%rax), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$8, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %r15
	movq	_ICE_AQC_REPORT_TOPO_CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	callq	_ice_aq_get_phy_caps
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_23
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_24
LBB0_10:
	movq	_ICE_AQC_PHY_EN_AUTO_FEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_12
## %bb.11:
	movq	_ETHTOOL_FEC_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_12:
	movl	4(%r15), %eax
	movq	_ICE_AQC_PHY_FEC_10G_KR_40G_KR4_EN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_16
## %bb.13:
	movq	_ICE_AQC_PHY_FEC_10G_KR_40G_KR4_REQ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_16
## %bb.14:
	movq	_ICE_AQC_PHY_FEC_25G_KR_CLAUSE74_EN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_16
## %bb.15:
	movq	_ICE_AQC_PHY_FEC_25G_KR_REQ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_17
LBB0_16:
	movq	_ETHTOOL_FEC_BASER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%r14)
LBB0_17:
	movq	_ICE_AQC_PHY_FEC_25G_RS_528_REQ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_20
## %bb.18:
	movq	_ICE_AQC_PHY_FEC_25G_RS_544_REQ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_20
## %bb.19:
	movq	_ICE_AQC_PHY_FEC_25G_RS_CLAUSE91_EN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_21
LBB0_20:
	movq	_ETHTOOL_FEC_RS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%r14)
LBB0_21:
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_23
## %bb.22:
	movq	_ETHTOOL_FEC_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_23:
	movq	(%r13), %rax
	movq	(%rax), %rdi
	movq	%r15, %rsi
	callq	_devm_kfree
LBB0_24:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_ETHTOOL_FEC_BASER,4,2          ## @ETHTOOL_FEC_BASER
	.comm	_ETHTOOL_FEC_RS,4,2             ## @ETHTOOL_FEC_RS
	.comm	_ETHTOOL_FEC_OFF,4,2            ## @ETHTOOL_FEC_OFF
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ICE_AQC_REPORT_TOPO_CAP,4,2    ## @ICE_AQC_REPORT_TOPO_CAP
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_ICE_AQC_PHY_EN_AUTO_FEC,4,2    ## @ICE_AQC_PHY_EN_AUTO_FEC
	.comm	_ETHTOOL_FEC_AUTO,4,2           ## @ETHTOOL_FEC_AUTO
	.comm	_ICE_AQC_PHY_FEC_10G_KR_40G_KR4_EN,4,2 ## @ICE_AQC_PHY_FEC_10G_KR_40G_KR4_EN
	.comm	_ICE_AQC_PHY_FEC_10G_KR_40G_KR4_REQ,4,2 ## @ICE_AQC_PHY_FEC_10G_KR_40G_KR4_REQ
	.comm	_ICE_AQC_PHY_FEC_25G_KR_CLAUSE74_EN,4,2 ## @ICE_AQC_PHY_FEC_25G_KR_CLAUSE74_EN
	.comm	_ICE_AQC_PHY_FEC_25G_KR_REQ,4,2 ## @ICE_AQC_PHY_FEC_25G_KR_REQ
	.comm	_ICE_AQC_PHY_FEC_25G_RS_528_REQ,4,2 ## @ICE_AQC_PHY_FEC_25G_RS_528_REQ
	.comm	_ICE_AQC_PHY_FEC_25G_RS_544_REQ,4,2 ## @ICE_AQC_PHY_FEC_25G_RS_544_REQ
	.comm	_ICE_AQC_PHY_FEC_25G_RS_CLAUSE91_EN,4,2 ## @ICE_AQC_PHY_FEC_25G_RS_CLAUSE91_EN
	.no_dead_strip	_ice_get_fecparam
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.ice_get_fecparam
l_switch.table.ice_get_fecparam:
	.quad	_ETHTOOL_FEC_RS
	.quad	_ETHTOOL_FEC_RS
	.quad	_ETHTOOL_FEC_BASER

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_get_fecparam
_ice_get_fecparam:                      ; @ice_get_fecparam
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	bl	_netdev_priv
	ldr	x22, [x0]
	ldr	x21, [x22, #8]
	cbz	x21, LBB0_6
; %bb.1:
	ldr	w8, [x21]
	sub	w8, w8, #128
Lloh0:
	adrp	x23, _ETHTOOL_FEC_OFF@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ETHTOOL_FEC_OFF@GOTPAGEOFF]
	mov	x9, x23
	cmp	w8, #2
	b.hi	LBB0_3
; %bb.2:
Lloh2:
	adrp	x9, l_switch.table.ice_get_fecparam@PAGE
Lloh3:
	add	x9, x9, l_switch.table.ice_get_fecparam@PAGEOFF
	ldr	x9, [x9, w8, sxtw #3]
LBB0_3:
	ldr	w8, [x9]
	str	w8, [x19, #4]
	ldr	x8, [x22]
	ldr	x0, [x8]
Lloh4:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	w1, #8
	bl	_devm_kzalloc
	cbz	x0, LBB0_7
; %bb.4:
	mov	x20, x0
Lloh7:
	adrp	x8, _ICE_AQC_REPORT_TOPO_CAP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ICE_AQC_REPORT_TOPO_CAP@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #0
	mov	x3, x20
	mov	x4, #0
	bl	_ice_aq_get_phy_caps
	cbz	w0, LBB0_9
; %bb.5:
Lloh10:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_22
LBB0_6:
Lloh13:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_23
LBB0_9:
	ldr	w8, [x20]
Lloh17:
	adrp	x9, _ICE_AQC_PHY_EN_AUTO_FEC@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ICE_AQC_PHY_EN_AUTO_FEC@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
Lloh20:
	adrp	x8, _ETHTOOL_FEC_AUTO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ETHTOOL_FEC_AUTO@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_11:
	ldr	w8, [x20, #4]
Lloh23:
	adrp	x9, _ICE_AQC_PHY_FEC_10G_KR_40G_KR4_EN@GOTPAGE
Lloh24:
	ldr	x9, [x9, _ICE_AQC_PHY_FEC_10G_KR_40G_KR4_EN@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_15
; %bb.12:
Lloh26:
	adrp	x9, _ICE_AQC_PHY_FEC_10G_KR_40G_KR4_REQ@GOTPAGE
Lloh27:
	ldr	x9, [x9, _ICE_AQC_PHY_FEC_10G_KR_40G_KR4_REQ@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_15
; %bb.13:
Lloh29:
	adrp	x9, _ICE_AQC_PHY_FEC_25G_KR_CLAUSE74_EN@GOTPAGE
Lloh30:
	ldr	x9, [x9, _ICE_AQC_PHY_FEC_25G_KR_CLAUSE74_EN@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_15
; %bb.14:
Lloh32:
	adrp	x9, _ICE_AQC_PHY_FEC_25G_KR_REQ@GOTPAGE
Lloh33:
	ldr	x9, [x9, _ICE_AQC_PHY_FEC_25G_KR_REQ@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
LBB0_15:
Lloh35:
	adrp	x9, _ETHTOOL_FEC_BASER@GOTPAGE
Lloh36:
	ldr	x9, [x9, _ETHTOOL_FEC_BASER@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	ldr	w10, [x19]
	orr	w9, w10, w9
	str	w9, [x19]
LBB0_16:
Lloh38:
	adrp	x9, _ICE_AQC_PHY_FEC_25G_RS_528_REQ@GOTPAGE
Lloh39:
	ldr	x9, [x9, _ICE_AQC_PHY_FEC_25G_RS_528_REQ@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_19
; %bb.17:
Lloh41:
	adrp	x9, _ICE_AQC_PHY_FEC_25G_RS_544_REQ@GOTPAGE
Lloh42:
	ldr	x9, [x9, _ICE_AQC_PHY_FEC_25G_RS_544_REQ@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_19
; %bb.18:
Lloh44:
	adrp	x9, _ICE_AQC_PHY_FEC_25G_RS_CLAUSE91_EN@GOTPAGE
Lloh45:
	ldr	x9, [x9, _ICE_AQC_PHY_FEC_25G_RS_CLAUSE91_EN@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
LBB0_19:
Lloh47:
	adrp	x9, _ETHTOOL_FEC_RS@GOTPAGE
Lloh48:
	ldr	x9, [x9, _ETHTOOL_FEC_RS@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	ldr	w10, [x19]
	orr	w9, w10, w9
	str	w9, [x19]
LBB0_20:
	mov	w21, #0
	cbnz	w8, LBB0_22
; %bb.21:
	ldr	w8, [x23]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_22:
	ldr	x8, [x22]
	ldr	x0, [x8]
	mov	x1, x20
	bl	_devm_kfree
LBB0_23:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_ETHTOOL_FEC_BASER,4,2          ; @ETHTOOL_FEC_BASER
	.comm	_ETHTOOL_FEC_RS,4,2             ; @ETHTOOL_FEC_RS
	.comm	_ETHTOOL_FEC_OFF,4,2            ; @ETHTOOL_FEC_OFF
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ICE_AQC_REPORT_TOPO_CAP,4,2    ; @ICE_AQC_REPORT_TOPO_CAP
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_ICE_AQC_PHY_EN_AUTO_FEC,4,2    ; @ICE_AQC_PHY_EN_AUTO_FEC
	.comm	_ETHTOOL_FEC_AUTO,4,2           ; @ETHTOOL_FEC_AUTO
	.comm	_ICE_AQC_PHY_FEC_10G_KR_40G_KR4_EN,4,2 ; @ICE_AQC_PHY_FEC_10G_KR_40G_KR4_EN
	.comm	_ICE_AQC_PHY_FEC_10G_KR_40G_KR4_REQ,4,2 ; @ICE_AQC_PHY_FEC_10G_KR_40G_KR4_REQ
	.comm	_ICE_AQC_PHY_FEC_25G_KR_CLAUSE74_EN,4,2 ; @ICE_AQC_PHY_FEC_25G_KR_CLAUSE74_EN
	.comm	_ICE_AQC_PHY_FEC_25G_KR_REQ,4,2 ; @ICE_AQC_PHY_FEC_25G_KR_REQ
	.comm	_ICE_AQC_PHY_FEC_25G_RS_528_REQ,4,2 ; @ICE_AQC_PHY_FEC_25G_RS_528_REQ
	.comm	_ICE_AQC_PHY_FEC_25G_RS_544_REQ,4,2 ; @ICE_AQC_PHY_FEC_25G_RS_544_REQ
	.comm	_ICE_AQC_PHY_FEC_25G_RS_CLAUSE91_EN,4,2 ; @ICE_AQC_PHY_FEC_25G_RS_CLAUSE91_EN
	.no_dead_strip	_ice_get_fecparam
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.ice_get_fecparam
l_switch.table.ice_get_fecparam:
	.quad	_ETHTOOL_FEC_RS
	.quad	_ETHTOOL_FEC_RS
	.quad	_ETHTOOL_FEC_BASER

.subsections_via_symbols
