	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function EccPoint_mult
_EccPoint_mult:                         ## @EccPoint_mult
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, -136(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_uECC_MAX_WORDS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	(,%rbx,8), %r12
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%r12, %rax
	movq	%rbx, %r12
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	leaq	(,%rbx,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -128(%rbp)                ## 8-byte Spill
	movl	(%r15), %edx
	movl	%edx, -88(%rbp)                 ## 4-byte Spill
	leaq	(%r14,%rbx,4), %r13
	movq	%r13, %rdi
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_uECC_vli_set
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12,4), %rdi
	movslq	-88(%rbp), %rdx                 ## 4-byte Folded Reload
	leaq	(%rbx,%rdx,4), %rsi
	movq	%rdi, %rbx
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_uECC_vli_set
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	%r15, %r9
	callq	_XYcZ_initial_double
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$3, %rax
	jl	LBB0_3
## %bb.1:
	decq	%rax
	movq	%r12, -144(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	decq	%rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_uECC_vli_testBit
	testl	%eax, %eax
	movq	%r12, %rax
	movl	$0, %ecx
	cmoveq	%rcx, %rax
	leaq	(%r14,%rax,4), %r13
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rsi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movl	$0, %eax
	cmoveq	%r12, %rax
	movq	%r14, %r12
	movq	%r15, %r14
	leaq	(%r12,%rax,4), %r15
	leaq	(%rcx,%rax,4), %rbx
	movq	%r13, %rdi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	movq	%r14, %r8
	callq	_XYcZ_addC
	movq	%r15, %rdi
	movq	%r14, %r15
	movq	%r12, %r14
	movq	-144(%rbp), %r12                ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %r8
	callq	_XYcZ_add
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$1, %rax
	ja	LBB0_2
LBB0_3:
	xorl	%ebx, %ebx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_uECC_vli_testBit
	testl	%eax, %eax
	movq	%r12, %rax
	cmoveq	%rbx, %rax
	movq	%r12, %rdx
	movq	%r14, %r12
	leaq	(%r14,%rax,4), %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r14
	cmoveq	%rdx, %rbx
	leaq	(%r12,%rbx,4), %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rbx,4), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rsi
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movq	%r15, %r8
	callq	_XYcZ_addC
	movl	4(%r15), %ecx
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	%r12, %rdx
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movl	%r13d, %r8d
	callq	_uECC_vli_modSub
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_uECC_vli_modMult_fast
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	_uECC_vli_modMult_fast
	movl	4(%r15), %edx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %ecx
	callq	_uECC_vli_modInv
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	movq	%r15, %rcx
	callq	_uECC_vli_modMult_fast
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_uECC_vli_modMult_fast
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	%r15, %r8
	callq	_XYcZ_add
	movq	%r12, %rdi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_apply_z
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_uECC_vli_set
	leaq	(%rbx,%r13,4), %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	callq	_uECC_vli_set
	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	_uECC_MAX_WORDS,4,2             ## @uECC_MAX_WORDS
	.no_dead_strip	_EccPoint_mult
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function EccPoint_mult
_EccPoint_mult:                         ; @EccPoint_mult
	.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, #80
	mov	x20, x5
	stp	x3, x4, [x29, #-152]            ; 16-byte Folded Spill
	mov	x27, x2
	mov	x28, x1
	stur	x0, [x29, #-96]                 ; 8-byte Folded Spill
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	x8, _uECC_MAX_WORDS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _uECC_MAX_WORDS@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	lsl	x8, x23, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0xffffffff0
	sub	x21, x9, x12
	mov	sp, x21
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x22, x8, x12
	mov	sp, x22
	lsl	x24, x23, #2
	mov	x9, x24
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x9, x9, #0x7fffffff0
	sub	x8, x8, x9
	stur	x8, [x29, #-104]                ; 8-byte Folded Spill
	mov	sp, x8
	ldr	w25, [x5]
	add	x19, x21, x24
	mov	x0, x19
	mov	x2, x25
	bl	_uECC_vli_set
	add	x26, x22, x24
	sxtw	x8, w25
	stp	x28, x8, [x29, #-120]           ; 16-byte Folded Spill
	add	x1, x28, w25, sxtw #2
	mov	x0, x26
	stur	x1, [x29, #-128]                ; 8-byte Folded Spill
	mov	x2, x25
	bl	_uECC_vli_set
	stur	x19, [x29, #-136]               ; 8-byte Folded Spill
	mov	x0, x19
	mov	x1, x26
	mov	x2, x21
	mov	x3, x22
	ldur	x4, [x29, #-152]                ; 8-byte Folded Reload
	mov	x5, x20
	bl	_XYcZ_initial_double
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	cmp	x8, #3
	b.lt	LBB0_3
; %bb.1:
	sub	x19, x8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	x19, x19, #1
	mov	x0, x27
	mov	x1, x19
	bl	_uECC_vli_testBit
	cmp	w0, #0
	csel	x8, xzr, x23, eq
	lsl	x8, x8, #2
	add	x25, x21, x8
	add	x26, x22, x8
	csel	x8, x23, xzr, eq
	lsl	x8, x8, #2
	add	x28, x21, x8
	add	x24, x22, x8
	mov	x0, x25
	mov	x1, x26
	mov	x2, x28
	mov	x3, x24
	mov	x4, x20
	bl	_XYcZ_addC
	mov	x0, x28
	mov	x1, x24
	mov	x2, x25
	mov	x3, x26
	mov	x4, x20
	bl	_XYcZ_add
	cmp	x19, #1
	b.hi	LBB0_2
LBB0_3:
	mov	x0, x27
	mov	x1, #0
	bl	_uECC_vli_testBit
	cmp	w0, #0
	csel	x8, xzr, x23, eq
	lsl	x8, x8, #2
	add	x19, x21, x8
	add	x26, x22, x8
	csel	x8, x23, xzr, eq
	lsl	x8, x8, #2
	add	x24, x21, x8
	add	x25, x22, x8
	mov	x0, x19
	mov	x1, x26
	mov	x2, x24
	mov	x3, x25
	mov	x4, x20
	bl	_XYcZ_addC
	ldr	w3, [x20, #4]
	ldp	x27, x23, [x29, #-112]          ; 16-byte Folded Reload
	mov	x0, x23
	ldur	x1, [x29, #-136]                ; 8-byte Folded Reload
	mov	x2, x21
	mov	x4, x27
	bl	_uECC_vli_modSub
	mov	x0, x23
	mov	x1, x23
	mov	x2, x26
	mov	x3, x20
	bl	_uECC_vli_modMult_fast
	mov	x0, x23
	mov	x1, x23
	ldur	x2, [x29, #-120]                ; 8-byte Folded Reload
	mov	x3, x20
	bl	_uECC_vli_modMult_fast
	ldr	w2, [x20, #4]
	mov	x0, x23
	mov	x1, x23
	mov	x3, x27
	bl	_uECC_vli_modInv
	mov	x0, x23
	mov	x1, x23
	ldur	x2, [x29, #-128]                ; 8-byte Folded Reload
	mov	x3, x20
	bl	_uECC_vli_modMult_fast
	mov	x0, x23
	mov	x1, x23
	mov	x2, x19
	mov	x3, x20
	bl	_uECC_vli_modMult_fast
	mov	x0, x24
	mov	x1, x25
	mov	x2, x19
	mov	x3, x26
	mov	x4, x20
	bl	_XYcZ_add
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	x3, x20
	bl	_apply_z
	ldur	x19, [x29, #-96]                ; 8-byte Folded Reload
	mov	x0, x19
	mov	x1, x21
	mov	x2, x27
	bl	_uECC_vli_set
	add	x0, x19, x27, lsl #2
	mov	x1, x22
	mov	x2, x27
	bl	_uECC_vli_set
	ldur	x8, [x29, #-88]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	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_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_uECC_MAX_WORDS,4,2             ; @uECC_MAX_WORDS
	.no_dead_strip	_EccPoint_mult
.subsections_via_symbols
