	.file	"45500.c"
	.intel_syntax noprefix
	.text
	.globl	equacao
	.type	equacao, @function
equacao:
.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, 16
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	cos@PLT
	addsd	xmm0, xmm0
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR .LC0[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movsd	xmm1, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -16[rbp]
	subsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	equacao, .-equacao
	.globl	derivadaEquacao
	.type	derivadaEquacao, @function
derivadaEquacao:
.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, 16
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	sin@PLT
	movsd	xmm1, QWORD PTR .LC2[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR .LC0[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movsd	xmm1, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -16[rbp]
	subsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	derivadaEquacao, .-derivadaEquacao
	.section	.rodata
.LC3:
	.string	"%lf %lf"
	.text
	.globl	valoresIntervalo
	.type	valoresIntervalo, @function
valoresIntervalo:
.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, 16
	mov	esi, 8
	mov	edi, 2
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	valoresIntervalo, .-valoresIntervalo
	.section	.rodata
	.align 8
.LC6:
	.string	"-------Itera\303\247\303\243o k = %d--------\n\n"
.LC7:
	.string	"Xn = %.3lf\n"
.LC8:
	.string	"F(Xn) = %.3lf\n"
.LC9:
	.string	"F'(Xn) = %.3lf\n"
.LC10:
	.string	"Xn+1 = %.3lf\n"
	.align 8
.LC11:
	.string	"\n\n---------------------------------\n"
.LC13:
	.string	"Ra\303\255z aproximada: %.6lf\n\n"
	.text
	.globl	metodoNewton
	.type	metodoNewton, @function
metodoNewton:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	QWORD PTR -64[rbp], xmm1
	movsd	xmm0, QWORD PTR .LC4[rip]
	movsd	QWORD PTR -24[rbp], xmm0
	mov	DWORD PTR -40[rbp], 0
	mov	BYTE PTR -41[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	rax, QWORD PTR -56[rbp]
	movq	xmm0, rax
	call	equacao
	movsd	QWORD PTR -72[rbp], xmm0
	mov	rax, QWORD PTR -64[rbp]
	movq	xmm0, rax
	call	equacao
	movsd	xmm1, QWORD PTR -72[rbp]
	mulsd	xmm1, xmm0
	pxor	xmm0, xmm0
	comisd	xmm0, xmm1
	seta	al
	mov	BYTE PTR -41[rbp], al
	movzx	eax, BYTE PTR -41[rbp]
	xor	eax, 1
	test	al, al
	je	.L8
	pxor	xmm0, xmm0
	movq	rax, xmm0
	jmp	.L7
.L8:
	cmp	DWORD PTR -40[rbp], 0
	jne	.L10
	mov	rax, QWORD PTR -56[rbp]
	movq	xmm0, rax
	call	derivadaEquacao
	movsd	QWORD PTR -72[rbp], xmm0
	mov	rax, QWORD PTR -64[rbp]
	movq	xmm0, rax
	call	derivadaEquacao
	movq	rax, xmm0
	movq	xmm3, rax
	comisd	xmm3, QWORD PTR -72[rbp]
	jbe	.L17
	movsd	xmm0, QWORD PTR -64[rbp]
	movsd	QWORD PTR -32[rbp], xmm0
	jmp	.L13
.L17:
	mov	rax, QWORD PTR -64[rbp]
	movq	xmm0, rax
	call	derivadaEquacao
	movsd	QWORD PTR -72[rbp], xmm0
	mov	rax, QWORD PTR -56[rbp]
	movq	xmm0, rax
	call	derivadaEquacao
	movq	rax, xmm0
	movq	xmm5, rax
	comisd	xmm5, QWORD PTR -72[rbp]
	jbe	.L13
	movsd	xmm0, QWORD PTR -56[rbp]
	movsd	QWORD PTR -32[rbp], xmm0
.L13:
	mov	DWORD PTR -40[rbp], 1
.L10:
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rax
	call	equacao
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rax
	call	derivadaEquacao
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	movsd	xmm0, QWORD PTR -16[rbp]
	movapd	xmm1, xmm0
	divsd	xmm1, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR -32[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	add	DWORD PTR -36[rbp], 1
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rax
	call	equacao
	movq	rax, xmm0
	movq	xmm0, QWORD PTR .LC12[rip]
	movq	xmm2, rax
	andpd	xmm2, xmm0
	movapd	xmm0, xmm2
	comisd	xmm0, QWORD PTR -24[rbp]
	ja	.L8
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
.L7:
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	metodoNewton, .-metodoNewton
	.section	.rodata
.LC14:
	.string	"Xk            = %.3lf\n"
	.align 8
.LC15:
	.string	"Intervalo     = [%.3lf,%.3lf]\n"
.LC16:
	.string	"| F(%.3lf) |  = %.6lf\n"
.LC17:
	.string	"bk - ak       = %.6lf\n"
.LC18:
	.string	"Intervalo:[%.3lf,%.3lf]\n"
	.text
	.globl	metodoPosicaoFalsa
	.type	metodoPosicaoFalsa, @function
metodoPosicaoFalsa:
.LFB10:
	.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
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	QWORD PTR -64[rbp], xmm1
	movsd	xmm0, QWORD PTR .LC4[rip]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	BYTE PTR -37[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	rax, QWORD PTR -56[rbp]
	movq	xmm0, rax
	call	equacao
	movsd	QWORD PTR -72[rbp], xmm0
	mov	rax, QWORD PTR -64[rbp]
	movq	xmm0, rax
	call	equacao
	movsd	xmm1, QWORD PTR -72[rbp]
	mulsd	xmm1, xmm0
	pxor	xmm0, xmm0
	comisd	xmm0, xmm1
	seta	al
	mov	BYTE PTR -37[rbp], al
	movzx	eax, BYTE PTR -37[rbp]
	xor	eax, 1
	test	al, al
	je	.L19
	pxor	xmm0, xmm0
	movq	rax, xmm0
	jmp	.L18
.L19:
	mov	rax, QWORD PTR -64[rbp]
	movq	xmm0, rax
	call	equacao
	movq	rax, xmm0
	movq	xmm2, rax
	mulsd	xmm2, QWORD PTR -56[rbp]
	movsd	QWORD PTR -72[rbp], xmm2
	mov	rax, QWORD PTR -56[rbp]
	movq	xmm0, rax
	call	equacao
	movq	rax, xmm0
	movq	xmm0, rax
	mulsd	xmm0, QWORD PTR -64[rbp]
	movsd	xmm2, QWORD PTR -72[rbp]
	subsd	xmm2, xmm0
	movsd	QWORD PTR -72[rbp], xmm2
	mov	rax, QWORD PTR -64[rbp]
	movq	xmm0, rax
	call	equacao
	movq	rbx, xmm0
	mov	rax, QWORD PTR -56[rbp]
	movq	xmm0, rax
	call	equacao
	movq	xmm1, rbx
	subsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -56[rbp]
	movq	xmm0, rax
	call	equacao
	movsd	QWORD PTR -72[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	call	equacao
	movsd	xmm1, QWORD PTR -72[rbp]
	mulsd	xmm1, xmm0
	pxor	xmm0, xmm0
	comisd	xmm0, xmm1
	jbe	.L27
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR -64[rbp], xmm0
	jmp	.L23
.L27:
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	call	equacao
	movsd	QWORD PTR -72[rbp], xmm0
	mov	rax, QWORD PTR -64[rbp]
	movq	xmm0, rax
	call	equacao
	movsd	xmm1, QWORD PTR -72[rbp]
	mulsd	xmm1, xmm0
	pxor	xmm0, xmm0
	comisd	xmm0, xmm1
	jbe	.L23
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR -56[rbp], xmm0
.L23:
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	lea	rdi, .LC14[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC15[rip]
	mov	eax, 2
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	call	equacao
	movq	rax, xmm0
	movq	xmm0, QWORD PTR .LC12[rip]
	movq	xmm3, rax
	andpd	xmm3, xmm0
	movapd	xmm0, xmm3
	mov	rax, QWORD PTR -24[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC16[rip]
	mov	eax, 2
	call	printf@PLT
	movsd	xmm0, QWORD PTR -64[rbp]
	subsd	xmm0, QWORD PTR -56[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC17[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	add	DWORD PTR -36[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	call	equacao
	movq	rax, xmm0
	movq	xmm0, QWORD PTR .LC12[rip]
	movq	xmm4, rax
	andpd	xmm4, xmm0
	movapd	xmm0, xmm4
	comisd	xmm0, QWORD PTR -32[rbp]
	ja	.L19
	movsd	xmm0, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC18[rip]
	mov	eax, 2
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
.L18:
	movq	xmm0, rax
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	metodoPosicaoFalsa, .-metodoPosicaoFalsa
	.section	.rodata
.LC20:
	.string	"%.lf\n"
.LC21:
	.string	"| F(%.6lf) |  = %.6lf\n"
.LC22:
	.string	"bk - ak       = %.3lf\n"
	.align 8
.LC23:
	.string	"\n\n---------------------------------"
	.text
	.globl	metodoBisseccao
	.type	metodoBisseccao, @function
metodoBisseccao:
.LFB11:
	.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
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	QWORD PTR -48[rbp], xmm1
	movsd	xmm0, QWORD PTR .LC4[rip]
	movsd	QWORD PTR -16[rbp], xmm0
	mov	BYTE PTR -21[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	movq	xmm0, rax
	call	equacao
	movsd	QWORD PTR -56[rbp], xmm0
	mov	rax, QWORD PTR -48[rbp]
	movq	xmm0, rax
	call	equacao
	movsd	xmm1, QWORD PTR -56[rbp]
	mulsd	xmm1, xmm0
	pxor	xmm0, xmm0
	comisd	xmm0, xmm1
	seta	al
	mov	BYTE PTR -21[rbp], al
	movzx	eax, BYTE PTR -21[rbp]
	xor	eax, 1
	test	al, al
	je	.L29
	pxor	xmm0, xmm0
	movq	rax, xmm0
	jmp	.L28
.L29:
	movsd	xmm0, QWORD PTR -48[rbp]
	subsd	xmm0, QWORD PTR -40[rbp]
	movq	xmm1, QWORD PTR .LC12[rip]
	andpd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	comisd	xmm0, xmm1
	jbe	.L31
	movsd	xmm0, QWORD PTR -40[rbp]
	addsd	xmm0, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR .LC19[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC20[rip]
	mov	eax, 1
	call	printf@PLT
.L31:
	mov	DWORD PTR -20[rbp], 0
.L37:
	movsd	xmm0, QWORD PTR -40[rbp]
	addsd	xmm0, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR .LC19[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -40[rbp]
	movq	xmm0, rax
	call	equacao
	movsd	QWORD PTR -56[rbp], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	equacao
	movsd	xmm1, QWORD PTR -56[rbp]
	mulsd	xmm1, xmm0
	pxor	xmm0, xmm0
	comisd	xmm0, xmm1
	jbe	.L41
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR -48[rbp], xmm0
	jmp	.L35
.L41:
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	equacao
	movsd	QWORD PTR -56[rbp], xmm0
	mov	rax, QWORD PTR -48[rbp]
	movq	xmm0, rax
	call	equacao
	movsd	xmm1, QWORD PTR -56[rbp]
	mulsd	xmm1, xmm0
	pxor	xmm0, xmm0
	comisd	xmm0, xmm1
	jbe	.L35
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR -40[rbp], xmm0
.L35:
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	lea	rdi, .LC14[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC15[rip]
	mov	eax, 2
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	equacao
	movq	rax, xmm0
	movq	xmm0, QWORD PTR .LC12[rip]
	movq	xmm2, rax
	andpd	xmm2, xmm0
	movapd	xmm0, xmm2
	mov	rax, QWORD PTR -8[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC21[rip]
	mov	eax, 2
	call	printf@PLT
	movsd	xmm0, QWORD PTR -48[rbp]
	subsd	xmm0, QWORD PTR -40[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC22[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	add	DWORD PTR -20[rbp], 1
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	equacao
	movq	rax, xmm0
	movq	xmm0, QWORD PTR .LC12[rip]
	movq	xmm3, rax
	andpd	xmm3, xmm0
	movapd	xmm0, xmm3
	comisd	xmm0, QWORD PTR -16[rbp]
	ja	.L37
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC18[rip]
	mov	eax, 2
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
.L28:
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	metodoBisseccao, .-metodoBisseccao
	.section	.rodata
.LC24:
	.string	"clear"
	.align 8
.LC25:
	.string	"\033[1;31mNao ha raizes dentro desse intervalo!\n\033[0m"
	.align 8
.LC26:
	.string	"Informe um novo intervalo para buscar a raiz aproximada \033[1;34m(ex[0,1] = digite 0 1)\n\n\033[0m"
	.text
	.globl	verificaIntervalos
	.type	verificaIntervalos, @function
verificaIntervalos:
.LFB12:
	.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
	mov	QWORD PTR -8[rbp], rdi
.L43:
	lea	rdi, .LC24[rip]
	call	system@PLT
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	valoresIntervalo
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	movq	xmm0, rax
	call	equacao
	movsd	QWORD PTR -16[rbp], xmm0
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	movq	xmm0, rax
	call	equacao
	movsd	xmm1, QWORD PTR -16[rbp]
	mulsd	xmm1, xmm0
	pxor	xmm0, xmm0
	comisd	xmm0, xmm1
	seta	al
	xor	eax, 1
	test	al, al
	jne	.L43
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	verificaIntervalos, .-verificaIntervalos
	.section	.rodata
	.align 8
.LC27:
	.string	"Resolu\303\247\303\243o da equa\303\247\303\242o n\303\243o-linear: F(x) = 2cos(x) - 0.5e^x\n\n"
.LC28:
	.string	"[1]-M\303\251todo da bissec\303\247\303\243o\n"
	.align 8
.LC29:
	.string	"[2]-M\303\251todo da Posi\303\247\303\243o Falsa\n"
	.align 8
.LC30:
	.string	"[3]-M\303\251todo de Newton-Raphson\n"
.LC31:
	.string	"[4]-Sair"
.LC32:
	.string	"%d"
	.text
	.globl	menu
	.type	menu, @function
menu:
.LFB13:
	.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
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC27[rip]
	call	puts@PLT
	lea	rdi, .LC28[rip]
	call	puts@PLT
	lea	rdi, .LC29[rip]
	call	puts@PLT
	lea	rdi, .LC30[rip]
	call	puts@PLT
	lea	rdi, .LC31[rip]
	call	puts@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L47
	call	__stack_chk_fail@PLT
.L47:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	menu, .-menu
	.section	.rodata
	.align 8
.LC33:
	.string	"Informe o intervalo onde deve se buscar a raiz aproximada \033[1;34m(ex[0,1] = digite 0 1)\n\n\033[0m"
.LC34:
	.string	"Op\303\247\303\243o incorreta!"
	.text
	.globl	main
	.type	main, @function
main:
.LFB14:
	.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
	mov	BYTE PTR -13[rbp], 0
.L58:
	mov	eax, 0
	call	menu
	mov	DWORD PTR -12[rbp], eax
	lea	rdi, .LC24[rip]
	call	system@PLT
	cmp	DWORD PTR -12[rbp], 3
	je	.L49
	cmp	DWORD PTR -12[rbp], 3
	jg	.L50
	cmp	DWORD PTR -12[rbp], 1
	je	.L51
	cmp	DWORD PTR -12[rbp], 2
	je	.L52
	jmp	.L50
.L51:
	lea	rdi, .LC24[rip]
	call	system@PLT
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	valoresIntervalo
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	metodoBisseccao
	movq	rax, xmm0
	pxor	xmm0, xmm0
	movq	xmm2, rax
	ucomisd	xmm2, xmm0
	setp	dl
	mov	ecx, 1
	pxor	xmm0, xmm0
	movq	xmm3, rax
	ucomisd	xmm3, xmm0
	mov	eax, ecx
	cmove	eax, edx
	mov	BYTE PTR -13[rbp], al
	movzx	eax, BYTE PTR -13[rbp]
	xor	eax, 1
	test	al, al
	je	.L60
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	verificaIntervalos
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	metodoBisseccao
	jmp	.L60
.L52:
	lea	rdi, .LC24[rip]
	call	system@PLT
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	valoresIntervalo
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	metodoPosicaoFalsa
	movq	rax, xmm0
	pxor	xmm0, xmm0
	movq	xmm4, rax
	ucomisd	xmm4, xmm0
	setp	dl
	mov	ecx, 1
	pxor	xmm0, xmm0
	movq	xmm5, rax
	ucomisd	xmm5, xmm0
	mov	eax, ecx
	cmove	eax, edx
	mov	BYTE PTR -13[rbp], al
	movzx	eax, BYTE PTR -13[rbp]
	xor	eax, 1
	test	al, al
	je	.L61
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	verificaIntervalos
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	metodoPosicaoFalsa
	jmp	.L61
.L49:
	lea	rdi, .LC24[rip]
	call	system@PLT
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	valoresIntervalo
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	metodoNewton
	movq	rax, xmm0
	pxor	xmm0, xmm0
	movq	xmm6, rax
	ucomisd	xmm6, xmm0
	setp	dl
	mov	ecx, 1
	pxor	xmm0, xmm0
	movq	xmm7, rax
	ucomisd	xmm7, xmm0
	mov	eax, ecx
	cmove	eax, edx
	mov	BYTE PTR -13[rbp], al
	movzx	eax, BYTE PTR -13[rbp]
	xor	eax, 1
	test	al, al
	je	.L62
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	verificaIntervalos
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	metodoNewton
	jmp	.L62
.L50:
	cmp	DWORD PTR -12[rbp], 4
	je	.L63
	lea	rdi, .LC34[rip]
	call	puts@PLT
	jmp	.L63
.L60:
	nop
	jmp	.L54
.L61:
	nop
	jmp	.L54
.L62:
	nop
	jmp	.L54
.L63:
	nop
.L54:
	cmp	DWORD PTR -12[rbp], 4
	jne	.L58
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	-1539316279
	.long	1074118367
	.align 8
.LC1:
	.long	0
	.long	1071644672
	.align 8
.LC2:
	.long	0
	.long	-1073741824
	.align 8
.LC4:
	.long	-755914244
	.long	1062232653
	.align 16
.LC12:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 8
.LC19:
	.long	0
	.long	1073741824
	.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	"45500.c"
	.text
	.global	__aeabi_dadd
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.align	2
	.global	equacao
	.syntax unified
	.arm
	.fpu softvfp
	.type	equacao, %function
equacao:
	@ 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]
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	cos
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L3
	ldr	r1, .L3+4
	bl	pow
	mov	r2, #0
	ldr	r3, .L3+8
	bl	__aeabi_dmul
	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
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L4:
	.align	2
.L3:
	.word	-1539316279
	.word	1074118367
	.word	1071644672
	.size	equacao, .-equacao
	.align	2
	.global	derivadaEquacao
	.syntax unified
	.arm
	.fpu softvfp
	.type	derivadaEquacao, %function
derivadaEquacao:
	@ 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]
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	sin
	mov	r2, #0
	mov	r3, #-1073741824
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L7
	ldr	r1, .L7+4
	bl	pow
	mov	r2, #0
	ldr	r3, .L7+8
	bl	__aeabi_dmul
	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
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L8:
	.align	2
.L7:
	.word	-1539316279
	.word	1074118367
	.word	1071644672
	.size	derivadaEquacao, .-derivadaEquacao
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%lf %lf\000"
	.text
	.align	2
	.global	valoresIntervalo
	.syntax unified
	.arm
	.fpu softvfp
	.type	valoresIntervalo, %function
valoresIntervalo:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r1, #8
	mov	r0, #2
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L11
	bl	__isoc99_scanf
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.size	valoresIntervalo, .-valoresIntervalo
	.global	__aeabi_dcmplt
	.section	.rodata
	.align	2
.LC1:
	.ascii	"-------Itera\303\247\303\243o k = %d--------\012\012"
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"Xn = %.3lf\012\000"
	.global	__aeabi_ddiv
	.align	2
.LC3:
	.ascii	"F(Xn) = %.3lf\012\000"
	.align	2
.LC4:
	.ascii	"F'(Xn) = %.3lf\012\000"
	.align	2
.LC5:
	.ascii	"Xn+1 = %.3lf\012\000"
	.align	2
.LC6:
	.ascii	"\012\012---------------------------------\012\000"
	.align	2
.LC7:
	.ascii	"Ra\303\255z aproximada: %.6lf\012\012\000"
	.text
	.align	2
	.global	metodoNewton
	.syntax unified
	.arm
	.fpu softvfp
	.type	metodoNewton, %function
metodoNewton:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #64
	str	r0, [fp, #-76]
	str	r1, [fp, #-72]
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r2, .L25
	ldr	r3, .L25+4
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #0
	strb	r3, [fp, #-61]
	mov	r3, #0
	str	r3, [fp, #-56]
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	equacao
	mov	r6, r0
	mov	r7, r1
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	equacao
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r3, #1
	mov	r6, r3
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L14
	mov	r3, #0
	mov	r6, r3
.L14:
	strb	r6, [fp, #-61]
	ldrb	r3, [fp, #-61]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L15
	mov	r2, #0
	mov	r3, #0
	b	.L13
.L15:
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bne	.L17
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	derivadaEquacao
	mov	r6, r0
	mov	r7, r1
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	derivadaEquacao
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	b	.L20
.L24:
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	derivadaEquacao
	mov	r6, r0
	mov	r7, r1
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	derivadaEquacao
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
.L20:
	mov	r3, #1
	str	r3, [fp, #-60]
.L17:
	ldr	r1, [fp, #-56]
	ldr	r0, .L25+8
	bl	printf
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	ldr	r0, .L25+12
	bl	printf
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	equacao
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	derivadaEquacao
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, .L25+16
	bl	printf
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L25+20
	bl	printf
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	ldr	r0, .L25+24
	bl	printf
	ldr	r0, .L25+28
	bl	puts
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	equacao
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	bic	r5, r3, #-2147483648
	mov	r2, r4
	mov	r3, r5
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	ldr	r0, .L25+32
	bl	printf
.L13:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L26:
	.align	2
.L25:
	.word	-755914244
	.word	1062232653
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	metodoNewton, .-metodoNewton
	.section	.rodata
	.align	2
.LC8:
	.ascii	"Xk            = %.3lf\012\000"
	.align	2
.LC9:
	.ascii	"Intervalo     = [%.3lf,%.3lf]\012\000"
	.align	2
.LC10:
	.ascii	"| F(%.3lf) |  = %.6lf\012\000"
	.align	2
.LC11:
	.ascii	"bk - ak       = %.6lf\012\000"
	.align	2
.LC12:
	.ascii	"Intervalo:[%.3lf,%.3lf]\012\000"
	.text
	.align	2
	.global	metodoPosicaoFalsa
	.syntax unified
	.arm
	.fpu softvfp
	.type	metodoPosicaoFalsa, %function
metodoPosicaoFalsa:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #56
	str	r0, [fp, #-60]
	str	r1, [fp, #-56]
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r2, .L38
	ldr	r3, .L38+4
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r3, #0
	strb	r3, [fp, #-49]
	mov	r3, #0
	str	r3, [fp, #-48]
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	equacao
	mov	r8, r0
	mov	r9, r1
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	equacao
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r3, #1
	mov	r8, r3
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L28
	mov	r3, #0
	mov	r8, r3
.L28:
	strb	r8, [fp, #-49]
	ldrb	r3, [fp, #-49]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L29
	mov	r2, #0
	mov	r3, #0
	b	.L27
.L29:
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	equacao
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	equacao
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	equacao
	mov	r8, r0
	mov	r9, r1
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	equacao
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	equacao
	mov	r8, r0
	mov	r9, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	equacao
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L37
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	b	.L33
.L37:
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	equacao
	mov	r8, r0
	mov	r9, r1
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	equacao
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L33
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
.L33:
	ldr	r1, [fp, #-48]
	ldr	r0, .L38+8
	bl	printf
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, .L38+12
	bl	printf
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	ldr	r0, .L38+16
	bl	printf
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	equacao
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	bic	r5, r3, #-2147483648
	stm	sp, {r4-r5}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, .L38+20
	bl	printf
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L38+24
	bl	printf
	ldr	r0, .L38+28
	bl	puts
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	equacao
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	bic	r7, r3, #-2147483648
	mov	r2, r6
	mov	r3, r7
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L29
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	ldr	r0, .L38+32
	bl	printf
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, .L38+36
	bl	printf
.L27:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L39:
	.align	2
.L38:
	.word	-755914244
	.word	1062232653
	.word	.LC1
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC6
	.word	.LC12
	.word	.LC7
	.size	metodoPosicaoFalsa, .-metodoPosicaoFalsa
	.global	__aeabi_dcmpgt
	.section	.rodata
	.align	2
.LC13:
	.ascii	"%.lf\012\000"
	.align	2
.LC14:
	.ascii	"| F(%.6lf) |  = %.6lf\012\000"
	.align	2
.LC15:
	.ascii	"bk - ak       = %.3lf\012\000"
	.align	2
.LC16:
	.ascii	"\012\012---------------------------------\000"
	.text
	.align	2
	.global	metodoBisseccao
	.syntax unified
	.arm
	.fpu softvfp
	.type	metodoBisseccao, %function
metodoBisseccao:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #60
	str	r0, [fp, #-68]
	str	r1, [fp, #-64]
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r2, .L55
	ldr	r3, .L55+4
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	mov	r3, #0
	strb	r3, [fp, #-57]
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	equacao
	str	r0, [fp, #-84]
	str	r1, [fp, #-80]
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	equacao
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r3, #1
	mov	r10, r3
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L41
	mov	r3, #0
	mov	r10, r3
.L41:
	strb	r10, [fp, #-57]
	ldrb	r3, [fp, #-57]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L42
	mov	r2, #0
	mov	r3, #0
	b	.L40
.L42:
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	bic	r9, r3, #-2147483648
	mov	r2, r8
	mov	r3, r9
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L44
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L55+8
	bl	printf
.L44:
	mov	r3, #0
	str	r3, [fp, #-56]
.L50:
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	equacao
	mov	r8, r0
	mov	r9, r1
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	equacao
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L54
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	b	.L48
.L54:
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	equacao
	mov	r8, r0
	mov	r9, r1
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	equacao
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L48
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
.L48:
	ldr	r1, [fp, #-56]
	ldr	r0, .L55+12
	bl	printf
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r0, .L55+16
	bl	printf
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	ldr	r0, .L55+20
	bl	printf
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	equacao
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	bic	r5, r3, #-2147483648
	stm	sp, {r4-r5}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r0, .L55+24
	bl	printf
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L55+28
	bl	printf
	ldr	r0, .L55+32
	bl	puts
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	equacao
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	bic	r7, r3, #-2147483648
	mov	r2, r6
	mov	r3, r7
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L50
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	ldr	r0, .L55+36
	bl	printf
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r0, .L55+40
	bl	printf
.L40:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L56:
	.align	2
.L55:
	.word	-755914244
	.word	1062232653
	.word	.LC13
	.word	.LC1
	.word	.LC8
	.word	.LC9
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC12
	.word	.LC7
	.size	metodoBisseccao, .-metodoBisseccao
	.section	.rodata
	.align	2
.LC17:
	.ascii	"clear\000"
	.align	2
.LC18:
	.ascii	"\033[1;31mNao ha raizes dentro desse intervalo!\012"
	.ascii	"\033[0m\000"
	.align	2
.LC19:
	.ascii	"Informe um novo intervalo para buscar a raiz aproxi"
	.ascii	"mada \033[1;34m(ex[0,1] = digite 0 1)\012\012\033[0"
	.ascii	"m\000"
	.text
	.align	2
	.global	verificaIntervalos
	.syntax unified
	.arm
	.fpu softvfp
	.type	verificaIntervalos, %function
verificaIntervalos:
	@ 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, #-16]
.L59:
	ldr	r0, .L61
	bl	system
	ldr	r0, .L61+4
	bl	printf
	ldr	r0, .L61+8
	bl	printf
	bl	valoresIntervalo
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	equacao
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-16]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	equacao
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r3, #1
	mov	r4, r3
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L58
	mov	r3, #0
	mov	r4, r3
.L58:
	and	r3, r4, #255
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L59
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L62:
	.align	2
.L61:
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.size	verificaIntervalos, .-verificaIntervalos
	.section	.rodata
	.align	2
.LC20:
	.ascii	"Resolu\303\247\303\243o da equa\303\247\303\242o n\303"
	.ascii	"\243o-linear: F(x) = 2cos(x) - 0.5e^x\012\012\000"
	.align	2
.LC21:
	.ascii	"[1]-M\303\251todo da bissec\303\247\303\243o\012\000"
	.align	2
.LC22:
	.ascii	"[2]-M\303\251todo da Posi\303\247\303\243o Falsa\012"
	.ascii	"\000"
	.align	2
.LC23:
	.ascii	"[3]-M\303\251todo de Newton-Raphson\012\000"
	.align	2
.LC24:
	.ascii	"[4]-Sair\000"
	.align	2
.LC25:
	.ascii	"%d\000"
	.align	2
.LC26:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	menu, %function
menu:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L66
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L66+4
	bl	puts
	ldr	r0, .L66+8
	bl	puts
	ldr	r0, .L66+12
	bl	puts
	ldr	r0, .L66+16
	bl	puts
	ldr	r0, .L66+20
	bl	puts
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L66+24
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	ldr	r2, .L66
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L65
	bl	__stack_chk_fail
.L65:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L67:
	.align	2
.L66:
	.word	.LC26
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.size	menu, .-menu
	.section	.rodata
	.align	2
.LC27:
	.ascii	"Informe o intervalo onde deve se buscar a raiz apro"
	.ascii	"ximada \033[1;34m(ex[0,1] = digite 0 1)\012\012\033"
	.ascii	"[0m\000"
	.global	__aeabi_dcmpeq
	.align	2
.LC28:
	.ascii	"Op\303\247\303\243o incorreta!\000"
	.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	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	mov	r3, #0
	strb	r3, [fp, #-21]
.L81:
	bl	menu
	str	r0, [fp, #-20]
	ldr	r0, .L87
	bl	system
	ldr	r3, [fp, #-20]
	cmp	r3, #3
	beq	.L69
	ldr	r3, [fp, #-20]
	cmp	r3, #3
	bgt	.L70
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	beq	.L71
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	beq	.L72
	b	.L70
.L71:
	ldr	r0, .L87
	bl	system
	ldr	r0, .L87+4
	bl	printf
	bl	valoresIntervalo
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-16]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	metodoBisseccao
	mov	r3, #1
	mov	r4, r3
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L73
	mov	r3, #0
	mov	r4, r3
.L73:
	strb	r4, [fp, #-21]
	ldrb	r3, [fp, #-21]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L83
	ldr	r0, [fp, #-16]
	bl	verificaIntervalos
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-16]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	metodoBisseccao
	b	.L83
.L72:
	ldr	r0, .L87
	bl	system
	ldr	r0, .L87+4
	bl	printf
	bl	valoresIntervalo
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-16]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	metodoPosicaoFalsa
	mov	r3, #1
	mov	r4, r3
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L76
	mov	r3, #0
	mov	r4, r3
.L76:
	strb	r4, [fp, #-21]
	ldrb	r3, [fp, #-21]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L84
	ldr	r0, [fp, #-16]
	bl	verificaIntervalos
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-16]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	metodoPosicaoFalsa
	b	.L84
.L69:
	ldr	r0, .L87
	bl	system
	ldr	r0, .L87+4
	bl	printf
	bl	valoresIntervalo
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-16]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	metodoNewton
	mov	r3, #1
	mov	r4, r3
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L78
	mov	r3, #0
	mov	r4, r3
.L78:
	strb	r4, [fp, #-21]
	ldrb	r3, [fp, #-21]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L85
	ldr	r0, [fp, #-16]
	bl	verificaIntervalos
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-16]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	metodoNewton
	b	.L85
.L70:
	ldr	r3, [fp, #-20]
	cmp	r3, #4
	beq	.L86
	ldr	r0, .L87+8
	bl	puts
	b	.L86
.L83:
	nop
	b	.L75
.L84:
	nop
	b	.L75
.L85:
	nop
	b	.L75
.L86:
	nop
.L75:
	ldr	r3, [fp, #-20]
	cmp	r3, #4
	bne	.L81
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L88:
	.align	2
.L87:
	.word	.LC17
	.word	.LC27
	.word	.LC28
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
