	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eras_dec_rs
_eras_dec_rs:                           ## @eras_dec_rs
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%r9, -136(%rbp)                 ## 8-byte Spill
	movq	%r8, -160(%rbp)                 ## 8-byte Spill
	movq	%rcx, -200(%rbp)                ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_NN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_KK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r14d
	subl	%r13d, %r14d
	leal	1(%r14), %r15d
	shlq	$2, %r15
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -128(%rbp)                ## 8-byte Spill
	leaq	(,%r14,4), %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -168(%rbp)                ## 8-byte Spill
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -184(%rbp)                ## 8-byte Spill
	testl	%r14d, %r14d
	jle	LBB0_3
## %bb.1:
	cmpl	$8, %r14d
	jae	LBB0_4
## %bb.2:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	-64(%rbp), %r10d                ## 4-byte Reload
	jmp	LBB0_12
LBB0_4:
	movl	%r14d, %eax
	andl	$-8, %eax
	leaq	-8(%rax), %rdx
	movq	%rdx, %rsi
	shrq	$3, %rsi
	incq	%rsi
	movl	%esi, %ecx
	andl	$3, %ecx
	cmpq	$24, %rdx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	-64(%rbp), %r10d                ## 4-byte Reload
	jae	LBB0_6
## %bb.5:
	pxor	%xmm0, %xmm0
	xorl	%edx, %edx
	pxor	%xmm1, %xmm1
	jmp	LBB0_8
LBB0_6:
	andq	$-4, %rsi
	pxor	%xmm0, %xmm0
	xorl	%edx, %edx
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%r12,%rdx,4), %xmm2
	por	%xmm0, %xmm2
	movdqu	16(%r12,%rdx,4), %xmm0
	por	%xmm1, %xmm0
	movdqu	32(%r12,%rdx,4), %xmm1
	movdqu	48(%r12,%rdx,4), %xmm3
	movdqu	64(%r12,%rdx,4), %xmm4
	por	%xmm1, %xmm4
	por	%xmm2, %xmm4
	movdqu	80(%r12,%rdx,4), %xmm2
	por	%xmm3, %xmm2
	por	%xmm0, %xmm2
	movdqu	96(%r12,%rdx,4), %xmm0
	por	%xmm4, %xmm0
	movdqu	112(%r12,%rdx,4), %xmm1
	por	%xmm2, %xmm1
	addq	$32, %rdx
	addq	$-4, %rsi
	jne	LBB0_7
LBB0_8:
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.9:
	leaq	(%r12,%rdx,4), %rdx
	addq	$16, %rdx
	shlq	$5, %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movdqu	-16(%rdx,%rsi), %xmm2
	por	%xmm2, %xmm0
	movdqu	(%rdx,%rsi), %xmm2
	por	%xmm2, %xmm1
	addq	$32, %rsi
	cmpq	%rsi, %rcx
	jne	LBB0_10
LBB0_11:
	por	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	por	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	por	%xmm1, %xmm0
	movd	%xmm0, %ecx
	cmpq	%r14, %rax
	je	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	orl	(%r12,%rax,4), %ecx
	incq	%rax
	cmpq	%rax, %r14
	jne	LBB0_12
LBB0_13:
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.14:
	testl	%r14d, %r14d
	jle	LBB0_38
## %bb.15:
	movl	(%r12), %r9d
	movl	%r10d, %ecx
	subl	%r13d, %ecx
	incl	%ecx
	leaq	-1(%rcx), %r8
	movl	$1, %edx
	cmpq	$8, %r8
	jb	LBB0_25
## %bb.16:
	movq	%r8, %rdx
	andq	$-8, %rdx
	movd	%r9d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	-8(%rdx), %rbx
	movq	%rbx, %rsi
	shrq	$3, %rsi
	incq	%rsi
	movl	%esi, %eax
	andl	$3, %eax
	cmpq	$24, %rbx
	jae	LBB0_19
## %bb.17:
	xorl	%ebx, %ebx
	jmp	LBB0_21
LBB0_3:
	xorl	%r15d, %r15d
	jmp	LBB0_139
LBB0_19:
	andq	$-4, %rsi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, 4(%rdi,%rbx,4)
	movdqu	%xmm0, 20(%rdi,%rbx,4)
	movdqu	%xmm0, 36(%rdi,%rbx,4)
	movdqu	%xmm0, 52(%rdi,%rbx,4)
	movdqu	%xmm0, 68(%rdi,%rbx,4)
	movdqu	%xmm0, 84(%rdi,%rbx,4)
	movdqu	%xmm0, 100(%rdi,%rbx,4)
	movdqu	%xmm0, 116(%rdi,%rbx,4)
	addq	$32, %rbx
	addq	$-4, %rsi
	jne	LBB0_20
LBB0_21:
	testq	%rax, %rax
	je	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	leaq	(,%rbx,4), %rsi
	orq	$4, %rsi
	movdqu	%xmm0, (%rdi,%rsi)
	movdqu	%xmm0, 16(%rdi,%rsi)
	addq	$8, %rbx
	decq	%rax
	jne	LBB0_22
LBB0_23:
	cmpq	%rdx, %r8
	je	LBB0_26
## %bb.24:
	orq	$1, %rdx
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movl	%r9d, (%rdi,%rdx,4)
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_25
LBB0_26:
	cmpl	$2, %r14d
	jl	LBB0_33
## %bb.27:
	movl	$1, %r15d
	movq	_B0@GOTPCREL(%rip), %r8
	movq	_PRIM@GOTPCREL(%rip), %r9
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_29 Depth=1
	incq	%r15
	movl	%r10d, %r14d
	subl	%r13d, %r14d
	movslq	%r14d, %rax
	cmpq	%rax, %r15
	movq	-120(%rbp), %r12                ## 8-byte Reload
	jge	LBB0_33
LBB0_29:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_32 Depth 2
	movslq	(%r12,%r15,4), %rax
	testq	%rax, %rax
	je	LBB0_28
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	cmpl	%r13d, %r10d
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	jle	LBB0_28
## %bb.31:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_32:                                ##   Parent Loop BB0_29 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r8), %eax
	addl	%ebx, %eax
	movl	(%r9), %edi
	imull	%r15d, %edi
	imull	%eax, %edi
	addl	-64(%rbp), %edi                 ## 4-byte Folded Reload
	movq	%r8, %r13
	movq	%r9, %r12
	callq	_modnn
	movq	_KK@GOTPCREL(%rip), %rsi
	movq	_NN@GOTPCREL(%rip), %rcx
	movq	%r12, %r9
	movq	%r13, %r8
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	(%r14,%rax,4), %eax
	xorl	%eax, 4(%rdi,%rbx,4)
	movl	(%rcx), %r10d
	movl	(%rsi), %r13d
	movl	%r10d, %eax
	subl	%r13d, %eax
	cltq
	incq	%rbx
	cmpq	%rax, %rbx
	jl	LBB0_32
	jmp	LBB0_28
LBB0_33:
	testl	%r14d, %r14d
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	_KK@GOTPCREL(%rip), %r15
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	jle	LBB0_38
## %bb.34:
	xorl	%ebx, %ebx
	movq	_A0@GOTPCREL(%rip), %r12
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_36 Depth=1
	movl	%eax, 4(%rdi,%rbx,4)
	movl	%r10d, %r14d
	subl	%r13d, %r14d
	movslq	%r14d, %rax
	incq	%rbx
	cmpq	%rax, %rbx
	jge	LBB0_38
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movslq	4(%rdi,%rbx,4), %rax
	movl	(%rcx,%rax,4), %eax
	cmpl	(%r12), %eax
	je	LBB0_35
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=1
	movq	_B0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%ebx, %ecx
	imull	%ecx, %r13d
	movq	_PRIM@GOTPCREL(%rip), %rcx
	imull	(%rcx), %r13d
	leal	(%rax,%r13,2), %edi
	callq	_modnn
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	_NN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r10d
	movl	(%r15), %r13d
	jmp	LBB0_35
LBB0_38:
	leaq	4(%r8), %rdi
	movq	%rdi, -176(%rbp)                ## 8-byte Spill
	movl	%r14d, %esi
	callq	_CLEAR
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	movl	$1, (%r10)
	cmpl	$0, -136(%rbp)                  ## 4-byte Folded Reload
	jle	LBB0_40
