	.file	"extr_mlxbf-tmfifo.c_mlxbf_tmfifo_work_rxtx.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mlxbf_tmfifo_work_rxtx, @function
mlxbf_tmfifo_work_rxtx:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movsx	r13, esi
	lea	rsi, 16[rdi]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movsx	rbx, edx
	mov	edi, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	test_and_clear_bit@PLT
	test	eax, eax
	je	.L1
	mov	rax, QWORD PTR 8[rbp]
	mov	edx, DWORD PTR [rax+rbx*4]
	test	edx, edx
	je	.L1
	mov	eax, DWORD PTR MLXBF_TMFIFO_VDEV_MAX[rip]
	test	eax, eax
	jle	.L1
	sal	r13, 3
	xor	ebx, ebx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	add	rbx, 1
	cmp	DWORD PTR MLXBF_TMFIFO_VDEV_MAX[rip], ebx
	jle	.L1
.L4:
	mov	rax, QWORD PTR 0[rbp]
	mov	rax, QWORD PTR [rax+rbx*8]
	test	rax, rax
	je	.L3
	mov	rdi, QWORD PTR [rax]
	add	rdi, r13
	cmp	QWORD PTR [rdi], 0
	je	.L3
	mov	esi, r12d
	add	rbx, 1
	call	mlxbf_tmfifo_rxtx@PLT
	cmp	DWORD PTR MLXBF_TMFIFO_VDEV_MAX[rip], ebx
	jg	.L4
.L1:
	add	rsp, 8
	.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
	.cfi_endproc
.LFE0:
	.size	mlxbf_tmfifo_work_rxtx, .-mlxbf_tmfifo_work_rxtx
	.comm	MLXBF_TMFIFO_VDEV_MAX,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_mlxbf-tmfifo.c_mlxbf_tmfifo_work_rxtx.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlxbf_tmfifo_work_rxtx, %function
mlxbf_tmfifo_work_rxtx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	mov	r5, r1
	add	r1, r0, #8
	mov	r0, r2
	mov	r4, r2
	mov	r7, r3
	bl	test_and_clear_bit
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r6, #4]
	ldr	r3, [r3, r4, lsl #2]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r8, .L20
	ldr	r3, [r8]
	cmp	r3, #0
	pople	{r4, r5, r6, r7, r8, pc}
	mov	r4, #0
	lsl	r5, r5, #2
	b	.L4
.L3:
	ldr	r2, [r8]
	cmp	r2, r4
	pople	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r3, [r6]
	ldr	r2, [r3, r4, lsl #2]
	add	r4, r4, #1
	cmp	r2, #0
	beq	.L3
	ldr	r2, [r2]
	ldr	r3, [r2, r5]
	add	r0, r2, r5
	cmp	r3, #0
	beq	.L3
	mov	r1, r7
	bl	mlxbf_tmfifo_rxtx
	b	.L3
.L21:
	.align	2
.L20:
	.word	MLXBF_TMFIFO_VDEV_MAX
	.size	mlxbf_tmfifo_work_rxtx, .-mlxbf_tmfifo_work_rxtx
	.comm	MLXBF_TMFIFO_VDEV_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
