	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function analyze_plane
LCPI0_0:
	.quad	0x40f0000000000000              ## double 65536
LCPI0_1:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_2:
	.quad	0x4039000000000000              ## double 25
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_analyze_plane:                         ## @analyze_plane
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_AUTO@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_7
## %bb.1:
	cmpq	$0, 32(%rcx)
	je	LBB0_6
## %bb.2:
	cmpq	$0, 24(%rcx)
	jne	LBB0_3
## %bb.4:
	movq	_BOTTOM_FIRST@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_11
LBB0_7:
	movl	%esi, %r15d
	movq	_AUTO_ANALYZE@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_11
## %bb.8:
	cmpq	$0, 32(%rcx)
	je	LBB0_9
## %bb.10:
	xorl	%eax, %eax
	cmpq	$0, 24(%rcx)
	sete	%al
	leal	(%rax,%rax), %r15d
	addl	$128, %r15d
	jmp	LBB0_11
LBB0_6:
	movq	_PROGRESSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_11
LBB0_3:
	movq	_TOP_FIRST@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_11
LBB0_9:
	movl	$129, %r15d
LBB0_11:
	movq	_BOTTOM_FIRST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r15d
	jbe	LBB0_12
## %bb.14:
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	(%rcx), %rax
	movslq	(%rax), %rbx
	movl	8(%rcx), %eax
	movslq	12(%rcx), %rsi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	addl	$-2, %eax
	imull	%ebx, %eax
	xorpd	%xmm2, %xmm2
	xorpd	%xmm0, %xmm0
	xorpd	%xmm4, %xmm4
	cmpl	%eax, %ebx
	jge	LBB0_53
## %bb.15:
	movq	(%rdx), %rsi
	movslq	(%rsi), %rsi
	movq	16(%rcx), %rcx
	movq	(%rcx), %rcx
	cltq
	leaq	(%rcx,%rax,4), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	leaq	(%rcx,%rbx,4), %r12
	movq	16(%rdx), %rax
	leaq	(,%rsi,4), %r14
	addq	(%rax), %r14
	movl	%ebx, %eax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	subl	%ecx, %eax
	cltq
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	%esi, %eax
	subl	%ecx, %eax
	cltq
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	xorl	%ecx, %ecx
	xorpd	%xmm4, %xmm4
	xorpd	%xmm0, %xmm0
	xorpd	%xmm2, %xmm2
	movq	%r15, -144(%rbp)                ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%r13d, %r13d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_52:                                ##   in Loop: Header=BB0_16 Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r13d, %xmm0
	movsd	-168(%rbp), %xmm2               ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	addsd	%xmm0, %xmm2
	xorps	%xmm1, %xmm1
	cvtsi2sdl	-48(%rbp), %xmm1        ## 4-byte Folded Reload
	movsd	-160(%rbp), %xmm0               ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	addsd	%xmm1, %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2sdl	-56(%rbp), %xmm1        ## 4-byte Folded Reload
	movsd	-152(%rbp), %xmm4               ## 8-byte Reload
                                        ## xmm4 = mem[0],zero
	addsd	%xmm1, %xmm4
	movq	-128(%rbp), %rax                ## 8-byte Reload
	leaq	(%r12,%rax,4), %r12
	movq	-120(%rbp), %rax                ## 8-byte Reload
	leaq	(%r14,%rax,4), %r14
	movl	-92(%rbp), %ecx                 ## 4-byte Reload
	xorl	$1, %ecx
	cmpq	-136(%rbp), %r12                ## 8-byte Folded Reload
	movq	-144(%rbp), %r15                ## 8-byte Reload
	jae	LBB0_53
