	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ge25519_unpackneg_vartime      ## -- Begin function ge25519_unpackneg_vartime
	.p2align	4, 0x90
_ge25519_unpackneg_vartime:             ## @ge25519_unpackneg_vartime
	.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	$40, %rsp
	.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
	leaq	12(%rdi), %r13
	movq	%r13, %rdi
	callq	_fe25519_setone
	movb	31(%rbx), %al
	movb	%al, -41(%rbp)                  ## 1-byte Spill
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_fe25519_unpack
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_fe25519_square
	movq	_ge25519_ecd@GOTPCREL(%rip), %rdx
	leaq	-52(%rbp), %r12
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_fe25519_mul
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_fe25519_sub
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_fe25519_add
	leaq	-68(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_fe25519_square
	leaq	-64(%rbp), %r13
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_fe25519_square
	leaq	-60(%rbp), %r15
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_fe25519_mul
	leaq	-72(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	leaq	-48(%rbp), %r15
	movq	%r15, %rdx
	callq	_fe25519_mul
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_fe25519_mul
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_fe25519_pow2523
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_fe25519_mul
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_fe25519_mul
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_fe25519_mul
	leaq	4(%r14), %r13
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_fe25519_mul
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_fe25519_square
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_fe25519_mul
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_fe25519_iseq_vartime
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_ge25519_sqrtm1@GOTPCREL(%rip), %rdx
	movq	%r13, %rdi
	movq	%r13, %rsi
	callq	_fe25519_mul
LBB0_2:
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_fe25519_square
	leaq	-52(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_fe25519_mul
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_fe25519_iseq_vartime
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	%r13, %rdi
	callq	_fe25519_getparity
	movb	-41(%rbp), %cl                  ## 1-byte Reload
	notb	%cl
	shrb	$7, %cl
	movzbl	%cl, %ecx
	cmpl	%ecx, %eax
	je	LBB0_6
## %bb.5:
	movq	%r13, %rdi
	movq	%r13, %rsi
	callq	_fe25519_neg
LBB0_6:
	leaq	8(%r14), %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_fe25519_mul
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_3:
	movl	$-1, %eax
LBB0_7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ge25519_ecd,4,2                ## @ge25519_ecd
	.comm	_ge25519_sqrtm1,4,2             ## @ge25519_sqrtm1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ge25519_unpackneg_vartime      ; -- Begin function ge25519_unpackneg_vartime
	.p2align	2
_ge25519_unpackneg_vartime:             ; @ge25519_unpackneg_vartime
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	add	x21, x0, #12
	mov	x0, x21
	bl	_fe25519_setone
	ldrb	w22, [x20, #31]
	mov	x0, x19
	mov	x1, x20
	bl	_fe25519_unpack
	add	x0, sp, #20
	mov	x1, x19
	bl	_fe25519_square
Lloh0:
	adrp	x2, _ge25519_ecd@GOTPAGE
Lloh1:
	ldr	x2, [x2, _ge25519_ecd@GOTPAGEOFF]
	add	x0, sp, #16
	add	x1, sp, #20
	bl	_fe25519_mul
	add	x0, sp, #20
	add	x1, sp, #20
	mov	x2, x21
	bl	_fe25519_sub
	add	x0, sp, #16
	add	x2, sp, #16
	mov	x1, x21
	bl	_fe25519_add
	add	x0, sp, #12
	add	x1, sp, #16
	bl	_fe25519_square
	add	x0, sp, #8
	add	x1, sp, #12
	bl	_fe25519_square
	add	x0, sp, #4
	add	x1, sp, #8
	add	x2, sp, #12
	bl	_fe25519_mul
	add	x0, sp, #28
	add	x1, sp, #4
	add	x2, sp, #20
	bl	_fe25519_mul
	add	x0, sp, #28
	add	x1, sp, #28
	add	x2, sp, #16
	bl	_fe25519_mul
	add	x0, sp, #28
	add	x1, sp, #28
	bl	_fe25519_pow2523
	add	x0, sp, #28
	add	x1, sp, #28
	add	x2, sp, #20
	bl	_fe25519_mul
	add	x0, sp, #28
	add	x1, sp, #28
	add	x2, sp, #16
	bl	_fe25519_mul
	add	x0, sp, #28
	add	x1, sp, #28
	add	x2, sp, #16
	bl	_fe25519_mul
	add	x20, x19, #4
	add	x1, sp, #28
	add	x2, sp, #16
	mov	x0, x20
	bl	_fe25519_mul
	add	x0, sp, #24
	mov	x1, x20
	bl	_fe25519_square
	add	x0, sp, #24
	add	x1, sp, #24
	add	x2, sp, #16
	bl	_fe25519_mul
	add	x0, sp, #24
	add	x1, sp, #20
	bl	_fe25519_iseq_vartime
	cbnz	w0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x2, _ge25519_sqrtm1@GOTPAGE
Lloh3:
	ldr	x2, [x2, _ge25519_sqrtm1@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x20
	bl	_fe25519_mul
LBB0_2:
	add	x0, sp, #24
	mov	x1, x20
	bl	_fe25519_square
	add	x0, sp, #24
	add	x1, sp, #24
	add	x2, sp, #16
	bl	_fe25519_mul
	add	x0, sp, #24
	add	x1, sp, #20
	bl	_fe25519_iseq_vartime
	cbz	w0, LBB0_6
; %bb.3:
	mov	x0, x20
	bl	_fe25519_getparity
	mvn	w8, w22
	and	w8, w8, #0x80
	cmp	w0, w8, lsr #7
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x20
	bl	_fe25519_neg
LBB0_5:
	add	x0, x19, #8
	mov	x1, x20
	mov	x2, x19
	bl	_fe25519_mul
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ge25519_ecd,4,2                ; @ge25519_ecd
	.comm	_ge25519_sqrtm1,4,2             ; @ge25519_sqrtm1
.subsections_via_symbols
