	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rsi, -56(%rbp)
	movq	(%rdi), %r14
	movq	8(%r14), %r15
	movl	4(%r15), %eax
	imull	(%r15), %eax
	xorl	%edi, %edi
	cmpl	%eax, (%rsi)
	sete	%dil
	callq	_av_assert0
	movl	$1, %r13d
	cmpl	$0, 8(%r15)
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_av_frame_is_writable
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	(%r15), %eax
	cmpl	8(%r15), %eax
	jne	LBB0_5
## %bb.4:
	movq	32(%r15), %rcx
	movq	_LADSPA_PROPERTY_INPLACE_BROKEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	%rbx, %r12
	testl	%edx, (%rcx)
	je	LBB0_9
LBB0_5:
	movq	(%r14), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	callq	_ff_get_audio_buffer
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_av_frame_copy_props
	movl	8(%r15), %eax
LBB0_9:
	testl	%eax, %eax
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_11
## %bb.10:
	imull	4(%r15), %eax
	xorl	%r13d, %r13d
	cmpl	%eax, (%r12)
	sete	%r13b
	jmp	LBB0_11
LBB0_1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
LBB0_11:
	movq	%rbx, %r12
	movl	%r13d, %edi
	callq	_av_assert0
	movl	4(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_19
## %bb.12:
	xorl	%r13d, %r13d
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	24(%r15), %rax
	movq	32(%r15), %rcx
	movl	(%rax,%r13,4), %edi
	movl	4(%r12), %esi
	callq	*8(%rcx)
	incq	%r13
	movslq	4(%r15), %rax
	cmpq	%rax, %r13
	jge	LBB0_19
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_27 Depth 2
	cmpl	$0, (%r15)
	jle	LBB0_25
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rcx
	cmpl	$2, %eax
	jge	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	movq	%r14, %rcx
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=2
	movq	24(%r15), %rax
	movq	32(%r15), %rbx
	movl	(%rax,%r13,4), %edi
	movq	48(%r15), %rax
	movl	(%rax,%r14,4), %esi
	movq	8(%r12), %rax
	movl	%ecx, %ecx
	movq	(%rax,%rcx,8), %rdx
	callq	*16(%rbx)
	incq	%r14
	movslq	(%r15), %rax
	cmpq	%rax, %r14
	jge	LBB0_25
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	4(%r15), %eax
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$0, 8(%r15)
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jle	LBB0_30
## %bb.26:                              ##   in Loop: Header=BB0_13 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_27 Depth=2
	movq	32(%r15), %rcx
	movq	24(%r15), %rdx
	movl	(%rdx,%r13,4), %edi
	movq	40(%r15), %rdx
	movl	(%rdx,%rbx,4), %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	8(%rdx), %rdx
	movl	%eax, %eax
	movq	(%rdx,%rax,8), %rdx
	callq	*16(%rcx)
	incq	%rbx
	movslq	8(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_30
LBB0_27:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$2, 4(%r15)
	movq	%r13, %rax
	jge	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=2
	movq	%rbx, %rax
	jmp	LBB0_29
LBB0_19:
	cmpl	$0, 12(%r15)
	jle	LBB0_22
## %bb.20:
	xorl	%r13d, %r13d
	movq	_AV_LOG_VERBOSE@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movl	16(%r15), %r9d
	movl	20(%r15), %r8d
	movl	$1, (%rsp)
	movq	%r14, %rdi
	movq	%r15, %rdx
	movl	%r13d, %ecx
	callq	_print_ctl_info
	incl	%r13d
	cmpl	12(%r15), %r13d
	jl	LBB0_21
LBB0_22:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	cmpq	%r12, %rbx
	je	LBB0_24
## %bb.23:
	leaq	-56(%rbp), %rdi
	callq	_av_frame_free
LBB0_24:
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_ff_filter_frame
	jmp	LBB0_7
LBB0_6:
	leaq	-56(%rbp), %rdi
	callq	_av_frame_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LADSPA_PROPERTY_INPLACE_BROKEN,4,2 ## @LADSPA_PROPERTY_INPLACE_BROKEN
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_LOG_VERBOSE,4,2             ## @AV_LOG_VERBOSE
	.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, #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	x20, x1
	str	x1, [sp, #8]
	ldr	x19, [x0]
	ldr	x21, [x19, #8]
	ldr	w8, [x1]
	ldp	w9, w10, [x21]
	mul	w9, w10, w9
	cmp	w8, w9
	cset	w0, eq
	bl	_av_assert0
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x0, x20
	bl	_av_frame_is_writable
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w8, [x21]
	ldr	w9, [x21, #8]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.3:
	ldr	x9, [x21, #32]
	ldr	w9, [x9]
Lloh0:
	adrp	x10, _LADSPA_PROPERTY_INPLACE_BROKEN@GOTPAGE
Lloh1:
	ldr	x10, [x10, _LADSPA_PROPERTY_INPLACE_BROKEN@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_9
LBB0_4:
	ldr	x8, [x19]
	ldr	w0, [x8]
	ldr	w1, [x20, #4]
	bl	_ff_get_audio_buffer
	cbz	x0, LBB0_8
; %bb.5:
	mov	x22, x0
	mov	x1, x20
	bl	_av_frame_copy_props
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_10
LBB0_6:
	ldr	w9, [x22]
	ldr	w10, [x21, #4]
	mul	w8, w10, w8
	cmp	w9, w8
	cset	w0, eq
	b	LBB0_11
LBB0_7:
	mov	w0, #1
	mov	x22, x20
	b	LBB0_11
LBB0_8:
	add	x0, sp, #8
	bl	_av_frame_free
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_27
LBB0_9:
	mov	x22, x20
	cbnz	w8, LBB0_6
LBB0_10:
	mov	w0, #1
LBB0_11:
	bl	_av_assert0
	ldr	w8, [x21, #4]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.12:
	mov	x23, #0
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	ldp	x9, x8, [x21, #24]
	ldr	x8, [x8, #8]
	ldr	w0, [x9, x23, lsl #2]
	ldr	w1, [x20, #4]
	blr	x8
	add	x23, x23, #1
	ldrsw	x8, [x21, #4]
	cmp	x23, x8
	b.ge	LBB0_21
LBB0_14:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
	ldr	w9, [x21]
	cmp	w9, #1
	b.lt	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x24, #0
LBB0_16:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w8, #1
	csel	x8, x23, x24, gt
	ldp	x10, x9, [x21, #24]
	ldr	x9, [x9, #16]
	ldr	w0, [x10, x23, lsl #2]
	ldr	x10, [x21, #48]
	ldr	w1, [x10, x24, lsl #2]
	ldr	x10, [x20, #8]
	ldr	x2, [x10, w8, uxtw #3]
	blr	x9
	add	x24, x24, #1
	ldrsw	x8, [x21]
	cmp	x24, x8
	b.ge	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	ldr	w8, [x21, #4]
	b	LBB0_16
LBB0_18:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [x21, #8]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.19:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x24, #0
LBB0_20:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x21, #4]
	cmp	w8, #1
	csel	x8, x23, x24, gt
	ldp	x10, x9, [x21, #24]
	ldr	x9, [x9, #16]
	ldr	w0, [x10, x23, lsl #2]
	ldr	x10, [x21, #40]
	ldr	w1, [x10, x24, lsl #2]
	ldr	x10, [x22, #8]
	ldr	x2, [x10, w8, uxtw #3]
	blr	x9
	add	x24, x24, #1
	ldrsw	x8, [x21, #8]
	cmp	x24, x8
	b.lt	LBB0_20
	b	LBB0_13
LBB0_21:
	ldr	w8, [x21, #12]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.22:
	mov	w23, #0
Lloh6:
	adrp	x24, _AV_LOG_VERBOSE@GOTPAGE
Lloh7:
	ldr	x24, [x24, _AV_LOG_VERBOSE@GOTPAGEOFF]
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24]
	ldp	w5, w4, [x21, #16]
	mov	x0, x19
	mov	x2, x21
	mov	x3, x23
	mov	w6, #1
	bl	_print_ctl_info
	add	w23, w23, #1
	ldr	w8, [x21, #12]
	cmp	w23, w8
	b.lt	LBB0_23
LBB0_24:
	cmp	x22, x20
	b.eq	LBB0_26
; %bb.25:
	add	x0, sp, #8
	bl	_av_frame_free
LBB0_26:
	ldr	x8, [x19]
	ldr	w0, [x8]
	mov	x1, x22
	bl	_ff_filter_frame
LBB0_27:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_LADSPA_PROPERTY_INPLACE_BROKEN,4,2 ; @LADSPA_PROPERTY_INPLACE_BROKEN
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_LOG_VERBOSE,4,2             ; @AV_LOG_VERBOSE
	.no_dead_strip	_filter_frame
.subsections_via_symbols
