	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vli_mmod_fast_secp256k1
_vli_mmod_fast_secp256k1:               ## @vli_mmod_fast_secp256k1
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_num_words_secp256k1@GOTPCREL(%rip), %r13
	movl	(%r13), %r12d
	leal	(%r12,%r12), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_uECC_vli_clear
	movslq	(%r13), %rsi
	leaq	(%r15,%rsi,8), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_uECC_vli_clear
	movslq	(%r13), %rax
	leaq	(%rbx,%rax,8), %rsi
	movq	%r15, %rdi
	callq	_omega_mult_secp256k1
	movl	(%r13), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_uECC_vli_add
	movq	%rax, %r12
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_uECC_vli_clear
	movslq	(%r13), %rax
	leaq	(%r15,%rax,8), %rsi
	movq	%rbx, %rdi
	callq	_omega_mult_secp256k1
	movl	(%r13), %ecx
	movq	%r14, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_uECC_vli_add
	movq	%rax, %rcx
	addq	%r12, %rcx
	jle	LBB0_3
## %bb.1:
	leaq	(%r12,%rax), %rbx
	incq	%rbx
	movq	_curve_secp256k1@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edx
	movl	(%r13), %ecx
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_uECC_vli_sub
	decq	%rbx
	cmpq	$1, %rbx
	ja	LBB0_2
LBB0_3:
	movq	_curve_secp256k1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	(%r13), %edx
	movq	%r14, %rdi
	callq	_uECC_vli_cmp_unsafe
	testq	%rax, %rax
	jle	LBB0_5
## %bb.4:
	movl	(%rbx), %edx
	movl	(%r13), %ecx
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_uECC_vli_sub
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_secp256k1,4,2        ## @num_words_secp256k1
	.comm	_curve_secp256k1,4,2            ## @curve_secp256k1
	.no_dead_strip	_vli_mmod_fast_secp256k1
.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_secp256k1
_vli_mmod_fast_secp256k1:               ; @vli_mmod_fast_secp256k1
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
	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, #-56]
Lloh3:
	adrp	x23, _num_words_secp256k1@GOTPAGE
Lloh4:
	ldr	x23, [x23, _num_words_secp256k1@GOTPAGEOFF]
	ldr	w1, [x23]
	lsl	w8, w1, #1
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x22, x9, x8
	mov	sp, x22
	mov	x0, x22
	bl	_uECC_vli_clear
	ldrsw	x1, [x23]
	add	x0, x22, x1, lsl #3
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_uECC_vli_clear
	ldrsw	x8, [x23]
	add	x1, x20, x8, lsl #3
	mov	x0, x22
	bl	_omega_mult_secp256k1
	ldr	w3, [x23]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_uECC_vli_add
	mov	x21, x0
	ldr	w1, [x23]
	mov	x0, x20
	bl	_uECC_vli_clear
	ldrsw	x8, [x23]
	add	x1, x22, x8, lsl #3
	mov	x0, x20
	bl	_omega_mult_secp256k1
	ldr	w3, [x23]
	mov	x0, x19
	mov	x1, x19
	mov	x2, x20
	bl	_uECC_vli_add
	add	x8, x0, x21
Lloh7:
	adrp	x20, _curve_secp256k1@GOTPAGE
Lloh8:
	ldr	x20, [x20, _curve_secp256k1@GOTPAGEOFF]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.1:
	add	x8, x21, x0
	add	x21, x8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x20]
	ldr	w3, [x23]
	mov	x0, x19
	mov	x1, x19
	bl	_uECC_vli_sub
	sub	x21, x21, #1
	cmp	x21, #1
	b.hi	LBB0_2
LBB0_3:
	ldr	w1, [x20]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_uECC_vli_cmp_unsafe
	cmp	x0, #1
	b.lt	LBB0_5
; %bb.4:
	ldr	w2, [x20]
	ldr	w3, [x23]
	mov	x0, x19
	mov	x1, x19
	bl	_uECC_vli_sub
LBB0_5:
	ldur	x8, [x29, #-56]
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, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 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_secp256k1,4,2        ; @num_words_secp256k1
	.comm	_curve_secp256k1,4,2            ; @curve_secp256k1
	.no_dead_strip	_vli_mmod_fast_secp256k1
.subsections_via_symbols
