	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_frame
_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	$168, %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	%rsi, -200(%rbp)
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rcx
	movq	8(%rcx), %rax
	movq	%rcx, -192(%rbp)                ## 8-byte Spill
	movq	16(%rcx), %rbx
	movq	(%rax), %r14
	movslq	(%rbx), %r15
	movq	%rsi, %rdi
	callq	_av_frame_is_writable
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movl	(%r14), %edx
	movl	4(%r14), %esi
	movq	%r14, %rdi
	callq	_ff_get_video_buffer
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_av_frame_copy_props
LBB0_4:
	movq	%r15, -120(%rbp)                ## 8-byte Spill
	movq	%r14, -208(%rbp)                ## 8-byte Spill
	movl	4(%rbx), %eax
	cmpl	$1, %eax
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_19
## %bb.5:
	cmpl	$2, %eax
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_46
## %bb.6:
	cmpl	$0, 8(%rbx)
	jle	LBB0_46
## %bb.7:
	xorl	%ecx, %ecx
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_8
LBB0_18:                                ##   in Loop: Header=BB0_8 Depth=1
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_45:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%r13), %rax
	movq	(%rax), %rax
	movl	-80(%rbp), %ecx                 ## 4-byte Reload
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	subl	%ecx, %edx
	cvtsi2sd	%edx, %xmm0
	subl	%edi, %r12d
	cvtsi2sd	%r12d, %xmm1
	divsd	%xmm1, %xmm0
	movq	%rax, -144(%rbp)
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -152(%rbp)
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	(%r12), %rax
	movl	(%rax), %eax
	movl	%eax, -156(%rbp)
	movq	(%r13), %rax
	movl	(%rax), %eax
	movl	%eax, -160(%rbp)
	movsd	%xmm0, -184(%rbp)
	movl	-84(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -164(%rbp)
	movl	%r15d, -176(%rbp)
	movl	%edi, -172(%rbp)
	movl	%ecx, -168(%rbp)
	movq	-192(%rbp), %rbx                ## 8-byte Reload
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_colorlevel_slice_16@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_ff_filter_get_nb_threads
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_FFMIN
	movq	%rbx, %rdi
	movl	%r14d, %esi
	leaq	-184(%rbp), %rdx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	*-48(%rbp)                      ## 8-byte Folded Reload
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	incq	%rcx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movslq	8(%rbx), %rax
	cmpq	%rax, %rcx
	jge	LBB0_46
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##       Child Loop BB0_13 Depth 3
                                        ##     Child Loop BB0_40 Depth 2
                                        ##       Child Loop BB0_42 Depth 3
	movq	16(%rbx), %rax
	movq	24(%rbx), %r15
	movl	(%rax,%rcx,4), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	cltq
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	8(%r13), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r12), %rax
	movq	(%rax), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movq	%rcx, %rbx
	shlq	$4, %rbx
	movq	_UINT16_MAX@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	imull	(%r15,%rbx), %edi
	callq	_lrint
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	(%r14), %edi
	imull	4(%r15,%rbx), %edi
	callq	_lrint
	movl	%eax, %r12d
	movl	(%r14), %edi
	imull	8(%r15,%rbx), %edi
	callq	_lrint
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	(%r14), %edi
	imull	12(%r15,%rbx), %edi
	callq	_lrint
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	testl	%edi, %edi
	js	LBB0_9
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r15d
	testl	%r12d, %r12d
	jns	LBB0_45
## %bb.17:                              ##   in Loop: Header=BB0_8 Depth=1
	testl	%r15d, %r15d
	jle	LBB0_18
## %bb.39:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%r13), %rax
	movq	(%rax), %rdx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %eax
	xorl	%esi, %esi
	xorl	%r12d, %r12d
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_44:                                ##   in Loop: Header=BB0_40 Depth=2
	movq	(%r13), %rcx
	movslq	(%rcx), %rcx
	leaq	(%rdx,%rcx,4), %rdx
	incl	%esi
	cmpl	%r15d, %esi
	jge	LBB0_45
LBB0_40:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_42 Depth 3
	testl	%eax, %eax
	jle	LBB0_44
