	.file	"extr_ixgbe_x550.c_ixgbe_setup_ixfi_x550em_x.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ixgbe_setup_ixfi_x550em_x, @function
ixgbe_setup_ixfi_x550em_x:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rbx, QWORD PTR 8[rdi]
	mov	edi, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	r13d, DWORD PTR IXGBE_SB_IOSF_TARGET_KR_PHY[rip]
	lea	r12, 4[rsp]
	call	IXGBE_KRM_RX_TRN_LINKUP_CTRL@PLT
	mov	rcx, r12
	mov	rdi, rbp
	mov	esi, eax
	mov	edx, r13d
	call	rbx
	cmp	QWORD PTR IXGBE_SUCCESS[rip], rax
	je	.L6
.L1:
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L7
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[rbp]
	mov	r13d, DWORD PTR 4[rsp]
	mov	r14d, DWORD PTR IXGBE_SB_IOSF_TARGET_KR_PHY[rip]
	or	r13d, DWORD PTR IXGBE_KRM_RX_TRN_LINKUP_CTRL_CONV_WO_PROTOCOL[rip]
	mov	rbx, QWORD PTR 16[rbp]
	mov	DWORD PTR 4[rsp], r13d
	call	IXGBE_KRM_RX_TRN_LINKUP_CTRL@PLT
	mov	ecx, r13d
	mov	edx, r14d
	mov	rdi, rbp
	mov	esi, eax
	call	rbx
	cmp	QWORD PTR IXGBE_SUCCESS[rip], rax
	jne	.L1
	mov	edi, DWORD PTR 0[rbp]
	mov	r13d, DWORD PTR IXGBE_SB_IOSF_TARGET_KR_PHY[rip]
	mov	rbx, QWORD PTR 8[rbp]
	call	IXGBE_KRM_DSP_TXFFE_STATE_4@PLT
	mov	rcx, r12
	mov	edx, r13d
	mov	rdi, rbp
	mov	esi, eax
	call	rbx
	cmp	QWORD PTR IXGBE_SUCCESS[rip], rax
	jne	.L1
	mov	r13d, DWORD PTR IXGBE_KRM_DSP_TXFFE_STATE_CO_ADAPT_EN[rip]
	mov	ecx, DWORD PTR IXGBE_KRM_DSP_TXFFE_STATE_C0_EN[rip]
	or	ecx, DWORD PTR IXGBE_KRM_DSP_TXFFE_STATE_CP1_CN1_EN[rip]
	mov	edi, DWORD PTR 0[rbp]
	not	ecx
	not	r13d
	and	r13d, DWORD PTR 4[rsp]
	mov	rbx, QWORD PTR 16[rbp]
	and	r13d, ecx
	mov	r14d, DWORD PTR IXGBE_SB_IOSF_TARGET_KR_PHY[rip]
	mov	DWORD PTR 4[rsp], r13d
	call	IXGBE_KRM_DSP_TXFFE_STATE_4@PLT
	mov	ecx, r13d
	mov	edx, r14d
	mov	rdi, rbp
	mov	esi, eax
	call	rbx
	cmp	QWORD PTR IXGBE_SUCCESS[rip], rax
	jne	.L1
	mov	edi, DWORD PTR 0[rbp]
	mov	r13d, DWORD PTR IXGBE_SB_IOSF_TARGET_KR_PHY[rip]
	mov	rbx, QWORD PTR 8[rbp]
	call	IXGBE_KRM_DSP_TXFFE_STATE_5@PLT
	mov	rcx, r12
	mov	edx, r13d
	mov	rdi, rbp
	mov	esi, eax
	call	rbx
	cmp	QWORD PTR IXGBE_SUCCESS[rip], rax
	jne	.L1
	mov	r13d, DWORD PTR IXGBE_KRM_DSP_TXFFE_STATE_CO_ADAPT_EN[rip]
	mov	ecx, DWORD PTR IXGBE_KRM_DSP_TXFFE_STATE_C0_EN[rip]
	or	ecx, DWORD PTR IXGBE_KRM_DSP_TXFFE_STATE_CP1_CN1_EN[rip]
	mov	edi, DWORD PTR 0[rbp]
	not	ecx
	not	r13d
	and	r13d, DWORD PTR 4[rsp]
	mov	rbx, QWORD PTR 16[rbp]
	and	r13d, ecx
	mov	r14d, DWORD PTR IXGBE_SB_IOSF_TARGET_KR_PHY[rip]
	mov	DWORD PTR 4[rsp], r13d
	call	IXGBE_KRM_DSP_TXFFE_STATE_5@PLT
	mov	ecx, r13d
	mov	edx, r14d
	mov	rdi, rbp
	mov	esi, eax
	call	rbx
	cmp	QWORD PTR IXGBE_SUCCESS[rip], rax
	jne	.L1
	mov	edi, DWORD PTR 0[rbp]
	mov	r13d, DWORD PTR IXGBE_SB_IOSF_TARGET_KR_PHY[rip]
	mov	rbx, QWORD PTR 8[rbp]
	call	IXGBE_KRM_TX_COEFF_CTRL_1@PLT
	mov	rcx, r12
	mov	edx, r13d
	mov	rdi, rbp
	mov	esi, eax
	call	rbx
	cmp	QWORD PTR IXGBE_SUCCESS[rip], rax
	jne	.L1
	mov	edi, DWORD PTR 0[rbp]
	mov	r12d, DWORD PTR 4[rsp]
	mov	r13d, DWORD PTR IXGBE_SB_IOSF_TARGET_KR_PHY[rip]
	or	r12d, DWORD PTR IXGBE_KRM_TX_COEFF_CTRL_1_OVRRD_EN[rip]
	or	r12d, DWORD PTR IXGBE_KRM_TX_COEFF_CTRL_1_CZERO_EN[rip]
	or	r12d, DWORD PTR IXGBE_KRM_TX_COEFF_CTRL_1_CPLUS1_OVRRD_EN[rip]
	or	r12d, DWORD PTR IXGBE_KRM_TX_COEFF_CTRL_1_CMINUS1_OVRRD_EN[rip]
	mov	rbx, QWORD PTR 16[rbp]
	mov	DWORD PTR 4[rsp], r12d
	call	IXGBE_KRM_TX_COEFF_CTRL_1@PLT
	mov	ecx, r12d
	mov	edx, r13d
	mov	rdi, rbp
	mov	esi, eax
	call	rbx
	jmp	.L1
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ixgbe_setup_ixfi_x550em_x, .-ixgbe_setup_ixfi_x550em_x
	.comm	IXGBE_SUCCESS,8,8
	.comm	IXGBE_SB_IOSF_TARGET_KR_PHY,4,4
	.comm	IXGBE_KRM_TX_COEFF_CTRL_1_OVRRD_EN,4,4
	.comm	IXGBE_KRM_TX_COEFF_CTRL_1_CZERO_EN,4,4
	.comm	IXGBE_KRM_TX_COEFF_CTRL_1_CPLUS1_OVRRD_EN,4,4
	.comm	IXGBE_KRM_TX_COEFF_CTRL_1_CMINUS1_OVRRD_EN,4,4
	.comm	IXGBE_KRM_RX_TRN_LINKUP_CTRL_CONV_WO_PROTOCOL,4,4
	.comm	IXGBE_KRM_DSP_TXFFE_STATE_CP1_CN1_EN,4,4
	.comm	IXGBE_KRM_DSP_TXFFE_STATE_CO_ADAPT_EN,4,4
	.comm	IXGBE_KRM_DSP_TXFFE_STATE_C0_EN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_ixgbe_x550.c_ixgbe_setup_ixfi_x550em_x.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ixgbe_setup_ixfi_x550em_x, %function
