	.file	"91636.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"\nWelcome to \"Temple\" store\n"
.LC1:
	.string	"\tEnter item price: "
.LC2:
	.string	"%s"
.LC3:
	.string	"%f"
	.align 8
.LC5:
	.string	"\n\tThis is not a valid item price."
.LC6:
	.string	"\tPlease run the program again"
	.align 8
.LC7:
	.string	"\nThank You for using the \"Temple\" store"
.LC8:
	.string	"\tEnter quantity: "
.LC9:
	.string	"%d"
	.align 8
.LC10:
	.string	"\n\tThis is not a valid quantity order."
.LC14:
	.string	"\tThe item price is: $%.2f\n"
.LC15:
	.string	"\tThe order is: %d item(s)\n"
.LC16:
	.string	"\tThe cost is: $%.2f\n"
.LC18:
	.string	"\tThe discount is: %.1f%%\n"
	.align 8
.LC19:
	.string	"\tThe discount amount is: $%.2f\n"
.LC20:
	.string	"\tThe total is: $%.2f\n"
	.align 8
.LC21:
	.string	"\nThank you for using the \"Temple\" store"
	.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movss	xmm1, DWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	comiss	xmm0, xmm1
	jb	.L11
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L11:
	lea	rsi, .LC8[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -20[rbp]
	test	eax, eax
	jg	.L4
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 149
	jle	.L5
	movss	xmm0, DWORD PTR .LC11[rip]
	movss	DWORD PTR -16[rbp], xmm0
	jmp	.L6
.L5:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 99
	jle	.L7
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 149
	jg	.L7
	movss	xmm0, DWORD PTR .LC12[rip]
	movss	DWORD PTR -16[rbp], xmm0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 49
	jle	.L8
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 99
	jg	.L8
	movss	xmm0, DWORD PTR .LC13[rip]
	movss	DWORD PTR -16[rbp], xmm0
	jmp	.L6
.L8:
	pxor	xmm0, xmm0
	movss	DWORD PTR -16[rbp], xmm0
.L6:
	mov	eax, DWORD PTR -20[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	movss	xmm0, DWORD PTR -24[rbp]
	mulss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	movss	xmm0, DWORD PTR -24[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC14[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -12[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC16[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR .LC17[rip]
	mulss	xmm0, xmm1
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rax, xmm4
	movq	xmm0, rax
	lea	rdi, .LC18[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm0, DWORD PTR -12[rbp]
	mulss	xmm0, DWORD PTR -16[rbp]
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm0
	movq	rax, xmm5
	movq	xmm0, rax
	lea	rdi, .LC19[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm0, DWORD PTR -12[rbp]
	movaps	xmm1, xmm0
	mulss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR -12[rbp]
	subss	xmm0, xmm1
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, xmm0
	movq	rax, xmm6
	movq	xmm0, rax
	lea	rdi, .LC20[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC21[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC11:
	.long	1048576000
	.align 4
.LC12:
	.long	1041865114
	.align 4
.LC13:
	.long	1036831949
	.align 4
.LC17:
	.long	1120403456
	.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	"91636.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Welcome to \"Temple\" store\012\000"
	.align	2
.LC1:
	.ascii	"\011Enter item price: \000"
	.align	2
.LC2:
	.ascii	"%s\000"
	.align	2
.LC3:
	.ascii	"%f\000"
	.global	__aeabi_fcmple
	.align	2
.LC4:
	.ascii	"\012\011This is not a valid item price.\000"
	.align	2
.LC5:
	.ascii	"\011Please run the program again\000"
	.align	2
.LC6:
	.ascii	"\012Thank You for using the \"Temple\" store\000"
	.align	2
.LC7:
	.ascii	"\011Enter quantity: \000"
	.align	2
.LC8:
	.ascii	"%d\000"
	.align	2
.LC9:
	.ascii	"\012\011This is not a valid quantity order.\000"
	.global	__aeabi_i2f
	.global	__aeabi_fmul
	.global	__aeabi_f2d
	.align	2
.LC10:
	.ascii	"\011The item price is: $%.2f\012\000"
	.align	2
.LC11:
	.ascii	"\011The order is: %d item(s)\012\000"
	.align	2
.LC12:
	.ascii	"\011The cost is: $%.2f\012\000"
	.align	2
.LC13:
	.ascii	"\011The discount is: %.1f%%\012\000"
	.align	2
.LC14:
	.ascii	"\011The discount amount is: $%.2f\012\000"
	.global	__aeabi_fsub
	.align	2
.LC15:
	.ascii	"\011The total is: $%.2f\012\000"
	.align	2
.LC16:
	.ascii	"\012Thank you for using the \"Temple\" store\000"
	.align	2
.LC17:
	.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	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L12+4
	bl	puts
	ldr	r1, .L12+8
	ldr	r0, .L12+12
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L12+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-24]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r0, .L12+20
	bl	puts
	ldr	r0, .L12+24
	bl	puts
	ldr	r0, .L12+28
	bl	puts
	mov	r0, #1
	bl	exit
.L11:
	ldr	r1, .L12+32
	ldr	r0, .L12+12
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L12+36
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bgt	.L4
	ldr	r0, .L12+40
	bl	puts
	ldr	r0, .L12+24
	bl	puts
	ldr	r0, .L12+28
	bl	puts
	mov	r0, #1
	bl	exit
.L4:
	ldr	r3, [fp, #-20]
	cmp	r3, #149
	ble	.L5
	mov	r3, #1048576000
	str	r3, [fp, #-16]	@ float
	b	.L6
.L5:
	ldr	r3, [fp, #-20]
	cmp	r3, #99
	ble	.L7
	ldr	r3, [fp, #-20]
	cmp	r3, #149
	bgt	.L7
	ldr	r3, .L12+44
	str	r3, [fp, #-16]	@ float
	b	.L6
.L7:
	ldr	r3, [fp, #-20]
	cmp	r3, #49
	ble	.L8
	ldr	r3, [fp, #-20]
	cmp	r3, #99
	bgt	.L8
	ldr	r3, .L12+48
	str	r3, [fp, #-16]	@ float
	b	.L6
.L8:
	mov	r3, #0
	str	r3, [fp, #-16]	@ float
.L6:
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r2, r0
	ldr	r3, [fp, #-24]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	ldr	r3, [fp, #-24]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L12+52
	bl	printf
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, .L12+56
	bl	printf
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L12+60
	bl	printf
	ldr	r1, .L12+64
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L12+68
	bl	printf
	ldr	r1, [fp, #-16]	@ float
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L12+72
	bl	printf
	ldr	r1, [fp, #-16]	@ float
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L12+76
	bl	printf
	ldr	r0, .L12+80
	bl	puts
	mov	r0, #0
	bl	exit
.L13:
	.align	2
.L12:
	.word	.LC17
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	1041865114
	.word	1036831949
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	1120403456
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
