	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_frame
_filter_frame:                          ## @filter_frame
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rsi, -40(%rbp)
	movq	(%rdi), %r12
	movq	8(%r12), %r14
	cmpq	$0, (%r14)
	movq	%rsi, %r15
	je	LBB0_6
## %bb.1:
	movq	%rbx, %rdi
	callq	_av_frame_is_writable
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	8(%r14), %rax
	movq	%rbx, %r15
	cmpq	(%r14), %rax
	je	LBB0_6
LBB0_3:
	movq	(%r12), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_ff_get_audio_buffer
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_av_frame_copy_props
LBB0_6:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_connect_ports
	movl	16(%r14), %edi
	movl	(%rbx), %esi
	callq	_lilv_instance_run
	cmpq	%rbx, %r15
	je	LBB0_8
## %bb.7:
	leaq	-40(%rbp), %rdi
	callq	_av_frame_free
LBB0_8:
	movq	(%r12), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_ff_filter_frame
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	-40(%rbp), %rdi
	callq	_av_frame_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_filter_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_frame
_filter_frame:                          ; @filter_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	str	x1, [sp, #8]
	ldr	x22, [x0]
	ldr	x20, [x22, #8]
	ldr	x8, [x20]
	mov	x21, x1
	cbz	x8, LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_av_frame_is_writable
	cbz	x0, LBB0_3
; %bb.2:
	ldp	x9, x8, [x20]
	mov	x21, x19
	cmp	x8, x9
	b.eq	LBB0_5
LBB0_3:
	ldr	x8, [x22]
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_ff_get_audio_buffer
	cbz	x0, LBB0_9
; %bb.4:
	mov	x21, x0
	mov	x1, x19
	bl	_av_frame_copy_props
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_connect_ports
	ldr	w0, [x20, #16]
	ldr	w1, [x19]
	bl	_lilv_instance_run
	cmp	x21, x19
	b.eq	LBB0_7
; %bb.6:
	add	x0, sp, #8
	bl	_av_frame_free
LBB0_7:
	ldr	x8, [x22]
	ldr	w0, [x8]
	mov	x1, x21
	bl	_ff_filter_frame
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_9:
	add	x0, sp, #8
	bl	_av_frame_free
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_filter_frame
.subsections_via_symbols
