	.file	"193894217.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Program wylicza rozwiazania trojmianu kwadratowego."
.LC1:
	.string	"Podaj wspolczynnik a:"
.LC2:
	.string	"%lf"
.LC3:
	.string	"Podaj wspolczynnik b:"
.LC4:
	.string	"Podaj wspolczynnik c:"
	.align 8
.LC6:
	.string	"Wprowadzone wsplczynniki a musi byc rozny od zera."
	.align 8
.LC7:
	.string	" Postac trojmianu kwadratowego: %lfx^2 + %lfx + %lf\n"
	.align 8
.LC10:
	.string	"Istnieja dwa rozwiazania rzeczywiste:"
.LC11:
	.string	"  x1 = %lf\n"
.LC12:
	.string	"  x2 = %lf\n"
	.align 8
.LC13:
	.string	"Istnieje jedno rozwiazanie: %lf\n"
	.align 8
.LC14:
	.string	"Nie istnieje rozwiazanie w zbiorze liczb rzeczywistych"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rax, -32[rbp]
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rax, -32[rbp]
	add	rax, 16
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movsd	xmm0, QWORD PTR -32[rbp]
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jp	.L2
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jne	.L2
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L14
.L2:
	movsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 3
	call	printf@PLT
	movsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR -24[rbp]
	mulsd	xmm0, xmm1
	movsd	xmm2, QWORD PTR -32[rbp]
	movsd	xmm1, QWORD PTR .LC8[rip]
	mulsd	xmm2, xmm1
	movsd	xmm1, QWORD PTR -16[rbp]
	mulsd	xmm1, xmm2
	subsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jbe	.L19
	mov	rax, QWORD PTR -48[rbp]
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -40[rbp], rax
	movsd	xmm0, QWORD PTR -24[rbp]
	movq	xmm1, QWORD PTR .LC9[rip]
	xorpd	xmm0, xmm1
	movapd	xmm1, xmm0
	subsd	xmm1, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR -32[rbp]
	movapd	xmm2, xmm0
	addsd	xmm2, xmm0
	divsd	xmm1, xmm2
	movapd	xmm0, xmm1
	movsd	QWORD PTR -64[rbp], xmm0
	movsd	xmm2, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -32[rbp]
	movapd	xmm2, xmm0
	addsd	xmm2, xmm0
	divsd	xmm1, xmm2
	movapd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	mov	DWORD PTR -68[rbp], 2
	jmp	.L7
.L19:
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -48[rbp]
	jp	.L8
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -48[rbp]
	jne	.L8
	movsd	xmm0, QWORD PTR -24[rbp]
	movq	xmm1, QWORD PTR .LC9[rip]
	xorpd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	movapd	xmm2, xmm0
	addsd	xmm2, xmm0
	divsd	xmm1, xmm2
	movapd	xmm0, xmm1
	movsd	QWORD PTR -64[rbp], xmm0
	mov	DWORD PTR -68[rbp], 1
	jmp	.L7
.L8:
	mov	DWORD PTR -68[rbp], 0
.L7:
	cmp	DWORD PTR -68[rbp], 2
	je	.L10
	cmp	DWORD PTR -68[rbp], 2
	jg	.L11
	cmp	DWORD PTR -68[rbp], 0
	je	.L12
	cmp	DWORD PTR -68[rbp], 1
	je	.L13
	jmp	.L11
.L10:
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -64[rbp]
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -56[rbp]
	movq	xmm0, rax
	lea	rdi, .LC12[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L11
.L13:
	mov	rax, QWORD PTR -64[rbp]
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L11
.L12:
	lea	rdi, .LC14[rip]
	call	puts@PLT
	nop
.L11:
	mov	eax, 0
.L14:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC8:
	.long	0
	.long	1074790400
	.align 16
.LC9:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.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	"193894217.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Program wylicza rozwiazania trojmianu kwadratowego."
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"Podaj wspolczynnik a:\000"
	.align	2
.LC2:
	.ascii	"%lf\000"
	.align	2
.LC3:
	.ascii	"Podaj wspolczynnik b:\000"
	.align	2
.LC4:
	.ascii	"Podaj wspolczynnik c:\000"
	.global	__aeabi_dcmpeq
	.align	2
.LC5:
	.ascii	"Wprowadzone wsplczynniki a musi byc rozny od zera.\000"
	.align	2
.LC6:
	.ascii	" Postac trojmianu kwadratowego: %lfx^2 + %lfx + %lf"
	.ascii	"\012\000"
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.global	__aeabi_dcmpgt
	.global	__aeabi_dadd
	.global	__aeabi_ddiv
	.align	2
.LC7:
	.ascii	"Istnieja dwa rozwiazania rzeczywiste:\000"
	.align	2
.LC8:
	.ascii	"  x1 = %lf\012\000"
	.align	2
.LC9:
	.ascii	"  x2 = %lf\012\000"
	.align	2
.LC10:
	.ascii	"Istnieje jedno rozwiazanie: %lf\012\000"
	.align	2
.LC11:
	.ascii	"Nie istnieje rozwiazanie w zbiorze liczb rzeczywist"
	.ascii	"ych\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.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, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #88
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	ldr	r0, .L22+4
	bl	puts
	ldr	r0, .L22+8
	bl	puts
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L22+12
	bl	__isoc99_scanf
	ldr	r0, .L22+16
	bl	puts
	sub	r3, fp, #60
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L22+12
	bl	__isoc99_scanf
	ldr	r0, .L22+20
	bl	puts
	sub	r3, fp, #60
	add	r3, r3, #16
	mov	r1, r3
	ldr	r0, .L22+12
	bl	__isoc99_scanf
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	ldr	r0, .L22+24
	bl	puts
	mov	r3, #1
	b	.L14
.L19:
	sub	r9, fp, #60
	ldmia	r9, {r8-r9}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	str	r0, [sp, #8]
	str	r1, [sp, #12]
	stm	sp, {r2-r3}
	mov	r2, r8
	mov	r3, r9
	ldr	r0, .L22+28
	bl	printf
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	sub	r3, fp, #52
	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}
	mov	r2, #0
	ldr	r3, .L22+32
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #44
	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]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	sqrt
	str	r0, [fp, #-68]
	str	r1, [fp, #-64]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r6, r2
	eor	r7, r3, #-2147483648
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r3, #2
	str	r3, [fp, #-96]
	b	.L7
.L20:
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r4, r2
	eor	r5, r3, #-2147483648
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	mov	r3, #1
	str	r3, [fp, #-96]
	b	.L7
.L21:
	mov	r3, #0
	str	r3, [fp, #-96]
.L7:
	ldr	r3, [fp, #-96]
	cmp	r3, #2
	beq	.L10
	ldr	r3, [fp, #-96]
	cmp	r3, #2
	bgt	.L11
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-96]
	cmp	r3, #1
	beq	.L13
	b	.L11
.L10:
	ldr	r0, .L22+36
	bl	puts
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	ldr	r0, .L22+40
	bl	printf
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	ldr	r0, .L22+44
	bl	printf
	b	.L11
.L13:
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	ldr	r0, .L22+48
	bl	printf
	b	.L11
.L12:
	ldr	r0, .L22+52
	bl	puts
	nop
.L11:
	mov	r3, #0
.L14:
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC12
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	1074790400
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
