	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mod_sqrt_secp224r1
_mod_sqrt_secp224r1:                    ## @mod_sqrt_secp224r1
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_num_words_secp224r1@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	shlq	$2, %r15
	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, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, %r8
	callq	_mod_sqrt_secp224r1_rp
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rcx
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %r8
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	%r13, %r9
	callq	_mod_sqrt_secp224r1_rs
	movl	$94, %r12d
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	-104(%rbp), %r15                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_num_words_secp224r1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_uECC_vli_set
	movl	(%rbx), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_uECC_vli_set
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_uECC_vli_set
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	%r15, %r9
	callq	_mod_sqrt_secp224r1_rs
	movq	_num_words_secp224r1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_uECC_vli_isZero
	subl	$1, %r12d
	setb	%cl
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testb	%cl, %cl
	je	LBB0_1
LBB0_3:
	movq	_curve_secp224r1@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	_num_words_secp224r1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_uECC_vli_modInv
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_uECC_vli_modMult_fast
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_num_words_secp224r1,4,2        ## @num_words_secp224r1
	.comm	_curve_secp224r1,4,2            ## @curve_secp224r1
	.no_dead_strip	_mod_sqrt_secp224r1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mod_sqrt_secp224r1
_mod_sqrt_secp224r1:                    ; @mod_sqrt_secp224r1
	.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, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x26, _num_words_secp224r1@GOTPAGE
Lloh4:
	ldr	x26, [x26, _num_words_secp224r1@GOTPAGEOFF]
	ldr	w8, [x26]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x21, x9, x12
	mov	sp, x21
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x20, x9, x12
	mov	sp, x20
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x22, x9, x12
	mov	sp, x22
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x23, x9, x12
	mov	sp, x23
	mov	x9, x8
Lloh13:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh14:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x24, x9, x12
	mov	sp, x24
	mov	x9, x8
Lloh15:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh16:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x25, x8, x12
	mov	sp, x25
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	mov	x3, x19
	mov	x4, x19
	bl	_mod_sqrt_secp224r1_rp
	mov	x0, x25
	mov	x1, x21
	mov	x2, x20
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	bl	_mod_sqrt_secp224r1_rs
	mov	w27, #94
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x26]
	mov	x0, x22
	mov	x1, x25
	bl	_uECC_vli_set
	ldr	w2, [x26]
	mov	x0, x23
	mov	x1, x21
	bl	_uECC_vli_set
	ldr	w2, [x26]
	mov	x0, x24
	mov	x1, x20
	bl	_uECC_vli_set
	mov	x0, x25
	mov	x1, x21
	mov	x2, x20
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	bl	_mod_sqrt_secp224r1_rs
	ldr	w1, [x26]
	mov	x0, x25
	bl	_uECC_vli_isZero
	cmp	x0, #0
	ccmp	w27, #0, #4, eq
	sub	w27, w27, #1
	b.ne	LBB0_1
; %bb.2:
Lloh17:
	adrp	x21, _curve_secp224r1@GOTPAGE
Lloh18:
	ldr	x21, [x21, _curve_secp224r1@GOTPAGEOFF]
	ldr	w2, [x21]
	ldr	w3, [x26]
	mov	x0, x20
	mov	x1, x23
	bl	_uECC_vli_modInv
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	bl	_uECC_vli_modMult_fast
	ldur	x8, [x29, #-88]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	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_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_num_words_secp224r1,4,2        ; @num_words_secp224r1
	.comm	_curve_secp224r1,4,2            ; @curve_secp224r1
	.no_dead_strip	_mod_sqrt_secp224r1
.subsections_via_symbols
