	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function insert_filter
_insert_filter:                         ## @insert_filter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	(%rax), %r13
	movq	%rdx, %rdi
	callq	_avfilter_get_by_name
	leaq	-48(%rbp), %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	movq	%r13, %r9
	callq	_avfilter_graph_create_filter
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movq	(%r15), %rdi
	movl	(%r14), %esi
	movq	-48(%rbp), %rdx
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	callq	_avfilter_link
	testl	%eax, %eax
	js	LBB0_4
## %bb.2:
	movq	-48(%rbp), %rax
	movq	%rax, (%r15)
	movl	$0, (%r14)
	jmp	LBB0_5
LBB0_4:
	movl	%eax, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_insert_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function insert_filter
_insert_filter:                         ; @insert_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x23, [x8]
	mov	x0, x2
	bl	_avfilter_get_by_name
	mov	x1, x0
	add	x0, sp, #8
	mov	x2, x22
	mov	x3, x21
	mov	x4, #0
	mov	x5, x23
	bl	_avfilter_graph_create_filter
	tbnz	w0, #31, LBB0_3
; %bb.1:
	ldr	x0, [x20]
	ldr	w1, [x19]
	ldr	x2, [sp, #8]
	mov	w3, #0
	bl	_avfilter_link
	tbnz	w0, #31, LBB0_3
; %bb.2:
	mov	w0, #0
	ldr	x8, [sp, #8]
	str	x8, [x20]
	str	wzr, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_insert_filter
.subsections_via_symbols
