	.file	"976071.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Enter the first integer:"
.LC1:
	.string	"%d"
	.align 8
.LC2:
	.string	"Closest number to %d that is multiple of %d is itself.\n"
	.align 8
.LC3:
	.string	"Closest number to %d that is multiple of %d is %d.\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	find_root
	mov	eax, 0
	call	find_newtonian_root
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	find_multiple_closest
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jne	.L2
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L2:
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	ecx, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L3:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC4:
	.string	"Please Enter the first coefficient:"
	.align 8
.LC5:
	.string	"Please Enter the second coefficient:"
	.align 8
.LC6:
	.string	"Please Enter the third coefficient:"
	.align 8
.LC8:
	.string	"Your equation %dx^2 %dx %d have real roots {%.1lf,%.1lf}.\n"
	.align 8
.LC9:
	.string	"Your equation %dx^2 %dx + %d have real roots {%.1lf,%.1lf}.\n"
	.align 8
.LC10:
	.string	"Your equation %dx^2 + %dx %d have real roots {%.1lf,%.1lf}.\n"
	.align 8
.LC11:
	.string	"Your equation %dx^2 + %dx + %d have real roots {%.1lf,%.1lf}.\n"
	.align 8
.LC12:
	.string	"Your equation %dx^2 %dx %d does not have any real roots.\n"
	.align 8
.LC13:
	.string	"Your equation %dx^2 %dx + %d does not have any real roots.\n"
	.align 8
.LC14:
	.string	"Your equation %dx^2 + %dx %d does not have any real roots.\n"
	.align 8
.LC15:
	.string	"Your equation %dx^2 + %dx + %d does not have any real roots.\n"
	.text
	.globl	find_root
	.type	find_root, @function