LBB0_16:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_38 Depth 2
                                        ##     Child Loop BB0_42 Depth 2
                                        ##     Child Loop BB0_30 Depth 2
                                        ##     Child Loop BB0_34 Depth 2
                                        ##     Child Loop BB0_46 Depth 2
                                        ##     Child Loop BB0_49 Depth 2
                                        ##     Child Loop BB0_22 Depth 2
                                        ##     Child Loop BB0_26 Depth 2
	leal	-128(%r15), %eax
	cmpl	$3, %eax
	movsd	%xmm2, -168(%rbp)               ## 8-byte Spill
	movsd	%xmm0, -160(%rbp)               ## 8-byte Spill
	movsd	%xmm4, -152(%rbp)               ## 8-byte Spill
	movl	%ecx, -92(%rbp)                 ## 4-byte Spill
	ja	LBB0_50
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_18:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r12,%rax,4), %rdx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	testl	%ecx, %ecx
	je	LBB0_24
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	testl	%eax, %eax
	jle	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_16 Depth=1
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_DIFF
	addl	%eax, %r15d
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_DIFF
	addl	%eax, %r13d
	addq	$4, %r12
	addq	$4, %r14
	cmpq	-48(%rbp), %r12                 ## 8-byte Folded Reload
	jb	LBB0_22
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_50:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	xorl	%edi, %edi
	callq	_av_assert0
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_51
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r12,%rax,4), %rdx
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	testl	%ecx, %ecx
	je	LBB0_47
## %bb.44:                              ##   in Loop: Header=BB0_16 Depth=1
	testl	%eax, %eax
	jle	LBB0_20
## %bb.45:                              ##   in Loop: Header=BB0_16 Depth=1
	xorl	%r13d, %r13d
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_46:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	movq	%rbx, %r15
	movl	%r15d, %esi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	callq	_DIFF
	addl	%eax, %r13d
	movq	%r12, %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %ecx
	callq	_DIFF
	addl	%eax, -48(%rbp)                 ## 4-byte Folded Spill
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	callq	_DIFF
	movq	%r15, %rbx
	addl	%eax, -56(%rbp)                 ## 4-byte Folded Spill
	addq	$4, %r12
	addq	$4, %r14
	cmpq	-104(%rbp), %r12                ## 8-byte Folded Reload
	jb	LBB0_46
	jmp	LBB0_52
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r12,%rax,4), %rdx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	testl	%ecx, %ecx
	je	LBB0_32
## %bb.28:                              ##   in Loop: Header=BB0_16 Depth=1
	testl	%eax, %eax
	jle	LBB0_20
## %bb.29:                              ##   in Loop: Header=BB0_16 Depth=1
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_30:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_DIFF
	addl	%eax, %r13d
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_DIFF
	addl	%eax, %r15d
	addq	$4, %r12
	addq	$4, %r14
	cmpq	-48(%rbp), %r12                 ## 8-byte Folded Reload
	jb	LBB0_30
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r12,%rax,4), %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	testl	%ecx, %ecx
	je	LBB0_40
## %bb.36:                              ##   in Loop: Header=BB0_16 Depth=1
	testl	%eax, %eax
	jle	LBB0_20
## %bb.37:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%r15d, %r15d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_38:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movl	%r13d, %ecx
	callq	_DIFF
	addl	%eax, -48(%rbp)                 ## 4-byte Folded Spill
	movq	%r14, %rdi
	movl	%r13d, %esi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_DIFF
	addl	%eax, %r15d
	addq	$4, %r12
	addq	$4, %r14
	cmpq	-56(%rbp), %r12                 ## 8-byte Folded Reload
	jb	LBB0_38
	jmp	LBB0_39
LBB0_24:                                ##   in Loop: Header=BB0_16 Depth=1
	testl	%eax, %eax
	jle	LBB0_20
## %bb.25:                              ##   in Loop: Header=BB0_16 Depth=1
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_DIFF
	addl	%eax, %r15d
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_DIFF
	addl	%eax, %r13d
	addq	$4, %r12
	addq	$4, %r14
	cmpq	-48(%rbp), %r12                 ## 8-byte Folded Reload
	jb	LBB0_26
LBB0_23:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	movl	%r15d, %r13d
	jmp	LBB0_52
LBB0_47:                                ##   in Loop: Header=BB0_16 Depth=1
	testl	%eax, %eax
	jle	LBB0_20
## %bb.48:                              ##   in Loop: Header=BB0_16 Depth=1
	xorl	%r13d, %r13d
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_49:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	movq	%rbx, %r15
	movl	%r15d, %esi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	callq	_DIFF
	addl	%eax, %r13d
	movq	%r12, %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %ecx
	callq	_DIFF
	addl	%eax, -56(%rbp)                 ## 4-byte Folded Spill
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	callq	_DIFF
	movq	%r15, %rbx
	addl	%eax, -48(%rbp)                 ## 4-byte Folded Spill
	addq	$4, %r12
	addq	$4, %r14
	cmpq	-104(%rbp), %r12                ## 8-byte Folded Reload
	jb	LBB0_49
	jmp	LBB0_52
