	.file	"720366.c"
	.intel_syntax noprefix
	.text
	.globl	x
	.bss
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.globl	a
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	c
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.zero	4
	.globl	d
	.align 4
	.type	d, @object
	.size	d, 4
d:
	.zero	4
	.globl	xp
	.align 4
	.type	xp, @object
	.size	xp, 4
xp:
	.zero	4
	.globl	xn
	.align 4
	.type	xn, @object
	.size	xn, 4
xn:
	.zero	4
	.text
	.globl	fact
	.type	fact, @function
fact:
.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
	mov	QWORD PTR -8[rbp], rdi
	cmp	QWORD PTR -8[rbp], 1
	jg	.L2
	movsd	xmm0, QWORD PTR .LC0[rip]
	jmp	.L3
.L2:
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, QWORD PTR -8[rbp]
	movsd	QWORD PTR -16[rbp], xmm1
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, 1
	mov	rdi, rax
	call	fact
	mulsd	xmm0, QWORD PTR -16[rbp]
.L3:
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	fact, .-fact
	.section	.rodata
.LC3:
	.string	"\nValue of e^x = %LG"
	.text
	.globl	expfun
	.type	expfun, @function
expfun:
.LFB7:
	.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
	mov	QWORD PTR -72[rbp], rdi
	fld1
	fstp	TBYTE PTR -48[rbp]
	fldz
	fstp	TBYTE PTR -32[rbp]
	mov	DWORD PTR -60[rbp], 0
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR -56[rbp], xmm0
	jmp	.L5
.L7:
	fstp	st(0)
