	.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	0x4030000000000000              ## double 16
	.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	$152, %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, %rbx
	movq	%rsi, -80(%rbp)
	movq	16(%rdi), %r15
	movq	8(%r15), %r12
	movq	16(%r15), %rax
	movq	(%rax), %rdi
	movl	(%rdi), %edx
	movl	4(%rdi), %esi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_ff_get_video_buffer
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rdi
	movq	%r13, %rsi
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	callq	_av_frame_copy_props
	movl	12(%rbx), %eax
	movq	40(%r12), %rcx
	movq	_VAR_N@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movl	8(%r13), %edi
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movl	8(%rbx), %esi
	callq	_TS2T
	movq	40(%r12), %rsi
	movq	_VAR_T@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movl	%eax, (%rsi,%rcx,4)
	movl	48(%r12), %edi
	movq	%r12, %rdx
	callq	_av_expr_eval
	movsd	%xmm0, (%r12)
	movapd	%xmm0, %xmm1
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_PI@GOTPCREL(%rip), %rax
	xorps	%xmm0, %xmm0
	cvtsi2sdl	(%rax), %xmm0
	movq	40(%r12), %rax
	movq	(%r14), %rcx
	movl	(%rax,%rcx,4), %ecx
	movq	(%rbx), %rdx
	movl	(%rax,%rdx,4), %r8d
	divsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %r9d
	leaq	L_.str(%rip), %rdx
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	callq	_av_log
	movq	_FIXP@GOTPCREL(%rip), %rax
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	mulsd	(%rax), %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %r14d
	movl	%r14d, %edi
	callq	_int_sin
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_INT_PI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %edi
	shrl	$31, %edi
	addl	%eax, %edi
	sarl	%edi
	addl	%r14d, %edi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	callq	_int_sin
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpq	$0, 32(%r12)
	movq	%r12, %r15
	je	LBB0_4
## %bb.3:
	leaq	24(%r15), %rdi
	leaq	20(%r15), %rsi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %eax
	movl	4(%rbx), %ebx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	%rbx
	callq	_ff_fill_rectangle
	addq	$16, %rsp
LBB0_4:
	cmpl	$0, 8(%r15)
	jle	LBB0_9
## %bb.5:
	movd	-44(%rbp), %xmm0                ## 4-byte Folded Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, -48(%rbp), %xmm0            ## 4-byte Folded Reload
	pshufd	$20, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,1,0]
	movdqa	%xmm0, -192(%rbp)               ## 16-byte Spill
	xorl	%r14d, %r14d
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	4(%rbx), %edi
	movl	%r13d, %esi
	callq	_AV_CEIL_RSHIFT
	movl	%eax, %r15d
	movl	(%rbx), %edi
	movl	%r12d, %esi
	callq	_AV_CEIL_RSHIFT
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movl	4(%rbx), %edi
	movl	%r13d, %esi
	callq	_AV_CEIL_RSHIFT
	movl	%eax, -176(%rbp)
	movl	(%rbx), %edi
	movl	%r12d, %esi
	callq	_AV_CEIL_RSHIFT
	movl	%eax, -172(%rbp)
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, -168(%rbp)
	movl	%r15d, -164(%rbp)
	movl	$1, %eax
	subl	%r15d, %eax
	decl	%r15d
	movl	$1, %ecx
	subl	%edx, %ecx
	movd	%eax, %xmm0
	pinsrd	$1, %r15d, %xmm0
	pinsrd	$2, %ecx, %xmm0
	pinsrd	$3, %ecx, %xmm0
	pmulld	-192(%rbp), %xmm0               ## 16-byte Folded Reload
	movdqa	%xmm0, %xmm1
	psrld	$31, %xmm1
	paddd	%xmm0, %xmm1
	psrad	$1, %xmm1
	movdqu	%xmm1, -160(%rbp)
	movl	%r14d, -144(%rbp)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -140(%rbp)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -136(%rbp)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -128(%rbp)
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, -120(%rbp)
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	(%rbx), %rax
	movq	(%rax), %r12
	movq	_filter_slice@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_ff_filter_get_nb_threads
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_FFMIN
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	leaq	-176(%rbp), %rdx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	*%r12
	incl	%r14d
	cmpl	8(%r15), %r14d
	jge	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%r14), %eax
	movl	$0, %r13d
	movl	$0, %r12d
	cmpl	$1, %eax
	ja	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	12(%r15), %r13d
	movl	16(%r15), %r12d
	jmp	LBB0_8
LBB0_9:
	leaq	-80(%rbp), %rdi
	callq	_av_frame_free
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_ff_filter_frame
	jmp	LBB0_10
