	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function filter_frame
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rsi, -72(%rbp)
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	movsd	%xmm0, -112(%rbp)               ## 8-byte Spill
	movsd	8(%rbx), %xmm0                  ## xmm0 = mem[0],zero
	movapd	%xmm0, -96(%rbp)                ## 16-byte Spill
	movq	16(%rbx), %r14
	movq	24(%rbx), %r15
	movq	%rsi, %rdi
	callq	_av_frame_is_writable
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movl	(%r12), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_ff_get_audio_buffer
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_av_frame_copy_props
LBB0_4:
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	movl	(%r12), %eax
	testl	%eax, %eax
	movsd	-112(%rbp), %xmm7               ## 8-byte Reload
                                        ## xmm7 = mem[0],zero
	jle	LBB0_16
## %bb.5:
	decq	%r14
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movl	32(%rbx), %r11d
	movq	16(%rbx), %rcx
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movq	48(%rbx), %r9
	movq	80(%rbx), %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movq	64(%rbx), %r10
	movq	72(%rbx), %rcx
	movddup	-96(%rbp), %xmm0                ## 16-byte Folded Reload
                                        ## xmm0 = mem[0,0]
	xorl	%edx, %edx
	movl	%r11d, %edi
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movapd	LCPI0_1(%rip), %xmm1            ## xmm1 = [-0.0E+0,-0.0E+0]
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
                                        ## implicit-def: $xmm3
	leaq	LJTI0_0(%rip), %rsi
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movddup	56(%rbx), %xmm4                 ## xmm4 = mem[0,0]
	movsd	(%r15,%r8,8), %xmm5             ## xmm5 = mem[0],zero
	movhpd	(%r15,%r13,8), %xmm5            ## xmm5 = xmm5[0],mem[0]
	mulpd	%xmm4, %xmm5
	movsd	(%r10), %xmm4                   ## xmm4 = mem[0],zero
	movhpd	8(%rcx), %xmm4                  ## xmm4 = xmm4[0],mem[0]
	mulpd	%xmm5, %xmm4
	movsd	8(%r10), %xmm6                  ## xmm6 = mem[0],zero
	movhpd	(%rcx), %xmm6                   ## xmm6 = xmm6[0],mem[0]
	shufpd	$1, %xmm5, %xmm5                ## xmm5 = xmm5[1,0]
	mulpd	%xmm5, %xmm6
	subpd	%xmm6, %xmm4
	movddup	%xmm3, %xmm5                    ## xmm5 = xmm3[0,0]
	addpd	%xmm4, %xmm5
	mulpd	%xmm0, %xmm5
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	movupd	%xmm5, (%rdi,%rdx)
	incq	%r12
	andq	%r14, %r12
	movq	%r12, 40(%rbx)
	addq	$16, %rdx
	decl	%eax
	je	LBB0_16
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$3, %r11d
	ja	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movslq	(%rsi,%rdi,4), %rdi
	addq	%rsi, %rdi
	jmpq	*%rdi
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movsd	(%rdi,%rdx), %xmm3              ## xmm3 = mem[0],zero
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movsd	8(%rdi,%rdx), %xmm3             ## xmm3 = mem[0],zero
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movsd	(%rdi,%rdx), %xmm3              ## xmm3 = mem[0],zero
	addsd	8(%rdi,%rdx), %xmm3
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movsd	(%rdi,%rdx), %xmm3              ## xmm3 = mem[0],zero
	subsd	8(%rdi,%rdx), %xmm3
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	mulsd	%xmm2, %xmm3
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	mulsd	%xmm7, %xmm3
	movq	40(%rbx), %r12
	movsd	%xmm3, (%r15,%r12,8)
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	leaq	(%rdi,%r12), %r13
	movq	%r13, %r8
	subq	(%r9), %r8
	andq	%r14, %r8
	subq	8(%r9), %r13
	andq	%r14, %r13
	cmpq	$0, -120(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	xorpd	%xmm1, %xmm3
	jmp	LBB0_15
LBB0_16:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpq	-104(%rbp), %rbx                ## 8-byte Folded Reload
	je	LBB0_18
## %bb.17:
	leaq	-72(%rbp), %rdi
	callq	_av_frame_free
LBB0_18:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_ff_filter_frame
LBB0_19:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	-72(%rbp), %rdi
	callq	_av_frame_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_19
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_11
	.end_data_region
                                        ## -- 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
	str	x1, [sp, #8]
	ldr	x8, [x0]
	ldp	x22, x9, [x8]
	ldr	x19, [x9]
	ldr	x8, [x1, #8]
	ldr	x24, [x8]
	ldp	d8, d9, [x22]
	ldp	x25, x23, [x22, #16]
	mov	x0, x1
	bl	_av_frame_is_writable
	mov	x21, x20
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_ff_get_audio_buffer
	cbz	x0, LBB0_17
; %bb.2:
	mov	x21, x0
	mov	x1, x20
	bl	_av_frame_copy_props
LBB0_3:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.4:
	sub	x9, x25, #1
	ldr	x10, [x21, #8]
	ldr	x10, [x10]
	ldr	w11, [x22, #32]
	ldr	x12, [x22, #16]
	ldr	x13, [x22, #48]
	ldp	x16, x14, [x22, #72]
	ldr	x15, [x22, #64]
	add	x17, x24, #8
Lloh0:
	adrp	x0, lJTI0_0@PAGE
Lloh1:
	add	x0, x0, lJTI0_0@PAGEOFF
	fmov	d0, #0.50000000
                                        ; implicit-def: $d1
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldp	d1, d2, [x17, #-8]
	fsub	d1, d1, d2
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	fmul	d1, d1, d0
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	fmul	d2, d8, d1
	ldr	x1, [x22, #40]
	str	d2, [x23, x1, lsl #3]
	ldp	x2, x3, [x13]
	add	x4, x12, x1
	sub	x2, x4, x2
	and	x2, x2, x9
	sub	x3, x4, x3
	and	x3, x3, x9
	fnmul	d1, d8, d1
	cmp	x14, #0
	fcsel	d1, d2, d1, eq
	ldr	d2, [x23, x2, lsl #3]
	ldr	d3, [x22, #56]
	ldr	d4, [x23, x3, lsl #3]
	fmul	d5, d2, d3
	fmul	d6, d3, d4
	ldp	d7, d16, [x15]
	fnmul	d4, d3, d4
	fmul	d4, d16, d4
	fmadd	d4, d5, d7, d4
	ldp	d7, d5, [x16]
	fnmul	d2, d2, d3
	fmul	d2, d7, d2
	fmadd	d2, d6, d5, d2
	fadd	d3, d1, d4
	fmul	d3, d9, d3
	str	d3, [x10]
	fadd	d2, d1, d2
	fmul	d2, d9, d2
	str	d2, [x10, #8]
	add	x1, x1, #1
	and	x1, x1, x9
	str	x1, [x22, #40]
	add	x17, x17, #16
	add	x10, x10, #16
	subs	w8, w8, #1
	b.eq	LBB0_13
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w11, #3
	b.hi	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	adr	x1, LBB0_5
	ldrb	w2, [x0, x11]
	add	x1, x1, x2, lsl #2
	br	x1
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	ldur	d1, [x17, #-8]
	b	LBB0_7
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	d1, [x17]
	b	LBB0_7
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	ldp	d1, d2, [x17, #-8]
	fadd	d1, d1, d2
	b	LBB0_6
LBB0_13:
	cmp	x21, x20
	b.eq	LBB0_15
; %bb.14:
	add	x0, sp, #8
	bl	_av_frame_free
LBB0_15:
	mov	x0, x19
	mov	x1, x21
	bl	_ff_filter_frame
LBB0_16:
	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
LBB0_17:
	add	x0, sp, #8
	bl	_av_frame_free
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_16
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_filter_frame
.subsections_via_symbols
