	.file	"154827216.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Enter x1: "
.LC1:
	.string	"%f"
.LC2:
	.string	"Enter y1: "
.LC3:
	.string	"Enter x2: "
.LC4:
	.string	"Enter y2: "
.LC5:
	.string	"\n x1 and x2 cannot be same! \n"
.LC7:
	.string	"Linear Equation: y = "
.LC9:
	.string	"x "
.LC11:
	.string	"-x "
.LC12:
	.string	"%.0fx "
.LC13:
	.string	"%.0f"
.LC14:
	.string	"-%.0f"
.LC15:
	.string	"%c %.0f"
	.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L2:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movss	xmm0, DWORD PTR -28[rbp]
	movss	xmm1, DWORD PTR -20[rbp]
	subss	xmm0, xmm1
	movss	xmm1, DWORD PTR -32[rbp]
	movss	xmm2, DWORD PTR -24[rbp]
	subss	xmm1, xmm2
	divss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	movss	xmm1, DWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR -20[rbp]
	mulss	xmm0, xmm1
	movss	xmm2, DWORD PTR -28[rbp]
	movss	xmm1, DWORD PTR -24[rbp]
	mulss	xmm1, xmm2
	subss	xmm0, xmm1
	movss	xmm1, DWORD PTR -32[rbp]
	movss	xmm2, DWORD PTR -24[rbp]
	subss	xmm1, xmm2
	divss	xmm0, xmm1
	movss	DWORD PTR -16[rbp], xmm0
	movss	xmm0, DWORD PTR -32[rbp]
	movss	xmm1, DWORD PTR -24[rbp]
	ucomiss	xmm0, xmm1
	jp	.L3
	ucomiss	xmm0, xmm1
	jne	.L3
	lea	rdi, .LC5[rip]
	call	puts@PLT
	jmp	.L2
.L3:
	movss	xmm0, DWORD PTR -16[rbp]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jb	.L34
	mov	BYTE PTR -33[rbp], 43
	jmp	.L7
