	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function free_link
_free_link:                             ## @free_link
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, -16(%rbp)
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	movq	56(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	8(%rax), %rcx
	movq	(%rbx), %rdx
	subq	(%rax), %rdx
	movq	$0, (%rcx,%rdx,8)
	movq	-16(%rbp), %rbx
LBB0_3:
	movq	48(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	8(%rax), %rcx
	movq	8(%rbx), %rdx
	subq	(%rax), %rdx
	movq	$0, (%rcx,%rdx,8)
	movq	-16(%rbp), %rbx
LBB0_5:
	leaq	40(%rbx), %rdi
	callq	_av_buffer_unref
	leaq	36(%rbx), %rdi
	callq	_ff_formats_unref
	leaq	32(%rbx), %rdi
	callq	_ff_formats_unref
	leaq	28(%rbx), %rdi
	callq	_ff_formats_unref
	leaq	24(%rbx), %rdi
	callq	_ff_formats_unref
	leaq	20(%rbx), %rdi
	callq	_ff_channel_layouts_unref
	addq	$16, %rbx
	movq	%rbx, %rdi
	callq	_ff_channel_layouts_unref
	leaq	-16(%rbp), %rdi
	callq	_avfilter_link_free
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_free_link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function free_link
_free_link:                             ; @free_link
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	str	x0, [sp, #8]
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #56]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x9, [x19]
	ldp	x8, x10, [x8]
	sub	x8, x9, x8
	str	xzr, [x10, x8, lsl #3]
	ldr	x19, [sp, #8]
LBB0_3:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x9, [x19, #8]
	ldp	x8, x10, [x8]
	sub	x8, x9, x8
	str	xzr, [x10, x8, lsl #3]
	ldr	x19, [sp, #8]
LBB0_5:
	add	x0, x19, #40
	bl	_av_buffer_unref
	add	x0, x19, #36
	bl	_ff_formats_unref
	add	x0, x19, #32
	bl	_ff_formats_unref
	add	x0, x19, #28
	bl	_ff_formats_unref
	add	x0, x19, #24
	bl	_ff_formats_unref
	add	x0, x19, #20
	bl	_ff_channel_layouts_unref
	add	x0, x19, #16
	bl	_ff_channel_layouts_unref
	add	x0, sp, #8
	bl	_avfilter_link_free
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_free_link
.subsections_via_symbols
