	.file	"493713.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Please input a value: "
.LC1:
	.string	"%lf"
	.align 8
.LC2:
	.string	"Is this value in celsius or fahrenheit? [C/f] "
.LC3:
	.string	"Invalid number!"
.LC4:
	.string	"%.3lf\302\260C = %.3lf\302\260F\n"
.LC5:
	.string	"%.3lf\302\260F = %.3lf\302\260C\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 96
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L7:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -64[rbp]
	mov	esi, 50
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L2
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	jmp	.L14
.L2:
	lea	rdx, -72[rbp]
	lea	rax, -64[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	test	eax, eax
	je	.L4
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -64[rbp]
	mov	esi, 3
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L5
	jmp	.L16
.L4:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L7
.L5:
	movzx	eax, BYTE PTR -64[rbp]
	movsx	eax, al
	mov	edi, eax
	call	toupper@PLT
	cmp	eax, 67
	je	.L8
	movzx	eax, BYTE PTR -64[rbp]
	cmp	al, 10
	jne	.L9
.L8:
	mov	eax, 1
	jmp	.L10
.L9:
	mov	eax, 0
.L10:
	mov	BYTE PTR -73[rbp], al
	and	BYTE PTR -73[rbp], 1
	cmp	BYTE PTR -73[rbp], 0
	je	.L12
	jmp	.L17
.L16:
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	jmp	.L14
.L17:
	mov	rax, QWORD PTR -72[rbp]
	movq	xmm0, rax
	call	c2f
	movq	rdx, xmm0
	mov	rax, QWORD PTR -72[rbp]
	movq	xmm1, rdx
	movq	xmm0, rax
	lea	rdi, .LC4[rip]
	mov	eax, 2
	call	printf@PLT
	jmp	.L13
.L12:
	mov	rax, QWORD PTR -72[rbp]
	movq	xmm0, rax
	call	f2c
	movq	rdx, xmm0
	mov	rax, QWORD PTR -72[rbp]
	movq	xmm1, rdx
	movq	xmm0, rax
	lea	rdi, .LC5[rip]
	mov	eax, 2
	call	printf@PLT
.L13:
	mov	eax, 0
.L14:
	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
.LFE6:
	.size	main, .-main
	.globl	f2c
	.type	f2c, @function
f2c:
.LFB7:
	.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 .LC6[rip]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC7[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	f2c, .-f2c
	.globl	c2f
	.type	c2f, @function
c2f:
.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	xmm1, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR .LC8[rip]
	mulsd	xmm0, xmm1
	movsd	xmm2, QWORD PTR .LC7[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC6[rip]
	addsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	c2f, .-c2f
	.section	.rodata
	.align 8
.LC6:
	.long	0
	.long	1077936128
	.align 8
.LC7:
	.long	0
	.long	1075052544
	.align 8
.LC8:
	.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	"493713.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Please input a value: \000"
	.align	2
.LC1:
	.ascii	"%lf\000"
	.align	2
.LC2:
	.ascii	"Is this value in celsius or fahrenheit? [C/f] \000"
	.align	2
.LC3:
	.ascii	"Invalid number!\000"
	.align	2
.LC4:
	.ascii	"%.3lf\302\260C = %.3lf\302\260F\012\000"
	.align	2
.LC5:
	.ascii	"%.3lf\302\260F = %.3lf\302\260C\012\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 = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #88
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
.L7:
	ldr	r0, .L18+4
	bl	printf
	ldr	r3, .L18+8
	ldr	r2, [r3]
	sub	r3, fp, #68
	mov	r1, #50
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	b	.L14
.L2:
	sub	r2, fp, #76
	sub	r3, fp, #68
	ldr	r1, .L18+12
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	ldr	r0, .L18+16
	bl	printf
	ldr	r3, .L18+8
	ldr	r2, [r3]
	sub	r3, fp, #68
	mov	r1, #3
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	b	.L16
.L4:
	ldr	r0, .L18+20
	bl	puts
	b	.L7
.L5:
	ldrb	r3, [fp, #-68]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r3, r0
	cmp	r3, #67
	beq	.L8
	ldrb	r3, [fp, #-68]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L9
.L8:
	mov	r3, #1
	b	.L10
.L9:
	mov	r3, #0
.L10:
	strb	r3, [fp, #-77]
	ldrb	r3, [fp, #-77]
	and	r3, r3, #1
	strb	r3, [fp, #-77]
	ldrb	r3, [fp, #-77]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L12
	b	.L17
.L16:
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	b	.L14
.L17:
	sub	r5, fp, #76
	ldmia	r5, {r4-r5}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	c2f
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L18+24
	bl	printf
	b	.L13
.L12:
	sub	r5, fp, #76
	ldmia	r5, {r4-r5}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	f2c
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L18+28
	bl	printf
.L13:
	mov	r3, #0
.L14:
	ldr	r2, .L18
	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}
.L19:
	.align	2
.L18:
	.word	.LC6
	.word	.LC0
	.word	stdin
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.align	2
	.global	f2c
	.syntax unified
	.arm
	.fpu softvfp
	.type	f2c, %function
f2c:
	@ 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, .L22
	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, .L22+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L22+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}
.L23:
	.align	2
.L22:
	.word	1077936128
	.word	1075052544
	.word	1075970048
	.size	f2c, .-f2c
	.global	__aeabi_dadd
	.align	2
	.global	c2f
	.syntax unified
	.arm
	.fpu softvfp
	.type	c2f, %function
c2f:
	@ 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, .L26
	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, .L26+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L26+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}
.L27:
	.align	2
.L26:
	.word	1075970048
	.word	1075052544
	.word	1077936128
	.size	c2f, .-c2f
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
