	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsi, -56(%rbp)
	movq	8(%rdi), %r13
	movq	(%r13), %rax
	movq	8(%r13), %rbx
	movl	(%rbx), %r12d
	movl	4(%rbx), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movsd	8(%rbx), %xmm0                  ## xmm0 = mem[0],zero
	movsd	%xmm0, -96(%rbp)                ## 8-byte Spill
	movsd	16(%rbx), %xmm0                 ## xmm0 = mem[0],zero
	movsd	%xmm0, -88(%rbp)                ## 8-byte Spill
	movl	(%rax), %edi
	movl	(%rsi), %esi
	callq	_ff_get_audio_buffer
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movq	%r14, %rsi
	movq	%rax, %r13
	callq	_av_frame_copy_props
	movl	(%r15), %r11d
	testl	%r11d, %r11d
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	jle	LBB0_3
## %bb.4:
	leal	-1(%r12), %ecx
	movq	8(%r14), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	8(%r13), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	32(%rbx), %rax
	movq	(%rax), %r10
	movl	24(%rbx), %r15d
	subl	-44(%rbp), %r12d                ## 4-byte Folded Reload
	addl	%r15d, %r12d
	movq	%r12, %r9
	movl	(%r14), %edx
	xorl	%r14d, %r14d
	movsd	-96(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	movsd	-88(%rbp), %xmm3                ## 8-byte Reload
                                        ## xmm3 = mem[0],zero
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r14
	cmpq	%r11, %r14
	je	LBB0_9
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movl	%r15d, %ebx
	testl	%edx, %edx
	jle	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	(%rax,%r14,8), %rax
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	movq	(%rsi,%r14,8), %rdi
	movq	(%r10,%r14,8), %rsi
	xorl	%r13d, %r13d
	movl	%r9d, %r12d
	movl	%r15d, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	andl	%ecx, %r12d
	movsd	(%rax,%r13,8), %xmm0            ## xmm0 = mem[0],zero
	movl	%ebx, %r8d
	movsd	%xmm0, (%rsi,%r8,8)
	movsd	(%rsi,%r12,8), %xmm1            ## xmm1 = mem[0],zero
	mulsd	%xmm3, %xmm1
	mulsd	%xmm2, %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, (%rdi,%r13,8)
	incl	%ebx
	andl	%ecx, %ebx
	incl	%r12d
	incq	%r13
	cmpq	%r13, %rdx
	jne	LBB0_7
	jmp	LBB0_8
LBB0_1:
	leaq	-56(%rbp), %rdi
	callq	_av_frame_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_10
LBB0_3:
                                        ## implicit-def: $ebx
LBB0_9:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, 24(%rax)
	leaq	-56(%rbp), %rdi
	callq	_av_frame_free
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_ff_filter_frame
LBB0_10:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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, #112
	.cfi_def_cfa_offset 112
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset b8, -88
	.cfi_offset b9, -96
	mov	x20, x1
	mov	x21, x0
	str	x1, [sp, #8]
	ldr	x22, [x0, #8]
	ldp	x8, x23, [x22]
	ldp	w24, w25, [x23]
	ldp	d8, d9, [x23, #8]
	ldr	w0, [x8]
	ldr	w1, [x1]
	bl	_ff_get_audio_buffer
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
	mov	x1, x20
	bl	_av_frame_copy_props
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.2:
	mov	x9, #0
	sub	w10, w24, #1
	ldr	x11, [x20, #8]
	ldr	x12, [x19, #8]
	ldr	x13, [x23, #32]
	ldr	x13, [x13]
	ldr	w14, [x23, #24]
	sub	w15, w24, w25
	add	w15, w15, w14
	ldr	w16, [x20]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #1
	cmp	x9, x8
	b.eq	LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	mov	x17, x14
	cmp	w16, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	x17, x9, #3
	ldr	x0, [x11, x17]
	ldr	x1, [x12, x17]
	ldr	x2, [x13, x17]
	mov	x3, x16
	mov	x4, x15
	mov	x17, x14
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	and	w4, w4, w10
	ldr	d0, [x0], #8
	str	d0, [x2, w17, uxtw #3]
	ldr	d1, [x2, w4, uxtw #3]
	fmul	d1, d9, d1
	fmadd	d0, d8, d0, d1
	str	d0, [x1], #8
	add	w17, w17, #1
	and	w17, w17, w10
	add	w4, w4, #1
	subs	x3, x3, #1
	b.ne	LBB0_6
	b	LBB0_3
LBB0_7:
	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_10
LBB0_8:
                                        ; implicit-def: $w17
LBB0_9:
	str	w17, [x23, #24]
	add	x0, sp, #8
	bl	_av_frame_free
	ldr	x8, [x22]
	ldr	w0, [x8]
	mov	x1, x19
	bl	_ff_filter_frame
LBB0_10:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_filter_frame
.subsections_via_symbols
