	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function diag
_diag:                                  ## @diag
	.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	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -104(%rbp)                 ## 8-byte Spill
	movl	%r8d, -172(%rbp)                ## 4-byte Spill
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $edi killed $edi def $rdi
	movq	_fdiag@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_bdiag@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_xvec@GOTPCREL(%rip), %rax
	movq	(%rax), %r11
	movq	_yvec@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movl	%edi, %r15d
	subl	%edx, %r15d
	movl	%esi, %ebx
	subl	%ecx, %ebx
	movslq	%r15d, %rax
	movl	%edi, (%r14,%rax,4)
	movslq	%ebx, %rax
	movq	%r8, -112(%rbp)                 ## 8-byte Spill
	movl	%esi, (%r8,%rax,4)
	movl	%edi, %eax
	subl	%ecx, %eax
	movl	%eax, -144(%rbp)                ## 4-byte Spill
	movl	%esi, %eax
	subl	%edx, %eax
	movl	%eax, -140(%rbp)                ## 4-byte Spill
	movl	%r15d, %eax
	subl	%ebx, %eax
	movl	%eax, -148(%rbp)                ## 4-byte Spill
	movslq	%esi, %rax
	movq	%rax, -240(%rbp)                ## 8-byte Spill
	movslq	%ecx, %rax
	movq	%rax, -232(%rbp)                ## 8-byte Spill
	movq	%rdx, %rax
	movq	%rdx, -160(%rbp)                ## 8-byte Spill
	movslq	%edx, %r8
	movq	%rdi, %rax
	movq	%rdi, -128(%rbp)                ## 8-byte Spill
	movslq	%edi, %r10
	leaq	-4(%r11), %rax
	movq	%rax, -224(%rbp)                ## 8-byte Spill
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	leaq	-4(%r9), %rax
	movq	%rax, -216(%rbp)                ## 8-byte Spill
	leaq	-8(%r11), %rax
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	movq	%r11, -136(%rbp)                ## 8-byte Spill
	leaq	4(%r11), %rax
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	movl	%ebx, %r9d
	movl	%ebx, -176(%rbp)                ## 4-byte Spill
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	movl	$1, %ebx
	movl	%r15d, %edx
	movl	%r15d, -180(%rbp)               ## 4-byte Spill
	movl	%r15d, %edi
	movl	%ecx, -76(%rbp)                 ## 4-byte Spill
	movl	%esi, -64(%rbp)                 ## 4-byte Spill
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
LBB0_1:                                 ##   in Loop: Header=BB0_4 Depth=1
	testl	%r13d, %r13d
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movl	-56(%rbp), %r9d                 ## 4-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	jg	LBB0_106
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_too_expensive@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_94
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##       Child Loop BB0_18 Depth 3
                                        ##     Child Loop BB0_58 Depth 2
                                        ##       Child Loop BB0_59 Depth 3
                                        ##     Child Loop BB0_38 Depth 2
                                        ##       Child Loop BB0_46 Depth 3
                                        ##     Child Loop BB0_71 Depth 2
                                        ##       Child Loop BB0_79 Depth 3
	cmpl	-144(%rbp), %edi                ## 4-byte Folded Reload
	jle	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	%edi, %rax
	decl	%edi
	movl	$-1, -8(%r14,%rax,4)
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%edi
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpl	-140(%rbp), %edx                ## 4-byte Folded Reload
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movl	%r9d, -56(%rbp)                 ## 4-byte Spill
	jge	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	%edx, %rax
	incl	%edx
	movl	$-1, 8(%r14,%rax,4)
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	decl	%edx
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r11d, %r11d
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movl	%edi, -72(%rbp)                 ## 4-byte Spill
	cmpl	%edi, %edx
	jge	LBB0_13
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	cmpl	-144(%rbp), %esi                ## 4-byte Folded Reload
	jle	LBB0_25
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_LIN_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movslq	%esi, %rcx
	decl	%esi
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movl	%eax, -8(%rdx,%rcx,4)
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %edi
	negl	%edi
	movslq	%eax, %r15
	movslq	-56(%rbp), %rax                 ## 4-byte Folded Reload
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movslq	-68(%rbp), %r9                  ## 4-byte Folded Reload
	movslq	-72(%rbp), %rdx                 ## 4-byte Folded Reload
	xorl	%r11d, %r11d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=2
	addq	$-2, %r15
	addl	$2, %edi
	cmpq	%rdx, %r15
	jl	LBB0_11
