	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_get_mcdi_phy_flags
_efx_get_mcdi_phy_flags:                ## @efx_get_mcdi_phy_flags
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movl	(%rax), %r8d
	movq	_MC_CMD_GET_PHY_CFG_OUT_TXDIS_LBN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edx, %edx
	btl	%eax, %r8d
	movq	_PHY_MODE_TX_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	cmovael	%edx, %esi
	movq	_MC_CMD_GET_PHY_CFG_OUT_LOWPOWER_LBN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %r8d
	movq	_PHY_MODE_LOW_POWER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movl	%r9d, %ecx
	cmovael	%edx, %ecx
	orl	%esi, %ecx
	movq	_MC_CMD_GET_PHY_CFG_OUT_POWEROFF_LBN@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	btl	%esi, %r8d
	movq	_PHY_MODE_OFF@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r8d
	cmovbl	%r8d, %edx
	orl	%ecx, %edx
	andl	(%rdi), %edx
	andl	%edx, %eax
	movq	_MC_CMD_SET_LINK_IN_TXDIS_LBN@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %esi
	shll	%cl, %esi
	testl	%eax, %eax
	cmovel	%eax, %esi
	movq	_MC_CMD_SET_LINK_IN_LOWPOWER_LBN@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %edi
	shll	%cl, %edi
	andl	%edx, %r9d
	testl	%r9d, %r9d
	cmovel	%r9d, %edi
	movl	$1, %eax
	orl	%esi, %edi
	andl	%r8d, %edx
	movq	_MC_CMD_SET_LINK_IN_POWEROFF_LBN@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	testl	%edx, %edx
	cmovel	%edx, %eax
	orl	%edi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MC_CMD_GET_PHY_CFG_OUT_TXDIS_LBN,4,2 ## @MC_CMD_GET_PHY_CFG_OUT_TXDIS_LBN
	.comm	_PHY_MODE_TX_DISABLED,4,2       ## @PHY_MODE_TX_DISABLED
	.comm	_MC_CMD_GET_PHY_CFG_OUT_LOWPOWER_LBN,4,2 ## @MC_CMD_GET_PHY_CFG_OUT_LOWPOWER_LBN
	.comm	_PHY_MODE_LOW_POWER,4,2         ## @PHY_MODE_LOW_POWER
	.comm	_MC_CMD_GET_PHY_CFG_OUT_POWEROFF_LBN,4,2 ## @MC_CMD_GET_PHY_CFG_OUT_POWEROFF_LBN
	.comm	_PHY_MODE_OFF,4,2               ## @PHY_MODE_OFF
	.comm	_MC_CMD_SET_LINK_IN_TXDIS_LBN,4,2 ## @MC_CMD_SET_LINK_IN_TXDIS_LBN
	.comm	_MC_CMD_SET_LINK_IN_LOWPOWER_LBN,4,2 ## @MC_CMD_SET_LINK_IN_LOWPOWER_LBN
	.comm	_MC_CMD_SET_LINK_IN_POWEROFF_LBN,4,2 ## @MC_CMD_SET_LINK_IN_POWEROFF_LBN
	.no_dead_strip	_efx_get_mcdi_phy_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_get_mcdi_phy_flags
_efx_get_mcdi_phy_flags:                ; @efx_get_mcdi_phy_flags
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _MC_CMD_GET_PHY_CFG_OUT_TXDIS_LBN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MC_CMD_GET_PHY_CFG_OUT_TXDIS_LBN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _PHY_MODE_TX_DISABLED@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PHY_MODE_TX_DISABLED@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	lsr	w9, w8, w9
	sbfx	w9, w9, #0, #1
	and	w9, w9, w10
Lloh6:
	adrp	x11, _MC_CMD_GET_PHY_CFG_OUT_LOWPOWER_LBN@GOTPAGE
Lloh7:
	ldr	x11, [x11, _MC_CMD_GET_PHY_CFG_OUT_LOWPOWER_LBN@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
Lloh9:
	adrp	x12, _PHY_MODE_LOW_POWER@GOTPAGE
Lloh10:
	ldr	x12, [x12, _PHY_MODE_LOW_POWER@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
	lsr	w11, w8, w11
	sbfx	w11, w11, #0, #1
	and	w11, w11, w12
	orr	w9, w11, w9
Lloh12:
	adrp	x11, _MC_CMD_GET_PHY_CFG_OUT_POWEROFF_LBN@GOTPAGE
Lloh13:
	ldr	x11, [x11, _MC_CMD_GET_PHY_CFG_OUT_POWEROFF_LBN@GOTPAGEOFF]
Lloh14:
	adrp	x13, _PHY_MODE_OFF@GOTPAGE
Lloh15:
	ldr	x13, [x13, _PHY_MODE_OFF@GOTPAGEOFF]
Lloh16:
	ldr	w11, [x11]
Lloh17:
	ldr	w13, [x13]
	lsr	w8, w8, w11
	sbfx	w8, w8, #0, #1
	and	w8, w8, w13
	orr	w8, w9, w8
	ldr	w9, [x0]
	and	w8, w8, w9
Lloh18:
	adrp	x9, _MC_CMD_SET_LINK_IN_TXDIS_LBN@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MC_CMD_SET_LINK_IN_TXDIS_LBN@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	mov	w11, #1
	lsl	w9, w11, w9
	tst	w8, w10
	csel	w9, wzr, w9, eq
Lloh21:
	adrp	x10, _MC_CMD_SET_LINK_IN_LOWPOWER_LBN@GOTPAGE
Lloh22:
	ldr	x10, [x10, _MC_CMD_SET_LINK_IN_LOWPOWER_LBN@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	lsl	w10, w11, w10
	tst	w8, w12
	csel	w10, wzr, w10, eq
	orr	w9, w9, w10
Lloh24:
	adrp	x10, _MC_CMD_SET_LINK_IN_POWEROFF_LBN@GOTPAGE
Lloh25:
	ldr	x10, [x10, _MC_CMD_SET_LINK_IN_POWEROFF_LBN@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	lsl	w10, w11, w10
	tst	w8, w13
	csel	w8, wzr, w10, eq
	orr	w0, w9, w8
	ret
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MC_CMD_GET_PHY_CFG_OUT_TXDIS_LBN,4,2 ; @MC_CMD_GET_PHY_CFG_OUT_TXDIS_LBN
	.comm	_PHY_MODE_TX_DISABLED,4,2       ; @PHY_MODE_TX_DISABLED
	.comm	_MC_CMD_GET_PHY_CFG_OUT_LOWPOWER_LBN,4,2 ; @MC_CMD_GET_PHY_CFG_OUT_LOWPOWER_LBN
	.comm	_PHY_MODE_LOW_POWER,4,2         ; @PHY_MODE_LOW_POWER
	.comm	_MC_CMD_GET_PHY_CFG_OUT_POWEROFF_LBN,4,2 ; @MC_CMD_GET_PHY_CFG_OUT_POWEROFF_LBN
	.comm	_PHY_MODE_OFF,4,2               ; @PHY_MODE_OFF
	.comm	_MC_CMD_SET_LINK_IN_TXDIS_LBN,4,2 ; @MC_CMD_SET_LINK_IN_TXDIS_LBN
	.comm	_MC_CMD_SET_LINK_IN_LOWPOWER_LBN,4,2 ; @MC_CMD_SET_LINK_IN_LOWPOWER_LBN
	.comm	_MC_CMD_SET_LINK_IN_POWEROFF_LBN,4,2 ; @MC_CMD_SET_LINK_IN_POWEROFF_LBN
	.no_dead_strip	_efx_get_mcdi_phy_flags
.subsections_via_symbols
