	.file	"70341.c"
	.intel_syntax noprefix
	.text
	.globl	fabsm
	.type	fabsm, @function
fabsm:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	DWORD PTR -4[rbp], xmm0
	pxor	xmm0, xmm0
	comiss	xmm0, DWORD PTR -4[rbp]
	jbe	.L6
	movss	xmm0, DWORD PTR -4[rbp]
	movss	xmm1, DWORD PTR .LC1[rip]
	xorps	xmm0, xmm1
	jmp	.L4
.L6:
	movss	xmm0, DWORD PTR -4[rbp]
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	fabsm, .-fabsm
	.section	.rodata
.LC2:
	.string	"%d%f%f%d%d"
.LC5:
	.string	"%d "
.LC6:
	.string	"no. of iterations : %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 264
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -164[rbp], edi
	mov	QWORD PTR -176[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	lea	rdi, -140[rbp]
	lea	rsi, -144[rbp]
	lea	rcx, -132[rbp]
	lea	rdx, -136[rbp]
	lea	rax, -148[rbp]
	mov	r9, rdi
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -148[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -144[rbp]
	cmp	edx, eax
	jg	.L8
	mov	eax, DWORD PTR -148[rbp]
	sub	eax, 2
	mov	DWORD PTR -144[rbp], eax
.L8:
	mov	esi, DWORD PTR -148[rbp]
	mov	edi, DWORD PTR -148[rbp]
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -104[rbp], rax
	movsx	rax, esi
	mov	r12, rax
	mov	r13d, 0
	movsx	rax, esi
	lea	r12, 0[0+rax*4]
	movsx	rax, edi
	sub	rax, 1
	mov	QWORD PTR -96[rbp], rax
	movsx	rax, esi
	mov	QWORD PTR -192[rbp], rax
	mov	QWORD PTR -184[rbp], 0
	movsx	rax, edi
	mov	r14, rax
	mov	r15d, 0
	mov	r10, QWORD PTR -192[rbp]
	mov	r11, QWORD PTR -184[rbp]
	mov	rdx, r11
	imul	rdx, r14
	mov	rax, r10
	imul	rax, r15
	lea	rcx, [rdx+rax]
	mov	rax, r10
	mul	r14
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rax, esi
	mov	QWORD PTR -208[rbp], rax
	mov	QWORD PTR -200[rbp], 0
	movsx	rax, edi
	mov	QWORD PTR -224[rbp], rax
	mov	QWORD PTR -216[rbp], 0
	mov	r10, QWORD PTR -208[rbp]
	mov	r11, QWORD PTR -200[rbp]
	mov	rdx, r11
	mov	r8, QWORD PTR -224[rbp]
	mov	r9, QWORD PTR -216[rbp]
	imul	rdx, r8
	mov	rax, r9
	imul	rax, r10
	lea	rcx, [rdx+rax]
	mov	rax, r10
	mul	r8
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rdx, esi
	movsx	rax, edi
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L9:
	cmp	rsp, rdx
	je	.L10
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L9
.L10:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L11
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L11:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -88[rbp], rax
	mov	ecx, DWORD PTR -148[rbp]
	mov	esi, DWORD PTR -148[rbp]
	movsx	rax, ecx
	sub	rax, 1
	mov	QWORD PTR -80[rbp], rax
	movsx	rax, ecx
	mov	QWORD PTR -304[rbp], rax
	mov	QWORD PTR -296[rbp], 0
	movsx	rax, ecx
	lea	rbx, 0[0+rax*4]
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -72[rbp], rax
	movsx	rax, ecx
	mov	QWORD PTR -240[rbp], rax
	mov	QWORD PTR -232[rbp], 0
	movsx	rax, esi
	mov	QWORD PTR -256[rbp], rax
	mov	QWORD PTR -248[rbp], 0
	mov	r10, QWORD PTR -240[rbp]
	mov	r11, QWORD PTR -232[rbp]
	mov	rdx, r11
	mov	r14, QWORD PTR -256[rbp]
	mov	r15, QWORD PTR -248[rbp]
	imul	rdx, r14
	mov	rax, r15
	imul	rax, r10
	lea	rdi, [rdx+rax]
	mov	rax, r10
	mul	r14
	add	rdi, rdx
	mov	rdx, rdi
	movsx	rax, ecx
	mov	QWORD PTR -272[rbp], rax
	mov	QWORD PTR -264[rbp], 0
	movsx	rax, esi
	mov	QWORD PTR -288[rbp], rax
	mov	QWORD PTR -280[rbp], 0
	mov	r14, QWORD PTR -272[rbp]
	mov	r15, QWORD PTR -264[rbp]
	mov	rdx, r15
	mov	r8, QWORD PTR -288[rbp]
	mov	r9, QWORD PTR -280[rbp]
	imul	rdx, r8
	mov	rax, r9
	imul	rax, r14
	lea	rdi, [rdx+rax]
	mov	rax, r14
	mul	r8
	add	rdi, rdx
	mov	rdx, rdi
	movsx	rdx, ecx
	movsx	rax, esi
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L12:
	cmp	rsp, rdx
	je	.L13
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L12
.L13:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L14
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L14:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -124[rbp], 0
	pxor	xmm0, xmm0
	movss	DWORD PTR -120[rbp], xmm0
	mov	DWORD PTR -112[rbp], 0
	jmp	.L15
.L16:
	movss	xmm0, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -112[rbp]
	movsx	rdx, edx
	movss	DWORD PTR [rax+rdx*4], xmm0
	mov	rax, r12
	shr	rax, 2
	mov	edx, DWORD PTR -148[rbp]
	sub	edx, 1
	mov	rcx, QWORD PTR -88[rbp]
	mov	esi, DWORD PTR -112[rbp]
	movsx	rsi, esi
	movss	xmm0, DWORD PTR [rcx+rsi*4]
	mov	rcx, QWORD PTR -88[rbp]
	movsx	rdi, edx
	mov	esi, DWORD PTR -112[rbp]
	movsx	rsi, esi
	imul	rsi, rax
	add	rsi, rdi
	movss	DWORD PTR [rcx+rsi*4], xmm0
	mov	rsi, r12
	shr	rsi, 2
	mov	rcx, QWORD PTR -88[rbp]
	movsx	rdi, edx
	mov	edx, DWORD PTR -112[rbp]
	movsx	rdx, edx
	imul	rax, rdx
	add	rax, rdi
	movss	xmm0, DWORD PTR [rcx+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -112[rbp]
	movsx	rdx, edx
	imul	rdx, rsi
	movss	DWORD PTR [rax+rdx*4], xmm0
	mov	rcx, r12
	shr	rcx, 2
	mov	eax, DWORD PTR -148[rbp]
	lea	esi, -1[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -112[rbp]
	movsx	rdi, edx
	movsx	rdx, esi
	imul	rdx, rcx
	add	rdx, rdi
	pxor	xmm0, xmm0
	movss	DWORD PTR [rax+rdx*4], xmm0
	mov	rcx, r12
	shr	rcx, 2
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -112[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	movss	xmm1, DWORD PTR [rax+rdx*4]
	mov	rcx, r12
	shr	rcx, 2
	mov	eax, DWORD PTR -148[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -88[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -112[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	movss	xmm0, DWORD PTR [rax+rdx*4]
	addss	xmm1, xmm0
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -112[rbp]
	movsx	rdx, edx
	movss	xmm0, DWORD PTR [rax+rdx*4]
	addss	xmm1, xmm0
	mov	rcx, r12
	shr	rcx, 2
	mov	eax, DWORD PTR -148[rbp]
	lea	esi, -1[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -112[rbp]
	movsx	rdi, edx
	movsx	rdx, esi
	imul	rdx, rcx
	add	rdx, rdi
	movss	xmm0, DWORD PTR [rax+rdx*4]
	addss	xmm0, xmm1
	movss	xmm1, DWORD PTR -120[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -120[rbp], xmm0
	add	DWORD PTR -112[rbp], 1
.L15:
	mov	eax, DWORD PTR -148[rbp]
	cmp	DWORD PTR -112[rbp], eax
	jl	.L16
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -120[rbp]
	mov	eax, DWORD PTR -148[rbp]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm1, QWORD PTR .LC3[rip]
	mulsd	xmm1, xmm2
	divsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -120[rbp], xmm0
	mov	DWORD PTR -112[rbp], 1
	jmp	.L17
.L20:
	mov	DWORD PTR -116[rbp], 1
	jmp	.L18
.L19:
	mov	rcx, r12
	shr	rcx, 2
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -116[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -112[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	movss	xmm0, DWORD PTR -120[rbp]
	movss	DWORD PTR [rax+rdx*4], xmm0
	add	DWORD PTR -116[rbp], 1
.L18:
	mov	eax, DWORD PTR -148[rbp]
	sub	eax, 1
	cmp	DWORD PTR -116[rbp], eax
	jl	.L19
	add	DWORD PTR -112[rbp], 1
.L17:
	mov	eax, DWORD PTR -148[rbp]
	sub	eax, 1
	cmp	DWORD PTR -112[rbp], eax
	jl	.L20
.L34:
	pxor	xmm0, xmm0
	movss	DWORD PTR -108[rbp], xmm0
	mov	DWORD PTR -112[rbp], 1
	jmp	.L21
.L28:
	pxor	xmm0, xmm0
	movss	DWORD PTR -128[rbp], xmm0
	mov	DWORD PTR -116[rbp], 1
	jmp	.L22
.L25:
	mov	rcx, r12
	shr	rcx, 2
	mov	eax, DWORD PTR -112[rbp]
	lea	esi, -1[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -116[rbp]
	movsx	rdi, edx
	movsx	rdx, esi
	imul	rdx, rcx
	add	rdx, rdi
	movss	xmm1, DWORD PTR [rax+rdx*4]
	mov	rcx, r12
	shr	rcx, 2
	mov	eax, DWORD PTR -112[rbp]
	lea	esi, 1[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -116[rbp]
	movsx	rdi, edx
	movsx	rdx, esi
	imul	rdx, rcx
	add	rdx, rdi
	movss	xmm0, DWORD PTR [rax+rdx*4]
	addss	xmm1, xmm0
	mov	rcx, r12
	shr	rcx, 2
	mov	eax, DWORD PTR -116[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -88[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -112[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	movss	xmm0, DWORD PTR [rax+rdx*4]
	addss	xmm1, xmm0
	mov	rcx, r12
	shr	rcx, 2
	mov	eax, DWORD PTR -116[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -88[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -112[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	movss	xmm0, DWORD PTR [rax+rdx*4]
	addss	xmm0, xmm1
	mov	rcx, rbx
	shr	rcx, 2
	movss	xmm1, DWORD PTR .LC4[rip]
	divss	xmm0, xmm1
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -116[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -112[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	movss	DWORD PTR [rax+rdx*4], xmm0
	mov	rcx, rbx
	shr	rcx, 2
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -116[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -112[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	movss	xmm0, DWORD PTR [rax+rdx*4]
	mov	rcx, r12
	shr	rcx, 2
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -116[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -112[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	movss	xmm1, DWORD PTR [rax+rdx*4]
	subss	xmm0, xmm1
	movd	eax, xmm0
	movd	xmm0, eax
	call	fabsm
	movd	eax, xmm0
	movd	xmm3, eax
	comiss	xmm3, DWORD PTR -128[rbp]
	jbe	.L23
	mov	rcx, rbx
	shr	rcx, 2
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -116[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -112[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	movss	xmm0, DWORD PTR [rax+rdx*4]
	mov	rcx, r12
	shr	rcx, 2
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -116[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -112[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	movss	xmm1, DWORD PTR [rax+rdx*4]
	subss	xmm0, xmm1
	movd	eax, xmm0
	movd	xmm0, eax
	call	fabsm
	movd	eax, xmm0
	mov	DWORD PTR -128[rbp], eax
.L23:
	add	DWORD PTR -116[rbp], 1
.L22:
	mov	eax, DWORD PTR -148[rbp]
	sub	eax, 1
	cmp	DWORD PTR -116[rbp], eax
	jl	.L25
	movss	xmm0, DWORD PTR -128[rbp]
	comiss	xmm0, DWORD PTR -108[rbp]
	jbe	.L26
	movss	xmm0, DWORD PTR -128[rbp]
	movss	DWORD PTR -108[rbp], xmm0
.L26:
	add	DWORD PTR -112[rbp], 1
.L21:
	mov	eax, DWORD PTR -148[rbp]
	sub	eax, 1
	cmp	DWORD PTR -112[rbp], eax
	jl	.L28
	add	DWORD PTR -124[rbp], 1
	movss	xmm0, DWORD PTR -136[rbp]
	comiss	xmm0, DWORD PTR -108[rbp]
	jnb	.L29
	mov	eax, DWORD PTR -140[rbp]
	cmp	DWORD PTR -124[rbp], eax
	jg	.L29
	mov	DWORD PTR -112[rbp], 1
	jmp	.L30
.L33:
	mov	DWORD PTR -116[rbp], 1
	jmp	.L31
.L32:
	mov	rsi, rbx
	shr	rsi, 2
	mov	rcx, r12
	shr	rcx, 2
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -116[rbp]
	movsx	rdi, edx
	mov	edx, DWORD PTR -112[rbp]
	movsx	rdx, edx
	imul	rdx, rsi
	add	rdx, rdi
	movss	xmm0, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -116[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -112[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	movss	DWORD PTR [rax+rdx*4], xmm0
	add	DWORD PTR -116[rbp], 1
.L31:
	mov	eax, DWORD PTR -148[rbp]
	sub	eax, 1
	cmp	DWORD PTR -116[rbp], eax
	jl	.L32
	add	DWORD PTR -112[rbp], 1
.L30:
	mov	eax, DWORD PTR -148[rbp]
	sub	eax, 1
	cmp	DWORD PTR -112[rbp], eax
	jl	.L33
	jmp	.L34
.L29:
	mov	DWORD PTR -112[rbp], 0
	jmp	.L35
.L38:
	mov	DWORD PTR -116[rbp], 0
	jmp	.L36
.L37:
	mov	rcx, r12
	shr	rcx, 2
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -116[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -112[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	movss	xmm0, DWORD PTR [rax+rdx*4]
	cvttss2si	eax, xmm0
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -116[rbp], 1
.L36:
	mov	eax, DWORD PTR -148[rbp]
	cmp	DWORD PTR -116[rbp], eax
	jl	.L37
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -112[rbp], 1
.L35:
	mov	eax, DWORD PTR -148[rbp]
	cmp	DWORD PTR -112[rbp], eax
	jl	.L38
	mov	eax, DWORD PTR -124[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 16
.LC1:
	.long	-2147483648
	.long	0
	.long	0
	.long	0
	.align 8
.LC3:
	.long	0
	.long	1074790400
	.align 4
.LC4:
	.long	1082130432
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"70341.c"
	.text
	.global	__aeabi_fcmplt
	.align	2
	.global	fabsm
	.syntax unified
	.arm
	.fpu softvfp
	.type	fabsm, %function
fabsm:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]	@ float
	mov	r1, #0
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-8]
	eor	r3, r3, #-2147483648
	b	.L4
.L6:
	ldr	r3, [fp, #-8]	@ float
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	fabsm, .-fabsm
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d%f%f%d%d\000"
	.global	__aeabi_fadd
	.global	__aeabi_f2d
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.global	__aeabi_d2f
	.global	__aeabi_fdiv
	.global	__aeabi_fsub
	.global	__aeabi_fcmple
	.global	__aeabi_f2iz
	.align	2
.LC1:
	.ascii	"%d \000"
	.align	2
.LC2:
	.ascii	"no. of iterations : %d\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #92
	str	r0, [fp, #-104]
	str	r1, [fp, #-108]
	ldr	r3, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	sub	r0, fp, #84
	sub	r2, fp, #88
	sub	r1, fp, #100
	sub	r3, fp, #92
	str	r3, [sp, #4]
	sub	r3, fp, #96
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L36+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-100]
	sub	r2, r3, #1
	ldr	r3, [fp, #-96]
	cmp	r2, r3
	bgt	.L8
	ldr	r3, [fp, #-100]
	sub	r3, r3, #2
	str	r3, [fp, #-96]
.L8:
	ldr	ip, [fp, #-100]
	ldr	lr, [fp, #-100]
	sub	r3, ip, #1
	str	r3, [fp, #-56]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r4, r3, #2
	sub	r3, lr, #1
	str	r3, [fp, #-52]
	mov	r3, ip
	mov	r6, r3
	mov	r7, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r7
	mul	r3, r6, r1
	add	r5, r2, r3
	umull	r2, r3, r6, r0
	add	r1, r5, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r6, r3
	mov	r7, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r7
	mul	r3, r6, r1
	add	r5, r2, r3
	umull	r2, r3, r6, r0
	add	r1, r5, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r2, lr
	mul	r3, r2, r3
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-48]
	ldr	ip, [fp, #-100]
	ldr	lr, [fp, #-100]
	sub	r3, ip, #1
	str	r3, [fp, #-44]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r5, r3, #2
	sub	r3, lr, #1
	str	r3, [fp, #-40]
	mov	r3, ip
	mov	r6, r3
	mov	r7, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r7
	mul	r3, r6, r1
	add	r8, r2, r3
	umull	r2, r3, r6, r0
	add	r1, r8, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r6, r3
	mov	r7, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r7
	mul	r3, r6, r1
	add	r8, r2, r3
	umull	r2, r3, r6, r0
	add	r1, r8, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r2, lr
	mul	r3, r2, r3
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-72]	@ float
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L9
.L10:
	ldr	r1, [fp, #-84]	@ float
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-64]
	str	r1, [r3, r2, lsl #2]	@ float
	lsr	r2, r4, #2
	ldr	r3, [fp, #-100]
	sub	r3, r3, #1
	ldr	r1, [fp, #-48]
	ldr	r0, [fp, #-64]
	ldr	ip, [r1, r0, lsl #2]	@ float
	ldr	r1, [fp, #-48]
	ldr	r0, [fp, #-64]
	mul	r0, r2, r0
	add	r0, r0, r3
	str	ip, [r1, r0, lsl #2]	@ float
	lsr	r0, r4, #2
	ldr	r1, [fp, #-48]
	ldr	ip, [fp, #-64]
	mul	r2, ip, r2
	add	r3, r2, r3
	ldr	r1, [r1, r3, lsl #2]	@ float
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-64]
	mul	r2, r0, r2
	str	r1, [r3, r2, lsl #2]	@ float
	lsr	r2, r4, #2
	ldr	r3, [fp, #-100]
	sub	r1, r3, #1
	ldr	r3, [fp, #-48]
	mul	r1, r2, r1
	ldr	r2, [fp, #-64]
	add	r2, r1, r2
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]	@ float
	lsr	r2, r4, #2
	ldr	r3, [fp, #-48]
	ldr	r1, [fp, #-64]
	mul	r2, r1, r2
	ldr	ip, [r3, r2, lsl #2]	@ float
	lsr	r1, r4, #2
	ldr	r3, [fp, #-100]
	sub	r2, r3, #1
	ldr	r3, [fp, #-48]
	ldr	r0, [fp, #-64]
	mul	r1, r0, r1
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]	@ float
	mov	r1, r3
	mov	r0, ip
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-64]
	ldr	r3, [r3, r2, lsl #2]	@ float
	mov	r1, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	lsr	r2, r4, #2
	ldr	r3, [fp, #-100]
	sub	r1, r3, #1
	ldr	r3, [fp, #-48]
	mul	r1, r2, r1
	ldr	r2, [fp, #-64]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]	@ float
	mov	r1, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-72]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-72]	@ float
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L9:
	ldr	r3, [fp, #-100]
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	blt	.L10
	ldr	r0, [fp, #-72]	@ float
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r3, [fp, #-100]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L36+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-72]	@ float
	mov	r3, #1
	str	r3, [fp, #-64]
	b	.L11
.L14:
	mov	r3, #1
	str	r3, [fp, #-68]
	b	.L12
.L13:
	lsr	r2, r4, #2
	ldr	r3, [fp, #-48]
	ldr	r1, [fp, #-64]
	mul	r1, r2, r1
	ldr	r2, [fp, #-68]
	add	r2, r1, r2
	ldr	r1, [fp, #-72]	@ float
	str	r1, [r3, r2, lsl #2]	@ float
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L12:
	ldr	r3, [fp, #-100]
	sub	r3, r3, #1
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	blt	.L13
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L11:
	ldr	r3, [fp, #-100]
	sub	r3, r3, #1
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	blt	.L14
.L28:
	mov	r3, #0
	str	r3, [fp, #-60]	@ float
	mov	r3, #1
	str	r3, [fp, #-64]
	b	.L15
.L22:
	mov	r3, #0
	str	r3, [fp, #-80]	@ float
	mov	r3, #1
	str	r3, [fp, #-68]
	b	.L16
.L19:
	lsr	r2, r4, #2
	ldr	r3, [fp, #-64]
	sub	r1, r3, #1
	ldr	r3, [fp, #-48]
	mul	r1, r2, r1
	ldr	r2, [fp, #-68]
	add	r2, r1, r2
	ldr	r0, [r3, r2, lsl #2]	@ float
	lsr	r2, r4, #2
	ldr	r3, [fp, #-64]
	add	r1, r3, #1
	ldr	r3, [fp, #-48]
	mul	r1, r2, r1
	ldr	r2, [fp, #-68]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]	@ float
	mov	r1, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	ip, r3
	lsr	r1, r4, #2
	ldr	r3, [fp, #-68]
	sub	r2, r3, #1
	ldr	r3, [fp, #-48]
	ldr	r0, [fp, #-64]
	mul	r1, r0, r1
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]	@ float
	mov	r1, r3
	mov	r0, ip
	bl	__aeabi_fadd
	mov	r3, r0
	mov	ip, r3
	lsr	r1, r4, #2
	ldr	r3, [fp, #-68]
	add	r2, r3, #1
	ldr	r3, [fp, #-48]
	ldr	r0, [fp, #-64]
	mul	r1, r0, r1
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]	@ float
	mov	r1, r3
	mov	r0, ip
	bl	__aeabi_fadd
	mov	r3, r0
	lsr	r6, r5, #2
	ldr	r1, .L36+12
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-64]
	mul	r1, r2, r6
	ldr	r2, [fp, #-68]
	add	r2, r1, r2
	str	r0, [r3, r2, lsl #2]	@ float
	lsr	r2, r5, #2
	ldr	r3, [fp, #-36]
	ldr	r1, [fp, #-64]
	mul	r1, r2, r1
	ldr	r2, [fp, #-68]
	add	r2, r1, r2
	ldr	r0, [r3, r2, lsl #2]	@ float
	lsr	r2, r4, #2
	ldr	r3, [fp, #-48]
	ldr	r1, [fp, #-64]
	mul	r1, r2, r1
	ldr	r2, [fp, #-68]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]	@ float
	mov	r1, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	fabsm
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-80]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	lsr	r2, r5, #2
	ldr	r3, [fp, #-36]
	ldr	r1, [fp, #-64]
	mul	r1, r2, r1
	ldr	r2, [fp, #-68]
	add	r2, r1, r2
	ldr	r0, [r3, r2, lsl #2]	@ float
	lsr	r2, r4, #2
	ldr	r3, [fp, #-48]
	ldr	r1, [fp, #-64]
	mul	r1, r2, r1
	ldr	r2, [fp, #-68]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]	@ float
	mov	r1, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	fabsm
	str	r0, [fp, #-80]	@ float
.L17:
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L16:
	ldr	r3, [fp, #-100]
	sub	r3, r3, #1
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	blt	.L19
	ldr	r1, [fp, #-80]	@ float
	ldr	r0, [fp, #-60]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-80]	@ float
	str	r3, [fp, #-60]	@ float
.L20:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L15:
	ldr	r3, [fp, #-100]
	sub	r3, r3, #1
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	blt	.L22
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-88]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-60]	@ float
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	bne	.L23
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-76]
	cmp	r2, r3
	bgt	.L23
	mov	r3, #1
	str	r3, [fp, #-64]
	b	.L24
.L27:
	mov	r3, #1
	str	r3, [fp, #-68]
	b	.L25
.L26:
	lsr	r1, r5, #2
	lsr	r2, r4, #2
	ldr	r3, [fp, #-36]
	ldr	r0, [fp, #-64]
	mul	r0, r1, r0
	ldr	r1, [fp, #-68]
	add	r1, r0, r1
	ldr	r1, [r3, r1, lsl #2]	@ float
	ldr	r3, [fp, #-48]
	ldr	r0, [fp, #-64]
	mul	r0, r2, r0
	ldr	r2, [fp, #-68]
	add	r2, r0, r2
	str	r1, [r3, r2, lsl #2]	@ float
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L25:
	ldr	r3, [fp, #-100]
	sub	r3, r3, #1
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	blt	.L26
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L24:
	ldr	r3, [fp, #-100]
	sub	r3, r3, #1
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	blt	.L27
	b	.L28
.L23:
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L29
.L32:
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L30
.L31:
	lsr	r2, r4, #2
	ldr	r3, [fp, #-48]
	ldr	r1, [fp, #-64]
	mul	r1, r2, r1
	ldr	r2, [fp, #-68]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]	@ float
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L36+16
	bl	printf
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L30:
	ldr	r3, [fp, #-100]
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	blt	.L31
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L29:
	ldr	r3, [fp, #-100]
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	blt	.L32
	ldr	r1, [fp, #-76]
	ldr	r0, .L36+20
	bl	printf
	mov	r0, #0
	bl	exit
.L37:
	.align	2
.L36:
	.word	.LC3
	.word	.LC0
	.word	1074790400
	.word	1082130432
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
