	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function secp256k1_scalar_sqr_512
_secp256k1_scalar_sqr_512:              ## @secp256k1_scalar_sqr_512
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movl	(%rax), %edi
	movl	%edi, %esi
	callq	_muladd_fast
	movq	(%r14), %rdi
	callq	_extract_fast
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movl	4(%rax), %esi
	callq	_muladd2
	movq	8(%r14), %rdi
	callq	_extract
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movl	8(%rax), %esi
	callq	_muladd2
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	movl	%edi, %esi
	callq	_muladd
	movq	16(%r14), %rdi
	callq	_extract
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movl	12(%rax), %esi
	callq	_muladd2
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	movl	8(%rax), %esi
	callq	_muladd2
	movq	24(%r14), %rdi
	callq	_extract
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movl	16(%rax), %esi
	callq	_muladd2
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	movl	12(%rax), %esi
	callq	_muladd2
	movq	(%rbx), %rax
	movl	8(%rax), %edi
	movl	%edi, %esi
	callq	_muladd
	movq	32(%r14), %rdi
	callq	_extract
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movl	20(%rax), %esi
	callq	_muladd2
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	movl	16(%rax), %esi
	callq	_muladd2
	movq	(%rbx), %rax
	movl	8(%rax), %edi
	movl	12(%rax), %esi
	callq	_muladd2
	movq	40(%r14), %rdi
	callq	_extract
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movl	24(%rax), %esi
	callq	_muladd2
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	movl	20(%rax), %esi
	callq	_muladd2
	movq	(%rbx), %rax
	movl	8(%rax), %edi
	movl	16(%rax), %esi
	callq	_muladd2
	movq	(%rbx), %rax
	movl	12(%rax), %edi
	movl	%edi, %esi
	callq	_muladd
	movq	48(%r14), %rdi
	callq	_extract
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movl	28(%rax), %esi
	callq	_muladd2
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	movl	24(%rax), %esi
	callq	_muladd2
	movq	(%rbx), %rax
	movl	8(%rax), %edi
	movl	20(%rax), %esi
	callq	_muladd2
	movq	(%rbx), %rax
	movl	12(%rax), %edi
	movl	16(%rax), %esi
	callq	_muladd2
	movq	56(%r14), %rdi
	callq	_extract
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	movl	28(%rax), %esi
	callq	_muladd2
	movq	(%rbx), %rax
	movl	8(%rax), %edi
	movl	24(%rax), %esi
	callq	_muladd2
	movq	(%rbx), %rax
	movl	12(%rax), %edi
	movl	20(%rax), %esi
	callq	_muladd2
	movq	(%rbx), %rax
	movl	16(%rax), %edi
	movl	%edi, %esi
	callq	_muladd
	movq	64(%r14), %rdi
	callq	_extract
	movq	(%rbx), %rax
	movl	8(%rax), %edi
	movl	28(%rax), %esi
	callq	_muladd2
	movq	(%rbx), %rax
	movl	12(%rax), %edi
	movl	24(%rax), %esi
	callq	_muladd2
	movq	(%rbx), %rax
	movl	16(%rax), %edi
	movl	20(%rax), %esi
	callq	_muladd2
	movq	72(%r14), %rdi
	callq	_extract
	movq	(%rbx), %rax
	movl	12(%rax), %edi
	movl	28(%rax), %esi
	callq	_muladd2
	movq	(%rbx), %rax
	movl	16(%rax), %edi
	movl	24(%rax), %esi
	callq	_muladd2
	movq	(%rbx), %rax
	movl	20(%rax), %edi
	movl	%edi, %esi
	callq	_muladd
	movq	80(%r14), %rdi
	callq	_extract
	movq	(%rbx), %rax
	movl	16(%rax), %edi
	movl	28(%rax), %esi
	callq	_muladd2
	movq	(%rbx), %rax
	movl	20(%rax), %edi
	movl	24(%rax), %esi
	callq	_muladd2
	movq	88(%r14), %rdi
	callq	_extract
	movq	(%rbx), %rax
	movl	20(%rax), %edi
	movl	28(%rax), %esi
	callq	_muladd2
	movq	(%rbx), %rax
	movl	24(%rax), %edi
	movl	%edi, %esi
	callq	_muladd
	movq	96(%r14), %rdi
	callq	_extract
	movq	(%rbx), %rax
	movl	24(%rax), %edi
	movl	28(%rax), %esi
	callq	_muladd2
	movq	104(%r14), %rdi
	callq	_extract
	movq	(%rbx), %rax
	movl	28(%rax), %edi
	movl	%edi, %esi
	callq	_muladd_fast
	movq	112(%r14), %rdi
	callq	_extract_fast
	movl	$1, %edi
	callq	_VERIFY_CHECK
	movq	$0, 120(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_secp256k1_scalar_sqr_512
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function secp256k1_scalar_sqr_512
_secp256k1_scalar_sqr_512:              ; @secp256k1_scalar_sqr_512
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x1]
	ldr	w0, [x8]
	mov	x1, x0
	bl	_muladd_fast
	ldr	x0, [x19]
	bl	_extract_fast
	ldr	x8, [x20]
	ldp	w0, w1, [x8]
	bl	_muladd2
	ldr	x0, [x19, #8]
	bl	_extract
	ldr	x8, [x20]
	ldr	w0, [x8]
	ldr	w1, [x8, #8]
	bl	_muladd2
	ldr	x8, [x20]
	ldr	w0, [x8, #4]
	mov	x1, x0
	bl	_muladd
	ldr	x0, [x19, #16]
	bl	_extract
	ldr	x8, [x20]
	ldr	w0, [x8]
	ldr	w1, [x8, #12]
	bl	_muladd2
	ldr	x8, [x20]
	ldp	w0, w1, [x8, #4]
	bl	_muladd2
	ldr	x0, [x19, #24]
	bl	_extract
	ldr	x8, [x20]
	ldr	w0, [x8]
	ldr	w1, [x8, #16]
	bl	_muladd2
	ldr	x8, [x20]
	ldr	w0, [x8, #4]
	ldr	w1, [x8, #12]
	bl	_muladd2
	ldr	x8, [x20]
	ldr	w0, [x8, #8]
	mov	x1, x0
	bl	_muladd
	ldr	x0, [x19, #32]
	bl	_extract
	ldr	x8, [x20]
	ldr	w0, [x8]
	ldr	w1, [x8, #20]
	bl	_muladd2
	ldr	x8, [x20]
	ldr	w0, [x8, #4]
	ldr	w1, [x8, #16]
	bl	_muladd2
	ldr	x8, [x20]
	ldp	w0, w1, [x8, #8]
	bl	_muladd2
	ldr	x0, [x19, #40]
	bl	_extract
	ldr	x8, [x20]
	ldr	w0, [x8]
	ldr	w1, [x8, #24]
	bl	_muladd2
	ldr	x8, [x20]
	ldr	w0, [x8, #4]
	ldr	w1, [x8, #20]
	bl	_muladd2
	ldr	x8, [x20]
	ldr	w0, [x8, #8]
	ldr	w1, [x8, #16]
	bl	_muladd2
	ldr	x8, [x20]
	ldr	w0, [x8, #12]
	mov	x1, x0
	bl	_muladd
	ldr	x0, [x19, #48]
	bl	_extract
	ldr	x8, [x20]
	ldr	w0, [x8]
	ldr	w1, [x8, #28]
	bl	_muladd2
	ldr	x8, [x20]
	ldr	w0, [x8, #4]
	ldr	w1, [x8, #24]
	bl	_muladd2
	ldr	x8, [x20]
	ldr	w0, [x8, #8]
	ldr	w1, [x8, #20]
	bl	_muladd2
	ldr	x8, [x20]
	ldp	w0, w1, [x8, #12]
	bl	_muladd2
	ldr	x0, [x19, #56]
	bl	_extract
	ldr	x8, [x20]
	ldr	w0, [x8, #4]
	ldr	w1, [x8, #28]
	bl	_muladd2
	ldr	x8, [x20]
	ldr	w0, [x8, #8]
	ldr	w1, [x8, #24]
	bl	_muladd2
	ldr	x8, [x20]
	ldr	w0, [x8, #12]
	ldr	w1, [x8, #20]
	bl	_muladd2
	ldr	x8, [x20]
	ldr	w0, [x8, #16]
	mov	x1, x0
	bl	_muladd
	ldr	x0, [x19, #64]
	bl	_extract
	ldr	x8, [x20]
	ldr	w0, [x8, #8]
	ldr	w1, [x8, #28]
	bl	_muladd2
	ldr	x8, [x20]
	ldr	w0, [x8, #12]
	ldr	w1, [x8, #24]
	bl	_muladd2
	ldr	x8, [x20]
	ldp	w0, w1, [x8, #16]
	bl	_muladd2
	ldr	x0, [x19, #72]
	bl	_extract
	ldr	x8, [x20]
	ldr	w0, [x8, #12]
	ldr	w1, [x8, #28]
	bl	_muladd2
	ldr	x8, [x20]
	ldr	w0, [x8, #16]
	ldr	w1, [x8, #24]
	bl	_muladd2
	ldr	x8, [x20]
	ldr	w0, [x8, #20]
	mov	x1, x0
	bl	_muladd
	ldr	x0, [x19, #80]
	bl	_extract
	ldr	x8, [x20]
	ldr	w0, [x8, #16]
	ldr	w1, [x8, #28]
	bl	_muladd2
	ldr	x8, [x20]
	ldp	w0, w1, [x8, #20]
	bl	_muladd2
	ldr	x0, [x19, #88]
	bl	_extract
	ldr	x8, [x20]
	ldr	w0, [x8, #20]
	ldr	w1, [x8, #28]
	bl	_muladd2
	ldr	x8, [x20]
	ldr	w0, [x8, #24]
	mov	x1, x0
	bl	_muladd
	ldr	x0, [x19, #96]
	bl	_extract
	ldr	x8, [x20]
	ldp	w0, w1, [x8, #24]
	bl	_muladd2
	ldr	x0, [x19, #104]
	bl	_extract
	ldr	x8, [x20]
	ldr	w0, [x8, #28]
	mov	x1, x0
	bl	_muladd_fast
	ldr	x0, [x19, #112]
	bl	_extract_fast
	mov	w0, #1
	bl	_VERIFY_CHECK
	str	xzr, [x19, #120]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_secp256k1_scalar_sqr_512
.subsections_via_symbols
