	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function apply_delogo
_apply_delogo:                          ## @apply_delogo
	.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	$376, %rsp                      ## imm = 0x178
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movl	%r8d, %r12d
	movl	%ecx, -104(%rbp)                ## 4-byte Spill
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	40(%rbp), %r13d
	movl	32(%rbp), %r14d
	movl	24(%rbp), %ebx
	movl	%ebx, %edi
	negl	%edi
	xorl	%esi, %esi
	callq	_FFMAX
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	leal	(%rbx,%r13), %edi
	movl	%edi, -56(%rbp)                 ## 4-byte Spill
	subl	%r12d, %edi
	xorl	%esi, %esi
	callq	_FFMAX
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	%r14d, %edi
	negl	%edi
	xorl	%esi, %esi
	callq	_FFMAX
	movq	%rax, %rbx
	movl	48(%rbp), %eax
	leal	(%rax,%r14), %r13d
	movl	%r13d, %edi
	subl	%r15d, %edi
	xorl	%esi, %esi
	callq	_FFMAX
	movq	%rax, %rdx
	movq	%r14, -176(%rbp)                ## 8-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	addl	%ebx, %r14d
	movl	%edx, %ebx
	notl	%ebx
	movl	%r13d, -68(%rbp)                ## 4-byte Spill
	addl	%r13d, %ebx
	cmpl	$0, 72(%rbp)
	jne	LBB0_2
## %bb.1:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movq	%rdx, %r13
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	movl	-104(%rbp), %ecx                ## 4-byte Reload
	movl	%r12d, %r8d
	movl	%r15d, %r9d
	callq	_av_image_copy_plane
	movq	%r13, %rdx
LBB0_2:
	leal	1(%r14), %r8d
	cmpl	%r8d, %ebx
	movl	24(%rbp), %r9d
	jle	LBB0_21
