	.file	"extr_csio_hw.c_csio_init_link_config.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	csio_init_link_config, @function
csio_init_link_config:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	eax, DWORD PTR PAUSE_RX[rip]
	mov	rbx, rdi
	mov	rdi, rdx
	or	eax, DWORD PTR PAUSE_TX[rip]
	mov	DWORD PTR [rbx], esi
	mov	DWORD PTR 4[rbx], eax
	mov	DWORD PTR 8[rbx], eax
	mov	eax, DWORD PTR FEC_AUTO[rip]
	mov	QWORD PTR 24[rbx], rdx
	mov	QWORD PTR 56[rbx], 0
	mov	QWORD PTR 48[rbx], 0
	mov	QWORD PTR 40[rbx], 0
	mov	DWORD PTR 36[rbx], eax
	call	fwcap_to_cc_fec@PLT
	mov	DWORD PTR 32[rbx], eax
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR FW_PORT_CAP32_ANEG[rip], eax
	je	.L2
	and	eax, DWORD PTR ADVERT_MASK[rip]
	mov	DWORD PTR 12[rbx], eax
	mov	eax, DWORD PTR AUTONEG_ENABLE[rip]
	mov	DWORD PTR 16[rbx], eax
	mov	eax, DWORD PTR PAUSE_AUTONEG[rip]
	or	DWORD PTR 4[rbx], eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR AUTONEG_DISABLE[rip]
	mov	DWORD PTR 12[rbx], 0
	mov	DWORD PTR 16[rbx], eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	csio_init_link_config, .-csio_init_link_config
	.comm	PAUSE_TX,4,4
	.comm	PAUSE_RX,4,4
	.comm	PAUSE_AUTONEG,4,4
	.comm	FW_PORT_CAP32_ANEG,4,4
	.comm	FEC_AUTO,4,4
	.comm	AUTONEG_ENABLE,4,4
	.comm	AUTONEG_DISABLE,4,4
	.comm	ADVERT_MASK,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_csio_hw.c_csio_init_link_config.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	csio_init_link_config, %function
csio_init_link_config:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	mov	r0, r2
	mov	r2, #0
	ldr	ip, .L6
	ldr	r3, .L6+4
	ldr	lr, [ip]
	ldr	ip, .L6+8
	ldr	r3, [r3]
	ldr	ip, [ip]
	orr	r3, r3, lr
	str	r3, [r4, #4]
	str	r3, [r4, #8]
	str	r2, [r4, #40]
	str	r2, [r4, #36]
	str	r2, [r4, #32]
	str	r0, [r4, #20]
	str	r1, [r4]
	str	ip, [r4, #28]
	bl	fwcap_to_cc_fec
	ldr	r3, .L6+12
	ldr	r2, [r4]
	ldr	r3, [r3]
	str	r0, [r4, #24]
	ands	r3, r2, r3
	beq	.L2
	ldr	r3, .L6+16
	ldr	r1, .L6+20
	ldr	r0, .L6+24
	ldr	ip, [r3]
	ldr	r1, [r1]
	ldr	r3, [r4, #4]
	ldr	r0, [r0]
	and	r2, r2, r1
	orr	r3, r3, ip
	str	r2, [r4, #12]
	str	r3, [r4, #4]
	str	r0, [r4, #16]
	pop	{r4, pc}
.L2:
	ldr	r2, .L6+28
	str	r3, [r4, #12]
	ldr	r3, [r2]
	str	r3, [r4, #16]
	pop	{r4, pc}
.L7:
	.align	2
.L6:
	.word	PAUSE_TX
	.word	PAUSE_RX
	.word	FEC_AUTO
	.word	FW_PORT_CAP32_ANEG
	.word	PAUSE_AUTONEG
	.word	ADVERT_MASK
	.word	AUTONEG_ENABLE
	.word	AUTONEG_DISABLE
	.size	csio_init_link_config, .-csio_init_link_config
	.comm	PAUSE_TX,4,4
	.comm	PAUSE_RX,4,4
	.comm	PAUSE_AUTONEG,4,4
	.comm	FW_PORT_CAP32_ANEG,4,4
	.comm	FEC_AUTO,4,4
	.comm	AUTONEG_ENABLE,4,4
	.comm	AUTONEG_DISABLE,4,4
	.comm	ADVERT_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
