	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_multiply_matrix                ## -- Begin function multiply_matrix
	.p2align	4, 0x90
_multiply_matrix:                       ## @multiply_matrix
	.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
	movq	%rdx, %r12
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movl	(%rsi), %r15d
	movl	4(%rsi), %r11d
	movl	8(%rsi), %ecx
	movl	%ecx, -76(%rbp)                 ## 4-byte Spill
	movl	16(%rsi), %ebx
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	movl	(%rdx), %eax
	imull	%eax, %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	imull	%eax, %ebx
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movd	%eax, %xmm9
	movl	%eax, %ecx
	movl	%r15d, -80(%rbp)                ## 4-byte Spill
	imull	%r15d, %ecx
	movq	4(%rdx), %r13
	movq	%r13, %rax
	shrq	$32, %rax
	movl	%eax, %ebx
	movl	%r11d, -84(%rbp)                ## 4-byte Spill
	imull	%r11d, %ebx
	addl	%ecx, %ebx
	movl	40(%rsi), %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	16(%rdx), %r9d
	imull	%r9d, %ecx
	movq	44(%rsi), %rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
                                        ## kill: def $edx killed $edx killed $rdx
	imull	%r9d, %edx
	movd	%r9d, %xmm10
	movl	12(%rsi), %edi
	movl	%edi, -68(%rbp)                 ## 4-byte Spill
	imull	%edi, %r9d
	addl	%ebx, %r9d
	movl	52(%rsi), %r8d
	movl	%r8d, -92(%rbp)                 ## 4-byte Spill
	movl	24(%r12), %r14d
	imull	%r14d, %r8d
	movq	56(%rsi), %rdi
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movl	%edi, %r10d
	imull	%r14d, %r10d
	movd	%r14d, %xmm11
	movl	%r14d, %edi
	movl	20(%rsi), %r14d
	imull	%r14d, %edi
	addl	%r9d, %edi
	movl	%edi, -96(%rbp)                 ## 4-byte Spill
	movq	%r13, %xmm8
	imull	%r15d, %r13d
	movl	28(%r12), %r9d
	pinsrd	$1, %r9d, %xmm9
	imull	%r11d, %r9d
	addl	%r13d, %r9d
	movl	32(%r12), %edi
	pinsrd	$1, %edi, %xmm10
	movl	-68(%rbp), %r13d                ## 4-byte Reload
	imull	%r13d, %edi
	addl	%r9d, %edi
	movl	36(%r12), %r9d
	pinsrd	$1, %r9d, %xmm11
	imull	%r14d, %r9d
	addl	%edi, %r9d
	movl	%r9d, -88(%rbp)                 ## 4-byte Spill
	movl	28(%rsi), %ebx
	movl	%ebx, %edi
	imull	%eax, %edi
	addl	-48(%rbp), %edi                 ## 4-byte Folded Reload
	addl	%edi, %ecx
	addl	%ecx, %r8d
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movdqu	24(%rsi), %xmm13
	movl	32(%rsi), %r9d
	imull	%r9d, %eax
	addl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	addl	%eax, %edx
	movdqa	%xmm13, %xmm5
	movl	-76(%rbp), %r15d                ## 4-byte Reload
	pinsrd	$1, %r15d, %xmm5
	movl	-72(%rbp), %r11d                ## 4-byte Reload
	pinsrd	$2, %r11d, %xmm5
	addl	%edx, %r10d
	movl	%r10d, -44(%rbp)                ## 4-byte Spill
	pshufd	$255, %xmm13, %xmm6             ## xmm6 = xmm13[3,3,3,3]
	pinsrd	$1, %r15d, %xmm6
	pinsrd	$2, %r11d, %xmm6
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, %xmm12
	pshufd	$85, %xmm12, %xmm7              ## xmm7 = xmm12[1,1,1,1]
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	pinsrd	$1, %ecx, %xmm7
	movl	12(%r12), %edx
	imull	%edx, %r15d
	imull	%edx, %r11d
	movd	%edx, %xmm15
	movl	-80(%rbp), %r10d                ## 4-byte Reload
	imull	%r10d, %edx
	movl	40(%r12), %edi
	imull	%edi, %ebx
	imull	%edi, %r9d
	movd	%edi, %xmm1
	movl	-84(%rbp), %eax                 ## 4-byte Reload
	imull	%eax, %edi
	addl	%edx, %edi
	movl	44(%r12), %edx
	imull	%edx, %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	imull	%edx, %esi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movd	%edx, %xmm2
	movl	%r13d, %esi
	imull	%r13d, %edx
	addl	%edi, %edx
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	movq	%r8, %xmm14
	pshufd	$85, %xmm14, %xmm0              ## xmm0 = xmm14[1,1,1,1]
	movl	-92(%rbp), %r13d                ## 4-byte Reload
	pinsrd	$1, %r13d, %xmm0
	movl	48(%r12), %edi
	imull	%edi, %r13d
	imull	%edi, %r8d
	movd	%edi, %xmm3
	imull	%r14d, %edi
	addl	%edx, %edi
	movl	20(%r12), %edx
	imull	%edx, %r10d
	movl	52(%r12), %ecx
	imull	%ecx, %eax
	addl	%r10d, %eax
	movl	%eax, %r10d
	movl	56(%r12), %eax
	imull	%eax, %esi
	addl	%r10d, %esi
	movl	60(%r12), %r10d
	imull	%r10d, %r14d
	addl	%esi, %r14d
	pinsrd	$1, %eax, %xmm2
	pinsrd	$1, %r10d, %xmm3
	addl	%r15d, %ebx
	addl	-52(%rbp), %ebx                 ## 4-byte Folded Reload
	addl	%r13d, %ebx
	addl	%r11d, %r9d
	addl	-64(%rbp), %r9d                 ## 4-byte Folded Reload
	addl	%r8d, %r9d
	pinsrd	$1, %edx, %xmm1
	pinsrd	$1, %ecx, %xmm15
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	-96(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 4(%rax)
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 8(%rax)
	movl	%edi, 12(%rax)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 16(%rax)
	movl	%r14d, 20(%rax)
	pblendw	$192, %xmm13, %xmm5             ## xmm5 = xmm5[0,1,2,3,4,5],xmm13[6,7]
	pshufd	$39, %xmm5, %xmm5               ## xmm5 = xmm5[3,1,2,0]
	pshufd	$1, %xmm8, %xmm8                ## xmm8 = xmm8[1,0,0,0]
	pmulld	%xmm5, %xmm8
	punpcklqdq	%xmm12, %xmm7           ## xmm7 = xmm7[0],xmm12[0]
	pshufd	$84, %xmm9, %xmm5               ## xmm5 = xmm9[0,1,1,1]
	pmulld	%xmm13, %xmm5
	pshufd	$84, %xmm10, %xmm4              ## xmm4 = xmm10[0,1,1,1]
	pmulld	%xmm7, %xmm4
	paddd	%xmm5, %xmm4
	punpcklqdq	%xmm14, %xmm0           ## xmm0 = xmm0[0],xmm14[0]
	pshufd	$84, %xmm11, %xmm5              ## xmm5 = xmm11[0,1,1,1]
	pmulld	%xmm0, %xmm5
	paddd	%xmm4, %xmm5
	paddd	%xmm8, %xmm5
	movdqu	%xmm5, 24(%rax)
	movl	%ebx, 40(%rax)
	movl	%r9d, 44(%rax)
	pshufd	$84, %xmm2, %xmm2               ## xmm2 = xmm2[0,1,1,1]
	pmulld	%xmm7, %xmm2
	pshufd	$84, %xmm3, %xmm3               ## xmm3 = xmm3[0,1,1,1]
	pmulld	%xmm0, %xmm3
	pshufd	$0, %xmm13, %xmm0               ## xmm0 = xmm13[0,0,0,0]
	pblendw	$63, %xmm6, %xmm0               ## xmm0 = xmm6[0,1,2,3,4,5],xmm0[6,7]
	pshufd	$84, %xmm1, %xmm1               ## xmm1 = xmm1[0,1,1,1]
	pmulld	%xmm0, %xmm1
	pshufd	$84, %xmm15, %xmm0              ## xmm0 = xmm15[0,1,1,1]
	pmulld	%xmm13, %xmm0
	paddd	%xmm2, %xmm0
	paddd	%xmm3, %xmm0
	paddd	%xmm1, %xmm0
	movdqu	%xmm0, 48(%rax)
	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	_multiply_matrix                ; -- Begin function multiply_matrix
	.p2align	2
_multiply_matrix:                       ; @multiply_matrix
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	.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
	ldp	w14, w6, [x1]
	ldp	w15, w10, [x2]
	mul	w9, w15, w14
	ldp	w11, w13, [x2, #8]
	madd	w12, w11, w6, w9
	ldp	w9, w16, [x2, #16]
	ldp	w19, w7, [x1, #8]
	madd	w8, w9, w7, w12
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	mul	w12, w10, w14
	ldp	w20, w4, [x2, #28]
	madd	w17, w20, w6, w12
	ldp	w12, w21, [x2, #36]
	madd	w8, w4, w7, w17
	str	w8, [sp, #8]                    ; 4-byte Folded Spill
	mul	w3, w13, w14
	ldr	w5, [x2, #44]
	madd	w3, w21, w6, w3
	madd	w8, w5, w7, w3
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	mul	w14, w16, w14
	ldp	w22, w23, [x2, #52]
	madd	w6, w22, w6, w14
	ldr	w14, [x2, #60]
	madd	w6, w23, w7, w6
	mul	w7, w19, w15
	ldp	w25, w24, [x1, #24]
	madd	w7, w24, w11, w7
	mul	w26, w19, w10
	madd	w26, w24, w20, w26
	mul	w27, w19, w13
	madd	w27, w24, w21, w27
	mul	w19, w19, w16
	madd	w19, w24, w22, w19
	ldr	w24, [x1, #16]
	mul	w28, w24, w15
	ldp	w30, w8, [x1, #32]
	madd	w28, w30, w11, w28
	mul	w17, w24, w10
	madd	w17, w30, w20, w17
	mul	w3, w24, w13
	madd	w3, w30, w21, w3
	mul	w24, w24, w16
	madd	w24, w30, w22, w24
	mul	w15, w25, w15
	madd	w11, w8, w11, w15
	mul	w10, w25, w10
	madd	w10, w8, w20, w10
	mul	w13, w25, w13
	madd	w13, w8, w21, w13
	mul	w15, w25, w16
	madd	w8, w8, w22, w15
	ldp	w15, w16, [x1, #40]
	madd	w7, w15, w9, w7
	madd	w20, w15, w4, w26
	madd	w21, w15, w5, w27
	madd	w15, w15, w23, w19
	madd	w19, w16, w9, w28
	madd	w17, w16, w4, w17
	madd	w3, w16, w5, w3
	madd	w16, w16, w23, w24
	ldr	w22, [x1, #48]
	madd	w9, w22, w9, w11
	madd	w10, w22, w4, w10
	madd	w11, w22, w5, w13
	madd	w8, w22, w23, w8
	ldr	w13, [x1, #20]
	ldr	w4, [x2, #24]
	ldr	w2, [x2, #48]
	ldp	w22, w5, [sp, #8]               ; 8-byte Folded Reload
	madd	w5, w4, w13, w5
	madd	w22, w12, w13, w22
	ldr	w23, [sp, #4]                   ; 4-byte Folded Reload
	madd	w23, w2, w13, w23
	madd	w13, w14, w13, w6
	ldr	w6, [x1, #52]
	madd	w7, w6, w4, w7
	madd	w20, w6, w12, w20
	madd	w21, w6, w2, w21
	madd	w15, w6, w14, w15
	ldp	w6, w1, [x1, #56]
	madd	w19, w6, w4, w19
	madd	w17, w6, w12, w17
	madd	w3, w6, w2, w3
	madd	w16, w6, w14, w16
	madd	w9, w1, w4, w9
	madd	w10, w1, w12, w10
	madd	w11, w1, w2, w11
	madd	w8, w1, w14, w8
	stp	w5, w22, [x0]
	stp	w7, w23, [x0, #8]
	stp	w19, w13, [x0, #16]
	stp	w9, w20, [x0, #24]
	stp	w17, w10, [x0, #32]
	stp	w21, w3, [x0, #40]
	stp	w11, w15, [x0, #48]
	stp	w16, w8, [x0, #56]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
