	.file	"extr_if_malo.c_malo_tx_proc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	malo_tx_proc, @function
malo_tx_proc:
.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
	mov	r12, rdi
	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
	call	MALO_LOCK@PLT
	mov	eax, DWORD PTR MALO_NUM_TX_QUEUES[rip]
	test	eax, eax
	jle	.L6
	xor	ebx, ebx
	xor	r13d, r13d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	add	rbx, 1
	cmp	DWORD PTR MALO_NUM_TX_QUEUES[rip], ebx
	jle	.L13
.L4:
	mov	rdi, QWORD PTR 8[r12]
	lea	rbp, 0[0+rbx*4]
	add	rdi, rbp
	call	STAILQ_EMPTY@PLT
	test	eax, eax
	jne	.L3
	mov	rsi, QWORD PTR 8[r12]
	mov	rdi, r12
	add	rbx, 1
	add	rsi, rbp
	call	malo_tx_processq@PLT
	add	r13d, eax
	cmp	DWORD PTR MALO_NUM_TX_QUEUES[rip], ebx
	jg	.L4
.L13:
	test	r13d, r13d
	jne	.L14
.L6:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r12
	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	MALO_UNLOCK@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	QWORD PTR [r12], 0
	mov	rdi, r12
	call	malo_start@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	malo_tx_proc, .-malo_tx_proc
	.comm	MALO_NUM_TX_QUEUES,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_if_malo.c_malo_tx_proc.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	malo_tx_proc, %function
malo_tx_proc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L15
	mov	r5, r0
	bl	MALO_LOCK
	ldr	r3, [r7]
	cmp	r3, #0
	ble	.L6
	mov	r8, #0
	mov	r4, r8
	b	.L4
.L3:
	ldr	r3, [r7]
	cmp	r3, r4
	ble	.L13
.L4:
	ldr	r0, [r5, #4]
	lsl	r6, r4, #2
	add	r0, r0, r4, lsl #2
	bl	STAILQ_EMPTY
	cmp	r0, #0
	add	r4, r4, #1
	bne	.L3
	ldr	r1, [r5, #4]
	mov	r0, r5
	add	r1, r1, r6
	bl	malo_tx_processq
	ldr	r3, [r7]
	add	r8, r8, r0
	cmp	r3, r4
	bgt	.L4
.L13:
	cmp	r8, #0
	bne	.L14
.L6:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	MALO_UNLOCK
.L14:
	mov	r3, #0
	mov	r0, r5
	str	r3, [r5]
	bl	malo_start
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	MALO_UNLOCK
.L16:
	.align	2
.L15:
	.word	MALO_NUM_TX_QUEUES
	.size	malo_tx_proc, .-malo_tx_proc
	.comm	MALO_NUM_TX_QUEUES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
