	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mm_mul                         ## -- Begin function mm_mul
	.p2align	4, 0x90
_mm_mul:                                ## @mm_mul
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movl	%edi, %r14d
	callq	_mm_init
	movq	%rax, %r12
	movl	%r14d, %edi
	callq	_mm_init
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	testl	%r14d, %r14d
	jle	LBB0_17
## %bb.1:
	movl	-44(%rbp), %r10d                ## 4-byte Reload
	leaq	-1(%r10), %r9
	movl	%r10d, %r11d
	andl	$3, %r11d
	movl	%r10d, %r8d
	andl	$-4, %r8d
	xorl	%esi, %esi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	cmpq	%r10, %rsi
	je	LBB0_8
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##     Child Loop BB0_6 Depth 2
	movq	(%rax,%rsi,8), %rdi
	xorl	%edx, %edx
	cmpq	$3, %r9
	jb	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx,%rdx,8), %rcx
	movsd	(%rcx,%rsi,8), %xmm0            ## xmm0 = mem[0],zero
	movsd	%xmm0, (%rdi,%rdx,8)
	movq	8(%rbx,%rdx,8), %rcx
	movsd	(%rcx,%rsi,8), %xmm0            ## xmm0 = mem[0],zero
	movsd	%xmm0, 8(%rdi,%rdx,8)
	movq	16(%rbx,%rdx,8), %rcx
	movsd	(%rcx,%rsi,8), %xmm0            ## xmm0 = mem[0],zero
	movsd	%xmm0, 16(%rdi,%rdx,8)
	movq	24(%rbx,%rdx,8), %rcx
	movsd	(%rcx,%rsi,8), %xmm0            ## xmm0 = mem[0],zero
	movsd	%xmm0, 24(%rdi,%rdx,8)
	addq	$4, %rdx
	cmpq	%rdx, %r8
	jne	LBB0_3
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%r11, %r11
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rdi,%rdx,8), %r14
	leaq	(%rbx,%rdx,8), %rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rdx,%rcx,8), %rdi
	movsd	(%rdi,%rsi,8), %xmm0            ## xmm0 = mem[0],zero
	movsd	%xmm0, (%r14,%rcx,8)
	incq	%rcx
	cmpq	%rcx, %r11
	jne	LBB0_6
	jmp	LBB0_7
LBB0_8:
	movl	%r10d, %esi
	andl	$3, %esi
	movl	%r10d, %edi
	andl	$-4, %edi
	xorl	%r8d, %r8d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%r8
	cmpq	%r10, %r8
	je	LBB0_17
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##       Child Loop BB0_11 Depth 3
                                        ##       Child Loop BB0_14 Depth 3
	movq	(%r15,%r8,8), %rbx
	movq	(%r12,%r8,8), %r11
	xorl	%r13d, %r13d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=2
	movsd	%xmm0, (%r11,%r13,8)
	incq	%r13
	cmpq	%r10, %r13
	je	LBB0_16
LBB0_10:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_11 Depth 3
                                        ##       Child Loop BB0_14 Depth 3
	movq	(%rax,%r13,8), %rdx
	xorpd	%xmm0, %xmm0
	xorl	%ecx, %ecx
	cmpq	$3, %r9
	jb	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_9 Depth=1
                                        ##     Parent Loop BB0_10 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movsd	(%rbx,%rcx,8), %xmm1            ## xmm1 = mem[0],zero
	movsd	8(%rbx,%rcx,8), %xmm2           ## xmm2 = mem[0],zero
	mulsd	(%rdx,%rcx,8), %xmm1
	mulsd	8(%rdx,%rcx,8), %xmm2
	addsd	%xmm0, %xmm1
	movsd	16(%rbx,%rcx,8), %xmm3          ## xmm3 = mem[0],zero
	mulsd	16(%rdx,%rcx,8), %xmm3
	addsd	%xmm1, %xmm2
	movsd	24(%rbx,%rcx,8), %xmm0          ## xmm0 = mem[0],zero
	mulsd	24(%rdx,%rcx,8), %xmm0
	addsd	%xmm2, %xmm3
	addsd	%xmm3, %xmm0
	addq	$4, %rcx
	cmpq	%rcx, %rdi
	jne	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=2
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=2
	leaq	(%rdx,%rcx,8), %rdx
	leaq	(%rbx,%rcx,8), %rcx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_9 Depth=1
                                        ##     Parent Loop BB0_10 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movsd	(%rcx,%r14,8), %xmm1            ## xmm1 = mem[0],zero
	mulsd	(%rdx,%r14,8), %xmm1
	addsd	%xmm1, %xmm0
	incq	%r14
	cmpq	%r14, %rsi
	jne	LBB0_14
	jmp	LBB0_15
LBB0_17:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%rax, %rsi
	callq	_mm_destroy
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mm_mul                         ; -- Begin function mm_mul
	.p2align	2
_mm_mul:                                ; @mm_mul
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	bl	_mm_init
	mov	x20, x0
	mov	x0, x19
	bl	_mm_init
	mov	x1, x0
	cmp	w19, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x9, #0
	mov	w8, w19
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	ldr	x10, [x1, x9, lsl #3]
	mov	x11, x8
	mov	x12, x22
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x13, [x12], #8
	ldr	d0, [x13, x9, lsl #3]
	str	d0, [x10], #8
	subs	x11, x11, #1
	b.ne	LBB0_3
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #1
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.5:
	mov	x9, #0
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_8 Depth 3
	mov	x10, #0
	lsl	x12, x9, #3
	ldr	x11, [x21, x12]
	ldr	x12, [x20, x12]
LBB0_7:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_8 Depth 3
	ldr	x13, [x1, x10, lsl #3]
	movi	d0, #0000000000000000
	mov	x14, x8
	mov	x15, x11
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	d1, [x15], #8
	ldr	d2, [x13], #8
	fmadd	d0, d1, d2, d0
	subs	x14, x14, #1
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	str	d0, [x12, x10, lsl #3]
	add	x10, x10, #1
	cmp	x10, x8
	b.ne	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x9, #1
	cmp	x9, x8
	b.ne	LBB0_6
LBB0_11:
	mov	x0, x19
	bl	_mm_destroy
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
