	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_setup_sfi_x550a
_ixgbe_setup_sfi_x550a:                 ## @ixgbe_setup_sfi_x550a
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	16(%rdi), %rbx
	movl	(%rdi), %edi
	callq	_IXGBE_KRM_PMD_FLX_MASK_ST20
	movq	_IXGBE_SB_IOSF_TARGET_KR_PHY@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	-36(%rbp), %rcx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	*%rbx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	movq	_IXGBE_KRM_PMD_FLX_MASK_ST20_AN_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_IXGBE_KRM_PMD_FLX_MASK_ST20_AN37_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_IXGBE_KRM_PMD_FLX_MASK_ST20_SGMII_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_IXGBE_KRM_PMD_FLX_MASK_ST20_SPEED_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	andl	-36(%rbp), %eax
	movl	(%r14), %ecx
	cmpl	$129, %ecx
	je	LBB0_2
## %bb.3:
	cmpl	$128, %ecx
	jne	LBB0_7
## %bb.4:
	movq	_IXGBE_KRM_PMD_FLX_MASK_ST20_SPEED_1G@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_2:
	movq	_IXGBE_KRM_PMD_FLX_MASK_ST20_SPEED_10G@GOTPCREL(%rip), %rcx
LBB0_5:
	orl	(%rcx), %eax
	movl	%eax, -36(%rbp)
	movq	8(%r12), %rbx
	movl	(%r12), %edi
	callq	_IXGBE_KRM_PMD_FLX_MASK_ST20
	movl	(%r15), %edx
	movl	-36(%rbp), %ecx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	*%rbx
	movq	%r12, %rdi
	callq	_ixgbe_restart_an_internal_phy_x550em
	jmp	LBB0_6
