	.file	"extr_ixgbe_phy.c_ixgbe_check_phy_link_tnx.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ixgbe_check_phy_link_tnx
	.type	ixgbe_check_phy_link_tnx, @function
ixgbe_check_phy_link_tnx:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	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
	mov	ebx, 10
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	DWORD PTR [rdx], 0
	mov	eax, DWORD PTR IXGBE_LINK_SPEED_10GB_FULL[rip]
	lea	r12, 4[rsp]
	mov	DWORD PTR 4[rsp], 0
	mov	DWORD PTR [rsi], eax
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edi, 10
	call	udelay@PLT
	mov	edx, DWORD PTR MDIO_MMD_VEND1[rip]
	mov	rcx, r12
	mov	rdi, rbp
	mov	esi, DWORD PTR MDIO_STAT1[rip]
	call	[QWORD PTR 0[rbp]]
	mov	ecx, DWORD PTR 4[rsp]
	mov	edx, DWORD PTR IXGBE_MDIO_VENDOR_SPECIFIC_1_LINK_STATUS[rip]
	mov	esi, ecx
	and	esi, edx
	cmp	edx, esi
	je	.L10
	sub	rbx, 1
	jne	.L5
.L1:
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L11
	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
.L10:
	.cfi_restore_state
	mov	edx, DWORD PTR IXGBE_MDIO_VENDOR_SPECIFIC_1_SPEED_STATUS[rip]
	mov	DWORD PTR 0[r13], 1
	and	ecx, edx
	cmp	DWORD PTR IXGBE_MDIO_VENDOR_SPECIFIC_1_SPEED_STATUS[rip], ecx
	jne	.L1
	mov	edx, DWORD PTR IXGBE_LINK_SPEED_1GB_FULL[rip]
	mov	DWORD PTR [r14], edx
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ixgbe_check_phy_link_tnx, .-ixgbe_check_phy_link_tnx
	.comm	MDIO_STAT1,4,4
	.comm	MDIO_MMD_VEND1,4,4
	.comm	IXGBE_MDIO_VENDOR_SPECIFIC_1_SPEED_STATUS,4,4
	.comm	IXGBE_MDIO_VENDOR_SPECIFIC_1_LINK_STATUS,4,4
	.comm	IXGBE_LINK_SPEED_1GB_FULL,4,4
	.comm	IXGBE_LINK_SPEED_10GB_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_check_phy_link_tnx.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ixgbe_check_phy_link_tnx
	.syntax unified
	.arm
	.fpu softvfp
	.type	ixgbe_check_phy_link_tnx, %function
ixgbe_check_phy_link_tnx:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r3, #0
	mov	r10, r2
	mov	r9, r1
	mov	r5, r0
	mov	r4, #10
	ldr	r1, .L12
	sub	sp, sp, #12
	ldr	r2, .L12+4
	ldr	r1, [r1]
	str	r1, [sp, #4]
	mov	r1,#0
	str	r3, [r10]
	ldr	r2, [r2]
	ldr	r8, .L12+8
	ldr	r7, .L12+12
	ldr	r6, .L12+16
	str	r3, [sp]
	str	r2, [r9]
.L5:
	mov	r0, #10
	bl	udelay
	mov	r3, sp
	ldr	r2, [r8]
	mov	r0, r5
	ldr	fp, [r5]
	ldr	r1, [r7]
	blx	fp
	ldr	r3, [sp]
	ldr	ip, [r6]
	bics	r2, ip, r3
	beq	.L10
	subs	r4, r4, #1
	bne	.L5
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	mov	ip, #1
	ldr	r2, .L12+20
	ldr	r1, [r2]
	str	ip, [r10]
	ldr	r2, [r2]
	and	r3, r3, r1
	cmp	r2, r3
	ldreq	r3, .L12+24
	ldreq	r3, [r3]
	streq	r3, [r9]
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	IXGBE_LINK_SPEED_10GB_FULL
	.word	MDIO_MMD_VEND1
	.word	MDIO_STAT1
	.word	IXGBE_MDIO_VENDOR_SPECIFIC_1_LINK_STATUS
	.word	IXGBE_MDIO_VENDOR_SPECIFIC_1_SPEED_STATUS
	.word	IXGBE_LINK_SPEED_1GB_FULL
	.size	ixgbe_check_phy_link_tnx, .-ixgbe_check_phy_link_tnx
	.comm	MDIO_STAT1,4,4
	.comm	MDIO_MMD_VEND1,4,4
	.comm	IXGBE_MDIO_VENDOR_SPECIFIC_1_SPEED_STATUS,4,4
	.comm	IXGBE_MDIO_VENDOR_SPECIFIC_1_LINK_STATUS,4,4
	.comm	IXGBE_LINK_SPEED_1GB_FULL,4,4
	.comm	IXGBE_LINK_SPEED_10GB_FULL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
