	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hwfilter_set
_hwfilter_set:                          ## @hwfilter_set
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$136, %rsp
	.cfi_offset %rbx, -24
                                        ## kill: def $edi killed $edi def $rdi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	_plat_target@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.1:
	xorl	%eax, %eax
	cmpl	%edi, _hwfilter_set.old_filter(%rip)
	je	LBB0_9
## %bb.2:
	testl	%edi, %edi
	js	LBB0_6
## %bb.3:
	leal	1(%rdi), %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rdx,%rcx,8)
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_4
LBB0_6:
	movl	%edi, _hwfilter_set.old_filter(%rip)
	movq	_pnd_script_base@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movslq	%edi, %rax
	movq	(%rdx,%rax,8), %r8
	leaq	L_.str(%rip), %rdx
	leaq	-144(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$128, %esi
	callq	_snprintf
	movq	%rbx, %rdi
	callq	_do_system
	jmp	LBB0_9
LBB0_8:
	movl	$-1, %eax
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-16(%rbp), %rcx
	jne	LBB0_11
## %bb.10:
	addq	$136, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	2                               ## @hwfilter_set.old_filter
_hwfilter_set.old_filter:
	.long	4294967295                      ## 0xffffffff

	.comm	_plat_target,8,3                ## @plat_target
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/op_videofir.sh %s"

	.comm	_pnd_script_base,8,3            ## @pnd_script_base
	.no_dead_strip	_hwfilter_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hwfilter_set
_hwfilter_set:                          ; @hwfilter_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
Lloh3:
	adrp	x8, _plat_target@GOTPAGE
Lloh4:
	ldr	x8, [x8, _plat_target@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.1:
	adrp	x9, _hwfilter_set.old_filter@PAGE
	ldr	w10, [x9, _hwfilter_set.old_filter@PAGEOFF]
	cmp	w10, w0
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_9
LBB0_3:
	tbnz	w0, #31, LBB0_7
; %bb.4:
	add	w10, w0, #1
	mov	x11, x8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11]
	cbz	x12, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x11, x11, #8
	subs	x10, x10, #1
	b.ne	LBB0_5
LBB0_7:
	str	w0, [x9, _hwfilter_set.old_filter@PAGEOFF]
Lloh6:
	adrp	x9, _pnd_script_base@GOTPAGE
Lloh7:
	ldr	x9, [x9, _pnd_script_base@GOTPAGEOFF]
Lloh8:
	ldr	x3, [x9]
	ldr	x4, [x8, w0, sxtw #3]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #128
	bl	_snprintf
	add	x0, sp, #8
	bl	_do_system
	b	LBB0_9
LBB0_8:
	mov	w0, #-1
LBB0_9:
	ldur	x8, [x29, #-8]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @hwfilter_set.old_filter
_hwfilter_set.old_filter:
	.long	4294967295                      ; 0xffffffff

	.comm	_plat_target,8,3                ; @plat_target
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/op_videofir.sh %s"

	.comm	_pnd_script_base,8,3            ; @pnd_script_base
	.no_dead_strip	_hwfilter_set
.subsections_via_symbols