## %bb.41:                              ##   in Loop: Header=BB0_40 Depth=2
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rdx,%rax,4), %r15
	xorl	%ebx, %ebx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	-120(%rbp), %r14                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_42:                                ##   Parent Loop BB0_8 Depth=1
                                        ##     Parent Loop BB0_40 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%r15,%rbx,4), %esi
	movl	%r12d, %edi
	callq	_FFMAX
	movl	%eax, %r12d
	addq	%r14, %rbx
	movslq	12(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_42
## %bb.43:                              ##   in Loop: Header=BB0_40 Depth=2
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %r15d
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_44
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_8 Depth=1
	movq	_UINT16_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %eax
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	(%r13), %rdx
	movslq	(%rdx), %rdx
	leaq	(%rsi,%rdx,4), %rsi
	incl	%ebx
	cmpl	%ecx, %ebx
	jge	LBB0_16
LBB0_11:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_13 Depth 3
	testl	%eax, %eax
	jle	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rsi,%rax,4), %r15
	xorl	%ebx, %ebx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	-120(%rbp), %r14                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_8 Depth=1
                                        ##     Parent Loop BB0_11 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%r15,%rbx,4), %esi
	callq	_FFMIN
	movl	%eax, %edi
	addq	%r14, %rbx
	movslq	12(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %ecx
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_15
LBB0_19:
	cmpl	$0, 8(%rbx)
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	jle	LBB0_46
## %bb.20:
	xorl	%ecx, %ecx
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_21
LBB0_31:                                ##   in Loop: Header=BB0_21 Depth=1
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	8(%r13), %rax
	movq	(%rax), %rax
	movl	-80(%rbp), %ecx                 ## 4-byte Reload
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	subl	%ecx, %edx
	cvtsi2sd	%edx, %xmm0
	subl	%edi, %r15d
	cvtsi2sd	%r15d, %xmm1
	divsd	%xmm1, %xmm0
	movq	%rax, -144(%rbp)
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -152(%rbp)
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	(%r12), %rax
	movl	(%rax), %eax
	movl	%eax, -156(%rbp)
	movq	(%r13), %rax
	movl	(%rax), %eax
	movl	%eax, -160(%rbp)
	movsd	%xmm0, -184(%rbp)
	movl	-84(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -164(%rbp)
	movl	%r14d, -176(%rbp)
	movl	%edi, -172(%rbp)
	movl	%ecx, -168(%rbp)
	movq	-192(%rbp), %rbx                ## 8-byte Reload
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_colorlevel_slice_8@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_ff_filter_get_nb_threads
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_FFMIN
	movq	%rbx, %rdi
	movl	%r15d, %esi
	leaq	-184(%rbp), %rdx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	*-48(%rbp)                      ## 8-byte Folded Reload
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	incq	%rcx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movslq	8(%rbx), %rax
	cmpq	%rax, %rcx
	jge	LBB0_46
LBB0_21:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_24 Depth 2
                                        ##       Child Loop BB0_26 Depth 3
                                        ##     Child Loop BB0_33 Depth 2
                                        ##       Child Loop BB0_35 Depth 3
	movq	16(%rbx), %rax
	movq	24(%rbx), %rbx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	cltq
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	8(%r13), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r12), %rax
	movq	(%rax), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movq	%rcx, %r12
	shlq	$4, %r12
	movq	_UINT8_MAX@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	imull	(%rbx,%r12), %edi
	callq	_lrint
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	(%r14), %edi
	imull	4(%rbx,%r12), %edi
	callq	_lrint
	movl	%eax, %r15d
	movl	(%r14), %edi
	imull	8(%rbx,%r12), %edi
	callq	_lrint
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	(%r14), %edi
	imull	12(%rbx,%r12), %edi
	callq	_lrint
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	testl	%edi, %edi
	js	LBB0_22
LBB0_29:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r14d
	testl	%r15d, %r15d
	jns	LBB0_38
## %bb.30:                              ##   in Loop: Header=BB0_21 Depth=1
	testl	%r14d, %r14d
	jle	LBB0_31
## %bb.32:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	8(%r13), %rax
	movq	(%rax), %rdx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %eax
	xorl	%esi, %esi
	xorl	%r15d, %r15d
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_33 Depth=2
	movq	(%r13), %rcx
	movslq	(%rcx), %rcx
	leaq	(%rdx,%rcx,4), %rdx
	incl	%esi
	cmpl	%r14d, %esi
	jge	LBB0_38
LBB0_33:                                ##   Parent Loop BB0_21 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_35 Depth 3
	testl	%eax, %eax
	jle	LBB0_37
## %bb.34:                              ##   in Loop: Header=BB0_33 Depth=2
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rdx,%rax,4), %r12
	xorl	%ebx, %ebx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	-120(%rbp), %r14                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_35:                                ##   Parent Loop BB0_21 Depth=1
                                        ##     Parent Loop BB0_33 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%r12,%rbx,4), %esi
	movl	%r15d, %edi
	callq	_FFMAX
	movl	%eax, %r15d
	addq	%r14, %rbx
	movslq	12(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_35
## %bb.36:                              ##   in Loop: Header=BB0_33 Depth=2
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %r14d
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	_UINT8_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_29
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %eax
	xorl	%ebx, %ebx
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_24 Depth=2
	movq	(%r13), %rdx
	movslq	(%rdx), %rdx
	leaq	(%rsi,%rdx,4), %rsi
	incl	%ebx
	cmpl	%ecx, %ebx
	jge	LBB0_29
LBB0_24:                                ##   Parent Loop BB0_21 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_26 Depth 3
	testl	%eax, %eax
	jle	LBB0_28
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=2
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rsi,%rax,4), %r12
	xorl	%r13d, %r13d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-120(%rbp), %r14                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_21 Depth=1
                                        ##     Parent Loop BB0_24 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%r12,%r13,4), %esi
	callq	_FFMIN
	movl	%eax, %edi
	addq	%r14, %r13
	movslq	12(%rbx), %rax
	cmpq	%rax, %r13
	jl	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_24 Depth=2
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %ecx
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_28
LBB0_46:
	cmpq	%r13, %r12
	movq	%r12, %rsi
	je	LBB0_48
