	.file	"218894422.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"What do you want to do?"
	.align 8
.LC1:
	.string	"\n\t1) Convert degrees to radians.\n\t2) Convert radians to degrees."
.LC2:
	.string	"%d"
.LC3:
	.string	"Enter your value in degrees: "
.LC4:
	.string	"Enter your value in radians: "
	.align 8
.LC5:
	.string	"\nInvalid choice! Please choose one of the options below..."
.LC6:
	.string	"%f"
.LC7:
	.string	"Value of %f "
.LC8:
	.string	"radians"
.LC9:
	.string	"degrees"
.LC10:
	.string	"%s in %s is:  %f"
.LC12:
	.string	" rad or %.3fPi rad"
.LC13:
	.string	" deg"
.LC14:
	.string	"%c"
	.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -16[rbp], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L2
.L7:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 1
	je	.L3
	cmp	eax, 2
	je	.L4
	jmp	.L16
.L3:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L2
.L4:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L2
.L16:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L2:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 1
	je	.L6
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 2
	jne	.L7
.L6:
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movss	xmm0, DWORD PTR -12[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
	mov	edx, DWORD PTR -16[rbp]
	lea	rax, -12[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	convert
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rcx, xmm3
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 1
	jne	.L8
	lea	rdx, .LC8[rip]
	jmp	.L9
.L8:
	lea	rdx, .LC9[rip]
.L9:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 1
	jne	.L10
	lea	rax, .LC9[rip]
	jmp	.L11
.L10:
	lea	rax, .LC8[rip]
.L11:
	movq	xmm0, rcx
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 1
	jne	.L12
	movss	xmm0, DWORD PTR -12[rbp]
	cvtss2sd	xmm0, xmm0
	movsd	xmm1, QWORD PTR .LC11[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC12[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L13
.L12:
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
.L13:
	lea	rax, -17[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, 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
	.globl	convert
	.type	convert, @function
convert:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	cmp	DWORD PTR -12[rbp], 1
	je	.L18
	cmp	DWORD PTR -12[rbp], 2
	je	.L19
	jmp	.L22
.L18:
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC11[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC15[rip]
	divsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -8[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR [rax]
	jmp	.L17
.L19:
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm1, DWORD PTR [rax]
	movss	xmm0, DWORD PTR .LC16[rip]
	mulss	xmm0, xmm1
	cvtss2sd	xmm0, xmm0
	movsd	xmm1, QWORD PTR .LC11[rip]
	divsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -8[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR [rax]
	jmp	.L17
.L22:
.L17:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	convert, .-convert
	.section	.rodata
	.align 8
.LC11:
	.long	1413754136
	.long	1074340347
	.align 8
.LC15:
	.long	0
	.long	1080459264
	.align 4
.LC16:
	.long	1127481344
	.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	"218894422.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"What do you want to do?\000"
	.align	2
.LC1:
	.ascii	"\012\0111) Convert degrees to radians.\012\0112) Co"
	.ascii	"nvert radians to degrees.\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"Enter your value in degrees: \000"
	.align	2
.LC4:
	.ascii	"Enter your value in radians: \000"
	.align	2
.LC5:
	.ascii	"\012Invalid choice! Please choose one of the option"
	.ascii	"s below...\000"
	.align	2
.LC6:
	.ascii	"%f\000"
	.global	__aeabi_f2d
	.align	2
.LC7:
	.ascii	"Value of %f \000"
	.align	2
.LC8:
	.ascii	"degrees\000"
	.align	2
.LC9:
	.ascii	"radians\000"
	.align	2
.LC10:
	.ascii	"%s in %s is:  %f\000"
	.global	__aeabi_ddiv
	.align	2
.LC11:
	.ascii	" rad or %.3fPi rad\000"
	.align	2
.LC12:
	.ascii	" deg\000"
	.align	2
.LC13:
	.ascii	"%c\000"
	.align	2
.LC14:
	.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	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r0, .L17+4
	bl	puts
	b	.L2
.L7:
	ldr	r0, .L17+8
	bl	puts
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L17+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	beq	.L3
	cmp	r3, #2
	beq	.L4
	b	.L16
.L3:
	ldr	r0, .L17+16
	bl	printf
	b	.L2
.L4:
	ldr	r0, .L17+20
	bl	printf
	b	.L2
.L16:
	ldr	r0, .L17+24
	bl	printf
	nop
.L2:
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	beq	.L6
	ldr	r3, [fp, #-24]
	cmp	r3, #2
	bne	.L7
.L6:
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L17+28
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L17+32
	bl	printf
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bne	.L8
	ldr	r4, .L17+36
	b	.L9
.L8:
	ldr	r4, .L17+40
.L9:
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bne	.L10
	ldr	r5, .L17+40
	b	.L11
.L10:
	ldr	r5, .L17+36
.L11:
	ldr	r2, [fp, #-24]
	sub	r3, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	convert
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L17+44
	bl	printf
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bne	.L12
	ldr	r3, [fp, #-20]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L17+48
	ldr	r3, .L17+52
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L17+56
	bl	printf
	b	.L13
.L12:
	ldr	r0, .L17+60
	bl	printf
.L13:
	sub	r3, fp, #25
	mov	r1, r3
	ldr	r0, .L17+64
	bl	__isoc99_scanf
	mov	r3, #0
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC14
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	1413754136
	.word	1074340347
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	main, .-main
	.global	__aeabi_dmul
	.global	__aeabi_d2f
	.global	__aeabi_fmul
	.align	2
	.global	convert
	.syntax unified
	.arm
	.fpu softvfp
	.type	convert, %function
convert:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	beq	.L20
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	beq	.L21
	b	.L24
.L20:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L25
	ldr	r3, .L25+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L25+8
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]	@ float
	b	.L19
.L21:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]	@ float
	ldr	r1, .L25+12
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L25
	ldr	r3, .L25+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]	@ float
	b	.L19
.L24:
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	1413754136
	.word	1074340347
	.word	1080459264
	.word	1127481344
	.size	convert, .-convert
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
