	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function normalize
LCPI0_0:
	.long	0x3f800000                      ## float 1
LCPI0_1:
	.long	0x3f000000                      ## float 0.5
LCPI0_2:
	.long	0x5f000000                      ## float 9.22337203E+18
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_normalize:                             ## @normalize
	.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
	pushq	%rax
	movl	$6360, %eax                     ## imm = 0x18D8
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -6392(%rbp)               ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rsi), %rax
	movq	(%rax), %rdx
	movq	(%rdi), %rax
	movq	(%rax), %rcx
	movl	(%rdx,%rcx,4), %r15d
	movl	%r15d, -144(%rbp)
	movl	%r15d, -96(%rbp)
	movq	8(%rax), %rcx
	movl	(%rdx,%rcx,4), %r10d
	movl	%r10d, -132(%rbp)
	movl	%r10d, -84(%rbp)
	movq	16(%rax), %rax
	movl	(%rdx,%rax,4), %r13d
	movl	%r13d, -120(%rbp)
	movl	%r13d, -72(%rbp)
	movl	8(%rsi), %r14d
	testl	%r14d, %r14d
	movq	%rdi, -6296(%rbp)               ## 8-byte Spill
	movq	%rsi, -6384(%rbp)               ## 8-byte Spill
	movq	%r15, -6376(%rbp)               ## 8-byte Spill
	movq	%r13, -6320(%rbp)               ## 8-byte Spill
	jle	LBB0_1
## %bb.2:
	movl	24(%rsi), %eax
	movl	-96(%rbp), %r12d
	movq	%r15, %r8
	movl	-84(%rbp), %r15d
	movl	-144(%rbp), %r11d
	movl	-132(%rbp), %ecx
	movl	-120(%rbp), %ebx
	movl	%ebx, -6300(%rbp)               ## 4-byte Spill
                                        ## kill: def $r13d killed $r13d killed $r13 def $r13
	movl	%r10d, %r9d
                                        ## kill: def $r8d killed $r8d killed $r8 def $r8
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jle	LBB0_7
	.p2align	4, 0x90
LBB0_4:
	movq	16(%rsi), %rax
	movslq	(%rax), %rax
	movl	%ebx, -6324(%rbp)               ## 4-byte Spill
	movslq	%ebx, %rcx
	imulq	%rax, %rcx
	leaq	(%rdx,%rcx,4), %r12
	movq	%r10, -6368(%rbp)               ## 8-byte Spill
	movq	%r13, %rdx
	xorl	%r13d, %r13d
	movq	-6376(%rbp), %rbx               ## 8-byte Reload
	movq	-6320(%rbp), %r14               ## 8-byte Reload
	movq	%r9, %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, -6312(%rbp)               ## 8-byte Spill
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movl	(%r12,%rax,8), %esi
	movl	%r8d, %edi
	callq	_FFMIN
	movq	%rax, -6336(%rbp)               ## 8-byte Spill
	movq	-6296(%rbp), %rax               ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%r12,%rax,8), %rsi
	movl	%ebx, %edi
	callq	_FFMAX
	movq	%rax, %rbx
	movq	-6296(%rbp), %rax               ## 8-byte Reload
	movq	(%rax), %rax
	movq	8(%rax), %rax
	movl	(%r12,%rax,8), %esi
	movl	%r15d, %edi
	callq	_FFMIN
	movq	%rax, %r15
	movq	-6296(%rbp), %rax               ## 8-byte Reload
	movq	(%rax), %rax
	movq	8(%rax), %rax
	movq	(%r12,%rax,8), %rsi
	movq	-6368(%rbp), %rdi               ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_FFMAX
	movq	%rax, -6368(%rbp)               ## 8-byte Spill
	movq	-6296(%rbp), %rax               ## 8-byte Reload
	movq	(%rax), %rax
	movq	16(%rax), %rax
	movl	(%r12,%rax,8), %esi
	movl	%r14d, %edi
	callq	_FFMIN
	movq	%rax, %r14
	movq	-6296(%rbp), %rax               ## 8-byte Reload
	movq	(%rax), %rax
	movq	16(%rax), %rax
	movq	(%r12,%rax,8), %rsi
	movq	-6312(%rbp), %rdi               ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_FFMAX
	movq	-6336(%rbp), %r8                ## 8-byte Reload
	movq	-6296(%rbp), %rdi               ## 8-byte Reload
	movq	%rax, %rdx
	movslq	52(%rdi), %rax
	leaq	(%r12,%rax,8), %r12
	incl	%r13d
	movq	-6384(%rbp), %rax               ## 8-byte Reload
	movl	24(%rax), %eax
	cmpl	%eax, %r13d
	jl	LBB0_5
