	.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
LCPI0_2:
	.quad	0x0000000000000000              ## double 0
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	%rsi, -80(%rbp)
	movq	8(%rdi), %rax
	movq	(%rax), %rbx
	movq	8(%rax), %rax
	movq	(%rax), %r14
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	movsd	%xmm0, -72(%rbp)                ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_av_frame_is_writable
	movq	%r13, %r12
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_ff_get_audio_buffer
	testq	%rax, %rax
	je	LBB0_30
## %bb.2:
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_av_frame_copy_props
LBB0_3:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	cmpq	$0, 8(%rbx)
	movl	(%r15), %eax
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	jle	LBB0_19
## %bb.4:
	testl	%eax, %eax
	jle	LBB0_26
## %bb.5:
	movl	(%r13), %ecx
	xorl	%esi, %esi
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_8 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	incq	%rsi
	movslq	%eax, %rdx
	cmpq	%rdx, %rsi
	jge	LBB0_26
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	testl	%ecx, %ecx
	jle	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%rsi,8), %r12
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rax,%rsi,8), %r14
	xorl	%r15d, %r15d
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_13 Depth=2
	subsd	%xmm1, %xmm2
	xorps	%xmm0, %xmm0
	cvtsi2sdq	8(%rbx), %xmm0
	mulsd	%xmm2, %xmm0
	movq	_INT32_MAX@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm2                   ## xmm2 = mem[0],zero
	subsd	%xmm1, %xmm2
	divsd	%xmm2, %xmm0
	addsd	%xmm1, %xmm0
LBB0_11:                                ##   in Loop: Header=BB0_13 Depth=2
	addsd	%xmm3, %xmm0
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=2
	callq	_av_clipl_int32
	movsd	%xmm0, (%r14,%r15,8)
	incq	%r15
	movslq	(%r13), %rcx
	cmpq	%rcx, %r15
	jge	LBB0_6
LBB0_13:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsd	(%r12,%r15,8), %xmm2            ## xmm2 = mem[0],zero
	movsd	16(%rbx), %xmm1                 ## xmm1 = mem[0],zero
	ucomisd	%xmm1, %xmm2
	movsd	-72(%rbp), %xmm3                ## 8-byte Reload
                                        ## xmm3 = mem[0],zero
	jbe	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	ucomisd	LCPI0_2(%rip), %xmm3
	ja	LBB0_10
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=2
	movapd	%xmm1, %xmm0
	xorpd	LCPI0_1(%rip), %xmm0
	ucomisd	%xmm2, %xmm0
	jbe	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=2
	xorpd	%xmm0, %xmm0
	ucomisd	%xmm3, %xmm0
	jbe	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=2
	addsd	%xmm1, %xmm2
	xorps	%xmm0, %xmm0
	cvtsi2sdq	8(%rbx), %xmm0
	mulsd	%xmm2, %xmm0
	movq	_INT32_MAX@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm2                   ## xmm2 = mem[0],zero
	subsd	%xmm1, %xmm2
	divsd	%xmm2, %xmm0
	subsd	%xmm1, %xmm0
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=2
	movq	_INT32_MAX@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	mulsd	%xmm3, %xmm0
	addsd	%xmm2, %xmm0
	jmp	LBB0_12
LBB0_19:
	testl	%eax, %eax
	jle	LBB0_26
## %bb.20:
	movl	(%r13), %ecx
	xorl	%esi, %esi
	movq	_INT32_MAX@GOTPCREL(%rip), %r15
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_22 Depth=1
	incq	%rsi
	movslq	%eax, %rdx
	cmpq	%rdx, %rsi
	jge	LBB0_26
LBB0_22:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_24 Depth 2
	testl	%ecx, %ecx
	jle	LBB0_21
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%rsi,8), %r12
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rax,%rsi,8), %rbx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_24:                                ##   Parent Loop BB0_22 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsd	(%r15), %xmm0                   ## xmm0 = mem[0],zero
	addsd	%xmm1, %xmm0
	mulsd	-72(%rbp), %xmm0                ## 8-byte Folded Reload
	addsd	(%r12,%r14,8), %xmm0
	callq	_av_clipl_int32
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	movsd	%xmm0, (%rbx,%r14,8)
	incq	%r14
	movslq	(%r13), %rcx
	cmpq	%rcx, %r14
	jl	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_21
LBB0_26:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	cmpq	%r13, %rbx
	je	LBB0_28
## %bb.27:
	leaq	-80(%rbp), %rdi
	callq	_av_frame_free
