	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare_secfilters
_prepare_secfilters:                    ## @prepare_secfilters
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %r8
	testq	%r8, %r8
	je	LBB0_7
## %bb.1:
	movq	_DVB_DEMUX_MASK_MAX@GOTPCREL(%rip), %r9
	movl	(%r9), %edx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%esi, %esi
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	testl	%esi, %esi
	setne	%al
	movl	%eax, 16(%r8)
	movq	40(%r8), %r8
	testq	%r8, %r8
	je	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	testl	%edx, %edx
	jle	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r8), %r10
	movq	32(%r8), %r11
	movq	(%r8), %r14
	movq	8(%r8), %rdi
	xorl	%eax, %eax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r10,%rax,4), %edx
	movl	(%r11,%rax,4), %ecx
	movl	%ecx, %ebx
	andl	%edx, %ebx
	movl	%ebx, (%r14,%rax,4)
	notl	%edx
	andl	%ecx, %edx
	movl	%edx, (%rdi,%rax,4)
	orl	%edx, %esi
	incq	%rax
	movslq	(%r9), %rdx
	cmpq	%rdx, %rax
	jl	LBB0_5
	jmp	LBB0_6
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DVB_DEMUX_MASK_MAX,4,2         ## @DVB_DEMUX_MASK_MAX
	.no_dead_strip	_prepare_secfilters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepare_secfilters
_prepare_secfilters:                    ; @prepare_secfilters
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.1:
Lloh0:
	adrp	x9, _DVB_DEMUX_MASK_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DVB_DEMUX_MASK_MAX@GOTPAGEOFF]
	ldr	w11, [x9]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w10, #0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w10, #0
	cset	w10, ne
	str	w10, [x8, #16]
	ldr	x8, [x8, #40]
	cbz	x8, LBB0_7
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	cmp	w11, #1
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x12, #0
	mov	w10, #0
	ldp	x13, x14, [x8, #24]
	ldp	x15, x16, [x8]
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x11, x12, #2
	ldr	w17, [x13, x11]
	ldr	w0, [x14, x11]
	and	w1, w0, w17
	str	w1, [x15, x11]
	bic	w17, w0, w17
	str	w17, [x16, x11]
	orr	w10, w17, w10
	add	x12, x12, #1
	ldrsw	x11, [x9]
	cmp	x12, x11
	b.lt	LBB0_6
	b	LBB0_3
LBB0_7:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DVB_DEMUX_MASK_MAX,4,2         ; @DVB_DEMUX_MASK_MAX
	.no_dead_strip	_prepare_secfilters
.subsections_via_symbols
