	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nist_cp_bn_0
_nist_cp_bn_0:                          ## @nist_cp_bn_0
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
                                        ## kill: def $edx killed $edx def $rdx
	testl	%edx, %edx
	jle	LBB0_1
## %bb.2:
	movl	%edx, %r8d
	xorl	%r11d, %r11d
	cmpl	$4, %edx
	jb	LBB0_12
## %bb.3:
	movq	%rdi, %rax
	subq	%rsi, %rax
	cmpq	$32, %rax
	jb	LBB0_12
## %bb.4:
	movl	%r8d, %r11d
	andl	$-4, %r11d
	leaq	-4(%r11), %rax
	movq	%rax, %r10
	shrq	$2, %r10
	incq	%r10
	movl	%r10d, %r9d
	andl	$3, %r9d
	cmpq	$12, %rax
	jae	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_1:
	xorl	%edx, %edx
	jmp	LBB0_15
LBB0_6:
	andq	$-4, %r10
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rsi,%rax,8), %xmm0
	movups	16(%rsi,%rax,8), %xmm1
	movups	%xmm0, (%rdi,%rax,8)
	movups	%xmm1, 16(%rdi,%rax,8)
	movups	32(%rsi,%rax,8), %xmm0
	movups	48(%rsi,%rax,8), %xmm1
	movups	%xmm0, 32(%rdi,%rax,8)
	movups	%xmm1, 48(%rdi,%rax,8)
	movups	64(%rsi,%rax,8), %xmm0
	movups	80(%rsi,%rax,8), %xmm1
	movups	%xmm0, 64(%rdi,%rax,8)
	movups	%xmm1, 80(%rdi,%rax,8)
	movups	96(%rsi,%rax,8), %xmm0
	movups	112(%rsi,%rax,8), %xmm1
	movups	%xmm0, 96(%rdi,%rax,8)
	movups	%xmm1, 112(%rdi,%rax,8)
	addq	$16, %rax
	addq	$-4, %r10
	jne	LBB0_7
LBB0_8:
	testq	%r9, %r9
	je	LBB0_11
## %bb.9:
	leaq	(%rdi,%rax,8), %r10
	addq	$16, %r10
	leaq	(%rsi,%rax,8), %rax
	addq	$16, %rax
	shlq	$5, %r9
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rax,%rbx), %xmm0
	movups	(%rax,%rbx), %xmm1
	movups	%xmm0, -16(%r10,%rbx)
	movups	%xmm1, (%r10,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %r9
	jne	LBB0_10
LBB0_11:
	cmpq	%r8, %r11
	je	LBB0_15
LBB0_12:
	movq	%r11, %r9
	notq	%r9
	addq	%r8, %r9
	movq	%r8, %rax
	andq	$3, %rax
	je	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%r11,8), %rbx
	movq	%rbx, (%rdi,%r11,8)
	incq	%r11
	decq	%rax
	jne	LBB0_13
LBB0_14:
	cmpq	$3, %r9
	jb	LBB0_15
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%r11,8), %rax
	movq	%rax, (%rdi,%r11,8)
	movq	8(%rsi,%r11,8), %rax
	movq	%rax, 8(%rdi,%r11,8)
	movq	16(%rsi,%r11,8), %rax
	movq	%rax, 16(%rdi,%r11,8)
	movq	24(%rsi,%r11,8), %rax
	movq	%rax, 24(%rdi,%r11,8)
	addq	$4, %r11
	cmpq	%r11, %r8
	jne	LBB0_18
LBB0_15:
	cmpl	%ecx, %edx
	jge	LBB0_17
## %bb.16:
	movl	%edx, %eax
	leaq	(%rdi,%rax,8), %rdi
	notl	%edx
	addl	%ecx, %edx
	leaq	8(,%rdx,8), %rsi
	callq	___bzero
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nist_cp_bn_0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nist_cp_bn_0
_nist_cp_bn_0:                          ; @nist_cp_bn_0
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmp	w2, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x9, #0
	mov	w8, w2
	cmp	w2, #8
	b.lo	LBB0_6
; %bb.2:
	sub	x10, x0, x1
	cmp	x10, #64
	b.lo	LBB0_6
; %bb.3:
	and	x9, x8, #0xfffffff8
	add	x10, x1, #32
	add	x11, x0, #32
	mov	x12, x9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x10, #-32]
	ldp	q2, q3, [x10], #64
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x12, x12, #8
	b.ne	LBB0_4
; %bb.5:
	cmp	x9, x8
	b.eq	LBB0_8
LBB0_6:
	lsl	x11, x9, #3
	add	x10, x0, x11
	add	x11, x1, x11
	sub	x8, x8, x9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x11], #8
	str	x9, [x10], #8
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	cmp	w2, w3
	b.ge	LBB0_10
LBB0_9:
	add	x0, x0, w2, uxtw #3
	mvn	w8, w2
	add	w8, w8, w3
	lsl	x8, x8, #3
	add	x1, x8, #8
	bl	_bzero
LBB0_10:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	w2, #0
	cmp	w2, w3
	b.lt	LBB0_9
	b	LBB0_10
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nist_cp_bn_0
.subsections_via_symbols
