	.file	"extr_scalar.c_curve448_scalar_add.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	curve448_scalar_add
	.type	curve448_scalar_add, @function
curve448_scalar_add:
.LFB0:
	.cfi_startproc
	endbr64
	mov	ecx, DWORD PTR C448_SCALAR_LIMBS[rip]
	mov	rax, rsi
	mov	rsi, QWORD PTR [rdi]
	test	ecx, ecx
	je	.L4
	mov	r9, QWORD PTR [rdx]
	mov	r10, QWORD PTR [rax]
	xor	r8d, r8d
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edx, eax
	add	eax, 1
	add	r8d, DWORD PTR [r10+rdx*4]
	add	r8d, DWORD PTR [r9+rdx*4]
	mov	DWORD PTR [rsi+rdx*4], r8d
	mov	ecx, DWORD PTR WBITS[rip]
	sar	r8d, cl
	cmp	DWORD PTR C448_SCALAR_LIMBS[rip], eax
	ja	.L3
	mov	edx, DWORD PTR sc_p[rip]
	mov	ecx, edx
	jmp	sc_subx@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edx, DWORD PTR sc_p[rip]
	xor	r8d, r8d
	mov	ecx, edx
	jmp	sc_subx@PLT
	.cfi_endproc
.LFE0:
	.size	curve448_scalar_add, .-curve448_scalar_add
	.comm	sc_p,4,4
	.comm	WBITS,4,4
	.comm	C448_SCALAR_LIMBS,4,4
	.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_scalar.c_curve448_scalar_add.c"
	.text
	.align	2
	.global	curve448_scalar_add
	.syntax unified
	.arm
	.fpu softvfp
	.type	curve448_scalar_add, %function
curve448_scalar_add:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L8
	mov	r4, r1
	ldr	r3, [r7]
	ldr	r1, [r0]
	cmp	r3, #0
	sub	sp, sp, #8
	beq	.L4
	mov	lr, #0
	mov	ip, lr
	ldr	r4, [r4]
	ldr	r2, [r2]
	ldr	r8, .L8+4
	sub	r4, r4, #4
	sub	r2, r2, #4
	sub	r5, r1, #4
.L3:
	ldr	r3, [r4, #4]!
	ldr	r6, [r2, #4]!
	add	r3, ip, r3
	add	r3, r3, r6
	str	r3, [r5, #4]!
	ldr	r6, [r7]
	ldr	ip, [r8]
	add	lr, lr, #1
	cmp	r6, lr
	asr	ip, r3, ip
	bhi	.L3
.L2:
	ldr	r3, .L8+8
	str	ip, [sp]
	ldr	r3, [r3]
	mov	r2, r3
	bl	sc_subx
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	mov	ip, r3
	b	.L2
.L9:
	.align	2
.L8:
	.word	C448_SCALAR_LIMBS
	.word	WBITS
	.word	sc_p
	.size	curve448_scalar_add, .-curve448_scalar_add
	.comm	sc_p,4,4
	.comm	WBITS,4,4
	.comm	C448_SCALAR_LIMBS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
