	.file	"72013899.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC1:
	.string	"Please enter the initial value: "
.LC2:
	.string	"%f"
	.align 8
.LC6:
	.string	"\nThe equation is not convergent"
	.align 8
.LC7:
	.string	"\n   i\t  xi\t  f(xi)\t         error"
	.align 8
.LC8:
	.string	"\n-------------------------------------------"
.LC10:
	.string	"\n %3d\t%3.5f\t %3.5f\t%3.5f"
.LC12:
	.string	"\nThe required root is: %f\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	DWORD PTR -20[rbp], 0
	pxor	xmm0, xmm0
	movss	DWORD PTR -24[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -16[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	mov	BYTE PTR -25[rbp], 0
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L9:
	movss	xmm1, DWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR -24[rbp]
	mulss	xmm0, xmm1
	movss	xmm1, DWORD PTR .LC3[rip]
	subss	xmm0, xmm1
	movss	DWORD PTR -16[rbp], xmm0
	movss	xmm1, DWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR -16[rbp]
	subss	xmm0, xmm1
	movss	xmm1, DWORD PTR .LC4[rip]
	andps	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	cmp	DWORD PTR -20[rbp], 0
	jne	.L2
	movss	xmm0, DWORD PTR -24[rbp]
	addss	xmm0, xmm0
	movss	xmm1, DWORD PTR .LC5[rip]
	comiss	xmm0, xmm1
	jbe	.L15
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	BYTE PTR -25[rbp], 1
	jmp	.L5
.L15:
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	cmp	DWORD PTR -20[rbp], 0
	je	.L6
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -12[rbp]
	jmp	.L7
.L6:
	pxor	xmm0, xmm0
.L7:
	movss	xmm2, DWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR -24[rbp]
	mulss	xmm1, xmm2
	movss	xmm2, DWORD PTR -24[rbp]
	subss	xmm1, xmm2
	movss	xmm2, DWORD PTR .LC3[rip]
	subss	xmm1, xmm2
	cvtss2sd	xmm1, xmm1
	movss	xmm2, DWORD PTR -24[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm2
	movq	rdx, xmm3
	mov	eax, DWORD PTR -20[rbp]
	movapd	xmm2, xmm0
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 3
	call	printf@PLT
	movss	xmm0, DWORD PTR -16[rbp]
	movss	DWORD PTR -24[rbp], xmm0
	add	DWORD PTR -20[rbp], 1
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -12[rbp]
	comisd	xmm0, QWORD PTR .LC11[rip]
	jbe	.L5
	cmp	DWORD PTR -20[rbp], 4999
	jle	.L9
.L5:
	cmp	BYTE PTR -25[rbp], 0
	jne	.L10
	movss	xmm0, DWORD PTR -24[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rax, xmm4
	movq	xmm0, rax
	lea	rdi, .LC12[rip]
	mov	eax, 1
	call	printf@PLT
.L10:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC3:
	.long	1086324736
	.align 16
.LC4:
	.long	2147483647
	.long	0
	.long	0
	.long	0
	.align 4
.LC5:
	.long	1065353216
	.align 8
.LC11:
	.long	-755914244
	.long	1061184077
	.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	"72013899.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Please enter the initial value: \000"
	.align	2
.LC1:
	.ascii	"%f\000"
	.global	__aeabi_fmul
	.global	__aeabi_fsub
	.global	__aeabi_fadd
	.global	__aeabi_fcmpgt
	.align	2
.LC2:
	.ascii	"\012The equation is not convergent\000"
	.align	2
.LC3:
	.ascii	"\012   i\011  xi\011  f(xi)\011         error\000"
	.align	2
.LC4:
	.ascii	"\012-------------------------------------------\000"
	.global	__aeabi_f2d
	.align	2
.LC5:
	.ascii	"\012 %3d\011%3.5f\011 %3.5f\011%3.5f\000"
	.global	__aeabi_dcmpgt
	.align	2
.LC6:
	.ascii	"\012The required root is: %f\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #40
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-40]	@ float
	mov	r3, #0
	str	r3, [fp, #-32]	@ float
	mov	r3, #0
	str	r3, [fp, #-28]	@ float
	mov	r3, #0
	strb	r3, [fp, #-41]
	ldr	r0, .L16+4
	bl	printf
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L16+8
	bl	__isoc99_scanf
.L9:
	ldr	r3, [fp, #-40]	@ float
	ldr	r2, [fp, #-40]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, .L16+12
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-32]	@ float
	ldr	r3, [fp, #-40]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-28]	@ float
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-40]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, #1065353216
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	ldr	r0, .L16+16
	bl	puts
	mov	r3, #1
	strb	r3, [fp, #-41]
	b	.L5
.L15:
	ldr	r0, .L16+20
	bl	printf
	ldr	r0, .L16+24
	bl	printf
.L2:
	ldr	r3, [fp, #-40]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r3, [fp, #-40]	@ float
	ldr	r2, [fp, #-40]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-40]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fsub
	mov	r3, r0
	ldr	r1, .L16+12
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L6
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	b	.L7
.L6:
	mov	r2, #0
	mov	r3, #0
.L7:
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r6
	mov	r3, r7
	ldr	r1, [fp, #-36]
	ldr	r0, .L16+28
	bl	printf
	ldr	r3, [fp, #-32]	@ float
	str	r3, [fp, #-40]	@ float
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L16+32
	ldr	r3, .L16+36
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-36]
	ldr	r2, .L16+40
	cmp	r3, r2
	ble	.L9
.L5:
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-40]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+44
	bl	printf
.L10:
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	1086324736
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	-755914244
	.word	1061184077
	.word	4999
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