## %bb.6:
	movq	%r14, -6320(%rbp)               ## 8-byte Spill
	movq	-6384(%rbp), %rsi               ## 8-byte Reload
	movl	8(%rsi), %r14d
	movl	%edx, %ecx
	movl	%edx, -6300(%rbp)               ## 4-byte Spill
	movq	-6368(%rbp), %r10               ## 8-byte Reload
	movl	%r10d, %ecx
	movq	%r15, %r9
                                        ## kill: def $r15d killed $r15d killed $r15
	movq	%rbx, -6376(%rbp)               ## 8-byte Spill
	movl	%ebx, %r11d
	movq	%r8, %rbx
	movl	%ebx, %r12d
	movq	%rdx, %r13
	movl	-6324(%rbp), %ebx               ## 4-byte Reload
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	cmpl	%r14d, %ebx
	jge	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rsi), %rdx
	movq	(%rdx), %rdx
	testl	%eax, %eax
	jg	LBB0_4
	jmp	LBB0_7
LBB0_9:
	movq	%r13, -6312(%rbp)               ## 8-byte Spill
	movq	%r10, -6368(%rbp)               ## 8-byte Spill
	movl	%r12d, -96(%rbp)
	movl	%r11d, -144(%rbp)
	movl	%r15d, -84(%rbp)
	movl	%ecx, -132(%rbp)
	movq	-6320(%rbp), %rax               ## 8-byte Reload
	movl	%eax, -72(%rbp)
	movl	-6300(%rbp), %eax               ## 4-byte Reload
	movl	%eax, -120(%rbp)
	movq	%r8, %r15
	movq	%r9, %r14
	jmp	LBB0_10
LBB0_1:
                                        ## kill: def $r13d killed $r13d killed $r13 def $r13
	movq	%r13, -6312(%rbp)               ## 8-byte Spill
	movq	%r10, -6368(%rbp)               ## 8-byte Spill
	movl	%r10d, %r14d
                                        ## kill: def $r15d killed $r15d killed $r15 def $r15
LBB0_10:
	movl	8(%rdi), %ecx
	movl	12(%rdi), %r13d
	movl	%ecx, %eax
	cltd
	idivl	%r13d
	cmpl	%r13d, %ecx
	jge	LBB0_12
## %bb.11:
	incl	%ecx
	movq	56(%rdi), %rax
	movq	64(%rdi), %rsi
	movq	8(%rsi), %rbx
	movss	(%rsi), %xmm5                   ## xmm5 = mem[0],zero,zero,zero
	movq	8(%rax), %r11
	movss	(%rax), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	movq	24(%rsi), %r10
	movss	16(%rsi), %xmm4                 ## xmm4 = mem[0],zero,zero,zero
	movq	24(%rax), %r9
	movss	16(%rax), %xmm2                 ## xmm2 = mem[0],zero,zero,zero
	movq	40(%rsi), %r8
	movss	32(%rsi), %xmm3                 ## xmm3 = mem[0],zero,zero,zero
	movq	40(%rax), %r12
	movss	32(%rax), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	movslq	%edx, %rdx
	movl	%ecx, %r13d
	jmp	LBB0_13
LBB0_12:
	movq	64(%rdi), %rsi
	movslq	%edx, %rdx
	movq	8(%rsi), %rbx
	cvtsi2ssl	(%rbx,%rdx,4), %xmm0
	movq	56(%rdi), %rax
	movss	(%rsi), %xmm5                   ## xmm5 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm5
	movss	%xmm5, (%rsi)
	movq	8(%rax), %r11
	xorps	%xmm0, %xmm0
	cvtsi2ssl	(%r11,%rdx,4), %xmm0
	movss	(%rax), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movss	%xmm1, (%rax)
	movq	24(%rsi), %r10
	xorps	%xmm0, %xmm0
	cvtsi2ssl	(%r10,%rdx,4), %xmm0
	movss	16(%rsi), %xmm4                 ## xmm4 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm4
	movss	%xmm4, 16(%rsi)
	movq	24(%rax), %r9
	xorps	%xmm0, %xmm0
	cvtsi2ssl	(%r9,%rdx,4), %xmm0
	movss	16(%rax), %xmm2                 ## xmm2 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm2
	movss	%xmm2, 16(%rax)
	movq	40(%rsi), %r8
	xorps	%xmm0, %xmm0
	cvtsi2ssl	(%r8,%rdx,4), %xmm0
	movss	32(%rsi), %xmm3                 ## xmm3 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm3
	movss	%xmm3, 32(%rsi)
	movq	40(%rax), %r12
	cvtsi2ssl	(%r12,%rdx,4), %xmm6
	movss	32(%rax), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	subss	%xmm6, %xmm0
	movss	%xmm0, 32(%rax)
