	.file	"extr_bxe_elink.c_elink_set_brcm_cl37_advertisement.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	elink_set_brcm_cl37_advertisement, @function
elink_set_brcm_cl37_advertisement:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR [rdi]
	mov	r12, QWORD PTR [rsi]
	mov	r8d, eax
	and	r8d, DWORD PTR PORT_HW_CFG_SPEED_CAPABILITY_D0_2_5G[rip]
	cmovne	r8d, DWORD PTR MDIO_OVER_1G_UP1_2_5G[rip]
	test	DWORD PTR PORT_HW_CFG_SPEED_CAPABILITY_D0_10G[rip], eax
	je	.L3
	or	r8d, DWORD PTR MDIO_OVER_1G_UP1_10G[rip]
.L3:
	mov	ecx, DWORD PTR MDIO_OVER_1G_UP1[rip]
	mov	edx, DWORD PTR MDIO_REG_BANK_OVER_1G[rip]
	mov	rsi, rbp
	mov	rdi, r12
	call	CL22_WR_OVER_CL45@PLT
	mov	ecx, DWORD PTR MDIO_OVER_1G_UP3[rip]
	mov	rsi, rbp
	mov	rdi, r12
	mov	edx, DWORD PTR MDIO_REG_BANK_OVER_1G[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	r8d, 1024
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	CL22_WR_OVER_CL45@PLT
	.cfi_endproc
.LFE0:
	.size	elink_set_brcm_cl37_advertisement, .-elink_set_brcm_cl37_advertisement
	.comm	PORT_HW_CFG_SPEED_CAPABILITY_D0_2_5G,4,4
	.comm	PORT_HW_CFG_SPEED_CAPABILITY_D0_10G,4,4
	.comm	MDIO_REG_BANK_OVER_1G,4,4
	.comm	MDIO_OVER_1G_UP3,4,4
	.comm	MDIO_OVER_1G_UP1_2_5G,4,4
	.comm	MDIO_OVER_1G_UP1_10G,4,4
	.comm	MDIO_OVER_1G_UP1,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_bxe_elink.c_elink_set_brcm_cl37_advertisement.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	elink_set_brcm_cl37_advertisement, %function
elink_set_brcm_cl37_advertisement:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L12
	ldr	r2, [r0]
	ldr	r3, [r3]
	push	{r4, r5, r6, lr}
	ldr	r5, [r1]
	ldr	r1, .L12+4
	ands	r3, r2, r3
	ldrne	r3, .L12+8
	ldr	r1, [r1]
	ldrne	r3, [r3]
	tst	r2, r1
	ldrne	r2, .L12+12
	sub	sp, sp, #8
	ldrne	r2, [r2]
	ldr	r6, .L12+16
	orrne	r3, r3, r2
	ldr	r2, .L12+20
	str	r3, [sp]
	mov	r4, r0
	mov	r1, r0
	ldr	r3, [r2]
	mov	r0, r5
	ldr	r2, [r6]
	bl	CL22_WR_OVER_CL45
	mov	ip, #1024
	ldr	r3, .L12+24
	str	ip, [sp]
	mov	r1, r4
	mov	r0, r5
	ldr	r2, [r6]
	ldr	r3, [r3]
	bl	CL22_WR_OVER_CL45
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L13:
	.align	2
.L12:
	.word	PORT_HW_CFG_SPEED_CAPABILITY_D0_2_5G
	.word	PORT_HW_CFG_SPEED_CAPABILITY_D0_10G
	.word	MDIO_OVER_1G_UP1_2_5G
	.word	MDIO_OVER_1G_UP1_10G
	.word	MDIO_REG_BANK_OVER_1G
	.word	MDIO_OVER_1G_UP1
	.word	MDIO_OVER_1G_UP3
	.size	elink_set_brcm_cl37_advertisement, .-elink_set_brcm_cl37_advertisement
	.comm	PORT_HW_CFG_SPEED_CAPABILITY_D0_2_5G,4,4
	.comm	PORT_HW_CFG_SPEED_CAPABILITY_D0_10G,4,4
	.comm	MDIO_REG_BANK_OVER_1G,4,4
	.comm	MDIO_OVER_1G_UP3,4,4
	.comm	MDIO_OVER_1G_UP1_2_5G,4,4
	.comm	MDIO_OVER_1G_UP1_10G,4,4
	.comm	MDIO_OVER_1G_UP1,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