## %bb.3:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	%eax, %ecx
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	-96(%rbp), %r11                 ## 8-byte Reload
	addl	%edx, %r11d
	movl	48(%rbp), %esi
	movq	%rsi, %r12
	movl	%r12d, %ecx
	subl	%r11d, %ecx
	leal	-2(%rcx), %esi
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	-160(%rbp), %rdx                ## 8-byte Reload
	addl	%edx, %eax
	movq	%rdx, %r15
	movl	40(%rbp), %edx
	movq	%rdx, %r10
	subl	%eax, %edx
	movq	%rdx, -184(%rbp)                ## 8-byte Spill
	leal	-2(%rdx), %edi
	movq	%rdi, -200(%rbp)                ## 8-byte Spill
	movl	%esi, %edx
	imull	%edi, %edx
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	leal	(%rdx,%r11,2), %r11d
	addl	%r12d, %r12d
	subl	%r12d, %r11d
	subl	%r10d, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	leal	(%r15,%r9), %edx
	movslq	%edx, %r13
	movl	%r8d, %esi
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	imull	%r15d, %esi
	movslq	%esi, %rsi
	addq	%r13, %rsi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rsi,4), %rax
	addq	$4, %rax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movl	%r14d, %esi
	movl	-104(%rbp), %r10d               ## 4-byte Reload
	imull	%r10d, %esi
	movslq	%esi, %rsi
	movl	%r8d, %eax
	movl	%r8d, -120(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	imull	%r10d, %edi
	movslq	%edi, %rdi
	imull	%r10d, %eax
	movslq	%eax, %r12
	movq	-128(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rsi,4), %r8
	leal	1(%r13), %edx
	movq	%rdx, -272(%rbp)                ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movslq	%edx, %r14
	addq	%r14, %rsi
	leaq	(%rax,%rsi,4), %rdx
	movq	%rdx, -400(%rbp)                ## 8-byte Spill
	addq	%r14, %rdi
	leaq	(%rax,%rdi,4), %rdx
	movq	%rdx, -392(%rbp)                ## 8-byte Spill
	addq	%r13, %r12
	leaq	(%rax,%r12,4), %rax
	addq	$4, %rax
	movq	%rax, -264(%rbp)                ## 8-byte Spill
	movl	-72(%rbp), %r12d                ## 4-byte Reload
	notl	%r12d
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	addl	%esi, %r12d
	movq	16(%rbp), %rdi
	movq	%rdi, %rax
	shrq	$32, %rax
	leaq	(%r8,%r13,4), %rdx
	movq	%rdx, -320(%rbp)                ## 8-byte Spill
	movl	%r12d, -72(%rbp)                ## 4-byte Spill
	movslq	%r12d, %r13
	leaq	(%r8,%r13,4), %rdx
	movq	%rdx, -312(%rbp)                ## 8-byte Spill
	decl	%r13d
	movl	56(%rbp), %r12d
	movq	-176(%rbp), %rdx                ## 8-byte Reload
	addl	%r12d, %edx
	movq	%rdx, -176(%rbp)                ## 8-byte Spill
	addl	%r12d, %r9d
	leal	1(%r12), %r8d
	movl	%r8d, %edx
	subl	%esi, %edx
	movq	%rdx, -360(%rbp)                ## 8-byte Spill
	subl	%r12d, %esi
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	subl	%edx, %r8d
	movq	%r8, -304(%rbp)                 ## 8-byte Spill
	subl	%r12d, %edx
	movl	%edx, -68(%rbp)                 ## 4-byte Spill
	movslq	%r15d, %r15
	movslq	%r10d, %rdx
	movq	%rdx, -240(%rbp)                ## 8-byte Spill
	movslq	-120(%rbp), %rdx                ## 4-byte Folded Reload
	movq	%rdx, -232(%rbp)                ## 8-byte Spill
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	movslq	-64(%rbp), %rdx                 ## 4-byte Folded Reload
	movq	%rdx, -296(%rbp)                ## 8-byte Spill
	leal	-1(%rbx), %edx
	movslq	%edx, %rdx
	movq	%rdx, -288(%rbp)                ## 8-byte Spill
	movslq	%r13d, %r13
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movl	%edx, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	movq	-200(%rbp), %r10                ## 8-byte Reload
	imull	%edi, %edx
	movl	%edx, -136(%rbp)                ## 4-byte Spill
	addl	$-4, %ecx
	movl	%r10d, %edx
	imull	%ecx, %edx
	imull	%edi, %edx
	movl	%edx, -148(%rbp)                ## 4-byte Spill
	movl	%r10d, %edx
	imull	%edi, %edx
	addl	%edx, %edx
	movl	%edx, -212(%rbp)                ## 4-byte Spill
	movl	%r8d, %edx
	imull	%edi, %edx
	imull	%edi, %ecx
	addl	%edi, %edi
	movq	%rdi, -352(%rbp)                ## 8-byte Spill
	movl	%edx, -88(%rbp)                 ## 4-byte Spill
	negl	%edx
	movl	%edx, -84(%rbp)                 ## 4-byte Spill
	movl	%ecx, %edx
	negl	%edx
	movl	%edx, -144(%rbp)                ## 4-byte Spill
	movl	%r10d, %edx
	imull	%eax, %edx
	imull	%eax, %esi
	movl	%esi, -140(%rbp)                ## 4-byte Spill
	addl	$4, %r11d
	imull	%eax, %r11d
	movl	%r11d, -80(%rbp)                ## 4-byte Spill
	movq	-168(%rbp), %r11                ## 8-byte Reload
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	addl	$4, %esi
	imull	%eax, %esi
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	imull	%eax, %r8d
	addl	%r8d, %r8d
	negl	%r8d
	movq	-184(%rbp), %rsi                ## 8-byte Reload
	addl	$-4, %esi
	imull	%eax, %esi
	movq	%rax, -384(%rbp)                ## 8-byte Spill
	addl	%eax, %eax
	movl	%eax, -204(%rbp)                ## 4-byte Spill
	negl	%eax
	movl	%eax, -152(%rbp)                ## 4-byte Spill
	movq	-160(%rbp), %rax                ## 8-byte Reload
	notl	%eax
	addl	%r12d, %eax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movq	%r14, -328(%rbp)                ## 8-byte Spill
	subq	%r14, %r13
	movq	%r13, -376(%rbp)                ## 8-byte Spill
	shlq	$2, %r15
	movq	%r15, -344(%rbp)                ## 8-byte Spill
	movq	-240(%rbp), %rax                ## 8-byte Reload
	leaq	(,%rax,4), %rax
	movq	%rax, -336(%rbp)                ## 8-byte Spill
	movq	%rsi, -184(%rbp)                ## 8-byte Spill
	movl	%esi, %eax
	movl	%esi, -76(%rbp)                 ## 4-byte Spill
	movl	%edx, -208(%rbp)                ## 4-byte Spill
	movl	%edx, -132(%rbp)                ## 4-byte Spill
	movq	-232(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	movq	%r9, -256(%rbp)                 ## 8-byte Spill
	movq	%rbx, -248(%rbp)                ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-192(%rbp), %rsi                ## 8-byte Reload
	incq	%rsi
	movl	-148(%rbp), %eax                ## 4-byte Reload
	addl	%eax, -136(%rbp)                ## 4-byte Folded Spill
	subl	-212(%rbp), %eax                ## 4-byte Folded Reload
	movl	%eax, -148(%rbp)                ## 4-byte Spill
	movq	-368(%rbp), %rcx                ## 8-byte Reload
	addl	%ecx, -88(%rbp)                 ## 4-byte Folded Spill
	movq	-352(%rbp), %rax                ## 8-byte Reload
	subl	%eax, %ecx
	movl	-144(%rbp), %edx                ## 4-byte Reload
	addl	%edx, -84(%rbp)                 ## 4-byte Folded Spill
	addl	%eax, %edx
	movl	%edx, -144(%rbp)                ## 4-byte Spill
	movl	-208(%rbp), %edx                ## 4-byte Reload
	subl	%edx, -140(%rbp)                ## 4-byte Folded Spill
	movl	-80(%rbp), %eax                 ## 4-byte Reload
	addl	-112(%rbp), %eax                ## 4-byte Folded Reload
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	-204(%rbp), %eax                ## 4-byte Reload
	addl	%eax, %r8d
	addl	%edx, -132(%rbp)                ## 4-byte Folded Spill
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	addl	-184(%rbp), %edx                ## 4-byte Folded Reload
	movl	%edx, -76(%rbp)                 ## 4-byte Spill
	subl	%eax, -152(%rbp)                ## 4-byte Folded Spill
	addq	-344(%rbp), %r11                ## 8-byte Folded Reload
	movq	-336(%rbp), %rax                ## 8-byte Reload
	addq	%rax, -264(%rbp)                ## 8-byte Folded Spill
	movq	-248(%rbp), %rbx                ## 8-byte Reload
	movq	%rsi, -192(%rbp)                ## 8-byte Spill
	cmpl	%esi, %ebx
	je	LBB0_21
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	%rcx, -368(%rbp)                ## 8-byte Spill
	movq	-272(%rbp), %rax                ## 8-byte Reload
	cmpl	%eax, -72(%rbp)                 ## 4-byte Folded Reload
	jle	LBB0_20
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-192(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rcx
	subq	-296(%rbp), %rcx                ## 8-byte Folded Reload
	movq	%rcx, %rsi
	movq	-240(%rbp), %r14                ## 8-byte Reload
	imulq	%r14, %rsi
	leaq	-1(%rcx), %rax
	imulq	%r14, %rax
	movq	-320(%rbp), %r15                ## 8-byte Reload
	movl	(%r15,%rax,4), %edi
	addl	(%r15,%rsi,4), %edi
	movq	%rcx, %rdx
	movq	%rcx, -408(%rbp)                ## 8-byte Spill
	leaq	1(%rcx), %rdx
	imulq	%r14, %rdx
	addl	(%r15,%rdx,4), %edi
	movq	-312(%rbp), %rcx                ## 8-byte Reload
	movl	(%rcx,%rax,4), %eax
	addl	(%rcx,%rsi,4), %eax
	addl	(%rcx,%rdx,4), %eax
	cmpq	-232(%rbp), %rbx                ## 8-byte Folded Reload
	sete	%cl
	cmpq	-288(%rbp), %rbx                ## 8-byte Folded Reload
	sete	%dl
	orb	%cl, %dl
	movb	%dl, -42(%rbp)                  ## 1-byte Spill
	movq	-248(%rbp), %rcx                ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	subl	%ebx, %ecx
	movl	%ecx, -220(%rbp)                ## 4-byte Spill
	cmpl	%ebx, -68(%rbp)                 ## 4-byte Folded Reload
	setbe	%r14b
	seta	%r15b
	movq	-176(%rbp), %rsi                ## 8-byte Reload
	movl	%esi, %ecx
	subl	%ebx, %ecx
	setbe	%dl
	seta	%r12b
	movq	-304(%rbp), %rsi                ## 8-byte Reload
	leal	(%rsi,%rbx), %esi
	cmovbel	%esi, %ecx
	movl	%ecx, -216(%rbp)                ## 4-byte Spill
	andb	%r15b, %dl
	movb	%dl, -43(%rbp)                  ## 1-byte Spill
	orb	%r14b, %r12b
	movb	%r12b, -41(%rbp)                ## 1-byte Spill
	movl	-136(%rbp), %ecx                ## 4-byte Reload
	movl	%ecx, %esi
	imull	%edi, %esi
	movl	-88(%rbp), %edx                 ## 4-byte Reload
	imull	%edx, %eax
	addl	%eax, %esi
	imull	-84(%rbp), %edi                 ## 4-byte Folded Reload
	addl	%eax, %edi
	movl	%edi, -224(%rbp)                ## 4-byte Spill
	movl	%edx, %edi
	xorl	%r13d, %r13d
	movq	-160(%rbp), %rax                ## 8-byte Reload
	movl	%eax, %edx
	movl	%r10d, %eax
	movl	%r10d, -48(%rbp)                ## 4-byte Spill
	movl	%ecx, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	-132(%rbp), %eax                ## 4-byte Reload
	movl	%eax, -128(%rbp)                ## 4-byte Spill
	movl	-76(%rbp), %r15d                ## 4-byte Reload
	movl	-140(%rbp), %ebx                ## 4-byte Reload
	movl	-80(%rbp), %r14d                ## 4-byte Reload
	movq	-328(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -280(%rbp)                ## 8-byte Spill
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movq	%r11, -168(%rbp)                ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	-256(%rbp), %r9                 ## 8-byte Reload
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	movq	-200(%rbp), %r10                ## 8-byte Reload
	movq	-168(%rbp), %r11                ## 8-byte Reload
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movl	56(%rbp), %ecx
	movq	%rcx, %rsi
	subl	%eax, %ecx
	movq	-264(%rbp), %rdx                ## 8-byte Reload
	imull	(%rdx,%r13,4), %eax
	imull	%r12d, %ecx
	addl	%eax, %ecx
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%esi
	movl	%eax, %r12d
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movl	-96(%rbp), %edx                 ## 4-byte Reload
LBB0_19:                                ##   in Loop: Header=BB0_6 Depth=2
	movl	%r12d, (%r11,%r13,4)
	incq	-280(%rbp)                      ## 8-byte Folded Spill
	addl	-224(%rbp), %esi                ## 4-byte Folded Reload
	addl	%r14d, %ebx
	addl	%r8d, %r14d
	addl	%r15d, -128(%rbp)               ## 4-byte Folded Spill
	addl	-152(%rbp), %r15d               ## 4-byte Folded Reload
	movq	-104(%rbp), %rax                ## 8-byte Reload
	addl	-84(%rbp), %eax                 ## 4-byte Folded Reload
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	decl	-48(%rbp)                       ## 4-byte Folded Spill
	decl	%edx
	incq	%r13
	addl	-88(%rbp), %edi                 ## 4-byte Folded Reload
	cmpl	%r13d, %r10d
	je	LBB0_20
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$0, 64(%rbp)
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	testq	%r13, %r13
	sete	%al
	orb	-42(%rbp), %al                  ## 1-byte Folded Reload
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=2
	xorl	%r12d, %r12d
	cmpq	%r13, -376(%rbp)                ## 8-byte Folded Reload
	je	LBB0_19
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	-272(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r13), %rcx
	leal	1(%r13), %eax
	imull	-48(%rbp), %eax                 ## 4-byte Folded Reload
	imull	-384(%rbp), %eax                ## 4-byte Folded Reload
	movl	%edx, -96(%rbp)                 ## 4-byte Spill
	movl	%eax, %edx
	imull	-220(%rbp), %edx                ## 4-byte Folded Reload
	imull	-408(%rbp), %eax                ## 4-byte Folded Reload
	movl	%esi, -64(%rbp)                 ## 4-byte Spill
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	addl	%edi, %esi
	addl	%esi, %edx
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	movq	-400(%rbp), %rdi                ## 8-byte Reload
	movl	-4(%rdi,%r13,4), %esi
	addl	(%rdi,%r13,4), %esi
	addl	4(%rdi,%r13,4), %esi
	addl	%eax, %edx
	leal	(%rdx,%rdx,2), %edi
	movl	%edi, %eax
	sarl	%eax
	imull	%ebx, %esi
	addl	%eax, %esi
	movq	-392(%rbp), %rdx                ## 8-byte Reload
	movl	-4(%rdx,%r13,4), %eax
	addl	(%rdx,%r13,4), %eax
	addl	4(%rdx,%r13,4), %eax
	imull	-128(%rbp), %eax                ## 4-byte Folded Reload
	addl	%esi, %eax
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	addl	%esi, %eax
	cltd
	idivl	%edi
	movl	-96(%rbp), %edx                 ## 4-byte Reload
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movl	%eax, %r12d
	cmpl	%ecx, %r9d
	setbe	%al
	andb	-43(%rbp), %al                  ## 1-byte Folded Reload
	cmpb	$1, %al
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=2
	cmpl	%ecx, -56(%rbp)                 ## 4-byte Folded Reload
	ja	LBB0_19
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=2
	movl	%edx, %esi
	cmpl	%ecx, %r9d
	ja	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=2
	xorl	%eax, %eax
	cmpl	%ecx, -56(%rbp)                 ## 4-byte Folded Reload
	ja	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	-360(%rbp), %rax                ## 8-byte Reload
	movq	-280(%rbp), %rcx                ## 8-byte Reload
	leal	(%rax,%rcx), %esi
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=2
	xorl	%edi, %edi
	callq	_FFMAX
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=2
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=2
	movl	%eax, %edi
	movl	-216(%rbp), %esi                ## 4-byte Reload
	callq	_FFMAX
	jmp	LBB0_18
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=2
	xorl	%r12d, %r12d
	jmp	LBB0_19
LBB0_21:
	addq	$376, %rsp                      ## imm = 0x178
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_apply_delogo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apply_delogo
_apply_delogo:                          ; @apply_delogo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #464
	.cfi_def_cfa_offset 464
	stp	x28, x27, [sp, #368]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #384]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #400]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #416]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #432]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #448]            ; 16-byte Folded Spill
	add	x29, sp, #448
	.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	x21, x7
	mov	x19, x6
	mov	x25, x5
	mov	x20, x4
	stp	x3, x0, [x29, #-120]            ; 16-byte Folded Spill
	stp	x2, x1, [x29, #-104]            ; 16-byte Folded Spill
	ldp	w22, w28, [x29, #20]
	ldr	w26, [x29, #16]
	ldr	w24, [x29, #36]
	neg	w0, w7
	mov	w1, #0
	bl	_FFMAX
	stur	x0, [x29, #-136]                ; 8-byte Folded Spill
	stur	w21, [x29, #-124]               ; 4-byte Folded Spill
	stur	w22, [x29, #-152]               ; 4-byte Folded Spill
	add	w8, w22, w21
	stur	w8, [x29, #-140]                ; 4-byte Folded Spill
	sub	w0, w8, w20
	mov	w1, #0
	bl	_FFMAX
	mov	x23, x0
	neg	w0, w26
	mov	w1, #0
	bl	_FFMAX
	mov	x27, x0
	stur	w28, [x29, #-160]               ; 4-byte Folded Spill
	add	w22, w28, w26
	sub	w0, w22, w25
	mov	w1, #0
	bl	_FFMAX
	mov	x28, x0
	add	w9, w27, w26
	mvn	w8, w28
	add	w21, w22, w8
	cbnz	w24, LBB0_2
; %bb.1:
	ldp	x0, x2, [x29, #-112]            ; 16-byte Folded Reload
	ldur	x1, [x29, #-96]                 ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	ldur	x3, [x29, #-120]                ; 8-byte Folded Reload
                                        ; kill: def $w3 killed $w3 killed $x3
	mov	x4, x20
	mov	x5, x25
	mov	x20, x9
	bl	_av_image_copy_plane
	mov	x9, x20
LBB0_2:
	add	w8, w9, #1
	cmp	w21, w8
	b.le	LBB0_21
; %bb.3:
	mov	x4, x21
	ldur	w21, [x29, #-124]               ; 4-byte Folded Reload
	ldur	x10, [x29, #-136]               ; 8-byte Folded Reload
	add	w12, w10, w21
	stp	x9, x12, [x29, #-184]           ; 16-byte Folded Spill
	mov	x16, x10
	mvn	w11, w23
	ldur	x24, [x29, #-120]               ; 8-byte Folded Reload
	mul	w13, w9, w24
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	add	x10, x9, w13, sxtw #2
	stur	x10, [x29, #-168]               ; 8-byte Folded Spill
	mul	w14, w4, w24
	ldur	w10, [x29, #-140]               ; 4-byte Folded Reload
	add	w5, w10, w11
	sxtw	x12, w12
	sxtw	x11, w13
	sxtw	x13, w14
	mul	w15, w8, w24
	ldr	w6, [x29, #28]
	add	w0, w27, w28
	ldur	w3, [x29, #-160]                ; 4-byte Folded Reload
	sub	w1, w3, w0
	sub	w14, w1, #2
	add	w2, w16, w23
	mov	x27, x16
	ldur	w20, [x29, #-152]               ; 4-byte Folded Reload
	sub	w16, w20, w2
	sub	w7, w16, #2
	mul	w17, w14, w7
	add	w0, w17, w0, lsl #1
	sub	w0, w0, w3, lsl #1
	ldur	x25, [x29, #-96]                ; 8-byte Folded Reload
	mul	w3, w8, w25
	sub	w2, w2, w20
	add	w30, w12, #1
	add	w20, w6, w26
	str	w20, [sp, #76]                  ; 4-byte Folded Spill
	add	x15, x12, w15, sxtw
	add	x12, x12, w3, sxtw
	mov	x3, x30
	sxtw	x20, w3
	sub	w1, w1, #4
	ldur	x3, [x29, #-112]                ; 8-byte Folded Reload
	add	x12, x3, x12, lsl #2
	mul	w3, w7, w1
	mul	w23, w3, w19
	add	x15, x9, x15, lsl #2
	add	x13, x13, x20
	add	x13, x9, x13, lsl #2
	add	x11, x11, x20
	add	x11, x9, x11, lsl #2
	stp	x11, x13, [sp, #56]             ; 16-byte Folded Spill
	sub	w11, w22, w6
	str	w11, [sp, #52]                  ; 4-byte Folded Spill
	add	w3, w6, w21
	add	w11, w6, #1
	sub	w13, w11, w22
	str	w13, [sp, #48]                  ; 4-byte Folded Spill
	sub	w11, w11, w10
	str	w11, [sp, #124]                 ; 4-byte Folded Spill
	sub	w11, w10, w6
	stur	w11, [x29, #-112]               ; 4-byte Folded Spill
	mul	w22, w1, w19
	mneg	w21, w1, w19
	sxtw	x13, w8
	ldur	x8, [x29, #-184]                ; 8-byte Folded Reload
	sxtw	x9, w8
	sub	w8, w4, #1
	sxtw	x8, w8
	stp	x8, x9, [sp, #24]               ; 16-byte Folded Spill
	sub	w8, w5, #1
	sxtw	x8, w8
	mul	w11, w7, w19
	lsl	w11, w11, #1
	str	w11, [sp, #116]                 ; 4-byte Folded Spill
	ldp	x9, x10, [x29, #-176]           ; 16-byte Folded Reload
	add	x9, x10, w9, sxtw #2
	str	x9, [sp, #16]                   ; 8-byte Folded Spill
	mul	w9, w17, w19
	str	w9, [sp, #180]                  ; 4-byte Folded Spill
	mul	w11, w14, w19
	lsr	x1, x19, #32
	lsl	w9, w19, #1
	str	w9, [sp, #112]                  ; 4-byte Folded Spill
	mneg	w19, w14, w19
	str	w5, [sp, #120]                  ; 4-byte Folded Spill
	add	x9, x10, w5, sxtw #2
	str	x9, [sp, #8]                    ; 8-byte Folded Spill
	mul	w10, w17, w1
	add	w9, w0, #4
	mul	w9, w9, w1
	stp	w9, w10, [sp, #172]             ; 8-byte Folded Spill
	add	w9, w2, #4
	mul	w9, w9, w1
	str	w9, [sp, #108]                  ; 4-byte Folded Spill
	mul	w9, w14, w1
	mov	x14, x11
	neg	w17, w9, lsl #1
	sub	w9, w16, #4
	mov	x16, x19
	mul	w10, w9, w1
	mvn	w9, w27
	stur	w6, [x29, #-212]                ; 4-byte Folded Spill
	add	w9, w9, w6
	str	x9, [sp, #184]                  ; 8-byte Folded Spill
	str	x20, [sp, #128]                 ; 8-byte Folded Spill
	sub	x8, x8, x20
	stur	x8, [x29, #-152]                ; 8-byte Folded Spill
	add	x8, x15, #4
	stur	x8, [x29, #-160]                ; 8-byte Folded Spill
	mov	x15, x1
	sxtw	x8, w24
	str	x8, [sp]                        ; 8-byte Folded Spill
	sbfiz	x9, x24, #2, #32
	add	x1, x12, #4
	sbfiz	x8, x25, #2, #32
	stp	x8, x9, [sp, #88]               ; 16-byte Folded Spill
	ldr	w2, [x29, #32]
	mul	w8, w7, w15
	lsl	w9, w15, #1
	stp	w9, w8, [sp, #80]               ; 8-byte Folded Spill
	neg	w5, w9
	str	w10, [sp, #104]                 ; 4-byte Folded Spill
	stp	w8, w10, [sp, #164]             ; 8-byte Folded Spill
	str	x13, [sp, #40]                  ; 8-byte Folded Spill
	str	x13, [sp, #152]                 ; 8-byte Folded Spill
	stp	x30, x7, [sp, #216]             ; 16-byte Folded Spill
	str	w3, [sp, #212]                  ; 4-byte Folded Spill
	str	x15, [sp, #200]                 ; 8-byte Folded Spill
	str	w2, [sp, #196]                  ; 4-byte Folded Spill
	str	w4, [sp, #136]                  ; 4-byte Folded Spill
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #152]                  ; 8-byte Folded Reload
	add	x0, x0, #1
	ldr	w8, [sp, #180]                  ; 4-byte Folded Reload
	ldp	w9, w11, [sp, #144]             ; 8-byte Folded Reload
	add	w8, w8, w9
	str	w8, [sp, #180]                  ; 4-byte Folded Spill
	ldp	w10, w8, [sp, #112]             ; 8-byte Folded Reload
	sub	w23, w9, w8
	ldr	w9, [sp, #140]                  ; 4-byte Folded Reload
	add	w14, w14, w9
	sub	w22, w9, w10
	add	w16, w16, w11
	add	w21, w11, w10
	ldr	w11, [sp, #176]                 ; 4-byte Folded Reload
	ldr	w13, [sp, #84]                  ; 4-byte Folded Reload
	sub	w11, w11, w13
	str	w11, [sp, #176]                 ; 4-byte Folded Spill
	ldr	w11, [sp, #172]                 ; 4-byte Folded Reload
	ldr	w12, [sp, #108]                 ; 4-byte Folded Reload
	add	w11, w11, w12
	str	w11, [sp, #172]                 ; 4-byte Folded Spill
	ldr	w12, [sp, #80]                  ; 4-byte Folded Reload
	add	w17, w17, w12
	ldr	w11, [sp, #164]                 ; 4-byte Folded Reload
	add	w11, w11, w13
	str	w11, [sp, #164]                 ; 4-byte Folded Spill
	ldr	w11, [sp, #104]                 ; 4-byte Folded Reload
	ldr	w13, [sp, #168]                 ; 4-byte Folded Reload
	add	w13, w13, w11
	str	w13, [sp, #168]                 ; 4-byte Folded Spill
	sub	w5, w5, w12
	ldur	x11, [x29, #-160]               ; 8-byte Folded Reload
	ldr	x12, [sp, #96]                  ; 8-byte Folded Reload
	add	x11, x11, x12
	stur	x11, [x29, #-160]               ; 8-byte Folded Spill
	ldr	x11, [sp, #88]                  ; 8-byte Folded Reload
	add	x1, x1, x11
	ldr	w4, [sp, #136]                  ; 4-byte Folded Reload
	str	x0, [sp, #152]                  ; 8-byte Folded Spill
	cmp	w4, w0
	b.eq	LBB0_21
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	stp	w22, w23, [sp, #140]            ; 8-byte Folded Spill
	str	w21, [sp, #148]                 ; 4-byte Folded Spill
	ldr	w8, [sp, #120]                  ; 4-byte Folded Reload
	ldr	x9, [sp, #128]                  ; 8-byte Folded Reload
	cmp	w8, w9
	b.le	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x20, #0
	mov	x6, #0
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldr	x4, [sp, #152]                  ; 8-byte Folded Reload
	sub	x11, x4, x8
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	mul	x8, x11, x0
	lsl	x9, x8, #2
	ldr	x13, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w10, [x13, x9]
	stur	x11, [x29, #-96]                ; 8-byte Folded Spill
	sub	x11, x11, #1
	mul	x11, x11, x0
	lsl	x11, x11, #2
	ldr	w12, [x13, x11]
	add	x8, x0, x8
	lsl	x8, x8, #2
	ldr	w13, [x13, x8]
	add	w10, w12, w10
	add	w10, w10, w13
	ldr	x12, [sp, #8]                   ; 8-byte Folded Reload
	ldr	w9, [x12, x9]
	ldr	w11, [x12, x11]
	ldr	w8, [x12, x8]
	add	w9, w11, w9
	add	w8, w9, w8
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	cmp	x4, x9
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	ccmp	x4, x9, #4, ne
	cset	w9, eq
	stur	w9, [x29, #-140]                ; 4-byte Folded Spill
	ldr	w9, [sp, #136]                  ; 4-byte Folded Reload
	sub	w0, w9, w4
	ldr	w9, [sp, #52]                   ; 4-byte Folded Reload
	cmp	w9, w4
	cset	w9, ls
	cset	w11, hi
	ldr	w12, [sp, #76]                  ; 4-byte Folded Reload
	subs	w12, w12, w4
	cset	w13, ls
	and	w11, w13, w11
	stur	w11, [x29, #-104]               ; 4-byte Folded Spill
	cset	w11, hi
	ldr	w13, [sp, #48]                  ; 4-byte Folded Reload
	add	w13, w13, w4
	orr	w9, w11, w9
	stur	w9, [x29, #-176]                ; 4-byte Folded Spill
	csel	w9, w12, w13, hi
	str	w9, [sp, #192]                  ; 4-byte Folded Spill
	mul	w8, w14, w8
	ldp	w24, w25, [sp, #176]            ; 8-byte Folded Reload
	madd	w27, w25, w10, w8
	madd	w13, w16, w10, w8
	ldp	x26, x19, [sp, #56]             ; 16-byte Folded Reload
	mov	x22, x14
	ldp	w28, w4, [sp, #164]             ; 8-byte Folded Reload
	ldr	w23, [sp, #172]                 ; 4-byte Folded Reload
	ldr	x21, [sp, #128]                 ; 8-byte Folded Reload
	stp	w16, w14, [x29, #-188]          ; 8-byte Folded Spill
	stur	w17, [x29, #-192]               ; 4-byte Folded Spill
	stur	x1, [x29, #-200]                ; 8-byte Folded Spill
	stp	w13, w5, [x29, #-208]           ; 8-byte Folded Spill
	stur	w0, [x29, #-168]                ; 4-byte Folded Spill
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	ldp	x30, x7, [sp, #216]             ; 16-byte Folded Reload
	ldr	w3, [sp, #212]                  ; 4-byte Folded Reload
	ldp	w16, w14, [x29, #-188]          ; 8-byte Folded Reload
	ldr	x15, [sp, #200]                 ; 8-byte Folded Reload
	ldur	w17, [x29, #-192]               ; 4-byte Folded Reload
	ldur	x1, [x29, #-200]                ; 8-byte Folded Reload
	ldr	w2, [sp, #196]                  ; 4-byte Folded Reload
	ldp	w13, w5, [x29, #-208]           ; 8-byte Folded Reload
	ldur	x6, [x29, #-120]                ; 8-byte Folded Reload
	ldur	w4, [x29, #-124]                ; 4-byte Folded Reload
	ldur	w11, [x29, #-136]               ; 4-byte Folded Reload
	ldur	x8, [x29, #-160]                ; 8-byte Folded Reload
	ldr	w8, [x8, x20, lsl #2]
	ldur	w10, [x29, #-212]               ; 4-byte Folded Reload
	sub	w9, w10, w0
	mul	w9, w9, w11
	madd	w8, w8, w0, w9
	udiv	w11, w8, w10
	ldur	w0, [x29, #-168]                ; 4-byte Folded Reload
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	str	w11, [x1, x20, lsl #2]
	add	x21, x21, #1
	add	w27, w27, w13
	add	w24, w24, w23
	add	w23, w23, w17
	add	w28, w28, w4
	add	w4, w4, w5
	add	w25, w25, w16
	sub	x6, x6, #1
	add	x20, x20, #1
	add	w22, w22, w14
	add	x19, x19, #4
	add	x26, x26, #4
	cmp	w7, w20
	b.eq	LBB0_4
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cbz	w2, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	w11, #0
	cmp	x20, #0
	cset	w8, eq
	ldur	w9, [x29, #-140]                ; 4-byte Folded Reload
	orr	w8, w9, w8
	tbnz	w8, #0, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	ldur	x8, [x29, #-152]                ; 8-byte Folded Reload
	cmp	x8, x20
	b.eq	LBB0_8
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=2
	add	w8, w7, w6
	madd	w8, w8, w20, w8
	mul	w8, w8, w15
	ldp	w9, w10, [x26, #-4]
	ldr	w11, [x26, #4]
	add	w9, w9, w10
	add	w9, w9, w11
	ldp	w10, w11, [x19, #-4]
	ldr	w12, [x19, #4]
	add	w10, w10, w11
	add	w10, w10, w12
	add	w11, w25, w22
	madd	w11, w8, w0, w11
	ldur	x12, [x29, #-96]                ; 8-byte Folded Reload
	madd	w8, w8, w12, w11
	add	w8, w8, w8, lsl #1
	mul	w9, w24, w9
	add	w9, w9, w8, asr #1
	madd	w9, w28, w10, w9
	add	w9, w27, w9
	sdiv	w11, w9, w8
	add	x8, x30, x20
	cmp	w3, w8
	cset	w9, ls
	ldur	w10, [x29, #-104]               ; 4-byte Folded Reload
	and	w9, w10, w9
	cmp	w9, #1
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=2
	ldur	w9, [x29, #-112]                ; 4-byte Folded Reload
	cmp	w9, w8
	b.hi	LBB0_8
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=2
	cmp	w3, w8
	stur	x6, [x29, #-120]                ; 8-byte Folded Spill
	stur	w4, [x29, #-124]                ; 4-byte Folded Spill
	stur	w11, [x29, #-136]               ; 4-byte Folded Spill
	b.ls	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [sp, #184]                  ; 8-byte Folded Reload
	add	w1, w8, w6
	b	LBB0_19
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=2
	ldur	w9, [x29, #-112]                ; 4-byte Folded Reload
	cmp	w9, w8
	b.ls	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	w0, #0
	ldur	w8, [x29, #-176]                ; 4-byte Folded Reload
	cbz	w8, LBB0_7
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	w8, [sp, #124]                  ; 4-byte Folded Reload
	add	w1, w8, w21
LBB0_19:                                ;   in Loop: Header=BB0_9 Depth=2
	mov	w0, #0
	bl	_FFMAX
	ldur	w8, [x29, #-176]                ; 4-byte Folded Reload
	cbz	w8, LBB0_7
LBB0_20:                                ;   in Loop: Header=BB0_9 Depth=2
                                        ; kill: def $w0 killed $w0 killed $x0
	ldr	w1, [sp, #192]                  ; 4-byte Folded Reload
	bl	_FFMAX
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	b	LBB0_7
LBB0_21:
	ldp	x29, x30, [sp, #448]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #432]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #416]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #400]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #384]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #368]            ; 16-byte Folded Reload
	add	sp, sp, #464
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_apply_delogo
.subsections_via_symbols
