	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function local_book_besterror
_local_book_besterror:                  ## @local_book_besterror
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdi), %r13d
	movl	4(%rdi), %r11d
	movl	8(%rdi), %eax
	movl	12(%rdi), %r15d
	movl	%r15d, %r12d
	sarl	%r12d
	pxor	%xmm0, %xmm0
	movdqa	%xmm0, -64(%rbp)
	movdqa	%xmm0, -80(%rbp)
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	cmpl	$1, %eax
	movq	%rdi, -136(%rbp)                ## 8-byte Spill
	movl	%r11d, -128(%rbp)               ## 4-byte Spill
	jne	LBB0_7
## %bb.1:
	testl	%r13d, %r13d
	jle	LBB0_18
## %bb.2:
	leal	-1(%r15), %ebx
	leal	-1(%r13), %eax
	notq	%rax
	addq	%r13, %rax
	leaq	-80(,%rax,4), %rdi
	addq	%rbp, %rdi
	leaq	(%r14,%rax,4), %rsi
	leaq	(,%r13,4), %rdx
	callq	_memcpy
	movl	-128(%rbp), %r11d               ## 4-byte Reload
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	xorl	%r8d, %r8d
	movq	%r13, %rdx
	xorl	%r10d, %r10d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	addl	%esi, %esi
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	imull	%r15d, %r10d
	cmpl	%r15d, %esi
	movl	%ebx, %ecx
	cmovll	%esi, %ecx
	testl	%esi, %esi
	cmovsl	%r8d, %ecx
	addl	%ecx, %r10d
	testl	%edx, %edx
	je	LBB0_19
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%r14,%rdx,4), %eax
	decq	%rdx
	subl	%r11d, %eax
	movl	%eax, %esi
	subl	%r12d, %esi
	jge	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%r12d, %ecx
	subl	%eax, %ecx
	leal	(%rcx,%rcx), %esi
	decl	%esi
	jmp	LBB0_4
LBB0_7:
	testl	%r13d, %r13d
	jle	LBB0_18
## %bb.8:
	movl	-120(%rbp), %r9d                ## 4-byte Reload
	sarl	%r9d
	subl	%r11d, %r9d
	leal	-1(%r15), %r8d
	xorl	%r10d, %r10d
	movq	%r13, %rbx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_10 Depth=1
	addl	%esi, %r10d
	imull	-120(%rbp), %eax                ## 4-byte Folded Reload
	movl	-128(%rbp), %r11d               ## 4-byte Reload
	addl	%r11d, %eax
	movl	%eax, -84(%rbp,%rbx,4)
	movq	%rcx, %rbx
	testl	%ecx, %ecx
	je	LBB0_19
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	-4(%r14,%rbx,4), %eax
	addl	%r9d, %eax
	cltd
	idivl	-120(%rbp)                      ## 4-byte Folded Reload
	movl	%eax, %edx
	subl	%r12d, %edx
	jge	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	%r12d, %ecx
	subl	%eax, %ecx
	leal	(%rcx,%rcx), %edx
	decl	%edx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	addl	%edx, %edx
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	%edx, %r11d
	cmpl	%r15d, %edx
	jl	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	%r8d, %r11d
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=1
	leaq	-1(%rbx), %rcx
	imull	%r15d, %r10d
	xorl	%esi, %esi
	testl	%edx, %edx
	js	LBB0_9
## %bb.16:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	%r11d, %esi
	jmp	LBB0_9
LBB0_18:
	xorl	%r10d, %r10d
LBB0_19:
	movq	24(%rdi), %r8
	movq	(%r8), %rax
	movslq	%r10d, %rcx
	cmpq	$0, (%rax,%rcx,8)
	jle	LBB0_24
LBB0_20:
	testl	%r10d, %r10d
	js	LBB0_57
## %bb.21:
	testl	%r13d, %r13d
	jle	LBB0_57
## %bb.22:
	cmpl	$8, %r13d
	jae	LBB0_48
## %bb.23:
	xorl	%eax, %eax
	jmp	LBB0_55
