	.file	"139420.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter trigonmetric function with angle in radian :"
.LC1:
	.string	"%c %lf"
	.align 8
.LC2:
	.string	"Value of sin(%.0lf) is %.2lf.\n"
	.align 8
.LC3:
	.string	"Value of cos(%.0lf) is %.2lf.\n"
	.align 8
.LC4:
	.string	"Value of tan(%.0lf) is %.2lf.\n"
.LC5:
	.string	"Invalid input."
	.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	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdx, -16[rbp]
	lea	rax, -17[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 83
	je	.L2
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 115
	jne	.L3
.L2:
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	call	sin@PLT
	movq	rdx, xmm0
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm1, rdx
	movq	xmm0, rax
	lea	rdi, .LC2[rip]
	mov	eax, 2
	call	printf@PLT
	jmp	.L4
.L3:
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 67
	je	.L5
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 99
	jne	.L6
.L5:
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	call	cos@PLT
	movq	rdx, xmm0
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm1, rdx
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 2
	call	printf@PLT
	jmp	.L4
.L6:
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 84
	je	.L7
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 116
	jne	.L8
.L7:
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	call	tan@PLT
	movq	rdx, xmm0
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm1, rdx
	movq	xmm0, rax
	lea	rdi, .LC4[rip]
	mov	eax, 2
	call	printf@PLT
	jmp	.L4
.L8:
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L4:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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	"139420.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter trigonmetric function with angle in radian :\000"
	.align	2
.LC1:
	.ascii	"%c %lf\000"
	.align	2
.LC2:
	.ascii	"Value of sin(%.0lf) is %.2lf.\012\000"
	.align	2
.LC3:
	.ascii	"Value of cos(%.0lf) is %.2lf.\012\000"
	.align	2
.LC4:
	.ascii	"Value of tan(%.0lf) is %.2lf.\012\000"
	.align	2
.LC5:
	.ascii	"Invalid input.\000"
	.align	2
.LC6:
	.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, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L11+4
	bl	puts
	sub	r2, fp, #28
	sub	r3, fp, #29
	mov	r1, r3
	ldr	r0, .L11+8
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	cmp	r3, #83
	beq	.L2
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	cmp	r3, #115
	bne	.L3
.L2:
	sub	r5, fp, #28
	ldmia	r5, {r4-r5}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	sin
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L11+12
	bl	printf
	b	.L4
.L3:
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	cmp	r3, #67
	beq	.L5
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	cmp	r3, #99
	bne	.L6
.L5:
	sub	r5, fp, #28
	ldmia	r5, {r4-r5}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	cos
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L11+16
	bl	printf
	b	.L4
.L6:
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	cmp	r3, #84
	beq	.L7
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	cmp	r3, #116
	bne	.L8
.L7:
	sub	r5, fp, #28
	ldmia	r5, {r4-r5}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	tan
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L11+20
	bl	printf
	b	.L4
.L8:
	ldr	r0, .L11+24
	bl	puts
.L4:
	mov	r3, #0
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
