	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_cm_factor
_get_cm_factor:                         ## @get_cm_factor
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	(%rdi), %rcx
	movl	$0, (%rsi)
	movl	(%rcx), %eax
	movq	8(%rcx), %r14
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	leaq	-1(%rax), %rdx
	movl	%eax, %ecx
	andl	$3, %ecx
	cmpq	$3, %rdx
	jae	LBB0_4
## %bb.3:
	xorps	%xmm0, %xmm0
	xorl	%edx, %edx
	jmp	LBB0_6
LBB0_1:
	xorps	%xmm0, %xmm0
	jmp	LBB0_9
LBB0_4:
	movl	%eax, %esi
	andl	$-4, %esi
	xorps	%xmm0, %xmm0
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movss	(%r14,%rdx,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movaps	%xmm1, %xmm2
	mulss	%xmm1, %xmm2
	mulss	%xmm1, %xmm2
	addss	%xmm0, %xmm2
	movss	%xmm2, (%rbx)
	movss	4(%r14,%rdx,4), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	movaps	%xmm0, %xmm1
	mulss	%xmm0, %xmm1
	mulss	%xmm0, %xmm1
	addss	%xmm2, %xmm1
	movss	%xmm1, (%rbx)
	movss	8(%r14,%rdx,4), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	movaps	%xmm0, %xmm2
	mulss	%xmm0, %xmm2
	mulss	%xmm0, %xmm2
	addss	%xmm1, %xmm2
	movss	%xmm2, (%rbx)
	movss	12(%r14,%rdx,4), %xmm1          ## xmm1 = mem[0],zero,zero,zero
	movaps	%xmm1, %xmm0
	mulss	%xmm1, %xmm0
	mulss	%xmm1, %xmm0
	addss	%xmm2, %xmm0
	movss	%xmm0, (%rbx)
	addq	$4, %rdx
	cmpq	%rdx, %rsi
	jne	LBB0_5
LBB0_6:
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.7:
	leaq	(%r14,%rdx,4), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movss	(%rdx,%rsi,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movaps	%xmm1, %xmm2
	mulss	%xmm1, %xmm2
	mulss	%xmm1, %xmm2
	addss	%xmm2, %xmm0
	movss	%xmm0, (%rbx)
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_8
LBB0_9:
	xorps	%xmm1, %xmm1
	cvtsi2ss	%eax, %xmm1
	divss	%xmm1, %xmm0
	callq	_cbrtf
	movss	%xmm0, (%rbx)
	divss	(%r14), %xmm0
	movss	%xmm0, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_cm_factor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_cm_factor
_get_cm_factor:                         ; @get_cm_factor
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x9, [x0]
	str	wzr, [x1]
	ldr	w8, [x9]
	ldr	x20, [x9, #8]
	movi	d0, #0000000000000000
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x9, x8
	mov	x10, x20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s1, [x10], #4
	fmul	s2, s1, s1
	fmadd	s0, s2, s1, s0
	str	s0, [x19]
	subs	x9, x9, #1
	b.ne	LBB0_2
LBB0_3:
	scvtf	s1, w8
	fdiv	s0, s0, s1
	bl	_cbrtf
	str	s0, [x19]
	ldr	s1, [x20]
	fdiv	s0, s0, s1
	str	s0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_cm_factor
.subsections_via_symbols