LBB0_24:
	pxor	%xmm0, %xmm0
	movdqa	%xmm0, -96(%rbp)
	movdqa	%xmm0, -112(%rbp)
	cmpl	$0, 16(%rdi)
	jle	LBB0_20
## %bb.25:
	decl	%r15d
	imull	-120(%rbp), %r15d               ## 4-byte Folded Reload
	addl	%r11d, %r15d
	movl	%r13d, %eax
	andl	$-8, %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	addq	$-8, %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	%rax, %rcx
	shrq	$3, %rcx
	incq	%rcx
	movq	%rcx, %rax
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
	andq	$-2, %rcx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	movl	$-1, %eax
	xorl	%r12d, %r12d
	leaq	-112(%rbp), %rsi
	movq	%r13, -160(%rbp)                ## 8-byte Spill
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_27 Depth=1
	negl	%ecx
	movl	%ecx, (%rdx)
	incq	%r12
	movslq	16(%rdi), %rcx
	cmpq	%rcx, %r12
	jge	LBB0_20
LBB0_27:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_34 Depth 2
                                        ##     Child Loop BB0_38 Depth 2
                                        ##     Child Loop BB0_44 Depth 2
	movq	(%r8), %rcx
	cmpq	$0, (%rcx,%r12,8)
	jle	LBB0_42
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	testl	%r13d, %r13d
	jle	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_27 Depth=1
	cmpl	$8, %r13d
	jae	LBB0_32
