	.file	"extr_nb8800.c_nb8800_mac_tx.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nb8800_mac_tx, @function
nb8800_mac_tx:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	netdev_priv@PLT
	mov	rbp, rax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	xor	eax, eax
	call	cpu_relax@PLT
.L2:
	mov	esi, DWORD PTR NB8800_TXC_CR[rip]
	mov	rdi, rbp
	call	nb8800_readl@PLT
	test	DWORD PTR TCR_EN[rip], eax
	jne	.L3
	mov	edx, DWORD PTR TX_EN[rip]
	mov	esi, DWORD PTR NB8800_TX_CTL1[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	ecx, r12d
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	nb8800_modb@PLT
	.cfi_endproc
.LFE0:
	.size	nb8800_mac_tx, .-nb8800_mac_tx
	.comm	TX_EN,4,4
	.comm	TCR_EN,4,4
	.comm	NB8800_TX_CTL1,4,4
	.comm	NB8800_TXC_CR,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_nb8800.c_nb8800_mac_tx.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nb8800_mac_tx, %function
nb8800_mac_tx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r1
	bl	netdev_priv
	ldr	r6, .L6
	mov	r4, r0
	ldr	r5, .L6+4
	b	.L2
.L3:
	bl	cpu_relax
.L2:
	mov	r0, r4
	ldr	r1, [r6]
	bl	nb8800_readl
	ldr	r3, [r5]
	tst	r0, r3
	bne	.L3
	ldr	r2, .L6+8
	ldr	r1, .L6+12
	mov	r3, r7
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r2, [r2]
	ldr	r1, [r1]
	b	nb8800_modb
.L7:
	.align	2
.L6:
	.word	NB8800_TXC_CR
	.word	TCR_EN
	.word	TX_EN
	.word	NB8800_TX_CTL1
	.size	nb8800_mac_tx, .-nb8800_mac_tx
	.comm	TX_EN,4,4
	.comm	TCR_EN,4,4
	.comm	NB8800_TX_CTL1,4,4
	.comm	NB8800_TXC_CR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