LBB0_1:
	leaq	-80(%rbp), %rdi
	callq	_av_frame_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_10:
	addq	$152, %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	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"n:%f time:%f angle:%f/PI\n"

	.comm	_M_PI,4,2                       ## @M_PI
	.comm	_FIXP,8,3                       ## @FIXP
	.comm	_INT_PI,4,2                     ## @INT_PI
	.comm	_filter_slice,4,2               ## @filter_slice
	.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, #224
	.cfi_def_cfa_offset 224
	stp	d9, d8, [sp, #112]              ; 16-byte Folded Spill
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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	x28, x1
	mov	x19, x0
	str	x1, [sp, #104]
	ldr	x22, [x0, #16]
	ldp	x23, x8, [x22, #8]
	ldr	x0, [x8]
	ldp	w2, w1, [x0]
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	bl	_ff_get_video_buffer
	cbz	x0, LBB0_10
; %bb.1:
	mov	x24, x0
	mov	x1, x28
	bl	_av_frame_copy_props
	ldr	w8, [x19, #12]
Lloh0:
	adrp	x20, _VAR_N@GOTPAGE
Lloh1:
	ldr	x20, [x20, _VAR_N@GOTPAGEOFF]
	ldr	x9, [x23, #40]
	ldr	x10, [x20]
	str	w8, [x9, x10, lsl #2]
	ldr	w0, [x28, #8]
	str	x19, [sp, #16]                  ; 8-byte Folded Spill
	ldr	w1, [x19, #8]
	bl	_TS2T
	ldr	x1, [x23, #40]
Lloh2:
	adrp	x21, _VAR_T@GOTPAGE
Lloh3:
	ldr	x21, [x21, _VAR_T@GOTPAGEOFF]
	ldr	x8, [x21]
	str	w0, [x1, x8, lsl #2]
	ldr	w0, [x23, #48]
	mov	x2, x23
	bl	_av_expr_eval
	fmov	d8, d0
	str	d0, [x23]
Lloh4:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
	ldr	x9, [x23, #40]
	ldr	x10, [x20]
	ldr	w3, [x9, x10, lsl #2]
Lloh6:
	ldr	w1, [x8]
	ldr	x8, [x21]
	ldr	w4, [x9, x8, lsl #2]
Lloh7:
	adrp	x8, _M_PI@GOTPAGE
Lloh8:
	ldr	x8, [x8, _M_PI@GOTPAGEOFF]
Lloh9:
	ldr	s0, [x8]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	fdiv	d0, d8, d0
	fcvtzs	w5, d0
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	str	x22, [sp, #8]                   ; 8-byte Folded Spill
	mov	x0, x22
	bl	_av_log
Lloh12:
	adrp	x8, _FIXP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FIXP@GOTPAGEOFF]
Lloh14:
	ldr	d0, [x8]
	fmul	d0, d8, d0
	fcvtzs	w26, d0, #4
	mov	x0, x26
	bl	_int_sin
	mov	x25, x0
Lloh15:
	adrp	x8, _INT_PI@GOTPAGE
Lloh16:
	ldr	x8, [x8, _INT_PI@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	add	w0, w26, w8, asr #1
	bl	_int_sin
	mov	x26, x0
	ldr	x8, [x23, #32]
	cbz	x8, LBB0_3
; %bb.2:
	add	x0, x23, #24
	add	x1, x23, #20
	ldp	w3, w2, [x24]
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldp	w7, w6, [x8]
	mov	w4, #0
	mov	w5, #0
	bl	_ff_fill_rectangle
LBB0_3:
	str	x24, [sp, #24]                  ; 8-byte Folded Spill
	ldr	w8, [x23, #8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.4:
	mov	w21, #0
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldp	w28, w27, [x23, #12]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x22, x23
	ldr	x24, [sp, #32]                  ; 8-byte Folded Reload
	ldr	w0, [x24, #4]
	mov	x1, x28
	bl	_AV_CEIL_RSHIFT
	mov	x20, x0
	ldr	w0, [x24]
	mov	x1, x27
	bl	_AV_CEIL_RSHIFT
	mov	x24, x0
	ldr	x23, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w0, [x23, #4]
	mov	x1, x28
	bl	_AV_CEIL_RSHIFT
	str	w0, [sp, #40]
	ldr	w0, [x23]
	mov	x1, x27
	bl	_AV_CEIL_RSHIFT
	stp	w0, w24, [sp, #44]
	sub	w8, w20, #1
	msub	w9, w26, w20, w26
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	stp	w20, w9, [sp, #52]
	mul	w8, w8, w25
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	mov	w9, #1
	sub	w9, w9, w24
	mul	w10, w9, w25
	cmp	w10, #0
	cinc	w10, w10, lt
	asr	w10, w10, #1
	stp	w8, w10, [sp, #60]
	mul	w8, w9, w26
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	stp	w8, w21, [sp, #68]
	stp	w26, w25, [sp, #76]
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	stp	x8, x19, [sp, #88]
	mov	x28, x19
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	ldr	x8, [x19]
	ldr	x27, [x8]
Lloh18:
	adrp	x8, _filter_slice@GOTPAGE
Lloh19:
	ldr	x8, [x8, _filter_slice@GOTPAGEOFF]
Lloh20:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_ff_filter_get_nb_threads
	mov	x1, x0
	mov	x0, x24
	bl	_FFMIN
	mov	x4, x0
	add	x2, sp, #40
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	blr	x27
	add	w21, w21, #1
	ldr	w8, [x22, #8]
	cmp	w21, w8
	mov	x23, x22
	b.ge	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x19, x28
	sub	w8, w21, #1
	cmp	w8, #1
	b.ls	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w28, #0
	mov	w27, #0
	b	LBB0_6
LBB0_9:
	add	x0, sp, #104
	bl	_av_frame_free
	ldp	x1, x0, [sp, #24]               ; 16-byte Folded Reload
	bl	_ff_filter_frame
	b	LBB0_11
LBB0_10:
	add	x0, sp, #104
	bl	_av_frame_free
Lloh21:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_11:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #112]              ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_VAR_N,8,3                      ; @VAR_N
	.comm	_VAR_T,8,3                      ; @VAR_T
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"n:%f time:%f angle:%f/PI\n"

	.comm	_M_PI,4,2                       ; @M_PI
	.comm	_FIXP,8,3                       ; @FIXP
	.comm	_INT_PI,4,2                     ; @INT_PI
	.comm	_filter_slice,4,2               ; @filter_slice
	.no_dead_strip	_filter_frame
.subsections_via_symbols
