	.file	"extr_antispam-db.c_antispam_get_matches.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	antispam_get_matches
	.type	antispam_get_matches, @function
antispam_get_matches:
.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
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, ecx
	mov	ecx, r8d
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	r8d, r8d
	js	.L2
	call	antispam_get_matches_inc@PLT
	mov	r13d, eax
.L3:
	mov	edi, DWORD PTR antispam_db_request[rip]
	xor	esi, esi
	call	st_vec_resize@PLT
	mov	rbx, QWORD PTR heap_pattern[rip]
	mov	rdi, rbx
	call	st_vec_size@PLT
	cdqe
	lea	r12, [rbx+rax*8]
	cmp	rbx, r12
	jne	.L7
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	test	DWORD PTR ANTISPAM_DB_FIELDS_FLAGS[rip], ebp
	jne	.L21
.L6:
	add	rbx, 8
	cmp	r12, rbx
	je	.L4
.L7:
	test	DWORD PTR ANTISPAM_DB_FIELDS_IDS[rip], ebp
	je	.L5
	mov	rax, QWORD PTR [rbx]
	mov	edi, DWORD PTR antispam_db_request[rip]
	mov	esi, DWORD PTR 4[rax]
	call	st_vec_pb@PLT
	test	DWORD PTR ANTISPAM_DB_FIELDS_FLAGS[rip], ebp
	je	.L6
.L21:
	mov	rax, QWORD PTR [rbx]
	mov	edi, DWORD PTR antispam_db_request[rip]
	add	rbx, 8
	mov	esi, DWORD PTR [rax]
	call	st_vec_pb@PLT
	cmp	r12, rbx
	jne	.L7
.L4:
	add	DWORD PTR stats_all_matches_cnt[rip], 1
	test	r13d, r13d
	jne	.L22
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	neg	ecx
	call	antispam_get_matches_dec@PLT
	mov	r13d, eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L22:
	mov	edi, DWORD PTR stats_matches_max[rip]
	mov	esi, r13d
	add	DWORD PTR stats_matches_sum[rip], r13d
	add	DWORD PTR stats_matches_cnt[rip], 1
	call	st_relax_max@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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	antispam_get_matches, .-antispam_get_matches
	.comm	stats_matches_sum,4,4
	.comm	stats_matches_max,4,4
	.comm	stats_matches_cnt,4,4
	.comm	stats_all_matches_cnt,4,4
	.comm	heap_pattern,8,8
	.comm	antispam_db_request,4,4
	.comm	ANTISPAM_DB_FIELDS_IDS,4,4
	.comm	ANTISPAM_DB_FIELDS_FLAGS,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_antispam-db.c_antispam_get_matches.c"
	.text
	.align	2
	.global	antispam_get_matches
	.syntax unified
	.arm
	.fpu softvfp
	.type	antispam_get_matches, %function
antispam_get_matches:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	ip, [sp, #32]
	mov	r5, r3
	cmp	ip, #0
	blt	.L2
	mov	r3, ip
	bl	antispam_get_matches_inc
	mov	r9, r0
.L3:
	ldr	r8, .L23
	mov	r1, #0
	ldr	r0, [r8]
	bl	st_vec_resize
	ldr	r3, .L23+4
	ldr	r4, [r3]
	mov	r0, r4
	bl	st_vec_size
	add	r6, r4, r0, lsl #2
	cmp	r4, r6
	beq	.L4
	ldr	r10, .L23+8
	ldr	r7, .L23+12
	b	.L7
.L5:
	ldr	r3, [r7]
	tst	r5, r3
	bne	.L21
.L6:
	add	r4, r4, #4
	cmp	r6, r4
	beq	.L4
.L7:
	ldr	r3, [r10]
	tst	r5, r3
	beq	.L5
	ldr	r3, [r4]
	ldr	r0, [r8]
	ldr	r1, [r3, #4]
	bl	st_vec_pb
	ldr	r3, [r7]
	tst	r5, r3
	beq	.L6
.L21:
	ldr	r3, [r4]
	ldr	r0, [r8]
	ldr	r1, [r3]
	add	r4, r4, #4
	bl	st_vec_pb
	cmp	r6, r4
	bne	.L7
.L4:
	ldr	r2, .L23+16
	cmp	r9, #0
	ldr	r3, [r2]
	add	r3, r3, #1
	str	r3, [r2]
	bne	.L22
	mov	r0, r9
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	rsb	r3, ip, #0
	bl	antispam_get_matches_dec
	mov	r9, r0
	b	.L3
.L22:
	ldr	r1, .L23+20
	ldr	ip, .L23+24
	ldr	r2, [r1]
	ldr	r3, [ip]
	ldr	r0, .L23+28
	add	r2, r2, #1
	add	r3, r3, r9
	str	r2, [r1]
	ldr	r0, [r0]
	mov	r1, r9
	str	r3, [ip]
	bl	st_relax_max
	mov	r0, r9
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L24:
	.align	2
.L23:
	.word	antispam_db_request
	.word	heap_pattern
	.word	ANTISPAM_DB_FIELDS_IDS
	.word	ANTISPAM_DB_FIELDS_FLAGS
	.word	stats_all_matches_cnt
	.word	stats_matches_cnt
	.word	stats_matches_sum
	.word	stats_matches_max
	.size	antispam_get_matches, .-antispam_get_matches
	.comm	stats_matches_sum,4,4
	.comm	stats_matches_max,4,4
	.comm	stats_matches_cnt,4,4
	.comm	stats_all_matches_cnt,4,4
	.comm	heap_pattern,4,4
	.comm	antispam_db_request,4,4
	.comm	ANTISPAM_DB_FIELDS_IDS,4,4
	.comm	ANTISPAM_DB_FIELDS_FLAGS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
