	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_mcdi_phy_probe
_efx_mcdi_phy_probe:                    ## @efx_mcdi_phy_probe
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MC_CMD_GET_LINK_OUT_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leaq	(,%r13,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$28, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_efx_mcdi_get_phy_cfg
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_15
## %bb.3:
	movq	_MC_CMD_GET_LINK_IN_LEN@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_MC_CMD_GET_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$2, %r13d
	subq	$8, %rsp
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movl	%r13d, %r9d
	pushq	$0
	callq	_efx_mcdi_rpc
	addq	$16, %rsp
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_15
## %bb.4:
	movq	%r12, 40(%r14)
	movl	24(%r12), %eax
	movl	%eax, 32(%r14)
	movl	20(%r12), %eax
	movl	%eax, 28(%r14)
	movl	16(%r12), %eax
	movl	%eax, 24(%r14)
	movl	(%r12), %ecx
	movq	_MC_CMD_MMD_CLAUSE22@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ecx, %eax
	btrl	%edx, %eax
	movl	%eax, 16(%r14)
	movl	$0, 20(%r14)
	btl	%edx, %ecx
	jae	LBB0_6
## %bb.5:
	movq	_MDIO_SUPPORTS_C22@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	movl	%r15d, 20(%r14)
LBB0_6:
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	_MDIO_SUPPORTS_C45@GOTPCREL(%rip), %rax
	movq	_MDIO_EMULATE_C22@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%r15d, %ecx
	movl	%ecx, 20(%r14)
LBB0_8:
	movq	_GET_LINK_OUT_CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_MCDI_DWORD
	movq	_MC_CMD_PHY_CAP_AN_LBN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	jae	LBB0_10
## %bb.9:
	movl	12(%r12), %edi
	movl	%eax, %esi
	callq	_mcdi_to_ethtool_cap
	movl	%eax, 12(%r14)
	jmp	LBB0_11
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_16
LBB0_10:
	movl	%eax, 4(%r12)
LBB0_11:
	movq	_LOOPBACK_NONE@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	movq	_MC_CMD_LOOPBACK_NONE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_DATA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_DATA@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_GMAC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_GMAC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_XGMII@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_XGMII@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_XGXS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_XGXS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_XAUI@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_XAUI@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_GMII@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_GMII@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_SGMII@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_SGMII@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_XGBR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_XGBR@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_XFI@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_XFI@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_XAUI_FAR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_XAUI_FAR@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_GMII_FAR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_GMII_FAR@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_SGMII_FAR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_SGMII_FAR@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_XFI_FAR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_XFI_FAR@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_GPHY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_GPHY@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_PHYXS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_PHYXS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_PCS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_PCS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_PMAPMD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_PMAPMD@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_XPORT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_XPORT@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_XGMII_WS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_XGMII_WS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_XAUI_WS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_XAUI_WS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_XAUI_WS_FAR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_XAUI_WS_FAR@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_XAUI_WS_NEAR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_XAUI_WS_NEAR@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_GMII_WS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_GMII_WS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_XFI_WS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_XFI_WS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_XFI_WS_FAR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_XFI_WS_FAR@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_LOOPBACK_PHYXS_WS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MC_CMD_LOOPBACK_PHYXS_WS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_efx_mcdi_loopback_modes
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_12
LBB0_15:
	movq	%r12, %rdi
	callq	_kfree
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movb	(%r13), %cl
	movl	$-2, %eax
	roll	%cl, %eax
	andl	%eax, (%r14)
	leaq	8(%r14), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_GET_LINK_OUT_LINK_SPEED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_MCDI_DWORD
	movl	%eax, %r15d
	movq	_GET_LINK_OUT_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_MCDI_DWORD
	movl	%eax, %r13d
	movq	_GET_LINK_OUT_FCNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_MCDI_DWORD
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_efx_mcdi_phy_decode_link
	movq	_EFX_FC_RX@GOTPCREL(%rip), %rax
	movq	_EFX_FC_TX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	%esi, 4(%r14)
	movl	8(%r12), %eax
	movq	_MC_CMD_PHY_CAP_AN_LBN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	jae	LBB0_14
## %bb.13:
	movq	_EFX_FC_AUTO@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	%esi, 4(%r14)
LBB0_14:
	movq	%r14, %rdi
	callq	_efx_link_set_wanted_fc
	xorl	%ebx, %ebx
	jmp	LBB0_16
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MC_CMD_GET_LINK_OUT_LEN,4,2    ## @MC_CMD_GET_LINK_OUT_LEN
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MC_CMD_GET_LINK_IN_LEN,8,3     ## @MC_CMD_GET_LINK_IN_LEN
	.comm	_MC_CMD_GET_LINK,4,2            ## @MC_CMD_GET_LINK
	.comm	_MC_CMD_MMD_CLAUSE22,4,2        ## @MC_CMD_MMD_CLAUSE22
	.comm	_MDIO_SUPPORTS_C22,4,2          ## @MDIO_SUPPORTS_C22
	.comm	_MDIO_SUPPORTS_C45,4,2          ## @MDIO_SUPPORTS_C45
	.comm	_MDIO_EMULATE_C22,4,2           ## @MDIO_EMULATE_C22
	.comm	_GET_LINK_OUT_CAP,4,2           ## @GET_LINK_OUT_CAP
	.comm	_MC_CMD_PHY_CAP_AN_LBN,4,2      ## @MC_CMD_PHY_CAP_AN_LBN
	.comm	_LOOPBACK_NONE,4,2              ## @LOOPBACK_NONE
	.comm	_MC_CMD_LOOPBACK_NONE,4,2       ## @MC_CMD_LOOPBACK_NONE
	.comm	_LOOPBACK_DATA,8,3              ## @LOOPBACK_DATA
	.comm	_MC_CMD_LOOPBACK_DATA,8,3       ## @MC_CMD_LOOPBACK_DATA
	.comm	_LOOPBACK_GMAC,8,3              ## @LOOPBACK_GMAC
	.comm	_MC_CMD_LOOPBACK_GMAC,8,3       ## @MC_CMD_LOOPBACK_GMAC
	.comm	_LOOPBACK_XGMII,8,3             ## @LOOPBACK_XGMII
	.comm	_MC_CMD_LOOPBACK_XGMII,8,3      ## @MC_CMD_LOOPBACK_XGMII
	.comm	_LOOPBACK_XGXS,8,3              ## @LOOPBACK_XGXS
	.comm	_MC_CMD_LOOPBACK_XGXS,8,3       ## @MC_CMD_LOOPBACK_XGXS
	.comm	_LOOPBACK_XAUI,8,3              ## @LOOPBACK_XAUI
	.comm	_MC_CMD_LOOPBACK_XAUI,8,3       ## @MC_CMD_LOOPBACK_XAUI
	.comm	_LOOPBACK_GMII,8,3              ## @LOOPBACK_GMII
	.comm	_MC_CMD_LOOPBACK_GMII,8,3       ## @MC_CMD_LOOPBACK_GMII
	.comm	_LOOPBACK_SGMII,8,3             ## @LOOPBACK_SGMII
	.comm	_MC_CMD_LOOPBACK_SGMII,8,3      ## @MC_CMD_LOOPBACK_SGMII
	.comm	_LOOPBACK_XGBR,8,3              ## @LOOPBACK_XGBR
	.comm	_MC_CMD_LOOPBACK_XGBR,8,3       ## @MC_CMD_LOOPBACK_XGBR
	.comm	_LOOPBACK_XFI,8,3               ## @LOOPBACK_XFI
	.comm	_MC_CMD_LOOPBACK_XFI,8,3        ## @MC_CMD_LOOPBACK_XFI
	.comm	_LOOPBACK_XAUI_FAR,8,3          ## @LOOPBACK_XAUI_FAR
	.comm	_MC_CMD_LOOPBACK_XAUI_FAR,8,3   ## @MC_CMD_LOOPBACK_XAUI_FAR
	.comm	_LOOPBACK_GMII_FAR,8,3          ## @LOOPBACK_GMII_FAR
	.comm	_MC_CMD_LOOPBACK_GMII_FAR,8,3   ## @MC_CMD_LOOPBACK_GMII_FAR
	.comm	_LOOPBACK_SGMII_FAR,8,3         ## @LOOPBACK_SGMII_FAR
	.comm	_MC_CMD_LOOPBACK_SGMII_FAR,8,3  ## @MC_CMD_LOOPBACK_SGMII_FAR
	.comm	_LOOPBACK_XFI_FAR,8,3           ## @LOOPBACK_XFI_FAR
	.comm	_MC_CMD_LOOPBACK_XFI_FAR,8,3    ## @MC_CMD_LOOPBACK_XFI_FAR
	.comm	_LOOPBACK_GPHY,8,3              ## @LOOPBACK_GPHY
	.comm	_MC_CMD_LOOPBACK_GPHY,8,3       ## @MC_CMD_LOOPBACK_GPHY
	.comm	_LOOPBACK_PHYXS,8,3             ## @LOOPBACK_PHYXS
	.comm	_MC_CMD_LOOPBACK_PHYXS,8,3      ## @MC_CMD_LOOPBACK_PHYXS
	.comm	_LOOPBACK_PCS,8,3               ## @LOOPBACK_PCS
	.comm	_MC_CMD_LOOPBACK_PCS,8,3        ## @MC_CMD_LOOPBACK_PCS
	.comm	_LOOPBACK_PMAPMD,8,3            ## @LOOPBACK_PMAPMD
	.comm	_MC_CMD_LOOPBACK_PMAPMD,8,3     ## @MC_CMD_LOOPBACK_PMAPMD
	.comm	_LOOPBACK_XPORT,8,3             ## @LOOPBACK_XPORT
	.comm	_MC_CMD_LOOPBACK_XPORT,8,3      ## @MC_CMD_LOOPBACK_XPORT
	.comm	_LOOPBACK_XGMII_WS,8,3          ## @LOOPBACK_XGMII_WS
	.comm	_MC_CMD_LOOPBACK_XGMII_WS,8,3   ## @MC_CMD_LOOPBACK_XGMII_WS
	.comm	_LOOPBACK_XAUI_WS,8,3           ## @LOOPBACK_XAUI_WS
	.comm	_MC_CMD_LOOPBACK_XAUI_WS,8,3    ## @MC_CMD_LOOPBACK_XAUI_WS
	.comm	_LOOPBACK_XAUI_WS_FAR,8,3       ## @LOOPBACK_XAUI_WS_FAR
	.comm	_MC_CMD_LOOPBACK_XAUI_WS_FAR,8,3 ## @MC_CMD_LOOPBACK_XAUI_WS_FAR
	.comm	_LOOPBACK_XAUI_WS_NEAR,8,3      ## @LOOPBACK_XAUI_WS_NEAR
	.comm	_MC_CMD_LOOPBACK_XAUI_WS_NEAR,8,3 ## @MC_CMD_LOOPBACK_XAUI_WS_NEAR
	.comm	_LOOPBACK_GMII_WS,8,3           ## @LOOPBACK_GMII_WS
	.comm	_MC_CMD_LOOPBACK_GMII_WS,8,3    ## @MC_CMD_LOOPBACK_GMII_WS
	.comm	_LOOPBACK_XFI_WS,8,3            ## @LOOPBACK_XFI_WS
	.comm	_MC_CMD_LOOPBACK_XFI_WS,8,3     ## @MC_CMD_LOOPBACK_XFI_WS
	.comm	_LOOPBACK_XFI_WS_FAR,8,3        ## @LOOPBACK_XFI_WS_FAR
	.comm	_MC_CMD_LOOPBACK_XFI_WS_FAR,8,3 ## @MC_CMD_LOOPBACK_XFI_WS_FAR
	.comm	_LOOPBACK_PHYXS_WS,8,3          ## @LOOPBACK_PHYXS_WS
	.comm	_MC_CMD_LOOPBACK_PHYXS_WS,8,3   ## @MC_CMD_LOOPBACK_PHYXS_WS
	.comm	_GET_LINK_OUT_LINK_SPEED,4,2    ## @GET_LINK_OUT_LINK_SPEED
	.comm	_GET_LINK_OUT_FLAGS,4,2         ## @GET_LINK_OUT_FLAGS
	.comm	_GET_LINK_OUT_FCNTL,4,2         ## @GET_LINK_OUT_FCNTL
	.comm	_EFX_FC_RX,4,2                  ## @EFX_FC_RX
	.comm	_EFX_FC_TX,4,2                  ## @EFX_FC_TX
	.comm	_EFX_FC_AUTO,4,2                ## @EFX_FC_AUTO
	.no_dead_strip	_efx_mcdi_phy_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_mcdi_phy_probe
_efx_mcdi_phy_probe:                    ; @efx_mcdi_phy_probe
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _MC_CMD_GET_LINK_OUT_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MC_CMD_GET_LINK_OUT_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	lsl	x8, x23, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh8:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w0, #28
	bl	_kzalloc
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_efx_mcdi_get_phy_cfg
	mov	x22, x0
	cbnz	w0, LBB0_12
; %bb.2:
Lloh11:
	adrp	x8, _MC_CMD_GET_LINK_IN_LEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MC_CMD_GET_LINK_IN_LEN@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh14:
	adrp	x8, _MC_CMD_GET_LINK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MC_CMD_GET_LINK@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	lsl	w5, w23, #2
	mov	x0, x19
	mov	x2, #0
	mov	w3, #0
	mov	x4, x21
	mov	x6, #0
	bl	_efx_mcdi_rpc
	mov	x22, x0
	cbnz	w0, LBB0_12
; %bb.3:
	str	x20, [x19, #40]
	ldr	w8, [x20, #24]
	str	w8, [x19, #32]
	ldr	d0, [x20, #16]
	str	d0, [x19, #24]
	ldr	w9, [x20]
Lloh17:
	adrp	x8, _MC_CMD_MMD_CLAUSE22@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MC_CMD_MMD_CLAUSE22@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	mov	w10, #1
	lsl	w10, w10, w8
	bic	w8, w9, w10
	stp	w8, wzr, [x19, #16]
	tst	w10, w9
	b.eq	LBB0_9
; %bb.4:
Lloh20:
	adrp	x9, _MDIO_SUPPORTS_C22@GOTPAGE
Lloh21:
	ldr	x9, [x9, _MDIO_SUPPORTS_C22@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	str	w9, [x19, #20]
	cbz	w8, LBB0_6
LBB0_5:
Lloh23:
	adrp	x8, _MDIO_SUPPORTS_C45@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MDIO_SUPPORTS_C45@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x10, _MDIO_EMULATE_C22@GOTPAGE
Lloh27:
	ldr	x10, [x10, _MDIO_EMULATE_C22@GOTPAGEOFF]
Lloh28:
	ldr	w10, [x10]
	orr	w8, w10, w8
	orr	w8, w8, w9
	str	w8, [x19, #20]
LBB0_6:
Lloh29:
	adrp	x8, _GET_LINK_OUT_CAP@GOTPAGE
Lloh30:
	ldr	x8, [x8, _GET_LINK_OUT_CAP@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_MCDI_DWORD
	mov	x1, x0
Lloh32:
	adrp	x25, _MC_CMD_PHY_CAP_AN_LBN@GOTPAGE
Lloh33:
	ldr	x25, [x25, _MC_CMD_PHY_CAP_AN_LBN@GOTPAGEOFF]
	ldr	w8, [x25]
	lsr	w8, w0, w8
	tbz	w8, #0, LBB0_10
; %bb.7:
	ldr	w0, [x20, #12]
	bl	_mcdi_to_ethtool_cap
	str	w0, [x19, #12]
	b	LBB0_11
LBB0_8:
Lloh34:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_13
LBB0_9:
	mov	w9, #0
	cbnz	w8, LBB0_5
	b	LBB0_6
LBB0_10:
	str	w1, [x20, #4]
LBB0_11:
Lloh37:
	adrp	x23, _LOOPBACK_NONE@GOTPAGE
Lloh38:
	ldr	x23, [x23, _LOOPBACK_NONE@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh39:
	adrp	x9, _MC_CMD_LOOPBACK_NONE@GOTPAGE
Lloh40:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_NONE@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh42:
	adrp	x8, _LOOPBACK_DATA@GOTPAGE
Lloh43:
	ldr	x8, [x8, _LOOPBACK_DATA@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
Lloh45:
	adrp	x9, _MC_CMD_LOOPBACK_DATA@GOTPAGE
Lloh46:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_DATA@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh48:
	adrp	x8, _LOOPBACK_GMAC@GOTPAGE
Lloh49:
	ldr	x8, [x8, _LOOPBACK_GMAC@GOTPAGEOFF]
Lloh50:
	ldr	x8, [x8]
Lloh51:
	adrp	x9, _MC_CMD_LOOPBACK_GMAC@GOTPAGE
Lloh52:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_GMAC@GOTPAGEOFF]
Lloh53:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh54:
	adrp	x8, _LOOPBACK_XGMII@GOTPAGE
Lloh55:
	ldr	x8, [x8, _LOOPBACK_XGMII@GOTPAGEOFF]
Lloh56:
	ldr	x8, [x8]
Lloh57:
	adrp	x9, _MC_CMD_LOOPBACK_XGMII@GOTPAGE
Lloh58:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_XGMII@GOTPAGEOFF]
Lloh59:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh60:
	adrp	x8, _LOOPBACK_XGXS@GOTPAGE
Lloh61:
	ldr	x8, [x8, _LOOPBACK_XGXS@GOTPAGEOFF]
Lloh62:
	ldr	x8, [x8]
Lloh63:
	adrp	x9, _MC_CMD_LOOPBACK_XGXS@GOTPAGE
Lloh64:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_XGXS@GOTPAGEOFF]
Lloh65:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh66:
	adrp	x8, _LOOPBACK_XAUI@GOTPAGE
Lloh67:
	ldr	x8, [x8, _LOOPBACK_XAUI@GOTPAGEOFF]
Lloh68:
	ldr	x8, [x8]
Lloh69:
	adrp	x9, _MC_CMD_LOOPBACK_XAUI@GOTPAGE
Lloh70:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_XAUI@GOTPAGEOFF]
Lloh71:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh72:
	adrp	x8, _LOOPBACK_GMII@GOTPAGE
Lloh73:
	ldr	x8, [x8, _LOOPBACK_GMII@GOTPAGEOFF]
Lloh74:
	ldr	x8, [x8]
Lloh75:
	adrp	x9, _MC_CMD_LOOPBACK_GMII@GOTPAGE
Lloh76:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_GMII@GOTPAGEOFF]
Lloh77:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh78:
	adrp	x8, _LOOPBACK_SGMII@GOTPAGE
Lloh79:
	ldr	x8, [x8, _LOOPBACK_SGMII@GOTPAGEOFF]
Lloh80:
	ldr	x8, [x8]
Lloh81:
	adrp	x9, _MC_CMD_LOOPBACK_SGMII@GOTPAGE
Lloh82:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_SGMII@GOTPAGEOFF]
Lloh83:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh84:
	adrp	x8, _LOOPBACK_XGBR@GOTPAGE
Lloh85:
	ldr	x8, [x8, _LOOPBACK_XGBR@GOTPAGEOFF]
Lloh86:
	ldr	x8, [x8]
Lloh87:
	adrp	x9, _MC_CMD_LOOPBACK_XGBR@GOTPAGE
Lloh88:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_XGBR@GOTPAGEOFF]
Lloh89:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh90:
	adrp	x8, _LOOPBACK_XFI@GOTPAGE
Lloh91:
	ldr	x8, [x8, _LOOPBACK_XFI@GOTPAGEOFF]
Lloh92:
	ldr	x8, [x8]
Lloh93:
	adrp	x9, _MC_CMD_LOOPBACK_XFI@GOTPAGE
Lloh94:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_XFI@GOTPAGEOFF]
Lloh95:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh96:
	adrp	x8, _LOOPBACK_XAUI_FAR@GOTPAGE
Lloh97:
	ldr	x8, [x8, _LOOPBACK_XAUI_FAR@GOTPAGEOFF]
Lloh98:
	ldr	x8, [x8]
Lloh99:
	adrp	x9, _MC_CMD_LOOPBACK_XAUI_FAR@GOTPAGE
Lloh100:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_XAUI_FAR@GOTPAGEOFF]
Lloh101:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh102:
	adrp	x8, _LOOPBACK_GMII_FAR@GOTPAGE
Lloh103:
	ldr	x8, [x8, _LOOPBACK_GMII_FAR@GOTPAGEOFF]
Lloh104:
	ldr	x8, [x8]
Lloh105:
	adrp	x9, _MC_CMD_LOOPBACK_GMII_FAR@GOTPAGE
Lloh106:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_GMII_FAR@GOTPAGEOFF]
Lloh107:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh108:
	adrp	x8, _LOOPBACK_SGMII_FAR@GOTPAGE
Lloh109:
	ldr	x8, [x8, _LOOPBACK_SGMII_FAR@GOTPAGEOFF]
Lloh110:
	ldr	x8, [x8]
Lloh111:
	adrp	x9, _MC_CMD_LOOPBACK_SGMII_FAR@GOTPAGE
Lloh112:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_SGMII_FAR@GOTPAGEOFF]
Lloh113:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh114:
	adrp	x8, _LOOPBACK_XFI_FAR@GOTPAGE
Lloh115:
	ldr	x8, [x8, _LOOPBACK_XFI_FAR@GOTPAGEOFF]
Lloh116:
	ldr	x8, [x8]
Lloh117:
	adrp	x9, _MC_CMD_LOOPBACK_XFI_FAR@GOTPAGE
Lloh118:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_XFI_FAR@GOTPAGEOFF]
Lloh119:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh120:
	adrp	x8, _LOOPBACK_GPHY@GOTPAGE
Lloh121:
	ldr	x8, [x8, _LOOPBACK_GPHY@GOTPAGEOFF]
Lloh122:
	ldr	x8, [x8]
Lloh123:
	adrp	x9, _MC_CMD_LOOPBACK_GPHY@GOTPAGE
Lloh124:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_GPHY@GOTPAGEOFF]
Lloh125:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh126:
	adrp	x8, _LOOPBACK_PHYXS@GOTPAGE
Lloh127:
	ldr	x8, [x8, _LOOPBACK_PHYXS@GOTPAGEOFF]
Lloh128:
	ldr	x8, [x8]
Lloh129:
	adrp	x9, _MC_CMD_LOOPBACK_PHYXS@GOTPAGE
Lloh130:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_PHYXS@GOTPAGEOFF]
Lloh131:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh132:
	adrp	x8, _LOOPBACK_PCS@GOTPAGE
Lloh133:
	ldr	x8, [x8, _LOOPBACK_PCS@GOTPAGEOFF]
Lloh134:
	ldr	x8, [x8]
Lloh135:
	adrp	x9, _MC_CMD_LOOPBACK_PCS@GOTPAGE
Lloh136:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_PCS@GOTPAGEOFF]
Lloh137:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh138:
	adrp	x8, _LOOPBACK_PMAPMD@GOTPAGE
Lloh139:
	ldr	x8, [x8, _LOOPBACK_PMAPMD@GOTPAGEOFF]
Lloh140:
	ldr	x8, [x8]
Lloh141:
	adrp	x9, _MC_CMD_LOOPBACK_PMAPMD@GOTPAGE
Lloh142:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_PMAPMD@GOTPAGEOFF]
Lloh143:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh144:
	adrp	x8, _LOOPBACK_XPORT@GOTPAGE