LBB0_15:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_18 Depth 3
	movl	-4(%r14,%r15,4), %ecx
	movl	4(%r14,%r15,4), %ebx
	leal	1(%rcx), %eax
	cmpl	%ebx, %ecx
	cmovll	%ebx, %eax
	movl	%eax, %ebx
	subl	%r15d, %ebx
	movl	%eax, %r12d
	cmpl	%esi, %eax
	jge	LBB0_21
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	cmpl	-76(%rbp), %ebx                 ## 4-byte Folded Reload
	jge	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=2
	movslq	%eax, %r12
	leal	(%rax,%rdi), %ecx
	movslq	%ecx, %rbx
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_15 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	movl	(%rcx,%r12,4), %ecx
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	cmpl	(%r13,%rbx,4), %ecx
	jne	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=3
	incq	%r12
	incq	%rbx
	cmpq	-240(%rbp), %r12                ## 8-byte Folded Reload
	jge	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=3
	cmpq	-232(%rbp), %rbx                ## 8-byte Folded Reload
	jl	LBB0_18
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_15 Depth=2
	movl	%r12d, %ecx
	subl	%eax, %ecx
	movq	_SNAKE_LIMIT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	movl	$1, %eax
	cmovgl	%eax, %r11d
	movl	%r12d, (%r14,%r15,4)
	testb	$1, -148(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_14
## %bb.22:                              ##   in Loop: Header=BB0_15 Depth=2
	cmpq	%r9, %r15
	jl	LBB0_14
## %bb.23:                              ##   in Loop: Header=BB0_15 Depth=2
	cmpq	-88(%rbp), %r15                 ## 8-byte Folded Reload
	jg	LBB0_14
## %bb.24:                              ##   in Loop: Header=BB0_15 Depth=2
	movq	-112(%rbp), %rax                ## 8-byte Reload
	cmpl	%r12d, (%rax,%r15,4)
	jg	LBB0_14
	jmp	LBB0_89
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_4 Depth=1
	incl	%esi
LBB0_26:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	cmpl	-140(%rbp), %ebx                ## 4-byte Folded Reload
	jge	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_LIN_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movslq	%ebx, %rcx
	incl	%ebx
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movl	%eax, 8(%rdx,%rcx,4)
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_4 Depth=1
	decl	%ebx
LBB0_29:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%esi, %ebx
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movl	%esi, -68(%rbp)                 ## 4-byte Spill
	movl	%r11d, -88(%rbp)                ## 4-byte Spill
	jge	LBB0_56
LBB0_30:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, -172(%rbp)                  ## 4-byte Folded Reload
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movl	-56(%rbp), %r9d                 ## 4-byte Reload
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_3
## %bb.31:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$201, %ebx
	jb	LBB0_2
## %bb.32:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, -88(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_2
## %bb.33:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_speed_large_files@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.34:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%edi, %edx
	jl	LBB0_67
## %bb.35:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%edi, %ecx
	movslq	%edx, %rdi
	movslq	%ecx, %r9
	movl	$-2, %r11d
	subl	%edx, %r11d
	xorl	%r13d, %r13d
	movq	%r9, -168(%rbp)                 ## 8-byte Spill
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_38 Depth=2
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_37:                                ##   in Loop: Header=BB0_38 Depth=2
	addq	$-2, %rdi
	addl	$2, %r11d
	cmpq	%r9, %rdi
	jl	LBB0_66
LBB0_38:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_46 Depth 3
	movl	%edi, %eax
	subl	-180(%rbp), %eax                ## 4-byte Folded Reload
	movl	(%r14,%rdi,4), %r14d
	movl	%r14d, %edx
	subl	-128(%rbp), %edx                ## 4-byte Folded Reload
	addl	%edx, %edx
	subl	%eax, %edx
	movl	%eax, %ecx
	negl	%ecx
	cmovsl	%eax, %ecx
	addl	%ebx, %ecx
	shll	$2, %ecx
	leal	(%rcx,%rcx,2), %eax
	cmpl	%eax, %edx
	jle	LBB0_36
## %bb.39:                              ##   in Loop: Header=BB0_38 Depth=2
	cmpl	%r13d, %edx
	jle	LBB0_36
## %bb.40:                              ##   in Loop: Header=BB0_38 Depth=2
	cmpl	%esi, %r14d
	jge	LBB0_36
## %bb.41:                              ##   in Loop: Header=BB0_38 Depth=2
	movq	_SNAKE_LIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	-128(%rbp), %rax                ## 8-byte Reload
	addl	%r15d, %eax
	cmpl	%r14d, %eax
	jg	LBB0_36
## %bb.42:                              ##   in Loop: Header=BB0_38 Depth=2
	movl	%r14d, %r12d
	subl	%edi, %r12d
	movq	-160(%rbp), %rax                ## 8-byte Reload
	addl	%r15d, %eax
	cmpl	%r12d, %eax
	jg	LBB0_36
## %bb.43:                              ##   in Loop: Header=BB0_38 Depth=2
	cmpl	-76(%rbp), %r12d                ## 4-byte Folded Reload
	jge	LBB0_36
## %bb.44:                              ##   in Loop: Header=BB0_38 Depth=2
	movslq	%r14d, %rcx
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	-4(%rax,%rcx,4), %eax
	movslq	%r12d, %rbx
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	cmpl	-4(%rcx,%rbx,4), %eax
	jne	LBB0_51
## %bb.45:                              ##   in Loop: Header=BB0_38 Depth=2
	movl	%r13d, -120(%rbp)               ## 4-byte Spill
	movl	$1, %r13d
	subq	%r15, %r13
	leal	(%r14,%r11), %r9d
	movq	-200(%rbp), %rax                ## 8-byte Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx,4), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_46:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_38 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpq	%rbx, %r13
	je	LBB0_52
## %bb.47:                              ##   in Loop: Header=BB0_46 Depth=3
	movl	(%r15,%rbx,4), %eax
	leal	(%r9,%rbx), %ecx
	movslq	%ecx, %rcx
	decq	%rbx
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	cmpl	(%rsi,%rcx,4), %eax
	je	LBB0_46
## %bb.48:                              ##   in Loop: Header=BB0_38 Depth=2
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	movq	-168(%rbp), %r9                 ## 8-byte Reload
	movl	-120(%rbp), %r13d               ## 4-byte Reload
	jmp	LBB0_37
LBB0_51:                                ##   in Loop: Header=BB0_38 Depth=2
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_37
LBB0_52:                                ##   in Loop: Header=BB0_38 Depth=2
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	%r14d, (%rax)
	movl	%r12d, 4(%rax)
	movl	%edx, %r13d
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	movq	-168(%rbp), %r9                 ## 8-byte Reload
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_56:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, %r14d
	negl	%r14d
	movslq	%ebx, %r9
	movslq	%edi, %rax
	movq	%rax, -208(%rbp)                ## 8-byte Spill
	movslq	-72(%rbp), %rax                 ## 4-byte Folded Reload
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movslq	%esi, %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	%ebx, %r13d
	jmp	LBB0_58
	.p2align	4, 0x90
LBB0_57:                                ##   in Loop: Header=BB0_58 Depth=2
	addq	$-2, %r9
	addl	$2, %r14d
	addq	$-2, %r13
	cmpq	-120(%rbp), %r9                 ## 8-byte Folded Reload
	jl	LBB0_30
LBB0_58:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_59 Depth 3
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movl	-4(%rcx,%r9,4), %eax
	movl	4(%rcx,%r9,4), %ecx
	leal	-1(%rcx), %r11d
	cmpl	%ecx, %eax
	cmovll	%eax, %r11d
	leal	(%r11,%r14), %edx
	movslq	%r11d, %rax
	movq	-224(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rcx
	movslq	%edx, %rdx
	movq	-216(%rbp), %rsi                ## 8-byte Reload
	leaq	(%rsi,%rdx,4), %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_59:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_58 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%rsi, %r15
	addq	%rax, %rsi
	cmpq	%r10, %rsi
	jle	LBB0_62
## %bb.60:                              ##   in Loop: Header=BB0_59 Depth=3
	leaq	(%rdx,%r15), %rsi
	cmpq	%r8, %rsi
	jle	LBB0_62
## %bb.61:                              ##   in Loop: Header=BB0_59 Depth=3
	movl	(%rcx,%r15,4), %ebx
	leaq	-1(%r15), %rsi
	cmpl	(%rdi,%r15,4), %ebx
	je	LBB0_59
LBB0_62:                                ##   in Loop: Header=BB0_58 Depth=2
	movl	%r11d, %r12d
	addq	%r15, %r12
	movl	%r15d, %eax
	negl	%eax
	movq	_SNAKE_LIMIT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movl	$1, %eax
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	cmovgl	%eax, %ecx
	movl	%ecx, -88(%rbp)                 ## 4-byte Spill
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	%r12d, (%rax,%r9,4)
	testb	$1, -148(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_57
## %bb.63:                              ##   in Loop: Header=BB0_58 Depth=2
	cmpq	-168(%rbp), %r9                 ## 8-byte Folded Reload
	jl	LBB0_57
## %bb.64:                              ##   in Loop: Header=BB0_58 Depth=2
	cmpq	-208(%rbp), %r9                 ## 8-byte Folded Reload
	jg	LBB0_57
## %bb.65:                              ##   in Loop: Header=BB0_58 Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	%r12d, (%rax,%r9,4)
	jl	LBB0_57
	jmp	LBB0_90
LBB0_66:                                ##   in Loop: Header=BB0_4 Depth=1
	testl	%r13d, %r13d
	movl	-56(%rbp), %r9d                 ## 4-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	jg	LBB0_107
LBB0_67:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	-68(%rbp), %r9d                 ## 4-byte Folded Reload
	jl	LBB0_2
## %bb.68:                              ##   in Loop: Header=BB0_4 Depth=1
	movslq	%r9d, %rdi
	movslq	-68(%rbp), %r12                 ## 4-byte Folded Reload
	movl	%r9d, %eax
	movl	$1, %r11d
	subl	%r9d, %r11d
	xorl	%r13d, %r13d
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	jmp	LBB0_71
	.p2align	4, 0x90
LBB0_69:                                ##   in Loop: Header=BB0_71 Depth=2
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_70:                                ##   in Loop: Header=BB0_71 Depth=2
	addq	$-2, %rdi
	addl	$2, %r11d
	cmpq	%r12, %rdi
	jl	LBB0_1
LBB0_71:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_79 Depth 3
	movl	%edi, %eax
	subl	-176(%rbp), %eax                ## 4-byte Folded Reload
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movl	(%rcx,%rdi,4), %r9d
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $ecx killed $ecx def $rcx
	subl	%r9d, %ecx
	leal	(%rax,%rcx,2), %r14d
	movl	%eax, %ecx
	negl	%ecx
	cmovsl	%eax, %ecx
	addl	%ebx, %ecx
	shll	$2, %ecx
	leal	(%rcx,%rcx,2), %eax
	cmpl	%eax, %r14d
	jle	LBB0_69
## %bb.72:                              ##   in Loop: Header=BB0_71 Depth=2
	cmpl	%r13d, %r14d
	jle	LBB0_69
## %bb.73:                              ##   in Loop: Header=BB0_71 Depth=2
	cmpl	-128(%rbp), %r9d                ## 4-byte Folded Reload
	jle	LBB0_69
## %bb.74:                              ##   in Loop: Header=BB0_71 Depth=2
	movq	_SNAKE_LIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	subl	%esi, %eax
	cmpl	%eax, %r9d
	jg	LBB0_69
## %bb.75:                              ##   in Loop: Header=BB0_71 Depth=2
	movl	%r9d, %r15d
	subl	%edi, %r15d
	cmpl	-160(%rbp), %r15d               ## 4-byte Folded Reload
	jle	LBB0_69
## %bb.76:                              ##   in Loop: Header=BB0_71 Depth=2
	movl	-76(%rbp), %eax                 ## 4-byte Reload
	subl	%esi, %eax
	cmpl	%eax, %r15d
	jg	LBB0_69
## %bb.77:                              ##   in Loop: Header=BB0_71 Depth=2
	movslq	%r9d, %rax
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	movl	(%rcx,%rax,4), %ecx
	movslq	%r15d, %rbx
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	cmpl	(%rdx,%rbx,4), %ecx
	jne	LBB0_85
## %bb.78:                              ##   in Loop: Header=BB0_71 Depth=2
	movl	%r13d, -88(%rbp)                ## 4-byte Spill
	decl	%esi
	leal	(%r9,%r11), %r12d
	movq	-192(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_79:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_71 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpq	%rbx, %rsi
	je	LBB0_86
## %bb.80:                              ##   in Loop: Header=BB0_79 Depth=3
	leaq	1(%rbx), %rdx
	movl	(%r13,%rbx,4), %ecx
	addl	%r12d, %ebx
	movslq	%ebx, %rax
	movq	%rdx, %rbx
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	cmpl	(%rdx,%rax,4), %ecx
	je	LBB0_79
## %bb.81:                              ##   in Loop: Header=BB0_71 Depth=2
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	movq	-120(%rbp), %r12                ## 8-byte Reload
	movl	-88(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_70
LBB0_85:                                ##   in Loop: Header=BB0_71 Depth=2
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_70
LBB0_86:                                ##   in Loop: Header=BB0_71 Depth=2
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	%r9d, (%rax)
	movl	%r15d, 4(%rax)
	movl	%r14d, %r13d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	movq	-120(%rbp), %r12                ## 8-byte Reload
	jmp	LBB0_70
LBB0_89:
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movl	%r12d, (%rcx)
	movl	%ebx, 4(%rcx)
	jmp	LBB0_91
LBB0_90:
	leal	(%r11,%r15), %eax
	subl	%r13d, %r11d
	addl	%r15d, %r11d
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	%r11d, 4(%rcx)
LBB0_91:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
LBB0_92:
	movq	%rax, 8(%rcx)
LBB0_93:
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_94:
	movl	$-1, %r15d
	movl	-76(%rbp), %r8d                 ## 4-byte Reload
	movl	$0, %r13d
	cmpl	%edi, %edx
	jl	LBB0_97
## %bb.95:
	movl	%esi, %r12d
	movslq	%edx, %rbx
	movslq	%edi, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	negl	%edx
	movl	$-1, %r15d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_96:                                ## =>This Inner Loop Header: Depth=1
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movl	(%r14,%rbx,4), %edi
	movl	%r12d, %esi
	movl	%r15d, %r14d
	movl	%r13d, %r15d
	movl	%r8d, %r13d
	callq	_MIN
	movl	%r13d, %r8d
	movl	%r15d, %r13d
	movl	%r14d, %r15d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	addl	%edx, %eax
	cmpl	%eax, %r8d
	cmovll	%r8d, %eax
	leal	(%rbx,%rax,2), %ecx
                                        ## kill: def $eax killed $eax killed $rax
	addl	%ebx, %eax
	cmpl	%ecx, %r15d
	cmovlel	%ecx, %r15d
	cmovll	%eax, %r13d
	addq	$-2, %rbx
	addl	$2, %edx
	cmpq	-96(%rbp), %rbx                 ## 8-byte Folded Reload
	jge	LBB0_96
LBB0_97:
	movq	_LIN_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	-56(%rbp), %r12d                ## 4-byte Reload
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, %r12d
	jge	LBB0_101
## %bb.98:
	xorl	%esi, %esi
LBB0_99:
	movl	-76(%rbp), %ecx                 ## 4-byte Reload
	addl	-64(%rbp), %ecx                 ## 4-byte Folded Reload
	subl	%r14d, %ecx
	movq	-160(%rbp), %rdx                ## 8-byte Reload
	addl	-128(%rbp), %edx                ## 4-byte Folded Reload
	movl	%r15d, %eax
	subl	%edx, %eax
	cmpl	%eax, %ecx
	jge	LBB0_105
## %bb.100:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	%r13d, (%rax)
	subl	%r13d, %r15d
	movl	%r15d, 4(%rax)
	jmp	LBB0_108
LBB0_101:
	movslq	%r12d, %rbx
	cltq
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	negl	%r12d
	xorl	%esi, %esi
	jmp	LBB0_103
	.p2align	4, 0x90
LBB0_102:                               ##   in Loop: Header=BB0_103 Depth=1
	movl	%esi, %eax
	addl	%ebx, %eax
	leal	(%rbx,%rsi,2), %edx
	cmpl	%r14d, %edx
	cmovll	%edx, %r14d
	movl	-96(%rbp), %esi                 ## 4-byte Reload
	cmovll	%eax, %esi
	addq	$-2, %rbx
	addl	$2, %r12d
	cmpq	-136(%rbp), %rbx                ## 8-byte Folded Reload
	jl	LBB0_99
LBB0_103:                               ## =>This Inner Loop Header: Depth=1
	movl	%esi, -96(%rbp)                 ## 4-byte Spill
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	(%rax,%rbx,4), %esi
	movq	-128(%rbp), %rdi                ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_MAX
	addl	%r12d, %eax
	movq	-160(%rbp), %rdx                ## 8-byte Reload
	movl	%edx, %esi
	cmpl	%eax, %edx
	jg	LBB0_102
## %bb.104:                             ##   in Loop: Header=BB0_103 Depth=1
	movl	%eax, %esi
	jmp	LBB0_102
LBB0_105:
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movl	%esi, (%rcx)
	subl	%esi, %r14d
	movl	%r14d, 4(%rcx)
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	jmp	LBB0_92
LBB0_106:
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	jmp	LBB0_92
LBB0_107:
	movq	-104(%rbp), %rax                ## 8-byte Reload
LBB0_108:
	movq	$1, 8(%rax)
	jmp	LBB0_93
	.cfi_endproc
                                        ## -- End function
	.comm	_fdiag,8,3                      ## @fdiag
	.comm	_bdiag,8,3                      ## @bdiag
	.comm	_xvec,8,3                       ## @xvec
	.comm	_yvec,8,3                       ## @yvec
	.comm	_SNAKE_LIMIT,4,2                ## @SNAKE_LIMIT
	.comm	_LIN_MAX,4,2                    ## @LIN_MAX
	.comm	_speed_large_files,8,3          ## @speed_large_files
	.comm	_too_expensive,4,2              ## @too_expensive
	.no_dead_strip	_diag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function diag
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
lCPI0_1:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_diag:                                  ; @diag
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	str	x5, [sp, #16]                   ; 8-byte Folded Spill
	str	w4, [sp, #36]                   ; 4-byte Folded Spill
	mov	x21, x3
                                        ; kill: def $w2 killed $w2 def $x2
	mov	x23, x1
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x0, x2, [sp, #40]               ; 16-byte Folded Spill
Lloh0:
	adrp	x8, _fdiag@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fdiag@GOTPAGEOFF]
Lloh2:
	adrp	x9, _bdiag@GOTPAGE
Lloh3:
	ldr	x9, [x9, _bdiag@GOTPAGEOFF]
Lloh4:
	adrp	x10, _xvec@GOTPAGE
Lloh5:
	ldr	x10, [x10, _xvec@GOTPAGEOFF]
Lloh6:
	adrp	x11, _yvec@GOTPAGE
Lloh7:
	ldr	x11, [x11, _yvec@GOTPAGEOFF]
Lloh8:
	ldr	x27, [x8]
	sub	w6, w0, w3
Lloh9:
	ldr	x24, [x9]
	sub	w26, w1, w2
	sub	w9, w0, w2
	sub	w3, w1, w3
	sub	w12, w9, w3
	str	w0, [x27, w9, sxtw #2]
	str	w1, [x24, w3, sxtw #2]
	sxtw	x13, w23
Lloh10:
	ldr	x14, [x10]
	sxtw	x15, w21
Lloh11:
	ldr	x16, [x11]
	sxtw	x17, w2
	sxtw	x0, w0
	sub	x1, x14, #4
	sub	x2, x16, #4
	sub	x10, x14, #8
	add	x8, x14, #4
	stp	x8, x10, [sp]                   ; 16-byte Folded Spill
Lloh12:
	adrp	x8, lCPI0_1@PAGE
Lloh13:
	ldr	d1, [x8, lCPI0_1@PAGEOFF]
Lloh14:
	adrp	x8, lCPI0_0@PAGE
Lloh15:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
Lloh16:
	adrp	x28, _SNAKE_LIMIT@GOTPAGE
Lloh17:
	ldr	x28, [x28, _SNAKE_LIMIT@GOTPAGEOFF]
	mov	w20, #1
	mov	x30, x3
	stur	w3, [x29, #-88]                 ; 4-byte Folded Spill
	mov	x5, x3
	mov	x11, x9
	str	w9, [sp, #60]                   ; 4-byte Folded Spill
	mov	x3, x9
	stp	w26, w6, [sp, #28]              ; 8-byte Folded Spill
	b	LBB0_4
LBB0_1:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w9, #0
	b.gt	LBB0_82
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh18:
	adrp	x8, _too_expensive@GOTPAGE
Lloh19:
	ldr	x8, [x8, _too_expensive@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ge	LBB0_71
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w20, w20, #1
	ldr	x5, [sp, #72]                   ; 8-byte Folded Reload
	ldp	w26, w6, [sp, #28]              ; 8-byte Folded Reload
	ldp	x11, x3, [sp, #88]              ; 16-byte Folded Reload
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
                                        ;       Child Loop BB0_23 Depth 3
                                        ;     Child Loop BB0_47 Depth 2
                                        ;       Child Loop BB0_48 Depth 3
                                        ;     Child Loop BB0_36 Depth 2
                                        ;       Child Loop BB0_41 Depth 3
                                        ;     Child Loop BB0_60 Depth 2
                                        ;       Child Loop BB0_64 Depth 3
	cmp	w3, w6
	b.le	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w8, w3, #2
	sub	w9, w3, #1
	mov	w10, #-1
	str	w10, [x27, w8, sxtw #2]
	mov	x3, x9
	cmp	w11, w26
	b.lt	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w11, w11, #1
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w3, w3, #1
	cmp	w11, w26
	b.ge	LBB0_6
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w11, #2
	add	w9, w11, #1
	mov	w10, #-1
	str	w10, [x27, w8, sxtw #2]
	mov	x11, x9
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w11, w3
	str	w20, [sp, #84]                  ; 4-byte Folded Spill
	stp	x11, x3, [sp, #88]              ; 16-byte Folded Spill
	b.ge	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w3, #0
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w5, w6
	b.le	LBB0_26
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh21:
	adrp	x8, _LIN_MAX@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LIN_MAX@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	sub	w9, w5, #2
	sub	w10, w5, #1
	str	w8, [x24, w9, sxtw #2]
	mov	x5, x10
	cmp	w30, w26
	b.lt	LBB0_27
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w30, w30, #1
	b	LBB0_28
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x9, x3
	mov	w3, #0
	sxtw	x19, w11
	sxtw	x7, w30
	neg	w8, w11
	sxtw	x4, w5
	sxtw	x9, w9
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=2
	sub	x19, x19, #2
	add	w8, w8, #2
	cmp	x19, x9
	b.lt	LBB0_11
LBB0_16:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_23 Depth 3
	add	x10, x27, x19, lsl #2
	ldur	w11, [x10, #-4]
	ldr	w10, [x10, #4]
	cmp	w11, w10
	csinc	w10, w10, w11, lt
	sub	w20, w10, w19
	cmp	w10, w23
	ccmp	w20, w21, #0, lt
	b.lt	LBB0_22
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	mov	x11, x10
LBB0_18:                                ;   in Loop: Header=BB0_16 Depth=2
	ldr	w22, [x28]
	sub	w10, w11, w10
	cmp	w10, w22
	csinc	w3, w3, wzr, le
	str	w11, [x27, x19, lsl #2]
	tbz	w12, #0, LBB0_15
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=2
	cmp	x19, x4
	b.lt	LBB0_15
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=2
	cmp	x19, x7
	b.gt	LBB0_15
; %bb.21:                               ;   in Loop: Header=BB0_16 Depth=2
	ldr	w10, [x24, x19, lsl #2]
	cmp	w10, w11
	b.gt	LBB0_15
	b	LBB0_66
LBB0_22:                                ;   in Loop: Header=BB0_16 Depth=2
	sxtw	x11, w10
	add	w20, w10, w8
	sxtw	x20, w20
LBB0_23:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_16 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w22, [x14, x11, lsl #2]
	ldr	w25, [x16, x20, lsl #2]
	cmp	w22, w25
	b.ne	LBB0_18
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=3
	add	x11, x11, #1
	add	x20, x20, #1
	cmp	x11, x13
	b.ge	LBB0_18
; %bb.25:                               ;   in Loop: Header=BB0_23 Depth=3
	cmp	x20, x15
	b.lt	LBB0_23
	b	LBB0_18
LBB0_26:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w5, w5, #1
	cmp	w30, w26
	b.ge	LBB0_13
LBB0_27:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh24:
	adrp	x8, _LIN_MAX@GOTPAGE
Lloh25:
	ldr	x8, [x8, _LIN_MAX@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	add	w9, w30, #2
	add	w10, w30, #1
	str	w8, [x24, w9, sxtw #2]
	mov	x30, x10
LBB0_28:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w30, w5
	stp	x30, x5, [sp, #64]              ; 16-byte Folded Spill
	b.ge	LBB0_45
LBB0_29:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	x26, x25, [sp, #40]             ; 16-byte Folded Reload
	ldr	x30, [sp, #64]                  ; 8-byte Folded Reload
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	ldr	w20, [sp, #84]                  ; 4-byte Folded Reload
	cbnz	w8, LBB0_3
; %bb.30:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w20, #201
	b.lo	LBB0_2
; %bb.31:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh27:
	adrp	x8, _speed_large_files@GOTPAGE
Lloh28:
	ldr	x8, [x8, _speed_large_files@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	cmp	w3, #0
	ccmp	x8, #0, #4, ne
	b.eq	LBB0_2
; %bb.32:                               ;   in Loop: Header=BB0_4 Depth=1
	ldp	x9, x8, [sp, #88]               ; 16-byte Folded Reload
	cmp	w9, w8
	b.lt	LBB0_55
; %bb.33:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w19, #0
	mov	x8, x9
	sxtw	x3, w8
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	sxtw	x7, w8
	mov	w8, #-2
	sub	w8, w8, w9
	ldr	w5, [sp, #60]                   ; 4-byte Folded Reload
	b	LBB0_36
LBB0_34:                                ;   in Loop: Header=BB0_36 Depth=2
	ldr	w5, [sp, #60]                   ; 4-byte Folded Reload
LBB0_35:                                ;   in Loop: Header=BB0_36 Depth=2
	sub	x3, x3, #2
	add	w8, w8, #2
	cmp	x3, x7
	b.lt	LBB0_54
LBB0_36:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_41 Depth 3
	ldr	w9, [x27, x3, lsl #2]
	sub	w10, w9, w26
	lsl	w10, w10, #1
	subs	w4, w3, w5
	sub	w11, w10, w4
	cneg	w10, w4, mi
	add	w10, w10, w20
	add	w10, w10, w10, lsl #1
	cmp	w11, w10, lsl #2
	ccmp	w11, w19, #4, gt
	b.le	LBB0_35
; %bb.37:                               ;   in Loop: Header=BB0_36 Depth=2
	cmp	w9, w23
	b.ge	LBB0_35
; %bb.38:                               ;   in Loop: Header=BB0_36 Depth=2
	sub	w10, w9, w3
	ldr	w4, [x28]
	add	w5, w4, w25
	add	w6, w4, w26
	cmp	w6, w9
	ccmp	w5, w10, #0, le
	ccmp	w10, w21, #0, le
	b.ge	LBB0_34
; %bb.39:                               ;   in Loop: Header=BB0_36 Depth=2
	sub	w5, w9, #1
	ldr	w5, [x14, w5, sxtw #2]
	sub	w6, w10, #1
	ldr	w6, [x16, w6, sxtw #2]
	cmp	w5, w6
	b.ne	LBB0_34
; %bb.40:                               ;   in Loop: Header=BB0_36 Depth=2
	sxtw	x5, w9
	sub	x4, x4, #1
	add	w20, w9, w8
	ldr	x6, [sp, #8]                    ; 8-byte Folded Reload
	add	x22, x6, x5, lsl #2
LBB0_41:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_36 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	cbz	x4, LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_41 Depth=3
	ldr	w5, [x22], #-4
	ldr	w6, [x16, w20, sxtw #2]
	sub	x4, x4, #1
	sub	w20, w20, #1
	cmp	w5, w6
	b.eq	LBB0_41
	b	LBB0_44
LBB0_43:                                ;   in Loop: Header=BB0_36 Depth=2
	ldr	x4, [sp, #16]                   ; 8-byte Folded Reload
	stp	w9, w10, [x4]
	mov	x19, x11
LBB0_44:                                ;   in Loop: Header=BB0_36 Depth=2
	ldr	w5, [sp, #60]                   ; 4-byte Folded Reload
	ldr	w20, [sp, #84]                  ; 4-byte Folded Reload
	b	LBB0_35
LBB0_45:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x30
	sxtw	x8, w8
	ldr	x9, [sp, #88]                   ; 8-byte Folded Reload
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	sxtw	x4, w9
	neg	w7, w30
	ldr	x9, [sp, #96]                   ; 8-byte Folded Reload
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	sxtw	x19, w9
	mov	x9, x5
	sxtw	x20, w9
	mov	w9, w30
	b	LBB0_47
LBB0_46:                                ;   in Loop: Header=BB0_47 Depth=2
	sub	x8, x8, #2
	add	w7, w7, #2
	sub	x9, x9, #2
	cmp	x8, x20
	b.lt	LBB0_29
LBB0_47:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_48 Depth 3
	mov	x26, #0
	add	x10, x24, x8, lsl #2
	ldur	w11, [x10, #-4]
	ldr	w10, [x10, #4]
	sub	w22, w10, #1
	cmp	w11, w10
	csel	w10, w11, w22, lt
	sxtw	x11, w10
	add	w30, w10, w7
	add	x22, x1, w10, sxtw #2
	sxtw	x25, w30
	add	x30, x2, w30, sxtw #2
LBB0_48:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_47 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x10, x26
	add	x26, x25, x26
	add	x5, x11, x10
	cmp	x5, x0
	ccmp	x26, x17, #4, gt
	b.le	LBB0_50
; %bb.49:                               ;   in Loop: Header=BB0_48 Depth=3
	lsl	x5, x10, #2
	ldr	w6, [x22, x5]
	ldr	w5, [x30, x5]
	sub	x26, x10, #1
	cmp	w6, w5
	b.eq	LBB0_48
LBB0_50:                                ;   in Loop: Header=BB0_47 Depth=2
	add	x22, x10, w11, uxtw
	ldr	w5, [x28]
	neg	w6, w10
	cmp	w6, w5
	csinc	w3, w3, wzr, le
	str	w22, [x24, x8, lsl #2]
	tbnz	w12, #0, LBB0_46
; %bb.51:                               ;   in Loop: Header=BB0_47 Depth=2
	cmp	x8, x19
	b.lt	LBB0_46
; %bb.52:                               ;   in Loop: Header=BB0_47 Depth=2
	cmp	x8, x4
	b.gt	LBB0_46
; %bb.53:                               ;   in Loop: Header=BB0_47 Depth=2
	ldr	w5, [x27, x8, lsl #2]
	cmp	w5, w22
	b.lt	LBB0_46
	b	LBB0_67
LBB0_54:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w19, #0
	b.gt	LBB0_83
LBB0_55:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	cmp	w30, w8
	b.lt	LBB0_2
; %bb.56:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #0
	mov	x8, x30
	sxtw	x8, w8
	ldr	x10, [sp, #72]                  ; 8-byte Folded Reload
                                        ; kill: def $w10 killed $w10 killed $x10 def $x10
	sxtw	x3, w10
	mov	w10, #1
	sub	w4, w10, w30
	b	LBB0_60
LBB0_57:                                ;   in Loop: Header=BB0_60 Depth=2
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	stp	w10, w7, [x9]
	mov	x9, x11
LBB0_58:                                ;   in Loop: Header=BB0_60 Depth=2
	ldr	w20, [sp, #84]                  ; 4-byte Folded Reload
LBB0_59:                                ;   in Loop: Header=BB0_60 Depth=2
	sub	x8, x8, #2
	add	w4, w4, #2
	cmp	x8, x3
	b.lt	LBB0_1
LBB0_60:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_64 Depth 3
	ldur	w10, [x29, #-88]                ; 4-byte Folded Reload
	subs	w5, w8, w10
	ldr	w10, [x24, x8, lsl #2]
	sub	w11, w23, w10
	add	w11, w5, w11, lsl #1
	cneg	w5, w5, mi
	add	w5, w5, w20
	add	w5, w5, w5, lsl #1
	cmp	w11, w5, lsl #2
	ccmp	w11, w9, #4, gt
	ccmp	w10, w26, #4, gt
	b.le	LBB0_59
; %bb.61:                               ;   in Loop: Header=BB0_60 Depth=2
	sub	w7, w10, w8
	ldr	w19, [x28]
	sub	w5, w21, w19
	sub	w6, w23, w19
	cmp	w10, w6
	ccmp	w7, w25, #4, le
	ccmp	w7, w5, #0, gt
	b.gt	LBB0_59
; %bb.62:                               ;   in Loop: Header=BB0_60 Depth=2
	sxtw	x22, w10
	ldr	w5, [x14, x22, lsl #2]
	ldr	w6, [x16, w7, sxtw #2]
	cmp	w5, w6
	b.ne	LBB0_59
; %bb.63:                               ;   in Loop: Header=BB0_60 Depth=2
	sub	w19, w19, #1
	add	w20, w10, w4
	ldr	x5, [sp]                        ; 8-byte Folded Reload
	add	x22, x5, x22, lsl #2
LBB0_64:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_60 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	cbz	x19, LBB0_57
; %bb.65:                               ;   in Loop: Header=BB0_64 Depth=3
	ldr	w5, [x22], #4
	ldr	w6, [x16, w20, sxtw #2]
	sub	x19, x19, #1
	add	w20, w20, #1
	cmp	w5, w6
	b.eq	LBB0_64
	b	LBB0_58
LBB0_66:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	str	w11, [x8]
	b	LBB0_68
LBB0_67:
	add	w8, w11, w10
	sub	w9, w11, w9
	add	w20, w9, w10
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	str	w8, [x9]
	mov	x8, x9
LBB0_68:
	movi.2s	v0, #1
LBB0_69:
	str	w20, [x8, #4]
LBB0_70:
	str	d0, [x8, #8]
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_71:
	mov	x22, x30
	ldp	x9, x10, [sp, #88]              ; 16-byte Folded Reload
	cmp	w9, w10
	b.ge	LBB0_73
; %bb.72:
	mov	w26, #0
	mov	w19, #-1
	ldr	x25, [sp, #72]                  ; 8-byte Folded Reload
	b	LBB0_75
LBB0_73:
	mov	w26, #0
	mov	x8, x9
	sxtw	x20, w8
	mov	x8, x10
	sxtw	x8, w8
	stur	x8, [x29, #-88]                 ; 8-byte Folded Spill
	neg	w28, w9
	mov	w19, #-1
	ldr	x25, [sp, #72]                  ; 8-byte Folded Reload
LBB0_74:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x27, x20, lsl #2]
	mov	x1, x23
	bl	_MIN
	add	w8, w0, w28
	cmp	w21, w8
	csel	w8, w21, w8, lt
	add	w9, w8, w20
	add	w8, w20, w8, lsl #1
	cmp	w19, w8
	csel	w19, w19, w8, gt
	csel	w26, w9, w26, lt
	sub	x20, x20, #2
	add	w28, w28, #2
	ldur	x8, [x29, #-88]                 ; 8-byte Folded Reload
	cmp	x20, x8
	b.ge	LBB0_74
LBB0_75:
	str	w26, [sp, #96]                  ; 4-byte Folded Spill
Lloh30:
	adrp	x8, _LIN_MAX@GOTPAGE
Lloh31:
	ldr	x8, [x8, _LIN_MAX@GOTPAGEOFF]
Lloh32:
	ldr	w20, [x8]
	cmp	w22, w25
	b.ge	LBB0_77
; %bb.76:
	mov	w27, #0
	ldp	x26, x22, [sp, #40]             ; 16-byte Folded Reload
	b	LBB0_79
LBB0_77:
	mov	w27, #0
	mov	x8, x22
	sxtw	x28, w8
	mov	x8, x25
	sxtw	x8, w8
	stur	x8, [x29, #-88]                 ; 8-byte Folded Spill
	neg	w25, w22
	ldp	x26, x22, [sp, #40]             ; 16-byte Folded Reload
LBB0_78:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24, x28, lsl #2]
	mov	x0, x26
	bl	_MAX
	add	w8, w0, w25
	cmp	w22, w8
	csel	w8, w22, w8, gt
	add	w9, w8, w28
	add	w8, w28, w8, lsl #1
	cmp	w8, w20
	csel	w20, w8, w20, lt
	csel	w27, w9, w27, lt
	sub	x28, x28, #2
	add	w25, w25, #2
	ldur	x8, [x29, #-88]                 ; 8-byte Folded Reload
	cmp	x28, x8
	b.ge	LBB0_78
LBB0_79:
	add	w8, w21, w23
	sub	w8, w8, w20
	add	w9, w22, w26
	sub	w9, w19, w9
	cmp	w8, w9
	b.ge	LBB0_81
; %bb.80:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w9, [sp, #96]                   ; 4-byte Folded Reload
	str	w9, [x8]
	sub	w20, w19, w9
Lloh33:
	adrp	x9, lCPI0_0@PAGE
Lloh34:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	b	LBB0_69
LBB0_81:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	str	w27, [x8]
	sub	w20, w20, w27
Lloh35:
	adrp	x9, lCPI0_1@PAGE
Lloh36:
	ldr	d0, [x9, lCPI0_1@PAGEOFF]
	b	LBB0_69
LBB0_82:
	fmov	d0, d1
LBB0_83:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	b	LBB0_70
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdr	Lloh14, Lloh15
	.loh AdrpAdrp	Lloh12, Lloh14
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh11
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdr	Lloh33, Lloh34
	.loh AdrpLdr	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_fdiag,8,3                      ; @fdiag
	.comm	_bdiag,8,3                      ; @bdiag
	.comm	_xvec,8,3                       ; @xvec
	.comm	_yvec,8,3                       ; @yvec
	.comm	_SNAKE_LIMIT,4,2                ; @SNAKE_LIMIT
	.comm	_LIN_MAX,4,2                    ; @LIN_MAX
	.comm	_speed_large_files,8,3          ; @speed_large_files
	.comm	_too_expensive,4,2              ; @too_expensive
	.no_dead_strip	_diag
.subsections_via_symbols