## %bb.30:                              ##   in Loop: Header=BB0_27 Depth=1
	xorl	%edx, %edx
	xorl	%ebx, %ebx
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_27 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_39
LBB0_32:                                ##   in Loop: Header=BB0_27 Depth=1
	cmpq	$0, -128(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_47
## %bb.33:                              ##   in Loop: Header=BB0_27 Depth=1
	pxor	%xmm2, %xmm2
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	xorl	%edx, %edx
	pxor	%xmm3, %xmm3
	.p2align	4, 0x90
LBB0_34:                                ##   Parent Loop BB0_27 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqa	-112(%rbp,%rdx,4), %xmm4
	movdqa	-96(%rbp,%rdx,4), %xmm5
	movdqa	-80(%rbp,%rdx,4), %xmm0
	movdqa	-64(%rbp,%rdx,4), %xmm1
	movdqu	(%r14,%rdx,4), %xmm6
	psubd	%xmm6, %xmm4
	movdqu	16(%r14,%rdx,4), %xmm6
	psubd	%xmm6, %xmm5
	movdqu	32(%r14,%rdx,4), %xmm6
	psubd	%xmm6, %xmm0
	movdqu	48(%r14,%rdx,4), %xmm6
	psubd	%xmm6, %xmm1
	pmulld	%xmm4, %xmm4
	paddd	%xmm2, %xmm4
	pmulld	%xmm5, %xmm5
	paddd	%xmm3, %xmm5
	pmulld	%xmm0, %xmm0
	paddd	%xmm4, %xmm0
	pmulld	%xmm1, %xmm1
	paddd	%xmm5, %xmm1
	addq	$16, %rdx
	movdqa	%xmm0, %xmm2
	movdqa	%xmm1, %xmm3
	addq	$-2, %rcx
	jne	LBB0_34
## %bb.35:                              ##   in Loop: Header=BB0_27 Depth=1
	testb	$1, -152(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_37
LBB0_36:                                ##   in Loop: Header=BB0_27 Depth=1
	movdqa	-112(%rbp,%rdx,4), %xmm2
	movdqa	-96(%rbp,%rdx,4), %xmm3
	movdqu	(%r14,%rdx,4), %xmm4
	psubd	%xmm4, %xmm2
	movdqu	16(%r14,%rdx,4), %xmm4
	psubd	%xmm4, %xmm3
	pmulld	%xmm2, %xmm2
	paddd	%xmm2, %xmm0
	pmulld	%xmm3, %xmm3
	paddd	%xmm3, %xmm1
LBB0_37:                                ##   in Loop: Header=BB0_27 Depth=1
	paddd	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddd	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	paddd	%xmm1, %xmm0
	movd	%xmm0, %ebx
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movq	%rcx, %rdx
	cmpq	%r13, %rcx
	je	LBB0_39
	.p2align	4, 0x90
LBB0_38:                                ##   Parent Loop BB0_27 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-112(%rbp,%rdx,4), %ecx
	subl	(%r14,%rdx,4), %ecx
	imull	%ecx, %ecx
	addl	%ecx, %ebx
	incq	%rdx
	cmpq	%rdx, %r13
	jne	LBB0_38
LBB0_39:                                ##   in Loop: Header=BB0_27 Depth=1
	cmpl	$-1, %eax
	je	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_27 Depth=1
	cmpl	%eax, %ebx
	jge	LBB0_42
LBB0_41:                                ##   in Loop: Header=BB0_27 Depth=1
	leaq	-80(%rbp), %rdi
	movl	$32, %edx
	movq	%r8, %r13
	callq	_memcpy
	leaq	-112(%rbp), %rsi
	movq	%r13, %r8
	movq	-160(%rbp), %r13                ## 8-byte Reload
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	movl	%r12d, %r10d
	movl	%ebx, %eax
LBB0_42:                                ##   in Loop: Header=BB0_27 Depth=1
	movl	-112(%rbp), %ecx
	movq	%rsi, %rdx
	cmpl	%r15d, %ecx
	jl	LBB0_45
## %bb.43:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	%rsi, %rdx
	.p2align	4, 0x90
LBB0_44:                                ##   Parent Loop BB0_27 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$0, (%rdx)
	movl	4(%rdx), %ecx
	addq	$4, %rdx
	cmpl	%r15d, %ecx
	jge	LBB0_44
LBB0_45:                                ##   in Loop: Header=BB0_27 Depth=1
	testl	%ecx, %ecx
	js	LBB0_26
## %bb.46:                              ##   in Loop: Header=BB0_27 Depth=1
	addl	8(%rdi), %ecx
	jmp	LBB0_26
LBB0_47:                                ##   in Loop: Header=BB0_27 Depth=1
	pxor	%xmm0, %xmm0
	xorl	%edx, %edx
	pxor	%xmm1, %xmm1
	testb	$1, -152(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_36
	jmp	LBB0_37
LBB0_48:
	movl	%r13d, %eax
	andl	$-8, %eax
	leaq	-8(%rax), %rcx
	movq	%rcx, %rsi
	shrq	$3, %rsi
	incq	%rsi
	testq	%rcx, %rcx
	je	LBB0_59
## %bb.49:
	movq	%rsi, %rdi
	andq	$-2, %rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_50:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%r14,%rdx,4), %xmm0
	movdqu	16(%r14,%rdx,4), %xmm1
	movdqu	32(%r14,%rdx,4), %xmm2
	movdqu	48(%r14,%rdx,4), %xmm3
	psubd	-80(%rbp,%rdx,4), %xmm0
	psubd	-64(%rbp,%rdx,4), %xmm1
	movdqu	%xmm0, (%r14,%rdx,4)
	movdqu	%xmm1, 16(%r14,%rdx,4)
	psubd	-48(%rbp,%rdx,4), %xmm2
	psubd	-32(%rbp,%rdx,4), %xmm3
	movdqu	%xmm2, 32(%r14,%rdx,4)
	movdqu	%xmm3, 48(%r14,%rdx,4)
	addq	$16, %rdx
	addq	$-2, %rdi
	jne	LBB0_50
## %bb.51:
	testb	$1, %sil
	je	LBB0_53
LBB0_52:
	movdqu	(%r14,%rdx,4), %xmm0
	movdqu	16(%r14,%rdx,4), %xmm1
	psubd	-80(%rbp,%rdx,4), %xmm0
	psubd	-64(%rbp,%rdx,4), %xmm1
	movdqu	%xmm0, (%r14,%rdx,4)
	movdqu	%xmm1, 16(%r14,%rdx,4)
LBB0_53:
	cmpq	%r13, %rax
	je	LBB0_57
## %bb.54:
	leaq	(%r14,%rax,4), %r14
LBB0_55:
	leaq	-80(,%rax,4), %rdx
	addq	%rbp, %rdx
	subq	%rax, %r13
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_56:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%rax,4), %ecx
	subl	%ecx, (%r14,%rax,4)
	incq	%rax
	cmpq	%rax, %r13
	jne	LBB0_56
LBB0_57:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_60
## %bb.58:
	movl	%r10d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_59:
	xorl	%edx, %edx
	testb	$1, %sil
	jne	LBB0_52
	jmp	LBB0_53
LBB0_60:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_local_book_besterror
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function local_book_besterror
_local_book_besterror:                  ; @local_book_besterror
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	ldp	w21, w24, [x0]
	ldp	w25, w26, [x0, #8]
	asr	w22, w26, #1
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #32]
	cmp	w25, #1
	b.ne	LBB0_4
; %bb.1:
	cmp	w21, #1
	b.lt	LBB0_7
; %bb.2:
	sub	w23, w26, #1
	sub	w8, w21, #1
	mvn	x8, x8
	add	x8, x8, x21
	lsl	x8, x8, #2
	add	x9, sp, #32
	add	x0, x9, x8
	add	x1, x19, x8
	lsl	x2, x21, #2
	bl	_memcpy
	mov	w0, #0
	sub	x8, x19, #4
	mov	x9, x21
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8, x9, lsl #2]
	sub	w10, w10, w24
	sub	w11, w10, w22
	lsl	w11, w11, #1
	sub	w12, w22, w10
	lsl	w12, w12, #1
	sub	w12, w12, #1
	cmp	w10, w22
	csel	w10, w11, w12, ge
	cmp	w10, w26
	csel	w11, w10, w23, lt
	cmp	w10, #0
	csel	w10, wzr, w11, lt
	madd	w0, w0, w26, w10
	sub	x10, x9, #1
	mov	x9, x10
	cbnz	w10, LBB0_3
	b	LBB0_8
LBB0_4:
	cmp	w21, #1
	b.lt	LBB0_7
; %bb.5:
	mov	w0, #0
	asr	w8, w25, #1
	sub	w8, w8, w24
	sub	w9, w26, #1
	sub	x10, x19, #4
	add	x11, sp, #32
	sub	x11, x11, #4
	mov	x12, x21
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x10, x12, lsl #2]
	add	w13, w8, w13
	sdiv	w13, w13, w25
	sub	w14, w13, w22
	lsl	w14, w14, #1
	sub	w15, w22, w13
	lsl	w15, w15, #1
	sub	w15, w15, #1
	cmp	w13, w22
	csel	w14, w14, w15, ge
	cmp	w14, w26
	csel	w15, w14, w9, lt
	cmp	w14, #0
	csel	w14, wzr, w15, lt
	madd	w0, w0, w26, w14
	madd	w13, w13, w25, w24
	str	w13, [x11, x12, lsl #2]
	sub	x13, x12, #1
	mov	x12, x13
	cbnz	w13, LBB0_6
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldr	x22, [x20, #24]
	ldr	x8, [x22]
	ldr	x8, [x8, w0, sxtw #3]
	cmp	x8, #0
	b.le	LBB0_13
LBB0_9:
	tbnz	w0, #31, LBB0_38
; %bb.10:
	cmp	w21, #1
	b.lt	LBB0_38
; %bb.11:
	cmp	w21, #16
	b.hs	LBB0_33
; %bb.12:
	mov	x9, #0
	mov	x8, x19
	b	LBB0_36
LBB0_13:
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp]
	ldr	w8, [x20, #16]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.14:
	mov	x23, #0
	sub	w8, w26, #1
	madd	w24, w8, w25, w24
	and	x25, x21, #0xfffffff0
	add	x26, x19, #32
	mov	x8, sp
	add	x28, x8, #32
	mov	w8, #-1
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	neg	w10, w10
	str	w10, [x9]
	add	x23, x23, #1
	ldrsw	x9, [x20, #16]
	cmp	x23, x9
	b.ge	LBB0_9
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_22 Depth 2
                                        ;     Child Loop BB0_25 Depth 2
                                        ;     Child Loop BB0_30 Depth 2
	ldr	x9, [x22]
	ldr	x9, [x9, x23, lsl #3]
	cmp	x9, #1
	b.lt	LBB0_29
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	cmp	w21, #1
	b.lt	LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	cmp	w21, #16
	b.hs	LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x11, #0
	mov	w27, #0
	b	LBB0_24
LBB0_20:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	w27, #0
	b	LBB0_26
LBB0_21:                                ;   in Loop: Header=BB0_16 Depth=1
	movi.2d	v0, #0000000000000000
	mov	x9, x28
	mov	x10, x26
	mov	x11, x25
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_22:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q4, q5, [x9, #-32]
	ldp	q6, q7, [x9], #64
	ldp	q16, q17, [x10, #-32]
	ldp	q18, q19, [x10], #64
	sub.4s	v4, v4, v16
	sub.4s	v5, v5, v17
	sub.4s	v6, v6, v18
	sub.4s	v7, v7, v19
	mla.4s	v0, v4, v4
	mla.4s	v1, v5, v5
	mla.4s	v2, v6, v6
	mla.4s	v3, v7, v7
	subs	x11, x11, #16
	b.ne	LBB0_22
; %bb.23:                               ;   in Loop: Header=BB0_16 Depth=1
	add.4s	v0, v1, v0
	add.4s	v0, v2, v0
	add.4s	v0, v3, v0
	addv.4s	s0, v0
	fmov	w27, s0
	mov	x11, x25
	cmp	x25, x21
	b.eq	LBB0_26
LBB0_24:                                ;   in Loop: Header=BB0_16 Depth=1
	lsl	x10, x11, #2
	add	x9, x19, x10
	mov	x12, sp
	add	x10, x12, x10
	sub	x11, x21, x11
LBB0_25:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w12, [x10], #4
	ldr	w13, [x9], #4
	sub	w12, w12, w13
	madd	w27, w12, w12, w27
	subs	x11, x11, #1
	b.ne	LBB0_25
LBB0_26:                                ;   in Loop: Header=BB0_16 Depth=1
	cmn	w8, #1
	b.eq	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_16 Depth=1
	cmp	w27, w8
	b.ge	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x0, sp, #32
	mov	x1, sp
	mov	w2, #32
	bl	_memcpy
	mov	x0, x23
	mov	x8, x27
LBB0_29:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w10, [sp]
	mov	x9, sp
	cmp	w10, w24
	b.lt	LBB0_31
LBB0_30:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	wzr, [x9]
	ldr	w10, [x9, #4]!
	cmp	w10, w24
	b.ge	LBB0_30
LBB0_31:                                ;   in Loop: Header=BB0_16 Depth=1
	tbnz	w10, #31, LBB0_15
; %bb.32:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w11, [x20, #8]
	add	w10, w11, w10
	b	LBB0_15
LBB0_33:
	and	x9, x21, #0xfffffff0
	add	x8, x19, x9, lsl #2
	add	x10, x19, #32
	add	x11, sp, #32
	add	x11, x11, #32
	mov	x12, x9
LBB0_34:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x11, #-32]
	ldp	q2, q3, [x11], #64
	ldp	q4, q5, [x10, #-32]
	ldp	q6, q7, [x10]
	sub.4s	v0, v4, v0
	sub.4s	v1, v5, v1
	sub.4s	v2, v6, v2
	sub.4s	v3, v7, v3
	stp	q0, q1, [x10, #-32]
	stp	q2, q3, [x10], #64
	subs	x12, x12, #16
	b.ne	LBB0_34
; %bb.35:
	cmp	x9, x21
	b.eq	LBB0_38
LBB0_36:
	add	x10, sp, #32
	add	x10, x10, x9, lsl #2
	sub	x9, x21, x9
LBB0_37:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10], #4
	ldr	w12, [x8]
	sub	w11, w12, w11
	str	w11, [x8], #4
	subs	x9, x9, #1
	b.ne	LBB0_37
LBB0_38:
	ldr	x8, [sp, #72]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_40
; %bb.39:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_40:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_local_book_besterror
.subsections_via_symbols
