	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movq	%rsi, -136(%rbp)
	movq	8(%rdi), %rax
	movq	8(%rax), %r13
	movq	(%r13), %rax
	movq	_R@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	_G@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	_B@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	movq	%r13, -128(%rbp)                ## 8-byte Spill
	jle	LBB0_11
## %bb.1:
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx), %rax
	movq	8(%rcx), %rcx
	movq	(%rax), %rsi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %r8d
	movslq	(%rcx), %rcx
	movl	%r8d, %eax
	andl	$-2, %eax
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(,%rax,8), %rdi
	shlq	$3, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(,%rax,8), %rbx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(,%rax,8), %rax
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	movl	%r8d, -120(%rbp)                ## 4-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-128(%rbp), %r13                ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	-56(%rbp), %rsi                 ## 8-byte Folded Reload
	incl	%r15d
	cmpl	-88(%rbp), %r15d                ## 4-byte Folded Reload
	je	LBB0_11
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	testl	%r8d, %r8d
	jle	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r13), %r14
	movslq	%edx, %rdx
	cmpl	$1, %r8d
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rsi, %rcx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	40(%r13), %rcx
	movslq	(%rcx), %r9
	leaq	(%rax,%r9,8), %r12
	leaq	(%rbx,%r9,8), %r8
	leaq	(%rdi,%r9,8), %r13
	shlq	$4, %r9
	movl	-112(%rbp), %r10d               ## 4-byte Reload
	movq	%rsi, %rcx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rcx,%rdi), %r11
	movq	%r11, (%r14,%rdx,8)
	movq	(%rcx,%rbx), %rsi
	movq	%rsi, 8(%r14,%rdx,8)
	movq	(%rcx,%rax), %rsi
	movq	%rsi, 16(%r14,%rdx,8)
	movq	(%rcx,%r13), %rsi
	movq	%rsi, 24(%r14,%rdx,8)
	movq	(%rcx,%r8), %rsi
	movq	%rsi, 32(%r14,%rdx,8)
	movq	(%rcx,%r12), %rsi
	movq	%rsi, 40(%r14,%rdx,8)
	addq	$6, %rdx
	addq	%r9, %rcx
	addl	$-2, %r10d
	jne	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	-120(%rbp), %r8d                ## 4-byte Reload
	testb	$1, %r8b
	je	LBB0_2
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	(%rcx,%rsi,8), %rsi
	movq	%rsi, (%r14,%rdx,8)
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	(%rcx,%rsi,8), %rsi
	movq	%rsi, 8(%r14,%rdx,8)
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	(%rcx,%rsi,8), %rcx
	movq	%rcx, 16(%r14,%rdx,8)
	addq	$3, %rdx
	jmp	LBB0_2
LBB0_11:
	movq	_NB_COMPONENTS@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	64(%r13), %edx
	movq	8(%r13), %rdi
	movq	16(%r13), %rcx
	movl	24(%r13), %r8d
	movl	60(%r13), %r9d
	leaq	56(%r13), %rbx
	pushq	%rbx
	pushq	32(%r13)
	callq	_avpriv_init_elbg
	addq	$16, %rsp
	movl	(%r14), %esi
	movl	64(%r13), %edx
	movq	8(%r13), %rdi
	movq	16(%r13), %rcx
	movl	24(%r13), %r8d
	movl	60(%r13), %r9d
	pushq	%rbx
	pushq	32(%r13)
	callq	_avpriv_do_elbg
	addq	$16, %rsp
	cmpq	$0, 48(%r13)
	je	LBB0_43
## %bb.12:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax), %rbx
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movq	%rbx, %rdi
	callq	_ff_get_video_buffer
	testq	%rax, %rax
	je	LBB0_51
## %bb.13:
	movq	%rax, %r15
	movq	%rbx, -144(%rbp)                ## 8-byte Spill
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	16(%rax), %eax
	movl	%eax, 16(%r15)
	leaq	-136(%rbp), %rdi
	callq	_av_frame_free
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	movq	(%r15), %rax
	movq	(%rax), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	cmpl	$0, 24(%r13)
	jle	LBB0_16