## %bb.39:
	movq	_PRIM@GOTPCREL(%rip), %rcx
	movq	-160(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	imull	(%rcx), %edi
	callq	_modnn
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %eax
	movq	-176(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, (%rcx)
	cmpl	$1, -136(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_43
LBB0_40:
	movq	_NN@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movq	_KK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%ecx, %edx
	subl	%eax, %edx
	js	LBB0_54
## %bb.41:
	subl	%eax, %ecx
	incl	%ecx
	leaq	-1(%rcx), %rsi
	movl	%ecx, %r8d
	andl	$3, %r8d
	cmpq	$3, %rsi
	jae	LBB0_49
## %bb.42:
	xorl	%esi, %esi
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_51
LBB0_43:
	movl	-136(%rbp), %eax                ## 4-byte Reload
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$1, %r13d
	movl	$3, %r15d
	movq	_A0@GOTPCREL(%rip), %r12
	jmp	LBB0_45
	.p2align	4, 0x90
LBB0_44:                                ##   in Loop: Header=BB0_45 Depth=1
	incq	%r13
	incq	%r15
	cmpq	-64(%rbp), %r13                 ## 8-byte Folded Reload
	je	LBB0_40
LBB0_45:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_47 Depth 2
	movq	-160(%rbp), %rax                ## 8-byte Reload
	movl	(%rax,%r13,4), %edi
	movq	_PRIM@GOTPCREL(%rip), %rax
	imull	(%rax), %edi
	callq	_modnn
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	movq	%rax, %r14
	movq	%r15, %rbx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_47
	.p2align	4, 0x90
LBB0_46:                                ##   in Loop: Header=BB0_47 Depth=2
	decq	%rbx
	cmpq	$1, %rbx
	jle	LBB0_44
LBB0_47:                                ##   Parent Loop BB0_45 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	-2(%rbx), %eax
	movslq	(%r10,%rax,4), %rax
	movl	(%rcx,%rax,4), %edi
	cmpl	(%r12), %edi
	je	LBB0_46
## %bb.48:                              ##   in Loop: Header=BB0_47 Depth=2
	addl	%r14d, %edi
	callq	_modnn
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx,%rax,4), %eax
	xorl	%eax, -4(%r10,%rbx,4)
	jmp	LBB0_46
LBB0_49:
	andl	$-4, %ecx
	xorl	%esi, %esi
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_50:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%r10,%rsi,4), %rdi
	movl	(%rax,%rdi,4), %edi
	movl	%edi, (%rbx,%rsi,4)
	movslq	4(%r10,%rsi,4), %rdi
	movl	(%rax,%rdi,4), %edi
	movl	%edi, 4(%rbx,%rsi,4)
	movslq	8(%r10,%rsi,4), %rdi
	movl	(%rax,%rdi,4), %edi
	movl	%edi, 8(%rbx,%rsi,4)
	movslq	12(%r10,%rsi,4), %rdi
	movl	(%rax,%rdi,4), %edi
	movl	%edi, 12(%rbx,%rsi,4)
	addq	$4, %rsi
	cmpq	%rsi, %rcx
	jne	LBB0_50
LBB0_51:
	testq	%r8, %r8
	je	LBB0_54
## %bb.52:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rsi,4), %rcx
	leaq	(%r10,%rsi,4), %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_53:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%rsi,%rdi,4), %rbx
	movl	(%rax,%rbx,4), %ebx
	movl	%ebx, (%rcx,%rdi,4)
	incq	%rdi
	cmpq	%rdi, %r8
	jne	LBB0_53
LBB0_54:
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	cmpl	%ecx, %edx
	jle	LBB0_86
## %bb.55:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addq	$4, %rax
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	movslq	%ecx, %rbx
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rbx,4), %r15
	addq	$4, %r15
	leal	1(%rcx), %edi
	movq	_A0@GOTPCREL(%rip), %rsi
                                        ## kill: def $ecx killed $ecx killed $rcx def $rcx
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_58
	.p2align	4, 0x90
LBB0_56:                                ##   in Loop: Header=BB0_58 Depth=1
	movq	_NN@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	_KK@GOTPCREL(%rip), %r12
	subl	(%r12), %edx
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_COPYDOWN
	movq	_A0@GOTPCREL(%rip), %rsi
	movl	(%rsi), %eax
	movl	%eax, (%rbx)
	movl	-144(%rbp), %edi                ## 4-byte Reload
LBB0_57:                                ##   in Loop: Header=BB0_58 Depth=1
	movslq	(%r14), %rdx
	movslq	(%r12), %rax
	subq	%rax, %rdx
	addq	$4, %r15
	incl	%edi
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	%rax, %rbx
	cmpq	%rdx, %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	jge	LBB0_86
LBB0_58:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_61 Depth 2
                                        ##     Child Loop BB0_68 Depth 2
                                        ##     Child Loop BB0_82 Depth 2
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	testq	%rbx, %rbx
	movl	%edi, -144(%rbp)                ## 4-byte Spill
	js	LBB0_64
## %bb.59:                              ##   in Loop: Header=BB0_58 Depth=1
	movl	%edi, %r13d
	negq	%r13
	xorl	%ebx, %ebx
	movq	%r10, %r14
	xorl	%r12d, %r12d
	jmp	LBB0_61
	.p2align	4, 0x90
LBB0_60:                                ##   in Loop: Header=BB0_61 Depth=2
	decq	%rbx
	addq	$4, %r14
	cmpq	%rbx, %r13
	je	LBB0_65
LBB0_61:                                ##   Parent Loop BB0_58 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_60
## %bb.62:                              ##   in Loop: Header=BB0_61 Depth=2
	movl	(%r15,%rbx,4), %edi
	cmpl	(%rsi), %edi
	je	LBB0_60
## %bb.63:                              ##   in Loop: Header=BB0_61 Depth=2
	addl	(%rcx,%rax,4), %edi
	callq	_modnn
	movq	_A0@GOTPCREL(%rip), %rsi
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	xorl	(%rdx,%rax,4), %r12d
	jmp	LBB0_60
	.p2align	4, 0x90
LBB0_64:                                ##   in Loop: Header=BB0_58 Depth=1
	xorl	%r12d, %r12d
LBB0_65:                                ##   in Loop: Header=BB0_58 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	incq	%rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movslq	%r12d, %rax
	movl	(%rcx,%rax,4), %r13d
	movl	(%rsi), %eax
	cmpl	%eax, %r13d
	je	LBB0_56
## %bb.66:                              ##   in Loop: Header=BB0_58 Depth=1
	movl	(%r10), %ecx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	%ecx, (%rdx)
	movq	_NN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_KK@GOTPCREL(%rip), %r12
	movl	(%r12), %r8d
	movl	%ecx, %edx
	subl	%r8d, %edx
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	jle	LBB0_74
## %bb.67:                              ##   in Loop: Header=BB0_58 Depth=1
	movl	$1, %r12d
	.p2align	4, 0x90
LBB0_68:                                ##   Parent Loop BB0_58 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	-4(%rdx,%r12,4), %edi
	movl	(%r10,%r12,4), %ebx
	cmpl	%eax, %edi
	jne	LBB0_70
## %bb.69:                              ##   in Loop: Header=BB0_68 Depth=2
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, (%rax,%r12,4)
	jmp	LBB0_71
	.p2align	4, 0x90
LBB0_70:                                ##   in Loop: Header=BB0_68 Depth=2
	addl	%r13d, %edi
	callq	_modnn
	movq	_A0@GOTPCREL(%rip), %rsi
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	xorl	(%r14,%rax,4), %ebx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, (%rax,%r12,4)
	movq	_NN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_KK@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
LBB0_71:                                ##   in Loop: Header=BB0_68 Depth=2
	movl	%ecx, %edx
	subl	%r8d, %edx
	movslq	%edx, %rax
	cmpq	%rax, %r12
	jge	LBB0_73
## %bb.72:                              ##   in Loop: Header=BB0_68 Depth=2
	movl	(%rsi), %eax
	incq	%r12
	jmp	LBB0_68
	.p2align	4, 0x90
LBB0_73:                                ##   in Loop: Header=BB0_58 Depth=1
	movq	_KK@GOTPCREL(%rip), %r12
LBB0_74:                                ##   in Loop: Header=BB0_58 Depth=1
	movq	-152(%rbp), %rsi                ## 8-byte Reload
	leal	(%rsi,%rsi), %eax
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	addl	%edi, %ebx
	cmpl	%ebx, %eax
	movq	_NN@GOTPCREL(%rip), %r14
	jle	LBB0_76
## %bb.75:                              ##   in Loop: Header=BB0_58 Depth=1
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_COPYDOWN
	movq	_A0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	(%r14), %ecx
	movl	(%r12), %r8d
	jmp	LBB0_78
	.p2align	4, 0x90