LBB0_13:
	xorps	%xmm6, %xmm6
	cvtsi2ss	%r13d, %xmm6
	movl	%r15d, (%rbx,%rdx,4)
	cvtsi2ss	%r15d, %xmm7
	addss	%xmm5, %xmm7
	movss	%xmm7, (%rsi)
	divss	%xmm6, %xmm7
	movss	%xmm7, -92(%rbp)
	movss	%xmm7, -6336(%rbp)              ## 4-byte Spill
	movq	-6376(%rbp), %rbx               ## 8-byte Reload
	movl	%ebx, (%r11,%rdx,4)
	xorps	%xmm5, %xmm5
	cvtsi2ss	%ebx, %xmm5
	addss	%xmm1, %xmm5
	movss	%xmm5, (%rax)
	divss	%xmm6, %xmm5
	movss	%xmm5, -6340(%rbp)              ## 4-byte Spill
	movss	%xmm5, -140(%rbp)
	movl	%r14d, (%r10,%rdx,4)
	xorps	%xmm1, %xmm1
	cvtsi2ss	%r14d, %xmm1
	addss	%xmm4, %xmm1
	movss	%xmm1, 16(%rsi)
	divss	%xmm6, %xmm1
	movss	%xmm1, -80(%rbp)
	movq	-6368(%rbp), %rcx               ## 8-byte Reload
	movl	%ecx, (%r9,%rdx,4)
	xorps	%xmm4, %xmm4
	cvtsi2ss	%ecx, %xmm4
	addss	%xmm2, %xmm4
	movss	%xmm4, 16(%rax)
	divss	%xmm6, %xmm4
	movss	%xmm4, -6368(%rbp)              ## 4-byte Spill
	movss	%xmm4, -128(%rbp)
	movq	-6320(%rbp), %r14               ## 8-byte Reload
	movl	%r14d, (%r8,%rdx,4)
	xorps	%xmm2, %xmm2
	cvtsi2ss	%r14d, %xmm2
	addss	%xmm3, %xmm2
	movss	%xmm2, 32(%rsi)
	divss	%xmm6, %xmm2
	movss	%xmm2, -68(%rbp)
	movq	-6312(%rbp), %rcx               ## 8-byte Reload
	movl	%ecx, (%r12,%rdx,4)
	xorps	%xmm3, %xmm3
	cvtsi2ss	%ecx, %xmm3
	addss	%xmm0, %xmm3
	movss	%xmm3, 32(%rax)
	divss	%xmm6, %xmm3
	movss	%xmm3, -6312(%rbp)              ## 4-byte Spill
	movss	%xmm3, -116(%rbp)
	movaps	%xmm7, %xmm0
	callq	_FFMIN3
	movss	%xmm0, -6324(%rbp)              ## 4-byte Spill
	movss	-6340(%rbp), %xmm0              ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-6368(%rbp), %xmm1              ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movss	-6312(%rbp), %xmm2              ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	callq	_FFMAX3
	movss	-6340(%rbp), %xmm5              ## 4-byte Reload
                                        ## xmm5 = mem[0],zero,zero,zero
	movss	-6336(%rbp), %xmm4              ## 4-byte Reload
                                        ## xmm4 = mem[0],zero,zero,zero
	movq	%rbx, %r14
	movss	%xmm0, -6300(%rbp)              ## 4-byte Spill
	leaq	-6176(%rbp), %rax
	movq	%rax, -6320(%rbp)               ## 8-byte Spill
	leaq	-6288(%rbp), %r13
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_40 Depth 2
                                        ##     Child Loop BB0_30 Depth 2
                                        ##     Child Loop BB0_33 Depth 2
                                        ##     Child Loop BB0_37 Depth 2
	leaq	(,%r12,4), %rax
	leaq	(%rax,%rax,2), %rax
	movq	-6296(%rbp), %rdx               ## 8-byte Reload
	movss	16(%rdx), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	movss	LCPI0_0(%rip), %xmm3            ## xmm3 = mem[0],zero,zero,zero
	movaps	%xmm3, %xmm1
	subss	%xmm0, %xmm1
	movss	-6324(%rbp), %xmm2              ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm2
	mulss	%xmm0, %xmm4
	addss	%xmm2, %xmm4
	movss	%xmm4, -92(%rbp,%rax)
	mulss	-6300(%rbp), %xmm1              ## 4-byte Folded Reload
	mulss	%xmm0, %xmm5
	addss	%xmm1, %xmm5
	movss	%xmm5, -140(%rbp,%rax)
	movq	24(%rdx), %rcx
	movss	32(%rdx), %xmm6                 ## xmm6 = mem[0],zero,zero,zero
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r15d, %xmm0
	movaps	%xmm3, %xmm1
	subss	%xmm6, %xmm1
	mulss	%xmm1, %xmm0
	movss	(%rcx,%r12,4), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm6, %xmm2
	addss	%xmm0, %xmm2
	movss	%xmm2, -88(%rbp,%rax)
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r14d, %xmm0
	movq	40(%rdx), %rcx
	mulss	%xmm1, %xmm0
	mulss	(%rcx,%r12,4), %xmm6
	addss	%xmm0, %xmm6
	movss	%xmm6, -136(%rbp,%rax)
	ucomiss	%xmm5, %xmm4
	jne	LBB0_38
	jp	LBB0_38
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	%r14d, %r9d
	subl	%r15d, %r9d
	jl	LBB0_41
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	cvttss2si	%xmm2, %rcx
	movq	%rcx, %rdx
	sarq	$63, %rdx
	subss	LCPI0_2(%rip), %xmm2
	cvttss2si	%xmm2, %rax
	andq	%rdx, %rax
	orq	%rcx, %rax
	movslq	%r15d, %rcx
	cmpl	$3, %r9d
	jb	LBB0_36
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	incq	%r9
	movq	%r9, %r8
	andq	$-4, %r8
	movq	%rax, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	leaq	-4(%r8), %rdx
	movq	%rdx, %rdi
	shrq	$2, %rdi
	incq	%rdi
	movl	%edi, %ebx
	andl	$3, %ebx
	cmpq	$12, %rdx
	jae	LBB0_29
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=1
	xorl	%esi, %esi
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_14 Depth=1
	cmpl	%r15d, %r14d
	jl	LBB0_41
