	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ecp_use_curve25519
_ecp_use_curve25519:                    ## @ecp_use_curve25519
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	addq	$24, %rdi
	leaq	L_.str(%rip), %rdx
	movl	$16, %esi
	callq	_mbedtls_mpi_read_string
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	leaq	16(%r14), %rbx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_mbedtls_mpi_lset
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	%rbx, %rdi
	movl	$255, %esi
	callq	_mbedtls_mpi_shift_l
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movl	$19, %edx
	callq	_mbedtls_mpi_sub_int
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	%rbx, %rdi
	callq	_mbedtls_mpi_bitlen
	movl	%eax, 20(%r14)
	leaq	4(%r14), %rbx
	leaq	12(%r14), %rdi
	movl	$9, %esi
	callq	_mbedtls_mpi_lset
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	leaq	8(%r14), %rdi
	movl	$1, %esi
	callq	_mbedtls_mpi_lset
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	%rbx, %rdi
	callq	_mbedtls_mpi_free
	movl	$254, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"01DB42"

	.no_dead_strip	_ecp_use_curve25519
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ecp_use_curve25519
_ecp_use_curve25519:                    ; @ecp_use_curve25519
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x0, x0, #24
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #16
	bl	_mbedtls_mpi_read_string
	bl	_MBEDTLS_MPI_CHK
	add	x20, x19, #16
	mov	x0, x20
	mov	w1, #1
	bl	_mbedtls_mpi_lset
	bl	_MBEDTLS_MPI_CHK
	mov	x0, x20
	mov	w1, #255
	bl	_mbedtls_mpi_shift_l
	bl	_MBEDTLS_MPI_CHK
	mov	x0, x20
	mov	x1, x20
	mov	w2, #19
	bl	_mbedtls_mpi_sub_int
	bl	_MBEDTLS_MPI_CHK
	mov	x0, x20
	bl	_mbedtls_mpi_bitlen
	str	w0, [x19, #20]
	add	x20, x19, #4
	add	x0, x19, #12
	mov	w1, #9
	bl	_mbedtls_mpi_lset
	bl	_MBEDTLS_MPI_CHK
	add	x0, x19, #8
	mov	w1, #1
	bl	_mbedtls_mpi_lset
	bl	_MBEDTLS_MPI_CHK
	mov	x0, x20
	bl	_mbedtls_mpi_free
	mov	w8, #254
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"01DB42"

	.no_dead_strip	_ecp_use_curve25519
.subsections_via_symbols
