	.file	"365287.c"
	.intel_syntax noprefix
	.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	nop
.L2:
	call	user_wishes_to_do_a_temperature_conversion
	test	eax, eax
	jne	.L2
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.string	"Do you wish to continue? (y/n) : "
.LC1:
	.string	" %c"
	.align 8
.LC2:
	.string	"I'm sorry but I do not understand."
	.text
	.globl	user_wishes_to_continue
	.type	user_wishes_to_continue, @function
user_wishes_to_continue:
.LFB1:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -9[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	clear_keyboard_buffer
	jmp	.L5
.L7:
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -9[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	clear_keyboard_buffer
.L5:
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 121
	je	.L6
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 89
	je	.L6
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 110
	je	.L6
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 78
	jne	.L7
.L6:
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 121
	je	.L8
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 89
	jne	.L9
.L8:
	mov	eax, 1
	jmp	.L10
.L9:
	mov	eax, 0
.L10:
	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
.LFE1:
	.size	user_wishes_to_continue, .-user_wishes_to_continue
	.section	.rodata
.LC3:
	.string	"%c"
	.text
	.globl	clear_keyboard_buffer
	.type	clear_keyboard_buffer, @function
clear_keyboard_buffer:
.LFB2:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -9[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L14
.L15:
	lea	rax, -9[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L14:
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 10
	jne	.L15
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	clear_keyboard_buffer, .-clear_keyboard_buffer
	.globl	user_wishes_to_do_a_temperature_conversion
	.type	user_wishes_to_do_a_temperature_conversion, @function
user_wishes_to_do_a_temperature_conversion:
.LFB3:
	.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
	call	get_choice
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L18
	cmp	DWORD PTR -4[rbp], 1
	je	.L19
	jmp	.L20
.L18:
	call	do_a_conversion_from_fahrenheit_to_celsius
	jmp	.L20
.L19:
	call	do_a_conversion_from_celsius_to_fahrenheit
	nop
.L20:
	cmp	DWORD PTR -4[rbp], 2
	setne	al
	movzx	eax, al
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	user_wishes_to_do_a_temperature_conversion, .-user_wishes_to_do_a_temperature_conversion
	.section	.rodata
	.align 8
.LC4:
	.string	"Please select from the following menu options:"
	.align 8
.LC5:
	.string	"1) Convert from Fahrenheit to Celsius."
	.align 8
.LC6:
	.string	"2) Convert from Celsius to Fahrenheit."
.LC7:
	.string	"     0) QUIT"
.LC8:
	.string	"Your choice: "
	.text
	.globl	get_choice
	.type	get_choice, @function
get_choice:
.LFB4:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L25:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -9[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	clear_keyboard_buffer
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 49
	je	.L23
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 50
	je	.L23
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 48
	je	.L23
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L23:
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 49
	je	.L24
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 50
	je	.L24
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 48
	jne	.L25
.L24:
	movzx	eax, BYTE PTR -9[rbp]
	movsx	eax, al
	cmp	eax, 49
	je	.L26
	cmp	eax, 50
	je	.L27
	jmp	.L32
.L26:
	mov	eax, 0
	jmp	.L30
.L27:
	mov	eax, 1
	jmp	.L30
.L32:
	mov	eax, 2
.L30:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	get_choice, .-get_choice
	.section	.rodata
	.align 8
.LC9:
	.string	"Please enter a temperature in degrees Fahrenheit."
	.text
	.globl	do_a_conversion_from_fahrenheit_to_celsius
	.type	do_a_conversion_from_fahrenheit_to_celsius, @function
do_a_conversion_from_fahrenheit_to_celsius:
.LFB5:
	.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
	lea	rdi, .LC9[rip]
	call	puts@PLT
	call	get_temperature
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	call	convert_f_to_c
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	movsd	xmm0, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	display_f_to_c
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	do_a_conversion_from_fahrenheit_to_celsius, .-do_a_conversion_from_fahrenheit_to_celsius
	.section	.rodata
	.align 8
.LC10:
	.string	"Please enter a temperature in degrees Celsius."
	.text
	.globl	do_a_conversion_from_celsius_to_fahrenheit
	.type	do_a_conversion_from_celsius_to_fahrenheit, @function
do_a_conversion_from_celsius_to_fahrenheit:
.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
	lea	rdi, .LC10[rip]
	call	puts@PLT
	call	get_temperature
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	call	convert_c_to_f
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	movsd	xmm0, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	display_c_to_f
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	do_a_conversion_from_celsius_to_fahrenheit, .-do_a_conversion_from_celsius_to_fahrenheit
	.section	.rodata
.LC11:
	.string	"Enter temperature: "
.LC12:
	.string	"%lf"
	.text
	.globl	get_temperature
	.type	get_temperature, @function
get_temperature:
.LFB7:
	.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, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -20[rbp], eax
	call	clear_keyboard_buffer
	jmp	.L36
.L37:
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -20[rbp], eax
	call	clear_keyboard_buffer
.L36:
	cmp	DWORD PTR -20[rbp], 1
	jne	.L37
	movsd	xmm0, QWORD PTR -16[rbp]
	movq	rax, xmm0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	get_temperature, .-get_temperature
	.globl	convert_f_to_c
	.type	convert_f_to_c, @function
convert_f_to_c:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	xmm2, QWORD PTR .LC13[rip]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC14[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC15[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	convert_f_to_c, .-convert_f_to_c
	.section	.rodata
	.align 8
.LC16:
	.string	"\n%.1f degrees Fahrenheit converts to\n"
.LC17:
	.string	"%.1f degrees Celsius.\n\n"
	.text
	.globl	display_f_to_c
	.type	display_f_to_c, @function
display_f_to_c:
.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, 16
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	QWORD PTR -16[rbp], xmm1
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	lea	rdi, .LC16[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	lea	rdi, .LC17[rip]
	mov	eax, 1
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	display_f_to_c, .-display_f_to_c
	.globl	convert_c_to_f
	.type	convert_c_to_f, @function
convert_c_to_f:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm1, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR .LC15[rip]
	mulsd	xmm0, xmm1
	movsd	xmm2, QWORD PTR .LC14[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC13[rip]
	addsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	convert_c_to_f, .-convert_c_to_f
	.section	.rodata
	.align 8
.LC18:
	.string	"\n%.1f degrees Celsius converts to\n"
.LC19:
	.string	"%.1f degrees Fahrenheit.\n\n"
	.text
	.globl	display_c_to_f
	.type	display_c_to_f, @function
display_c_to_f:
.LFB11:
	.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
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	QWORD PTR -16[rbp], xmm1
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	lea	rdi, .LC18[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	lea	rdi, .LC19[rip]
	mov	eax, 1
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	display_c_to_f, .-display_c_to_f
	.section	.rodata
	.align 8
.LC13:
	.long	0
	.long	1077936128
	.align 8
.LC14:
	.long	0
	.long	1075052544
	.align 8
.LC15:
	.long	0
	.long	1075970048
	.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	"365287.c"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	nop
.L2:
	bl	user_wishes_to_do_a_temperature_conversion
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	main, .-main
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Do you wish to continue? (y/n) : \000"
	.align	2
.LC1:
	.ascii	" %c\000"
	.align	2
.LC2:
	.ascii	"I'm sorry but I do not understand.\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	user_wishes_to_continue
	.syntax unified
	.arm
	.fpu softvfp
	.type	user_wishes_to_continue, %function
user_wishes_to_continue:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L13+4
	bl	printf
	sub	r3, fp, #9
	mov	r1, r3
	ldr	r0, .L13+8
	bl	__isoc99_scanf
	bl	clear_keyboard_buffer
	b	.L5
.L7:
	ldr	r0, .L13+12
	bl	puts
	ldr	r0, .L13+4
	bl	printf
	sub	r3, fp, #9
	mov	r1, r3
	ldr	r0, .L13+8
	bl	__isoc99_scanf
	bl	clear_keyboard_buffer
.L5:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #121
	beq	.L6
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #89
	beq	.L6
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #110
	beq	.L6
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #78
	bne	.L7
.L6:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #121
	beq	.L8
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #89
	bne	.L9
.L8:
	mov	r3, #1
	b	.L10
.L9:
	mov	r3, #0
.L10:
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	user_wishes_to_continue, .-user_wishes_to_continue
	.section	.rodata
	.align	2
.LC4:
	.ascii	"%c\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	clear_keyboard_buffer
	.syntax unified
	.arm
	.fpu softvfp
	.type	clear_keyboard_buffer, %function
clear_keyboard_buffer:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #9
	mov	r1, r3
	ldr	r0, .L19+4
	bl	__isoc99_scanf
	b	.L16
.L17:
	sub	r3, fp, #9
	mov	r1, r3
	ldr	r0, .L19+4
	bl	__isoc99_scanf
.L16:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L17
	nop
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC5
	.word	.LC4
	.size	clear_keyboard_buffer, .-clear_keyboard_buffer
	.align	2
	.global	user_wishes_to_do_a_temperature_conversion
	.syntax unified
	.arm
	.fpu softvfp
	.type	user_wishes_to_do_a_temperature_conversion, %function
user_wishes_to_do_a_temperature_conversion:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	get_choice
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L22
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	beq	.L23
	b	.L24
.L22:
	bl	do_a_conversion_from_fahrenheit_to_celsius
	b	.L24
.L23:
	bl	do_a_conversion_from_celsius_to_fahrenheit
	nop
.L24:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	user_wishes_to_do_a_temperature_conversion, .-user_wishes_to_do_a_temperature_conversion
	.section	.rodata
	.align	2
.LC6:
	.ascii	"Please select from the following menu options:\000"
	.align	2
.LC7:
	.ascii	"1) Convert from Fahrenheit to Celsius.\000"
	.align	2
.LC8:
	.ascii	"2) Convert from Celsius to Fahrenheit.\000"
	.align	2
.LC9:
	.ascii	"     0) QUIT\000"
	.align	2
.LC10:
	.ascii	"Your choice: \000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_choice
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_choice, %function
get_choice:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L29:
	ldr	r0, .L37+4
	bl	puts
	ldr	r0, .L37+8
	bl	puts
	ldr	r0, .L37+12
	bl	puts
	ldr	r0, .L37+16
	bl	puts
	ldr	r0, .L37+20
	bl	printf
	sub	r3, fp, #9
	mov	r1, r3
	ldr	r0, .L37+24
	bl	__isoc99_scanf
	bl	clear_keyboard_buffer
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #49
	beq	.L27
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #50
	beq	.L27
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L27
	ldr	r0, .L37+28
	bl	puts
.L27:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #49
	beq	.L28
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #50
	beq	.L28
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L29
.L28:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #49
	beq	.L30
	cmp	r3, #50
	beq	.L31
	b	.L36
.L30:
	mov	r3, #0
	b	.L34
.L31:
	mov	r3, #1
	b	.L34
.L36:
	mov	r3, #2
.L34:
	ldr	r2, .L37
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC11
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC1
	.word	.LC2
	.size	get_choice, .-get_choice
	.section	.rodata
	.align	2
.LC12:
	.ascii	"Please enter a temperature in degrees Fahrenheit.\000"
	.text
	.align	2
	.global	do_a_conversion_from_fahrenheit_to_celsius
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_a_conversion_from_fahrenheit_to_celsius, %function
do_a_conversion_from_fahrenheit_to_celsius:
	@ 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	r0, .L40
	bl	puts
	bl	get_temperature
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	convert_f_to_c
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	display_f_to_c
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	.LC12
	.size	do_a_conversion_from_fahrenheit_to_celsius, .-do_a_conversion_from_fahrenheit_to_celsius
	.section	.rodata
	.align	2
.LC13:
	.ascii	"Please enter a temperature in degrees Celsius.\000"
	.text
	.align	2
	.global	do_a_conversion_from_celsius_to_fahrenheit
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_a_conversion_from_celsius_to_fahrenheit, %function
do_a_conversion_from_celsius_to_fahrenheit:
	@ 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	r0, .L43
	bl	puts
	bl	get_temperature
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	convert_c_to_f
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	display_c_to_f
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC13
	.size	do_a_conversion_from_celsius_to_fahrenheit, .-do_a_conversion_from_celsius_to_fahrenheit
	.section	.rodata
	.align	2
.LC14:
	.ascii	"Enter temperature: \000"
	.align	2
.LC15:
	.ascii	"%lf\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_temperature
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_temperature, %function
get_temperature:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L50
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L50+4
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L50+8
	bl	__isoc99_scanf
	str	r0, [fp, #-24]
	bl	clear_keyboard_buffer
	b	.L46
.L47:
	ldr	r0, .L50+12
	bl	puts
	ldr	r0, .L50+4
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L50+8
	bl	__isoc99_scanf
	str	r0, [fp, #-24]
	bl	clear_keyboard_buffer
.L46:
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bne	.L47
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r1, .L50
	ldr	r0, [r1]
	ldr	r1, [fp, #-8]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L49
	bl	__stack_chk_fail
.L49:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L51:
	.align	2
.L50:
	.word	.LC16
	.word	.LC14
	.word	.LC15
	.word	.LC2
	.size	get_temperature, .-get_temperature
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.align	2
	.global	convert_f_to_c
	.syntax unified
	.arm
	.fpu softvfp
	.type	convert_f_to_c, %function
convert_f_to_c:
	@ 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, #-12]
	str	r1, [fp, #-8]
	mov	r2, #0
	ldr	r3, .L54
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L54+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L54+8
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L55:
	.align	2
.L54:
	.word	1077936128
	.word	1075052544
	.word	1075970048
	.size	convert_f_to_c, .-convert_f_to_c
	.section	.rodata
	.align	2
.LC17:
	.ascii	"\012%.1f degrees Fahrenheit converts to\012\000"
	.align	2
.LC18:
	.ascii	"%.1f degrees Celsius.\012\012\000"
	.text
	.align	2
	.global	display_f_to_c
	.syntax unified
	.arm
	.fpu softvfp
	.type	display_f_to_c, %function
display_f_to_c:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	ldr	r0, .L57
	bl	printf
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L57+4
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L58:
	.align	2
.L57:
	.word	.LC17
	.word	.LC18
	.size	display_f_to_c, .-display_f_to_c
	.global	__aeabi_dadd
	.align	2
	.global	convert_c_to_f
	.syntax unified
	.arm
	.fpu softvfp
	.type	convert_c_to_f, %function
convert_c_to_f:
	@ 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, #-12]
	str	r1, [fp, #-8]
	mov	r2, #0
	ldr	r3, .L61
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L61+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L61+8
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L62:
	.align	2
.L61:
	.word	1075970048
	.word	1075052544
	.word	1077936128
	.size	convert_c_to_f, .-convert_c_to_f
	.section	.rodata
	.align	2
.LC19:
	.ascii	"\012%.1f degrees Celsius converts to\012\000"
	.align	2
.LC20:
	.ascii	"%.1f degrees Fahrenheit.\012\012\000"
	.text
	.align	2
	.global	display_c_to_f
	.syntax unified
	.arm
	.fpu softvfp
	.type	display_c_to_f, %function
display_c_to_f:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	ldr	r0, .L64
	bl	printf
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L64+4
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L65:
	.align	2
.L64:
	.word	.LC19
	.word	.LC20
	.size	display_c_to_f, .-display_c_to_f
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
