	.file	"extr_ec_p256_m15.c_api_muladd.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	api_muladd, @function
api_muladd:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, r9
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	mov	rsi, rdi
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR 8[rsp], r8
	lea	rbp, 24[rsp]
	mov	rdi, rbp
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	QWORD PTR [rsp], rdx
	call	p256_decode@PLT
	mov	r8, QWORD PTR 8[rsp]
	mov	rsi, r12
	mov	rdi, rbp
	mov	r13d, eax
	lea	r12, 32[rsp]
	mov	rdx, r8
	call	p256_mul@PLT
	test	rbx, rbx
	mov	r11, QWORD PTR [rsp]
	je	.L9
	mov	rdx, r11
	mov	rsi, rbx
	mov	rdi, r12
	call	p256_decode@PLT
	mov	rdx, QWORD PTR 112[rsp]
	mov	rsi, r15
	mov	rdi, r12
	and	r13d, eax
	call	p256_mul@PLT
.L3:
	mov	rsi, r12
	mov	rdi, rbp
	call	p256_add@PLT
	mov	rdi, QWORD PTR 24[rsp]
	mov	ebx, eax
	call	reduce_final_f256@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	edi, edi
	lea	rdx, 80[rax]
	.p2align 4,,10
	.p2align 3
.L4:
	or	edi, DWORD PTR [rax]
	add	rax, 4
	cmp	rax, rdx
	jne	.L4
	xor	esi, esi
	call	EQ@PLT
	mov	rdi, r12
	mov	r15d, eax
	call	p256_double@PLT
	mov	edi, ebx
	mov	ecx, 8
	mov	rdx, r12
	not	edi
	mov	rsi, rbp
	and	edi, r15d
	call	CCOPY@PLT
	mov	rdi, rbp
	call	p256_to_affine@PLT
	mov	rsi, rbp
	mov	rdi, r14
	call	p256_encode@PLT
	mov	eax, ebx
	and	eax, r15d
	not	eax
	and	eax, r13d
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L10
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdx, QWORD PTR 112[rsp]
	mov	rsi, r15
	mov	rdi, r12
	call	p256_mulgen@PLT
	jmp	.L3
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	api_muladd, .-api_muladd
	.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_ec_p256_m15.c_api_muladd.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	api_muladd, %function
api_muladd:
	@ args = 16, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r7, r3
	sub	sp, sp, #20
	ldr	r3, .L11
	mov	r5, r1
	mov	r6, r0
	mov	r1, r0
	add	r0, sp, #4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r8, r2
	ldr	r9, [sp, #52]
	bl	p256_decode
	mov	r1, r7
	mov	r4, r0
	ldr	r2, [sp, #48]
	add	r0, sp, #4
	bl	p256_mul
	cmp	r5, #0
	add	r7, sp, #8
	beq	.L9
	mov	r2, r8
	mov	r1, r5
	mov	r0, r7
	bl	p256_decode
	mov	r3, r0
	mov	r1, r9
	mov	r0, r7
	ldr	r2, [sp, #56]
	and	r4, r4, r3
	bl	p256_mul
.L3:
	mov	r1, r7
	add	r0, sp, #4
	bl	p256_add
	mov	r5, r0
	ldr	r0, [sp, #4]
	bl	reduce_final_f256
	mov	r0, #0
	ldr	r1, [sp, #4]
	sub	r3, r1, #4
	add	r1, r1, #76
.L4:
	ldr	r2, [r3, #4]!
	cmp	r3, r1
	orr	r0, r0, r2
	bne	.L4
	mov	r1, #0
	bl	EQ
	mov	r8, r0
	mov	r0, r7
	bl	p256_double
	mov	r3, #4
	mov	r2, r7
	add	r1, sp, r3
	bic	r0, r8, r5
	bl	CCOPY
	add	r0, sp, #4
	bl	p256_to_affine
	mov	r0, r6
	add	r1, sp, #4
	bl	p256_encode
	ldr	r3, .L11
	and	r0, r5, r8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bic	r0, r4, r0
	bne	.L10
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L9:
	mov	r1, r9
	mov	r0, r7
	ldr	r2, [sp, #56]
	bl	p256_mulgen
	b	.L3
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC0
	.size	api_muladd, .-api_muladd
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
