	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function filter_frame
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
	.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	$88, %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, -56(%rbp)
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	movq	8(%rax), %rax
	movq	(%rax), %r14
	movq	8(%rsi), %rax
	movq	(%rax), %r13
	movss	(%rbx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movaps	%xmm0, -80(%rbp)                ## 16-byte Spill
	movq	%rsi, %rdi
	callq	_av_frame_is_writable
	movq	%r12, %r15
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_ff_get_audio_buffer
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_av_frame_copy_props
LBB0_4:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.5:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movq	(%rcx), %r14
	movsldup	-80(%rbp), %xmm0                ## 16-byte Folded Reload
                                        ## xmm0 = mem[0,0,2,2]
	movaps	%xmm0, -112(%rbp)               ## 16-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movss	%xmm0, (%r14,%r15,8)
	extractps	$1, %xmm0, 4(%r14,%r15,8)
	incq	%r15
	movslq	%eax, %rcx
	cmpq	%rcx, %r15
	jge	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movsd	(%r13,%r15,8), %xmm0            ## xmm0 = mem[0],zero
	movshdup	%xmm0, %xmm1                    ## xmm1 = xmm0[1,1,3,3]
	addss	%xmm0, %xmm1
	mulss	LCPI0_0(%rip), %xmm1
	movsldup	%xmm1, %xmm1                    ## xmm1 = xmm1[0,0,2,2]
	subps	%xmm1, %xmm0
	mulps	-112(%rbp), %xmm0               ## 16-byte Folded Reload
	addps	%xmm1, %xmm0
	cmpq	$0, 8(%rbx)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	$-1, %edi
	movl	$1, %esi
	movaps	%xmm0, -128(%rbp)               ## 16-byte Spill
	callq	_av_clipf
	movaps	%xmm0, -80(%rbp)                ## 16-byte Spill
	movshdup	-128(%rbp), %xmm0               ## 16-byte Folded Reload
                                        ## xmm0 = mem[1,1,3,3]
	movl	$-1, %edi
	movl	$1, %esi
	callq	_av_clipf
	movl	(%r12), %eax
	movaps	-80(%rbp), %xmm1                ## 16-byte Reload
	insertps	$16, %xmm0, %xmm1               ## xmm1 = xmm1[0],xmm0[0],xmm1[2,3]
	movaps	%xmm1, %xmm0
	jmp	LBB0_8
LBB0_9:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	cmpq	%r12, %rbx
	je	LBB0_11
## %bb.10:
	leaq	-56(%rbp), %rdi
	callq	_av_frame_free
LBB0_11:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_ff_filter_frame
LBB0_12:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	-56(%rbp), %rdi
	callq	_av_frame_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_12
	.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, #128
	.cfi_def_cfa_offset 128
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [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 b8, -88
	.cfi_offset b9, -96
	.cfi_offset b10, -104
	.cfi_offset b11, -112
	mov	x20, x1
	str	x1, [sp, #8]
	ldr	x8, [x0]
	ldp	x22, x9, [x8]
	ldr	x19, [x9]
	ldr	x8, [x1, #8]
	ldr	x25, [x8]
	ldr	s10, [x22]
	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_12
; %bb.2:
	mov	x21, x0
	mov	x1, x20
	bl	_av_frame_copy_props
LBB0_3:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.4:
	mov	x23, #0
	ldr	x9, [x21, #8]
	ldr	x9, [x9]
	add	x24, x9, #4
	add	x25, x25, #4
	fmov	s11, #0.50000000
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	stur	s8, [x24, #-4]
	str	s9, [x24], #8
	add	x23, x23, #1
	add	x25, x25, #8
	cmp	x23, w8, sxtw
	b.ge	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	s0, s1, [x25, #-4]
	fadd	s2, s0, s1
	fmul	s2, s2, s11
	fsub	s0, s0, s2
	fmadd	s8, s10, s0, s2
	fsub	s0, s1, s2
	fmadd	s9, s10, s0, s2
	ldr	x9, [x22, #8]
	cbz	x9, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	fmov	s0, s8
	mov	w0, #-1
	mov	w1, #1
	bl	_av_clipf
	fmov	s8, s0
	fmov	s0, s9
	mov	w0, #-1
	mov	w1, #1
	bl	_av_clipf
	fmov	s9, s0
	ldr	w8, [x20]
	b	LBB0_5
LBB0_8:
	cmp	x21, x20
	b.eq	LBB0_10
; %bb.9:
	add	x0, sp, #8
	bl	_av_frame_free
LBB0_10:
	mov	x0, x19
	mov	x1, x21
	bl	_ff_filter_frame
LBB0_11:
	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	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_12:
	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_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_filter_frame
.subsections_via_symbols