LBB0_76:                                ##   in Loop: Header=BB0_58 Depth=1
	movq	-120(%rbp), %rax                ## 8-byte Reload
	leal	(%rax,%rdi), %r12d
	subl	%esi, %r12d
	cmpl	%r8d, %ecx
	jge	LBB0_79
## %bb.77:                              ##   in Loop: Header=BB0_58 Depth=1
	movl	%r12d, %eax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	_KK@GOTPCREL(%rip), %r12
LBB0_78:                                ##   in Loop: Header=BB0_58 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_85
LBB0_79:                                ##   in Loop: Header=BB0_58 Depth=1
	movq	$-1, %rbx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	_A0@GOTPCREL(%rip), %rsi
	jmp	LBB0_82
	.p2align	4, 0x90
LBB0_80:                                ##   in Loop: Header=BB0_82 Depth=2
	subl	%r13d, %ecx
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	addl	(%rdx,%rax,4), %ecx
	movl	%ecx, %edi
	callq	_modnn
	movq	_A0@GOTPCREL(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	(%r14), %ecx
	movq	_KK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
LBB0_81:                                ##   in Loop: Header=BB0_82 Depth=2
	movl	%eax, 4(%rdx,%rbx,4)
	movl	%ecx, %eax
	subl	%r8d, %eax
	cltq
	incq	%rbx
	cmpq	%rax, %rbx
	jge	LBB0_84
LBB0_82:                                ##   Parent Loop BB0_58 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	4(%rdi,%rbx,4), %rax
	testq	%rax, %rax
	jne	LBB0_80
## %bb.83:                              ##   in Loop: Header=BB0_82 Depth=2
	movl	(%rsi), %eax
	jmp	LBB0_81
LBB0_84:                                ##   in Loop: Header=BB0_58 Depth=1
	movl	%r12d, %eax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	_KK@GOTPCREL(%rip), %r12
LBB0_85:                                ##   in Loop: Header=BB0_58 Depth=1
	subl	%r8d, %ecx
	incl	%ecx
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	%ecx, %edx
	callq	_COPY
	movl	-144(%rbp), %edi                ## 4-byte Reload
	movq	_A0@GOTPCREL(%rip), %rsi
	jmp	LBB0_57
LBB0_86:
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$0, %r15d
	testl	%edx, %edx
	js	LBB0_92
## %bb.87:
	movq	_A0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	1(%rdx), %r8d
	testl	%edx, %edx
	je	LBB0_117
## %bb.88:
	movl	%r8d, %r9d
	andl	$-2, %r9d
	xorl	%ecx, %ecx
	xorl	%r15d, %r15d
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_89:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%r10,%rcx,4), %rbx
	movl	(%rdi,%rbx,4), %ebx
	movl	%ebx, (%r10,%rcx,4)
	cmpl	%eax, %ebx
	movl	%r15d, %ebx
	cmovnel	%ecx, %ebx
	movslq	4(%r10,%rcx,4), %rsi
	movl	(%rdi,%rsi,4), %esi
	movl	%esi, 4(%r10,%rcx,4)
	leal	1(%rcx), %r15d
	cmpl	%eax, %esi
	cmovel	%ebx, %r15d
	addq	$2, %rcx
	cmpq	%r9, %rcx
	jne	LBB0_89
## %bb.90:
	testb	$1, %r8b
	je	LBB0_92
LBB0_91:
	movslq	(%r10,%rcx,4), %rsi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rdi,%rsi,4), %esi
	movl	%esi, (%r10,%rcx,4)
	cmpl	%eax, %esi
	cmovel	%r15d, %ecx
	movl	%ecx, %r15d
LBB0_92:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	leaq	4(%rax), %rdi
	movq	-176(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_COPY
	movl	(%r14), %r14d
	testl	%r14d, %r14d
	movl	%r15d, -88(%rbp)                ## 4-byte Spill
	jle	LBB0_103
## %bb.93:
	movq	_Ldec@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	movl	%r15d, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$1, %r12d
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_A0@GOTPCREL(%rip), %r13
	jmp	LBB0_96
	.p2align	4, 0x90
LBB0_94:                                ##   in Loop: Header=BB0_96 Depth=1
	testl	%r15d, %r15d
	je	LBB0_101
LBB0_95:                                ##   in Loop: Header=BB0_96 Depth=1
	leal	1(%r12), %ebx
	movq	_NN@GOTPCREL(%rip), %r15
	addl	(%r15), %r14d
	movq	_Ldec@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	movl	%r14d, %edi
	callq	_modnn
	movq	%rax, %r14
	cmpl	(%r15), %r12d
	movl	%ebx, %r12d
	movl	-88(%rbp), %r15d                ## 4-byte Reload
	jge	LBB0_103
LBB0_96:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_99 Depth 2
	testl	%r15d, %r15d
	jle	LBB0_95
## %bb.97:                              ##   in Loop: Header=BB0_96 Depth=1
	movl	$1, %r15d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	jmp	LBB0_99
	.p2align	4, 0x90
LBB0_98:                                ##   in Loop: Header=BB0_99 Depth=2
	leaq	-1(%rbx), %rax
	cmpq	$1, %rbx
	movq	%rax, %rbx
	jle	LBB0_94
LBB0_99:                                ##   Parent Loop BB0_96 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rdx,%rbx,4), %edi
	cmpl	(%r13), %edi
	je	LBB0_98
## %bb.100:                             ##   in Loop: Header=BB0_99 Depth=2
	addl	%ebx, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_modnn
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movl	%eax, (%rdx,%rbx,4)
	cltq
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	xorl	(%rcx,%rax,4), %r15d
	jmp	LBB0_98
	.p2align	4, 0x90
LBB0_101:                               ##   in Loop: Header=BB0_96 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ecx, %rcx
	movq	-168(%rbp), %rax                ## 8-byte Reload
	movl	%r12d, (%rax,%rcx,4)
	movq	-184(%rbp), %rax                ## 8-byte Reload
	movl	%r14d, (%rax,%rcx,4)
	incl	%ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	cmpl	-88(%rbp), %ecx                 ## 4-byte Folded Reload
	jne	LBB0_95
## %bb.102:
	movl	-88(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_103:
	cmpl	-64(%rbp), %r15d                ## 4-byte Folded Reload
	movq	-104(%rbp), %r9                 ## 8-byte Reload
	jne	LBB0_116
## %bb.104:
	movq	_NN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_KK@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movl	%eax, %edx
	subl	%ecx, %edx
	jle	LBB0_118
## %bb.105:
	xorl	%r14d, %r14d
	movq	_A0@GOTPCREL(%rip), %rbx
	movabsq	$4294967296, %r11               ## imm = 0x100000000
	movl	$0, -112(%rbp)                  ## 4-byte Folded Spill
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-128(%rbp), %r13                ## 8-byte Reload
	jmp	LBB0_109
	.p2align	4, 0x90
LBB0_106:                               ##   in Loop: Header=BB0_109 Depth=1
	leaq	1(%r14), %rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
LBB0_107:                               ##   in Loop: Header=BB0_109 Depth=1
	xorl	%r15d, %r15d
	movl	-112(%rbp), %edi                ## 4-byte Reload
LBB0_108:                               ##   in Loop: Header=BB0_109 Depth=1
	movslq	%r15d, %rdx
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rsi,%rdx,4), %edx
	movl	%edx, (%r13,%r14,4)
	movl	%eax, %edx
	subl	%ecx, %edx
	movslq	%edx, %rdx
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, %r14
	movl	%edi, -112(%rbp)                ## 4-byte Spill
	cmpq	%rdx, %rsi
	movl	-88(%rbp), %r15d                ## 4-byte Reload
	jge	LBB0_119
LBB0_109:                               ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_112 Depth 2
	cmpl	%r14d, %r15d
	movl	%r14d, %edx
	cmovll	%r15d, %edx
	testl	%edx, %edx
	js	LBB0_106
## %bb.110:                             ##   in Loop: Header=BB0_109 Depth=1
	movl	%edx, %r13d
	leaq	1(%r14), %r12
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
                                        ## kill: def $r12d killed $r12d killed $r12 def $r12
	subl	%edx, %r12d
	shlq	$32, %r12
	incq	%r13
	xorl	%r15d, %r15d
	jmp	LBB0_112
	.p2align	4, 0x90
LBB0_111:                               ##   in Loop: Header=BB0_112 Depth=2
	addq	%r11, %r12
	decq	%r13
	jle	LBB0_115
LBB0_112:                               ##   Parent Loop BB0_109 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rax
	sarq	$30, %rax
	movl	(%r9,%rax), %eax
	movl	(%rbx), %ecx
	cmpl	%ecx, %eax
	je	LBB0_111
## %bb.113:                             ##   in Loop: Header=BB0_112 Depth=2
	movl	-4(%r8,%r13,4), %edi
	cmpl	%ecx, %edi
	je	LBB0_111
## %bb.114:                             ##   in Loop: Header=BB0_112 Depth=2
	addl	%eax, %edi
	callq	_modnn
	movabsq	$4294967296, %r11               ## imm = 0x100000000
	movq	-104(%rbp), %r9                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	xorl	(%rcx,%rax,4), %r15d
	jmp	LBB0_111
	.p2align	4, 0x90
LBB0_115:                               ##   in Loop: Header=BB0_109 Depth=1
	movq	_NN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_KK@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movl	%r14d, %edi
	testl	%r15d, %r15d
	movq	-128(%rbp), %r13                ## 8-byte Reload
	jne	LBB0_108
	jmp	LBB0_107
LBB0_117:
	xorl	%ecx, %ecx
	xorl	%r15d, %r15d
	testb	$1, %r8b
	jne	LBB0_91
	jmp	LBB0_92
LBB0_118:
	movslq	%edx, %rdx
	xorl	%edi, %edi
	movq	-128(%rbp), %r13                ## 8-byte Reload
LBB0_119:
	movl	%edi, -64(%rbp)                 ## 4-byte Spill
	movq	_A0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13,%rdx,4)
	testl	%r15d, %r15d
	jle	LBB0_139