## %bb.39:                              ##   in Loop: Header=BB0_14 Depth=1
	subss	%xmm2, %xmm6
	subss	%xmm4, %xmm5
	divss	%xmm5, %xmm6
	movslq	%r15d, %rax
	incl	%r14d
	leaq	(,%rax,8), %rbx
	addq	%r13, %rbx
	movss	%xmm4, -6336(%rbp)              ## 4-byte Spill
	movaps	%xmm2, -6368(%rbp)              ## 16-byte Spill
	movss	%xmm6, -6312(%rbp)              ## 4-byte Spill
	.p2align	4, 0x90
LBB0_40:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r15d, %xmm0
	subss	%xmm4, %xmm0
	mulss	%xmm6, %xmm0
	addss	%xmm2, %xmm0
	addss	LCPI0_1(%rip), %xmm0
	cvttss2si	%xmm0, %edi
	xorl	%esi, %esi
	callq	_FFMAX
	movl	%eax, %edi
	movl	$255, %esi
	callq	_FFMIN
	movss	-6312(%rbp), %xmm6              ## 4-byte Reload
                                        ## xmm6 = mem[0],zero,zero,zero
	movaps	-6368(%rbp), %xmm2              ## 16-byte Reload
	movss	-6336(%rbp), %xmm4              ## 4-byte Reload
                                        ## xmm4 = mem[0],zero,zero,zero
	cltq
	movq	%rax, (%rbx)
	addq	$8, %rbx
	incl	%r15d
	cmpl	%r15d, %r14d
	jne	LBB0_40
	jmp	LBB0_41
LBB0_29:                                ##   in Loop: Header=BB0_14 Depth=1
	andq	$-4, %rdi
	movq	-6320(%rbp), %rdx               ## 8-byte Reload
	leaq	(%rdx,%rcx,8), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_30:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, -112(%rdx,%rsi,8)
	movdqu	%xmm0, -96(%rdx,%rsi,8)
	movdqu	%xmm0, -80(%rdx,%rsi,8)
	movdqu	%xmm0, -64(%rdx,%rsi,8)
	movdqu	%xmm0, -48(%rdx,%rsi,8)
	movdqu	%xmm0, -32(%rdx,%rsi,8)
	movdqu	%xmm0, -16(%rdx,%rsi,8)
	movdqu	%xmm0, (%rdx,%rsi,8)
	addq	$16, %rsi
	addq	$-4, %rdi
	jne	LBB0_30
LBB0_31:                                ##   in Loop: Header=BB0_14 Depth=1
	testq	%rbx, %rbx
	je	LBB0_34
## %bb.32:                              ##   in Loop: Header=BB0_14 Depth=1
	addq	%rcx, %rsi
	leaq	(,%rsi,8), %rdx
	addq	%r13, %rdx
	shlq	$5, %rbx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_33:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, (%rdx,%rsi)
	movdqu	%xmm0, 16(%rdx,%rsi)
	addq	$32, %rsi
	cmpq	%rsi, %rbx
	jne	LBB0_33
