	.file	"extr_filter.c_efx_filter_get_rx_ids.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	efx_filter_get_rx_ids
	.type	efx_filter_get_rx_ids, @function
efx_filter_get_rx_ids:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, esi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR [rdi]
	mov	QWORD PTR 16[rsp], rdx
	mov	rdi, rax
	mov	DWORD PTR 12[rsp], ecx
	mov	QWORD PTR 24[rsp], rax
	call	spin_lock_bh@PLT
	mov	r13d, DWORD PTR EFX_FILTER_TABLE_RX_IP[rip]
	cmp	r13d, DWORD PTR EFX_FILTER_TABLE_RX_DEF[rip]
	ja	.L8
	xor	r12d, r12d
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, r13d
	lea	rdx, [rax+rax*2]
	mov	rax, QWORD PTR 24[rsp]
	mov	rax, QWORD PTR 8[rax]
	lea	r15, [rax+rdx*8]
	mov	eax, DWORD PTR [r15]
	test	eax, eax
	je	.L3
	xor	r14d, r14d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	add	r14d, 1
	cmp	DWORD PTR [r15], r14d
	jbe	.L3
.L6:
	mov	esi, DWORD PTR 16[r15]
	mov	edi, r14d
	call	test_bit@PLT
	test	rax, rax
	je	.L4
	mov	rsi, QWORD PTR 8[r15]
	mov	eax, r14d
	lea	rdi, [rsi+rax*4]
	cmp	DWORD PTR [rdi], ebx
	jne	.L4
	cmp	DWORD PTR 12[rsp], r12d
	je	.L16
	mov	rax, QWORD PTR 16[rsp]
	mov	esi, r14d
	lea	ebp, 1[r12]
	add	r14d, 1
	lea	r12, [rax+r12*4]
	call	efx_filter_make_id@PLT
	mov	DWORD PTR [r12], eax
	movsx	r12, ebp
	cmp	DWORD PTR [r15], r14d
	ja	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	add	r13d, 1
	cmp	DWORD PTR EFX_FILTER_TABLE_RX_DEF[rip], r13d
	jnb	.L7
.L2:
	mov	rdi, QWORD PTR 24[rsp]
	call	spin_unlock_bh@PLT
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	mov	r12d, DWORD PTR EMSGSIZE[rip]
	neg	r12d
	jmp	.L2
.L8:
	xor	r12d, r12d
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	efx_filter_get_rx_ids, .-efx_filter_get_rx_ids
	.comm	EMSGSIZE,4,4
	.comm	EFX_FILTER_TABLE_RX_IP,4,4
	.comm	EFX_FILTER_TABLE_RX_DEF,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_filter.c_efx_filter_get_rx_ids.c"
	.text
	.align	2
	.global	efx_filter_get_rx_ids
	.syntax unified
	.arm
	.fpu softvfp
	.type	efx_filter_get_rx_ids, %function
efx_filter_get_rx_ids:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r10, [r0]
	sub	sp, sp, #12
	mov	r0, r10
	mov	r8, r3
	str	r2, [sp, #4]
	mov	r6, r1
	bl	spin_lock_bh
	ldr	r2, .L20
	ldr	r3, .L20+4
	ldr	r7, [r2]
	ldr	r3, [r3]
	mov	r5, #0
	cmp	r7, r3
	bhi	.L2
.L7:
	ldr	r3, [r10, #4]
	add	r2, r7, r7, lsl #1
	ldr	r1, [r3, r2, lsl #2]
	add	fp, r3, r2, lsl #2
	cmp	r1, #0
	beq	.L3
	mov	r4, #0
	b	.L6
.L4:
	ldr	r2, [fp]
	add	r4, r4, #1
	cmp	r2, r4
	bls	.L3
.L6:
	mov	r0, r4
	ldr	r1, [fp, #8]
	bl	test_bit
	cmp	r0, #0
	beq	.L4
	ldr	r0, [fp, #4]
	ldr	r2, [r0, r4, lsl #2]
	add	r0, r0, r4, lsl #2
	cmp	r2, r6
	bne	.L4
	cmp	r8, r5
	add	r9, r5, #1
	beq	.L19
	mov	r1, r4
	bl	efx_filter_make_id
	ldr	r3, [sp, #4]
	add	r4, r4, #1
	str	r0, [r3, r5, lsl #2]
	ldr	r2, [fp]
	mov	r5, r9
	cmp	r2, r4
	bhi	.L6
.L3:
	ldr	r3, .L20+4
	add	r7, r7, #1
	ldr	r3, [r3]
	cmp	r3, r7
	bcs	.L7
.L2:
	mov	r0, r10
	bl	spin_unlock_bh
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	ldr	r3, .L20+8
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L2
.L21:
	.align	2
.L20:
	.word	EFX_FILTER_TABLE_RX_IP
	.word	EFX_FILTER_TABLE_RX_DEF
	.word	EMSGSIZE
	.size	efx_filter_get_rx_ids, .-efx_filter_get_rx_ids
	.comm	EMSGSIZE,4,4
	.comm	EFX_FILTER_TABLE_RX_IP,4,4
	.comm	EFX_FILTER_TABLE_RX_DEF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
