	.file	"218106.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC1:
	.string	"Por favor entre com o valor da medida em metros: "
.LC2:
	.string	"%f"
.LC3:
	.string	"(m)mil\303\255metro"
.LC4:
	.string	"(c)centimetro"
.LC5:
	.string	"(q)uil\303\264metro"
	.align 8
.LC6:
	.string	"Selecione uma das convers\303\265es: (m, c, q): "
.LC7:
	.string	" %c"
.LC8:
	.string	"Medida necessita ser positiva"
	.align 8
.LC10:
	.string	"O valor: %.2fm em mil\303\255metro(s): %.3fmm\n"
	.align 8
.LC12:
	.string	"O valor: %.2fm em cent\303\255mero(s): %.3fcm\n"
	.align 8
.LC14:
	.string	"O valor: %.2fm em quil\303\264metro(s): %.3fkm\n"
.LC15:
	.string	"Tipo: %c inv\303\241lido\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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	pxor	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -13[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movss	xmm1, DWORD PTR -12[rbp]
	pxor	xmm0, xmm0
	comiss	xmm0, xmm1
	jb	.L12
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L9
.L12:
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, 109
	jne	.L5
	movss	xmm0, DWORD PTR -12[rbp]
	cvtss2sd	xmm0, xmm0
	movsd	xmm1, QWORD PTR .LC9[rip]
	divsd	xmm0, xmm1
	movss	xmm1, DWORD PTR -12[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm1
	movq	rax, xmm2
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC10[rip]
	mov	eax, 2
	call	printf@PLT
	jmp	.L6
.L5:
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, 99
	jne	.L7
	movss	xmm0, DWORD PTR -12[rbp]
	cvtss2sd	xmm0, xmm0
	movsd	xmm1, QWORD PTR .LC11[rip]
	divsd	xmm0, xmm1
	movss	xmm1, DWORD PTR -12[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm1
	movq	rax, xmm3
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC12[rip]
	mov	eax, 2
	call	printf@PLT
	jmp	.L6
.L7:
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, 113
	jne	.L8
	movss	xmm0, DWORD PTR -12[rbp]
	cvtss2sd	xmm0, xmm0
	movsd	xmm1, QWORD PTR .LC13[rip]
	divsd	xmm0, xmm1
	movss	xmm1, DWORD PTR -12[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm1
	movq	rax, xmm4
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC14[rip]
	mov	eax, 2
	call	printf@PLT
	jmp	.L6
.L8:
	movzx	eax, BYTE PTR -13[rbp]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L9
.L6:
	mov	eax, 0
.L9:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC9:
	.long	-755914244
	.long	1062232653
	.align 8
.LC11:
	.long	1202590843
	.long	1065646817
	.align 8
.LC13:
	.long	0
	.long	1083129856
	.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	"218106.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Por favor entre com o valor da medida em metros: \000"
	.align	2
.LC1:
	.ascii	"%f\000"
	.align	2
.LC2:
	.ascii	"(m)mil\303\255metro\000"
	.align	2
.LC3:
	.ascii	"(c)centimetro\000"
	.align	2
.LC4:
	.ascii	"(q)uil\303\264metro\000"
	.align	2
.LC5:
	.ascii	"Selecione uma das convers\303\265es: (m, c, q): \000"
	.align	2
.LC6:
	.ascii	" %c\000"
	.global	__aeabi_fcmple
	.align	2
.LC7:
	.ascii	"Medida necessita ser positiva\000"
	.global	__aeabi_f2d
	.global	__aeabi_ddiv
	.align	2
.LC8:
	.ascii	"O valor: %.2fm em mil\303\255metro(s): %.3fmm\012\000"
	.align	2
.LC9:
	.ascii	"O valor: %.2fm em cent\303\255mero(s): %.3fcm\012\000"
	.align	2
.LC10:
	.ascii	"O valor: %.2fm em quil\303\264metro(s): %.3fkm\012\000"
	.align	2
.LC11:
	.ascii	"Tipo: %c inv\303\241lido\012\000"
	.align	2
.LC12:
	.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	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]	@ float
	ldr	r0, .L13+4
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L13+8
	bl	__isoc99_scanf
	ldr	r0, .L13+12
	bl	puts
	ldr	r0, .L13+16
	bl	puts
	ldr	r0, .L13+20
	bl	puts
	ldr	r0, .L13+24
	bl	printf
	sub	r3, fp, #21
	mov	r1, r3
	ldr	r0, .L13+28
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	ldr	r0, .L13+32
	bl	puts
	mov	r3, #1
	b	.L9
.L12:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #109
	bne	.L5
	ldr	r3, [fp, #-20]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-20]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L13+36
	ldr	r3, .L13+40
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L13+44
	bl	printf
	b	.L6
.L5:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #99
	bne	.L7
	ldr	r3, [fp, #-20]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-20]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L13+48
	ldr	r3, .L13+52
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L13+56
	bl	printf
	b	.L6
.L7:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #113
	bne	.L8
	ldr	r3, [fp, #-20]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-20]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L13+60
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L13+64
	bl	printf
	b	.L6
.L8:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L13+68
	bl	printf
	mov	r3, #1
	b	.L9
.L6:
	mov	r3, #0
.L9:
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC12
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	-755914244
	.word	1062232653
	.word	.LC8
	.word	1202590843
	.word	1065646817
	.word	.LC9
	.word	1083129856
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