Lloh145:
	ldr	x8, [x8, _LOOPBACK_XPORT@GOTPAGEOFF]
Lloh146:
	ldr	x8, [x8]
Lloh147:
	adrp	x9, _MC_CMD_LOOPBACK_XPORT@GOTPAGE
Lloh148:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_XPORT@GOTPAGEOFF]
Lloh149:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh150:
	adrp	x8, _LOOPBACK_XGMII_WS@GOTPAGE
Lloh151:
	ldr	x8, [x8, _LOOPBACK_XGMII_WS@GOTPAGEOFF]
Lloh152:
	ldr	x8, [x8]
Lloh153:
	adrp	x9, _MC_CMD_LOOPBACK_XGMII_WS@GOTPAGE
Lloh154:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_XGMII_WS@GOTPAGEOFF]
Lloh155:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh156:
	adrp	x8, _LOOPBACK_XAUI_WS@GOTPAGE
Lloh157:
	ldr	x8, [x8, _LOOPBACK_XAUI_WS@GOTPAGEOFF]
Lloh158:
	ldr	x8, [x8]
Lloh159:
	adrp	x9, _MC_CMD_LOOPBACK_XAUI_WS@GOTPAGE
Lloh160:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_XAUI_WS@GOTPAGEOFF]
Lloh161:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh162:
	adrp	x8, _LOOPBACK_XAUI_WS_FAR@GOTPAGE
