	.file	"98574273.c"
	.intel_syntax noprefix
	.text
	.globl	convertTemp
	.type	convertTemp, @function
convertTemp:
.LFB6:
	.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 -24[rbp], xmm0
	mov	DWORD PTR -28[rbp], edi
	mov	DWORD PTR -32[rbp], esi
	cmp	DWORD PTR -28[rbp], 3
	je	.L2
	cmp	DWORD PTR -28[rbp], 3
	jg	.L3
	cmp	DWORD PTR -28[rbp], 1
	je	.L4
	cmp	DWORD PTR -28[rbp], 2
	je	.L5
	jmp	.L3
.L4:
	cmp	DWORD PTR -32[rbp], 1
	jne	.L6
	movsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC0[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L13
.L6:
	cmp	DWORD PTR -32[rbp], 2
	jne	.L13
	movsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	movsd	xmm2, QWORD PTR .LC2[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC3[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L13
.L5:
	cmp	DWORD PTR -32[rbp], 1
	jne	.L8
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR .LC0[rip]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L14
.L8:
	cmp	DWORD PTR -32[rbp], 2
	jne	.L14
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	xmm2, QWORD PTR .LC0[rip]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	movsd	xmm2, QWORD PTR .LC2[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC3[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L14
.L2:
	cmp	DWORD PTR -32[rbp], 1
	jne	.L10
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	xmm2, QWORD PTR .LC3[rip]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC2[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC1[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L15
.L10:
	cmp	DWORD PTR -32[rbp], 2
	jne	.L15
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	xmm2, QWORD PTR .LC3[rip]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC2[rip]
	mulsd	xmm0, xmm1
	movsd	xmm2, QWORD PTR .LC1[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC4[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L15
.L13:
	nop
	jmp	.L3
.L14:
	nop
	jmp	.L3
.L15:
	nop
.L3:
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	convertTemp, .-convertTemp
	.section	.rodata
.LC5:
	.string	"\n0 - Exit"
	.align 8
.LC6:
	.string	"1 - Convert from Celsius to Kelvin"
	.align 8
.LC7:
	.string	"2 - Convert from Celsius to Fahrenheit"
	.align 8
.LC8:
	.string	"3 - Convert from Kelvin to Fahrenheit"
	.align 8
.LC9:
	.string	"4 - Convert from Kelvin to Celsius"
	.align 8
.LC10:
	.string	"5 - Convert from Fahrenheit to Celsius"
	.align 8
.LC11:
	.string	"6 - Convert from Fahrenheit to Kelvin"
.LC12:
	.string	"Select a number: "
.LC13:
	.string	"%d"
.LC14:
	.string	"Ending program"
	.align 8
.LC15:
	.string	"Please enter the initial value: "
.LC16:
	.string	"%lf"
.LC17:
	.string	"Valor em Kelvin: %.2lf"
.LC18:
	.string	"Valor em Fahrenheit: %.2lf"
.LC19:
	.string	"Valor em Celsius: %.2lf"
	.text
	.globl	main
	.type	main, @function
main:
.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
.L27:
	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]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -28[rbp]
	test	eax, eax
	jne	.L17
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L28
	jmp	.L29
.L17:
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 6
	ja	.L19
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L21[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L21[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L21:
	.long	.L19-.L21
	.long	.L26-.L21
	.long	.L25-.L21
	.long	.L24-.L21
	.long	.L23-.L21
	.long	.L22-.L21
	.long	.L20-.L21
	.text
.L26:
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 1
	mov	edi, 1
	movq	xmm0, rax
	call	convertTemp
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	lea	rdi, .LC17[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L19
.L25:
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 2
	mov	edi, 1
	movq	xmm0, rax
	call	convertTemp
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	lea	rdi, .LC18[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L19
.L24:
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 1
	mov	edi, 2
	movq	xmm0, rax
	call	convertTemp
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	lea	rdi, .LC19[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L19
.L23:
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 2
	mov	edi, 2
	movq	xmm0, rax
	call	convertTemp
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	lea	rdi, .LC18[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L19
.L22:
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 1
	mov	edi, 3
	movq	xmm0, rax
	call	convertTemp
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	lea	rdi, .LC19[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L19
.L20:
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 1
	mov	edi, 3
	movq	xmm0, rax
	call	convertTemp
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	lea	rdi, .LC17[rip]
	mov	eax, 1
	call	printf@PLT
	nop
.L19:
	mov	edi, 10
	call	putchar@PLT
	jmp	.L27
.L29:
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	1717986918
	.long	1081152102
	.align 8
.LC1:
	.long	0
	.long	1075970048
	.align 8
.LC2:
	.long	0
	.long	1075052544
	.align 8
.LC3:
	.long	0
	.long	1077936128
	.align 8
.LC4:
	.long	0
	.long	1081151488
	.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	"98574273.c"
	.text
	.global	__aeabi_dadd
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.global	__aeabi_dsub
	.align	2
	.global	convertTemp
	.syntax unified
	.arm
	.fpu softvfp
	.type	convertTemp, %function
convertTemp:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r3, #3
	beq	.L2
	ldr	r3, [fp, #-24]
	cmp	r3, #3
	bgt	.L3
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	beq	.L4
	ldr	r3, [fp, #-24]
	cmp	r3, #2
	beq	.L5
	b	.L3
.L4:
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	bne	.L6
	ldr	r2, .L16
	ldr	r3, .L16+4
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L13
.L6:
	ldr	r3, [fp, #-28]
	cmp	r3, #2
	bne	.L13
	mov	r2, #0
	ldr	r3, .L16+8
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L16+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L16+16
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L13
.L5:
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	bne	.L8
	ldr	r2, .L16
	ldr	r3, .L16+4
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L14
.L8:
	ldr	r3, [fp, #-28]
	cmp	r3, #2
	bne	.L14
	ldr	r2, .L16
	ldr	r3, .L16+4
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L16+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L16+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L16+16
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L14
.L2:
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	bne	.L10
	mov	r2, #0
	ldr	r3, .L16+16
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L16+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L16+8
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L15
.L10:
	ldr	r3, [fp, #-28]
	cmp	r3, #2
	bne	.L15
	mov	r2, #0
	ldr	r3, .L16+16
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L16+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L16+8
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L16+20
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L15
.L13:
	nop
	b	.L3
.L14:
	nop
	b	.L3
.L15:
	nop
.L3:
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	1717986918
	.word	1081152102
	.word	1075970048
	.word	1075052544
	.word	1077936128
	.word	1081151488
	.size	convertTemp, .-convertTemp
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\0120 - Exit\000"
	.align	2
.LC1:
	.ascii	"1 - Convert from Celsius to Kelvin\000"
	.align	2
.LC2:
	.ascii	"2 - Convert from Celsius to Fahrenheit\000"
	.align	2
.LC3:
	.ascii	"3 - Convert from Kelvin to Fahrenheit\000"
	.align	2
.LC4:
	.ascii	"4 - Convert from Kelvin to Celsius\000"
	.align	2
.LC5:
	.ascii	"5 - Convert from Fahrenheit to Celsius\000"
	.align	2
.LC6:
	.ascii	"6 - Convert from Fahrenheit to Kelvin\000"
	.align	2
.LC7:
	.ascii	"Select a number: \000"
	.align	2
.LC8:
	.ascii	"%d\000"
	.align	2
.LC9:
	.ascii	"Ending program\000"
	.align	2
.LC10:
	.ascii	"Please enter the initial value: \000"
	.align	2
.LC11:
	.ascii	"%lf\000"
	.align	2
.LC12:
	.ascii	"Valor em Kelvin: %.2lf\000"
	.align	2
.LC13:
	.ascii	"Valor em Fahrenheit: %.2lf\000"
	.align	2
.LC14:
	.ascii	"Valor em Celsius: %.2lf\000"
	.align	2
.LC15:
	.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, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L29:
	ldr	r0, .L32+4
	bl	puts
	ldr	r0, .L32+8
	bl	puts
	ldr	r0, .L32+12
	bl	puts
	ldr	r0, .L32+16
	bl	puts
	ldr	r0, .L32+20
	bl	puts
	ldr	r0, .L32+24
	bl	puts
	ldr	r0, .L32+28
	bl	puts
	ldr	r0, .L32+32
	bl	printf
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L32+36
	bl	__isoc99_scanf
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L19
	ldr	r0, .L32+40
	bl	puts
	mov	r3, #0
	ldr	r2, .L32
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L30
	b	.L31
.L19:
	ldr	r0, .L32+44
	bl	printf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L32+48
	bl	__isoc99_scanf
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L21
.L23:
	.word	.L28
	.word	.L27
	.word	.L26
	.word	.L25
	.word	.L24
	.word	.L22
.L28:
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	mov	r3, #1
	mov	r2, #1
	bl	convertTemp
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L32+52
	bl	printf
	b	.L21
.L27:
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	mov	r3, #2
	mov	r2, #1
	bl	convertTemp
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L32+56
	bl	printf
	b	.L21
.L26:
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	mov	r3, #1
	mov	r2, #2
	bl	convertTemp
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L32+60
	bl	printf
	b	.L21
.L25:
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	mov	r3, #2
	mov	r2, #2
	bl	convertTemp
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L32+56
	bl	printf
	b	.L21
.L24:
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	mov	r3, #1
	mov	r2, #3
	bl	convertTemp
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L32+60
	bl	printf
	b	.L21
.L22:
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	mov	r3, #1
	mov	r2, #3
	bl	convertTemp
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L32+52
	bl	printf
	nop
.L21:
	mov	r0, #10
	bl	putchar
	b	.L29
.L31:
	bl	__stack_chk_fail
.L30:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC15
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
