	.file	"extr_dvb_demux.c_prepare_secfilters.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	prepare_secfilters, @function
prepare_secfilters:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, QWORD PTR [rdi]
	test	rbx, rbx
	je	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR DVB_DEMUX_MASK_MAX[rip]
	test	eax, eax
	jle	.L6
	mov	r11, QWORD PTR 24[rbx]
	mov	r10, QWORD PTR 32[rbx]
	xor	edx, edx
	xor	esi, esi
	mov	r9, QWORD PTR [rbx]
	mov	r8, QWORD PTR 8[rbx]
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, DWORD PTR [r11+rdx*4]
	mov	ecx, DWORD PTR [r10+rdx*4]
	mov	edi, eax
	not	eax
	and	eax, ecx
	and	edi, ecx
	mov	DWORD PTR [r9+rdx*4], edi
	or	esi, eax
	mov	DWORD PTR [r8+rdx*4], eax
	add	rdx, 1
	cmp	DWORD PTR DVB_DEMUX_MASK_MAX[rip], edx
	jg	.L4
	xor	eax, eax
	test	esi, esi
	setne	al
.L3:
	mov	DWORD PTR 16[rbx], eax
	mov	rbx, QWORD PTR 40[rbx]
	test	rbx, rbx
	jne	.L2
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	xor	eax, eax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	prepare_secfilters, .-prepare_secfilters
	.comm	DVB_DEMUX_MASK_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_dvb_demux.c_prepare_secfilters.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	prepare_secfilters, %function
prepare_secfilters:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, [r0]
	cmp	r7, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r6, .L12
.L2:
	ldr	r3, [r6]
	mov	r0, #0
	cmp	r3, #0
	ble	.L3
	mov	r2, r0
	ldr	r5, [r7, #12]
	ldr	r4, [r7, #16]
	ldr	lr, [r7]
	ldr	ip, [r7, #4]
	sub	r5, r5, #4
	sub	r4, r4, #4
	sub	lr, lr, #4
	sub	ip, ip, #4
.L4:
	ldr	r1, [r5, #4]!
	ldr	r3, [r4, #4]!
	add	r2, r2, #1
	and	r8, r1, r3
	bic	r3, r3, r1
	str	r8, [lr, #4]!
	str	r3, [ip, #4]!
	ldr	r1, [r6]
	orr	r0, r0, r3
	cmp	r1, r2
	bgt	.L4
	subs	r0, r0, #0
	movne	r0, #1
.L3:
	str	r0, [r7, #8]
	ldr	r7, [r7, #20]
	cmp	r7, #0
	bne	.L2
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	DVB_DEMUX_MASK_MAX
	.size	prepare_secfilters, .-prepare_secfilters
	.comm	DVB_DEMUX_MASK_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
