	.file	"extr_eni.c_start_tx.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	start_tx, @function
start_tx:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	call	ENI_DEV@PLT
	mov	rbx, rax
	mov	QWORD PTR 40[rax], 0
	mov	eax, DWORD PTR ATM_OC3_PCR[rip]
	lea	rdi, 24[rbx]
	mov	DWORD PTR 32[rbx], eax
	mov	eax, DWORD PTR DEFAULT_TX_MULT[rip]
	mov	DWORD PTR 28[rbx], eax
	call	init_waitqueue_head@PLT
	mov	QWORD PTR 16[rbx], 0
	lea	rdi, 8[rbx]
	call	skb_queue_head_init@PLT
	mov	esi, DWORD PTR MID_DMA_WR_TX[rip]
	xor	edi, edi
	call	eni_out@PLT
	mov	ecx, DWORD PTR NR_CHAN[rip]
	test	ecx, ecx
	jle	.L2
	mov	rdx, QWORD PTR [rbx]
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L3:
	mov	DWORD PTR [rdx], eax
	add	eax, 1
	add	rdx, 16
	mov	QWORD PTR -8[rdx], 0
	cmp	eax, ecx
	jne	.L3
.L2:
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	start_tx, .-start_tx
	.comm	NR_CHAN,4,4
	.comm	MID_DMA_WR_TX,4,4
	.comm	DEFAULT_TX_MULT,4,4
	.comm	ATM_OC3_PCR,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_eni.c_start_tx.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	start_tx, %function
start_tx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	ENI_DEV
	mov	r4, #0
	mov	r5, r0
	ldr	r2, .L7
	ldr	r3, .L7+4
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r2, [r0, #20]
	str	r3, [r0, #16]
	str	r4, [r0, #24]
	add	r0, r0, #12
	bl	init_waitqueue_head
	str	r4, [r5, #8]
	add	r0, r5, #4
	bl	skb_queue_head_init
	ldr	r3, .L7+8
	mov	r0, r4
	ldr	r1, [r3]
	bl	eni_out
	ldr	r3, .L7+12
	ldr	r2, [r3]
	cmp	r2, r4
	ble	.L2
	mov	r3, r4
	mov	ip, r4
	ldr	r1, [r5]
	add	r0, r1, #4
.L3:
	str	ip, [r0, r3, lsl #3]
	str	r3, [r1, r3, lsl #3]
	add	r3, r3, #1
	cmp	r3, r2
	bne	.L3
.L2:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	ATM_OC3_PCR
	.word	DEFAULT_TX_MULT
	.word	MID_DMA_WR_TX
	.word	NR_CHAN
	.size	start_tx, .-start_tx
	.comm	NR_CHAN,4,4
	.comm	MID_DMA_WR_TX,4,4
	.comm	DEFAULT_TX_MULT,4,4
	.comm	ATM_OC3_PCR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
