	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ge25519_pack                   ## -- Begin function ge25519_pack
	.p2align	4, 0x90
_ge25519_pack:                          ## @ge25519_pack
	.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	$24, %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
	addq	$8, %rsi
	leaq	-44(%rbp), %r15
	movq	%r15, %rdi
	callq	_fe25519_invert
	leaq	4(%rbx), %rsi
	leaq	-52(%rbp), %r12
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_fe25519_mul
	leaq	-48(%rbp), %r13
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_fe25519_mul
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_fe25519_pack
	movq	%r12, %rdi
	callq	_fe25519_getparity
	shlb	$7, %al
	xorb	%al, 31(%r14)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ge25519_pack                   ; -- Begin function ge25519_pack
	.p2align	2
_ge25519_pack:                          ; @ge25519_pack
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	add	x1, x1, #8
	add	x0, sp, #4
	bl	_fe25519_invert
	add	x1, x19, #4
	add	x0, sp, #12
	add	x2, sp, #4
	bl	_fe25519_mul
	add	x0, sp, #8
	add	x2, sp, #4
	mov	x1, x19
	bl	_fe25519_mul
	add	x1, sp, #8
	mov	x0, x20
	bl	_fe25519_pack
	add	x0, sp, #12
	bl	_fe25519_getparity
	ldrb	w8, [x20, #31]
	eor	w8, w8, w0, lsl #7
	strb	w8, [x20, #31]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
