	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function factor
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_factor:                                ## @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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	cmpl	$2, %esi
	jl	LBB0_8
## %bb.1:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leal	-1(%rax), %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, %r8d
	leaq	(%rdi,%r8,8), %r10
	addq	$8, %r10
	leaq	(,%r8,8), %rax
	leaq	8(,%r8,8), %r9
	leaq	(%rdi,%r8,8), %rdx
	movl	$1, %ecx
	xorl	%r14d, %r14d
	movapd	LCPI0_0(%rip), %xmm0            ## xmm0 = [-0.0E+0,-0.0E+0]
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rcx
	addq	%r9, %r10
	addq	%r9, %rdx
	cmpq	-56(%rbp), %r14                 ## 8-byte Folded Reload
	je	LBB0_8
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##       Child Loop BB0_6 Depth 3
	movq	%r14, %rsi
	incq	%r14
	cmpq	%r8, %r14
	jae	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rsi, %r15
	imulq	%r8, %r15
	movl	%esi, %ebx
	imull	-48(%rbp), %ebx                 ## 4-byte Folded Reload
	movslq	%ebx, %r12
	addq	%rsi, %r12
	movq	%r10, %rbx
	movq	%rcx, %r13
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_6 Depth 3
	leaq	(%r15,%r13), %rsi
	movsd	(%rdi,%rsi,8), %xmm1            ## xmm1 = mem[0],zero
	divsd	(%rdi,%r12,8), %xmm1
	movsd	%xmm1, (%rdi,%rsi,8)
	xorpd	%xmm0, %xmm1
	movq	%r8, %r11
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movsd	(%rdx,%rsi), %xmm2              ## xmm2 = mem[0],zero
	mulsd	%xmm1, %xmm2
	addsd	(%rbx,%rsi), %xmm2
	movsd	%xmm2, (%rbx,%rsi)
	addq	%rax, %rsi
	decq	%r11
	cmpq	%r11, %rcx
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	incq	%r13
	addq	$8, %rbx
	cmpq	%r8, %r13
	jne	LBB0_5
	jmp	LBB0_2
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_factor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function factor
_factor:                                ; @factor
	.cfi_startproc
; %bb.0:
	cmp	w1, #2
	b.lt	LBB0_8
; %bb.1:
	mov	x17, #0
	sub	w8, w1, #1
	mov	w9, w1
	lsl	x10, x9, #3
	add	x11, x10, #8
	mov	w12, #1
	mov	x13, x10
	mov	x14, x11
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x12, x12, #1
	add	x14, x14, x11
	add	x13, x13, x11
	mov	x17, x15
	cmp	x15, x8
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;       Child Loop BB0_6 Depth 3
	add	x15, x17, #1
	cmp	x15, x9
	b.hs	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mul	x16, x17, x9
	mul	w2, w17, w1
	add	x17, x17, w2, sxtw
	mov	x2, x14
	mov	x3, x12
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_6 Depth 3
	add	x4, x3, x16
	lsl	x4, x4, #3
	ldr	d0, [x0, x4]
	ldr	d1, [x0, x17, lsl #3]
	fdiv	d0, d0, d1
	str	d0, [x0, x4]
	fneg	d0, d0
	mov	x4, x9
	mov	x5, x0
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_5 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	d1, [x5, x13]
	ldr	d2, [x5, x2]
	fmadd	d1, d0, d1, d2
	str	d1, [x5, x2]
	add	x5, x5, x10
	sub	x4, x4, #1
	cmp	x12, x4
	b.ne	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=2
	add	x3, x3, #1
	add	x2, x2, #8
	cmp	x3, x9
	b.ne	LBB0_5
	b	LBB0_2
LBB0_8:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_factor
.subsections_via_symbols
