	.file	"extr_emac-mac.c_emac_mac_reset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	emac_mac_reset
	.type	emac_mac_reset, @function
emac_mac_reset:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	call	emac_mac_stop@PLT
	mov	edx, DWORD PTR SOFT_RST[rip]
	mov	rdi, QWORD PTR EMAC_DMA_MAS_CTRL[rip]
	xor	esi, esi
	add	rdi, QWORD PTR [rbx]
	call	emac_reg_update32@PLT
	mov	esi, 150
	mov	edi, 100
	call	usleep_range@PLT
	mov	edx, DWORD PTR INT_RD_CLR_EN[rip]
	mov	rdi, QWORD PTR EMAC_DMA_MAS_CTRL[rip]
	xor	esi, esi
	add	rdi, QWORD PTR [rbx]
	pop	rbx
	.cfi_def_cfa_offset 8
	jmp	emac_reg_update32@PLT
	.cfi_endproc
.LFE0:
	.size	emac_mac_reset, .-emac_mac_reset
	.comm	SOFT_RST,4,4
	.comm	INT_RD_CLR_EN,4,4
	.comm	EMAC_DMA_MAS_CTRL,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_emac-mac.c_emac_mac_reset.c"
	.text
	.align	2
	.global	emac_mac_reset
	.syntax unified
	.arm
	.fpu softvfp
	.type	emac_mac_reset, %function
emac_mac_reset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r5, .L4
	bl	emac_mac_stop
	ldr	r2, [r5]
	ldr	r3, .L4+4
	ldr	r0, [r4]
	mov	r1, #0
	add	r0, r0, r2
	ldr	r2, [r3]
	bl	emac_reg_update32
	mov	r1, #150
	mov	r0, #100
	bl	usleep_range
	ldr	r2, [r5]
	ldr	r0, [r4]
	ldr	r3, .L4+8
	add	r0, r0, r2
	mov	r1, #0
	pop	{r4, r5, r6, lr}
	ldr	r2, [r3]
	b	emac_reg_update32
.L5:
	.align	2
.L4:
	.word	EMAC_DMA_MAS_CTRL
	.word	SOFT_RST
	.word	INT_RD_CLR_EN
	.size	emac_mac_reset, .-emac_mac_reset
	.comm	SOFT_RST,4,4
	.comm	INT_RD_CLR_EN,4,4
	.comm	EMAC_DMA_MAS_CTRL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
