	.file	"extr_igb_ethtool.c_igb_loopback_test.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Cannot do PHY loopback test when SoL/IDER is active.\n"
	.align 8
.LC1:
	.string	"Loopback test not supported on i354.\n"
	.text
	.p2align 4
	.type	igb_loopback_test, @function
igb_loopback_test:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	add	rdi, 8
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	igb_check_reset_block@PLT
	test	rax, rax
	jne	.L8
	mov	rax, QWORD PTR e1000_i354[rip]
	cmp	QWORD PTR 8[rbp], rax
	je	.L9
	mov	rdi, rbp
	call	igb_setup_desc_rings@PLT
	mov	DWORD PTR [rbx], eax
	test	eax, eax
	je	.L10
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, rbp
	call	igb_setup_loopback_test@PLT
	mov	DWORD PTR [rbx], eax
	test	eax, eax
	je	.L11
.L5:
	endbr64
	mov	rdi, rbp
	call	igb_free_desc_rings@PLT
	mov	eax, DWORD PTR [rbx]
.L3:
	endbr64
.L12:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, QWORD PTR 0[rbp]
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	DWORD PTR [rbx], 0
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, rbp
	call	igb_run_loopback_test@PLT
	mov	rdi, rbp
	mov	DWORD PTR [rbx], eax
	call	igb_loopback_cleanup@PLT
	mov	rdi, rbp
	call	igb_free_desc_rings@PLT
	mov	eax, DWORD PTR [rbx]
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, QWORD PTR 0[rbp]
	lea	rsi, .LC1[rip]
	call	dev_info@PLT
	mov	DWORD PTR [rbx], 0
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	igb_loopback_test, .-igb_loopback_test
	.comm	e1000_i354,8,8
	.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_igb_ethtool.c_igb_loopback_test.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Cannot do PHY loopback test when SoL/IDER is active"
	.ascii	".\012\000"
	.align	2
.LC1:
	.ascii	"Loopback test not supported on i354.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	igb_loopback_test, %function
igb_loopback_test:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	add	r0, r0, #4
	mov	r6, r1
	bl	igb_check_reset_block
	subs	r4, r0, #0
	bne	.L8
	ldr	r3, .L13
	ldr	r2, [r5, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L9
	mov	r0, r5
	bl	igb_setup_desc_rings
	cmp	r0, #0
	mov	r4, r0
	str	r0, [r6]
	beq	.L10
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L10:
	mov	r0, r5
	bl	igb_setup_loopback_test
	cmp	r0, #0
	str	r0, [r6]
	beq	.L11
.L5:
	mov	r0, r5
	bl	igb_free_desc_rings
	ldr	r4, [r6]
.L3:
.L12:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L8:
	mov	r4, #0
	ldr	r0, [r5]
	ldr	r1, .L13+4
	bl	dev_err
	mov	r0, r4
	str	r4, [r6]
	pop	{r4, r5, r6, pc}
.L11:
	mov	r0, r5
	bl	igb_run_loopback_test
	mov	r3, r0
	mov	r0, r5
	str	r3, [r6]
	bl	igb_loopback_cleanup
	mov	r0, r5
	bl	igb_free_desc_rings
	ldr	r4, [r6]
	b	.L12
.L9:
	ldr	r0, [r5]
	ldr	r1, .L13+8
	bl	dev_info
	mov	r0, r4
	str	r4, [r6]
	pop	{r4, r5, r6, pc}
.L14:
	.align	2
.L13:
	.word	e1000_i354
	.word	.LC0
	.word	.LC1
	.size	igb_loopback_test, .-igb_loopback_test
	.comm	e1000_i354,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
