	.file	"extr_if_emac.c_emac_ifmedia_sts.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	emac_ifmedia_sts, @function
emac_ifmedia_sts:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	r12, QWORD PTR [rdi]
	mov	edi, DWORD PTR [r12]
	call	device_get_softc@PLT
	mov	rdi, r12
	mov	rbx, rax
	call	EMAC_LOCK@PLT
	mov	rdi, rbx
	call	mii_pollstat@PLT
	mov	eax, DWORD PTR 4[rbx]
	mov	rdi, r12
	mov	DWORD PTR 4[rbp], eax
	mov	eax, DWORD PTR [rbx]
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	DWORD PTR 0[rbp], eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	EMAC_UNLOCK@PLT
	.cfi_endproc
.LFE0:
	.size	emac_ifmedia_sts, .-emac_ifmedia_sts
	.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_if_emac.c_emac_ifmedia_sts.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	emac_ifmedia_sts, %function
emac_ifmedia_sts:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, [r0]
	mov	r5, r1
	ldr	r0, [r6]
	bl	device_get_softc
	mov	r4, r0
	mov	r0, r6
	bl	EMAC_LOCK
	mov	r0, r4
	bl	mii_pollstat
	ldr	r2, [r4, #4]
	ldr	r3, [r4]
	mov	r0, r6
	str	r2, [r5, #4]
	str	r3, [r5]
	pop	{r4, r5, r6, lr}
	b	EMAC_UNLOCK
	.size	emac_ifmedia_sts, .-emac_ifmedia_sts
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
