	.file	"77536.c"
	.intel_syntax noprefix
	.text
	.globl	toPowerOf
	.type	toPowerOf, @function
toPowerOf:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movsd	QWORD PTR -24[rbp], xmm0
	mov	DWORD PTR -28[rbp], edi
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -12[rbp], 2
	jmp	.L2
.L3:
	movsd	xmm0, QWORD PTR -8[rbp]
	mulsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	add	DWORD PTR -12[rbp], 1
.L2:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jle	.L3
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	toPowerOf, .-toPowerOf
	.globl	taylor_tan
	.type	taylor_tan, @function
taylor_tan:
.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, 272
	movsd	QWORD PTR -248[rbp], xmm0
	mov	DWORD PTR -252[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR -224[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR -216[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC1[rip]
	movsd	QWORD PTR -208[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	movsd	QWORD PTR -200[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR -192[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC4[rip]
	movsd	QWORD PTR -184[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC5[rip]
	movsd	QWORD PTR -176[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC6[rip]
	movsd	QWORD PTR -168[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC7[rip]
	movsd	QWORD PTR -160[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC8[rip]
	movsd	QWORD PTR -152[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC9[rip]
	movsd	QWORD PTR -144[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC10[rip]
	movsd	QWORD PTR -136[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC11[rip]
	movsd	QWORD PTR -128[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR -112[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC12[rip]
	movsd	QWORD PTR -104[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC13[rip]
	movsd	QWORD PTR -96[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC14[rip]
	movsd	QWORD PTR -88[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC15[rip]
	movsd	QWORD PTR -80[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC16[rip]
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC17[rip]
	movsd	QWORD PTR -64[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC18[rip]
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC19[rip]
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC20[rip]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC21[rip]
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC22[rip]
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC23[rip]
	movsd	QWORD PTR -16[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -232[rbp], xmm0
	mov	DWORD PTR -240[rbp], 1
	mov	DWORD PTR -236[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -236[rbp]
	movsd	xmm2, QWORD PTR -224[rbp+rax*8]
	movsd	QWORD PTR -264[rbp], xmm2
	mov	edx, DWORD PTR -240[rbp]
	mov	eax, DWORD PTR -236[rbp]
	add	eax, edx
	mov	edx, eax
	mov	rax, QWORD PTR -248[rbp]
	mov	edi, edx
	movq	xmm0, rax
	call	toPowerOf
	mulsd	xmm0, QWORD PTR -264[rbp]
	mov	eax, DWORD PTR -236[rbp]
	movsd	xmm1, QWORD PTR -112[rbp+rax*8]
	divsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -232[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -232[rbp], xmm0
	add	DWORD PTR -240[rbp], 1
	add	DWORD PTR -236[rbp], 1
.L6:
	mov	eax, DWORD PTR -236[rbp]
	cmp	eax, DWORD PTR -252[rbp]
	jb	.L7
	movsd	xmm0, QWORD PTR -232[rbp]
	movq	rax, xmm0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	taylor_tan, .-taylor_tan
	.globl	cfrac_tan
	.type	cfrac_tan, @function
cfrac_tan:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movsd	QWORD PTR -40[rbp], xmm0
	mov	DWORD PTR -44[rbp], edi
	pxor	xmm0, xmm0
	movsd	QWORD PTR -16[rbp], xmm0
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L11
.L14:
	mov	eax, DWORD PTR -20[rbp]
	add	eax, eax
	sub	eax, 1
	mov	eax, eax
	test	rax, rax
	js	.L12
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L13
.L12:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L13:
	divsd	xmm0, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	subsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR .LC0[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	sub	DWORD PTR -20[rbp], 1
.L11:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L14
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	cfrac_tan, .-cfrac_tan
	.globl	isValidNumber
	.type	isValidNumber, @function
isValidNumber:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -24[rbp], 0
	je	.L17
	mov	QWORD PTR -16[rbp], 0
	lea	rdx, -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strtod@PLT
	mov	rax, QWORD PTR -16[rbp]
	test	rax, rax
	je	.L18
	mov	eax, 0
	jmp	.L23
.L18:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	pxor	xmm0, xmm0
	movq	xmm1, rax
	ucomisd	xmm1, xmm0
	jp	.L25
	pxor	xmm0, xmm0
	movq	xmm2, rax
	comisd	xmm2, xmm0
	je	.L26
.L25:
	mov	eax, 1
	jmp	.L23
.L26:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	atoi@PLT
	test	eax, eax
	je	.L22
	mov	eax, 1
	jmp	.L23
.L22:
	mov	eax, 0
	jmp	.L23
.L17:
	mov	eax, 0
.L23:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	isValidNumber, .-isValidNumber
	.section	.rodata
.LC26:
	.string	"%d %e %e %e %e %e\n"
	.text
	.globl	printTanTable
	.type	printTanTable, @function
printTanTable:
.LFB10:
	.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 -72[rbp], xmm0
	mov	DWORD PTR -76[rbp], edi
	mov	DWORD PTR -80[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -76[rbp], 0
	jle	.L28
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, DWORD PTR -80[rbp]
	jg	.L28
	cmp	DWORD PTR -80[rbp], 13
	jg	.L28
	mov	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR -52[rbp], eax
	jmp	.L29
.L30:
	mov	rax, QWORD PTR -72[rbp]
	movq	xmm0, rax
	call	tan@PLT
	movq	rax, xmm0
	mov	QWORD PTR -48[rbp], rax
	mov	edx, DWORD PTR -52[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	edi, edx
	movq	xmm0, rax
	call	taylor_tan
	movq	rax, xmm0
	mov	QWORD PTR -40[rbp], rax
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR -40[rbp]
	subsd	xmm0, xmm1
	movq	xmm1, QWORD PTR .LC25[rip]
	andpd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	edx, DWORD PTR -52[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	edi, edx
	movq	xmm0, rax
	call	cfrac_tan
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR -24[rbp]
	subsd	xmm0, xmm1
	movq	xmm1, QWORD PTR .LC25[rip]
	andpd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm3, QWORD PTR -16[rbp]
	movsd	xmm2, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	movapd	xmm4, xmm3
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC26[rip]
	mov	eax, 5
	call	printf@PLT
	add	DWORD PTR -52[rbp], 1
.L29:
	mov	eax, DWORD PTR -80[rbp]
	cmp	DWORD PTR -52[rbp], eax
	jbe	.L30
	mov	eax, 1
	jmp	.L31
.L28:
	mov	eax, 0
.L31:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	printTanTable, .-printTanTable
	.section	.rodata
.LC27:
	.string	"--help"
.LC28:
	.string	"Usage: proj2 [options]\n"
.LC29:
	.string	"Options:"
	.align 8
.LC30:
	.string	"\t--help\tShows instructions to operate the program"
	.align 8
.LC31:
	.string	"\t--tan angle compStart compEnd"
	.align 8
.LC32:
	.string	"\t\tangle: Angle given in radians"
	.align 8
.LC33:
	.string	"\t\tcompStart: First comparation to be displayed (Higher than 0, lower than 'compEnd')"
	.align 8
.LC34:
	.string	"\t\tcompEnd: Last comparation to be displayed. (Higher than 'compStart', lower than 14.)"
	.align 8
.LC35:
	.string	"\t--m angle_alpha [angle_beta] [-c height]"
	.align 8
.LC36:
	.string	"\t\tangle_alpha: Angle given in radians"
	.align 8
.LC37:
	.string	"\t\tangle_beta: Angle given in radians"
	.align 8
.LC38:
	.string	"\t\t[-c height]: Optional height of sensor placed from the ground (Default 1.5m)"
	.align 8
.LC39:
	.string	"\t\t\theight: Height given in meters"
.LC40:
	.string	"--tan"
	.align 8
.LC41:
	.string	"ERROR: Oops! Something went wrong. Use --help for user manual."
	.align 8
.LC42:
	.string	"ERROR: Use of badly formatted arguments. Use --help for user manual."
.LC43:
	.string	"-m"
.LC45:
	.string	"-c"
.LC46:
	.string	"%.10e\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 80
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	mov	DWORD PTR -80[rbp], 1
	jmp	.L34
.L50:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L35
	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	rdi, .LC32[rip]
	call	puts@PLT
	lea	rdi, .LC33[rip]
	call	puts@PLT
	lea	rdi, .LC34[rip]
	call	puts@PLT
	lea	rdi, .LC35[rip]
	call	puts@PLT
	lea	rdi, .LC36[rip]
	call	puts@PLT
	lea	rdi, .LC37[rip]
	call	puts@PLT
	lea	rdi, .LC38[rip]
	call	puts@PLT
	lea	rdi, .LC39[rip]
	call	puts@PLT
	jmp	.L36
.L35:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC40[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L37
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	isValidNumber
	test	al, al
	je	.L38
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	add	rax, 2
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	isValidNumber
	test	al, al
	je	.L38
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	add	rax, 3
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	isValidNumber
	test	al, al
	je	.L38
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	add	rax, 3
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	r12d, eax
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	add	rax, 2
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	ebx, eax
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	mov	esi, r12d
	mov	edi, ebx
	movq	xmm0, rax
	call	printTanTable
	xor	eax, 1
	test	al, al
	je	.L40
	lea	rdi, .LC41[rip]
	call	puts@PLT
	jmp	.L40
.L38:
	lea	rdi, .LC42[rip]
	call	puts@PLT
	jmp	.L36
.L40:
	jmp	.L36
.L37:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC43[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L41
	movsd	xmm0, QWORD PTR .LC44[rip]
	movsd	QWORD PTR -72[rbp], xmm0
	mov	DWORD PTR -76[rbp], 1
	jmp	.L42
.L46:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC45[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L43
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	isValidNumber
	test	al, al
	je	.L52
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	mov	QWORD PTR -72[rbp], rax
	jmp	.L52
.L43:
	add	DWORD PTR -76[rbp], 1
.L42:
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L46
	jmp	.L45
.L52:
	nop
.L45:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	isValidNumber
	test	al, al
	je	.L47
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	add	rax, 2
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	isValidNumber
	xor	eax, 1
	test	al, al
	je	.L47
	pxor	xmm0, xmm0
	movsd	QWORD PTR -64[rbp], xmm0
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	edi, 10
	movq	xmm0, rax
	call	cfrac_tan
	movapd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	mov	rax, QWORD PTR -56[rbp]
	movq	xmm0, rax
	lea	rdi, .LC46[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L48
.L47:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	isValidNumber
	test	al, al
	je	.L49
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	add	rax, 2
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	isValidNumber
	test	al, al
	je	.L49
	pxor	xmm0, xmm0
	movsd	QWORD PTR -48[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -40[rbp], xmm0
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	add	rax, 2
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	edi, 10
	movq	xmm0, rax
	call	cfrac_tan
	movapd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	rax, QWORD PTR -40[rbp]
	mov	edi, 10
	movq	xmm0, rax
	call	cfrac_tan
	movq	rax, xmm0
	movq	xmm1, rax
	mulsd	xmm1, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR .LC44[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rax
	lea	rdi, .LC46[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	lea	rdi, .LC46[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L48
.L49:
	lea	rdi, .LC42[rip]
	call	puts@PLT
	jmp	.L36
.L48:
	jmp	.L36
.L41:
	lea	rdi, .LC42[rip]
	call	puts@PLT
	add	DWORD PTR -80[rbp], 1
.L34:
	mov	eax, DWORD PTR -80[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L50
.L36:
	mov	eax, 0
	add	rsp, 80
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1072693248
	.align 8
.LC1:
	.long	0
	.long	1073741824
	.align 8
.LC2:
	.long	0
	.long	1076953088
	.align 8
.LC3:
	.long	0
	.long	1078919168
	.align 8
.LC4:
	.long	0
	.long	1083545600
	.align 8
.LC5:
	.long	0
	.long	1087722752
	.align 8
.LC6:
	.long	0
	.long	1093426754
	.align 8
.LC7:
	.long	-2147483648
	.long	1096314489
	.align 8
.LC8:
	.long	-1442840576
	.long	1102738632
	.align 8
.LC9:
	.long	2056257536
	.long	1108449116
	.align 8
.LC10:
	.long	-1860829184
	.long	1111131803
	.align 8
.LC11:
	.long	-1543942656
	.long	1120585074
	.align 8
.LC12:
	.long	0
	.long	1074266112
	.align 8
.LC13:
	.long	0
	.long	1076756480
	.align 8
.LC14:
	.long	0
	.long	1081323520
	.align 8
.LC15:
	.long	0
	.long	1084630528
	.align 8
.LC16:
	.long	0
	.long	1090717864
	.align 8
.LC17:
	.long	-1073741824
	.long	1096233612
	.align 8
.LC18:
	.long	1971322880
	.long	1103300471
	.align 8
.LC19:
	.long	-321388544
	.long	1107572718
	.align 8
.LC20:
	.long	812158976
	.long	1115357881
	.align 8
.LC21:
	.long	-373963232
	.long	1122379835
	.align 8
.LC22:
	.long	905487566
	.long	1130751427
	.align 8
.LC23:
	.long	-1019256543
	.long	1137289536
	.align 16
.LC25:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 8
.LC44:
	.long	0
	.long	1073217536
	.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	"77536.c"
	.text
	.global	__aeabi_dmul
	.align	2
	.global	toPowerOf
	.syntax unified
	.arm
	.fpu softvfp
	.type	toPowerOf, %function
toPowerOf:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	str	r2, [fp, #-32]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	mov	r3, #2
	str	r3, [fp, #-16]
	b	.L2
.L3:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	ble	.L3
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	toPowerOf, .-toPowerOf
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.section	.rodata
	.align	3
.LC0:
	.word	0
	.word	1072693248
	.word	0
	.word	1072693248
	.word	0
	.word	1073741824
	.word	0
	.word	1076953088
	.word	0
	.word	1078919168
	.word	0
	.word	1083545600
	.word	0
	.word	1087722752
	.word	0
	.word	1093426754
	.word	2147483648
	.word	1096314489
	.word	2852126720
	.word	1102738632
	.word	2056257536
	.word	1108449116
	.word	2434138112
	.word	1111131803
	.word	2751024640
	.word	1120585074
	.align	3
.LC1:
	.word	0
	.word	1072693248
	.word	0
	.word	1074266112
	.word	0
	.word	1076756480
	.word	0
	.word	1081323520
	.word	0
	.word	1084630528
	.word	0
	.word	1090717864
	.word	3221225472
	.word	1096233612
	.word	1971322880
	.word	1103300471
	.word	3973578752
	.word	1107572718
	.word	812158976
	.word	1115357881
	.word	3921004064
	.word	1122379835
	.word	905487566
	.word	1130751427
	.word	3275710753
	.word	1137289536
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	taylor_tan
	.syntax unified
	.arm
	.fpu softvfp
	.type	taylor_tan, %function
taylor_tan:
	@ args = 0, pretend = 0, frame = 248
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #248
	str	r0, [fp, #-252]
	str	r1, [fp, #-248]
	str	r2, [fp, #-256]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r2, .L10+4
	sub	r3, fp, #228
	mov	r1, r2
	mov	r2, #104
	mov	r0, r3
	bl	memcpy
	ldr	r2, .L10+8
	sub	r3, fp, #124
	mov	r1, r2
	mov	r2, #104
	mov	r0, r3
	bl	memcpy
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-236]
	str	r3, [fp, #-232]
	mov	r3, #1
	str	r3, [fp, #-244]
	mov	r3, #0
	str	r3, [fp, #-240]
	b	.L6
.L7:
	ldr	r3, [fp, #-240]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #216
	ldmia	r3, {r4-r5}
	ldr	r2, [fp, #-244]
	ldr	r3, [fp, #-240]
	add	r3, r2, r3
	mov	r2, r3
	sub	r1, fp, #252
	ldmia	r1, {r0-r1}
	bl	toPowerOf
	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
	ldr	r3, [fp, #-240]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #112
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #236
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-236]
	str	r3, [fp, #-232]
	ldr	r3, [fp, #-244]
	add	r3, r3, #1
	str	r3, [fp, #-244]
	ldr	r3, [fp, #-240]
	add	r3, r3, #1
	str	r3, [fp, #-240]
.L6:
	ldr	r2, [fp, #-240]
	ldr	r3, [fp, #-256]
	cmp	r2, r3
	bcc	.L7
	sub	r3, fp, #236
	ldmia	r3, {r2-r3}
	ldr	r1, .L10
	ldr	r0, [r1]
	ldr	r1, [fp, #-16]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	taylor_tan, .-taylor_tan
	.global	__aeabi_ui2d
	.global	__aeabi_dsub
	.align	2
	.global	cfrac_tan
	.syntax unified
	.arm
	.fpu softvfp
	.type	cfrac_tan, %function
cfrac_tan:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	str	r2, [fp, #-40]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-24]
	b	.L13
.L14:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #1
	sub	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_ui2d
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L16
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
.L13:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L14
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	1072693248
	.size	cfrac_tan, .-cfrac_tan
	.global	__aeabi_dcmpeq
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	isValidNumber
	.syntax unified
	.arm
	.fpu softvfp
	.type	isValidNumber, %function
isValidNumber:
	@ 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, #-16]
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L19
	mov	r3, #0
	str	r3, [fp, #-12]
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	strtod
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L20
	mov	r3, #0
	b	.L25
.L20:
	ldr	r0, [fp, #-16]
	bl	atof
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L28
	mov	r3, #1
	b	.L25
.L28:
	ldr	r0, [fp, #-16]
	bl	atoi
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	mov	r3, #1
	b	.L25
.L24:
	mov	r3, #0
	b	.L25
.L19:
	mov	r3, #0
.L25:
	ldr	r2, .L29
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC3
	.size	isValidNumber, .-isValidNumber
	.section	.rodata
	.align	2
.LC4:
	.ascii	"%d %e %e %e %e %e\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	printTanTable
	.syntax unified
	.arm
	.fpu softvfp
	.type	printTanTable, %function
printTanTable:
	@ 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, #120
	str	r0, [fp, #-92]
	str	r1, [fp, #-88]
	str	r2, [fp, #-96]
	str	r3, [fp, #-100]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	ble	.L32
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-100]
	cmp	r2, r3
	bgt	.L32
	ldr	r3, [fp, #-100]
	cmp	r3, #13
	bgt	.L32
	ldr	r3, [fp, #-96]
	str	r3, [fp, #-80]
	b	.L33
.L34:
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	tan
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r2, [fp, #-80]
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	taylor_tan
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	bic	r5, r3, #-2147483648
	str	r4, [fp, #-60]
	str	r5, [fp, #-56]
	ldr	r2, [fp, #-80]
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	cfrac_tan
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	bic	r7, r3, #-2147483648
	str	r6, [fp, #-44]
	str	r7, [fp, #-40]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	str	r0, [fp, #-116]
	str	r1, [fp, #-112]
	sub	r9, fp, #52
	ldmia	r9, {r8-r9}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	str	r0, [sp, #24]
	str	r1, [sp, #28]
	str	r8, [sp, #16]
	str	r9, [sp, #20]
	sub	r1, fp, #116
	ldmia	r1, {r0-r1}
	str	r0, [sp, #8]
	str	r1, [sp, #12]
	stm	sp, {r2-r3}
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-80]
	ldr	r0, .L37+4
	bl	printf
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L33:
	ldr	r3, [fp, #-100]
	ldr	r2, [fp, #-80]
	cmp	r2, r3
	bls	.L34
	mov	r3, #1
	b	.L35
.L32:
	mov	r3, #0
.L35:
	ldr	r2, .L37
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC5
	.word	.LC4
	.size	printTanTable, .-printTanTable
	.section	.rodata
	.align	2
.LC6:
	.ascii	"--help\000"
	.align	2
.LC7:
	.ascii	"Usage: proj2 [options]\012\000"
	.align	2
.LC8:
	.ascii	"Options:\000"
	.align	2
.LC9:
	.ascii	"\011--help\011Shows instructions to operate the pro"
	.ascii	"gram\000"
	.align	2
.LC10:
	.ascii	"\011--tan angle compStart compEnd\000"
	.align	2
.LC11:
	.ascii	"\011\011angle: Angle given in radians\000"
	.align	2
.LC12:
	.ascii	"\011\011compStart: First comparation to be displaye"
	.ascii	"d (Higher than 0, lower than 'compEnd')\000"
	.align	2
.LC13:
	.ascii	"\011\011compEnd: Last comparation to be displayed. "
	.ascii	"(Higher than 'compStart', lower than 14.)\000"
	.align	2
.LC14:
	.ascii	"\011--m angle_alpha [angle_beta] [-c height]\000"
	.align	2
.LC15:
	.ascii	"\011\011angle_alpha: Angle given in radians\000"
	.align	2
.LC16:
	.ascii	"\011\011angle_beta: Angle given in radians\000"
	.align	2
.LC17:
	.ascii	"\011\011[-c height]: Optional height of sensor plac"
	.ascii	"ed from the ground (Default 1.5m)\000"
	.align	2
.LC18:
	.ascii	"\011\011\011height: Height given in meters\000"
	.align	2
.LC19:
	.ascii	"--tan\000"
	.align	2
.LC20:
	.ascii	"ERROR: Oops! Something went wrong. Use --help for u"
	.ascii	"ser manual.\000"
	.align	2
.LC21:
	.ascii	"ERROR: Use of badly formatted arguments. Use --help"
	.ascii	" for user manual.\000"
	.align	2
.LC22:
	.ascii	"-m\000"
	.align	2
.LC23:
	.ascii	"-c\000"
	.align	2
.LC24:
	.ascii	"%.10e\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #76
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	mov	r3, #1
	str	r3, [fp, #-84]
	b	.L40
.L56:
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L59
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L41
	ldr	r0, .L59+4
	bl	puts
	ldr	r0, .L59+8
	bl	puts
	ldr	r0, .L59+12
	bl	puts
	ldr	r0, .L59+16
	bl	puts
	ldr	r0, .L59+20
	bl	puts
	ldr	r0, .L59+24
	bl	puts
	ldr	r0, .L59+28
	bl	puts
	ldr	r0, .L59+32
	bl	puts
	ldr	r0, .L59+36
	bl	puts
	ldr	r0, .L59+40
	bl	puts
	ldr	r0, .L59+44
	bl	puts
	ldr	r0, .L59+48
	bl	puts
	b	.L42
.L41:
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L59+52
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L43
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	isValidNumber
	mov	r3, r0
	cmp	r3, #0
	beq	.L44
	ldr	r3, [fp, #-84]
	add	r3, r3, #2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	isValidNumber
	mov	r3, r0
	cmp	r3, #0
	beq	.L44
	ldr	r3, [fp, #-84]
	add	r3, r3, #3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	isValidNumber
	mov	r3, r0
	cmp	r3, #0
	beq	.L44
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atof
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-84]
	add	r3, r3, #2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r6, r0
	ldr	r3, [fp, #-84]
	add	r3, r3, #3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	mov	r2, r6
	mov	r0, r4
	mov	r1, r5
	bl	printTanTable
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L46
	ldr	r0, .L59+56
	bl	puts
	b	.L46
.L44:
	ldr	r0, .L59+60
	bl	puts
	b	.L42
.L46:
	b	.L42
.L43:
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L59+64
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L47
	mov	r2, #0
	ldr	r3, .L59+68
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r3, #1
	str	r3, [fp, #-80]
	b	.L48
.L52:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L59+72
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L49
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	isValidNumber
	mov	r3, r0
	cmp	r3, #0
	beq	.L58
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atof
	str	r0, [fp, #-76]
	str	r1, [fp, #-72]
	b	.L58
.L49:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L48:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-88]
	cmp	r2, r3
	blt	.L52
	b	.L51
.L58:
	nop
.L51:
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	isValidNumber
	mov	r3, r0
	cmp	r3, #0
	beq	.L53
	ldr	r3, [fp, #-84]
	add	r3, r3, #2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	isValidNumber
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L53
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atof
	str	r0, [fp, #-68]
	str	r1, [fp, #-64]
	mov	r2, #10
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	cfrac_tan
	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, #-60]
	str	r3, [fp, #-56]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	ldr	r0, .L59+76
	bl	printf
	b	.L54
.L53:
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	isValidNumber
	mov	r3, r0
	cmp	r3, #0
	beq	.L55
	ldr	r3, [fp, #-84]
	add	r3, r3, #2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	isValidNumber
	mov	r3, r0
	cmp	r3, #0
	beq	.L55
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atof
	str	r0, [fp, #-52]
	str	r1, [fp, #-48]
	ldr	r3, [fp, #-84]
	add	r3, r3, #2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atof
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	mov	r2, #10
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	cfrac_tan
	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]
	mov	r2, #10
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	cfrac_tan
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L59+68
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, .L59+76
	bl	printf
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L59+76
	bl	printf
	b	.L54
.L55:
	ldr	r0, .L59+60
	bl	puts
	b	.L42
.L54:
	b	.L42
.L47:
	ldr	r0, .L59+60
	bl	puts
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L40:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-88]
	cmp	r2, r3
	blt	.L56
.L42:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L60:
	.align	2
.L59:
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	1073217536
	.word	.LC23
	.word	.LC24
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
