	.file	"extr_macb_main.c_macb_tx_restart.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	macb_tx_restart, @function
macb_tx_restart:
.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
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r12, QWORD PTR 8[rdi]
	mov	r13d, DWORD PTR [rdi]
	mov	ebx, DWORD PTR 4[rdi]
	mov	eax, DWORD PTR [r12]
	test	DWORD PTR MACB_CAPS_ISR_CLEAR_ON_WRITE[rip], eax
	jne	.L9
.L2:
	cmp	r13d, ebx
	je	.L1
	mov	esi, DWORD PTR NCR[rip]
	mov	rdi, r12
	call	macb_readl@PLT
	mov	edi, DWORD PTR TSTART[rip]
	mov	ebp, eax
	call	MACB_BIT@PLT
	mov	edx, ebp
	mov	esi, DWORD PTR NCR[rip]
	mov	rdi, r12
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	or	edx, 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
	jmp	macb_writel@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L9:
	.cfi_restore_state
	mov	rbp, rdi
	mov	edi, DWORD PTR TXUBR[rip]
	call	MACB_BIT@PLT
	mov	esi, DWORD PTR ISR[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	queue_writel@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	macb_tx_restart, .-macb_tx_restart
	.comm	TXUBR,4,4
	.comm	TSTART,4,4
	.comm	NCR,4,4
	.comm	MACB_CAPS_ISR_CLEAR_ON_WRITE,4,4
	.comm	ISR,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_macb_main.c_macb_tx_restart.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	macb_tx_restart, %function
macb_tx_restart:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L11
	ldr	r7, [r0, #8]
	ldr	r3, [r3]
	ldr	r2, [r7]
	ldr	r6, [r0]
	tst	r2, r3
	ldr	r5, [r0, #4]
	bne	.L9
	cmp	r6, r5
	popeq	{r4, r5, r6, r7, r8, pc}
.L10:
	ldr	r3, .L11+4
	mov	r0, r7
	ldr	r5, [r3]
	mov	r1, r5
	bl	macb_readl
	ldr	r3, .L11+8
	mov	r4, r0
	ldr	r0, [r3]
	bl	MACB_BIT
	mov	r1, r5
	orr	r2, r4, r0
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, lr}
	b	macb_writel
.L9:
	ldr	r3, .L11+12
	ldr	r2, .L11+16
	mov	r4, r0
	ldr	r0, [r3]
	ldr	r8, [r2]
	bl	MACB_BIT
	mov	r1, r8
	mov	r2, r0
	mov	r0, r4
	bl	queue_writel
	cmp	r6, r5
	bne	.L10
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	MACB_CAPS_ISR_CLEAR_ON_WRITE
	.word	NCR
	.word	TSTART
	.word	TXUBR
	.word	ISR
	.size	macb_tx_restart, .-macb_tx_restart
	.comm	TXUBR,4,4
	.comm	TSTART,4,4
	.comm	NCR,4,4
	.comm	MACB_CAPS_ISR_CLEAR_ON_WRITE,4,4
	.comm	ISR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