LBB0_28:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_ff_filter_frame
LBB0_29:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	leaq	-80(%rbp), %rdi
	callq	_av_frame_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_INT32_MAX,8,3                  ## @INT32_MAX
	.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, #8]
	ldp	x23, x9, [x8]
	ldr	x19, [x9]
	ldr	d8, [x23]
	mov	x0, x1
	bl	_av_frame_is_writable
	mov	x22, x20
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_ff_get_audio_buffer
	cbz	x0, LBB0_30
; %bb.2:
	mov	x22, x0
	mov	x1, x20
	bl	_av_frame_copy_props
LBB0_3:
	ldr	x9, [x23, #8]
	ldr	w8, [x21]
	cmp	x9, #0
	b.le	LBB0_19
; %bb.4:
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.5:
	mov	x24, #0
	ldr	w9, [x20]
Lloh0:
	adrp	x25, _INT32_MAX@GOTPAGE
Lloh1:
	ldr	x25, [x25, _INT32_MAX@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x21]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x24, x24, #1
	cmp	x24, w8, sxtw
	b.ge	LBB0_26
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x26, #0
	ldr	x8, [x20, #8]
	lsl	x9, x24, #3
	ldr	x27, [x8, x9]
	ldr	x8, [x22, #8]
	ldr	x28, [x8, x9]
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_13 Depth=2
	fsub	d1, d1, d0
	ldr	d2, [x23, #8]
	scvtf	d2, d2
	fmul	d1, d1, d2
	ldr	d2, [x25]
	fsub	d2, d2, d0
	fdiv	d1, d1, d2
	fadd	d0, d0, d1
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=2
	fadd	d0, d8, d0
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	bl	_av_clipl_int32
	str	d0, [x28, x26, lsl #3]
	add	x26, x26, #1
	ldrsw	x9, [x20]
	cmp	x26, x9
	b.ge	LBB0_6
LBB0_13:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	d1, [x27, x26, lsl #3]
	ldr	d0, [x23, #16]
	fcmp	d1, d0
	b.le	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	fcmp	d8, #0.0
	b.gt	LBB0_10
LBB0_15:                                ;   in Loop: Header=BB0_13 Depth=2
	fneg	d2, d0
	fcmp	d1, d2
	b.pl	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=2
	fcmp	d8, #0.0
	b.pl	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=2
	fadd	d1, d1, d0
	ldr	d2, [x23, #8]
	scvtf	d2, d2
	fmul	d1, d1, d2
	ldr	d2, [x25]
	fsub	d2, d2, d0
	fdiv	d1, d1, d2
	fsub	d0, d1, d0
	b	LBB0_11
LBB0_18:                                ;   in Loop: Header=BB0_13 Depth=2
	ldr	d0, [x25]
	fmadd	d0, d8, d0, d1
	b	LBB0_12
LBB0_19:
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.20:
	mov	x23, #0
	ldr	w9, [x20]
Lloh2:
	adrp	x24, _INT32_MAX@GOTPAGE
Lloh3:
	ldr	x24, [x24, _INT32_MAX@GOTPAGEOFF]
	fmov	d9, #1.00000000
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	add	x23, x23, #1
	cmp	x23, w8, sxtw
	b.ge	LBB0_26
LBB0_22:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_24 Depth 2
	cmp	w9, #1
	b.lt	LBB0_21
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	x25, #0
	ldr	x8, [x20, #8]
	lsl	x9, x23, #3
	ldr	x26, [x8, x9]
	ldr	x8, [x22, #8]
	ldr	x27, [x8, x9]
LBB0_24:                                ;   Parent Loop BB0_22 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	d0, [x24]
	fadd	d0, d0, d9
	lsl	x28, x25, #3
	ldr	d1, [x26, x28]
	fmadd	d0, d8, d0, d1
	bl	_av_clipl_int32
	str	d0, [x27, x28]
	add	x25, x25, #1
	ldrsw	x9, [x20]
	cmp	x25, x9
	b.lt	LBB0_24
; %bb.25:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	w8, [x21]
	b	LBB0_21
LBB0_26:
	cmp	x22, x20
	b.eq	LBB0_28
; %bb.27:
	add	x0, sp, #8
	bl	_av_frame_free
LBB0_28:
	mov	x0, x19
	mov	x1, x22
	bl	_ff_filter_frame
LBB0_29:
	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
LBB0_30:
	add	x0, sp, #8
	bl	_av_frame_free
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_29
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_INT32_MAX,8,3                  ; @INT32_MAX
	.no_dead_strip	_filter_frame
.subsections_via_symbols