LBB0_34:                                ##   in Loop: Header=BB0_14 Depth=1
	cmpq	%r8, %r9
	je	LBB0_41
## %bb.35:                              ##   in Loop: Header=BB0_14 Depth=1
	addq	%r8, %rcx
LBB0_36:                                ##   in Loop: Header=BB0_14 Depth=1
	incl	%r14d
	movl	%r14d, %edx
	.p2align	4, 0x90
LBB0_37:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rax, (%r13,%rcx,8)
	incq	%rcx
	cmpl	%ecx, %edx
	jne	LBB0_37
LBB0_41:                                ##   in Loop: Header=BB0_14 Depth=1
	incq	%r12
	cmpq	$3, %r12
	je	LBB0_19
## %bb.42:                              ##   in Loop: Header=BB0_14 Depth=1
	leaq	(,%r12,4), %rax
	leaq	(%rax,%rax,2), %rax
	movss	-92(%rbp,%rax), %xmm4           ## xmm4 = mem[0],zero,zero,zero
	movss	-140(%rbp,%rax), %xmm5          ## xmm5 = mem[0],zero,zero,zero
	movl	-96(%rbp,%rax), %r15d
	movl	-144(%rbp,%rax), %r14d
	addq	$2048, %r13                     ## imm = 0x800
	addq	$2048, -6320(%rbp)              ## 8-byte Folded Spill
                                        ## imm = 0x800
	jmp	LBB0_14
LBB0_19:
	movq	-6384(%rbp), %rcx               ## 8-byte Reload
	movl	8(%rcx), %r8d
	testl	%r8d, %r8d
	jle	LBB0_27
## %bb.20:
	movq	(%rcx), %rax
	movq	16(%rcx), %rdx
	movq	(%rax), %r13
	movslq	(%rdx), %r9
	movq	-6392(%rbp), %rdx               ## 8-byte Reload
	movq	(%rdx), %rax
	movq	16(%rdx), %rdx
	movq	(%rax), %rsi
	movslq	(%rdx), %r10
	movl	24(%rcx), %r11d
	shlq	$2, %r10
	shlq	$2, %r9
	xorl	%r14d, %r14d
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_21 Depth=1
	incq	%r14
	addq	%r10, %rsi
	addq	%r9, %r13
	cmpq	%r8, %r14
	je	LBB0_27
LBB0_21:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_23 Depth 2
	testl	%r11d, %r11d
	jle	LBB0_26
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	-6296(%rbp), %rax               ## 8-byte Reload
	movq	(%rax), %rdx
	movl	48(%rax), %r15d
	movslq	52(%rax), %r12
	shlq	$3, %r12
	movl	%r11d, %eax
	xorl	%edi, %edi
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_23 Depth=2
	addq	%r12, %rdi
	decl	%eax
	je	LBB0_26
LBB0_23:                                ##   Parent Loop BB0_21 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rdx), %rbx
	leaq	(,%rbx,8), %rcx
	addq	%r13, %rcx
	movq	(%rdi,%rcx), %rcx
	movq	-6288(%rbp,%rcx,8), %rcx
	leaq	(%rsi,%rbx,8), %rbx
	movq	%rcx, (%rdi,%rbx)
	movq	8(%rdx), %rcx
	leaq	(%r13,%rcx,8), %rbx
	movq	(%rdi,%rbx), %rbx
	movq	-4240(%rbp,%rbx,8), %rbx
	leaq	(%rsi,%rcx,8), %rcx
	movq	%rbx, (%rdi,%rcx)
	movq	16(%rdx), %rcx
	leaq	(%r13,%rcx,8), %rbx
	movq	(%rdi,%rbx), %rbx
	movq	-2192(%rbp,%rbx,8), %rbx
	leaq	(%rsi,%rcx,8), %rcx
	movq	%rbx, (%rdi,%rcx)
	cmpl	$4, %r15d
	jne	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=2
	movq	24(%rdx), %rcx
	leaq	(,%rcx,8), %rbx
	addq	%r13, %rbx
	movq	(%rdi,%rbx), %rbx
	leaq	(%rsi,%rcx,8), %rcx
	movq	%rbx, (%rdi,%rcx)
	jmp	LBB0_25
LBB0_27:
	movq	-6296(%rbp), %rax               ## 8-byte Reload
	incl	8(%rax)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_28
## %bb.43:
	addq	$6360, %rsp                     ## imm = 0x18D8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_normalize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function normalize
_normalize:                             ; @normalize
	.cfi_startproc
