	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function co_reduce_mod
_co_reduce_mod:                         ## @co_reduce_mod
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	24(%rbp), %r10
	testq	%rdx, %rdx
	movq	%r10, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movl	16(%rbp), %r14d
	movl	32(%rbp), %r13d
	movl	(%rdi), %eax
	movl	%eax, %edx
	imull	%ecx, %edx
	movl	(%r12), %esi
	movl	%esi, %r11d
	imull	%r8d, %r11d
	addl	%edx, %r11d
	movl	%r11d, %ebx
	imull	%r13d, %ebx
	andl	$32767, %ebx                    ## imm = 0x7FFF
	imull	%r9d, %eax
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	imull	%r14d, %esi
	addl	%eax, %esi
	movl	(%r10), %edx
	movl	%edx, %eax
	imull	%ebx, %eax
	addl	%r11d, %eax
	imull	%esi, %r13d
	andl	$32767, %r13d                   ## imm = 0x7FFF
	imull	%r13d, %edx
	addl	%esi, %edx
	sarl	$15, %eax
	sarl	$15, %edx
	xorl	$65536, %eax                    ## imm = 0x10000
	addl	$-65536, %eax                   ## imm = 0xFFFF0000
	xorl	$65536, %edx                    ## imm = 0x10000
	addl	$-65536, %edx                   ## imm = 0xFFFF0000
	cmpq	$1, %r15
	jne	LBB0_4
## %bb.3:
	movl	%edx, %ebx
	jmp	LBB0_6
LBB0_1:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_4:
	movl	$1, %esi
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%r13d, %r11d
	movl	%ebx, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %r8
	movl	(%rdi,%rsi,4), %r15d
	movl	(%r12,%rsi,4), %r13d
	movl	%r15d, %ebx
	imull	%ecx, %ebx
	addl	%eax, %ebx
	movl	%r13d, %r10d
	imull	-44(%rbp), %r10d                ## 4-byte Folded Reload
	addl	%ebx, %r10d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%rsi,4), %ebx
	movl	%ebx, %eax
	imull	%r14d, %eax
	addl	%r10d, %eax
	imull	%r9d, %r15d
	addl	%edx, %r15d
	imull	-48(%rbp), %r13d                ## 4-byte Folded Reload
	addl	%r15d, %r13d
	movq	%r8, %r15
	imull	%r11d, %ebx
	addl	%r13d, %ebx
	movl	%eax, %edx
	andl	$32767, %edx                    ## imm = 0x7FFF
	movl	%edx, -4(%rdi,%rsi,4)
	movl	%ebx, %edx
	andl	$32767, %edx                    ## imm = 0x7FFF
	movl	%edx, -4(%r12,%rsi,4)
	sarl	$15, %eax
	sarl	$15, %ebx
	xorl	$65536, %eax                    ## imm = 0x10000
	addl	$-65536, %eax                   ## imm = 0xFFFF0000
	xorl	$65536, %ebx                    ## imm = 0x10000
	addl	$-65536, %ebx                   ## imm = 0xFFFF0000
	incq	%rsi
	movl	%ebx, %edx
	cmpq	%rsi, %r8
	jne	LBB0_5
LBB0_6:
	movl	%eax, -4(%rdi,%r15,4)
	movl	%ebx, -4(%r12,%r15,4)
	sarl	$31, %eax
	movq	%r15, %rsi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_finish_mod
	sarl	$31, %ebx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movl	%ebx, %ecx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_finish_mod                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_M,4,2                          ## @M
	.no_dead_strip	_co_reduce_mod
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function co_reduce_mod
_co_reduce_mod:                         ; @co_reduce_mod
	.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	x19, x7
	mov	x20, x2
	mov	x21, x1
	cbz	x2, LBB0_4
; %bb.1:
	ldr	w9, [x29, #16]
	ldr	w10, [x0]
	mul	w8, w10, w3
	ldr	w11, [x21]
	madd	w12, w11, w4, w8
	mul	w8, w12, w9
	and	w8, w8, #0x7fff
	mul	w10, w10, w5
	madd	w10, w11, w6, w10
	mul	w9, w10, w9
	and	w9, w9, #0x7fff
	ldr	w11, [x19]
	madd	w12, w11, w8, w12
	madd	w10, w11, w9, w10
	asr	w11, w12, #15
	asr	w12, w10, #15
	eor	w10, w11, #0x10000
	sub	w10, w10, #16, lsl #12          ; =65536
	eor	w11, w12, #0x10000
	sub	w22, w11, #16, lsl #12          ; =65536
	subs	x11, x20, #1
	b.eq	LBB0_5
; %bb.2:
	add	x12, x19, #4
	add	x13, x21, #4
	add	x14, x0, #4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w15, [x14]
	ldr	w16, [x13]
	ldr	w17, [x12], #4
	mul	w1, w17, w8
	madd	w10, w15, w3, w10
	madd	w10, w16, w4, w10
	add	w10, w10, w1
	mul	w17, w17, w9
	madd	w15, w15, w5, w22
	madd	w15, w16, w6, w15
	add	w15, w15, w17
	and	w16, w10, #0x7fff
	and	w17, w15, #0x7fff
	asr	w10, w10, #15
	asr	w15, w15, #15
	eor	w10, w10, #0x10000
	sub	w10, w10, #16, lsl #12          ; =65536
	eor	w15, w15, #0x10000
	stur	w16, [x14, #-4]
	stur	w17, [x13, #-4]
	sub	w22, w15, #16, lsl #12          ; =65536
	add	x13, x13, #4
	add	x14, x14, #4
	subs	x11, x11, #1
	b.ne	LBB0_3
	b	LBB0_5
LBB0_4:
	mov	w22, #0
	mov	w10, #0
LBB0_5:
	lsl	x8, x20, #2
	sub	x8, x8, #4
	str	w10, [x0, x8]
	str	w22, [x21, x8]
	asr	w3, w10, #31
	mov	x1, x20
	mov	x2, x19
	bl	_finish_mod
	asr	w3, w22, #31
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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
	b	_finish_mod
	.cfi_endproc
                                        ; -- End function
	.comm	_M,4,2                          ; @M
	.no_dead_strip	_co_reduce_mod
.subsections_via_symbols
