	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vli_mmod_fast_secp256r1
_vli_mmod_fast_secp256r1:               ## @vli_mmod_fast_secp256r1
	.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	%rsi, %r13
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_num_words_secp256r1@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	movq	%rbx, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_uECC_vli_set
	movq	$0, (%r12)
	movl	24(%r13), %eax
	movl	%eax, 8(%r12)
	movl	28(%r13), %eax
	movl	%eax, 12(%r12)
	movl	(%r15), %ecx
	movq	%r12, %rdi
	movq	%r12, %rsi
	movq	%r12, %rdx
	callq	_uECC_vli_add
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	(%r15), %ecx
	movq	%r14, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_uECC_vli_add
	movq	%rax, %rbx
	movl	(%r15), %ecx
	movq	%r12, %rdi
	movq	%r12, %rsi
	movq	%r12, %rdx
	callq	_uECC_vli_add
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	(%r15), %ecx
	movq	%r14, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_uECC_vli_add
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	16(%r13), %eax
	movl	%eax, (%r12)
	movl	20(%r13), %eax
	movl	%eax, 4(%r12)
	movl	$0, 8(%r12)
	movl	28(%r13), %eax
	movl	%eax, 12(%r12)
	movl	(%r15), %ecx
	movq	%r14, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_uECC_vli_add
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	28(%r13), %eax
	movl	%eax, 8(%r12)
	movl	(%r15), %ecx
	movq	%r14, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_uECC_vli_add
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	$0, 8(%r12)
	movl	(%r15), %ecx
	movq	%r14, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_uECC_vli_sub
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	24(%r13), %eax
	movl	%eax, (%r12)
	movl	28(%r13), %eax
	movl	%eax, 4(%r12)
	movl	$0, 8(%r12)
	movl	(%r15), %ecx
	movq	%r14, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_uECC_vli_sub
	movq	%rax, %r13
	movl	(%r15), %ecx
	movq	%r14, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_uECC_vli_sub
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	28(%rcx), %eax
	movl	%eax, (%r12)
	movl	$0, 4(%r12)
	movl	20(%rcx), %eax
	movl	%eax, 8(%r12)
	movl	$0, 12(%r12)
	movl	(%r15), %ecx
	movq	%r14, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_uECC_vli_sub
	addq	-112(%rbp), %rbx                ## 8-byte Folded Reload
	addq	-104(%rbp), %rbx                ## 8-byte Folded Reload
	addq	-96(%rbp), %rbx                 ## 8-byte Folded Reload
	addq	-88(%rbp), %rbx                 ## 8-byte Folded Reload
	addq	-80(%rbp), %rbx                 ## 8-byte Folded Reload
	addq	-72(%rbp), %r13                 ## 8-byte Folded Reload
	addq	-64(%rbp), %r13                 ## 8-byte Folded Reload
	addq	%rax, %r13
	subq	%r13, %rbx
	movq	_curve_secp256r1@GOTPCREL(%rip), %r12
	testl	%ebx, %ebx
	jns	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdx
	movl	(%r15), %ecx
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_uECC_vli_add
	movslq	%ebx, %rbx
	addq	%rax, %rbx
	testl	$-2147483648, %ebx              ## imm = 0x80000000
	jne	LBB0_4
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r12), %rdx
	movl	(%r15), %ecx
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_uECC_vli_sub
	subl	%eax, %ebx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ebx, %ebx
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r12), %rdi
	movl	(%r15), %edx
	movq	%r14, %rsi
	callq	_uECC_vli_cmp_unsafe
	cmpl	$1, %eax
	jne	LBB0_3
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_num_words_secp256r1,4,2        ## @num_words_secp256r1
	.comm	_curve_secp256r1,8,3            ## @curve_secp256r1
	.no_dead_strip	_vli_mmod_fast_secp256r1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vli_mmod_fast_secp256r1
_vli_mmod_fast_secp256r1:               ; @vli_mmod_fast_secp256r1
	.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, #32
	mov	x20, x1
	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	x24, _num_words_secp256r1@GOTPAGE
