	.file	"extr_scalar_8x32_impl.h_secp256k1_scalar_add.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	secp256k1_scalar_add, @function
secp256k1_scalar_add:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	ecx, 32
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rdi, QWORD PTR [rsi]
	mov	rsi, QWORD PTR [rdx]
	mov	rdx, QWORD PTR 0[rbp]
	mov	r12d, DWORD PTR [rsi]
	add	r12d, DWORD PTR [rdi]
	mov	eax, r12d
	mov	DWORD PTR [rdx], r12d
	mov	r12d, DWORD PTR 4[rsi]
	sar	eax, cl
	add	r12d, DWORD PTR 4[rdi]
	add	r12d, eax
	mov	eax, r12d
	mov	DWORD PTR 4[rdx], r12d
	mov	r12d, DWORD PTR 8[rsi]
	sar	eax, cl
	add	r12d, DWORD PTR 8[rdi]
	add	r12d, eax
	mov	eax, r12d
	mov	DWORD PTR 8[rdx], r12d
	mov	r12d, DWORD PTR 12[rsi]
	sar	eax, cl
	add	r12d, DWORD PTR 12[rdi]
	add	r12d, eax
	mov	eax, r12d
	mov	DWORD PTR 12[rdx], r12d
	mov	r12d, DWORD PTR 16[rsi]
	sar	eax, cl
	add	r12d, DWORD PTR 16[rdi]
	add	r12d, eax
	mov	eax, r12d
	mov	DWORD PTR 16[rdx], r12d
	mov	r12d, DWORD PTR 20[rsi]
	sar	eax, cl
	add	r12d, DWORD PTR 20[rdi]
	add	r12d, eax
	mov	eax, r12d
	mov	DWORD PTR 20[rdx], r12d
	mov	r12d, DWORD PTR 24[rsi]
	sar	eax, cl
	add	r12d, DWORD PTR 24[rdi]
	add	r12d, eax
	mov	eax, r12d
	mov	DWORD PTR 24[rdx], r12d
	mov	r12d, DWORD PTR 28[rsi]
	sar	eax, cl
	add	r12d, DWORD PTR 28[rdi]
	mov	rdi, rbp
	add	r12d, eax
	mov	DWORD PTR 28[rdx], r12d
	call	secp256k1_scalar_check_overflow@PLT
	mov	ecx, 32
	xor	edi, edi
	sar	r12d, cl
	add	r12d, eax
	cmp	r12d, 1
	setbe	dil
	call	VERIFY_CHECK@PLT
	mov	esi, r12d
	mov	rdi, rbp
	call	secp256k1_scalar_reduce@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	secp256k1_scalar_add, .-secp256k1_scalar_add
	.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_8x32_impl.h_secp256k1_scalar_add.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	secp256k1_scalar_add, %function
secp256k1_scalar_add:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, #32
	ldr	ip, [r1]
	ldr	r2, [r2]
	ldr	r1, [ip]
	ldr	r5, [r2]
	ldr	r3, [r0]
	add	r5, r1, r5
	str	r5, [r3]
	ldr	r1, [ip, #4]
	ldr	lr, [r2, #4]
	mov	r6, r0
	add	r1, r1, lr
	add	r1, r1, r5, asr r4
	str	r1, [r3, #4]
	ldr	r5, [ip, #8]
	ldr	lr, [r2, #8]
	add	r5, r5, lr
	add	r1, r5, r1, asr r4
	str	r1, [r3, #8]
	ldr	r5, [ip, #12]
	ldr	lr, [r2, #12]
	add	r5, r5, lr
	add	r5, r5, r1, asr r4
	str	r5, [r3, #12]
	ldr	r1, [ip, #16]
	ldr	lr, [r2, #16]
	add	r1, r1, lr
	add	r5, r1, r5, asr r4
	str	r5, [r3, #16]
	ldr	r1, [ip, #20]
	ldr	lr, [r2, #20]
	add	r1, r1, lr
	add	r1, r1, r5, asr r4
	str	r1, [r3, #20]
	ldr	lr, [r2, #24]
	ldr	r5, [ip, #24]
	add	r5, r5, lr
	add	r1, r5, r1, asr r4
	str	r1, [r3, #24]
	ldr	r5, [ip, #28]
	ldr	r2, [r2, #28]
	add	r5, r5, r2
	add	r5, r5, r1, asr r4
	str	r5, [r3, #28]
	bl	secp256k1_scalar_check_overflow
	add	r4, r0, r5, asr r4
	cmp	r4, #1
	movhi	r0, #0
	movls	r0, #1
	bl	VERIFY_CHECK
	mov	r1, r4
	mov	r0, r6
	bl	secp256k1_scalar_reduce
	mov	r0, r4
	pop	{r4, r5, r6, pc}
	.size	secp256k1_scalar_add, .-secp256k1_scalar_add
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
