	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_mcdi_phy_check_fcntl
_efx_mcdi_phy_check_fcntl:              ## @efx_mcdi_phy_check_fcntl
	.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), %eax
	movq	_MC_CMD_PHY_CAP_AN_LBN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	jae	LBB0_6
## %bb.1:
	movl	(%rdi), %eax
	movq	_EFX_FC_AUTO@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
LBB0_6:
	popq	%rbp
	retq
LBB0_2:
	movq	_MC_CMD_PHY_CAP_PAUSE_LBN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	xorl	%ecx, %ecx
	btl	%edx, %esi
	movl	$0, %r8d
	jae	LBB0_4
## %bb.3:
	movq	_ADVERTISED_Pause@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
LBB0_4:
	movq	_MC_CMD_PHY_CAP_ASYM_LBN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	btl	%edx, %esi
	movq	_ADVERTISED_Asym_Pause@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	cmovbl	%esi, %ecx
	movq	_EFX_FC_TX@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_6
## %bb.5:
	orl	%r8d, %ecx
	cmpl	%esi, %ecx
	jne	LBB0_6
## %bb.7:
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rdi), %edx
	leaq	L_.str(%rip), %rcx
	popq	%rbp
	jmp	_netif_err                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MC_CMD_PHY_CAP_AN_LBN,4,2      ## @MC_CMD_PHY_CAP_AN_LBN
	.comm	_EFX_FC_AUTO,4,2                ## @EFX_FC_AUTO
	.comm	_MC_CMD_PHY_CAP_PAUSE_LBN,4,2   ## @MC_CMD_PHY_CAP_PAUSE_LBN
	.comm	_ADVERTISED_Pause,4,2           ## @ADVERTISED_Pause
	.comm	_MC_CMD_PHY_CAP_ASYM_LBN,4,2    ## @MC_CMD_PHY_CAP_ASYM_LBN
	.comm	_ADVERTISED_Asym_Pause,4,2      ## @ADVERTISED_Asym_Pause
	.comm	_EFX_FC_TX,4,2                  ## @EFX_FC_TX
	.comm	_link,4,2                       ## @link
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"warning: link partner doesn't support pause frames"

	.no_dead_strip	_efx_mcdi_phy_check_fcntl
.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_check_fcntl
_efx_mcdi_phy_check_fcntl:              ; @efx_mcdi_phy_check_fcntl
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _MC_CMD_PHY_CAP_AN_LBN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MC_CMD_PHY_CAP_AN_LBN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsr	w8, w8, w9
	tbz	w8, #0, LBB0_3
; %bb.1:
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _EFX_FC_AUTO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EFX_FC_AUTO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.2:
Lloh6:
	adrp	x9, _MC_CMD_PHY_CAP_PAUSE_LBN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MC_CMD_PHY_CAP_PAUSE_LBN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _ADVERTISED_Pause@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ADVERTISED_Pause@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	lsr	w9, w1, w9
	sbfx	w9, w9, #0, #1
	and	w9, w9, w10
Lloh12:
	adrp	x10, _MC_CMD_PHY_CAP_ASYM_LBN@GOTPAGE
Lloh13:
	ldr	x10, [x10, _MC_CMD_PHY_CAP_ASYM_LBN@GOTPAGEOFF]
Lloh14:
	adrp	x11, _ADVERTISED_Asym_Pause@GOTPAGE
Lloh15:
	ldr	x11, [x11, _ADVERTISED_Asym_Pause@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
Lloh17:
	ldr	w11, [x11]
	lsr	w10, w1, w10
	sbfx	w10, w10, #0, #1
	and	w10, w10, w11
	orr	w9, w10, w9
Lloh18:
	adrp	x10, _EFX_FC_TX@GOTPAGE
Lloh19:
	ldr	x10, [x10, _EFX_FC_TX@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	and	w8, w10, w8
	cmp	w8, #0
	ccmp	w9, w11, #0, ne
	b.eq	LBB0_4
LBB0_3:
	ret
LBB0_4:
Lloh21:
	adrp	x8, _link@GOTPAGE
Lloh22:
	ldr	x8, [x8, _link@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	w2, [x0, #4]
Lloh24:
	adrp	x3, l_.str@PAGE
Lloh25:
	add	x3, x3, l_.str@PAGEOFF
	b	_netif_err
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.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 AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_MC_CMD_PHY_CAP_AN_LBN,4,2      ; @MC_CMD_PHY_CAP_AN_LBN
	.comm	_EFX_FC_AUTO,4,2                ; @EFX_FC_AUTO
	.comm	_MC_CMD_PHY_CAP_PAUSE_LBN,4,2   ; @MC_CMD_PHY_CAP_PAUSE_LBN
	.comm	_ADVERTISED_Pause,4,2           ; @ADVERTISED_Pause
	.comm	_MC_CMD_PHY_CAP_ASYM_LBN,4,2    ; @MC_CMD_PHY_CAP_ASYM_LBN
	.comm	_ADVERTISED_Asym_Pause,4,2      ; @ADVERTISED_Asym_Pause
	.comm	_EFX_FC_TX,4,2                  ; @EFX_FC_TX
	.comm	_link,4,2                       ; @link
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"warning: link partner doesn't support pause frames"

	.no_dead_strip	_efx_mcdi_phy_check_fcntl
.subsections_via_symbols
