	.file	"extr_ixgbe_phy.c_ixgbe_get_copper_speeds_supported.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ixgbe_get_copper_speeds_supported, @function
ixgbe_get_copper_speeds_supported:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	edx, DWORD PTR MDIO_MMD_PMAPMD[rip]
	mov	esi, DWORD PTR MDIO_SPEED[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	rcx, 4[rsp]
	call	[QWORD PTR 8[rdi]]
	test	rax, rax
	jne	.L1
	mov	edx, DWORD PTR 4[rsp]
	test	DWORD PTR MDIO_SPEED_10G[rip], edx
	je	.L3
	mov	ecx, DWORD PTR IXGBE_LINK_SPEED_10GB_FULL[rip]
	or	DWORD PTR [rbx], ecx
.L3:
	test	DWORD PTR MDIO_PMA_SPEED_1000[rip], edx
	je	.L4
	mov	ecx, DWORD PTR IXGBE_LINK_SPEED_1GB_FULL[rip]
	or	DWORD PTR [rbx], ecx
.L4:
	test	DWORD PTR MDIO_PMA_SPEED_100[rip], edx
	je	.L5
	mov	edx, DWORD PTR IXGBE_LINK_SPEED_100_FULL[rip]
	or	DWORD PTR [rbx], edx
.L5:
	mov	edx, DWORD PTR 16[rbx]
	cmp	edx, 129
	jle	.L20
	cmp	edx, 130
	jne	.L1
	mov	edx, DWORD PTR IXGBE_LINK_SPEED_2_5GB_FULL[rip]
	or	edx, DWORD PTR IXGBE_LINK_SPEED_5GB_FULL[rip]
	or	DWORD PTR [rbx], edx
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rsi, QWORD PTR 8[rsp]
	xor	rsi, QWORD PTR fs:40
	jne	.L21
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	cmp	edx, 127
	jle	.L1
	mov	edx, DWORD PTR IXGBE_LINK_SPEED_100_FULL[rip]
	not	edx
	and	DWORD PTR [rbx], edx
	jmp	.L1
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ixgbe_get_copper_speeds_supported, .-ixgbe_get_copper_speeds_supported
	.comm	MDIO_SPEED_10G,4,4
	.comm	MDIO_SPEED,4,4
	.comm	MDIO_PMA_SPEED_1000,4,4
	.comm	MDIO_PMA_SPEED_100,4,4
	.comm	MDIO_MMD_PMAPMD,4,4
	.comm	IXGBE_LINK_SPEED_5GB_FULL,4,4
	.comm	IXGBE_LINK_SPEED_2_5GB_FULL,4,4
	.comm	IXGBE_LINK_SPEED_1GB_FULL,4,4
	.comm	IXGBE_LINK_SPEED_10GB_FULL,4,4
	.comm	IXGBE_LINK_SPEED_100_FULL,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_phy.c_ixgbe_get_copper_speeds_supported.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_get_copper_speeds_supported, %function
ixgbe_get_copper_speeds_supported:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L22
	ldr	r2, .L22+4
	sub	sp, sp, #12
	ldr	ip, .L22+8
	ldr	r1, [r3]
	ldr	r5, [r0, #4]
	mov	r3, sp
	ldr	r2, [r2]
	mov	r4, r0
	ldr	ip, [ip]
	str	ip, [sp, #4]
	mov	ip,#0
	blx	r5
	cmp	r0, #0
	bne	.L1
	ldr	r2, .L22+12
	ldr	r3, [sp]
	ldr	r2, [r2]
	tst	r3, r2
	ldrne	r1, .L22+16
	ldrne	r2, [r4]
	ldrne	r1, [r1]
	orrne	r2, r2, r1
	strne	r2, [r4]
	ldr	r2, .L22+20
	ldr	r2, [r2]
	tst	r3, r2
	ldrne	r1, .L22+24
	ldrne	r2, [r4]
	ldrne	r1, [r1]
	orrne	r2, r2, r1
	strne	r2, [r4]
	ldr	r2, .L22+28
	ldr	r2, [r2]
	tst	r3, r2
	ldrne	r2, .L22+32
	ldrne	r3, [r4]
	ldrne	r2, [r2]
	orrne	r3, r3, r2
	strne	r3, [r4]
	ldr	r3, [r4, #8]
	cmp	r3, #129
	ble	.L20
	cmp	r3, #130
	bne	.L1
	ldr	r3, .L22+36
	ldr	r2, .L22+40
	ldr	r1, [r3]
	ldr	r2, [r2]
	ldr	r3, [r4]
	orr	r2, r2, r1
	orr	r3, r3, r2
	str	r3, [r4]
.L1:
	ldr	r3, .L22+8
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L21
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L20:
	cmp	r3, #127
	ble	.L1
	ldr	r2, .L22+32
	ldr	r3, [r4]
	ldr	r2, [r2]
	bic	r3, r3, r2
	str	r3, [r4]
	b	.L1
.L21:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	MDIO_SPEED
	.word	MDIO_MMD_PMAPMD
	.word	.LC0
	.word	MDIO_SPEED_10G
	.word	IXGBE_LINK_SPEED_10GB_FULL
	.word	MDIO_PMA_SPEED_1000
	.word	IXGBE_LINK_SPEED_1GB_FULL
	.word	MDIO_PMA_SPEED_100
	.word	IXGBE_LINK_SPEED_100_FULL
	.word	IXGBE_LINK_SPEED_5GB_FULL
	.word	IXGBE_LINK_SPEED_2_5GB_FULL
	.size	ixgbe_get_copper_speeds_supported, .-ixgbe_get_copper_speeds_supported
	.comm	MDIO_SPEED_10G,4,4
	.comm	MDIO_SPEED,4,4
	.comm	MDIO_PMA_SPEED_1000,4,4
	.comm	MDIO_PMA_SPEED_100,4,4
	.comm	MDIO_MMD_PMAPMD,4,4
	.comm	IXGBE_LINK_SPEED_5GB_FULL,4,4
	.comm	IXGBE_LINK_SPEED_2_5GB_FULL,4,4
	.comm	IXGBE_LINK_SPEED_1GB_FULL,4,4
	.comm	IXGBE_LINK_SPEED_10GB_FULL,4,4
	.comm	IXGBE_LINK_SPEED_100_FULL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
