	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function VertexWeights
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_VertexWeights:                         ## @VertexWeights
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rsi, %rdi
	movq	%r14, %rsi
	callq	_VertL1dist
	movapd	%xmm0, -48(%rbp)                ## 16-byte Spill
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_VertL1dist
	movapd	-48(%rbp), %xmm2                ## 16-byte Reload
	movapd	%xmm2, %xmm1
	addsd	%xmm0, %xmm1
	unpcklpd	%xmm2, %xmm0                    ## xmm0 = xmm0[0],xmm2[0]
	mulpd	LCPI0_0(%rip), %xmm0
	movddup	%xmm1, %xmm1                    ## xmm1 = xmm1[0,0]
	divpd	%xmm1, %xmm0
	movupd	%xmm0, (%rbx)
	movq	(%r12), %rax
	movq	(%r15), %rcx
	movapd	%xmm0, %xmm1
	unpckhpd	%xmm0, %xmm1                    ## xmm1 = xmm1[1],xmm0[1]
	mulsd	(%rcx), %xmm1
	mulsd	(%rax), %xmm0
	addsd	%xmm1, %xmm0
	movq	(%r14), %rdx
	addsd	(%rdx), %xmm0
	movsd	%xmm0, (%rdx)
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	movsd	8(%rbx), %xmm1                  ## xmm1 = mem[0],zero
	mulsd	8(%rcx), %xmm1
	mulsd	8(%rax), %xmm0
	addsd	%xmm1, %xmm0
	addsd	8(%rdx), %xmm0
	movsd	%xmm0, 8(%rdx)
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	movsd	8(%rbx), %xmm1                  ## xmm1 = mem[0],zero
	mulsd	16(%rcx), %xmm1
	mulsd	16(%rax), %xmm0
	addsd	%xmm1, %xmm0
	addsd	16(%rdx), %xmm0
	movsd	%xmm0, 16(%rdx)
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_VertexWeights
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function VertexWeights
_VertexWeights:                         ; @VertexWeights
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 b8, -56
	.cfi_offset b9, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x1
	mov	x1, x22
	bl	_VertL1dist
	fmov	d8, d0
	mov	x0, x20
	mov	x1, x22
	bl	_VertL1dist
	fmov	d1, #0.50000000
	fmul	d2, d0, d1
	fadd	d0, d8, d0
	fdiv	d2, d2, d0
	fmul	d1, d8, d1
	fdiv	d0, d1, d0
	stp	d2, d0, [x19]
	ldr	x8, [x21]
	ldr	d1, [x8]
	ldr	x9, [x20]
	ldr	d3, [x9]
	fmul	d0, d0, d3
	fmadd	d0, d2, d1, d0
	ldr	x10, [x22]
	ldp	d1, d2, [x10]
	fadd	d0, d1, d0
	str	d0, [x10]
	ldp	d0, d1, [x19]
	ldr	d3, [x9, #8]
	fmul	d1, d1, d3
	ldr	d3, [x8, #8]
	fmadd	d0, d0, d3, d1
	fadd	d0, d2, d0
	str	d0, [x10, #8]
	ldr	d0, [x8, #16]
	ldp	d1, d2, [x19]
	ldr	d3, [x9, #16]
	fmul	d2, d2, d3
	fmadd	d0, d1, d0, d2
	ldr	d1, [x10, #16]
	fadd	d0, d1, d0
	str	d0, [x10, #16]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_VertexWeights
.subsections_via_symbols