## %bb.120:
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %ecx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movl	%r15d, %ecx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	jmp	LBB0_123
	.p2align	4, 0x90
LBB0_121:                               ##   in Loop: Header=BB0_123 Depth=1
	xorl	%eax, %eax
LBB0_122:                               ##   in Loop: Header=BB0_123 Depth=1
	movq	_KK@GOTPCREL(%rip), %r12
	movq	-128(%rbp), %r13                ## 8-byte Reload
	movl	-88(%rbp), %r15d                ## 4-byte Reload
	movq	-200(%rbp), %rcx                ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rcx,%rdx,4)
	cmpq	$1, -112(%rbp)                  ## 8-byte Folded Reload
	movq	%rdx, %rcx
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	jle	LBB0_138
LBB0_123:                               ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_126 Depth 2
                                        ##     Child Loop BB0_131 Depth 2
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	decq	%rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	testl	%eax, %eax
	js	LBB0_128
## %bb.124:                             ##   in Loop: Header=BB0_123 Depth=1
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_126
	.p2align	4, 0x90
LBB0_125:                               ##   in Loop: Header=BB0_126 Depth=2
	leaq	-1(%rbx), %rax
	testq	%rbx, %rbx
	movq	%rax, %rbx
	jle	LBB0_128
LBB0_126:                               ##   Parent Loop BB0_123 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r13,%rbx,4), %eax
	movq	_A0@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_125
## %bb.127:                             ##   in Loop: Header=BB0_126 Depth=2
	movq	-168(%rbp), %rcx                ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rcx,%rdx,4), %edi
	imull	%ebx, %edi
	addl	%eax, %edi
	callq	_modnn
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	xorl	(%rcx,%rax,4), %r14d
	jmp	LBB0_125
	.p2align	4, 0x90
LBB0_128:                               ##   in Loop: Header=BB0_123 Depth=1
	movq	-168(%rbp), %rax                ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax,%rcx,4), %r13d
	movq	_B0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	decl	%edi
	imull	%r13d, %edi
	movq	_NN@GOTPCREL(%rip), %rbx
	addl	(%rbx), %edi
	callq	_modnn
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movslq	(%rcx,%rax,4), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	(%r12), %esi
	notl	%esi
	addl	(%rbx), %esi
	movl	%r15d, %edi
	callq	_min
	movl	%eax, %ecx
	andl	$-2, %ecx
	js	LBB0_116
## %bb.129:                             ##   in Loop: Header=BB0_123 Depth=1
	movl	%ecx, %r12d
	addl	%r13d, %r13d
	movl	%eax, %r15d
	shrq	%r15
	imull	%r13d, %r15d
	addq	$2, %r12
	xorl	%ebx, %ebx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_131
	.p2align	4, 0x90
LBB0_130:                               ##   in Loop: Header=BB0_131 Depth=2
	subl	%r13d, %r15d
	addq	$-2, %r12
	cmpq	$1, %r12
	jle	LBB0_133
LBB0_131:                               ##   Parent Loop BB0_123 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-4(%rsi,%r12,4), %edi
	movq	_A0@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	je	LBB0_130
## %bb.132:                             ##   in Loop: Header=BB0_131 Depth=2
	addl	%r15d, %edi
	callq	_modnn
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	xorl	(%rdx,%rax,4), %ebx
	jmp	LBB0_130
	.p2align	4, 0x90
LBB0_133:                               ##   in Loop: Header=BB0_123 Depth=1
	testl	%ebx, %ebx
	je	LBB0_116
## %bb.134:                             ##   in Loop: Header=BB0_123 Depth=1
	testl	%r14d, %r14d
	je	LBB0_121
## %bb.135:                             ##   in Loop: Header=BB0_123 Depth=1
	movslq	%r14d, %rax
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movl	(%rcx,%rdx,4), %edi
	addl	(%rcx,%rax,4), %edi
	movq	_NN@GOTPCREL(%rip), %rax
	addl	(%rax), %edi
	movslq	%ebx, %rax
	subl	(%rcx,%rax,4), %edi
	callq	_modnn
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %eax
	jmp	LBB0_122
LBB0_116:
	movl	$-1, %r15d
LBB0_139:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_141
## %bb.140:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_138:
	movq	-144(%rbp), %rdx                ## 8-byte Reload
	shlq	$2, %rdx
	movq	-160(%rbp), %rdi                ## 8-byte Reload
	movq	-184(%rbp), %rsi                ## 8-byte Reload
	callq	_memcpy
	jmp	LBB0_139
LBB0_141:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NN,4,2                         ## @NN
	.comm	_KK,4,2                         ## @KK
	.comm	_B0,4,2                         ## @B0
	.comm	_PRIM,4,2                       ## @PRIM
	.comm	_A0,4,2                         ## @A0
	.comm	_Ldec,4,2                       ## @Ldec
	.no_dead_strip	_eras_dec_rs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eras_dec_rs
_eras_dec_rs:                           ; @eras_dec_rs
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #160
	mov	x23, x5
	stur	x4, [x29, #-184]                ; 8-byte Folded Spill
	stur	x3, [x29, #-224]                ; 8-byte Folded Spill
	mov	x24, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x8, _NN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NN@GOTPAGEOFF]
Lloh5:
	ldr	w13, [x8]
Lloh6:
	adrp	x8, _KK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KK@GOTPAGEOFF]