## %bb.14:
	movq	8(%rax), %rax
	movq	16(%r13), %rcx
	addq	$8, %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	-8(%rcx), %esi
	movl	-4(%rcx), %edi
	shll	$16, %esi
	shll	$8, %edi
	orl	%esi, %edi
	orl	(%rcx), %edi
	orl	$-16777216, %edi                ## imm = 0xFF000000
	movl	%edi, (%rax,%rdx,4)
	incq	%rdx
	movslq	24(%r13), %rsi
	addq	$12, %rcx
	cmpq	%rsi, %rdx
	jl	LBB0_15
LBB0_16:
	movl	(%r14), %esi
	testl	%esi, %esi
	jle	LBB0_42
## %bb.17:
	movl	4(%r14), %edx
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rax
	movslq	(%rax), %rcx
	shlq	$3, %rcx
	leal	-1(%rdx), %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	incq	%rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	andq	$-4, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	addq	$-4, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	shrq	$2, %rax
	incq	%rax
	movl	%eax, %edi
	andl	$3, %edi
	andq	$-4, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rax
	shlq	$5, %rax
	xorl	%r8d, %r8d
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	xorl	%r15d, %r15d
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
LBB0_19:                                ##   in Loop: Header=BB0_20 Depth=1
	addq	%rcx, %r10
	incq	%r8
	cmpl	%esi, %r8d
	je	LBB0_42
LBB0_20:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_28 Depth 2
                                        ##     Child Loop BB0_31 Depth 2
                                        ##     Child Loop BB0_36 Depth 2
                                        ##     Child Loop BB0_40 Depth 2
	testl	%edx, %edx
	jle	LBB0_19
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	xorl	%r12d, %r12d
	movq	32(%r13), %r14
	movslq	%r15d, %r15
	cmpl	$3, -88(%rbp)                   ## 4-byte Folded Reload
	jb	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=1
	imulq	%r8, %rcx
	addq	-56(%rbp), %rcx                 ## 8-byte Folded Reload
	leaq	(%r14,%r15,8), %rdi
	subq	%rdi, %rcx
	cmpq	$32, %rcx
	jae	LBB0_25
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	%r10, %r9
LBB0_34:                                ##   in Loop: Header=BB0_20 Depth=1
	movl	%edx, %ebx
	subl	%r12d, %ebx
	movl	%r12d, %r11d
	notl	%r11d
	addl	%edx, %r11d
	andl	$3, %ebx
	je	LBB0_38
## %bb.35:                              ##   in Loop: Header=BB0_20 Depth=1
	leaq	(%r14,%r15,8), %rdi
	negl	%ebx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_36:                                ##   Parent Loop BB0_20 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rdi), %r13
	movq	%r13, (%r9)
	addq	$8, %r9
	addq	$8, %rdi
	decq	%rcx
	cmpl	%ecx, %ebx
	jne	LBB0_36
## %bb.37:                              ##   in Loop: Header=BB0_20 Depth=1
	subq	%rcx, %r15
	subl	%ecx, %r12d
	movq	-128(%rbp), %r13                ## 8-byte Reload
LBB0_38:                                ##   in Loop: Header=BB0_20 Depth=1
	cmpl	$3, %r11d
	jb	LBB0_18
## %bb.39:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	%rdx, %rdi
	movl	%esi, %r11d
	leaq	(%r14,%r15,8), %rcx
	addq	$24, %rcx
                                        ## kill: def $edi killed $edi killed $rdi def $rdi
	subl	%r12d, %edi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_40:                                ##   Parent Loop BB0_20 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-24(%rcx,%rbx,8), %rsi
	movq	%rsi, (%r9,%rbx,8)
	movq	-16(%rcx,%rbx,8), %rsi
	movq	%rsi, 8(%r9,%rbx,8)
	movq	-8(%rcx,%rbx,8), %rsi
	movq	%rsi, 16(%r9,%rbx,8)
	movq	(%rcx,%rbx,8), %rsi
	movq	%rsi, 24(%r9,%rbx,8)
	addq	$4, %rbx
	cmpl	%ebx, %edi
	jne	LBB0_40
## %bb.41:                              ##   in Loop: Header=BB0_20 Depth=1
	addq	%rbx, %r15
	movl	%r11d, %esi
	jmp	LBB0_18
LBB0_25:                                ##   in Loop: Header=BB0_20 Depth=1
	cmpq	$12, -72(%rbp)                  ## 8-byte Folded Reload
	jae	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_20 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_29
