	.file	"extr_bench_ecmult.c_bench_ecmult.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bench_ecmult, @function
bench_ecmult:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	rax, QWORD PTR ITERS[rip]
	xor	edx, edx
	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	r14, QWORD PTR [rdi]
	mov	ecx, DWORD PTR 8[rdi]
	div	r14
	cmp	rax, -1
	je	.L1
	mov	rbp, rax
	mov	r12, r14
	movsx	rax, ecx
	mov	rbx, rdi
	sub	r12, rax
	xor	r13d, r13d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L12:
	mov	ecx, DWORD PTR 8[rbx]
	mov	r13, rax
.L4:
	mov	rax, QWORD PTR 64[rbx]
	mov	r9d, DWORD PTR bench_callback[rip]
	xor	r8d, r8d
	test	ecx, ecx
	je	.L3
	mov	rcx, QWORD PTR 16[rbx]
	mov	rdx, QWORD PTR 32[rbx]
	lea	r8, [rdx+rcx*4]
.L3:
	mov	rdx, QWORD PTR 40[rbx]
	mov	rsi, QWORD PTR 56[rbx]
	lea	rcx, [rdx+r13*4]
	lea	rdi, 4[rsi]
	mov	edx, DWORD PTR 48[rbx]
	push	r12
	.cfi_def_cfa_offset 56
	push	rbx
	.cfi_def_cfa_offset 64
	call	rax
	mov	rax, QWORD PTR 16[rbx]
	mov	rcx, QWORD PTR POINTS[rip]
	xor	edx, edx
	add	rax, r14
	div	rcx
	mov	rax, QWORD PTR 24[rbx]
	add	rax, r14
	sub	rax, 1
	mov	QWORD PTR 16[rbx], rdx
	xor	edx, edx
	div	rcx
	lea	rax, 1[r13]
	mov	QWORD PTR 24[rbx], rdx
	pop	rdx
	.cfi_def_cfa_offset 56
	pop	rcx
	.cfi_def_cfa_offset 48
	cmp	rbp, r13
	jne	.L12
.L1:
	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
	.cfi_endproc
.LFE0:
	.size	bench_ecmult, .-bench_ecmult
	.comm	bench_callback,4,4
	.comm	POINTS,8,8
	.comm	ITERS,8,8
	.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_bench_ecmult.c_bench_ecmult.c"
	.text
	.global	__aeabi_uidiv
	.global	__aeabi_uidivmod
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bench_ecmult, %function
bench_ecmult:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L12
	ldr	r6, [r0]
	mov	r4, r0
	mov	r1, r6
	ldr	r0, [r3]
	sub	sp, sp, #20
	bl	__aeabi_uidiv
	cmn	r0, #1
	ldr	ip, [r4, #4]
	beq	.L1
	mov	r8, r0
	mov	r5, #0
	ldr	fp, .L12+4
	ldr	r10, .L12+8
	sub	r9, r6, ip
	b	.L4
.L11:
	ldr	ip, [r4, #4]
.L4:
	cmp	ip, #0
	ldrne	lr, [r4, #8]
	ldrne	ip, [r4, #16]
	ldr	r1, [r4, #28]
	addne	ip, ip, lr, lsl #2
	ldr	r3, [r4, #20]
	ldr	lr, [fp]
	ldr	r2, [r4, #24]
	ldr	r7, [r4, #32]
	add	r3, r3, r5, lsl #2
	stm	sp, {ip, lr}
	add	r0, r1, #4
	str	r9, [sp, #12]
	str	r4, [sp, #8]
	blx	r7
	ldr	r7, [r10]
	ldr	r0, [r4, #8]
	mov	r1, r7
	add	r0, r6, r0
	bl	__aeabi_uidivmod
	ldr	r0, [r4, #12]
	str	r1, [r4, #8]
	add	r0, r6, r0
	mov	r1, r7
	sub	r0, r0, #1
	bl	__aeabi_uidivmod
	cmp	r8, r5
	str	r1, [r4, #12]
	add	r5, r5, #1
	bne	.L11
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	.align	2
.L12:
	.word	ITERS
	.word	bench_callback
	.word	POINTS
	.size	bench_ecmult, .-bench_ecmult
	.comm	bench_callback,4,4
	.comm	POINTS,4,4
	.comm	ITERS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
