	.file	"extr_mdio.c_mdio45_probe.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mdio45_probe
	.type	mdio45_probe, @function
mdio45_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, 1
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
.L4:
	mov	edi, DWORD PTR 16[rbx]
	mov	ecx, DWORD PTR MDIO_STAT2[rip]
	mov	edx, ebp
	mov	esi, r12d
	call	[QWORD PTR [rbx]]
	test	eax, eax
	js	.L2
	and	eax, DWORD PTR MDIO_STAT2_DEVPRST[rip]
	cmp	eax, DWORD PTR MDIO_STAT2_DEVPRST_VAL[rip]
	jne	.L2
	mov	edi, DWORD PTR 16[rbx]
	mov	ecx, DWORD PTR MDIO_DEVS1[rip]
	mov	edx, ebp
	mov	esi, r12d
	call	[QWORD PTR [rbx]]
	mov	edi, DWORD PTR 16[rbx]
	mov	ecx, DWORD PTR MDIO_DEVS2[rip]
	mov	edx, ebp
	mov	r13d, eax
	mov	esi, r12d
	call	[QWORD PTR [rbx]]
	test	r13d, r13d
	js	.L2
	test	eax, eax
	js	.L2
	sal	eax, 16
	mov	DWORD PTR 8[rbx], r12d
	or	eax, r13d
	mov	DWORD PTR 12[rbx], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	add	ebp, 1
	cmp	ebp, 6
	jne	.L4
	mov	eax, DWORD PTR ENODEV[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mdio45_probe, .-mdio45_probe
	.comm	MDIO_STAT2_DEVPRST_VAL,4,4
	.comm	MDIO_STAT2_DEVPRST,4,4
	.comm	MDIO_STAT2,4,4
	.comm	MDIO_DEVS2,4,4
	.comm	MDIO_DEVS1,4,4
	.comm	ENODEV,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_mdio.c_mdio45_probe.c"
	.text
	.align	2
	.global	mdio45_probe
	.syntax unified
	.arm
	.fpu softvfp
	.type	mdio45_probe, %function
mdio45_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	mov	fp, r1
	mov	r9, #1
	ldr	r6, .L8
	ldr	r8, .L8+4
	ldr	r7, .L8+8
	ldr	r10, .L8+12
.L4:
	mov	r2, r9
	mov	r1, fp
	ldr	r5, [r4]
	ldr	r3, [r6]
	ldr	r0, [r4, #12]
	blx	r5
	cmp	r0, #0
	blt	.L2
	ldr	r2, [r8]
	ldr	r3, [r7]
	and	r0, r0, r2
	cmp	r0, r3
	bne	.L2
	mov	r2, r9
	mov	r1, fp
	ldr	r5, [r4]
	ldr	r3, [r10]
	ldr	r0, [r4, #12]
	blx	r5
	ldr	r3, .L8+16
	mov	r5, r0
	ldr	ip, [r4]
	mov	r2, r9
	mov	r1, fp
	ldr	r3, [r3]
	ldr	r0, [r4, #12]
	blx	ip
	mov	ip, r0
	lsr	r0, r0, #31
	orrs	r0, r0, r5, lsr #31
	bne	.L2
	orr	r5, r5, ip, lsl #16
	str	r5, [r4, #8]
	str	fp, [r4, #4]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	add	r9, r9, #1
	cmp	r9, #6
	bne	.L4
	ldr	r3, .L8+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L9:
	.align	2
.L8:
	.word	MDIO_STAT2
	.word	MDIO_STAT2_DEVPRST
	.word	MDIO_STAT2_DEVPRST_VAL
	.word	MDIO_DEVS1
	.word	MDIO_DEVS2
	.word	ENODEV
	.size	mdio45_probe, .-mdio45_probe
	.comm	MDIO_STAT2_DEVPRST_VAL,4,4
	.comm	MDIO_STAT2_DEVPRST,4,4
	.comm	MDIO_STAT2,4,4
	.comm	MDIO_DEVS2,4,4
	.comm	MDIO_DEVS1,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
