	.file	"399220.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"O senhor gostaria de pagar por qual tipo de combustivel? "
.LC1:
	.string	"G - Gasolina "
.LC2:
	.string	"A - Alcool "
.LC3:
	.string	"%c"
	.align 8
.LC4:
	.string	"Quantos litros o senhor gostaria de comprar? "
.LC5:
	.string	"%f"
.LC11:
	.string	"Total a pagar: R$ %.2f"
	.align 8
.LC13:
	.string	"Quantidade em litros invalida!"
	.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rax, -21[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -21[rbp]
	cmp	al, 97
	jne	.L2
	movss	xmm0, DWORD PTR -20[rbp]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jbe	.L2
	movss	xmm1, DWORD PTR -20[rbp]
	movss	xmm0, DWORD PTR .LC7[rip]
	comiss	xmm0, xmm1
	jb	.L2
	movss	xmm1, DWORD PTR -20[rbp]
	movss	xmm0, DWORD PTR .LC8[rip]
	mulss	xmm0, xmm1
	movss	DWORD PTR -16[rbp], xmm0
	movss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR .LC9[rip]
	mulss	xmm0, xmm1
	movss	xmm1, DWORD PTR .LC10[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	movss	xmm0, DWORD PTR -16[rbp]
	subss	xmm0, DWORD PTR -12[rbp]
	movss	DWORD PTR -16[rbp], xmm0
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -16[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L5
.L2:
	movzx	eax, BYTE PTR -21[rbp]
	cmp	al, 97
	jne	.L6
	movss	xmm0, DWORD PTR -20[rbp]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jbe	.L6
	movss	xmm0, DWORD PTR -20[rbp]
	comiss	xmm0, DWORD PTR .LC7[rip]
	jbe	.L6
	movss	xmm1, DWORD PTR -20[rbp]
	movss	xmm0, DWORD PTR .LC8[rip]
	mulss	xmm0, xmm1
	movss	DWORD PTR -16[rbp], xmm0
	movss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR .LC12[rip]
	mulss	xmm0, xmm1
	movss	xmm1, DWORD PTR .LC10[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	movss	xmm0, DWORD PTR -16[rbp]
	subss	xmm0, DWORD PTR -12[rbp]
	movss	DWORD PTR -16[rbp], xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -16[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -16[rbp]
	movq	rax, xmm3
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 2
	call	printf@PLT
	jmp	.L5
.L6:
	movzx	eax, BYTE PTR -21[rbp]
	cmp	al, 97
	jne	.L5
	movss	xmm1, DWORD PTR -20[rbp]
	pxor	xmm0, xmm0
	comiss	xmm0, xmm1
	jb	.L5
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
.L5:
	movzx	eax, BYTE PTR -21[rbp]
	cmp	al, 103
	jne	.L10
	movss	xmm0, DWORD PTR -20[rbp]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jbe	.L10
	movss	xmm1, DWORD PTR -20[rbp]
	movss	xmm0, DWORD PTR .LC7[rip]
	comiss	xmm0, xmm1
	jb	.L10
	movss	xmm1, DWORD PTR -20[rbp]
	movss	xmm0, DWORD PTR .LC14[rip]
	mulss	xmm0, xmm1
	movss	DWORD PTR -16[rbp], xmm0
	movss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR .LC8[rip]
	mulss	xmm0, xmm1
	movss	xmm1, DWORD PTR .LC10[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	movss	xmm0, DWORD PTR -16[rbp]
	subss	xmm0, DWORD PTR -12[rbp]
	movss	DWORD PTR -16[rbp], xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -16[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, DWORD PTR -16[rbp]
	movq	rax, xmm4
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 2
	call	printf@PLT
	jmp	.L13
.L10:
	movzx	eax, BYTE PTR -21[rbp]
	cmp	al, 103
	jne	.L14
	movss	xmm0, DWORD PTR -20[rbp]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jbe	.L14
	movss	xmm0, DWORD PTR -20[rbp]
	comiss	xmm0, DWORD PTR .LC7[rip]
	jbe	.L14
	movss	xmm1, DWORD PTR -20[rbp]
	movss	xmm0, DWORD PTR .LC14[rip]
	mulss	xmm0, xmm1
	movss	DWORD PTR -16[rbp], xmm0
	movss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR .LC15[rip]
	mulss	xmm0, xmm1
	movss	xmm1, DWORD PTR .LC10[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	movss	xmm0, DWORD PTR -16[rbp]
	subss	xmm0, DWORD PTR -12[rbp]
	movss	DWORD PTR -16[rbp], xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -16[rbp]
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, DWORD PTR -16[rbp]
	movq	rax, xmm5
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 2
	call	printf@PLT
	jmp	.L13
.L14:
	movzx	eax, BYTE PTR -21[rbp]
	cmp	al, 103
	jne	.L13
	movss	xmm1, DWORD PTR -20[rbp]
	pxor	xmm0, xmm0
	comiss	xmm0, xmm1
	jb	.L13
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
.L13:
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC7:
	.long	1109393408
	.align 4
.LC8:
	.long	1077936128
	.align 4
.LC9:
	.long	1082130432
	.align 4
.LC10:
	.long	1120403456
	.align 4
.LC12:
	.long	1086324736
	.align 4
.LC14:
	.long	1083179008
	.align 4
.LC15:
	.long	1084227584
	.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	"399220.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"O senhor gostaria de pagar por qual tipo de combust"
	.ascii	"ivel? \000"
	.align	2
.LC1:
	.ascii	"G - Gasolina \000"
	.align	2
.LC2:
	.ascii	"A - Alcool \000"
	.align	2
.LC3:
	.ascii	"%c\000"
	.align	2
.LC4:
	.ascii	"Quantos litros o senhor gostaria de comprar? \000"
	.align	2
.LC5:
	.ascii	"%f\000"
	.global	__aeabi_fcmpgt
	.global	__aeabi_fcmple
	.global	__aeabi_fmul
	.global	__aeabi_fdiv
	.global	__aeabi_fsub
	.global	__aeabi_f2d
	.align	2
.LC6:
	.ascii	"Total a pagar: R$ %.2f\000"
	.align	2
.LC7:
	.ascii	"Quantidade em litros invalida!\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L30+4
	bl	puts
	ldr	r0, .L30+8
	bl	puts
	ldr	r0, .L30+12
	bl	puts
	sub	r3, fp, #29
	mov	r1, r3
	ldr	r0, .L30+16
	bl	__isoc99_scanf
	ldr	r0, .L30+20
	bl	puts
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L30+24
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	cmp	r3, #97
	bne	.L2
	ldr	r3, [fp, #-28]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-28]	@ float
	ldr	r1, .L30+28
	mov	r0, r3
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-28]	@ float
	ldr	r1, .L30+32
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r1, .L30+36
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, .L30+40
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r1, [fp, #-20]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L30+44
	bl	printf
	b	.L5
.L2:
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	cmp	r3, #97
	bne	.L6
	ldr	r3, [fp, #-28]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-28]	@ float
	ldr	r1, .L30+28
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-28]	@ float
	ldr	r1, .L30+32
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r1, .L30+48
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, .L30+40
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r1, [fp, #-20]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L30+44
	bl	printf
	b	.L5
.L6:
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	cmp	r3, #97
	bne	.L5
	ldr	r3, [fp, #-28]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldr	r0, .L30+52
	bl	printf
.L5:
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	cmp	r3, #103
	bne	.L10
	ldr	r3, [fp, #-28]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-28]	@ float
	ldr	r1, .L30+28
	mov	r0, r3
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-28]	@ float
	ldr	r1, .L30+56
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r1, .L30+32
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, .L30+40
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r1, [fp, #-20]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L30+44
	bl	printf
	b	.L13
.L10:
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	cmp	r3, #103
	bne	.L14
	ldr	r3, [fp, #-28]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-28]	@ float
	ldr	r1, .L30+28
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-28]	@ float
	ldr	r1, .L30+56
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r1, .L30+60
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, .L30+40
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r1, [fp, #-20]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L30+44
	bl	printf
	b	.L13
.L14:
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	cmp	r3, #103
	bne	.L13
	ldr	r3, [fp, #-28]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	ldr	r0, .L30+52
	bl	printf
.L13:
	mov	r3, #0
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	1109393408
	.word	1077936128
	.word	1082130432
	.word	1120403456
	.word	.LC6
	.word	1086324736
	.word	.LC7
	.word	1083179008
	.word	1084227584
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
