	.file	"extr_bcmgenet.c_umac_enable_set.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	umac_enable_set, @function
umac_enable_set:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, esi
	mov	esi, DWORD PTR UMAC_CMD[rip]
	call	bcmgenet_umac_readl@PLT
	test	r12d, r12d
	je	.L2
	or	eax, ebx
	mov	edx, DWORD PTR UMAC_CMD[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	mov	esi, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	bcmgenet_umac_writel@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	not	ebx
	mov	edx, DWORD PTR UMAC_CMD[rip]
	mov	rdi, rbp
	mov	esi, ebx
	and	esi, eax
	call	bcmgenet_umac_writel@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	esi, 2000
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	edi, 1000
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	usleep_range@PLT
	.cfi_endproc
.LFE0:
	.size	umac_enable_set, .-umac_enable_set
	.comm	UMAC_CMD,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_bcmgenet.c_umac_enable_set.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	umac_enable_set, %function
umac_enable_set:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r2
	ldr	r7, .L5
	mov	r5, r1
	ldr	r1, [r7]
	mov	r4, r0
	bl	bcmgenet_umac_readl
	cmp	r6, #0
	ldr	r2, [r7]
	beq	.L2
	orr	r1, r0, r5
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	bcmgenet_umac_writel
.L2:
	bic	r1, r0, r5
	mov	r0, r4
	bl	bcmgenet_umac_writel
	pop	{r4, r5, r6, r7, r8, lr}
	mov	r1, #2000
	mov	r0, #1000
	b	usleep_range
.L6:
	.align	2
.L5:
	.word	UMAC_CMD
	.size	umac_enable_set, .-umac_enable_set
	.comm	UMAC_CMD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