LBB0_32:                                ##   in Loop: Header=BB0_16 Depth=1
	testl	%eax, %eax
	jle	LBB0_20
## %bb.33:                              ##   in Loop: Header=BB0_16 Depth=1
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_34:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_DIFF
	addl	%eax, %r13d
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_DIFF
	addl	%eax, %r15d
	addq	$4, %r12
	addq	$4, %r14
	cmpq	-48(%rbp), %r12                 ## 8-byte Folded Reload
	jb	LBB0_34
LBB0_31:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	%r15d, -56(%rbp)                ## 4-byte Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_52
LBB0_40:                                ##   in Loop: Header=BB0_16 Depth=1
	testl	%eax, %eax
	jle	LBB0_20
## %bb.41:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%r15d, %r15d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_42:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movl	%r13d, %ecx
	callq	_DIFF
	addl	%eax, %r15d
	movq	%r14, %rdi
	movl	%r13d, %esi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_DIFF
	addl	%eax, -48(%rbp)                 ## 4-byte Folded Spill
	addq	$4, %r12
	addq	$4, %r14
	cmpq	-56(%rbp), %r12                 ## 8-byte Folded Reload
	jb	LBB0_42
LBB0_39:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	%r15d, -56(%rbp)                ## 4-byte Spill
LBB0_51:                                ##   in Loop: Header=BB0_16 Depth=1
	xorl	%r13d, %r13d
	jmp	LBB0_52
LBB0_12:
	movq	_TOP_FIRST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
	movapd	%xmm2, %xmm0
	movapd	%xmm2, %xmm1
	jmp	LBB0_13
LBB0_53:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	addl	$-3, %eax
	imull	-80(%rbp), %eax                 ## 4-byte Folded Reload
	cvtsi2sd	%eax, %xmm3
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	divsd	%xmm3, %xmm1
	divsd	LCPI0_2(%rip), %xmm1
	mulsd	%xmm1, %xmm2
	mulsd	%xmm1, %xmm0
	cmpl	$128, %r15d
	je	LBB0_54
## %bb.56:
	mulsd	%xmm4, %xmm1
	cmpl	$131, %r15d
	je	LBB0_60
## %bb.57:
	cmpl	$130, %r15d
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	_BOTTOM_FIRST@GOTPCREL(%rip), %rsi
	jne	LBB0_59
## %bb.58:
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	jmp	LBB0_59
LBB0_54:
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	jmp	LBB0_55
LBB0_60:
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
LBB0_55:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	_BOTTOM_FIRST@GOTPCREL(%rip), %rsi
LBB0_59:
	ucomisd	%xmm0, %xmm1
	movq	_TOP_FIRST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_PROGRESSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %edx
	cmoval	%ecx, %edx
	ucomisd	%xmm0, %xmm2
	cmovbel	%eax, %edx
	ucomisd	%xmm1, %xmm0
	movl	(%rsi), %eax
	movl	%edx, %r15d
	cmoval	%eax, %r15d
	ucomisd	%xmm1, %xmm2
	cmovbel	%edx, %r15d