Lloh163:
	ldr	x8, [x8, _LOOPBACK_XAUI_WS_FAR@GOTPAGEOFF]
Lloh164:
	ldr	x8, [x8]
Lloh165:
	adrp	x9, _MC_CMD_LOOPBACK_XAUI_WS_FAR@GOTPAGE
Lloh166:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_XAUI_WS_FAR@GOTPAGEOFF]
Lloh167:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh168:
	adrp	x8, _LOOPBACK_XAUI_WS_NEAR@GOTPAGE
Lloh169:
	ldr	x8, [x8, _LOOPBACK_XAUI_WS_NEAR@GOTPAGEOFF]
Lloh170:
	ldr	x8, [x8]
Lloh171:
	adrp	x9, _MC_CMD_LOOPBACK_XAUI_WS_NEAR@GOTPAGE
Lloh172:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_XAUI_WS_NEAR@GOTPAGEOFF]
Lloh173:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh174:
	adrp	x8, _LOOPBACK_GMII_WS@GOTPAGE
Lloh175:
	ldr	x8, [x8, _LOOPBACK_GMII_WS@GOTPAGEOFF]
Lloh176:
	ldr	x8, [x8]
Lloh177:
	adrp	x9, _MC_CMD_LOOPBACK_GMII_WS@GOTPAGE