LBB0_27:                                ##   in Loop: Header=BB0_20 Depth=1
	leaq	(%r14,%r15,8), %rdi
	addq	$112, %rdi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_28:                                ##   Parent Loop BB0_20 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	-112(%rdi,%rbx,8), %xmm0
	movups	-96(%rdi,%rbx,8), %xmm1
	movups	%xmm0, (%r10,%rbx,8)
	movups	%xmm1, 16(%r10,%rbx,8)
	movups	-80(%rdi,%rbx,8), %xmm0
	movups	-64(%rdi,%rbx,8), %xmm1
	movups	%xmm0, 32(%r10,%rbx,8)
	movups	%xmm1, 48(%r10,%rbx,8)
	movups	-48(%rdi,%rbx,8), %xmm0
	movups	-32(%rdi,%rbx,8), %xmm1
	movups	%xmm0, 64(%r10,%rbx,8)
	movups	%xmm1, 80(%r10,%rbx,8)
	movups	-16(%rdi,%rbx,8), %xmm0
	movups	(%rdi,%rbx,8), %xmm1
	movups	%xmm0, 96(%r10,%rbx,8)
	movups	%xmm1, 112(%r10,%rbx,8)
	addq	$16, %rbx
	addq	$-4, %rcx
	jne	LBB0_28
LBB0_29:                                ##   in Loop: Header=BB0_20 Depth=1
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_32
## %bb.30:                              ##   in Loop: Header=BB0_20 Depth=1
	leaq	(%rbx,%r15), %rcx
	leaq	(%r14,%rcx,8), %rcx
	addq	$16, %rcx
	leaq	(%r10,%rbx,8), %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_31:                                ##   Parent Loop BB0_20 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	-16(%rcx,%rbx), %xmm0
	movups	(%rcx,%rbx), %xmm1
	movups	%xmm0, (%rdi,%rbx)
	movups	%xmm1, 16(%rdi,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %rax
	jne	LBB0_31
LBB0_32:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	addq	%rcx, %r15
	cmpq	%rcx, -120(%rbp)                ## 8-byte Folded Reload
	je	LBB0_18
## %bb.33:                              ##   in Loop: Header=BB0_20 Depth=1
	leaq	(%r10,%rcx,8), %r9
	movl	%ecx, %r12d
	jmp	LBB0_34
LBB0_42:
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	callq	_ff_filter_frame
	jmp	LBB0_52
LBB0_43:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jle	LBB0_50
## %bb.44:
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx), %rax
	movq	8(%rcx), %rcx
	movq	(%rax), %rax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	4(%rdx), %r15d
	movl	(%r14), %r14d
	movslq	(%rcx), %rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx,8), %r12
	shlq	$3, %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx,8), %r13
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx,8), %r10
	xorl	%r11d, %r11d
	xorl	%edx, %edx
	jmp	LBB0_46
	.p2align	4, 0x90
LBB0_45:                                ##   in Loop: Header=BB0_46 Depth=1
	incl	%r11d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	%rax, %r12
	addq	%rax, %r13
	addq	%rax, %r10
	cmpl	-88(%rbp), %r11d                ## 4-byte Folded Reload
	je	LBB0_50
LBB0_46:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_48 Depth 2
	testl	%r15d, %r15d
	jle	LBB0_45
## %bb.47:                              ##   in Loop: Header=BB0_46 Depth=1
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	16(%rax), %rsi
	movq	40(%rax), %rcx
	movslq	(%rcx), %r9
	movl	%edx, -96(%rbp)                 ## 4-byte Spill
	movslq	%edx, %rcx
	shlq	$3, %rcx
	addq	32(%rax), %rcx
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_48:                                ##   Parent Loop BB0_46 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rcx,%rdi,8), %r8d
	imull	%r14d, %r8d
	movslq	%r8d, %rax
	movslq	(%rsi,%rax,4), %rdx
	movq	%rdx, (%r12,%rbx,8)
	movslq	4(%rsi,%rax,4), %rdx
	movq	%rdx, (%r13,%rbx,8)
	movslq	8(%rsi,%rax,4), %rax
	movq	%rax, (%r10,%rbx,8)
	incq	%rdi
	addq	%r9, %rbx
	cmpl	%edi, %r15d
	jne	LBB0_48
