	.file	"extr_ll_temac_mdio.c_temac_mdio_read.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"temac_mdio_read(phy_id=%i, reg=%x) == %x\n"
	.text
	.p2align 4
	.type	temac_mdio_read, @function
temac_mdio_read:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, QWORD PTR [rdi]
	lea	rbp, 4[rbx]
	mov	rdi, rbp
	call	mutex_lock@PLT
	mov	edx, r13d
	mov	esi, DWORD PTR XTE_LSW0_OFFSET[rip]
	mov	rdi, rbx
	sal	edx, 5
	or	edx, r14d
	call	temac_iow@PLT
	mov	esi, DWORD PTR XTE_MIIMAI_OFFSET[rip]
	mov	rdi, rbx
	call	temac_indirect_in32@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	mutex_unlock@PLT
	mov	edi, DWORD PTR [rbx]
	mov	r8d, r12d
	mov	ecx, r14d
	mov	edx, r13d
	lea	rsi, .LC0[rip]
	call	dev_dbg@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.cfi_endproc
.LFE0:
	.size	temac_mdio_read, .-temac_mdio_read
	.comm	XTE_MIIMAI_OFFSET,4,4
	.comm	XTE_LSW0_OFFSET,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_ll_temac_mdio.c_temac_mdio_read.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"temac_mdio_read(phy_id=%i, reg=%x) == %x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	temac_mdio_read, %function
temac_mdio_read:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r6, r2
	ldr	r7, [r0]
	sub	sp, sp, #8
	add	r8, r7, #4
	mov	r0, r8
	bl	mutex_lock
	ldr	r3, .L4
	orr	r2, r6, r5, lsl #5
	ldr	r1, [r3]
	mov	r0, r7
	bl	temac_iow
	ldr	r3, .L4+4
	mov	r0, r7
	ldr	r1, [r3]
	bl	temac_indirect_in32
	mov	r4, r0
	mov	r0, r8
	bl	mutex_unlock
	ldr	r0, [r7]
	mov	r3, r6
	mov	r2, r5
	ldr	r1, .L4+8
	str	r4, [sp]
	bl	dev_dbg
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	.align	2
.L4:
	.word	XTE_LSW0_OFFSET
	.word	XTE_MIIMAI_OFFSET
	.word	.LC0
	.size	temac_mdio_read, .-temac_mdio_read
	.comm	XTE_MIIMAI_OFFSET,4,4
	.comm	XTE_LSW0_OFFSET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
