	.file	"314343.c"
	.intel_syntax noprefix
	.text
	.globl	inf
	.section	.rodata
	.align 8
	.type	inf, @object
	.size	inf, 8
inf:
	.long	0
	.long	2146435072
	.globl	NAN
	.align 8
	.type	NAN, @object
	.size	NAN, 8
NAN:
	.long	0
	.long	2146959360
	.globl	pi2
	.align 8
	.type	pi2, @object
	.size	pi2, 8
pi2:
	.long	1413754136
	.long	1073291771
	.globl	eps
	.align 8
	.type	eps, @object
	.size	eps, 8
eps:
	.long	-2036257893
	.long	1023837339
	.align 8
.LC0:
	.string	"Chyba!\nZle zadane parametre! Pre napovedu pouzite prepinac --help\nProgram sa ukonci!\n"
	.text
	.globl	showError
	.type	showError, @function
showError:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 85
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	showError, .-showError
	.section	.rodata
	.align 8
.LC1:
	.ascii	"Argumenty programu:\n--help  zpusobi, ze program vytiskne na"
	.ascii	"pove"
	.string	"du pouzivani programu a skonci.\n--sqrt X vypocita a vypise druhou odmocninu z cisla X.\n--asin X vypocita a vypise arcus sinus z cisla X.\n--triangle AX AY BX BY CX CY vypocita a vypise tri uhly troujuhelniku, ktery je dan vrcholy A=AX,AY, B=BX,BY a C=CX,CY."
	.text
	.globl	showHelp
	.type	showHelp, @function
