	.file	"extr_farch.c_ef4_farch_filter_get_safe.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ef4_farch_filter_get_safe
	.type	ef4_farch_filter_get_safe, @function
ef4_farch_filter_get_safe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, edx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r14, QWORD PTR 8[rdi]
	mov	edi, edx
	call	ef4_farch_filter_id_table_id@PLT
	cmp	DWORD PTR EF4_FARCH_FILTER_TABLE_COUNT[rip], eax
	ja	.L2
.L11:
	mov	r12d, DWORD PTR ENOENT[rip]
	neg	r12d
.L1:
	add	rsp, 8
	.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
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, eax
	mov	edi, r15d
	sal	rax, 4
	add	rax, QWORD PTR [r14]
	mov	rbx, rax
	call	ef4_farch_filter_id_index@PLT
	mov	r14d, eax
	cmp	DWORD PTR [rbx], r14d
	jbe	.L11
	mov	rdi, rbp
	mov	r15, QWORD PTR 8[rbx]
	call	spin_lock_bh@PLT
	mov	esi, DWORD PTR 4[rbx]
	mov	edi, r14d
	call	test_bit@PLT
	test	rax, rax
	jne	.L13
.L5:
	mov	r12d, DWORD PTR ENOENT[rip]
	neg	r12d
.L6:
	mov	rdi, rbp
	call	spin_unlock_bh@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	lea	rsi, [r15+r14*4]
	cmp	DWORD PTR [rsi], r12d
	jne	.L5
	mov	rdi, r13
	xor	r12d, r12d
	call	ef4_farch_filter_to_gen_spec@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	ef4_farch_filter_get_safe, .-ef4_farch_filter_get_safe
	.comm	ENOENT,4,4
	.comm	EF4_FARCH_FILTER_TABLE_COUNT,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_farch.c_ef4_farch_filter_get_safe.c"
	.text
	.align	2
	.global	ef4_farch_filter_get_safe
	.syntax unified
	.arm
	.fpu softvfp
	.type	ef4_farch_filter_get_safe, %function
ef4_farch_filter_get_safe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	mov	r0, r2
	mov	r7, r3
	mov	r4, r2
	mov	r6, r1
	ldr	r8, [r5, #4]
	bl	ef4_farch_filter_id_table_id
	ldr	r3, .L14
	ldr	r3, [r3]
	cmp	r3, r0
	bhi	.L2
.L11:
	ldr	r3, .L14+4
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	ldr	r9, [r8]
	add	ip, r0, r0, lsl #1
	mov	r0, r4
	lsl	r10, ip, #2
	add	r4, r9, ip, lsl #2
	bl	ef4_farch_filter_id_index
	ldr	r3, [r9, r10]
	mov	r8, r0
	cmp	r3, r0
	bls	.L11
	mov	r0, r5
	ldr	r9, [r4, #8]
	bl	spin_lock_bh
	mov	r0, r8
	ldr	r1, [r4, #4]
	bl	test_bit
	cmp	r0, #0
	bne	.L13
.L5:
	ldr	r3, .L14+4
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L6:
	mov	r0, r5
	bl	spin_unlock_bh
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L13:
	ldr	r3, [r9, r8, lsl #2]
	add	r1, r9, r8, lsl #2
	cmp	r3, r6
	bne	.L5
	mov	r0, r7
	bl	ef4_farch_filter_to_gen_spec
	mov	r4, #0
	b	.L6
.L15:
	.align	2
.L14:
	.word	EF4_FARCH_FILTER_TABLE_COUNT
	.word	ENOENT
	.size	ef4_farch_filter_get_safe, .-ef4_farch_filter_get_safe
	.comm	ENOENT,4,4
	.comm	EF4_FARCH_FILTER_TABLE_COUNT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
