	.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	0x3ff0000000000000              ## double 1
	.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	$40, %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	16(%rdi), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rbx
	movq	(%rcx), %r13
	movl	(%rsi), %esi
	movq	%r13, %rdi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ff_get_audio_buffer
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_av_frame_copy_props
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	16(%r14), %edi
	movl	8(%r15), %esi
	callq	_TS2T
	movsd	%xmm0, -80(%rbp)                ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	testl	%eax, %eax
	jle	LBB0_17
## %bb.3:
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	xorl	%r14d, %r14d
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r14
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	addsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, (%rbx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, %r14
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_17
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_9 Depth 2
                                        ##     Child Loop BB0_12 Depth 2
	movq	8(%rbx), %rsi
	movq	_VAR_N@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movsd	%xmm0, (%rsi,%rax,8)
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r14d, %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2sdl	(%r15), %xmm1
	divsd	%xmm1, %xmm0
	addsd	-80(%rbp), %xmm0                ## 8-byte Folded Reload
	movq	_VAR_T@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movsd	%xmm0, (%rsi,%rax,8)
	movl	4(%r15), %r9d
	testl	%r9d, %r9d
	jle	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rcx
	movq	16(%rbx), %rdx
	leaq	-1(%r9), %rax
	movl	%r9d, %r8d
	andl	$3, %r8d
	cmpq	$3, %rax
	jae	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	andl	$-4, %r9d
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rcx,%rax,8), %rdi
	movsd	(%rdi,%r14,8), %xmm0            ## xmm0 = mem[0],zero
	movsd	%xmm0, (%rdx,%rax,8)
	movq	8(%rcx,%rax,8), %rdi
	movsd	(%rdi,%r14,8), %xmm0            ## xmm0 = mem[0],zero
	movsd	%xmm0, 8(%rdx,%rax,8)
	movq	16(%rcx,%rax,8), %rdi
	movsd	(%rdi,%r14,8), %xmm0            ## xmm0 = mem[0],zero
	movsd	%xmm0, 16(%rdx,%rax,8)
	movq	24(%rcx,%rax,8), %rdi
	movsd	(%rdi,%r14,8), %xmm0            ## xmm0 = mem[0],zero
	movsd	%xmm0, 24(%rdx,%rax,8)
	addq	$4, %rax
	cmpq	%rax, %r9
	jne	LBB0_15
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	testq	%r8, %r8
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%rdx,%rax,8), %rdx
	leaq	(%rcx,%rax,8), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax,%rcx,8), %rdi
	movsd	(%rdi,%r14,8), %xmm0            ## xmm0 = mem[0],zero
	movsd	%xmm0, (%rdx,%rcx,8)
	incq	%rcx
	cmpq	%rcx, %r8
	jne	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, 4(%r13)
	jle	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r15d, %xmm0
	movq	_VAR_CH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movsd	%xmm0, (%rsi,%rax,8)
	movq	24(%rbx), %rax
	movl	(%rax,%r15,4), %edi
	movq	%rbx, %rdx
	callq	_av_expr_eval
	movq	8(%r12), %rax
	movq	(%rax,%r15,8), %rax
	movsd	%xmm0, (%rax,%r14,8)
	incq	%r15
	movslq	4(%r13), %rax
	cmpq	%rax, %r15
	jge	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	8(%rbx), %rsi
	jmp	LBB0_12
LBB0_17:
	leaq	-56(%rbp), %rdi
	callq	_av_frame_free
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_ff_filter_frame
	jmp	LBB0_18
LBB0_1:
	leaq	-56(%rbp), %rdi
	callq	_av_frame_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_18:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_VAR_N,8,3                      ## @VAR_N
	.comm	_VAR_T,8,3                      ## @VAR_T
	.comm	_VAR_CH,8,3                     ## @VAR_CH
	.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, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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 w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x20, x1
	mov	x21, x0
	str	x1, [sp, #8]
	ldr	x8, [x0, #16]
	ldp	x8, x22, [x8]
	ldr	x19, [x8]
	ldr	w24, [x1]
	mov	x0, x19
	mov	x1, x24
	bl	_ff_get_audio_buffer
	cbz	x0, LBB0_12
; %bb.1:
	mov	x23, x0
	mov	x1, x20
	bl	_av_frame_copy_props
	ldr	w0, [x20, #16]
	ldr	w1, [x21, #8]
	bl	_TS2T
	cmp	w24, #1
	b.lt	LBB0_11
; %bb.2:
	fmov	d8, d0
	mov	x25, #0
	ldr	d0, [x22]
Lloh0:
	adrp	x27, _VAR_T@GOTPAGE
Lloh1:
	ldr	x27, [x27, _VAR_T@GOTPAGEOFF]
	fmov	d9, #1.00000000
Lloh2:
	adrp	x28, _VAR_CH@GOTPAGE
Lloh3:
	ldr	x28, [x28, _VAR_CH@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	ldr	d0, [x22]
	fadd	d0, d0, d9
	str	d0, [x22]
	cmp	x25, x24
	b.eq	LBB0_11
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
	ldr	x1, [x22, #8]
Lloh4:
	adrp	x8, _VAR_N@GOTPAGE
Lloh5:
	ldr	x8, [x8, _VAR_N@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	str	d0, [x1, x8, lsl #3]
	scvtf	d0, w25
	ldr	s1, [x21]
	sshll.2d	v1, v1, #0
	scvtf	d1, d1
	fdiv	d0, d0, d1
	fadd	d0, d8, d0
	ldr	x8, [x27]
	str	d0, [x1, x8, lsl #3]
	ldr	w8, [x21, #4]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x20, #8]
	ldr	x10, [x22, #16]
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x9], #8
	ldr	d0, [x11, x25, lsl #3]
	str	d0, [x10], #8
	subs	x8, x8, #1
	b.ne	LBB0_6
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28]
	str	xzr, [x1, x8, lsl #3]
	ldr	x8, [x22, #24]
	ldr	w0, [x8]
	mov	x2, x22
	bl	_av_expr_eval
	ldr	x8, [x23, #8]
	ldr	x8, [x8]
	str	d0, [x8, x25, lsl #3]
	ldr	w8, [x19, #4]
	cmp	w8, #2
	b.lt	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #1
LBB0_10:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x1, [x22, #8]
	scvtf	d0, w26
	ldr	x8, [x28]
	str	d0, [x1, x8, lsl #3]
	ldr	x8, [x22, #24]
	ldr	w0, [x8, x26, lsl #2]
	mov	x2, x22
	bl	_av_expr_eval
	ldr	x8, [x23, #8]
	ldr	x8, [x8, x26, lsl #3]
	str	d0, [x8, x25, lsl #3]
	add	x26, x26, #1
	ldrsw	x8, [x19, #4]
	cmp	x26, x8
	b.lt	LBB0_10
	b	LBB0_3
LBB0_11:
	add	x0, sp, #8
	bl	_av_frame_free
	mov	x0, x19
	mov	x1, x23
	bl	_ff_filter_frame
	b	LBB0_13
LBB0_12:
	add	x0, sp, #8
	bl	_av_frame_free
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_13:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_VAR_N,8,3                      ; @VAR_N
	.comm	_VAR_T,8,3                      ; @VAR_T
	.comm	_VAR_CH,8,3                     ; @VAR_CH
	.no_dead_strip	_filter_frame
.subsections_via_symbols