showHelp:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC1[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	showHelp, .-showHelp
	.globl	my_fabs
	.type	my_fabs, @function
my_fabs:
.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 -8[rbp], xmm0
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -8[rbp]
	jbe	.L9
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	xmm1, QWORD PTR .LC3[rip]
	xorpd	xmm0, xmm1
	jmp	.L7
.L9:
	movsd	xmm0, QWORD PTR -8[rbp]
.L7:
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	my_fabs, .-my_fabs
	.globl	my_sqrt
	.type	my_sqrt, @function
my_sqrt:
.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, 24
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC4[rip]
	ucomisd	xmm0, QWORD PTR -24[rbp]
	jp	.L11
	ucomisd	xmm0, QWORD PTR -24[rbp]
	jne	.L11
	movsd	xmm0, QWORD PTR .LC4[rip]
	jmp	.L13
.L11:
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -24[rbp]
	jp	.L14
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -24[rbp]
	jne	.L14
	pxor	xmm0, xmm0
	jmp	.L13
.L14:
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -24[rbp]
	jbe	.L22
	movsd	xmm0, QWORD PTR .LC5[rip]
	jmp	.L13
.L22:
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -8[rbp], xmm0
.L18:
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -24[rbp]
	divsd	xmm0, QWORD PTR -16[rbp]
	addsd	xmm0, QWORD PTR -16[rbp]
	movsd	xmm1, QWORD PTR .LC6[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	subsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	my_fabs
	movq	rax, xmm0
	movsd	xmm0, QWORD PTR .LC7[rip]
	mulsd	xmm0, QWORD PTR -16[rbp]
	movq	xmm2, rax
	comisd	xmm2, xmm0
	ja	.L18
	movsd	xmm0, QWORD PTR -16[rbp]
.L13:
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	my_sqrt, .-my_sqrt
	.globl	my_asin
	.type	my_asin, @function
my_asin:
.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, 64
	movsd	QWORD PTR -40[rbp], xmm0
	mov	WORD PTR -22[rbp], 1
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -40[rbp]
	jbe	.L24
	mov	WORD PTR -22[rbp], -1
.L24:
	mov	rax, QWORD PTR -40[rbp]
	movq	xmm0, rax
	call	my_fabs
	movq	rax, xmm0
	mov	QWORD PTR -40[rbp], rax
	movsd	xmm0, QWORD PTR -40[rbp]
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm0, xmm1
	jbe	.L35
	movsd	xmm0, QWORD PTR .LC5[rip]
	jmp	.L28
.L35:
	movsd	xmm0, QWORD PTR -40[rbp]
	mulsd	xmm0, xmm0
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	comisd	xmm0, QWORD PTR .LC9[rip]
	jbe	.L36
	movsx	eax, WORD PTR -22[rbp]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	QWORD PTR -48[rbp], xmm2
	movsd	xmm3, QWORD PTR .LC10[rip]
	movsd	QWORD PTR -56[rbp], xmm3
	movsd	xmm0, QWORD PTR .LC8[rip]
	movapd	xmm4, xmm0
	subsd	xmm4, QWORD PTR -8[rbp]
	movq	rax, xmm4
	movq	xmm0, rax
	call	my_sqrt
	movq	rax, xmm0
	movq	xmm0, rax
	call	my_asin
	movsd	xmm1, QWORD PTR -56[rbp]
	subsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, xmm1
	jmp	.L28
.L36:
	movsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	mov	DWORD PTR -20[rbp], 1
.L31:
	mov	eax, DWORD PTR -20[rbp]
	add	eax, eax
	sub	eax, 1
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movapd	xmm1, xmm0
	mulsd	xmm1, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -20[rbp]
	add	eax, eax
	sub	eax, 1
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mulsd	xmm0, xmm1
	mov	eax, DWORD PTR -20[rbp]
	add	eax, eax
	add	eax, 1
	imul	eax, DWORD PTR -20[rbp]
	add	eax, eax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	divsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -40[rbp]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	addsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	add	DWORD PTR -20[rbp], 1
	mov	rax, QWORD PTR -40[rbp]
	movq	xmm0, rax
	call	my_fabs
	movq	rax, xmm0
	movsd	xmm0, QWORD PTR .LC7[rip]
	mulsd	xmm0, QWORD PTR -16[rbp]
	movq	xmm5, rax
	comisd	xmm5, xmm0
	ja	.L31
	movsx	eax, WORD PTR -22[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mulsd	xmm0, QWORD PTR -16[rbp]
.L28:
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	my_asin, .-my_asin
	.globl	my_acos
	.type	my_acos, @function
my_acos:
.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, 16
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm2, QWORD PTR .LC10[rip]
	movsd	QWORD PTR -16[rbp], xmm2
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	my_asin
	movsd	xmm1, QWORD PTR -16[rbp]
	subsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	my_acos, .-my_acos
	.globl	getVectorLength
	.type	getVectorLength, @function
getVectorLength:
.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, 48
	movq	rcx, xmm0
	movapd	xmm0, xmm1
	mov	eax, 0
	mov	edx, 0
	mov	rax, rcx
	movq	rdx, xmm0
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	movapd	xmm1, xmm2
	movapd	xmm0, xmm3
	mov	eax, 0
	mov	edx, 0
	movq	rax, xmm1
	movq	rdx, xmm0
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR -32[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	movsd	xmm1, QWORD PTR -24[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	my_sqrt
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	getVectorLength, .-getVectorLength
	.globl	isTriangle
	.type	isTriangle, @function
isTriangle:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movsd	xmm0, QWORD PTR 48[rbp]
	movsd	xmm1, QWORD PTR 16[rbp]
	subsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR 32[rbp]
	movsd	xmm2, QWORD PTR 16[rbp]
	subsd	xmm1, xmm2
	divsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR 56[rbp]
	movsd	xmm2, QWORD PTR 24[rbp]
	subsd	xmm1, xmm2
	movsd	xmm2, QWORD PTR 40[rbp]
	movsd	xmm3, QWORD PTR 24[rbp]
	subsd	xmm2, xmm3
	divsd	xmm1, xmm2
	ucomisd	xmm0, xmm1
	jp	.L50
	comisd	xmm0, xmm1
	je	.L42
.L50:
	movsd	xmm0, QWORD PTR 48[rbp]
	movsd	xmm1, QWORD PTR 16[rbp]
	subsd	xmm0, xmm1
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jp	.L44
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jne	.L44
	movsd	xmm0, QWORD PTR 32[rbp]
	movsd	xmm1, QWORD PTR 16[rbp]
	subsd	xmm0, xmm1
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jp	.L44
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	je	.L42
.L44:
	movsd	xmm0, QWORD PTR 56[rbp]
	movsd	xmm1, QWORD PTR 24[rbp]
	subsd	xmm0, xmm1
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jp	.L46
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jne	.L46
	movsd	xmm0, QWORD PTR 40[rbp]
	movsd	xmm1, QWORD PTR 24[rbp]
	subsd	xmm0, xmm1
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jp	.L46
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	je	.L42
.L46:
	mov	eax, 1
	jmp	.L48
.L42:
	mov	eax, 0
.L48:
	and	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	isTriangle, .-isTriangle
	.globl	calcTriangleAngles
	.type	calcTriangleAngles, @function
calcTriangleAngles:
.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, 80
	mov	QWORD PTR -72[rbp], rdi
	movsd	xmm0, QWORD PTR .LC5[rip]
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC5[rip]
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC5[rip]
	movsd	QWORD PTR -16[rbp], xmm0
	push	QWORD PTR 56[rbp]
	push	QWORD PTR 48[rbp]
	push	QWORD PTR 40[rbp]
	push	QWORD PTR 32[rbp]
	push	QWORD PTR 24[rbp]
	push	QWORD PTR 16[rbp]
	call	isTriangle
	add	rsp, 48
	test	al, al
	je	.L52
	movsd	xmm2, QWORD PTR 48[rbp]
	movsd	xmm0, QWORD PTR 56[rbp]
	mov	rax, QWORD PTR 32[rbp]
	movsd	xmm1, QWORD PTR 40[rbp]
	movapd	xmm3, xmm0
	movq	xmm0, rax
	call	getVectorLength
	movq	rax, xmm0
	mov	QWORD PTR -56[rbp], rax
	movsd	xmm2, QWORD PTR 48[rbp]
	movsd	xmm0, QWORD PTR 56[rbp]
	mov	rax, QWORD PTR 16[rbp]
	movsd	xmm1, QWORD PTR 24[rbp]
	movapd	xmm3, xmm0
	movq	xmm0, rax
	call	getVectorLength
	movq	rax, xmm0
	mov	QWORD PTR -48[rbp], rax
	movsd	xmm2, QWORD PTR 32[rbp]
	movsd	xmm0, QWORD PTR 40[rbp]
	mov	rax, QWORD PTR 16[rbp]
	movsd	xmm1, QWORD PTR 24[rbp]
	movapd	xmm3, xmm0
	movq	xmm0, rax
	call	getVectorLength
	movq	rax, xmm0
	mov	QWORD PTR -40[rbp], rax
	movsd	xmm0, QWORD PTR -56[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, xmm0
	subsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	movapd	xmm2, xmm0
	mulsd	xmm2, xmm0
	subsd	xmm1, xmm2
	movapd	xmm0, xmm1
	movq	xmm1, QWORD PTR .LC3[rip]
	xorpd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	addsd	xmm0, xmm0
	mulsd	xmm0, QWORD PTR -40[rbp]
	divsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	my_acos
	movq	rax, xmm0
	mov	QWORD PTR -32[rbp], rax
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	mulsd	xmm0, xmm0
	subsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	movapd	xmm2, xmm0
	mulsd	xmm2, xmm0
	subsd	xmm1, xmm2
	movapd	xmm0, xmm1
	movq	xmm1, QWORD PTR .LC3[rip]
	xorpd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	addsd	xmm0, xmm0
	mulsd	xmm0, QWORD PTR -40[rbp]
	divsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	my_acos
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	movsd	xmm0, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	mulsd	xmm0, xmm0
	subsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm2, xmm0
	mulsd	xmm2, xmm0
	subsd	xmm1, xmm2
	movapd	xmm0, xmm1
	movq	xmm1, QWORD PTR .LC3[rip]
	xorpd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	addsd	xmm0, xmm0
	mulsd	xmm0, QWORD PTR -48[rbp]
	divsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	my_acos
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
.L52:
	mov	rcx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rcx], rax
	mov	rax, QWORD PTR -72[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	calcTriangleAngles, .-calcTriangleAngles
	.section	.rodata
.LC11:
	.string	"--help"
.LC12:
	.string	"--sqrt"
.LC13:
	.string	"%.10e\n"
.LC14:
	.string	"--asin"
.LC15:
	.string	"--triangle"
.LC16:
	.string	"%.10e\n%.10e\n%.10e\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	DWORD PTR -132[rbp], edi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -132[rbp], 1
	jle	.L55
	cmp	DWORD PTR -132[rbp], 8
	jle	.L56
.L55:
	mov	eax, 0
	call	showError
	mov	eax, 1
	jmp	.L72
.L56:
	pxor	xmm0, xmm0
	movsd	QWORD PTR -104[rbp], xmm0
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L58
	mov	eax, 0
	call	showHelp
	mov	eax, 0
	jmp	.L72
.L58:
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L59
	cmp	DWORD PTR -132[rbp], 3
	je	.L60
	mov	eax, 0
	call	showError
	mov	eax, 1
	jmp	.L72
.L60:
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rdx, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strtod@PLT
	movq	rax, xmm0
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -112[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L61
	mov	eax, 0
	call	showError
	mov	eax, 1
	jmp	.L72
.L61:
	mov	rax, QWORD PTR -104[rbp]
	movq	xmm0, rax
	call	my_sqrt
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L62
.L59:
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L63
	cmp	DWORD PTR -132[rbp], 3
	je	.L64
	mov	eax, 0
	call	showError
	mov	eax, 1
	jmp	.L72
.L64:
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rdx, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strtod@PLT
	movq	rax, xmm0
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -112[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L65
	mov	eax, 0
	call	showError
	mov	eax, 1
	jmp	.L72
.L65:
	mov	rax, QWORD PTR -104[rbp]
	movq	xmm0, rax
	call	my_asin
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L62
.L63:
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L66
	cmp	DWORD PTR -132[rbp], 8
	je	.L67
	mov	eax, 0
	call	showError
	mov	eax, 1
	jmp	.L72
.L67:
	mov	DWORD PTR -116[rbp], 0
	jmp	.L69
.L71:
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	add	rax, 2
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rdx, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strtod@PLT
	movq	rax, xmm0
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -112[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L70
	mov	eax, 0
	call	showError
	mov	eax, 1
	jmp	.L72
.L70:
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, -64[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR -104[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -116[rbp], 1
.L69:
	cmp	DWORD PTR -116[rbp], 5
	jle	.L71
	lea	rax, -96[rbp]
	push	QWORD PTR -24[rbp]
	push	QWORD PTR -32[rbp]
	push	QWORD PTR -40[rbp]
	push	QWORD PTR -48[rbp]
	push	QWORD PTR -56[rbp]
	push	QWORD PTR -64[rbp]
	mov	rdi, rax
	call	calcTriangleAngles
	add	rsp, 48
	movsd	xmm1, QWORD PTR -80[rbp]
	movsd	xmm0, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -96[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC16[rip]
	mov	eax, 3
	call	printf@PLT
	jmp	.L62
.L66:
	mov	eax, 0
	call	showError
	mov	eax, 1
	jmp	.L72
.L62:
	mov	eax, 0
.L72:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L73
	call	__stack_chk_fail@PLT
.L73:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	main, .-main
	.section	.rodata
	.align 16
.LC3:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.align 8
.LC4:
	.long	0
	.long	2146435072
	.align 8
.LC5:
	.long	0
	.long	2146959360
	.align 8
.LC6:
	.long	0
	.long	1073741824
	.align 8
.LC7:
	.long	-2036257893
	.long	1023837339
	.align 8
.LC8:
	.long	0
	.long	1072693248
	.align 8
.LC9:
	.long	-453548546
	.long	1072079201
	.align 8
.LC10:
	.long	1413754136
	.long	1073291771
	.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	"314343.c"
	.text
	.global	inf
	.section	.rodata
	.align	3
	.type	inf, %object
	.size	inf, 8
inf:
	.word	0
	.word	2146435072
	.global	NAN
	.align	3
	.type	NAN, %object
	.size	NAN, 8
NAN:
	.word	0
	.word	2146959360
	.global	pi2
	.align	3
	.type	pi2, %object
	.size	pi2, 8
pi2:
	.word	1413754136
	.word	1073291771
	.global	eps
	.align	3
	.type	eps, %object
	.size	eps, 8
eps:
	.word	2258709403
	.word	1023837339
	.align	2
.LC0:
	.ascii	"Chyba!\012Zle zadane parametre! Pre napovedu pouzit"
	.ascii	"e prepinac --help\012Program sa ukonci!\012\000"
	.text
	.align	2
	.global	showError
	.syntax unified
	.arm
	.fpu softvfp
	.type	showError, %function
showError:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r2, #85
	mov	r1, #1
	ldr	r0, .L2+4
	bl	fwrite
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	stderr
	.word	.LC0
	.size	showError, .-showError
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Argumenty programu:\012--help  zpusobi, ze program "
	.ascii	"vytiskne napovedu pouzivani programu a skonci.\012-"
	.ascii	"-sqrt X vypocita a vypise druhou odmocninu z cisla "
	.ascii	"X.\012--asin X vypocita a vypise arcus sinus z cisl"
	.ascii	"a X.\012--triangle AX AY BX BY CX CY vypocita a vyp"
	.ascii	"ise tri uhly troujuhelniku, ktery je dan vrcholy A="
	.ascii	"AX,AY, B=BX,BY a C=CX,CY.\000"
	.text
	.align	2
	.global	showHelp
	.syntax unified
	.arm
	.fpu softvfp
	.type	showHelp, %function
showHelp:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L5
	bl	puts
	nop
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC1
	.size	showHelp, .-showHelp
	.global	__aeabi_dcmplt
	.align	2
	.global	my_fabs
	.syntax unified
	.arm
	.fpu softvfp
	.type	my_fabs, %function
my_fabs:
	@ 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]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	ldr	r4, [fp, #-20]
	ldr	r3, [fp, #-16]
	eor	r5, r3, #-2147483648
	b	.L11
.L13:
	sub	r5, fp, #20
	ldmia	r5, {r4-r5}
.L11:
	mov	r2, r4
	mov	r3, r5
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	my_fabs, .-my_fabs
	.global	__aeabi_dcmpeq
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.global	__aeabi_dcmpgt
	.align	2
	.global	my_sqrt
	.syntax unified
	.arm
	.fpu softvfp
	.type	my_sqrt, %function
my_sqrt:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	mov	r2, #0
	ldr	r3, .L29
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
	mov	r2, #0
	ldr	r3, .L29
	b	.L17
.L26:
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L27
	mov	r2, #0
	mov	r3, #0
	b	.L17
.L27:
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L28
	mov	r2, #0
	ldr	r3, .L29+4
	b	.L17
.L28:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
.L22:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	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
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	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, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	my_fabs
	mov	r4, r0
	mov	r5, r1
	ldr	r0, .L29+8
	ldr	r1, .L29+12
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L22
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
.L17:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L30:
	.align	2
.L29:
	.word	2146435072
	.word	2146959360
	.word	-2036257893
	.word	1023837339
	.size	my_sqrt, .-my_sqrt
	.global	__aeabi_i2d
	.align	2
	.global	my_asin
	.syntax unified
	.arm
	.fpu softvfp
	.type	my_asin, %function
my_asin:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #32
	str	r0, [fp, #-52]
	str	r1, [fp, #-48]
	mov	r3, #1
	strh	r3, [fp, #-42]	@ movhi
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L32
	mvn	r3, #0
	strh	r3, [fp, #-42]	@ movhi
.L32:
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	my_fabs
	str	r0, [fp, #-52]
	str	r1, [fp, #-48]
	mov	r2, #0
	ldr	r3, .L45
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L43
	mov	r2, #0
	ldr	r3, .L45+4
	b	.L36
.L43:
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r2, .L45+8
	ldr	r3, .L45+12
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L44
	ldrsh	r3, [fp, #-42]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r6, .L45+16
	ldr	r7, .L45+20
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L45
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	my_sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	my_asin
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	b	.L36
.L44:
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r3, #1
	str	r3, [fp, #-40]
.L39:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #1
	sub	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #1
	sub	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #1
	add	r3, r3, #1
	ldr	r2, [fp, #-40]
	mul	r3, r2, r3
	lsl	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	my_fabs
	mov	r4, r0
	mov	r5, r1
	ldr	r0, .L45+24
	ldr	r1, .L45+28
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
	ldrsh	r3, [fp, #-42]
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
.L36:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L46:
	.align	2
.L45:
	.word	1072693248
	.word	2146959360
	.word	-453548546
	.word	1072079201
	.word	1413754136
	.word	1073291771
	.word	-2036257893
	.word	1023837339
	.size	my_asin, .-my_asin
	.align	2
	.global	my_acos
	.syntax unified
	.arm
	.fpu softvfp
	.type	my_acos, %function
my_acos:
	@ 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	r4, .L49
	ldr	r5, .L49+4
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	my_asin
	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}
.L50:
	.align	2
.L49:
	.word	1413754136
	.word	1073291771
	.size	my_acos, .-my_acos
	.align	2
	.global	getVectorLength
	.syntax unified
	.arm
	.fpu softvfp
	.type	getVectorLength, %function
getVectorLength:
	@ args = 16, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	sub	ip, fp, #44
	stm	ip, {r0, r1, r2, r3}
	ldmib	fp, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	add	r1, fp, #12
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	my_sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	getVectorLength, .-getVectorLength
	.align	2
	.global	isTriangle
	.syntax unified
	.arm
	.fpu softvfp
	.type	isTriangle, %function
isTriangle:
	@ args = 48, pretend = 16, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	add	r1, fp, #36
	ldmia	r1, {r0-r1}
	ldmib	fp, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	add	r1, fp, #20
	ldmia	r1, {r0-r1}
	ldmib	fp, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	add	r1, fp, #44
	ldmia	r1, {r0-r1}
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	add	r1, fp, #28
	ldmia	r1, {r0-r1}
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L54
	add	r1, fp, #36
	ldmia	r1, {r0-r1}
	ldmib	fp, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L56
	add	r1, fp, #20
	ldmia	r1, {r0-r1}
	ldmib	fp, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L54
.L56:
	add	r1, fp, #44
	ldmia	r1, {r0-r1}
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L58
	add	r1, fp, #28
	ldmia	r1, {r0-r1}
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L54
.L58:
	mov	r3, #1
	b	.L60
.L54:
	mov	r3, #0
.L60:
	and	r3, r3, #1
	and	r3, r3, #255
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, lr}
	add	sp, sp, #16
	bx	lr
	.size	isTriangle, .-isTriangle
	.align	2
	.global	calcTriangleAngles
	.syntax unified
	.arm
	.fpu softvfp
	.type	calcTriangleAngles, %function
calcTriangleAngles:
	@ args = 48, pretend = 8, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #8
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #96
	str	r0, [fp, #-80]
	add	r1, fp, #4
	stm	r1, {r2, r3}
	mov	r2, #0
	ldr	r3, .L66
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	mov	r2, #0
	ldr	r3, .L66
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r2, #0
	ldr	r3, .L66
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	lr, sp
	add	ip, fp, #20
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2, r3}
	stm	lr, {r0, r1, r2, r3}
	add	r3, fp, #4
	ldm	r3, {r0, r1, r2, r3}
	bl	isTriangle
	mov	r3, r0
	cmp	r3, #0
	beq	.L64
	mov	ip, sp
	add	r3, fp, #36
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	add	r3, fp, #20
	ldm	r3, {r0, r1, r2, r3}
	bl	getVectorLength
	str	r0, [fp, #-76]
	str	r1, [fp, #-72]
	mov	ip, sp
	add	r3, fp, #36
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	add	r3, fp, #4
	ldm	r3, {r0, r1, r2, r3}
	bl	getVectorLength
	str	r0, [fp, #-68]
	str	r1, [fp, #-64]
	mov	ip, sp
	add	r3, fp, #20
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	add	r3, fp, #4
	ldm	r3, {r0, r1, r2, r3}
	bl	getVectorLength
	str	r0, [fp, #-60]
	str	r1, [fp, #-56]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	eor	r9, r3, #-2147483648
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	my_acos
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	eor	r7, r3, #-2147483648
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	my_acos
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	eor	r5, r3, #-2147483648
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	my_acos
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
.L64:
	ldr	r3, [fp, #-80]
	mov	lr, r3
	sub	ip, fp, #52
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1}
	stm	lr, {r0, r1}
	ldr	r0, [fp, #-80]
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	sp, sp, #8
	bx	lr
.L67:
	.align	2
.L66:
	.word	2146959360
	.size	calcTriangleAngles, .-calcTriangleAngles
	.section	.rodata
	.align	2
.LC2:
	.ascii	"--help\000"
	.align	2
.LC3:
	.ascii	"--sqrt\000"
	.align	2
.LC4:
	.ascii	"%.10e\012\000"
	.align	2
.LC5:
	.ascii	"--asin\000"
	.align	2
.LC6:
	.ascii	"--triangle\000"
	.align	2
.LC7:
	.ascii	"%.10e\012%.10e\012%.10e\012\000"
	.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 = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #144
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	ldr	r3, .L88
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-112]
	cmp	r3, #1
	ble	.L69
	ldr	r3, [fp, #-112]
	cmp	r3, #8
	ble	.L70
.L69:
	bl	showError
	mov	r3, #1
	b	.L86
.L70:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L88+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L72
	bl	showHelp
	mov	r3, #0
	b	.L86
.L72:
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L88+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L73
	ldr	r3, [fp, #-112]
	cmp	r3, #3
	beq	.L74
	bl	showError
	mov	r3, #1
	b	.L86
.L74:
	ldr	r3, [fp, #-116]
	add	r3, r3, #8
	ldr	r3, [r3]
	sub	r2, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	strtod
	str	r0, [fp, #-100]
	str	r1, [fp, #-96]
	ldr	r3, [fp, #-108]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L75
	bl	showError
	mov	r3, #1
	b	.L86
.L75:
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	bl	my_sqrt
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L88+12
	bl	printf
	b	.L76
.L73:
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L88+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L77
	ldr	r3, [fp, #-112]
	cmp	r3, #3
	beq	.L78
	bl	showError
	mov	r3, #1
	b	.L86
.L78:
	ldr	r3, [fp, #-116]
	add	r3, r3, #8
	ldr	r3, [r3]
	sub	r2, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	strtod
	str	r0, [fp, #-100]
	str	r1, [fp, #-96]
	ldr	r3, [fp, #-108]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L79
	bl	showError
	mov	r3, #1
	b	.L86
.L79:
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	bl	my_asin
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L88+12
	bl	printf
	b	.L76
.L77:
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L88+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L80
	ldr	r3, [fp, #-112]
	cmp	r3, #8
	beq	.L81
	bl	showError
	mov	r3, #1
	b	.L86
.L81:
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L83
.L85:
	ldr	r3, [fp, #-104]
	add	r3, r3, #2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-116]
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r2, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	strtod
	str	r0, [fp, #-100]
	str	r1, [fp, #-96]
	ldr	r3, [fp, #-108]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L84
	bl	showError
	mov	r3, #1
	b	.L86
.L84:
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	sub	r2, fp, #68
	add	r1, r2, r3
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L83:
	ldr	r3, [fp, #-104]
	cmp	r3, #5
	ble	.L85
	sub	r4, fp, #92
	mov	lr, sp
	sub	ip, fp, #60
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1}
	stm	lr, {r0, r1}
	sub	r3, fp, #68
	ldm	r3, {r2, r3}
	mov	r0, r4
	bl	calcTriangleAngles
	sub	r5, fp, #92
	ldmia	r5, {r4-r5}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	str	r0, [sp, #8]
	str	r1, [sp, #12]
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L88+24
	bl	printf
	b	.L76
.L80:
	bl	showError
	mov	r3, #1
	b	.L86
.L76:
	mov	r3, #0
.L86:
	ldr	r2, .L88
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L87
	bl	__stack_chk_fail
.L87:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L89:
	.align	2
.L88:
	.word	.LC8
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
