	.file	"extr_ed25519_ref10.c_ge25519_cmov8_cached.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ge25519_cmov8_cached, @function
ge25519_cmov8_cached:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movsx	r14d, dl
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	mov	edi, r14d
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	negative@PLT
	mov	rdi, rbp
	movzx	r13d, al
	mov	eax, r13d
	neg	eax
	and	eax, r14d
	add	eax, eax
	sub	r12d, eax
	call	ge25519_cached_0@PLT
	movzx	r12d, r12b
	mov	esi, 1
	mov	edi, r12d
	call	equal@PLT
	mov	rsi, rbx
	mov	rdi, rbp
	movzx	edx, al
	call	ge25519_cmov_cached@PLT
	mov	esi, 2
	mov	edi, r12d
	call	equal@PLT
	lea	rsi, 16[rbx]
	mov	rdi, rbp
	movzx	edx, al
	call	ge25519_cmov_cached@PLT
	mov	esi, 3
	mov	edi, r12d
	call	equal@PLT
	lea	rsi, 32[rbx]
	mov	rdi, rbp
	movzx	edx, al
	call	ge25519_cmov_cached@PLT
	mov	esi, 4
	mov	edi, r12d
	call	equal@PLT
	lea	rsi, 48[rbx]
	mov	rdi, rbp
	movzx	edx, al
	call	ge25519_cmov_cached@PLT
	mov	esi, 5
	mov	edi, r12d
	call	equal@PLT
	lea	rsi, 64[rbx]
	mov	rdi, rbp
	movzx	edx, al
	call	ge25519_cmov_cached@PLT
	mov	esi, 6
	mov	edi, r12d
	call	equal@PLT
	lea	rsi, 80[rbx]
	mov	rdi, rbp
	movzx	edx, al
	call	ge25519_cmov_cached@PLT
	mov	esi, 7
	mov	edi, r12d
	call	equal@PLT
	lea	rsi, 96[rbx]
	mov	rdi, rbp
	movzx	edx, al
	call	ge25519_cmov_cached@PLT
	mov	esi, 8
	mov	edi, r12d
	call	equal@PLT
	lea	rsi, 112[rbx]
	mov	rdi, rbp
	movzx	edx, al
	call	ge25519_cmov_cached@PLT
	mov	esi, DWORD PTR 12[rbp]
	mov	edi, DWORD PTR 8[rsp]
	call	fe25519_copy@PLT
	mov	esi, DWORD PTR 8[rbp]
	mov	edi, DWORD PTR 12[rsp]
	call	fe25519_copy@PLT
	mov	esi, DWORD PTR 4[rbp]
	mov	edi, DWORD PTR 4[rsp]
	call	fe25519_copy@PLT
	mov	esi, DWORD PTR 0[rbp]
	mov	edi, DWORD PTR [rsp]
	call	fe25519_neg@PLT
	mov	rsi, rsp
	mov	edx, r13d
	mov	rdi, rbp
	call	ge25519_cmov_cached@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 32
	.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
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ge25519_cmov8_cached, .-ge25519_cmov8_cached
	.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_cmov8_cached.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ge25519_cmov8_cached, %function
ge25519_cmov8_cached:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L6
	and	r5, r2, #255
	sub	sp, sp, #24
	mov	r4, r0
	mov	r0, r5
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r6, r1
	mov	r8, r2
	bl	negative
	rsb	r2, r0, #0
	and	r8, r8, r2
	sub	r5, r5, r8, lsl #1
	and	r5, r5, #255
	mov	r7, r0
	mov	r0, r4
	bl	ge25519_cached_0
	mov	r1, #1
	mov	r0, r5
	bl	equal
	mov	r1, r6
	mov	r2, r0
	mov	r0, r4
	bl	ge25519_cmov_cached
	mov	r1, #2
	mov	r0, r5
	bl	equal
	add	r1, r6, #16
	mov	r2, r0
	mov	r0, r4
	bl	ge25519_cmov_cached
	mov	r1, #3
	mov	r0, r5
	bl	equal
	add	r1, r6, #32
	mov	r2, r0
	mov	r0, r4
	bl	ge25519_cmov_cached
	mov	r1, #4
	mov	r0, r5
	bl	equal
	add	r1, r6, #48
	mov	r2, r0
	mov	r0, r4
	bl	ge25519_cmov_cached
	mov	r1, #5
	mov	r0, r5
	bl	equal
	add	r1, r6, #64
	mov	r2, r0
	mov	r0, r4
	bl	ge25519_cmov_cached
	mov	r1, #6
	mov	r0, r5
	bl	equal
	add	r1, r6, #80
	mov	r2, r0
	mov	r0, r4
	bl	ge25519_cmov_cached
	mov	r1, #7
	mov	r0, r5
	bl	equal
	add	r1, r6, #96
	mov	r2, r0
	mov	r0, r4
	bl	ge25519_cmov_cached
	mov	r1, #8
	mov	r0, r5
	bl	equal
	add	r1, r6, #112
	mov	r2, r0
	mov	r0, r4
	bl	ge25519_cmov_cached
	ldr	r1, [r4, #12]
	ldr	r0, [sp, #12]
	bl	fe25519_copy
	ldr	r1, [r4, #8]
	ldr	r0, [sp, #16]
	bl	fe25519_copy
	ldr	r1, [r4, #4]
	ldr	r0, [sp, #8]
	bl	fe25519_copy
	ldr	r1, [r4]
	ldr	r0, [sp, #4]
	bl	fe25519_neg
	mov	r2, r7
	mov	r0, r4
	add	r1, sp, #4
	bl	ge25519_cmov_cached
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC0
	.size	ge25519_cmov8_cached, .-ge25519_cmov8_cached
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