.L6:
	add	DWORD PTR -60[rbp], 1
	fld	TBYTE PTR -48[rbp]
	fstp	TBYTE PTR -32[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -60[rbp]
	mov	eax, DWORD PTR x[rip]
	pxor	xmm3, xmm3
	cvtsi2sd	xmm3, eax
	movq	rax, xmm3
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rbx, xmm0
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	mov	rdi, rax
	call	fact
	movq	xmm2, rbx
	divsd	xmm2, xmm0
	movsd	QWORD PTR -80[rbp], xmm2
	fld	QWORD PTR -80[rbp]
	fld	TBYTE PTR -48[rbp]
	faddp	st(1), st
	fstp	TBYTE PTR -48[rbp]
.L5:
	fld	TBYTE PTR -48[rbp]
	fld	TBYTE PTR -32[rbp]
	fsubp	st(1), st
	fldz
	fucomip	st, st(1)
	jp	.L7
	fldz
	fcomip	st, st(1)
	fstp	st(0)
	jne	.L6
	push	QWORD PTR -40[rbp]
	push	QWORD PTR -48[rbp]
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	expfun, .-expfun
	.section	.rodata
.LC5:
	.string	"\nPositive root %f"
.LC7:
	.string	"\nNegative root %f"
	.text
	.globl	printval
	.type	printval, @function
printval:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L9
	movss	xmm0, DWORD PTR d[rip]
	movss	xmm2, DWORD PTR b[rip]
	movaps	xmm1, xmm0
	subss	xmm1, xmm2
	movss	xmm0, DWORD PTR a[rip]
	movaps	xmm2, xmm0
	addss	xmm2, xmm0
	divss	xmm1, xmm2
	movaps	xmm0, xmm1
	movss	DWORD PTR xp[rip], xmm0
	movss	xmm0, DWORD PTR xp[rip]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC5[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L10
.L9:
	movss	xmm0, DWORD PTR b[rip]
	movss	xmm1, DWORD PTR .LC6[rip]
	xorps	xmm0, xmm1
	movss	xmm2, DWORD PTR d[rip]
	movaps	xmm1, xmm0
	subss	xmm1, xmm2
	movss	xmm0, DWORD PTR a[rip]
	movaps	xmm2, xmm0
	addss	xmm2, xmm0
	divss	xmm1, xmm2
	movaps	xmm0, xmm1
	movss	DWORD PTR xn[rip], xmm0
	movss	xmm0, DWORD PTR xn[rip]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rax, xmm4
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
.L10:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	printval, .-printval
	.globl	roots
	.type	roots, @function
roots:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movss	xmm1, DWORD PTR b[rip]
	movss	xmm0, DWORD PTR b[rip]
	mulss	xmm0, xmm1
	movss	xmm2, DWORD PTR a[rip]
	movss	xmm1, DWORD PTR .LC8[rip]
	mulss	xmm2, xmm1
	movss	xmm1, DWORD PTR c[rip]
	mulss	xmm1, xmm2
	subss	xmm0, xmm1
	movss	DWORD PTR d[rip], xmm0
	lea	rax, -24[rbp]
	mov	ecx, 0
	lea	rdx, printval[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	lea	rax, -16[rbp]
	mov	ecx, 1
	lea	rdx, printval[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	nop
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	roots, .-roots
	.section	.rodata
	.align 8
.LC9:
	.string	"Enter the value of a b and c (space seprated)"
.LC10:
	.string	"%f%f%f"
.LC11:
	.string	"Enter the value of X for e^x"
.LC12:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, c[rip]
	lea	rdx, b[rip]
	lea	rsi, a[rip]
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, x[rip]
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -24[rbp]
	mov	ecx, 0
	lea	rdx, expfun[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	lea	rax, -16[rbp]
	mov	ecx, 0
	lea	rdx, roots[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	eax, 0
	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
.LFE10:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1072693248
	.align 16
.LC6:
	.long	-2147483648
	.long	0
	.long	0
	.long	0
	.align 4
.LC8:
	.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	"720366.c"
	.text
	.global	x
	.bss
	.align	2
	.type	x, %object
	.size	x, 4
x:
	.space	4
	.comm	a,4,4
	.comm	b,4,4
	.comm	c,4,4
	.comm	d,4,4
	.comm	xp,4,4
	.comm	xn,4,4
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.text
	.align	2
	.global	fact
	.syntax unified
	.arm
	.fpu softvfp
	.type	fact, %function
fact:
	@ 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]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bgt	.L2
	mov	r2, #0
	ldr	r3, .L4
	b	.L3
.L2:
	ldr	r0, [fp, #-16]
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	mov	r0, r3
	bl	fact
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
.L3:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L5:
	.align	2
.L4:
	.word	1072693248
	.size	fact, .-fact
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.global	__aeabi_dsub
	.global	__aeabi_dcmpeq
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Value of e^x = %LG\000"
	.text
	.align	2
	.global	expfun
	.syntax unified
	.arm
	.fpu softvfp
	.type	expfun, %function
expfun:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #40
	str	r0, [fp, #-48]
	mov	r2, #0
	ldr	r3, .L9
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r2, #0
	ldr	r3, .L9
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	b	.L7
.L8:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, .L9+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-40]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	pow
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-40]
	bl	fact
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	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]
.L7:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	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	.L8
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, .L9+8
	bl	printf
	nop
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L10:
	.align	2
.L9:
	.word	1072693248
	.word	x
	.word	.LC0
	.size	expfun, .-expfun
	.global	__aeabi_fsub
	.global	__aeabi_fadd
	.global	__aeabi_fdiv
	.global	__aeabi_f2d
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\012Positive root %f\000"
	.align	2
.LC2:
	.ascii	"\012Negative root %f\000"
	.text
	.align	2
	.global	printval
	.syntax unified
	.arm
	.fpu softvfp
	.type	printval, %function
printval:
	@ 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
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L12
	ldr	r3, .L14
	ldr	r3, [r3]	@ float
	ldr	r2, .L14+4
	ldr	r2, [r2]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r4, r3
	ldr	r3, .L14+8
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L14+12
	str	r2, [r3]	@ float
	ldr	r3, .L14+12
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L14+16
	bl	printf
	b	.L13
.L12:
	ldr	r3, .L14+4
	ldr	r3, [r3]	@ float
	eor	r3, r3, #-2147483648
	ldr	r2, .L14
	ldr	r2, [r2]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r4, r3
	ldr	r3, .L14+8
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L14+20
	str	r2, [r3]	@ float
	ldr	r3, .L14+20
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L14+24
	bl	printf
.L13:
	nop
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L15:
	.align	2
.L14:
	.word	d
	.word	b
	.word	a
	.word	xp
	.word	.LC1
	.word	xn
	.word	.LC2
	.size	printval, .-printval
	.global	__aeabi_fmul
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	roots
	.syntax unified
	.arm
	.fpu softvfp
	.type	roots, %function
roots:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L18+4
	ldr	r3, [r3]	@ float
	ldr	r2, .L18+4
	ldr	r2, [r2]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r3, .L18+8
	ldr	r3, [r3]	@ float
	ldr	r1, .L18+12
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L18+16
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L18+20
	str	r2, [r3]	@ float
	sub	r0, fp, #24
	mov	r3, #0
	ldr	r2, .L18+24
	mov	r1, #0
	bl	pthread_create
	sub	r0, fp, #20
	mov	r3, #1
	ldr	r2, .L18+24
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-24]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-20]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	nop
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC3
	.word	b
	.word	a
	.word	1082130432
	.word	c
	.word	d
	.word	printval
	.size	roots, .-roots
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Enter the value of a b and c (space seprated)\000"
	.align	2
.LC5:
	.ascii	"%f%f%f\000"
	.align	2
.LC6:
	.ascii	"Enter the value of X for e^x\000"
	.align	2
.LC7:
	.ascii	"%d\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 = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L23+4
	bl	printf
	ldr	r3, .L23+8
	ldr	r2, .L23+12
	ldr	r1, .L23+16
	ldr	r0, .L23+20
	bl	__isoc99_scanf
	ldr	r0, .L23+24
	bl	printf
	ldr	r1, .L23+28
	ldr	r0, .L23+32
	bl	__isoc99_scanf
	sub	r0, fp, #16
	mov	r3, #0
	ldr	r2, .L23+36
	mov	r1, #0
	bl	pthread_create
	sub	r0, fp, #12
	mov	r3, #0
	ldr	r2, .L23+40
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-16]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-12]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	mov	r3, #0
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC8
	.word	.LC4
	.word	c
	.word	b
	.word	a
	.word	.LC5
	.word	.LC6
	.word	x
	.word	.LC7
	.word	expfun
	.word	roots
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