Lloh178:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_GMII_WS@GOTPAGEOFF]
Lloh179:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh180:
	adrp	x8, _LOOPBACK_XFI_WS@GOTPAGE
Lloh181:
	ldr	x8, [x8, _LOOPBACK_XFI_WS@GOTPAGEOFF]
Lloh182:
	ldr	x8, [x8]
Lloh183:
	adrp	x9, _MC_CMD_LOOPBACK_XFI_WS@GOTPAGE
Lloh184:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_XFI_WS@GOTPAGEOFF]
Lloh185:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh186:
	adrp	x8, _LOOPBACK_XFI_WS_FAR@GOTPAGE
Lloh187:
	ldr	x8, [x8, _LOOPBACK_XFI_WS_FAR@GOTPAGEOFF]
Lloh188:
	ldr	x8, [x8]
Lloh189:
	adrp	x9, _MC_CMD_LOOPBACK_XFI_WS_FAR@GOTPAGE
Lloh190:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_XFI_WS_FAR@GOTPAGEOFF]
Lloh191:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh192:
	adrp	x8, _LOOPBACK_PHYXS_WS@GOTPAGE
Lloh193:
	ldr	x8, [x8, _LOOPBACK_PHYXS_WS@GOTPAGEOFF]
Lloh194:
	ldr	x8, [x8]
