	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_X25519_public_from_private     ## -- Begin function X25519_public_from_private
	.p2align	4, 0x90
_X25519_public_from_private:            ## @X25519_public_from_private
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$160, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	leaq	-160(%rbp), %r14
	movq	%r14, %rdi
	movl	$32, %edx
	callq	_memcpy
	andl	$248, -160(%rbp)
	movl	-36(%rbp), %eax
	andl	$63, %eax
	orl	$64, %eax
	movl	%eax, -36(%rbp)
	leaq	-168(%rbp), %rdi
	movq	%r14, %rsi
	callq	_ge_scalarmult_base
	movl	-168(%rbp), %edx
	movl	-164(%rbp), %esi
	callq	_fe_add
	movl	-168(%rbp), %edx
	movl	-164(%rbp), %esi
	callq	_fe_sub
	callq	_fe_invert
	callq	_fe_mul
	movq	%rbx, %rdi
	callq	_fe_tobytes
	movq	%r14, %rdi
	movl	$128, %esi
	callq	_OPENSSL_cleanse
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$160, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_X25519_public_from_private     ; -- Begin function X25519_public_from_private
	.p2align	2
_X25519_public_from_private:            ; @X25519_public_from_private
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	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, #-24]
	add	x0, sp, #8
	mov	w2, #32
	bl	_memcpy
	ldr	w8, [sp, #8]
	ldr	w9, [sp, #132]
	and	w8, w8, #0xf8
	mov	w10, #64
	bfxil	w10, w9, #0, #6
	str	w8, [sp, #8]
	str	w10, [sp, #132]
	mov	x0, sp
	add	x1, sp, #8
	bl	_ge_scalarmult_base
	ldp	w2, w1, [sp]
	bl	_fe_add
	ldp	w2, w1, [sp]
	bl	_fe_sub
	bl	_fe_invert
	bl	_fe_mul
	mov	x0, x19
	bl	_fe_tobytes
	add	x0, sp, #8
	mov	w1, #128
	bl	_OPENSSL_cleanse
	ldur	x8, [x29, #-24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
