	.file	"767886.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter a temperature in Fahrenheit:"
.LC1:
	.string	"%i"
	.text
	.globl	askNumFahrenheit
	.type	askNumFahrenheit, @function
askNumFahrenheit:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	scanf_s@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	askNumFahrenheit, .-askNumFahrenheit
	.globl	convFahrenheit
	.type	convFahrenheit, @function
convFahrenheit:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 32
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm1, QWORD PTR .LC2[rip]
	divsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	convFahrenheit, .-convFahrenheit
	.section	.rodata
	.align 8
.LC3:
	.string	"The converted temperature is %i\370 Celsius\n"
	.text
	.globl	printCelsius
	.type	printCelsius, @function
printCelsius:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	printCelsius, .-printCelsius
	.section	.rodata
	.align 8
.LC4:
	.string	"Enter a temperature in Celsius:"
	.text
	.globl	askNumCelsius
	.type	askNumCelsius, @function
askNumCelsius:
.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
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	scanf_s@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	askNumCelsius, .-askNumCelsius
	.globl	convCelsius
	.type	convCelsius, @function
convCelsius:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -20[rbp]
	movsd	xmm0, QWORD PTR .LC2[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC5[rip]
	addsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	convCelsius, .-convCelsius
	.section	.rodata
	.align 8
.LC6:
	.string	"The converted temperature is %i\370 fehrenheit\n"
	.text
	.globl	printFahrenheit
	.type	printFahrenheit, @function
printFahrenheit:
.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
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	printFahrenheit, .-printFahrenheit
	.section	.rodata
	.align 8
.LC7:
	.string	"Choose an option:\n1.) Convert Fahrenheit to Celsius.\n2.) Convert Celsius to Fahrenheit.\n3.) Quit the Program\n"
	.align 8
.LC8:
	.string	"\nend of program--need a Headache medicine-"
.LC9:
	.string	"pause"
	.text
	.globl	main
	.type	main, @function
main:
.LFB12:
	.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 -20[rbp], 0
	jmp	.L14
.L18:
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	scanf_s@PLT
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 3
	je	.L15
	cmp	eax, 3
	jg	.L14
	cmp	eax, 1
	je	.L16
	cmp	eax, 2
	je	.L17
	jmp	.L14
.L16:
	mov	eax, 0
	call	askNumFahrenheit
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	convFahrenheit
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	printCelsius
	jmp	.L14
.L17:
	mov	eax, 0
	call	askNumCelsius
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	convCelsius
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	printFahrenheit
	jmp	.L14
.L15:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L14:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 3
	jne	.L18
	lea	rdi, .LC9[rip]
	call	system@PLT
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC2:
	.long	-858993459
	.long	1073532108
	.align 8
.LC5:
	.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	"767886.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter a temperature in Fahrenheit:\000"
	.align	2
.LC1:
	.ascii	"%i\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	askNumFahrenheit
	.syntax unified
	.arm
	.fpu softvfp
	.type	askNumFahrenheit, %function
askNumFahrenheit:
	@ 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, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L4+4
	bl	puts
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L4+8
	bl	scanf_s
	ldr	r3, [fp, #-12]
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	askNumFahrenheit, .-askNumFahrenheit
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_d2iz
	.align	2
	.global	convFahrenheit
	.syntax unified
	.arm
	.fpu softvfp
	.type	convFahrenheit, %function
convFahrenheit:
	@ 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, #-16]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #32
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L8
	ldr	r3, .L8+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	-858993459
	.word	1073532108
	.size	convFahrenheit, .-convFahrenheit
	.section	.rodata
	.align	2
.LC3:
	.ascii	"The converted temperature is %i\370 Celsius\012\000"
	.text
	.align	2
	.global	printCelsius
	.syntax unified
	.arm
	.fpu softvfp
	.type	printCelsius, %function
printCelsius:
	@ 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]
	ldr	r1, [fp, #-8]
	ldr	r0, .L11
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC3
	.size	printCelsius, .-printCelsius
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Enter a temperature in Celsius:\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	askNumCelsius
	.syntax unified
	.arm
	.fpu softvfp
	.type	askNumCelsius, %function
askNumCelsius:
	@ 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, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L16+4
	bl	puts
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L16+8
	bl	scanf_s
	ldr	r3, [fp, #-12]
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC5
	.word	.LC4
	.word	.LC1
	.size	askNumCelsius, .-askNumCelsius
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.align	2
	.global	convCelsius
	.syntax unified
	.arm
	.fpu softvfp
	.type	convCelsius, %function
convCelsius:
	@ 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, #-16]
	ldr	r0, [fp, #-16]
	bl	__aeabi_i2d
	ldr	r2, .L20
	ldr	r3, .L20+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L20+8
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	-858993459
	.word	1073532108
	.word	1077936128
	.size	convCelsius, .-convCelsius
	.section	.rodata
	.align	2
.LC6:
	.ascii	"The converted temperature is %i\370 fehrenheit\012\000"
	.text
	.align	2
	.global	printFahrenheit
	.syntax unified
	.arm
	.fpu softvfp
	.type	printFahrenheit, %function
printFahrenheit:
	@ 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]
	ldr	r1, [fp, #-8]
	ldr	r0, .L23
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC6
	.size	printFahrenheit, .-printFahrenheit
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Choose an option:\0121.) Convert Fahrenheit to Cels"
	.ascii	"ius.\0122.) Convert Celsius to Fahrenheit.\0123.) Q"
	.ascii	"uit the Program\012\000"
	.align	2
.LC8:
	.ascii	"\012end of program--need a Headache medicine-\000"
	.align	2
.LC9:
	.ascii	"pause\000"
	.align	2
.LC10:
	.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, .L33
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L26
.L30:
	ldr	r0, .L33+4
	bl	puts
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L33+8
	bl	scanf_s
	ldr	r3, [fp, #-20]
	cmp	r3, #3
	beq	.L27
	cmp	r3, #3
	bgt	.L26
	cmp	r3, #1
	beq	.L28
	cmp	r3, #2
	beq	.L29
	b	.L26
.L28:
	bl	askNumFahrenheit
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	convFahrenheit
	str	r0, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	printCelsius
	b	.L26
.L29:
	bl	askNumCelsius
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	convCelsius
	str	r0, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	printFahrenheit
	b	.L26
.L27:
	ldr	r0, .L33+12
	bl	printf
	nop
.L26:
	ldr	r3, [fp, #-20]
	cmp	r3, #3
	bne	.L30
	ldr	r0, .L33+16
	bl	system
	mov	r3, #0
	ldr	r2, .L33
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L32
	bl	__stack_chk_fail
.L32:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC10
	.word	.LC7
	.word	.LC1
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