.L34:
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -16[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	call	abs@PLT
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	DWORD PTR -16[rbp], xmm0
	mov	BYTE PTR -33[rbp], 45
.L7:
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -12[rbp]
	jp	.L26
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -12[rbp]
	je	.L8
.L26:
	movss	xmm0, DWORD PTR .LC8[rip]
	ucomiss	xmm0, DWORD PTR -12[rbp]
	jp	.L10
	movss	xmm0, DWORD PTR .LC8[rip]
	ucomiss	xmm0, DWORD PTR -12[rbp]
	jne	.L10
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L8
.L10:
	movss	xmm0, DWORD PTR .LC10[rip]
	ucomiss	xmm0, DWORD PTR -12[rbp]
	jp	.L12
	movss	xmm0, DWORD PTR .LC10[rip]
	ucomiss	xmm0, DWORD PTR -12[rbp]
	jne	.L12
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L8
.L12:
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, DWORD PTR -12[rbp]
	movq	rax, xmm4
	movq	xmm0, rax
	lea	rdi, .LC12[rip]
	mov	eax, 1
	call	printf@PLT
.L8:
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -12[rbp]
	jp	.L14
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -12[rbp]
	jne	.L14
	cmp	BYTE PTR -33[rbp], 43
	jne	.L14
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -16[rbp]
	jp	.L30
	pxor	xmm0, xmm0
	comiss	xmm0, DWORD PTR -16[rbp]
	je	.L14
.L30:
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, DWORD PTR -16[rbp]
	movq	rax, xmm5
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L17
.L14:
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -12[rbp]
	jp	.L18
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -12[rbp]
	jne	.L18
	cmp	BYTE PTR -33[rbp], 45
	jne	.L18
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -16[rbp]
	jp	.L32
	pxor	xmm0, xmm0
	comiss	xmm0, DWORD PTR -16[rbp]
	je	.L18
.L32:
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, DWORD PTR -16[rbp]
	movq	rax, xmm6
	movq	xmm0, rax
	lea	rdi, .LC14[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L17
.L18:
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -12[rbp]
	jp	.L33
	pxor	xmm0, xmm0
	comiss	xmm0, DWORD PTR -12[rbp]
	je	.L17
.L33:
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, DWORD PTR -16[rbp]
	movq	rdx, xmm7
	movsx	eax, BYTE PTR -33[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 1
	call	printf@PLT
.L17:
	mov	eax, 0
	call	getch@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC8:
	.long	1065353216
	.align 4
.LC10:
	.long	-1082130432
	.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	"154827216.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter x1: \000"
	.align	2
.LC1:
	.ascii	"%f\000"
	.align	2
.LC2:
	.ascii	"Enter y1: \000"
	.align	2
.LC3:
	.ascii	"Enter x2: \000"
	.align	2
.LC4:
	.ascii	"Enter y2: \000"
	.global	__aeabi_fsub
	.global	__aeabi_fdiv
	.global	__aeabi_fmul
	.global	__aeabi_fcmpeq
	.align	2
.LC5:
	.ascii	"\012 x1 and x2 cannot be same! \012\000"
	.global	__aeabi_fcmpge
	.global	__aeabi_f2d
	.global	__aeabi_i2f
	.align	2
.LC6:
	.ascii	"Linear Equation: y = \000"
	.align	2
.LC7:
	.ascii	"x \000"
	.align	2
.LC8:
	.ascii	"-x \000"
	.align	2
.LC9:
	.ascii	"%.0fx \000"
	.align	2
.LC10:
	.ascii	"%.0f\000"
	.align	2
.LC11:
	.ascii	"-%.0f\000"
	.align	2
.LC12:
	.ascii	"%c %.0f\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	ldr	r3, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
.L2:
	ldr	r0, .L36+4
	bl	printf
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L36+8
	bl	__isoc99_scanf
	ldr	r0, .L36+12
	bl	printf
	sub	r3, fp, #36
	mov	r1, r3
	ldr	r0, .L36+8
	bl	__isoc99_scanf
	ldr	r0, .L36+16
	bl	printf
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L36+8
	bl	__isoc99_scanf
	ldr	r0, .L36+20
	bl	printf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L36+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-36]	@ float
	ldr	r2, [fp, #-28]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-40]	@ float
	ldr	r2, [fp, #-32]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r3, [fp, #-40]	@ float
	ldr	r2, [fp, #-28]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-36]	@ float
	ldr	r2, [fp, #-32]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-40]	@ float
	ldr	r2, [fp, #-32]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r3, [fp, #-40]	@ float
	ldr	r2, [fp, #-32]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L32
	ldr	r0, .L36+24
	bl	puts
	b	.L2
.L32:
	mov	r1, #0
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L33
	mov	r3, #43
	strb	r3, [fp, #-41]
	b	.L7
.L33:
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	abs
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	mov	r3, #45
	strb	r3, [fp, #-41]
.L7:
	ldr	r0, .L36+28
	bl	printf
	mov	r1, #0
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	mov	r1, #1065353216
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L34
	ldr	r0, .L36+32
	bl	printf
	b	.L8
.L34:
	ldr	r1, .L36+36
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L35
	ldr	r0, .L36+40
	bl	printf
	b	.L8
.L35:
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L36+44
	bl	printf
.L8:
	mov	r1, #0
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	cmp	r3, #43
	bne	.L13
	mov	r1, #0
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L36+48
	bl	printf
	b	.L16
.L13:
	mov	r1, #0
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L17
	mov	r1, #0
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L36+52
	bl	printf
	b	.L16
.L17:
	mov	r1, #0
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	ldrb	r4, [fp, #-41]	@ zero_extendqisi2
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r1, r4
	ldr	r0, .L36+56
	bl	printf
.L16:
	bl	getch
	mov	r3, #0
	ldr	r2, .L36
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC13
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	-1082130432
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
