	.file	"342651.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"How do you want to convert: "
	.align 8
.LC1:
	.string	"\t1. From Celsius to Fahrenheit ?"
	.align 8
.LC2:
	.string	"\t2. From Fahrenheit to Celsius ?"
.LC3:
	.string	"Your choice(1 or 2 ?): "
.LC4:
	.string	"%d"
	.align 8
.LC5:
	.string	"Input temperature in Celsius: "
.LC6:
	.string	"%lf"
	.align 8
.LC10:
	.string	"Temperature in Fahrenheit is %0.2f degree\n"
	.align 8
.LC11:
	.string	"Input temperature in Fahrenheit: "
	.align 8
.LC12:
	.string	"Temperature in Celsius is %0.2f degree centigrad\n"
	.align 8
.LC13:
	.string	"Please input either 1 or 2. Thank you.\n"
	.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
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 1
	jne	.L2
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC7[rip]
	mulsd	xmm0, xmm1
	movsd	xmm2, QWORD PTR .LC8[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC9[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L3
.L2:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 2
	jne	.L4
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	xmm2, QWORD PTR .LC9[rip]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC8[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC7[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	lea	rdi, .LC12[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L3
.L4:
	lea	rdi, .LC13[rip]
	call	puts@PLT
.L3:
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC7:
	.long	0
	.long	1075970048
	.align 8
.LC8:
	.long	0
	.long	1075052544
	.align 8
.LC9:
	.long	0
	.long	1077936128
	.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	"342651.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"How do you want to convert: \000"
	.align	2
.LC1:
	.ascii	"\0111. From Celsius to Fahrenheit ?\000"
	.align	2
.LC2:
	.ascii	"\0112. From Fahrenheit to Celsius ?\000"
	.align	2
.LC3:
	.ascii	"Your choice(1 or 2 ?): \000"
	.align	2
.LC4:
	.ascii	"%d\000"
	.align	2
.LC5:
	.ascii	"Input temperature in Celsius: \000"
	.align	2
.LC6:
	.ascii	"%lf\000"
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.align	2
.LC7:
	.ascii	"Temperature in Fahrenheit is %0.2f degree\012\000"
	.align	2
.LC8:
	.ascii	"Input temperature in Fahrenheit: \000"
	.global	__aeabi_dsub
	.align	2
.LC9:
	.ascii	"Temperature in Celsius is %0.2f degree centigrad\012"
	.ascii	"\000"
	.align	2
.LC10:
	.ascii	"Please input either 1 or 2. Thank you.\012\000"
	.align	2
.LC11:
	.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	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L7+4
	bl	puts
	ldr	r0, .L7+8
	bl	puts
	ldr	r0, .L7+12
	bl	puts
	ldr	r0, .L7+16
	bl	printf
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L7+20
	bl	__isoc99_scanf
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bne	.L2
	ldr	r0, .L7+24
	bl	printf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L7+28
	bl	__isoc99_scanf
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	mov	r2, #0
	ldr	r3, .L7+32
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L7+36
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L7+40
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L7+44
	bl	printf
	b	.L3
.L2:
	ldr	r3, [fp, #-32]
	cmp	r3, #2
	bne	.L4
	ldr	r0, .L7+48
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L7+28
	bl	__isoc99_scanf
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	mov	r2, #0
	ldr	r3, .L7+40
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L7+36
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L7+32
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L7+52
	bl	printf
	b	.L3
.L4:
	ldr	r0, .L7+56
	bl	puts
.L3:
	mov	r3, #0
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC11
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	1075970048
	.word	1075052544
	.word	1077936128
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