LBB0_13:
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	cmpl	%ecx, %r15d
	sete	%cl
	shlb	$2, %cl
	orb	$112, %cl
	cmpl	%eax, %r15d
	movzbl	%cl, %eax
	movl	$98, %ecx
	cmovnel	%eax, %ecx
	movzbl	%cl, %ecx
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movl	%r15d, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_43, LBB0_43-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_35, LBB0_35-LJTI0_0
LJTI0_0:
	.long	L0_0_set_18
	.long	L0_0_set_43
	.long	L0_0_set_27
	.long	L0_0_set_35
	.end_data_region
                                        ## -- End function
	.comm	_AUTO,4,2                       ## @AUTO
	.comm	_TOP_FIRST,4,2                  ## @TOP_FIRST
	.comm	_BOTTOM_FIRST,4,2               ## @BOTTOM_FIRST
	.comm	_PROGRESSIVE,4,2                ## @PROGRESSIVE
	.comm	_AUTO_ANALYZE,4,2               ## @AUTO_ANALYZE
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mode=%c tdiff=%f bdiff=%f pdiff=%f\n"

	.no_dead_strip	_analyze_plane
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function analyze_plane
_analyze_plane:                         ; @analyze_plane
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	d11, d10, [sp, #64]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #80]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	.cfi_offset b10, -120
	.cfi_offset b11, -128
Lloh0:
	adrp	x8, _AUTO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AUTO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x10, _BOTTOM_FIRST@GOTPAGE
Lloh4:
	ldr	x10, [x10, _BOTTOM_FIRST@GOTPAGEOFF]
	cmp	w8, w1
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x3, #32]
	cbz	x8, LBB0_6
; %bb.2:
	ldr	x8, [x3, #24]
Lloh5:
	adrp	x9, _TOP_FIRST@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TOP_FIRST@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w19, [x8]
	b	LBB0_8
LBB0_3:
	mov	x19, x1
Lloh7:
	adrp	x8, _AUTO_ANALYZE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AUTO_ANALYZE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_8
; %bb.4:
	ldr	x8, [x3, #32]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	x8, [x3, #24]
	cmp	x8, #0
	mov	w8, #128
	mov	w9, #130
	csel	w19, w9, w8, eq
	b	LBB0_8
LBB0_6:
Lloh10:
	adrp	x8, _PROGRESSIVE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PROGRESSIVE@GOTPAGEOFF]
Lloh12:
	ldr	w19, [x8]
	b	LBB0_8
LBB0_7:
	mov	w19, #129
LBB0_8:
	ldr	w8, [x10]
	cmp	w19, w8
	b.ls	LBB0_47
; %bb.9:
	str	w19, [sp, #28]                  ; 4-byte Folded Spill
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	ldr	x8, [x3]
	ldrsw	x21, [x8]
	ldp	w9, w8, [x3, #8]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	str	w9, [sp, #12]                   ; 4-byte Folded Spill
	sub	w8, w9, #2
	mul	w8, w8, w21
	movi	d9, #0000000000000000
	movi	d10, #0000000000000000
	movi	d8, #0000000000000000
	cmp	w21, w8
	b.ge	LBB0_48
; %bb.10:
	mov	w28, #0
	ldr	x9, [x2]
	ldrsw	x22, [x9]
	ldr	x9, [x3, #16]
	ldr	x9, [x9]
	add	x10, x9, w8, sxtw #2
	add	x23, x9, x21, lsl #2
	ldr	x8, [x2, #16]
	ldr	x8, [x8]
	add	x24, x8, x22, lsl #2
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	sub	w8, w21, w9
	sxtw	x8, w8
	stp	x8, x10, [sp, #48]              ; 16-byte Folded Spill
	sub	w8, w22, w9
	sxtw	x8, w8
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	movi	d8, #0000000000000000
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	sub	w20, w8, #128
	movi	d10, #0000000000000000
	movi	d9, #0000000000000000
	b	LBB0_15
LBB0_11:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	w0, #0
	bl	_av_assert0
LBB0_12:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	w25, #0
	mov	w27, #0
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	w19, #0
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	scvtf	d0, w19
	fadd	d9, d9, d0
	scvtf	d0, w27
	scvtf	d1, w25
	fadd	d10, d10, d0
	fadd	d8, d8, d1
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	add	x23, x23, x8, lsl #2
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	add	x24, x24, x8, lsl #2
	eor	w28, w28, #0x1
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	cmp	x23, x8
	b.hs	LBB0_48
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_32 Depth 2
                                        ;     Child Loop BB0_46 Depth 2
                                        ;     Child Loop BB0_28 Depth 2
                                        ;     Child Loop BB0_42 Depth 2
                                        ;     Child Loop BB0_24 Depth 2
                                        ;     Child Loop BB0_39 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
                                        ;     Child Loop BB0_35 Depth 2
	cmp	w20, #3
	b.hi	LBB0_11
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh13:
	adrp	x10, lJTI0_0@PAGE
Lloh14:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x8, LBB0_17
	ldrb	w9, [x10, x20]
	add	x8, x8, x9, lsl #2
	br	x8
LBB0_17:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	add	x25, x23, x8, lsl #2
	cmp	w8, #1
	cbz	w28, LBB0_33
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	b.lt	LBB0_12
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w19, #0
	mov	w27, #0
LBB0_20:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	mov	x1, x21
	mov	x2, x23
	mov	x3, x21
	bl	_DIFF
	add	w19, w0, w19
	mov	x0, x23
	mov	x1, x21
	mov	x2, x24
	mov	x3, x22
	bl	_DIFF
	add	w27, w0, w27
	add	x23, x23, #4
	add	x24, x24, #4
	cmp	x23, x25
	b.lo	LBB0_20
	b	LBB0_36
LBB0_21:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	add	x26, x23, x8, lsl #2
	cmp	w8, #1
	cbz	w28, LBB0_37
; %bb.22:                               ;   in Loop: Header=BB0_15 Depth=1
	b.lt	LBB0_12
; %bb.23:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w19, #0
	mov	w27, #0
	mov	w25, #0
LBB0_24:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	mov	x1, x21
	mov	x2, x23
	mov	x3, x21
	bl	_DIFF
	add	w19, w0, w19
	mov	x0, x23
	mov	x1, x21
	mov	x2, x24
	mov	x3, x22
	bl	_DIFF
	add	w27, w0, w27
	mov	x0, x24
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	bl	_DIFF
	add	w25, w0, w25
	add	x23, x23, #4
	add	x24, x24, #4
	cmp	x23, x26
	b.lo	LBB0_24
	b	LBB0_14
LBB0_25:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	add	x26, x23, x8, lsl #2
	cmp	w8, #1
	cbz	w28, LBB0_40
; %bb.26:                               ;   in Loop: Header=BB0_15 Depth=1
	b.lt	LBB0_12
; %bb.27:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w19, #0
	mov	w25, #0
LBB0_28:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	mov	x1, x21
	mov	x2, x23
	mov	x3, x21
	bl	_DIFF
	add	w19, w0, w19
	mov	x0, x24
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	bl	_DIFF
	add	w25, w0, w25
	add	x23, x23, #4
	add	x24, x24, #4
	cmp	x23, x26
	b.lo	LBB0_28
	b	LBB0_43
LBB0_29:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	add	x19, x23, x8, lsl #2
	cmp	w8, #1
	cbz	w28, LBB0_44
; %bb.30:                               ;   in Loop: Header=BB0_15 Depth=1
	b.lt	LBB0_12
; %bb.31:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w27, #0
	mov	w25, #0
LBB0_32:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	mov	x1, x21
	mov	x2, x24
	mov	x3, x22
	bl	_DIFF
	add	w27, w0, w27
	mov	x0, x24
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	bl	_DIFF
	add	w25, w0, w25
	add	x23, x23, #4
	add	x24, x24, #4
	cmp	x23, x19
	b.lo	LBB0_32
	b	LBB0_13
LBB0_33:                                ;   in Loop: Header=BB0_15 Depth=1
	b.lt	LBB0_12
; %bb.34:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w19, #0
	mov	w27, #0
LBB0_35:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	mov	x1, x21
	mov	x2, x23
	mov	x3, x21
	bl	_DIFF
	add	w19, w0, w19
	mov	x0, x24
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	bl	_DIFF
	add	w27, w0, w27
	add	x23, x23, #4
	add	x24, x24, #4
	cmp	x23, x25
	b.lo	LBB0_35
LBB0_36:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	w25, #0
	b	LBB0_14
LBB0_37:                                ;   in Loop: Header=BB0_15 Depth=1
	b.lt	LBB0_12
; %bb.38:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w19, #0
	mov	w27, #0
	mov	w25, #0
LBB0_39:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	mov	x1, x21
	mov	x2, x23
	mov	x3, x21
	bl	_DIFF
	add	w19, w0, w19
	mov	x0, x23
	mov	x1, x21
	mov	x2, x24
	mov	x3, x22
	bl	_DIFF
	add	w25, w0, w25
	mov	x0, x24
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	bl	_DIFF
	add	w27, w0, w27
	add	x23, x23, #4
	add	x24, x24, #4
	cmp	x23, x26
	b.lo	LBB0_39
	b	LBB0_14
LBB0_40:                                ;   in Loop: Header=BB0_15 Depth=1
	b.lt	LBB0_12
; %bb.41:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w19, #0
	mov	w25, #0
LBB0_42:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	mov	x1, x21
	mov	x2, x23
	mov	x3, x21
	bl	_DIFF
	add	w19, w0, w19
	mov	x0, x23
	mov	x1, x21
	mov	x2, x24
	mov	x3, x22
	bl	_DIFF
	add	w25, w0, w25
	add	x23, x23, #4
	add	x24, x24, #4
	cmp	x23, x26
	b.lo	LBB0_42
LBB0_43:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	w27, #0
	b	LBB0_14
LBB0_44:                                ;   in Loop: Header=BB0_15 Depth=1
	b.lt	LBB0_12
; %bb.45:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w27, #0
	mov	w25, #0
LBB0_46:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	mov	x1, x21
	mov	x2, x24
	mov	x3, x22
	bl	_DIFF
	add	w25, w0, w25
	mov	x0, x24
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	bl	_DIFF
	add	w27, w0, w27
	add	x23, x23, #4
	add	x24, x24, #4
	cmp	x23, x19
	b.lo	LBB0_46
	b	LBB0_13
LBB0_47:
Lloh15:
	adrp	x9, _TOP_FIRST@GOTPAGE
Lloh16:
	ldr	x9, [x9, _TOP_FIRST@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	mov	x10, #4679240012837945344
	fmov	d2, x10
	fmov	d0, d2
	fmov	d1, d2
	b	LBB0_49
LBB0_48:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	sub	w8, w8, #3
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	mul	w8, w9, w8
	scvtf	d0, w8
	fmov	d1, #1.00000000
	fdiv	d0, d1, d0
	fmov	d1, #25.00000000
	fdiv	d0, d0, d1
	fmul	d1, d0, d9
	fmul	d3, d0, d10
	fmul	d4, d0, d8
	mov	x8, #4679240012837945344
	fmov	d5, x8
	mov	x8, #4679240012837945344
	fmov	d0, x8
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	cmp	w9, #130
	mov	x8, #4679240012837945344
	fmov	d2, x8
	fcsel	d2, d3, d2, ne
	cmp	w9, #131
	fcsel	d0, d0, d1, eq
	fcsel	d6, d3, d2, eq
	cmp	w9, #128
	fcsel	d2, d1, d0, eq
	fcsel	d0, d3, d6, eq
	fcsel	d1, d5, d4, eq
	fcmp	d0, d1
	fccmp	d0, d2, #0, mi
Lloh18:
	adrp	x8, _TOP_FIRST@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TOP_FIRST@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x8]
Lloh21:
	adrp	x8, _PROGRESSIVE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PROGRESSIVE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	csel	w10, w9, w8, mi
	fcmp	d1, d0
	fccmp	d1, d2, #0, mi
Lloh24:
	adrp	x8, _BOTTOM_FIRST@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BOTTOM_FIRST@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	csel	w19, w8, w10, mi
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
LBB0_49:
Lloh27:
	adrp	x10, _AV_LOG_DEBUG@GOTPAGE
Lloh28:
	ldr	x10, [x10, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x10]
	mov	w10, #112
	mov	w11, #116
	cmp	w19, w9
	csel	w9, w11, w10, eq
	mov	w10, #98
	cmp	w19, w8
	csel	w3, w10, w9, eq
Lloh30:
	adrp	x2, l_.str@PAGE
Lloh31:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
	mov	x0, x19
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #80]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_21-LBB0_17)>>2
	.byte	(LBB0_25-LBB0_17)>>2
	.byte	(LBB0_29-LBB0_17)>>2
                                        ; -- End function
	.comm	_AUTO,4,2                       ; @AUTO
	.comm	_TOP_FIRST,4,2                  ; @TOP_FIRST
	.comm	_BOTTOM_FIRST,4,2               ; @BOTTOM_FIRST
	.comm	_PROGRESSIVE,4,2                ; @PROGRESSIVE
	.comm	_AUTO_ANALYZE,4,2               ; @AUTO_ANALYZE
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mode=%c tdiff=%f bdiff=%f pdiff=%f\n"

	.no_dead_strip	_analyze_plane
.subsections_via_symbols
