	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_restart_an_internal_phy_x550em
_ixgbe_restart_an_internal_phy_x550em:  ## @ixgbe_restart_an_internal_phy_x550em
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %r14
	movl	(%rdi), %edi
	callq	_IXGBE_KRM_LINK_CTRL_1
	movq	_IXGBE_SB_IOSF_TARGET_KR_PHY@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	-32(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	*%r14
	testq	%rax, %rax
	je	LBB0_1
LBB0_4:
	movq	%rax, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_hw_dbg
	jmp	LBB0_5
LBB0_1:
	movq	_IXGBE_KRM_LINK_CTRL_1_TETH_AN_RESTART@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -32(%rbp)
	movq	16(%rbx), %r14
	movl	(%rbx), %edi
	callq	_IXGBE_KRM_LINK_CTRL_1
	movl	(%r15), %edx
	movl	-32(%rbp), %ecx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	*%r14
	movq	%rax, %r14
	movq	8(%rbx), %rax
	movq	_ixgbe_mac_x550em_a@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.2:
	movq	24(%rbx), %r14
	movl	(%rbx), %edi
	callq	_IXGBE_KRM_PMD_FLX_MASK_ST20
	movl	(%r15), %edx
	leaq	-28(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	*%r14
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_IXGBE_KRM_PMD_FLX_MASK_ST20_FW_AN_RESTART@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -28(%rbp)
	movq	16(%rbx), %r14
	movl	(%rbx), %edi
	callq	_IXGBE_KRM_PMD_FLX_MASK_ST20
	movl	(%r15), %edx
	movl	-28(%rbp), %ecx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	*%r14
	movq	%rax, %r14
LBB0_5:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_SB_IOSF_TARGET_KR_PHY,4,2 ## @IXGBE_SB_IOSF_TARGET_KR_PHY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Auto-negotiation did not complete\n"

	.comm	_IXGBE_KRM_LINK_CTRL_1_TETH_AN_RESTART,4,2 ## @IXGBE_KRM_LINK_CTRL_1_TETH_AN_RESTART
	.comm	_ixgbe_mac_x550em_a,8,3         ## @ixgbe_mac_x550em_a
	.comm	_IXGBE_KRM_PMD_FLX_MASK_ST20_FW_AN_RESTART,4,2 ## @IXGBE_KRM_PMD_FLX_MASK_ST20_FW_AN_RESTART
	.no_dead_strip	_ixgbe_restart_an_internal_phy_x550em
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_restart_an_internal_phy_x550em
_ixgbe_restart_an_internal_phy_x550em:  ; @ixgbe_restart_an_internal_phy_x550em
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	x20, [x0, #24]
	ldr	w0, [x0]
	bl	_IXGBE_KRM_LINK_CTRL_1
	mov	x1, x0
Lloh0:
	adrp	x21, _IXGBE_SB_IOSF_TARGET_KR_PHY@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IXGBE_SB_IOSF_TARGET_KR_PHY@GOTPAGEOFF]
	ldr	w2, [x21]
	add	x3, sp, #12
	mov	x0, x19
	blr	x20
	cbz	x0, LBB0_2
LBB0_1:
	mov	x20, x0
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_hw_dbg
	b	LBB0_6
LBB0_2:
Lloh4:
	adrp	x8, _IXGBE_KRM_LINK_CTRL_1_TETH_AN_RESTART@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IXGBE_KRM_LINK_CTRL_1_TETH_AN_RESTART@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w8, w9, w8
	str	w8, [sp, #12]
	ldr	x20, [x19, #16]
	ldr	w0, [x19]
	bl	_IXGBE_KRM_LINK_CTRL_1
	mov	x1, x0
	ldr	w2, [x21]
	ldr	w3, [sp, #12]
	mov	x0, x19
	blr	x20
	ldr	x8, [x19, #8]
Lloh7:
	adrp	x9, _ixgbe_mac_x550em_a@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ixgbe_mac_x550em_a@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x20, [x19, #24]
	ldr	w0, [x19]
	bl	_IXGBE_KRM_PMD_FLX_MASK_ST20
	mov	x1, x0
	ldr	w2, [x21]
	add	x3, sp, #8
	mov	x0, x19
	blr	x20
	cbnz	x0, LBB0_1
; %bb.4:
Lloh10:
	adrp	x8, _IXGBE_KRM_PMD_FLX_MASK_ST20_FW_AN_RESTART@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IXGBE_KRM_PMD_FLX_MASK_ST20_FW_AN_RESTART@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [sp, #8]
	orr	w8, w9, w8
	str	w8, [sp, #8]
	ldr	x20, [x19, #16]
	ldr	w0, [x19]
	bl	_IXGBE_KRM_PMD_FLX_MASK_ST20
	mov	x1, x0
	ldr	w2, [x21]
	ldr	w3, [sp, #8]
	mov	x0, x19
	blr	x20
LBB0_5:
	mov	x20, x0
LBB0_6:
	mov	x0, x20
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_SB_IOSF_TARGET_KR_PHY,4,2 ; @IXGBE_SB_IOSF_TARGET_KR_PHY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Auto-negotiation did not complete\n"

	.comm	_IXGBE_KRM_LINK_CTRL_1_TETH_AN_RESTART,4,2 ; @IXGBE_KRM_LINK_CTRL_1_TETH_AN_RESTART
	.comm	_ixgbe_mac_x550em_a,8,3         ; @ixgbe_mac_x550em_a
	.comm	_IXGBE_KRM_PMD_FLX_MASK_ST20_FW_AN_RESTART,4,2 ; @IXGBE_KRM_PMD_FLX_MASK_ST20_FW_AN_RESTART
	.no_dead_strip	_ixgbe_restart_an_internal_phy_x550em
.subsections_via_symbols
