	.file	"extr_ed25519_ref10.c_ge25519_scalarmult_base.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ge25519_scalarmult_base
	.type	ge25519_scalarmult_base, @function
ge25519_scalarmult_base:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 96
	.cfi_def_cfa_offset 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 88[rsp], rax
	xor	eax, eax
	lea	rbp, 16[rsp]
	lea	rdx, 17[rsp]
	mov	rax, rbp
	lea	r8, 81[rsp]
	.p2align 4,,10
	.p2align 3
.L2:
	movzx	ecx, BYTE PTR [rsi]
	add	rdx, 2
	add	rsi, 1
	mov	edi, ecx
	shr	cl, 4
	and	edi, 15
	mov	BYTE PTR -2[rdx], cl
	mov	BYTE PTR -3[rdx], dil
	cmp	rdx, r8
	jne	.L2
	lea	rdi, 63[rbp]
	xor	esi, esi
	.p2align 4,,10
	.p2align 3
.L3:
	add	sil, BYTE PTR [rax]
	add	rax, 1
	mov	edx, esi
	lea	ecx, 8[rdx]
	mov	esi, ecx
	and	ecx, -16
	sub	edx, ecx
	sar	sil, 4
	mov	BYTE PTR -1[rax], dl
	cmp	rdi, rax
	jne	.L3
	mov	rdi, rbx
	add	BYTE PTR 79[rsp], sil
	mov	r12d, 1
	call	ge25519_p3_0@PLT
	lea	r14, 12[rsp]
	lea	r13, 4[rsp]
	.p2align 4,,10
	.p2align 3
.L4:
	movsx	edx, BYTE PTR 0[rbp+r12]
	mov	esi, r12d
	mov	rdi, r14
	add	r12, 2
	sar	esi
	call	ge25519_select_base@PLT
	mov	rdx, r14
	mov	rsi, rbx
	mov	rdi, r13
	call	ge25519_madd@PLT
	mov	rsi, r13
	mov	rdi, rbx
	call	ge25519_p1p1_to_p3@PLT
	cmp	r12, 65
	jne	.L4
	lea	r12, 8[rsp]
	mov	rsi, rbx
	mov	rdi, r13
	call	ge25519_p3_dbl@PLT
	mov	rdi, r12
	mov	rsi, r13
	call	ge25519_p1p1_to_p2@PLT
	mov	rsi, r12
	mov	rdi, r13
	call	ge25519_p2_dbl@PLT
	mov	rdi, r12
	mov	rsi, r13
	call	ge25519_p1p1_to_p2@PLT
	mov	rsi, r12
	mov	rdi, r13
	call	ge25519_p2_dbl@PLT
	mov	rdi, r12
	mov	rsi, r13
	call	ge25519_p1p1_to_p2@PLT
	mov	rsi, r12
	mov	rdi, r13
	xor	r12d, r12d
	call	ge25519_p2_dbl@PLT
	mov	rsi, r13
	mov	rdi, rbx
	call	ge25519_p1p1_to_p3@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	movsx	edx, BYTE PTR 0[rbp+r12]
	mov	esi, r12d
	mov	rdi, r14
	add	r12, 2
	sar	esi
	call	ge25519_select_base@PLT
	mov	rdx, r14
	mov	rsi, rbx
	mov	rdi, r13
	call	ge25519_madd@PLT
	mov	rsi, r13
	mov	rdi, rbx
	call	ge25519_p1p1_to_p3@PLT
	cmp	r12, 64
	jne	.L5
	mov	rax, QWORD PTR 88[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 96
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ge25519_scalarmult_base, .-ge25519_scalarmult_base
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_ed25519_ref10.c_ge25519_scalarmult_base.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ge25519_scalarmult_base
	.syntax unified
	.arm
	.fpu softvfp
	.type	ge25519_scalarmult_base, %function
ge25519_scalarmult_base:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L14
	sub	sp, sp, #80
	add	r6, sp, #12
	ldr	r3, [r3]
	str	r3, [sp, #76]
	mov	r3,#0
	mov	r4, r0
	mov	r3, r6
	sub	r1, r1, #1
	add	r5, sp, #76
.L2:
	ldrb	r2, [r1, #1]!	@ zero_extendqisi2
	add	r3, r3, #2
	and	r0, r2, #15
	lsr	r2, r2, #4
	strb	r0, [r3, #-2]
	strb	r2, [r3, #-1]
	cmp	r3, r5
	bne	.L2
	mov	r2, #0
	add	r1, sp, #11
	add	r0, r6, #62
.L3:
	ldrb	r3, [r1, #1]!	@ zero_extendqisi2
	add	r3, r3, r2
	and	r3, r3, #255
	add	r2, r3, #8
	lsl	r2, r2, #24
	asr	r2, r2, #28
	and	ip, r2, #255
	sub	r3, r3, ip, lsl #4
	cmp	r1, r0
	strb	r3, [r1]
	bne	.L3
	ldrb	r3, [sp, #75]	@ zero_extendqisi2
	mov	r0, r4
	add	ip, ip, r3
	strb	ip, [sp, #75]
	mov	r7, r6
	bl	ge25519_p3_0
	rsb	r8, r6, #1
.L4:
	add	r1, r8, r7
	ldrb	r2, [r7, #1]	@ zero_extendqisi2
	asr	r1, r1, #1
	add	r0, sp, #8
	bl	ge25519_select_base
	mov	r1, r4
	add	r2, sp, #8
	mov	r0, sp
	bl	ge25519_madd
	add	r7, r7, #2
	mov	r1, sp
	mov	r0, r4
	bl	ge25519_p1p1_to_p3
	cmp	r7, r5
	bne	.L4
	mov	r1, r4
	mov	r0, sp
	bl	ge25519_p3_dbl
	mov	r1, sp
	add	r0, sp, #4
	bl	ge25519_p1p1_to_p2
	add	r1, sp, #4
	mov	r0, sp
	bl	ge25519_p2_dbl
	mov	r1, sp
	add	r0, sp, #4
	bl	ge25519_p1p1_to_p2
	add	r1, sp, #4
	mov	r0, sp
	bl	ge25519_p2_dbl
	mov	r1, sp
	add	r0, sp, #4
	bl	ge25519_p1p1_to_p2
	add	r1, sp, #4
	mov	r0, sp
	bl	ge25519_p2_dbl
	mov	r1, sp
	mov	r0, r4
	bl	ge25519_p1p1_to_p3
	mov	r5, #2
.L5:
	add	r3, r6, r5
	sub	r1, r5, #2
	ldrb	r2, [r3, #-2]	@ zero_extendqisi2
	asr	r1, r1, #1
	add	r0, sp, #8
	bl	ge25519_select_base
	mov	r1, r4
	add	r2, sp, #8
	mov	r0, sp
	bl	ge25519_madd
	add	r5, r5, #2
	mov	r1, sp
	mov	r0, r4
	bl	ge25519_p1p1_to_p3
	cmp	r5, #66
	bne	.L5
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #76]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #80
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC0
	.size	ge25519_scalarmult_base, .-ge25519_scalarmult_base
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