LBB0_7:
	movq	_IXGBE_ERR_LINK_SETUP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	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
	.comm	_IXGBE_KRM_PMD_FLX_MASK_ST20_AN_EN,4,2 ## @IXGBE_KRM_PMD_FLX_MASK_ST20_AN_EN
	.comm	_IXGBE_KRM_PMD_FLX_MASK_ST20_AN37_EN,4,2 ## @IXGBE_KRM_PMD_FLX_MASK_ST20_AN37_EN
	.comm	_IXGBE_KRM_PMD_FLX_MASK_ST20_SGMII_EN,4,2 ## @IXGBE_KRM_PMD_FLX_MASK_ST20_SGMII_EN
	.comm	_IXGBE_KRM_PMD_FLX_MASK_ST20_SPEED_MASK,4,2 ## @IXGBE_KRM_PMD_FLX_MASK_ST20_SPEED_MASK
	.comm	_IXGBE_KRM_PMD_FLX_MASK_ST20_SPEED_10G,4,2 ## @IXGBE_KRM_PMD_FLX_MASK_ST20_SPEED_10G
	.comm	_IXGBE_KRM_PMD_FLX_MASK_ST20_SPEED_1G,4,2 ## @IXGBE_KRM_PMD_FLX_MASK_ST20_SPEED_1G
	.comm	_IXGBE_ERR_LINK_SETUP,8,3       ## @IXGBE_ERR_LINK_SETUP
	.no_dead_strip	_ixgbe_setup_sfi_x550a
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_setup_sfi_x550a
_ixgbe_setup_sfi_x550a:                 ; @ixgbe_setup_sfi_x550a
	.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	x20, x1
	mov	x19, x0
	ldr	x22, [x0, #16]
	ldr	w0, [x0]
	bl	_IXGBE_KRM_PMD_FLX_MASK_ST20
	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	x22
	cbnz	x0, LBB0_7
; %bb.1:
Lloh2:
	adrp	x8, _IXGBE_KRM_PMD_FLX_MASK_ST20_AN_EN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IXGBE_KRM_PMD_FLX_MASK_ST20_AN_EN@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x8]
	ldr	w8, [sp, #12]
Lloh5:
	adrp	x10, _IXGBE_KRM_PMD_FLX_MASK_ST20_AN37_EN@GOTPAGE
Lloh6:
	ldr	x10, [x10, _IXGBE_KRM_PMD_FLX_MASK_ST20_AN37_EN@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
Lloh8:
	adrp	x11, _IXGBE_KRM_PMD_FLX_MASK_ST20_SGMII_EN@GOTPAGE
Lloh9:
	ldr	x11, [x11, _IXGBE_KRM_PMD_FLX_MASK_ST20_SGMII_EN@GOTPAGEOFF]
Lloh10:
	ldr	w11, [x11]
Lloh11:
	adrp	x12, _IXGBE_KRM_PMD_FLX_MASK_ST20_SPEED_MASK@GOTPAGE
Lloh12:
	ldr	x12, [x12, _IXGBE_KRM_PMD_FLX_MASK_ST20_SPEED_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w12, [x12]
	ldr	w13, [x20]
	cmp	w13, #129
	b.eq	LBB0_4
; %bb.2:
	cmp	w13, #128
	b.ne	LBB0_6
; %bb.3:
Lloh14:
	adrp	x13, _IXGBE_KRM_PMD_FLX_MASK_ST20_SPEED_1G@GOTPAGE
Lloh15:
	ldr	x13, [x13, _IXGBE_KRM_PMD_FLX_MASK_ST20_SPEED_1G@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh16:
	adrp	x13, _IXGBE_KRM_PMD_FLX_MASK_ST20_SPEED_10G@GOTPAGE
Lloh17:
	ldr	x13, [x13, _IXGBE_KRM_PMD_FLX_MASK_ST20_SPEED_10G@GOTPAGEOFF]
LBB0_5:
	orr	w9, w9, w10
	orr	w9, w9, w11
	orr	w9, w9, w12
	bic	w8, w8, w9
	ldr	w9, [x13]
	orr	w8, w9, w8
	str	w8, [sp, #12]
	ldr	x20, [x19, #8]
	ldr	w0, [x19]
	bl	_IXGBE_KRM_PMD_FLX_MASK_ST20
	mov	x1, x0
	ldr	w2, [x21]
	ldr	w3, [sp, #12]
	mov	x0, x19
	blr	x20
	mov	x0, x19
	bl	_ixgbe_restart_an_internal_phy_x550em
	b	LBB0_7
LBB0_6:
Lloh18:
	adrp	x8, _IXGBE_ERR_LINK_SETUP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IXGBE_ERR_LINK_SETUP@GOTPAGEOFF]
Lloh20:
	ldr	x0, [x8]
LBB0_7:
	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 AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_SB_IOSF_TARGET_KR_PHY,4,2 ; @IXGBE_SB_IOSF_TARGET_KR_PHY
	.comm	_IXGBE_KRM_PMD_FLX_MASK_ST20_AN_EN,4,2 ; @IXGBE_KRM_PMD_FLX_MASK_ST20_AN_EN
	.comm	_IXGBE_KRM_PMD_FLX_MASK_ST20_AN37_EN,4,2 ; @IXGBE_KRM_PMD_FLX_MASK_ST20_AN37_EN
	.comm	_IXGBE_KRM_PMD_FLX_MASK_ST20_SGMII_EN,4,2 ; @IXGBE_KRM_PMD_FLX_MASK_ST20_SGMII_EN
	.comm	_IXGBE_KRM_PMD_FLX_MASK_ST20_SPEED_MASK,4,2 ; @IXGBE_KRM_PMD_FLX_MASK_ST20_SPEED_MASK
	.comm	_IXGBE_KRM_PMD_FLX_MASK_ST20_SPEED_10G,4,2 ; @IXGBE_KRM_PMD_FLX_MASK_ST20_SPEED_10G
	.comm	_IXGBE_KRM_PMD_FLX_MASK_ST20_SPEED_1G,4,2 ; @IXGBE_KRM_PMD_FLX_MASK_ST20_SPEED_1G
	.comm	_IXGBE_ERR_LINK_SETUP,8,3       ; @IXGBE_ERR_LINK_SETUP
	.no_dead_strip	_ixgbe_setup_sfi_x550a
.subsections_via_symbols
