	.file	"459548.c"
	.intel_syntax noprefix
	.text
	.globl	getF
	.type	getF, @function
getF:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC0[rip]
	mov	rax, QWORD PTR -8[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rax, xmm0
	movsd	xmm0, QWORD PTR .LC1[rip]
	movq	xmm1, rax
	subsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	getF, .-getF
	.globl	firstDerivative
	.type	firstDerivative, @function
firstDerivative:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC2[rip]
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	getF
	movq	rbx, xmm0
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	call	getF
	movapd	xmm1, xmm0
	movq	xmm0, rbx
	subsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC2[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	firstDerivative, .-firstDerivative
	.globl	secondDerivative
	.type	secondDerivative, @function
secondDerivative:
.LFB2:
	.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
	movsd	QWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	call	firstDerivative
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	movsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC2[rip]
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	firstDerivative
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	movsd	xmm0, QWORD PTR -8[rbp]
	subsd	xmm0, QWORD PTR -16[rbp]
	movsd	xmm1, QWORD PTR .LC2[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	secondDerivative, .-secondDerivative
	.globl	usabilityCheck
	.type	usabilityCheck, @function
usabilityCheck:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	QWORD PTR -16[rbp], xmm1
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	getF
	pxor	xmm1, xmm1
	comisd	xmm1, xmm0
	jbe	.L8
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	call	getF
	pxor	xmm1, xmm1
	comisd	xmm1, xmm0
	jbe	.L8
	mov	eax, -1
	jmp	.L11
.L8:
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	getF
	movq	rax, xmm0
	pxor	xmm0, xmm0
	movq	xmm2, rax
	comisd	xmm2, xmm0
	jbe	.L12
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	call	getF
	movq	rax, xmm0
	pxor	xmm0, xmm0
	movq	xmm3, rax
	comisd	xmm3, xmm0
	jbe	.L12
	mov	eax, -1
	jmp	.L11
.L12:
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	firstDerivative
	pxor	xmm1, xmm1
	comisd	xmm1, xmm0
	jbe	.L15
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	call	firstDerivative
	movq	rax, xmm0
	pxor	xmm0, xmm0
	movq	xmm4, rax
	comisd	xmm4, xmm0
	jbe	.L15
	mov	eax, -1
	jmp	.L11
.L15:
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	firstDerivative
	movq	rax, xmm0
	pxor	xmm0, xmm0
	movq	xmm5, rax
	comisd	xmm5, xmm0
	jbe	.L18
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	call	firstDerivative
	pxor	xmm1, xmm1
	comisd	xmm1, xmm0
	jbe	.L18
	mov	eax, -1
	jmp	.L11
.L18:
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	secondDerivative
	pxor	xmm1, xmm1
	comisd	xmm1, xmm0
	jbe	.L21
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	call	secondDerivative
	movq	rax, xmm0
	pxor	xmm0, xmm0
	movq	xmm6, rax
	comisd	xmm6, xmm0
	jbe	.L21
	mov	eax, -1
	jmp	.L11
.L21:
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	secondDerivative
	movq	rax, xmm0
	pxor	xmm0, xmm0
	movq	xmm7, rax
	comisd	xmm7, xmm0
	jbe	.L24
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	call	secondDerivative
	pxor	xmm1, xmm1
	comisd	xmm1, xmm0
	jbe	.L24
	mov	eax, -1
	jmp	.L11
.L24:
	mov	eax, 0
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	usabilityCheck, .-usabilityCheck
	.globl	initApproximation
	.type	initApproximation, @function
initApproximation:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	QWORD PTR -16[rbp], xmm1
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	getF
	pxor	xmm1, xmm1
	comisd	xmm1, xmm0
	jbe	.L40
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	secondDerivative
	pxor	xmm1, xmm1
	comisd	xmm1, xmm0
	jbe	.L40
	movsd	xmm0, QWORD PTR -8[rbp]
	jmp	.L43
.L40:
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	getF
	movq	rax, xmm0
	pxor	xmm0, xmm0
	movq	xmm2, rax
	comisd	xmm2, xmm0
	jbe	.L44
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	secondDerivative
	movq	rax, xmm0
	pxor	xmm0, xmm0
	movq	xmm3, rax
	comisd	xmm3, xmm0
	jbe	.L44
	movsd	xmm0, QWORD PTR -8[rbp]
	jmp	.L43
.L44:
	movsd	xmm0, QWORD PTR -16[rbp]
.L43:
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	initApproximation, .-initApproximation
	.section	.rodata
.LC4:
	.string	"r"
.LC5:
	.string	"input.txt"
.LC6:
	.string	"w"
.LC7:
	.string	"output.txt"
	.align 8
.LC8:
	.string	"\320\276\321\210\320\270\320\261\320\272\320\260 \320\276\321\202\320\272\321\200\321\213\321\202\320\270\321\217 \321\204\320\260\320\271\320\273\320\260\n"
.LC9:
	.string	"%lf"
	.align 8
.LC10:
	.string	"\320\235\320\260\321\200\321\203\321\210\320\265\320\275\321\213 \321\203\321\201\320\273\320\276\320\262\320\270\321\217 \320\277\321\200\320\270\320\274\320\265\320\275\320\270\320\274\320\276\321\201\321\202\320\270"
.LC13:
	.string	"x = %.8lf"
	.text
	.globl	main
	.type	main, @function
main:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 72
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rsi, .LC4[rip]
	lea	rdi, .LC5[rip]
	call	fopen@PLT
	mov	QWORD PTR -48[rbp], rax
	lea	rsi, .LC6[rip]
	lea	rdi, .LC7[rip]
	call	fopen@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	je	.L52
	cmp	QWORD PTR -40[rbp], 0
	jne	.L53
.L52:
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 41
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L57
.L53:
	lea	rdx, -72[rbp]
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -64[rbp]
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	movsd	xmm0, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -72[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	usabilityCheck
	cmp	eax, -1
	jne	.L55
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 56
	mov	esi, 1
	lea	rdi, .LC10[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L57
.L55:
	movsd	xmm0, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -72[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	initApproximation
	movq	rax, xmm0
	mov	QWORD PTR -56[rbp], rax
.L56:
	movsd	xmm0, QWORD PTR -56[rbp]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rax
	call	getF
	movq	rbx, xmm0
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rax
	call	firstDerivative
	movq	xmm1, rbx
	divsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	subsd	xmm0, QWORD PTR -32[rbp]
	movq	xmm1, QWORD PTR .LC11[rip]
	andpd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC12[rip]
	ja	.L56
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -40[rbp]
	movq	xmm0, rdx
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	movsd	xmm0, QWORD PTR -56[rbp]
	cvttsd2si	eax, xmm0
.L57:
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L58
	call	__stack_chk_fail@PLT
.L58:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1073741824
	.align 8
.LC1:
	.long	0
	.long	1074266112
	.align 8
.LC2:
	.long	-500134854
	.long	1044740494
	.align 16
.LC11:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 8
.LC12:
	.long	-1998362383
	.long	1055193269
	.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	"459548.c"
	.text
	.global	__aeabi_dsub
	.align	2
	.global	getF
	.syntax unified
	.arm
	.fpu softvfp
	.type	getF, %function
getF:
	@ 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, #-12]
	str	r1, [fp, #-8]
	mov	r2, #0
	mov	r3, #1073741824
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	pow
	mov	r2, #0
	ldr	r3, .L3
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	1074266112
	.size	getF, .-getF
	.global	__aeabi_dadd
	.global	__aeabi_ddiv
	.align	2
	.global	firstDerivative
	.syntax unified
	.arm
	.fpu softvfp
	.type	firstDerivative, %function
firstDerivative:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	ldr	r2, .L7
	ldr	r3, .L7+4
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	getF
	mov	r4, r0
	mov	r5, r1
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	getF
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L7
	ldr	r3, .L7+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L8:
	.align	2
.L7:
	.word	-500134854
	.word	1044740494
	.size	firstDerivative, .-firstDerivative
	.align	2
	.global	secondDerivative
	.syntax unified
	.arm
	.fpu softvfp
	.type	secondDerivative, %function
secondDerivative:
	@ 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, #-28]
	str	r1, [fp, #-24]
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	firstDerivative
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	ldr	r2, .L11
	ldr	r3, .L11+4
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	firstDerivative
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L11
	ldr	r3, .L11+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	-500134854
	.word	1044740494
	.size	secondDerivative, .-secondDerivative
	.global	__aeabi_dcmplt
	.global	__aeabi_dcmpgt
	.align	2
	.global	usabilityCheck
	.syntax unified
	.arm
	.fpu softvfp
	.type	usabilityCheck, %function
usabilityCheck:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	getF
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	getF
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	mvn	r3, #0
	b	.L17
.L14:
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	getF
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	getF
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	mvn	r3, #0
	b	.L17
.L18:
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	firstDerivative
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	firstDerivative
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	mvn	r3, #0
	b	.L17
.L21:
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	firstDerivative
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	firstDerivative
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	mvn	r3, #0
	b	.L17
.L24:
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	secondDerivative
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L27
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	secondDerivative
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L27
	mvn	r3, #0
	b	.L17
.L27:
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	secondDerivative
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L30
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	secondDerivative
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L30
	mvn	r3, #0
	b	.L17
.L30:
	mov	r3, #0
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	usabilityCheck, .-usabilityCheck
	.align	2
	.global	initApproximation
	.syntax unified
	.arm
	.fpu softvfp
	.type	initApproximation, %function
initApproximation:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	getF
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	secondDerivative
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	b	.L49
.L46:
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	getF
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L50
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	secondDerivative
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L50
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	b	.L49
.L50:
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
.L49:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	initApproximation, .-initApproximation
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"input.txt\000"
	.align	2
.LC2:
	.ascii	"w\000"
	.align	2
.LC3:
	.ascii	"output.txt\000"
	.align	2
.LC4:
	.ascii	"\320\276\321\210\320\270\320\261\320\272\320\260 \320"
	.ascii	"\276\321\202\320\272\321\200\321\213\321\202\320\270"
	.ascii	"\321\217 \321\204\320\260\320\271\320\273\320\260\012"
	.ascii	"\000"
	.align	2
.LC5:
	.ascii	"%lf\000"
	.align	2
.LC6:
	.ascii	"\320\235\320\260\321\200\321\203\321\210\320\265\320"
	.ascii	"\275\321\213 \321\203\321\201\320\273\320\276\320\262"
	.ascii	"\320\270\321\217 \320\277\321\200\320\270\320\274\320"
	.ascii	"\265\320\275\320\270\320\274\320\276\321\201\321\202"
	.ascii	"\320\270\000"
	.align	2
.LC7:
	.ascii	"x = %.8lf\000"
	.global	__aeabi_d2iz
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #48
	ldr	r3, .L65
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r1, .L65+4
	ldr	r0, .L65+8
	bl	fopen
	str	r0, [fp, #-68]
	ldr	r1, .L65+12
	ldr	r0, .L65+16
	bl	fopen
	str	r0, [fp, #-64]
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	beq	.L58
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bne	.L59
.L58:
	ldr	r3, [fp, #-64]
	mov	r2, #41
	mov	r1, #1
	ldr	r0, .L65+20
	bl	fwrite
	mvn	r3, #0
	b	.L63
.L59:
	sub	r3, fp, #60
	mov	r2, r3
	ldr	r1, .L65+24
	ldr	r0, [fp, #-68]
	bl	__isoc99_fscanf
	sub	r3, fp, #52
	mov	r2, r3
	ldr	r1, .L65+24
	ldr	r0, [fp, #-68]
	bl	__isoc99_fscanf
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	usabilityCheck
	mov	r3, r0
	cmn	r3, #1
	bne	.L61
	ldr	r3, [fp, #-64]
	mov	r2, #56
	mov	r1, #1
	ldr	r0, .L65+28
	bl	fwrite
	mvn	r3, #0
	b	.L63
.L61:
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	initApproximation
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
.L62:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	getF
	mov	r6, r0
	mov	r7, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	firstDerivative
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	bic	r5, r3, #-2147483648
	ldr	r2, .L65+32
	ldr	r3, .L65+36
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L62
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r1, .L65+40
	ldr	r0, [fp, #-64]
	bl	fprintf
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2iz
	mov	r3, r0
.L63:
	ldr	r2, .L65
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L64
	bl	__stack_chk_fail
.L64:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L66:
	.align	2
.L65:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	-1998362383
	.word	1055193269
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