find_root:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rax, -44[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rax, -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rax, -36[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -40[rbp]
	imul	eax, edx
	mov	ecx, DWORD PTR -44[rbp]
	mov	edx, DWORD PTR -36[rbp]
	imul	edx, ecx
	sal	edx, 2
	sub	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jb	.L19
	mov	eax, DWORD PTR -40[rbp]
	neg	eax
	pxor	xmm3, xmm3
	cvtsi2sd	xmm3, eax
	movsd	QWORD PTR -56[rbp], xmm3
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rax
	call	sqrt@PLT
	addsd	xmm0, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR -44[rbp]
	add	eax, eax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	divsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	mov	eax, DWORD PTR -40[rbp]
	neg	eax
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	QWORD PTR -56[rbp], xmm2
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rax
	call	sqrt@PLT
	movapd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR -44[rbp]
	add	eax, eax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	divsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	mov	eax, DWORD PTR -40[rbp]
	test	eax, eax
	jns	.L9
	mov	eax, DWORD PTR -36[rbp]
	test	eax, eax
	jns	.L9
	mov	ecx, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -44[rbp]
	movsd	xmm0, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -24[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rsi
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 2
	call	printf@PLT
	jmp	.L13
.L9:
	mov	eax, DWORD PTR -40[rbp]
	test	eax, eax
	jns	.L11
	mov	eax, DWORD PTR -36[rbp]
	test	eax, eax
	js	.L11
	mov	ecx, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -44[rbp]
	movsd	xmm0, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -24[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rsi
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 2
	call	printf@PLT
	jmp	.L13
.L11:
	mov	eax, DWORD PTR -40[rbp]
	test	eax, eax
	js	.L12
	mov	eax, DWORD PTR -36[rbp]
	test	eax, eax
	jns	.L12
	mov	ecx, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -44[rbp]
	movsd	xmm0, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -24[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rsi
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 2
	call	printf@PLT
	jmp	.L13
.L12:
	mov	ecx, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -44[rbp]
	movsd	xmm0, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -24[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rsi
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 2
	call	printf@PLT
	jmp	.L20
.L19:
	mov	eax, DWORD PTR -40[rbp]
	test	eax, eax
	jns	.L14
	mov	eax, DWORD PTR -36[rbp]
	test	eax, eax
	jns	.L14
	mov	ecx, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -40[rbp]
	test	eax, eax
	jns	.L15
	mov	eax, DWORD PTR -36[rbp]
	test	eax, eax
	js	.L15
	mov	ecx, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L15:
	mov	eax, DWORD PTR -40[rbp]
	test	eax, eax
	js	.L16
	mov	eax, DWORD PTR -36[rbp]
	test	eax, eax
	jns	.L16
	mov	ecx, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L16:
	mov	ecx, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L20
.L13:
.L20:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	find_root, .-find_root
	.section	.rodata
.LC16:
	.string	"Please Enter the initial:"
.LC17:
	.string	"%lf"
	.align 8
.LC18:
	.string	"Your equation %dx^2 %dx %d and iterations are\n"
	.align 8
.LC19:
	.string	"Your equation %dx^2 %dx + %d and iterations are\n"
	.align 8
.LC20:
	.string	"Your equation %dx^2 + %dx %d and iterations are\n"
	.align 8
.LC21:
	.string	"Your equation %dx^2 + %dx + %d and iterations are\n"
	.align 8
.LC23:
	.string	"Step \t x \t\t f(x) \t\t Difference"
.LC24:
	.string	"x1 \t %.4lf \t %.4lf \t %.4lf\t\n"
.LC25:
	.string	"x2 \t %.4lf \t %.4lf \t %.4lf\t\n"
.LC26:
	.string	"x3 \t %.4lf \t %.4lf \t %.4lf\t\n"
.LC27:
	.string	"x4 \t %.4lf \t %.4lf \t %.4lf\t\n"
.LC28:
	.string	"x5 \t %.4lf \t %.4lf \t %.4lf\t\n"
	.text
	.globl	find_newtonian_root
	.type	find_newtonian_root, @function
find_newtonian_root:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -64[rbp], xmm0
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rax, -84[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rax, -80[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rax, -76[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
	lea	rax, -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -80[rbp]
	mov	eax, DWORD PTR -80[rbp]
	imul	eax, edx
	mov	ecx, DWORD PTR -84[rbp]
	mov	edx, DWORD PTR -76[rbp]
	imul	edx, ecx
	sal	edx, 2
	sub	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -56[rbp], xmm0
	mov	eax, DWORD PTR -80[rbp]
	neg	eax
	pxor	xmm4, xmm4
	cvtsi2sd	xmm4, eax
	movsd	QWORD PTR -104[rbp], xmm4
	mov	rax, QWORD PTR -56[rbp]
	movq	xmm0, rax
	call	sqrt@PLT
	addsd	xmm0, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR -84[rbp]
	add	eax, eax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	divsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	mov	eax, DWORD PTR -80[rbp]
	neg	eax
	pxor	xmm3, xmm3
	cvtsi2sd	xmm3, eax
	movsd	QWORD PTR -104[rbp], xmm3
	mov	rax, QWORD PTR -56[rbp]
	movq	xmm0, rax
	call	sqrt@PLT
	movapd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -104[rbp]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR -84[rbp]
	add	eax, eax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	divsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	mov	eax, DWORD PTR -80[rbp]
	test	eax, eax
	jns	.L22
	mov	eax, DWORD PTR -76[rbp]
	test	eax, eax
	jns	.L22
	mov	ecx, DWORD PTR -76[rbp]
	mov	edx, DWORD PTR -80[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L23
.L22:
	mov	eax, DWORD PTR -80[rbp]
	test	eax, eax
	jns	.L24
	mov	eax, DWORD PTR -76[rbp]
	test	eax, eax
	js	.L24
	mov	ecx, DWORD PTR -76[rbp]
	mov	edx, DWORD PTR -80[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L23
.L24:
	mov	eax, DWORD PTR -80[rbp]
	test	eax, eax
	js	.L25
	mov	eax, DWORD PTR -76[rbp]
	test	eax, eax
	jns	.L25
	mov	ecx, DWORD PTR -76[rbp]
	mov	edx, DWORD PTR -80[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L23
.L25:
	mov	ecx, DWORD PTR -76[rbp]
	mov	edx, DWORD PTR -80[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	esi, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
.L23:
	movsd	xmm1, QWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR -48[rbp]
	subsd	xmm0, xmm1
	movq	xmm1, QWORD PTR .LC22[rip]
	andpd	xmm0, xmm1
	movsd	xmm2, QWORD PTR -72[rbp]
	movsd	xmm1, QWORD PTR -40[rbp]
	subsd	xmm1, xmm2
	movq	xmm2, QWORD PTR .LC22[rip]
	andpd	xmm1, xmm2
	comisd	xmm0, xmm1
	jbe	.L31
	movsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR -64[rbp], xmm0
	jmp	.L28
.L31:
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR -64[rbp], xmm0
.L28:
	lea	rdi, .LC23[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -84[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -80[rbp]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	mov	eax, DWORD PTR -76[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -84[rbp]
	add	eax, eax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -80[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	movsd	xmm1, QWORD PTR -32[rbp]
	divsd	xmm1, QWORD PTR -24[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	subsd	xmm0, QWORD PTR -64[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	mov	eax, DWORD PTR -84[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -80[rbp]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	mov	eax, DWORD PTR -76[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	rax, QWORD PTR -72[rbp]
	movsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR -32[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC24[rip]
	mov	eax, 3
	call	printf@PLT
	mov	eax, DWORD PTR -84[rbp]
	add	eax, eax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -80[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	movsd	xmm1, QWORD PTR -32[rbp]
	divsd	xmm1, QWORD PTR -24[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	subsd	xmm0, QWORD PTR -64[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	mov	eax, DWORD PTR -84[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -80[rbp]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	mov	eax, DWORD PTR -76[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	rax, QWORD PTR -72[rbp]
	movsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR -32[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC25[rip]
	mov	eax, 3
	call	printf@PLT
	mov	eax, DWORD PTR -84[rbp]
	add	eax, eax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -80[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	movsd	xmm1, QWORD PTR -32[rbp]
	divsd	xmm1, QWORD PTR -24[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	subsd	xmm0, QWORD PTR -64[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	mov	eax, DWORD PTR -84[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -80[rbp]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	mov	eax, DWORD PTR -76[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	rax, QWORD PTR -72[rbp]
	movsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR -32[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC26[rip]
	mov	eax, 3
	call	printf@PLT
	mov	eax, DWORD PTR -84[rbp]
	add	eax, eax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -80[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	movsd	xmm1, QWORD PTR -32[rbp]
	divsd	xmm1, QWORD PTR -24[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	subsd	xmm0, QWORD PTR -64[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	mov	eax, DWORD PTR -84[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -80[rbp]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	mov	eax, DWORD PTR -76[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	rax, QWORD PTR -72[rbp]
	movsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR -32[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC27[rip]
	mov	eax, 3
	call	printf@PLT
	mov	eax, DWORD PTR -84[rbp]
	add	eax, eax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -80[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	movsd	xmm1, QWORD PTR -32[rbp]
	divsd	xmm1, QWORD PTR -24[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	subsd	xmm0, QWORD PTR -64[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	mov	eax, DWORD PTR -84[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -80[rbp]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	mov	eax, DWORD PTR -76[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	rax, QWORD PTR -72[rbp]
	movsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR -32[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC28[rip]
	mov	eax, 3
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	find_newtonian_root, .-find_newtonian_root
	.globl	find_multiple_closest
	.type	find_multiple_closest, @function
find_multiple_closest:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -12[rbp], 0
	mov	eax, DWORD PTR -20[rbp]
	cdq
	idiv	DWORD PTR -24[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	cdq
	idiv	DWORD PTR -24[rbp]
	mov	eax, edx
	test	eax, eax
	jne	.L33
	mov	eax, DWORD PTR -20[rbp]
	jmp	.L34
.L33:
	mov	eax, DWORD PTR -8[rbp]
	imul	eax, DWORD PTR -24[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, edx
	mov	ecx, eax
	sar	ecx, 31
	xor	eax, ecx
	mov	edx, eax
	sub	edx, ecx
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, DWORD PTR -24[rbp]
	sub	eax, DWORD PTR -20[rbp]
	mov	ecx, eax
	sar	ecx, 31
	xor	eax, ecx
	sub	eax, ecx
	cmp	edx, eax
	jl	.L35
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -12[rbp], eax
	jmp	.L36
.L35:
	mov	eax, DWORD PTR -8[rbp]
	imul	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -12[rbp], eax
.L36:
	mov	eax, DWORD PTR -12[rbp]
.L34:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	find_multiple_closest, .-find_multiple_closest
	.section	.rodata
	.align 16
.LC22:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.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	"976071.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter the first integer:\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"Closest number to %d that is multiple of %d is itse"
	.ascii	"lf.\012\000"
	.align	2
.LC3:
	.ascii	"Closest number to %d that is multiple of %d is %d.\012"
	.ascii	"\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	find_root
	bl	find_newtonian_root
	ldr	r0, .L6+4
	bl	puts
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L6+8
	bl	__isoc99_scanf
	ldr	r0, .L6+4
	bl	puts
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L6+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	mov	r1, r2
	mov	r0, r3
	bl	find_multiple_closest
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L2
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	mov	r1, r3
	ldr	r0, .L6+12
	bl	printf
	b	.L3
.L2:
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	ldr	r0, .L6+16
	bl	printf
.L3:
	mov	r3, #0
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Please Enter the first coefficient:\000"
	.align	2
.LC6:
	.ascii	"Please Enter the second coefficient:\000"
	.align	2
.LC7:
	.ascii	"Please Enter the third coefficient:\000"
	.global	__aeabi_i2d
	.global	__aeabi_dcmpge
	.global	__aeabi_dadd
	.global	__aeabi_ddiv
	.global	__aeabi_dsub
	.align	2
.LC8:
	.ascii	"Your equation %dx^2 %dx %d have real roots {%.1lf,%"
	.ascii	".1lf}.\012\000"
	.align	2
.LC9:
	.ascii	"Your equation %dx^2 %dx + %d have real roots {%.1lf"
	.ascii	",%.1lf}.\012\000"
	.align	2
.LC10:
	.ascii	"Your equation %dx^2 + %dx %d have real roots {%.1lf"
	.ascii	",%.1lf}.\012\000"
	.align	2
.LC11:
	.ascii	"Your equation %dx^2 + %dx + %d have real roots {%.1"
	.ascii	"lf,%.1lf}.\012\000"
	.align	2
.LC12:
	.ascii	"Your equation %dx^2 %dx %d does not have any real r"
	.ascii	"oots.\012\000"
	.align	2
.LC13:
	.ascii	"Your equation %dx^2 %dx + %d does not have any real"
	.ascii	" roots.\012\000"
	.align	2
.LC14:
	.ascii	"Your equation %dx^2 + %dx %d does not have any real"
	.ascii	" roots.\012\000"
	.align	2
.LC15:
	.ascii	"Your equation %dx^2 + %dx + %d does not have any re"
	.ascii	"al roots.\012\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	find_root
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_root, %function
find_root:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #64
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L23+4
	bl	puts
	sub	r3, fp, #56
	mov	r1, r3
	ldr	r0, .L23+8
	bl	__isoc99_scanf
	ldr	r0, .L23+12
	bl	puts
	sub	r3, fp, #52
	mov	r1, r3
	ldr	r0, .L23+8
	bl	__isoc99_scanf
	ldr	r0, .L23+16
	bl	puts
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L23+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-52]
	mul	r2, r3, r2
	ldr	r3, [fp, #-56]
	ldr	r1, [fp, #-48]
	mul	r3, r1, r3
	lsl	r3, r3, #2
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	ldr	r3, [fp, #-52]
	rsb	r3, r3, #0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-52]
	rsb	r3, r3, #0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bge	.L11
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bge	.L11
	ldr	r1, [fp, #-56]
	ldr	r0, [fp, #-52]
	ldr	ip, [fp, #-48]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L23+20
	bl	printf
	b	.L15
.L11:
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bge	.L13
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	blt	.L13
	ldr	r1, [fp, #-56]
	ldr	r0, [fp, #-52]
	ldr	ip, [fp, #-48]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L23+24
	bl	printf
	b	.L15
.L13:
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	blt	.L14
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bge	.L14
	ldr	r1, [fp, #-56]
	ldr	r0, [fp, #-52]
	ldr	ip, [fp, #-48]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L23+28
	bl	printf
	b	.L15
.L14:
	ldr	r1, [fp, #-56]
	ldr	r0, [fp, #-52]
	ldr	ip, [fp, #-48]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L23+32
	bl	printf
	b	.L22
.L21:
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bge	.L16
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bge	.L16
	ldr	r1, [fp, #-56]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-48]
	ldr	r0, .L23+36
	bl	printf
	b	.L15
.L16:
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bge	.L17
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	blt	.L17
	ldr	r1, [fp, #-56]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-48]
	ldr	r0, .L23+40
	bl	printf
	b	.L15
.L17:
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	blt	.L18
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bge	.L18
	ldr	r1, [fp, #-56]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-48]
	ldr	r0, .L23+44
	bl	printf
	b	.L15
.L18:
	ldr	r1, [fp, #-56]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-48]
	ldr	r0, .L23+48
	bl	printf
	b	.L22
.L15:
.L22:
	nop
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC16
	.word	.LC5
	.word	.LC1
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	find_root, .-find_root
	.section	.rodata
	.align	2
.LC17:
	.ascii	"Please Enter the initial:\000"
	.align	2
.LC18:
	.ascii	"%lf\000"
	.align	2
.LC19:
	.ascii	"Your equation %dx^2 %dx %d and iterations are\012\000"
	.align	2
.LC20:
	.ascii	"Your equation %dx^2 %dx + %d and iterations are\012"
	.ascii	"\000"
	.align	2
.LC21:
	.ascii	"Your equation %dx^2 + %dx %d and iterations are\012"
	.ascii	"\000"
	.align	2
.LC22:
	.ascii	"Your equation %dx^2 + %dx + %d and iterations are\012"
	.ascii	"\000"
	.global	__aeabi_dcmpgt
	.align	2
.LC23:
	.ascii	"Step \011 x \011\011 f(x) \011\011 Difference\000"
	.global	__aeabi_dmul
	.align	2
.LC24:
	.ascii	"x1 \011 %.4lf \011 %.4lf \011 %.4lf\011\012\000"
	.align	2
.LC25:
	.ascii	"x2 \011 %.4lf \011 %.4lf \011 %.4lf\011\012\000"
	.align	2
.LC26:
	.ascii	"x3 \011 %.4lf \011 %.4lf \011 %.4lf\011\012\000"
	.align	2
.LC27:
	.ascii	"x4 \011 %.4lf \011 %.4lf \011 %.4lf\011\012\000"
	.align	2
.LC28:
	.ascii	"x5 \011 %.4lf \011 %.4lf \011 %.4lf\011\012\000"
	.align	2
.LC29:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	find_newtonian_root
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_newtonian_root, %function
find_newtonian_root:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #104
	ldr	r3, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r0, .L36+4
	bl	puts
	sub	r3, fp, #112
	mov	r1, r3
	ldr	r0, .L36+8
	bl	__isoc99_scanf
	ldr	r0, .L36+12
	bl	puts
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L36+8
	bl	__isoc99_scanf
	ldr	r0, .L36+16
	bl	puts
	sub	r3, fp, #104
	mov	r1, r3
	ldr	r0, .L36+8
	bl	__isoc99_scanf
	ldr	r0, .L36+20
	bl	puts
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, .L36+24
	bl	__isoc99_scanf
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #-108]
	mul	r2, r3, r2
	ldr	r3, [fp, #-112]
	ldr	r1, [fp, #-104]
	mul	r3, r1, r3
	lsl	r3, r3, #2
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-108]
	rsb	r3, r3, #0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r8, r0
	mov	r9, r1
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-108]
	rsb	r3, r3, #0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r8, r0
	mov	r9, r1
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	bge	.L26
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	bge	.L26
	ldr	r1, [fp, #-112]
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #-104]
	ldr	r0, .L36+28
	bl	printf
	b	.L27
.L26:
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	bge	.L28
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	blt	.L28
	ldr	r1, [fp, #-112]
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #-104]
	ldr	r0, .L36+32
	bl	printf
	b	.L27
.L28:
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	blt	.L29
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	bge	.L29
	ldr	r1, [fp, #-112]
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #-104]
	ldr	r0, .L36+36
	bl	printf
	b	.L27
.L29:
	ldr	r1, [fp, #-112]
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #-104]
	ldr	r0, .L36+40
	bl	printf
.L27:
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	bic	r5, r3, #-2147483648
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	bic	r7, r3, #-2147483648
	mov	r2, r6
	mov	r3, r7
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L35
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	b	.L32
.L35:
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
.L32:
	ldr	r0, .L36+44
	bl	puts
	ldr	r3, [fp, #-112]
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-108]
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-104]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-108]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r5, fp, #100
	ldmia	r5, {r4-r5}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-112]
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-108]
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-104]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L36+48
	bl	printf
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-108]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r5, fp, #100
	ldmia	r5, {r4-r5}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-112]
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-108]
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-104]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L36+52
	bl	printf
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-108]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r5, fp, #100
	ldmia	r5, {r4-r5}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-112]
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-108]
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-104]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L36+56
	bl	printf
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-108]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r5, fp, #100
	ldmia	r5, {r4-r5}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-112]
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-108]
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-104]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L36+60
	bl	printf
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-108]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r5, fp, #100
	ldmia	r5, {r4-r5}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-112]
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-108]
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-104]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L36+64
	bl	printf
	nop
	ldr	r3, .L36
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC29
	.word	.LC5
	.word	.LC1
	.word	.LC6
	.word	.LC7
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.size	find_newtonian_root, .-find_newtonian_root
	.global	__aeabi_idiv
	.global	__aeabi_idivmod
	.align	2
	.global	find_multiple_closest
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_multiple_closest, %function
find_multiple_closest:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #0
	bne	.L39
	ldr	r3, [fp, #-24]
	b	.L40
.L39:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	sub	r3, r2, r3
	eor	r2, r3, r3, asr #31
	sub	r2, r2, r3, asr #31
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-28]
	mul	r1, r3, r1
	ldr	r3, [fp, #-24]
	sub	r3, r1, r3
	cmp	r3, #0
	rsblt	r3, r3, #0
	cmp	r2, r3
	blt	.L41
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-28]
	mul	r3, r2, r3
	str	r3, [fp, #-16]
	b	.L42
.L41:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	mul	r3, r2, r3
	str	r3, [fp, #-16]
.L42:
	ldr	r3, [fp, #-16]
.L40:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	find_multiple_closest, .-find_multiple_closest
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