## %bb.49:                              ##   in Loop: Header=BB0_46 Depth=1
	movl	-96(%rbp), %edx                 ## 4-byte Reload
	addl	%edi, %edx
	jmp	LBB0_45
LBB0_50:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_filter_frame                ## TAILCALL
LBB0_51:
	leaq	-136(%rbp), %rdi
	callq	_av_frame_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_52:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_R,8,3                          ## @R
	.comm	_G,8,3                          ## @G
	.comm	_B,8,3                          ## @B
	.comm	_NB_COMPONENTS,4,2              ## @NB_COMPONENTS
	.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, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x1
	mov	x19, x0
	str	x1, [sp, #8]
	ldr	x8, [x0, #8]
	ldr	x23, [x8, #8]
Lloh0:
	adrp	x8, _R@GOTPAGE
Lloh1:
	ldr	x8, [x8, _R@GOTPAGEOFF]
	ldr	x9, [x23]
Lloh2:
	ldr	x8, [x8]
	ldr	x22, [x9, x8, lsl #3]
Lloh3:
	adrp	x8, _G@GOTPAGE
Lloh4:
	ldr	x8, [x8, _G@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x24, [x9, x8, lsl #3]
Lloh6:
	adrp	x8, _B@GOTPAGE
Lloh7:
	ldr	x8, [x8, _B@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x25, [x9, x8, lsl #3]
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	w9, #0
	mov	w10, #0
	ldp	x11, x12, [x20]
	ldr	x15, [x11]
	ldrsw	x12, [x12]
	add	x11, x15, x25, lsl #3
	lsl	x12, x12, #3
	ldr	w13, [x19, #4]
	add	x14, x15, x24, lsl #3
	add	x15, x15, x22, lsl #3
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w9, w9, #1
	add	x11, x11, x12
	add	x14, x14, x12
	add	x15, x15, x12
	cmp	w9, w8
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cmp	w13, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x16, #0
	ldr	x0, [x23, #8]
	ldr	x17, [x23, #40]
	ldrsw	x17, [x17]
	lsl	x17, x17, #3
	add	x0, x0, w10, sxtw #3
	add	x0, x0, #16
	mov	x1, x13
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x2, [x15, x16]
	stur	x2, [x0, #-16]
	ldr	x2, [x14, x16]
	stur	x2, [x0, #-8]
	ldr	x2, [x11, x16]
	str	x2, [x0], #24
	add	x16, x16, x17
	add	w10, w10, #3
	subs	w1, w1, #1
	b.ne	LBB0_5
	b	LBB0_2
LBB0_6:
Lloh9:
	adrp	x26, _NB_COMPONENTS@GOTPAGE
Lloh10:
	ldr	x26, [x26, _NB_COMPONENTS@GOTPAGEOFF]
	ldr	w1, [x26]
	ldp	x0, x3, [x23, #8]
	ldr	w4, [x23, #24]
	ldp	w5, w2, [x23, #60]
	ldr	x6, [x23, #32]
	add	x21, x23, #56
	mov	x7, x21
	bl	_avpriv_init_elbg
	ldr	w1, [x26]
	ldp	x0, x3, [x23, #8]
	ldr	w4, [x23, #24]
	ldp	w5, w2, [x23, #60]
	ldr	x6, [x23, #32]
	mov	x7, x21
	bl	_avpriv_do_elbg
	ldr	x8, [x23, #48]
	cbz	x8, LBB0_25
; %bb.7:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x21, [x8]
	ldp	w2, w1, [x21]
	mov	x0, x21
	bl	_ff_get_video_buffer
	cbz	x0, LBB0_32
; %bb.8:
	mov	x22, x0
	ldr	w8, [x20, #16]
	str	w8, [x0, #16]
	add	x0, sp, #8
	bl	_av_frame_free
	ldr	x10, [x22]
	ldr	x8, [x10]
	ldr	w9, [x23, #24]
	cmp	w9, #1
	b.lt	LBB0_11
; %bb.9:
	mov	x9, #0
	ldr	x10, [x10, #8]
	ldr	x11, [x23, #16]
	add	x11, x11, #8
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldp	w12, w13, [x11, #-8]
	lsl	w12, w12, #16
	ldr	w14, [x11], #12
	orr	w12, w12, w13, lsl #8
	orr	w12, w12, w14
	orr	w12, w12, #0xff000000
	str	w12, [x10, x9, lsl #2]
	add	x9, x9, #1
	ldrsw	x12, [x23, #24]
	cmp	x9, x12
	b.lt	LBB0_10
LBB0_11:
	ldr	w9, [x19]
	cmp	w9, #1
	b.lt	LBB0_24
; %bb.12:
	mov	x10, #0
	mov	w0, #0
	ldr	w11, [x19, #4]
	ldr	x12, [x22, #8]
	ldrsw	x12, [x12]
	lsl	x12, x12, #3
	sub	w13, w11, #1
	add	x14, x13, #1
	and	x15, x14, #0x1fffffff8
	mov	x16, x8
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x16, x16, x12
	add	x10, x10, #1
	cmp	w10, w9
	b.eq	LBB0_24
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_22 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
	cmp	w11, #1
	b.lt	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x17, [x23, #32]
	sxtw	x0, w0
	cmp	w13, #7
	b.lo	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	madd	x1, x12, x10, x8
	add	x2, x17, x0, lsl #3
	sub	x1, x1, x2
	cmp	x1, #64
	b.hs	LBB0_21
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	w2, #0
	mov	x1, x16
LBB0_19:                                ;   in Loop: Header=BB0_15 Depth=1
	sub	w2, w11, w2
	mov	x3, x0
LBB0_20:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, x3, #1
	ldr	x3, [x17, x3, lsl #3]
	str	x3, [x1], #8
	mov	x3, x0
	subs	w2, w2, #1
	b.ne	LBB0_20
	b	LBB0_13
LBB0_21:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x3, #0
	add	x0, x15, x0
	mov	x4, x15
	add	x1, x16, x15, lsl #3
LBB0_22:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x5, x2, x3
	ldp	q0, q1, [x5]
	ldp	q2, q3, [x5, #32]
	add	x5, x16, x3
	stp	q0, q1, [x5]
	stp	q2, q3, [x5, #32]
	add	x3, x3, #64
	subs	x4, x4, #8
	b.ne	LBB0_22
; %bb.23:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x2, x15
	cmp	x14, x15
	b.eq	LBB0_13
	b	LBB0_19
LBB0_24:
	mov	x0, x21
	mov	x1, x22
	bl	_ff_filter_frame
	b	LBB0_33
LBB0_25:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_31
; %bb.26:
	mov	w9, #0
	mov	w10, #0
	ldp	x11, x12, [x20]
	ldr	x16, [x11]
	ldr	w11, [x19, #4]
	ldrsw	x13, [x12]
	add	x12, x16, x22, lsl #3
	lsl	x13, x13, #3
	ldr	w14, [x26]
	add	x15, x16, x24, lsl #3
	add	x16, x16, x25, lsl #3
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_28 Depth=1
	add	w9, w9, #1
	add	x12, x12, x13
	add	x15, x15, x13
	add	x16, x16, x13
	cmp	w9, w8
	b.eq	LBB0_31
LBB0_28:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_30 Depth 2
	cmp	w11, #1
	b.lt	LBB0_27
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	mov	x17, #0
	ldr	x0, [x23, #16]
	ldp	x1, x2, [x23, #32]
	ldrsw	x2, [x2]
	add	x1, x1, w10, sxtw #3
	lsl	x2, x2, #3
	mov	x3, x11
LBB0_30:                                ;   Parent Loop BB0_28 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w4, [x1], #8
	mul	w4, w14, w4
	add	x4, x0, w4, sxtw #2
	ldpsw	x5, x6, [x4]
	str	x5, [x12, x17]
	str	x6, [x15, x17]
	ldrsw	x4, [x4, #8]
	str	x4, [x16, x17]
	add	w10, w10, #1
	add	x17, x17, x2
	subs	w3, w3, #1
	b.ne	LBB0_30
	b	LBB0_27
LBB0_31:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x0, [x8]
	mov	x1, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_ff_filter_frame
LBB0_32:
	add	x0, sp, #8
	bl	_av_frame_free
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_33:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_R,8,3                          ; @R
	.comm	_G,8,3                          ; @G
	.comm	_B,8,3                          ; @B
	.comm	_NB_COMPONENTS,4,2              ; @NB_COMPONENTS
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_filter_frame
.subsections_via_symbols
