	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_avfilter_free                  ## -- Begin function avfilter_free
	.p2align	4, 0x90
_avfilter_free:                         ## @avfilter_free
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	104(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	movq	%r14, %rsi
	callq	_ff_filter_graph_remove_filter
LBB0_3:
	movq	96(%r14), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	*%rax
LBB0_5:
	cmpl	$0, (%r14)
	jle	LBB0_8
## %bb.6:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	56(%r14), %rax
	movups	96(%rax,%rbx), %xmm0
	movups	%xmm0, 96(%rsp)
	movups	80(%rax,%rbx), %xmm0
	movups	%xmm0, 80(%rsp)
	movups	64(%rax,%rbx), %xmm0
	movups	%xmm0, 64(%rsp)
	movups	(%rax,%rbx), %xmm0
	movups	16(%rax,%rbx), %xmm1
	movups	32(%rax,%rbx), %xmm2
	movups	48(%rax,%rbx), %xmm3
	movups	%xmm3, 48(%rsp)
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_free_link
	incq	%r15
	movslq	(%r14), %rax
	addq	$112, %rbx
	cmpq	%rax, %r15
	jl	LBB0_7
LBB0_8:
	cmpl	$0, 4(%r14)
	jle	LBB0_11
## %bb.9:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	48(%r14), %rax
	movups	96(%rax,%rbx), %xmm0
	movups	%xmm0, 96(%rsp)
	movups	80(%rax,%rbx), %xmm0
	movups	%xmm0, 80(%rsp)
	movups	64(%rax,%rbx), %xmm0
	movups	%xmm0, 64(%rsp)
	movups	(%rax,%rbx), %xmm0
	movups	16(%rax,%rbx), %xmm1
	movups	32(%rax,%rbx), %xmm2
	movups	48(%rax,%rbx), %xmm3
	movups	%xmm3, 48(%rsp)
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_free_link
	incq	%r15
	movslq	4(%r14), %rax
	addq	$112, %rbx
	cmpq	%rax, %r15
	jl	LBB0_10
LBB0_11:
	movq	96(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.12:
	movq	40(%r14), %rdi
	callq	_av_opt_free
LBB0_13:
	leaq	88(%r14), %rdi
	callq	_av_buffer_unref
	leaq	80(%r14), %rdi
	callq	_av_freep
	leaq	72(%r14), %rdi
	callq	_av_freep
	leaq	64(%r14), %rdi
	callq	_av_freep
	leaq	56(%r14), %rdi
	callq	_av_freep
	leaq	48(%r14), %rdi
	callq	_av_freep
	leaq	40(%r14), %rdi
	callq	_av_freep
	cmpq	$0, 32(%r14)
	je	LBB0_16
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_ff_command_queue_pop
	cmpq	$0, 32(%r14)
	jne	LBB0_14
LBB0_16:
	movq	%r14, %rdi
	callq	_av_opt_free
	movq	24(%r14), %rdi
	callq	_av_expr_free
	movq	$0, 24(%r14)
	leaq	16(%r14), %rdi
	callq	_av_freep
	leaq	8(%r14), %rdi
	callq	_av_freep
	movq	%r14, %rdi
	addq	$120, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av_free                        ## TAILCALL
LBB0_17:
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_avfilter_free                  ; -- Begin function avfilter_free
	.p2align	2
_avfilter_free:                         ; @avfilter_free
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_16
; %bb.1:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	x0, [x0, #104]
	cbz	x0, LBB0_3
; %bb.2:
	mov	x1, x19
	bl	_ff_filter_graph_remove_filter
LBB0_3:
	ldr	x8, [x19, #96]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	blr	x8
LBB0_5:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x20, #0
	mov	x21, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #56]
	add	x8, x8, x20
	ldp	q0, q1, [x8]
	ldr	q2, [x8, #32]
	stp	q1, q2, [sp, #16]
	str	q0, [sp]
	ldp	q0, q1, [x8, #48]
	ldp	q2, q3, [x8, #80]
	stp	q2, q3, [sp, #80]
	stp	q0, q1, [sp, #48]
	mov	x0, sp
	bl	_free_link
	add	x21, x21, #1
	ldrsw	x8, [x19]
	add	x20, x20, #112
	cmp	x21, x8
	b.lt	LBB0_7
LBB0_8:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.9:
	mov	x20, #0
	mov	x21, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #48]
	add	x8, x8, x20
	ldp	q0, q1, [x8]
	ldr	q2, [x8, #32]
	stp	q1, q2, [sp, #16]
	str	q0, [sp]
	ldp	q0, q1, [x8, #48]
	ldp	q2, q3, [x8, #80]
	stp	q2, q3, [sp, #80]
	stp	q0, q1, [sp, #48]
	mov	x0, sp
	bl	_free_link
	add	x21, x21, #1
	ldrsw	x8, [x19, #4]
	add	x20, x20, #112
	cmp	x21, x8
	b.lt	LBB0_10
LBB0_11:
	ldr	x8, [x19, #96]
	ldr	x8, [x8]
	cbz	x8, LBB0_13
; %bb.12:
	ldr	x0, [x19, #40]
	bl	_av_opt_free
LBB0_13:
	add	x0, x19, #88
	bl	_av_buffer_unref
	add	x0, x19, #80
	bl	_av_freep
	add	x0, x19, #72
	bl	_av_freep
	add	x0, x19, #64
	bl	_av_freep
	add	x0, x19, #56
	bl	_av_freep
	add	x0, x19, #48
	bl	_av_freep
	add	x0, x19, #40
	bl	_av_freep
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_15
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_ff_command_queue_pop
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_14
LBB0_15:
	mov	x0, x19
	bl	_av_opt_free
	ldr	x0, [x19, #24]
	bl	_av_expr_free
	str	xzr, [x19, #24]
	add	x0, x19, #16
	bl	_av_freep
	add	x0, x19, #8
	bl	_av_freep
	mov	x0, x19
	bl	_av_free
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #160
LBB0_16:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