Lloh195:
	adrp	x9, _MC_CMD_LOOPBACK_PHYXS_WS@GOTPAGE
Lloh196:
	ldr	x9, [x9, _MC_CMD_LOOPBACK_PHYXS_WS@GOTPAGEOFF]
Lloh197:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
	mov	x0, x19
	mov	x1, x19
	bl	_efx_mcdi_loopback_modes
	mov	x22, x0
	cbz	w0, LBB0_15
LBB0_12:
	mov	x0, x20
	bl	_kfree
LBB0_13:
	ldur	x8, [x29, #-72]
Lloh198:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh199:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh200:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.14:
	mov	x0, x22
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_15:
	ldr	w8, [x23]
	mov	w9, #1
	lsl	w8, w9, w8
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
	add	x22, x19, #8
Lloh201:
	adrp	x8, _GET_LINK_OUT_LINK_SPEED@GOTPAGE
Lloh202:
	ldr	x8, [x8, _GET_LINK_OUT_LINK_SPEED@GOTPAGEOFF]
Lloh203:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_MCDI_DWORD
	mov	x23, x0
Lloh204:
	adrp	x8, _GET_LINK_OUT_FLAGS@GOTPAGE
Lloh205:
	ldr	x8, [x8, _GET_LINK_OUT_FLAGS@GOTPAGEOFF]
Lloh206:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_MCDI_DWORD
	mov	x24, x0
Lloh207:
	adrp	x8, _GET_LINK_OUT_FCNTL@GOTPAGE
Lloh208:
	ldr	x8, [x8, _GET_LINK_OUT_FCNTL@GOTPAGEOFF]
Lloh209:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_MCDI_DWORD
	mov	x4, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	bl	_efx_mcdi_phy_decode_link
Lloh210:
	adrp	x8, _EFX_FC_RX@GOTPAGE
Lloh211:
	ldr	x8, [x8, _EFX_FC_RX@GOTPAGEOFF]
Lloh212:
	ldr	w8, [x8]
Lloh213:
	adrp	x9, _EFX_FC_TX@GOTPAGE
Lloh214:
	ldr	x9, [x9, _EFX_FC_TX@GOTPAGEOFF]
Lloh215:
	ldr	w9, [x9]
	orr	w1, w9, w8
	str	w1, [x19, #4]
	ldr	w8, [x20, #8]
	ldr	w9, [x25]
	lsr	w8, w8, w9
	tbz	w8, #0, LBB0_17
; %bb.16:
Lloh216:
	adrp	x8, _EFX_FC_AUTO@GOTPAGE
Lloh217:
	ldr	x8, [x8, _EFX_FC_AUTO@GOTPAGEOFF]
Lloh218:
	ldr	w8, [x8]
	orr	w1, w8, w1
	str	w1, [x19, #4]
LBB0_17:
	mov	x0, x19
	bl	_efx_link_set_wanted_fc
	mov	w22, #0
	b	LBB0_13
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh195, Lloh196, Lloh197
	.loh AdrpLdrGotLdr	Lloh192, Lloh193, Lloh194
	.loh AdrpLdrGotLdr	Lloh189, Lloh190, Lloh191
	.loh AdrpLdrGotLdr	Lloh186, Lloh187, Lloh188
	.loh AdrpLdrGotLdr	Lloh183, Lloh184, Lloh185
	.loh AdrpLdrGotLdr	Lloh180, Lloh181, Lloh182
	.loh AdrpLdrGotLdr	Lloh177, Lloh178, Lloh179
	.loh AdrpLdrGotLdr	Lloh174, Lloh175, Lloh176
	.loh AdrpLdrGotLdr	Lloh171, Lloh172, Lloh173
	.loh AdrpLdrGotLdr	Lloh168, Lloh169, Lloh170
	.loh AdrpLdrGotLdr	Lloh165, Lloh166, Lloh167
	.loh AdrpLdrGotLdr	Lloh162, Lloh163, Lloh164
	.loh AdrpLdrGotLdr	Lloh159, Lloh160, Lloh161
	.loh AdrpLdrGotLdr	Lloh156, Lloh157, Lloh158
	.loh AdrpLdrGotLdr	Lloh153, Lloh154, Lloh155
	.loh AdrpLdrGotLdr	Lloh150, Lloh151, Lloh152
	.loh AdrpLdrGotLdr	Lloh147, Lloh148, Lloh149
	.loh AdrpLdrGotLdr	Lloh144, Lloh145, Lloh146
	.loh AdrpLdrGotLdr	Lloh141, Lloh142, Lloh143
	.loh AdrpLdrGotLdr	Lloh138, Lloh139, Lloh140
	.loh AdrpLdrGotLdr	Lloh135, Lloh136, Lloh137
	.loh AdrpLdrGotLdr	Lloh132, Lloh133, Lloh134
	.loh AdrpLdrGotLdr	Lloh129, Lloh130, Lloh131
	.loh AdrpLdrGotLdr	Lloh126, Lloh127, Lloh128
	.loh AdrpLdrGotLdr	Lloh123, Lloh124, Lloh125
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh198, Lloh199, Lloh200
	.loh AdrpLdrGotLdr	Lloh213, Lloh214, Lloh215
	.loh AdrpLdrGotLdr	Lloh210, Lloh211, Lloh212
	.loh AdrpLdrGotLdr	Lloh207, Lloh208, Lloh209
	.loh AdrpLdrGotLdr	Lloh204, Lloh205, Lloh206
	.loh AdrpLdrGotLdr	Lloh201, Lloh202, Lloh203
	.loh AdrpLdrGotLdr	Lloh216, Lloh217, Lloh218
	.cfi_endproc
                                        ; -- End function
	.comm	_MC_CMD_GET_LINK_OUT_LEN,4,2    ; @MC_CMD_GET_LINK_OUT_LEN
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MC_CMD_GET_LINK_IN_LEN,8,3     ; @MC_CMD_GET_LINK_IN_LEN
	.comm	_MC_CMD_GET_LINK,4,2            ; @MC_CMD_GET_LINK
	.comm	_MC_CMD_MMD_CLAUSE22,4,2        ; @MC_CMD_MMD_CLAUSE22
	.comm	_MDIO_SUPPORTS_C22,4,2          ; @MDIO_SUPPORTS_C22
	.comm	_MDIO_SUPPORTS_C45,4,2          ; @MDIO_SUPPORTS_C45
	.comm	_MDIO_EMULATE_C22,4,2           ; @MDIO_EMULATE_C22
	.comm	_GET_LINK_OUT_CAP,4,2           ; @GET_LINK_OUT_CAP
	.comm	_MC_CMD_PHY_CAP_AN_LBN,4,2      ; @MC_CMD_PHY_CAP_AN_LBN
	.comm	_LOOPBACK_NONE,4,2              ; @LOOPBACK_NONE
	.comm	_MC_CMD_LOOPBACK_NONE,4,2       ; @MC_CMD_LOOPBACK_NONE
	.comm	_LOOPBACK_DATA,8,3              ; @LOOPBACK_DATA
	.comm	_MC_CMD_LOOPBACK_DATA,8,3       ; @MC_CMD_LOOPBACK_DATA
	.comm	_LOOPBACK_GMAC,8,3              ; @LOOPBACK_GMAC
	.comm	_MC_CMD_LOOPBACK_GMAC,8,3       ; @MC_CMD_LOOPBACK_GMAC
	.comm	_LOOPBACK_XGMII,8,3             ; @LOOPBACK_XGMII
	.comm	_MC_CMD_LOOPBACK_XGMII,8,3      ; @MC_CMD_LOOPBACK_XGMII
	.comm	_LOOPBACK_XGXS,8,3              ; @LOOPBACK_XGXS
	.comm	_MC_CMD_LOOPBACK_XGXS,8,3       ; @MC_CMD_LOOPBACK_XGXS
	.comm	_LOOPBACK_XAUI,8,3              ; @LOOPBACK_XAUI
	.comm	_MC_CMD_LOOPBACK_XAUI,8,3       ; @MC_CMD_LOOPBACK_XAUI
	.comm	_LOOPBACK_GMII,8,3              ; @LOOPBACK_GMII
	.comm	_MC_CMD_LOOPBACK_GMII,8,3       ; @MC_CMD_LOOPBACK_GMII
	.comm	_LOOPBACK_SGMII,8,3             ; @LOOPBACK_SGMII
	.comm	_MC_CMD_LOOPBACK_SGMII,8,3      ; @MC_CMD_LOOPBACK_SGMII
	.comm	_LOOPBACK_XGBR,8,3              ; @LOOPBACK_XGBR
	.comm	_MC_CMD_LOOPBACK_XGBR,8,3       ; @MC_CMD_LOOPBACK_XGBR
	.comm	_LOOPBACK_XFI,8,3               ; @LOOPBACK_XFI
	.comm	_MC_CMD_LOOPBACK_XFI,8,3        ; @MC_CMD_LOOPBACK_XFI
	.comm	_LOOPBACK_XAUI_FAR,8,3          ; @LOOPBACK_XAUI_FAR
	.comm	_MC_CMD_LOOPBACK_XAUI_FAR,8,3   ; @MC_CMD_LOOPBACK_XAUI_FAR
	.comm	_LOOPBACK_GMII_FAR,8,3          ; @LOOPBACK_GMII_FAR
	.comm	_MC_CMD_LOOPBACK_GMII_FAR,8,3   ; @MC_CMD_LOOPBACK_GMII_FAR
	.comm	_LOOPBACK_SGMII_FAR,8,3         ; @LOOPBACK_SGMII_FAR
	.comm	_MC_CMD_LOOPBACK_SGMII_FAR,8,3  ; @MC_CMD_LOOPBACK_SGMII_FAR
	.comm	_LOOPBACK_XFI_FAR,8,3           ; @LOOPBACK_XFI_FAR
	.comm	_MC_CMD_LOOPBACK_XFI_FAR,8,3    ; @MC_CMD_LOOPBACK_XFI_FAR
	.comm	_LOOPBACK_GPHY,8,3              ; @LOOPBACK_GPHY
	.comm	_MC_CMD_LOOPBACK_GPHY,8,3       ; @MC_CMD_LOOPBACK_GPHY
	.comm	_LOOPBACK_PHYXS,8,3             ; @LOOPBACK_PHYXS
	.comm	_MC_CMD_LOOPBACK_PHYXS,8,3      ; @MC_CMD_LOOPBACK_PHYXS
	.comm	_LOOPBACK_PCS,8,3               ; @LOOPBACK_PCS
	.comm	_MC_CMD_LOOPBACK_PCS,8,3        ; @MC_CMD_LOOPBACK_PCS
	.comm	_LOOPBACK_PMAPMD,8,3            ; @LOOPBACK_PMAPMD
	.comm	_MC_CMD_LOOPBACK_PMAPMD,8,3     ; @MC_CMD_LOOPBACK_PMAPMD
	.comm	_LOOPBACK_XPORT,8,3             ; @LOOPBACK_XPORT
	.comm	_MC_CMD_LOOPBACK_XPORT,8,3      ; @MC_CMD_LOOPBACK_XPORT
	.comm	_LOOPBACK_XGMII_WS,8,3          ; @LOOPBACK_XGMII_WS
	.comm	_MC_CMD_LOOPBACK_XGMII_WS,8,3   ; @MC_CMD_LOOPBACK_XGMII_WS
	.comm	_LOOPBACK_XAUI_WS,8,3           ; @LOOPBACK_XAUI_WS
	.comm	_MC_CMD_LOOPBACK_XAUI_WS,8,3    ; @MC_CMD_LOOPBACK_XAUI_WS
	.comm	_LOOPBACK_XAUI_WS_FAR,8,3       ; @LOOPBACK_XAUI_WS_FAR
	.comm	_MC_CMD_LOOPBACK_XAUI_WS_FAR,8,3 ; @MC_CMD_LOOPBACK_XAUI_WS_FAR
	.comm	_LOOPBACK_XAUI_WS_NEAR,8,3      ; @LOOPBACK_XAUI_WS_NEAR
	.comm	_MC_CMD_LOOPBACK_XAUI_WS_NEAR,8,3 ; @MC_CMD_LOOPBACK_XAUI_WS_NEAR
	.comm	_LOOPBACK_GMII_WS,8,3           ; @LOOPBACK_GMII_WS
	.comm	_MC_CMD_LOOPBACK_GMII_WS,8,3    ; @MC_CMD_LOOPBACK_GMII_WS
	.comm	_LOOPBACK_XFI_WS,8,3            ; @LOOPBACK_XFI_WS
	.comm	_MC_CMD_LOOPBACK_XFI_WS,8,3     ; @MC_CMD_LOOPBACK_XFI_WS
	.comm	_LOOPBACK_XFI_WS_FAR,8,3        ; @LOOPBACK_XFI_WS_FAR
	.comm	_MC_CMD_LOOPBACK_XFI_WS_FAR,8,3 ; @MC_CMD_LOOPBACK_XFI_WS_FAR
	.comm	_LOOPBACK_PHYXS_WS,8,3          ; @LOOPBACK_PHYXS_WS
	.comm	_MC_CMD_LOOPBACK_PHYXS_WS,8,3   ; @MC_CMD_LOOPBACK_PHYXS_WS
	.comm	_GET_LINK_OUT_LINK_SPEED,4,2    ; @GET_LINK_OUT_LINK_SPEED
	.comm	_GET_LINK_OUT_FLAGS,4,2         ; @GET_LINK_OUT_FLAGS
	.comm	_GET_LINK_OUT_FCNTL,4,2         ; @GET_LINK_OUT_FCNTL
	.comm	_EFX_FC_RX,4,2                  ; @EFX_FC_RX
	.comm	_EFX_FC_TX,4,2                  ; @EFX_FC_TX
	.comm	_EFX_FC_AUTO,4,2                ; @EFX_FC_AUTO
	.no_dead_strip	_efx_mcdi_phy_probe
.subsections_via_symbols