Lloh4:
	ldr	x24, [x24, _num_words_secp256r1@GOTPAGEOFF]
	ldr	w2, [x24]
	lsl	x8, x2, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_uECC_vli_set
	str	xzr, [x21]
	ldr	d0, [x20, #24]
	str	d0, [x21, #8]
	ldr	w3, [x24]
	mov	x0, x21
	mov	x1, x21
	mov	x2, x21
	bl	_uECC_vli_add
	stur	x0, [x29, #-96]                 ; 8-byte Folded Spill
	ldr	w3, [x24]
	mov	x0, x19
	mov	x1, x19
	mov	x2, x21
	bl	_uECC_vli_add
	stur	x0, [x29, #-104]                ; 8-byte Folded Spill
	ldr	w3, [x24]
	mov	x0, x21
	mov	x1, x21
	mov	x2, x21
	bl	_uECC_vli_add
	stur	x0, [x29, #-112]                ; 8-byte Folded Spill
	ldr	w3, [x24]
	mov	x0, x19
	mov	x1, x19
	mov	x2, x21
	bl	_uECC_vli_add
	mov	x25, x0
	ldr	d0, [x20, #16]
	str	d0, [x21]
	ldr	w8, [x20, #28]
	stp	wzr, w8, [x21, #8]
	ldr	w3, [x24]
	mov	x0, x19
	mov	x1, x19
	mov	x2, x21
	bl	_uECC_vli_add
	mov	x26, x0
	ldr	w8, [x20, #28]
	str	w8, [x21, #8]
	ldr	w3, [x24]
	mov	x0, x19
	mov	x1, x19
	mov	x2, x21
	bl	_uECC_vli_add
	mov	x27, x0
	str	wzr, [x21, #8]
	ldr	w3, [x24]
	mov	x0, x19
	mov	x1, x19
	mov	x2, x21
	bl	_uECC_vli_sub
	mov	x28, x0
	ldr	d0, [x20, #24]
	str	d0, [x21]
	str	wzr, [x21, #8]
	ldr	w3, [x24]
	mov	x0, x19
	mov	x1, x19
	mov	x2, x21
	bl	_uECC_vli_sub
	mov	x22, x0
	ldr	w3, [x24]
	mov	x0, x19
	mov	x1, x19
	mov	x2, x21
	bl	_uECC_vli_sub
	mov	x23, x0
	ldr	w8, [x20, #28]
	stp	w8, wzr, [x21]
	ldr	w8, [x20, #20]
	stp	w8, wzr, [x21, #8]
	ldr	w3, [x24]
	mov	x0, x19
	mov	x1, x19
	mov	x2, x21
	bl	_uECC_vli_sub
	ldp	x9, x8, [x29, #-104]            ; 16-byte Folded Reload
	add	x8, x9, x8
	ldur	x9, [x29, #-112]                ; 8-byte Folded Reload
	add	x8, x8, x9
	add	x8, x8, x25
	add	x8, x8, x26
	add	x8, x8, x27
	add	x9, x28, x22
	add	x9, x9, x23
	add	x9, x9, x0
Lloh7:
	adrp	x21, _curve_secp256r1@GOTPAGE
Lloh8:
	ldr	x21, [x21, _curve_secp256r1@GOTPAGEOFF]
	sub	x20, x8, x9
	tbz	w20, #31, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x2, [x21]
	ldr	w3, [x24]
	mov	x0, x19
	mov	x1, x19
	bl	_uECC_vli_add
	add	x20, x0, w20, sxtw
	tbnz	w20, #31, LBB0_1
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x2, [x21]
	ldr	w3, [x24]
	mov	x0, x19
	mov	x1, x19
	bl	_uECC_vli_sub
	sub	w20, w20, w0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cbnz	w20, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x21]
	ldr	w2, [x24]
	mov	x1, x19
	bl	_uECC_vli_cmp_unsafe
	cmp	w0, #1
	b.ne	LBB0_2
LBB0_5:
	ldur	x8, [x29, #-88]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	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_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_num_words_secp256r1,4,2        ; @num_words_secp256r1
	.comm	_curve_secp256r1,8,3            ; @curve_secp256r1
	.no_dead_strip	_vli_mmod_fast_secp256r1
.subsections_via_symbols