ixgbe_setup_ixfi_x550em_x:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	ldr	r3, .L8
	sub	sp, sp, #8
	ldr	r0, [r0]
	ldr	r6, [r4, #4]
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	IXGBE_KRM_RX_TRN_LINKUP_CTRL
	ldr	r5, .L8+4
	mov	r1, r0
	mov	r3, sp
	mov	r0, r4
	ldr	r2, [r5]
	blx	r6
	ldr	r6, .L8+8
	ldr	r3, [r6]
	cmp	r3, r0
	beq	.L6
.L1:
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	ldr	r2, .L8+12
	ldr	r3, [sp]
	ldr	r2, [r2]
	ldr	r0, [r4]
	orr	r3, r3, r2
	ldr	r7, [r4, #8]
	str	r3, [sp]
	bl	IXGBE_KRM_RX_TRN_LINKUP_CTRL
	ldr	r3, [sp]
	mov	r1, r0
	ldr	r2, [r5]
	mov	r0, r4
	blx	r7
	ldr	r3, [r6]
	cmp	r3, r0
	bne	.L1
	ldm	r4, {r0, r7}
	bl	IXGBE_KRM_DSP_TXFFE_STATE_4
	mov	r3, sp
	mov	r1, r0
	ldr	r2, [r5]
	mov	r0, r4
	blx	r7
	ldr	r3, [r6]
	cmp	r3, r0
	bne	.L1
	ldr	r9, .L8+16
	ldr	r8, .L8+20
	ldr	r7, .L8+24
	ldr	r0, [r9]
	ldr	r3, [sp]
	ldr	r1, [r7]
	ldr	r2, [r8]
	bic	r3, r3, r0
	orr	r2, r2, r1
	bic	r3, r3, r2
	ldr	r0, [r4]
	ldr	r10, [r4, #8]
	str	r3, [sp]
	bl	IXGBE_KRM_DSP_TXFFE_STATE_4
	ldr	r3, [sp]
	mov	r1, r0
	ldr	r2, [r5]
	mov	r0, r4
	blx	r10
	ldr	r3, [r6]
	cmp	r3, r0
	bne	.L1
	ldm	r4, {r0, r10}
	bl	IXGBE_KRM_DSP_TXFFE_STATE_5
	mov	r3, sp
	mov	r1, r0
	ldr	r2, [r5]
	mov	r0, r4
	blx	r10
	ldr	r3, [r6]
	cmp	r3, r0
	bne	.L1
	ldr	r0, [r7]
	ldr	r1, [r9]
	ldr	r3, [sp]
	ldr	r2, [r8]
	bic	r3, r3, r1
	orr	r2, r2, r0
	bic	r3, r3, r2
	ldr	r0, [r4]
	ldr	r7, [r4, #8]
	str	r3, [sp]
	bl	IXGBE_KRM_DSP_TXFFE_STATE_5
	ldr	r3, [sp]
	mov	r1, r0
	ldr	r2, [r5]
	mov	r0, r4
	blx	r7
	ldr	r3, [r6]
	cmp	r3, r0
	bne	.L1
	ldm	r4, {r0, r7}
	bl	IXGBE_KRM_TX_COEFF_CTRL_1
	mov	r3, sp
	mov	r1, r0
	ldr	r2, [r5]
	mov	r0, r4
	blx	r7
	ldr	r3, [r6]
	cmp	r3, r0
	bne	.L1
	ldr	r3, .L8+28
	ldr	r0, .L8+32
	ldr	r2, [r3]
	ldr	r3, [sp]
	ldr	r1, .L8+36
	ldr	r0, [r0]
	orr	r3, r3, r2
	ldr	r2, .L8+40
	ldr	r1, [r1]
	ldr	r2, [r2]
	orr	r3, r3, r0
	orr	r3, r3, r1
	orr	r3, r3, r2
	ldr	r0, [r4]
	str	r3, [sp]
	ldr	r6, [r4, #8]
	bl	IXGBE_KRM_TX_COEFF_CTRL_1
	ldr	r2, [r5]
	mov	r1, r0
	ldr	r3, [sp]
	mov	r0, r4
	blx	r6
	b	.L1
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	IXGBE_SB_IOSF_TARGET_KR_PHY
	.word	IXGBE_SUCCESS
	.word	IXGBE_KRM_RX_TRN_LINKUP_CTRL_CONV_WO_PROTOCOL
	.word	IXGBE_KRM_DSP_TXFFE_STATE_CO_ADAPT_EN
	.word	IXGBE_KRM_DSP_TXFFE_STATE_C0_EN
	.word	IXGBE_KRM_DSP_TXFFE_STATE_CP1_CN1_EN
	.word	IXGBE_KRM_TX_COEFF_CTRL_1_OVRRD_EN
	.word	IXGBE_KRM_TX_COEFF_CTRL_1_CZERO_EN
	.word	IXGBE_KRM_TX_COEFF_CTRL_1_CPLUS1_OVRRD_EN
	.word	IXGBE_KRM_TX_COEFF_CTRL_1_CMINUS1_OVRRD_EN
	.size	ixgbe_setup_ixfi_x550em_x, .-ixgbe_setup_ixfi_x550em_x
	.comm	IXGBE_SUCCESS,4,4
	.comm	IXGBE_SB_IOSF_TARGET_KR_PHY,4,4
	.comm	IXGBE_KRM_TX_COEFF_CTRL_1_OVRRD_EN,4,4
	.comm	IXGBE_KRM_TX_COEFF_CTRL_1_CZERO_EN,4,4
	.comm	IXGBE_KRM_TX_COEFF_CTRL_1_CPLUS1_OVRRD_EN,4,4
	.comm	IXGBE_KRM_TX_COEFF_CTRL_1_CMINUS1_OVRRD_EN,4,4
	.comm	IXGBE_KRM_RX_TRN_LINKUP_CTRL_CONV_WO_PROTOCOL,4,4
	.comm	IXGBE_KRM_DSP_TXFFE_STATE_CP1_CN1_EN,4,4
	.comm	IXGBE_KRM_DSP_TXFFE_STATE_CO_ADAPT_EN,4,4
	.comm	IXGBE_KRM_DSP_TXFFE_STATE_C0_EN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