Lloh8:
	ldr	w14, [x8]
	sub	w1, w13, w14
	add	w8, w1, #1
	lsl	x8, x8, #2
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x15, x10, #0x7fffffff0
	sub	x21, x9, x15
	mov	sp, x21
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x9, x9, x15
	stur	x9, [x29, #-120]                ; 8-byte Folded Spill
	mov	sp, x9
	mov	x9, x8
Lloh13:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh14:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x9, x9, x15
	stur	x9, [x29, #-112]                ; 8-byte Folded Spill
	mov	sp, x9
	mov	x9, x8
Lloh15:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh16:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x9, x9, x15
	stur	x9, [x29, #-168]                ; 8-byte Folded Spill
	mov	sp, x9
	mov	x9, x8
Lloh17:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh18:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x0, x9, x15
	mov	sp, x0
	lsl	x12, x1, #2
	mov	x9, x12
Lloh19:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh20:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x12, #15
	and	x17, x10, #0x7fffffff0
	sub	x9, x9, x17
	stur	x9, [x29, #-208]                ; 8-byte Folded Spill
	mov	sp, x9
	mov	x9, x8
Lloh21:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh22:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x19, x8, x15
	mov	sp, x19
	mov	x9, x12
Lloh23:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh24:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x8, x8, x17
	stur	x8, [x29, #-216]                ; 8-byte Folded Spill
	mov	sp, x8
	cmp	w1, #1
	b.lt	LBB0_12
; %bb.1:
	cmp	w1, #16
	b.hs	LBB0_3
; %bb.2:
	mov	x8, #0
	mov	w9, #0
	b	LBB0_6
LBB0_3:
	and	x8, x1, #0xfffffff0
	add	x9, x2, #32
	movi.2d	v0, #0000000000000000
	mov	x10, x8
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q4, q5, [x9, #-32]
	ldp	q6, q7, [x9], #64
	orr.16b	v0, v4, v0
	orr.16b	v1, v5, v1
	orr.16b	v2, v6, v2
	orr.16b	v3, v7, v3
	subs	x10, x10, #16
	b.ne	LBB0_4
; %bb.5:
	orr.16b	v0, v1, v0
	orr.16b	v0, v2, v0
	orr.16b	v0, v3, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	fmov	w9, s0
	mov.s	w10, v0[1]
	orr	w9, w9, w10
	cmp	x8, x1
	b.eq	LBB0_8
LBB0_6:
	add	x10, x2, x8, lsl #2
	sub	x8, x1, x8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10], #4
	orr	w9, w11, w9
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	cbz	w9, LBB0_12
; %bb.9:
Lloh25:
	adrp	x28, _A0@GOTPAGE
Lloh26:
	ldr	x28, [x28, _A0@GOTPAGEOFF]
Lloh27:
	adrp	x27, _PRIM@GOTPAGE
Lloh28:
	ldr	x27, [x27, _PRIM@GOTPAGEOFF]
	cmp	w1, #1
	stur	x24, [x29, #-104]               ; 8-byte Folded Spill
	stur	x0, [x29, #-176]                ; 8-byte Folded Spill
	stur	x23, [x29, #-200]               ; 8-byte Folded Spill
	b.lt	LBB0_32
; %bb.10:
	ldr	w8, [x2]
	add	w9, w1, #1
	sub	x11, x9, #1
	cmp	x11, #16
	b.hs	LBB0_13
; %bb.11:
	mov	w10, #1
	b	LBB0_16
LBB0_12:
	mov	w25, #0
	b	LBB0_125
LBB0_13:
	and	x12, x11, #0xfffffffffffffff0
	orr	x10, x12, #0x1
	dup.4s	v0, w8
	ldur	x15, [x29, #-120]               ; 8-byte Folded Reload
	add	x15, x15, #36
	mov	x16, x12
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x15, #-32]
	stp	q0, q0, [x15], #64
	subs	x16, x16, #16
	b.ne	LBB0_14
; %bb.15:
	cmp	x11, x12
	b.eq	LBB0_18
LBB0_16:
	ldur	x11, [x29, #-120]               ; 8-byte Folded Reload
	add	x11, x11, x10, lsl #2
	sub	x9, x9, x10
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	str	w8, [x11], #4
	subs	x9, x9, #1
	b.ne	LBB0_17
LBB0_18:
Lloh29:
	adrp	x10, _B0@GOTPAGE
Lloh30:
	ldr	x10, [x10, _B0@GOTPAGEOFF]
	cmp	w1, #1
	b.le	LBB0_27
; %bb.19:
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	add	x26, x8, #4
	mov	w27, #1
	stur	x2, [x29, #-128]                ; 8-byte Folded Spill
	stur	x21, [x29, #-232]               ; 8-byte Folded Spill
Lloh31:
	adrp	x25, _NN@GOTPAGE
Lloh32:
	ldr	x25, [x25, _NN@GOTPAGEOFF]
Lloh33:
	adrp	x23, _KK@GOTPAGE
Lloh34:
	ldr	x23, [x23, _KK@GOTPAGEOFF]
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	add	x27, x27, #1
	sub	w1, w13, w14
	cmp	x27, w1, sxtw
	b.ge	LBB0_26
LBB0_21:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_24 Depth 2
	ldrsw	x8, [x2, x27, lsl #2]
	cbz	w8, LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	cmp	w13, w14
	b.le	LBB0_20
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x24, #0
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	ldr	w20, [x9, x8, lsl #2]
Lloh35:
	adrp	x21, _PRIM@GOTPAGE
Lloh36:
	ldr	x21, [x21, _PRIM@GOTPAGEOFF]
LBB0_24:                                ;   Parent Loop BB0_21 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x10]
	add	w8, w24, w8
	ldr	w9, [x21]
	mul	w9, w9, w27
	madd	w0, w9, w8, w20
	bl	_modnn
	ldr	w8, [x22, x0, lsl #2]
	lsl	x9, x24, #2
	ldr	w10, [x26, x9]
	eor	w8, w10, w8
Lloh37:
	adrp	x10, _B0@GOTPAGE
Lloh38:
	ldr	x10, [x10, _B0@GOTPAGEOFF]
	str	w8, [x26, x9]
	ldr	w13, [x25]
	ldr	w14, [x23]
	sub	w8, w13, w14
	add	x24, x24, #1
	cmp	x24, w8, sxtw
	b.lt	LBB0_24
; %bb.25:                               ;   in Loop: Header=BB0_21 Depth=1
	ldur	x2, [x29, #-128]                ; 8-byte Folded Reload
	ldur	x21, [x29, #-232]               ; 8-byte Folded Reload
	b	LBB0_20
LBB0_26:
	ldur	x24, [x29, #-104]               ; 8-byte Folded Reload
	ldur	x23, [x29, #-200]               ; 8-byte Folded Reload
Lloh39:
	adrp	x27, _PRIM@GOTPAGE
Lloh40:
	ldr	x27, [x27, _PRIM@GOTPAGEOFF]
LBB0_27:
	cmp	w1, #1
	b.lt	LBB0_32
; %bb.28:
	mov	x20, #0
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	add	x26, x8, #4
Lloh41:
	adrp	x25, _KK@GOTPAGE
Lloh42:
	ldr	x25, [x25, _KK@GOTPAGEOFF]
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=1
	str	w0, [x26, x20, lsl #2]
	sub	w1, w13, w14
	add	x20, x20, #1
	cmp	x20, w1, sxtw
	b.ge	LBB0_32
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x26, x20, lsl #2]
	ldr	w0, [x24, x8, lsl #2]
	ldr	w8, [x28]
	cmp	w0, w8
	b.eq	LBB0_29
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	w8, [x10]
	add	w8, w20, w8
	mul	w8, w14, w8
	ldr	w9, [x27]
	mul	w8, w8, w9
	add	w0, w0, w8, lsl #1
	bl	_modnn
Lloh43:
	adrp	x10, _B0@GOTPAGE
Lloh44:
	ldr	x10, [x10, _B0@GOTPAGEOFF]
Lloh45:
	adrp	x8, _NN@GOTPAGE
Lloh46:
	ldr	x8, [x8, _NN@GOTPAGEOFF]
Lloh47:
	ldr	w13, [x8]
	ldr	w14, [x25]
	b	LBB0_29
LBB0_32:
	add	x25, x21, #4
	mov	x0, x25
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_CLEAR
	mov	w8, #1
	str	w8, [x21]
	cmp	w23, #1
	b.lt	LBB0_34
; %bb.33:
Lloh48:
	adrp	x8, _PRIM@GOTPAGE
Lloh49:
	ldr	x8, [x8, _PRIM@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	ldur	x9, [x29, #-184]                ; 8-byte Folded Reload
	ldr	w9, [x9]
	mul	w0, w9, w8
	bl	_modnn
	ldr	w8, [x22, x0, lsl #2]
	str	w8, [x25]
	ldur	x8, [x29, #-200]                ; 8-byte Folded Reload
	cmp	w8, #1
	b.ne	LBB0_37
LBB0_34:
Lloh51:
	adrp	x24, _NN@GOTPAGE
Lloh52:
	ldr	x24, [x24, _NN@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh53:
	adrp	x9, _KK@GOTPAGE
Lloh54:
	ldr	x9, [x9, _KK@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	subs	w2, w8, w9
	ldur	x27, [x29, #-104]               ; 8-byte Folded Reload
	b.mi	LBB0_48
; %bb.35:
	add	w8, w2, #1
	cmp	w8, #4
	b.hs	LBB0_43
; %bb.36:
	mov	x9, #0
	b	LBB0_46
LBB0_37:
	mov	x23, #0
	add	x26, x21, #8
	mov	w27, #1
	ldur	x8, [x29, #-200]                ; 8-byte Folded Reload
	mov	w8, w8
	stur	x8, [x29, #-128]                ; 8-byte Folded Spill
	b	LBB0_39
LBB0_38:                                ;   in Loop: Header=BB0_39 Depth=1
	add	x27, x27, #1
	add	x23, x23, #1
	ldur	x8, [x29, #-128]                ; 8-byte Folded Reload
	cmp	x27, x8
	b.eq	LBB0_34
LBB0_39:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_41 Depth 2
Lloh56:
	adrp	x8, _PRIM@GOTPAGE
Lloh57:
	ldr	x8, [x8, _PRIM@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	ldur	x9, [x29, #-184]                ; 8-byte Folded Reload
	ldr	w9, [x9, x27, lsl #2]
	mul	w0, w9, w8
	bl	_modnn
	mov	x20, x0
	mov	x24, x23
	b	LBB0_41
LBB0_40:                                ;   in Loop: Header=BB0_41 Depth=2
	add	x8, x24, #2
	sub	x24, x24, #1
	cmp	x8, #1
	b.le	LBB0_38
LBB0_41:                                ;   Parent Loop BB0_39 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w8, w24, #1
	ldrsw	x8, [x21, w8, uxtw #2]
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	ldr	w8, [x9, x8, lsl #2]
	ldr	w9, [x28]
	cmp	w8, w9
	b.eq	LBB0_40
; %bb.42:                               ;   in Loop: Header=BB0_41 Depth=2
	add	w0, w8, w20
	bl	_modnn
	ldr	w8, [x22, x0, lsl #2]
	lsl	x9, x24, #2
	ldr	w10, [x26, x9]
	eor	w8, w10, w8
	str	w8, [x26, x9]
	b	LBB0_40
LBB0_43:
	and	x9, x8, #0xfffffffc
	ldur	x10, [x29, #-112]               ; 8-byte Folded Reload
	add	x10, x10, #8
	add	x11, x21, #8
	mov	x12, x9
LBB0_44:                                ; =>This Inner Loop Header: Depth=1
	ldpsw	x13, x14, [x11, #-8]
	ldr	w13, [x27, x13, lsl #2]
	ldr	w14, [x27, x14, lsl #2]
	ldpsw	x15, x16, [x11], #16
	ldr	w15, [x27, x15, lsl #2]
	ldr	w16, [x27, x16, lsl #2]
	stp	w13, w14, [x10, #-8]
	stp	w15, w16, [x10], #16
	subs	x12, x12, #4
	b.ne	LBB0_44
; %bb.45:
	cmp	x9, x8
	b.eq	LBB0_48
LBB0_46:
	lsl	x11, x9, #2
	ldur	x10, [x29, #-112]               ; 8-byte Folded Reload
	add	x10, x10, x11
	add	x11, x21, x11
	sub	x8, x8, x9
LBB0_47:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x9, [x11], #4
	ldr	w9, [x27, x9, lsl #2]
	str	w9, [x10], #4
	subs	x8, x8, #1
	b.ne	LBB0_47
LBB0_48:
	stur	x25, [x29, #-240]               ; 8-byte Folded Spill
	ldur	x9, [x29, #-200]                ; 8-byte Folded Reload
	cmp	w2, w9
	b.le	LBB0_77
; %bb.49:
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	add	x8, x8, #4
	stur	x8, [x29, #-192]                ; 8-byte Folded Spill
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	add	x8, x8, w9, sxtw #2
	sxtw	x12, w9
	add	x8, x8, #4
	stur	x8, [x29, #-136]                ; 8-byte Folded Spill
	add	w8, w9, #1
	ldur	x10, [x29, #-168]               ; 8-byte Folded Reload
	add	x20, x10, #4
	add	x23, x21, #4
	mov	x11, x9
	b	LBB0_52
LBB0_50:                                ;   in Loop: Header=BB0_52 Depth=1
Lloh59:
	adrp	x24, _NN@GOTPAGE
Lloh60:
	ldr	x24, [x24, _NN@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh61:
	adrp	x25, _KK@GOTPAGE
Lloh62:
	ldr	x25, [x25, _KK@GOTPAGEOFF]
	ldr	w9, [x25]
	sub	w2, w8, w9
	ldur	x0, [x29, #-192]                ; 8-byte Folded Reload
	ldur	x26, [x29, #-112]               ; 8-byte Folded Reload
	mov	x1, x26
	bl	_COPYDOWN
	ldr	w8, [x28]
	str	w8, [x26]
LBB0_51:                                ;   in Loop: Header=BB0_52 Depth=1
	ldur	w11, [x29, #-128]               ; 4-byte Folded Reload
	ldrsw	x9, [x24]
	ldrsw	x10, [x25]
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	add	x8, x8, #4
	stur	x8, [x29, #-136]                ; 8-byte Folded Spill
	ldur	x8, [x29, #-160]                ; 8-byte Folded Reload
	add	w8, w8, #1
	sub	x2, x9, x10
	ldur	x9, [x29, #-152]                ; 8-byte Folded Reload
	cmp	x9, x2
	mov	x12, x9
	b.ge	LBB0_77
LBB0_52:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_55 Depth 2
                                        ;     Child Loop BB0_61 Depth 2
                                        ;     Child Loop BB0_73 Depth 2
	stur	w11, [x29, #-128]               ; 4-byte Folded Spill
	mov	w25, w8
	stur	x12, [x29, #-144]               ; 8-byte Folded Spill
	stur	x25, [x29, #-160]               ; 8-byte Folded Spill
	mov	w26, #0
	tbnz	x12, #63, LBB0_58
; %bb.53:                               ;   in Loop: Header=BB0_52 Depth=1
	mov	x24, x21
	ldur	x27, [x29, #-136]               ; 8-byte Folded Reload
	b	LBB0_55
LBB0_54:                                ;   in Loop: Header=BB0_55 Depth=2
	sub	x27, x27, #4
	add	x24, x24, #4
	subs	x25, x25, #1
	b.eq	LBB0_58
LBB0_55:                                ;   Parent Loop BB0_52 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x8, [x24]
	cbz	w8, LBB0_54
; %bb.56:                               ;   in Loop: Header=BB0_55 Depth=2
	ldr	w9, [x27]
	ldr	w10, [x28]
	cmp	w9, w10
	b.eq	LBB0_54
; %bb.57:                               ;   in Loop: Header=BB0_55 Depth=2
	ldur	x10, [x29, #-104]               ; 8-byte Folded Reload
	ldr	w8, [x10, x8, lsl #2]
	add	w0, w8, w9
	bl	_modnn
	ldr	w8, [x22, x0, lsl #2]
	eor	w26, w8, w26
	b	LBB0_54
LBB0_58:                                ;   in Loop: Header=BB0_52 Depth=1
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	add	x8, x8, #1
	stur	x8, [x29, #-152]                ; 8-byte Folded Spill
	ldur	x27, [x29, #-104]               ; 8-byte Folded Reload
	ldr	w26, [x27, w26, sxtw #2]
	ldr	w10, [x28]
	cmp	w26, w10
	b.eq	LBB0_50
; %bb.59:                               ;   in Loop: Header=BB0_52 Depth=1
	ldr	w8, [x21]
	ldur	x9, [x29, #-168]                ; 8-byte Folded Reload
	str	w8, [x9]
Lloh63:
	adrp	x24, _NN@GOTPAGE
Lloh64:
	ldr	x24, [x24, _NN@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh65:
	adrp	x9, _KK@GOTPAGE
Lloh66:
	ldr	x9, [x9, _KK@GOTPAGEOFF]
Lloh67:
	ldr	w9, [x9]
	sub	w2, w8, w9
	cmp	w2, #1
	b.lt	LBB0_67
; %bb.60:                               ;   in Loop: Header=BB0_52 Depth=1
	mov	x24, #0
LBB0_61:                                ;   Parent Loop BB0_52 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x12, x24, #2
	ldur	x11, [x29, #-112]               ; 8-byte Folded Reload
	ldr	w11, [x11, x12]
	ldr	w25, [x23, x12]
	cmp	w11, w10
	b.ne	LBB0_63
; %bb.62:                               ;   in Loop: Header=BB0_61 Depth=2
	str	w25, [x20, x24, lsl #2]
	b	LBB0_64
LBB0_63:                                ;   in Loop: Header=BB0_61 Depth=2
	add	w0, w11, w26
	bl	_modnn
	ldr	w8, [x22, x0, lsl #2]
	eor	w8, w8, w25
	str	w8, [x20, x24, lsl #2]
Lloh68:
	adrp	x8, _NN@GOTPAGE
Lloh69:
	ldr	x8, [x8, _NN@GOTPAGEOFF]
Lloh70:
	ldr	w8, [x8]
Lloh71:
	adrp	x9, _KK@GOTPAGE
Lloh72:
	ldr	x9, [x9, _KK@GOTPAGEOFF]
Lloh73:
	ldr	w9, [x9]
LBB0_64:                                ;   in Loop: Header=BB0_61 Depth=2
	add	x10, x24, #1
	sub	w2, w8, w9
	cmp	x10, w2, sxtw
	b.ge	LBB0_66
; %bb.65:                               ;   in Loop: Header=BB0_61 Depth=2
	ldr	w10, [x28]
	add	x24, x24, #1
	b	LBB0_61
LBB0_66:                                ;   in Loop: Header=BB0_52 Depth=1
Lloh74:
	adrp	x24, _NN@GOTPAGE
Lloh75:
	ldr	x24, [x24, _NN@GOTPAGEOFF]
LBB0_67:                                ;   in Loop: Header=BB0_52 Depth=1
	ldur	x11, [x29, #-200]               ; 8-byte Folded Reload
	ldur	x10, [x29, #-144]               ; 8-byte Folded Reload
	add	w10, w10, w11
	ldur	w12, [x29, #-128]               ; 4-byte Folded Reload
	cmp	w10, w12, lsl #1
	b.ge	LBB0_69
; %bb.68:                               ;   in Loop: Header=BB0_52 Depth=1
	ldur	x0, [x29, #-192]                ; 8-byte Folded Reload
	ldur	x25, [x29, #-112]               ; 8-byte Folded Reload
	mov	x1, x25
	bl	_COPYDOWN
	ldr	w8, [x28]
	str	w8, [x25]
	ldr	w8, [x24]
Lloh76:
	adrp	x9, _KK@GOTPAGE
Lloh77:
	ldr	x9, [x9, _KK@GOTPAGEOFF]
Lloh78:
	ldr	w9, [x9]
	b	LBB0_76
LBB0_69:                                ;   in Loop: Header=BB0_52 Depth=1
	ldur	x10, [x29, #-152]               ; 8-byte Folded Reload
	add	w10, w10, w11
	sub	w12, w10, w12
	stur	w12, [x29, #-128]               ; 4-byte Folded Spill
	cmp	w8, w9
	b.lt	LBB0_76
; %bb.70:                               ;   in Loop: Header=BB0_52 Depth=1
	mov	x24, #0
	b	LBB0_73
LBB0_71:                                ;   in Loop: Header=BB0_73 Depth=2
	ldr	w9, [x27, x10, lsl #2]
	sub	w8, w8, w26
	add	w0, w8, w9
	bl	_modnn
Lloh79:
	adrp	x8, _NN@GOTPAGE
Lloh80:
	ldr	x8, [x8, _NN@GOTPAGEOFF]
Lloh81:
	ldr	w8, [x8]
Lloh82:
	adrp	x9, _KK@GOTPAGE
Lloh83:
	ldr	x9, [x9, _KK@GOTPAGEOFF]
Lloh84:
	ldr	w9, [x9]
LBB0_72:                                ;   in Loop: Header=BB0_73 Depth=2
	ldur	x10, [x29, #-112]               ; 8-byte Folded Reload
	str	w0, [x10, x24, lsl #2]
	sub	w10, w8, w9
	cmp	x24, w10, sxtw
	add	x24, x24, #1
	b.ge	LBB0_75
LBB0_73:                                ;   Parent Loop BB0_52 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x10, [x21, x24, lsl #2]
	cbnz	w10, LBB0_71
; %bb.74:                               ;   in Loop: Header=BB0_73 Depth=2
	ldr	w0, [x28]
	b	LBB0_72
LBB0_75:                                ;   in Loop: Header=BB0_52 Depth=1
Lloh85:
	adrp	x24, _NN@GOTPAGE
Lloh86:
	ldr	x24, [x24, _NN@GOTPAGEOFF]
LBB0_76:                                ;   in Loop: Header=BB0_52 Depth=1
	sub	w8, w8, w9
	add	w2, w8, #1
	mov	x0, x21
	ldur	x1, [x29, #-168]                ; 8-byte Folded Reload
	bl	_COPY
Lloh87:
	adrp	x25, _KK@GOTPAGE
Lloh88:
	ldr	x25, [x25, _KK@GOTPAGEOFF]
	b	LBB0_51
LBB0_77:
	tbnz	w2, #31, LBB0_80
; %bb.78:
	mov	x8, #0
	mov	w25, #0
	ldr	w9, [x28]
	add	w10, w2, #1
LBB0_79:                                ; =>This Inner Loop Header: Depth=1
	lsl	x11, x8, #2
	ldrsw	x12, [x21, x11]
	ldr	w12, [x27, x12, lsl #2]
	cmp	w12, w9
	csel	w25, w25, w8, eq
	str	w12, [x21, x11]
	add	x8, x8, #1
	cmp	x10, x8
	b.ne	LBB0_79
	b	LBB0_81
LBB0_80:
	mov	w25, #0
LBB0_81:
	add	x0, x19, #4
	ldur	x1, [x29, #-240]                ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_COPY
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_93
; %bb.82:
	mov	w23, #0
Lloh89:
	adrp	x9, _Ldec@GOTPAGE
Lloh90:
	ldr	x9, [x9, _Ldec@GOTPAGEOFF]
Lloh91:
	ldr	w9, [x9]
	sub	w20, w8, w9
	mov	w8, w25
	stur	x8, [x29, #-112]                ; 8-byte Folded Spill
	mov	w26, #1
	b	LBB0_85
LBB0_83:                                ;   in Loop: Header=BB0_85 Depth=1
	cbz	w24, LBB0_90
LBB0_84:                                ;   in Loop: Header=BB0_85 Depth=1
	add	w24, w26, #1
Lloh92:
	adrp	x27, _NN@GOTPAGE
Lloh93:
	ldr	x27, [x27, _NN@GOTPAGEOFF]
	ldr	w8, [x27]
Lloh94:
	adrp	x9, _Ldec@GOTPAGE
Lloh95:
	ldr	x9, [x9, _Ldec@GOTPAGEOFF]
Lloh96:
	ldr	w9, [x9]
	add	w8, w8, w20
	sub	w0, w8, w9
	bl	_modnn
	mov	x20, x0
	ldr	w8, [x27]
	cmp	w26, w8
	mov	x26, x24
	b.ge	LBB0_92
LBB0_85:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_88 Depth 2
	cmp	w25, #1
	b.lt	LBB0_84
; %bb.86:                               ;   in Loop: Header=BB0_85 Depth=1
	mov	w24, #1
	ldur	x27, [x29, #-112]               ; 8-byte Folded Reload
	b	LBB0_88
LBB0_87:                                ;   in Loop: Header=BB0_88 Depth=2
	subs	x27, x27, #1
	b.le	LBB0_83
LBB0_88:                                ;   Parent Loop BB0_85 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x19, x27, lsl #2]
	ldr	w9, [x28]
	cmp	w8, w9
	b.eq	LBB0_87
; %bb.89:                               ;   in Loop: Header=BB0_88 Depth=2
	add	w0, w27, w8
	bl	_modnn
	str	w0, [x19, x27, lsl #2]
	sbfiz	x8, x0, #2, #32
	ldr	w8, [x22, x8]
	eor	w24, w8, w24
	b	LBB0_87
LBB0_90:                                ;   in Loop: Header=BB0_85 Depth=1
	sbfiz	x8, x23, #2, #32
	ldur	x9, [x29, #-208]                ; 8-byte Folded Reload
	str	w26, [x9, x8]
	ldur	x9, [x29, #-216]                ; 8-byte Folded Reload
	str	w20, [x9, x8]
	add	w23, w23, #1
	cmp	w23, w25
	b.ne	LBB0_84
; %bb.91:
	mov	x23, x25
LBB0_92:
	cmp	w25, w23
	b.ne	LBB0_124
	b	LBB0_94
LBB0_93:
	mov	w23, #0
	cmp	w25, w23
	b.ne	LBB0_124
LBB0_94:
Lloh97:
	adrp	x8, _NN@GOTPAGE
Lloh98:
	ldr	x8, [x8, _NN@GOTPAGEOFF]
Lloh99:
	ldr	w8, [x8]
Lloh100:
	adrp	x9, _KK@GOTPAGE
Lloh101:
	ldr	x9, [x9, _KK@GOTPAGEOFF]
Lloh102:
	ldr	w9, [x9]
	sub	w10, w8, w9
	cmp	w10, #1
	b.lt	LBB0_106
; %bb.95:
	mov	x20, #0
	mov	w0, #0
	mov	x23, #4294967296
	b	LBB0_99
LBB0_96:                                ;   in Loop: Header=BB0_99 Depth=1
	add	x27, x20, #1
LBB0_97:                                ;   in Loop: Header=BB0_99 Depth=1
	mov	w19, #0
	mov	x12, x0
LBB0_98:                                ;   in Loop: Header=BB0_99 Depth=1
	ldur	x10, [x29, #-104]               ; 8-byte Folded Reload
	ldr	w10, [x10, w19, sxtw #2]
	ldur	x11, [x29, #-176]               ; 8-byte Folded Reload
	str	w10, [x11, x20, lsl #2]
	sub	w10, w8, w9
	sxtw	x10, w10
	mov	x20, x27
	mov	x0, x12
	cmp	x27, x10
	b.ge	LBB0_107
LBB0_99:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_102 Depth 2
	cmp	w25, w20
	csel	w26, w25, w20, lt
	tbnz	w26, #31, LBB0_96
; %bb.100:                              ;   in Loop: Header=BB0_99 Depth=1
	stur	w0, [x29, #-112]                ; 4-byte Folded Spill
	mov	w19, #0
	add	x27, x20, #1
	sub	w8, w27, w26
	lsl	x24, x8, #32
	b	LBB0_102
LBB0_101:                               ;   in Loop: Header=BB0_102 Depth=2
	sub	x8, x26, #1
	add	x24, x24, x23
	cmp	x26, #0
	mov	x26, x8
	b.le	LBB0_105
LBB0_102:                               ;   Parent Loop BB0_99 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	asr	x8, x24, #30
	ldur	x9, [x29, #-120]                ; 8-byte Folded Reload
	ldr	w8, [x9, x8]
	ldr	w9, [x28]
	cmp	w8, w9
	b.eq	LBB0_101
; %bb.103:                              ;   in Loop: Header=BB0_102 Depth=2
	ldr	w10, [x21, x26, lsl #2]
	cmp	w10, w9
	b.eq	LBB0_101
; %bb.104:                              ;   in Loop: Header=BB0_102 Depth=2
	add	w0, w10, w8
	bl	_modnn
	ldr	w8, [x22, x0, lsl #2]
	eor	w19, w8, w19
	b	LBB0_101
LBB0_105:                               ;   in Loop: Header=BB0_99 Depth=1
Lloh103:
	adrp	x8, _NN@GOTPAGE
Lloh104:
	ldr	x8, [x8, _NN@GOTPAGEOFF]
Lloh105:
	ldr	w8, [x8]
Lloh106:
	adrp	x9, _KK@GOTPAGE
Lloh107:
	ldr	x9, [x9, _KK@GOTPAGEOFF]
Lloh108:
	ldr	w9, [x9]
	mov	x12, x20
	ldur	w0, [x29, #-112]                ; 4-byte Folded Reload
	cbnz	w19, LBB0_98
	b	LBB0_97
LBB0_106:
	mov	w12, #0
	sxtw	x10, w10
LBB0_107:
	ldr	w8, [x28]
	ldur	x20, [x29, #-176]               ; 8-byte Folded Reload
	str	w8, [x20, x10, lsl #2]
	cmp	w25, #1
	b.lt	LBB0_125
; %bb.108:
	mov	w9, w12
	mov	w8, w25
	add	x24, x21, #4
	stp	x8, x9, [x29, #-144]            ; 16-byte Folded Spill
	mov	x23, x8
	ldur	x21, [x29, #-208]               ; 8-byte Folded Reload
	stur	w12, [x29, #-128]               ; 4-byte Folded Spill
	b	LBB0_111
LBB0_109:                               ;   in Loop: Header=BB0_111 Depth=1
	mov	w8, #0
LBB0_110:                               ;   in Loop: Header=BB0_111 Depth=1
	ldur	x20, [x29, #-176]               ; 8-byte Folded Reload
	ldur	x21, [x29, #-208]               ; 8-byte Folded Reload
	ldur	w12, [x29, #-128]               ; 4-byte Folded Reload
	ldur	x9, [x29, #-224]                ; 8-byte Folded Reload
	str	w8, [x9, x27, lsl #2]
	cmp	x19, #1
	mov	x23, x27
	b.le	LBB0_127
LBB0_111:                               ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_114 Depth 2
                                        ;     Child Loop BB0_119 Depth 2
	sub	x27, x23, #1
	mov	w26, #0
	tbnz	w12, #31, LBB0_116
; %bb.112:                              ;   in Loop: Header=BB0_111 Depth=1
	ldur	x19, [x29, #-136]               ; 8-byte Folded Reload
	b	LBB0_114
LBB0_113:                               ;   in Loop: Header=BB0_114 Depth=2
	sub	x8, x19, #1
	cmp	x19, #0
	mov	x19, x8
	b.le	LBB0_116
LBB0_114:                               ;   Parent Loop BB0_111 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x20, x19, lsl #2]
	ldr	w9, [x28]
	cmp	w8, w9
	b.eq	LBB0_113
; %bb.115:                              ;   in Loop: Header=BB0_114 Depth=2
	ldr	w9, [x21, x27, lsl #2]
	madd	w0, w9, w19, w8
	bl	_modnn
	ldr	w8, [x22, x0, lsl #2]
	eor	w26, w8, w26
	b	LBB0_113
LBB0_116:                               ;   in Loop: Header=BB0_111 Depth=1
	ldr	w19, [x21, x27, lsl #2]
Lloh109:
	adrp	x8, _B0@GOTPAGE
Lloh110:
	ldr	x8, [x8, _B0@GOTPAGEOFF]
Lloh111:
	ldr	w8, [x8]
	sub	w8, w8, #1
Lloh112:
	adrp	x20, _NN@GOTPAGE
Lloh113:
	ldr	x20, [x20, _NN@GOTPAGEOFF]
	ldr	w9, [x20]
	madd	w0, w8, w19, w9
	bl	_modnn
	ldrsw	x8, [x22, x0, lsl #2]
	stur	x8, [x29, #-120]                ; 8-byte Folded Spill
	ldr	w8, [x20]
Lloh114:
	adrp	x9, _KK@GOTPAGE
Lloh115:
	ldr	x9, [x9, _KK@GOTPAGEOFF]
Lloh116:
	ldr	w9, [x9]
	mvn	w9, w9
	add	w1, w8, w9
	mov	x0, x25
	bl	_min
	ands	w21, w0, #0xfffffffe
	b.lt	LBB0_124
; %bb.117:                              ;   in Loop: Header=BB0_111 Depth=1
	stur	x23, [x29, #-112]               ; 8-byte Folded Spill
	mov	w20, #0
	lsl	w23, w19, #1
	mov	w8, w0
	lsr	x8, x8, #1
	mul	w19, w23, w8
	b	LBB0_119
LBB0_118:                               ;   in Loop: Header=BB0_119 Depth=2
	sub	x8, x21, #2
	sub	w19, w19, w23
	cmp	x21, #1
	mov	x21, x8
	b.le	LBB0_121
LBB0_119:                               ;   Parent Loop BB0_111 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x24, x21, lsl #2]
	ldr	w9, [x28]
	cmp	w8, w9
	b.eq	LBB0_118
; %bb.120:                              ;   in Loop: Header=BB0_119 Depth=2
	add	w0, w19, w8
	bl	_modnn
	ldr	w8, [x22, x0, lsl #2]
	eor	w20, w8, w20
	b	LBB0_118
LBB0_121:                               ;   in Loop: Header=BB0_111 Depth=1
	ldur	x19, [x29, #-112]               ; 8-byte Folded Reload
	cbz	w20, LBB0_124
; %bb.122:                              ;   in Loop: Header=BB0_111 Depth=1
	cbz	w26, LBB0_109
; %bb.123:                              ;   in Loop: Header=BB0_111 Depth=1
	ldur	x11, [x29, #-104]               ; 8-byte Folded Reload
	ldr	w8, [x11, w26, sxtw #2]
	ldur	x9, [x29, #-120]                ; 8-byte Folded Reload
	ldr	w9, [x11, x9, lsl #2]
Lloh117:
	adrp	x10, _NN@GOTPAGE
Lloh118:
	ldr	x10, [x10, _NN@GOTPAGEOFF]
Lloh119:
	ldr	w10, [x10]
	add	w8, w9, w8
	add	w8, w8, w10
	ldr	w9, [x11, w20, sxtw #2]
	sub	w0, w8, w9
	bl	_modnn
	ldr	w8, [x22, x0, lsl #2]
	b	LBB0_110
LBB0_124:
	mov	w25, #-1
LBB0_125:
	ldur	x8, [x29, #-96]
Lloh120:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh121:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh122:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_128
; %bb.126:
	mov	x0, x25
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_127:
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	lsl	x2, x8, #2
	ldur	x0, [x29, #-184]                ; 8-byte Folded Reload
	ldur	x1, [x29, #-216]                ; 8-byte Folded Reload
	bl	_memcpy
	b	LBB0_125
LBB0_128:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpLdrGot	Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGot	Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGot	Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.cfi_endproc
                                        ; -- End function
	.comm	_NN,4,2                         ; @NN
	.comm	_KK,4,2                         ; @KK
	.comm	_B0,4,2                         ; @B0
	.comm	_PRIM,4,2                       ; @PRIM
	.comm	_A0,4,2                         ; @A0
	.comm	_Ldec,4,2                       ; @Ldec
	.no_dead_strip	_eras_dec_rs
.subsections_via_symbols