## %bb.47:
	leaq	-200(%rbp), %rdi
	callq	_av_frame_free
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
LBB0_48:
	movq	-208(%rbp), %rdi                ## 8-byte Reload
	callq	_ff_filter_frame
LBB0_49:
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	-200(%rbp), %rdi
	callq	_av_frame_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_49
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_UINT8_MAX,4,2                  ## @UINT8_MAX
	.comm	_colorlevel_slice_8,4,2         ## @colorlevel_slice_8
	.comm	_UINT16_MAX,4,2                 ## @UINT16_MAX
	.comm	_colorlevel_slice_16,4,2        ## @colorlevel_slice_16
	.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	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
	mov	x20, x1
	stur	x1, [x29, #-88]
	ldr	x8, [x0, #8]
	stp	x8, x0, [sp, #56]               ; 16-byte Folded Spill
	ldp	x8, x19, [x8, #8]
	ldr	x21, [x8]
	ldrsw	x23, [x19]
	mov	x0, x1
	bl	_av_frame_is_writable
	mov	x25, x20
	cbnz	x0, LBB0_3
; %bb.1:
	ldp	w2, w1, [x21]
	mov	x0, x21
	bl	_ff_get_video_buffer
	cbz	x0, LBB0_49
; %bb.2:
	mov	x25, x0
	mov	x1, x20
	bl	_av_frame_copy_props
LBB0_3:
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	ldr	w8, [x19, #4]
	cmp	w8, #1
	str	x25, [sp, #48]                  ; 8-byte Folded Spill
	b.eq	LBB0_25
; %bb.4:
	cmp	w8, #2
	b.ne	LBB0_45
; %bb.5:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_45
; %bb.6:
	mov	x10, #0
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	w26, #0
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldp	w8, w11, [sp, #16]              ; 8-byte Folded Reload
	sub	w8, w8, w11
	scvtf	d0, w8
	ldp	x9, x8, [x20]
	ldr	x8, [x8]
	sub	w10, w26, w24
	scvtf	d1, w10
	fdiv	d0, d0, d1
	str	x8, [sp, #112]
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	str	x8, [sp, #104]
	ldp	x25, x22, [sp, #48]             ; 16-byte Folded Reload
	ldr	x8, [x25]
	ldr	w8, [x8]
	str	w8, [sp, #100]
	ldr	w10, [x9]
	str	d0, [sp, #72]
	stp	w28, w24, [sp, #80]
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	stp	w8, w10, [sp, #92]
	str	w11, [sp, #88]
	ldr	x8, [x22]
	ldr	x21, [x8]
Lloh0:
	adrp	x8, _colorlevel_slice_16@GOTPAGE
Lloh1:
	ldr	x8, [x8, _colorlevel_slice_16@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	mov	x0, x22
	bl	_ff_filter_get_nb_threads
	mov	x1, x0
	mov	x0, x28
	bl	_FFMIN
	mov	x4, x0
	add	x2, sp, #72
	mov	x0, x22
	mov	x1, x24
	mov	x3, #0
	blr	x21
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	add	x10, x10, #1
	ldrsw	x8, [x19, #8]
	cmp	x10, x8
	b.ge	LBB0_45
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_21 Depth 2
                                        ;       Child Loop BB0_23 Depth 3
                                        ;     Child Loop BB0_14 Depth 2
                                        ;       Child Loop BB0_16 Depth 3
	ldp	x9, x8, [x19, #16]
	ldr	w9, [x9, x10, lsl #2]
	stp	x9, x10, [sp, #32]              ; 16-byte Folded Spill
	sxtw	x22, w9
	ldr	x9, [x20, #8]
	ldr	x28, [x9]
	ldr	x9, [x25, #8]
	ldr	x9, [x9]
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
	add	x21, x8, x10, lsl #4
	ldr	w8, [x21]
Lloh3:
	adrp	x25, _UINT16_MAX@GOTPAGE
Lloh4:
	ldr	x25, [x25, _UINT16_MAX@GOTPAGEOFF]
	ldr	w9, [x25]
	mul	w0, w9, w8
	bl	_lrint
	mov	x24, x0
	ldr	w8, [x21, #4]
	ldr	w9, [x25]
	mul	w0, w9, w8
	bl	_lrint
	mov	x26, x0
	ldr	w8, [x21, #8]
	ldr	w9, [x25]
	mul	w0, w9, w8
	bl	_lrint
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	ldr	w8, [x21, #12]
	ldr	w9, [x25]
	mul	w0, w9, w8
	bl	_lrint
	str	w0, [sp, #16]                   ; 4-byte Folded Spill
	tbnz	w24, #31, LBB0_18
LBB0_10:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	ldr	w28, [x8]
	tbz	w26, #31, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w28, #1
	b.lt	LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	w25, #0
	mov	w26, #0
	ldr	x8, [x20, #8]
	ldr	x27, [x8]
	ldr	w8, [x19, #12]
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=2
	ldr	x9, [x20]
	ldrsw	x9, [x9]
	add	x27, x27, x9, lsl #2
	add	w25, w25, #1
	cmp	w25, w28
	b.ge	LBB0_8
LBB0_14:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_16 Depth 3
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	mov	x28, #0
	add	x21, x27, x22, lsl #2
LBB0_16:                                ;   Parent Loop BB0_9 Depth=1
                                        ;     Parent Loop BB0_14 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w1, [x21, x28, lsl #2]
	mov	x0, x26
	bl	_FFMAX
	mov	x26, x0
	ldrsw	x8, [x19, #12]
	add	x28, x28, x23
	cmp	x28, x8
	b.lt	LBB0_16
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=2
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	ldr	w28, [x9]
	b	LBB0_13
LBB0_18:                                ;   in Loop: Header=BB0_9 Depth=1
Lloh5:
	adrp	x8, _UINT16_MAX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UINT16_MAX@GOTPAGEOFF]
Lloh7:
	ldr	w24, [x8]
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_10
; %bb.19:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	w25, #0
	ldr	w8, [x19, #12]
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=2
	ldr	x10, [x20]
	ldrsw	x10, [x10]
	add	x28, x28, x10, lsl #2
	add	w25, w25, #1
	cmp	w25, w9
	b.ge	LBB0_10
LBB0_21:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_23 Depth 3
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=2
	mov	x27, #0
	add	x21, x28, x22, lsl #2
LBB0_23:                                ;   Parent Loop BB0_9 Depth=1
                                        ;     Parent Loop BB0_21 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w1, [x21, x27, lsl #2]
	mov	x0, x24
	bl	_FFMIN
	mov	x24, x0
	ldrsw	x8, [x19, #12]
	add	x27, x27, x23
	cmp	x27, x8
	b.lt	LBB0_23
; %bb.24:                               ;   in Loop: Header=BB0_21 Depth=2
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	ldr	w9, [x9]
	b	LBB0_20
LBB0_25:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_45
; %bb.26:
	mov	x10, #0
	b	LBB0_29
LBB0_27:                                ;   in Loop: Header=BB0_29 Depth=1
	mov	w26, #0
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=1
	ldp	w8, w11, [sp, #16]              ; 8-byte Folded Reload
	sub	w8, w8, w11
	scvtf	d0, w8
	ldp	x9, x8, [x20]
	ldr	x8, [x8]
	sub	w10, w26, w24
	scvtf	d1, w10
	fdiv	d0, d0, d1
	str	x8, [sp, #112]
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	str	x8, [sp, #104]
	ldp	x25, x22, [sp, #48]             ; 16-byte Folded Reload
	ldr	x8, [x25]
	ldr	w8, [x8]
	str	w8, [sp, #100]
	ldr	w10, [x9]
	str	d0, [sp, #72]
	stp	w28, w24, [sp, #80]
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	stp	w8, w10, [sp, #92]
	str	w11, [sp, #88]
	ldr	x8, [x22]
	ldr	x21, [x8]
Lloh8:
	adrp	x8, _colorlevel_slice_8@GOTPAGE
Lloh9:
	ldr	x8, [x8, _colorlevel_slice_8@GOTPAGEOFF]
Lloh10:
	ldr	w24, [x8]
	mov	x0, x22
	bl	_ff_filter_get_nb_threads
	mov	x1, x0
	mov	x0, x28
	bl	_FFMIN
	mov	x4, x0
	add	x2, sp, #72
	mov	x0, x22
	mov	x1, x24
	mov	x3, #0
	blr	x21
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	add	x10, x10, #1
	ldrsw	x8, [x19, #8]
	cmp	x10, x8
	b.ge	LBB0_45
LBB0_29:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_41 Depth 2
                                        ;       Child Loop BB0_43 Depth 3
                                        ;     Child Loop BB0_34 Depth 2
                                        ;       Child Loop BB0_36 Depth 3
	ldp	x9, x8, [x19, #16]
	ldr	w9, [x9, x10, lsl #2]
	stp	x9, x10, [sp, #32]              ; 16-byte Folded Spill
	sxtw	x22, w9
	ldr	x9, [x20, #8]
	ldr	x28, [x9]
	ldr	x9, [x25, #8]
	ldr	x9, [x9]
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
	add	x21, x8, x10, lsl #4
	ldr	w8, [x21]
Lloh11:
	adrp	x25, _UINT8_MAX@GOTPAGE
Lloh12:
	ldr	x25, [x25, _UINT8_MAX@GOTPAGEOFF]
	ldr	w9, [x25]
	mul	w0, w9, w8
	bl	_lrint
	mov	x24, x0
	ldr	w8, [x21, #4]
	ldr	w9, [x25]
	mul	w0, w9, w8
	bl	_lrint
	mov	x26, x0
	ldr	w8, [x21, #8]
	ldr	w9, [x25]
	mul	w0, w9, w8
	bl	_lrint
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	ldr	w8, [x21, #12]
	ldr	w9, [x25]
	mul	w0, w9, w8
	bl	_lrint
	str	w0, [sp, #16]                   ; 4-byte Folded Spill
	tbnz	w24, #31, LBB0_38
LBB0_30:                                ;   in Loop: Header=BB0_29 Depth=1
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	ldr	w28, [x8]
	tbz	w26, #31, LBB0_28
; %bb.31:                               ;   in Loop: Header=BB0_29 Depth=1
	cmp	w28, #1
	b.lt	LBB0_27
; %bb.32:                               ;   in Loop: Header=BB0_29 Depth=1
	mov	w25, #0
	mov	w26, #0
	ldr	x8, [x20, #8]
	ldr	x27, [x8]
	ldr	w8, [x19, #12]
	b	LBB0_34
LBB0_33:                                ;   in Loop: Header=BB0_34 Depth=2
	ldr	x9, [x20]
	ldrsw	x9, [x9]
	add	x27, x27, x9, lsl #2
	add	w25, w25, #1
	cmp	w25, w28
	b.ge	LBB0_28
LBB0_34:                                ;   Parent Loop BB0_29 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_36 Depth 3
	cmp	w8, #1
	b.lt	LBB0_33
; %bb.35:                               ;   in Loop: Header=BB0_34 Depth=2
	mov	x28, #0
	add	x21, x27, x22, lsl #2
LBB0_36:                                ;   Parent Loop BB0_29 Depth=1
                                        ;     Parent Loop BB0_34 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w1, [x21, x28, lsl #2]
	mov	x0, x26
	bl	_FFMAX
	mov	x26, x0
	ldrsw	x8, [x19, #12]
	add	x28, x28, x23
	cmp	x28, x8
	b.lt	LBB0_36
; %bb.37:                               ;   in Loop: Header=BB0_34 Depth=2
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	ldr	w28, [x9]
	b	LBB0_33
LBB0_38:                                ;   in Loop: Header=BB0_29 Depth=1
Lloh13:
	adrp	x8, _UINT8_MAX@GOTPAGE
Lloh14:
	ldr	x8, [x8, _UINT8_MAX@GOTPAGEOFF]
Lloh15:
	ldr	w24, [x8]
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_30
; %bb.39:                               ;   in Loop: Header=BB0_29 Depth=1
	mov	w25, #0
	ldr	w8, [x19, #12]
	b	LBB0_41
LBB0_40:                                ;   in Loop: Header=BB0_41 Depth=2
	ldr	x10, [x20]
	ldrsw	x10, [x10]
	add	x28, x28, x10, lsl #2
	add	w25, w25, #1
	cmp	w25, w9
	b.ge	LBB0_30
LBB0_41:                                ;   Parent Loop BB0_29 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_43 Depth 3
	cmp	w8, #1
	b.lt	LBB0_40
; %bb.42:                               ;   in Loop: Header=BB0_41 Depth=2
	mov	x27, #0
	add	x21, x28, x22, lsl #2
LBB0_43:                                ;   Parent Loop BB0_29 Depth=1
                                        ;     Parent Loop BB0_41 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w1, [x21, x27, lsl #2]
	mov	x0, x24
	bl	_FFMIN
	mov	x24, x0
	ldrsw	x8, [x19, #12]
	add	x27, x27, x23
	cmp	x27, x8
	b.lt	LBB0_43
; %bb.44:                               ;   in Loop: Header=BB0_41 Depth=2
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	ldr	w9, [x9]
	b	LBB0_40
LBB0_45:
	cmp	x25, x20
	b.eq	LBB0_47
; %bb.46:
	sub	x0, x29, #88
	bl	_av_frame_free
LBB0_47:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x25
	bl	_ff_filter_frame
LBB0_48:
	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
	add	sp, sp, #224
	ret
LBB0_49:
	sub	x0, x29, #88
	bl	_av_frame_free
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_48
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_UINT8_MAX,4,2                  ; @UINT8_MAX
	.comm	_colorlevel_slice_8,4,2         ; @colorlevel_slice_8
	.comm	_UINT16_MAX,4,2                 ; @UINT16_MAX
	.comm	_colorlevel_slice_16,4,2        ; @colorlevel_slice_16
	.no_dead_strip	_filter_frame
.subsections_via_symbols