; %bb.0:
	stp	d15, d14, [sp, #-160]!          ; 16-byte Folded Spill
	.cfi_def_cfa_offset 160
	stp	d13, d12, [sp, #16]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #32]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset b12, -136
	.cfi_offset b13, -144
	.cfi_offset b14, -152
	.cfi_offset b15, -160
	mov	w9, #6256
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #2160
	str	x2, [sp]                        ; 8-byte Folded Spill
	mov	x20, x1
	mov	x19, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-160]
	ldr	x8, [x1]
	ldr	x15, [x8]
	ldr	x8, [x0]
	ldp	x9, x10, [x8]
	ldr	w22, [x15, x9, lsl #2]
	ldr	w24, [x15, x10, lsl #2]
	stur	w22, [x29, #-240]
	stur	w24, [x29, #-228]
	stur	w22, [x29, #-200]
	stur	w24, [x29, #-188]
	ldr	x8, [x8, #16]
	ldr	w23, [x15, x8, lsl #2]
	stur	w23, [x29, #-216]
	stur	w23, [x29, #-176]
	ldr	w9, [x1, #8]
	cmp	w9, #1
	b.lt	LBB0_8
; %bb.1:
	mov	w16, #0
	ldr	w8, [x20, #24]
	ldur	w12, [x29, #-200]
	ldur	w11, [x29, #-188]
	ldur	w13, [x29, #-240]
	ldur	w10, [x29, #-228]
	mov	x25, x23
	mov	x26, x24
	mov	x27, x22
	ldur	w14, [x29, #-216]
	cmp	w8, #1
	b.lt	LBB0_5
LBB0_2:
	mov	w21, #0
	ldr	x8, [x20, #16]
	ldr	w8, [x8]
	str	w16, [sp, #12]                  ; 4-byte Folded Spill
	mul	w8, w8, w16
	add	x28, x15, w8, sxtw #2
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x1, [x28, x8, lsl #3]
	mov	x0, x27
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_FFMIN
	mov	x27, x0
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x1, [x28, x8, lsl #3]
	mov	x0, x22
	bl	_FFMAX
	mov	x22, x0
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	ldr	x1, [x28, x8, lsl #3]
	mov	x0, x26
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_FFMIN
	mov	x26, x0
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	ldr	x1, [x28, x8, lsl #3]
	mov	x0, x24
	bl	_FFMAX
	mov	x24, x0
	ldr	x8, [x19]
	ldr	x8, [x8, #16]
	ldr	x1, [x28, x8, lsl #3]
	mov	x0, x23
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_FFMIN
	mov	x23, x0
	ldr	x8, [x19]
	ldr	x8, [x8, #16]
	ldr	x1, [x28, x8, lsl #3]
	mov	x0, x25
	bl	_FFMAX
	mov	x25, x0
	ldrsw	x8, [x19, #52]
	add	x28, x28, x8, lsl #3
	add	w21, w21, #1
	ldr	w8, [x20, #24]
	cmp	w21, w8
	b.lt	LBB0_3
; %bb.4:
	mov	x14, x25
	ldr	w9, [x20, #8]
	mov	x10, x24
	mov	x11, x26
	mov	x13, x22
	mov	x12, x27
	ldr	w16, [sp, #12]                  ; 4-byte Folded Reload
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	w16, w16, #1
	cmp	w16, w9
	b.ge	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x15, [x20]
	ldr	x15, [x15]
	cmp	w8, #1
	b.ge	LBB0_2
	b	LBB0_5
LBB0_7:
	stur	w12, [x29, #-200]
	stur	w11, [x29, #-188]
	stur	w13, [x29, #-240]
	stur	w10, [x29, #-228]
	stur	w23, [x29, #-176]
                                        ; kill: def $w27 killed $w27 killed $x27 def $x27
	stur	w14, [x29, #-216]
	b	LBB0_9
LBB0_8:
	mov	x25, x23
	mov	x26, x24
	mov	x27, x22
LBB0_9:
	ldp	w8, w10, [x19, #8]
	sdiv	w9, w8, w10
	msub	w17, w9, w10, w8
	cmp	w8, w10
	b.ge	LBB0_11
; %bb.10:
	add	w10, w8, #1
	ldp	x8, x9, [x19, #56]
	ldr	x11, [x9, #8]
	ldr	s0, [x9]
	ldr	x12, [x8, #8]
	ldr	s1, [x8]
	ldr	x13, [x9, #24]
	ldr	s2, [x9, #16]
	ldr	x14, [x8, #24]
	ldr	s3, [x8, #16]
	ldr	x15, [x9, #40]
	ldr	s4, [x9, #32]
	ldr	x16, [x8, #40]
	sxtw	x17, w17
	ldr	s5, [x8, #32]
	b	LBB0_12
LBB0_11:
                                        ; kill: def $w17 killed $w17 killed $x17 def $x17
	ldp	x8, x9, [x19, #56]
	ldr	x11, [x9, #8]
	sbfiz	x0, x17, #2, #32
	ldr	s0, [x11, x0]
	scvtf	s0, s0
	ldr	s1, [x9]
	fsub	s0, s1, s0
	str	s0, [x9]
	ldr	x12, [x8, #8]
	ldr	s1, [x12, x0]
	scvtf	s1, s1
	ldr	s2, [x8]
	fsub	s1, s2, s1
	str	s1, [x8]
	ldr	x13, [x9, #24]
	ldr	s2, [x13, x0]
	scvtf	s2, s2
	ldr	s3, [x9, #16]
	fsub	s2, s3, s2
	str	s2, [x9, #16]
	ldr	x14, [x8, #24]
	ldr	s3, [x14, x0]
	scvtf	s3, s3
	ldr	s4, [x8, #16]
	fsub	s3, s4, s3
	str	s3, [x8, #16]
	ldr	x15, [x9, #40]
	ldr	s4, [x15, x0]
	sxtw	x17, w17
	scvtf	s4, s4
	ldr	s5, [x9, #32]
	fsub	s4, s5, s4
	str	s4, [x9, #32]
	ldr	x16, [x8, #40]
	ldr	s5, [x16, x0]
	scvtf	s5, s5
	ldr	s6, [x8, #32]
	fsub	s5, s6, s5
	str	s5, [x8, #32]
LBB0_12:
	scvtf	s6, w10
	lsl	x10, x17, #2
	str	w27, [x11, x10]
	scvtf	s7, w27
	fadd	s0, s0, s7
	str	s0, [x9]
	fdiv	s10, s0, s6
	str	w22, [x12, x10]
	scvtf	s0, w22
	fadd	s0, s1, s0
	str	s0, [x8]
	fdiv	s11, s0, s6
	str	w26, [x13, x10]
	scvtf	s0, w26
	fadd	s0, s2, s0
	str	s0, [x9, #16]
	fdiv	s1, s0, s6
	str	w24, [x14, x10]
	stur	s10, [x29, #-196]
	stur	s1, [x29, #-184]
	scvtf	s0, w24
	fadd	s0, s3, s0
	str	s0, [x8, #16]
	fdiv	s9, s0, s6
	stur	s11, [x29, #-236]
	stur	s9, [x29, #-224]
	str	w23, [x15, x10]
	scvtf	s0, w23
	fadd	s0, s4, s0
	str	s0, [x9, #32]
	fdiv	s2, s0, s6
	stur	s2, [x29, #-172]
	str	w25, [x16, x10]
	scvtf	s0, w25
	fadd	s0, s5, s0
	str	s0, [x8, #32]
	fdiv	s12, s0, s6
	stur	s12, [x29, #-212]
	fmov	s0, s10
	bl	_FFMIN3
	fmov	s8, s0
	fmov	s0, s11
	fmov	s1, s9
	fmov	s2, s12
	bl	_FFMAX3
	fmov	s9, s0
	mov	x23, #0
	add	x24, sp, #16
	sub	x25, x29, #200
	fmov	s12, #1.00000000
	fmov	s13, #0.50000000
	sub	x26, x29, #240
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_23 Depth 2
                                        ;     Child Loop BB0_17 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
	add	x8, x23, x23, lsl #1
	lsl	x8, x8, #2
	add	x9, x25, x8
	ldr	s0, [x19, #16]
	fsub	s1, s12, s0
	fmul	s2, s8, s1
	fmadd	s10, s10, s0, s2
	add	x8, x26, x8
	fmul	s1, s9, s1
	fmadd	s0, s11, s0, s1
	ldr	x10, [x19, #24]
	lsl	x11, x23, #2
	ldr	s1, [x10, x11]
	ldr	s2, [x19, #32]
	scvtf	s3, w27
	fsub	s4, s12, s2
	fmul	s3, s4, s3
	fmadd	s11, s1, s2, s3
	ldr	x10, [x19, #40]
	ldr	s1, [x10, x11]
	scvtf	s3, w22
	stp	s10, s11, [x9, #4]
	fmul	s3, s4, s3
	fmadd	s1, s1, s2, s3
	stp	s0, s1, [x8, #4]
	fcmp	s10, s0
	b.ne	LBB0_21
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	subs	w10, w22, w27
	b.lt	LBB0_24
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	fcvtzu	x8, s11
	sxtw	x12, w27
	mov	x9, x12
	cmp	w10, #7
	b.lo	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x10, x10, #1
	and	x11, x10, #0x1fffffff8
	add	x9, x11, x12
	dup.2d	v0, x8
	lsl	x12, x12, #3
	mov	x13, x11
LBB0_17:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x14, x24, x12
	stp	q0, q0, [x14]
	stp	q0, q0, [x14, #32]
	add	x12, x12, #64
	subs	x13, x13, #8
	b.ne	LBB0_17
; %bb.18:                               ;   in Loop: Header=BB0_13 Depth=1
	cmp	x10, x11
	b.eq	LBB0_24
LBB0_19:                                ;   in Loop: Header=BB0_13 Depth=1
	add	w10, w22, #1
LBB0_20:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	x8, [x24, x9, lsl #3]
	add	x9, x9, #1
	cmp	w10, w9
	b.ne	LBB0_20
	b	LBB0_24
LBB0_21:                                ;   in Loop: Header=BB0_13 Depth=1
	cmp	w22, w27
	b.lt	LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_13 Depth=1
	fsub	s1, s1, s11
	fsub	s0, s0, s10
	add	w21, w22, #1
	add	x22, x24, w27, sxtw #3
	fdiv	s14, s1, s0
LBB0_23:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	scvtf	s0, w27
	fsub	s0, s0, s10
	fmadd	s0, s0, s14, s11
	fadd	s0, s0, s13
	fcvtzs	w0, s0
	mov	x1, #0
	bl	_FFMAX
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #255
	bl	_FFMIN
	sxtw	x8, w0
	str	x8, [x22], #8
	add	w27, w27, #1
	cmp	w21, w27
	b.ne	LBB0_23
LBB0_24:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x23, x23, #1
	cmp	x23, #3
	b.eq	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x8, x23, x23, lsl #1
	lsl	x8, x8, #2
	add	x9, x25, x8
	ldr	s10, [x9, #4]
	add	x8, x26, x8
	ldr	s11, [x8, #4]
	ldr	w27, [x9]
	ldr	w22, [x8]
	add	x24, x24, #2048
	b	LBB0_13
LBB0_26:
	ldr	w8, [x20, #8]
	cmp	w8, #1
	b.lt	LBB0_34
; %bb.27:
	mov	x9, #0
	ldr	x10, [x20]
	ldr	x10, [x10]
	ldr	x11, [x20, #16]
	ldrsw	x14, [x11]
	ldr	x12, [sp]                       ; 8-byte Folded Reload
	ldr	x11, [x12]
	ldr	x11, [x11]
	ldr	x12, [x12, #16]
	ldrsw	x13, [x12]
	ldr	w12, [x20, #24]
	lsl	x13, x13, #2
	lsl	x14, x14, #2
	add	x15, sp, #16
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=1
	add	x9, x9, #1
	add	x11, x11, x13
	add	x10, x10, x14
	cmp	x9, x8
	b.eq	LBB0_34
LBB0_29:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_32 Depth 2
	cmp	w12, #1
	b.lt	LBB0_28
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=1
	mov	x16, #0
	ldr	x17, [x19]
	ldp	w0, w1, [x19, #48]
                                        ; kill: def $w1 killed $w1 def $x1
	sxtw	x1, w1
	lsl	x1, x1, #3
	mov	x2, x12
	b	LBB0_32
LBB0_31:                                ;   in Loop: Header=BB0_32 Depth=2
	add	x16, x16, x1
	subs	w2, w2, #1
	b.eq	LBB0_28
LBB0_32:                                ;   Parent Loop BB0_29 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x3, [x17]
	lsl	x3, x3, #3
	add	x4, x10, x3
	ldr	x4, [x4, x16]
	ldr	x4, [x15, x4, lsl #3]
	add	x3, x11, x3
	str	x4, [x3, x16]
	ldr	x3, [x17, #8]
	lsl	x3, x3, #3
	add	x4, x10, x3
	ldr	x4, [x4, x16]
	add	x4, x15, x4, lsl #3
	ldr	x4, [x4, #2048]
	add	x3, x11, x3
	str	x4, [x3, x16]
	ldr	x3, [x17, #16]
	lsl	x3, x3, #3
	add	x4, x10, x3
	ldr	x4, [x4, x16]
	add	x4, x15, x4, lsl #3
	ldr	x4, [x4, #4096]
	add	x3, x11, x3
	str	x4, [x3, x16]
	cmp	w0, #4
	b.ne	LBB0_31
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=2
	ldr	x3, [x17, #24]
	lsl	x3, x3, #3
	add	x4, x10, x3
	ldr	x4, [x4, x16]
	add	x3, x11, x3
	str	x4, [x3, x16]
	b	LBB0_31
LBB0_34:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	ldur	x8, [x29, #-160]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_36
; %bb.35:
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #2160
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #32]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #16]             ; 16-byte Folded Reload
	ldp	d15, d14, [sp], #160            ; 16-byte Folded Reload
	ret
LBB0_36:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_normalize
.subsections_via_symbols
