	.file	"538837.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter number of square feet to be painted: "
.LC1:
	.string	"can"
.LC2:
	.string	"cans"
.LC3:
	.string	"You need %d %s of paint. \n"
.LC4:
	.string	"%d"
.LC5:
	.string	"--------------- "
	.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
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L2
.L6:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1570730897
	shr	rdx, 32
	sar	edx, 7
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -12[rbp], eax
	mov	edx, DWORD PTR -16[rbp]
	movsx	rax, edx
	imul	rax, rax, 1570730897
	shr	rax, 32
	sar	eax, 7
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 350
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	setne	al
	movzx	eax, al
	add	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 1
	jne	.L3
	lea	rax, .LC1[rip]
	jmp	.L4
.L3:
	lea	rax, .LC2[rip]
.L4:
	mov	ecx, DWORD PTR -12[rbp]
	mov	rdx, rax
	mov	esi, ecx
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, 1
	jne	.L5
	mov	eax, DWORD PTR -16[rbp]
	test	eax, eax
	jg	.L6
.L5:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	call	getchar@PLT
	mov	eax, 0
	call	skippart
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC8:
	.string	"Enter the first score (q to quit): "
	.align 8
.LC9:
	.string	"%0.1f is a in valid value. Try gain: "
.LC10:
	.string	"Accepting %0.1f: \n"
	.align 8
.LC11:
	.string	"Enter next score (q to quit): "
.LC12:
	.string	"%f"
	.align 8
.LC13:
	.string	"Average of %d scores is %0.1f. \n"
.LC14:
	.string	"Low  = %0.1f, high = %0.1f \n"
	.align 8
.LC15:
	.string	"No valid scores were entered! "
	.text
	.globl	skippart
	.type	skippart, @function
skippart:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	pxor	xmm0, xmm0
	movss	DWORD PTR -16[rbp], xmm0
	movss	xmm0, DWORD PTR .LC7[rip]
	movss	DWORD PTR -12[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -32[rbp], xmm0
	mov	DWORD PTR -28[rbp], 0
	movss	xmm0, DWORD PTR -16[rbp]
	movss	DWORD PTR -24[rbp], xmm0
	movss	xmm0, DWORD PTR -12[rbp]
	movss	DWORD PTR -20[rbp], xmm0
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L10
.L21:
	movss	xmm1, DWORD PTR -36[rbp]
	movss	xmm0, DWORD PTR -16[rbp]
	comiss	xmm0, xmm1
	ja	.L11
	movss	xmm0, DWORD PTR -36[rbp]
	comiss	xmm0, DWORD PTR -12[rbp]
	jbe	.L27
.L11:
	movss	xmm0, DWORD PTR -36[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L10
.L27:
	cmp	DWORD PTR -28[rbp], 0
	jne	.L14
	movss	xmm0, DWORD PTR -36[rbp]
	movss	DWORD PTR -24[rbp], xmm0
	movss	xmm0, DWORD PTR -36[rbp]
	movss	DWORD PTR -20[rbp], xmm0
.L14:
	movss	xmm0, DWORD PTR -36[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm1, DWORD PTR -36[rbp]
	movss	xmm0, DWORD PTR -24[rbp]
	comiss	xmm0, xmm1
	jbe	.L28
	movss	xmm0, DWORD PTR -36[rbp]
	jmp	.L17
.L28:
	movss	xmm0, DWORD PTR -24[rbp]
.L17:
	movss	DWORD PTR -24[rbp], xmm0
	movss	xmm0, DWORD PTR -36[rbp]
	comiss	xmm0, DWORD PTR -20[rbp]
	jbe	.L29
	movss	xmm0, DWORD PTR -36[rbp]
	jmp	.L20
.L29:
	movss	xmm0, DWORD PTR -20[rbp]
.L20:
	movss	DWORD PTR -20[rbp], xmm0
	movss	xmm0, DWORD PTR -36[rbp]
	movss	xmm1, DWORD PTR -32[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -32[rbp], xmm0
	add	DWORD PTR -28[rbp], 1
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	lea	rax, -36[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, 1
	je	.L21
	cmp	DWORD PTR -28[rbp], 0
	jle	.L22
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -28[rbp]
	movss	xmm0, DWORD PTR -32[rbp]
	divss	xmm0, xmm1
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rdx, xmm4
	mov	eax, DWORD PTR -28[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -20[rbp]
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, DWORD PTR -24[rbp]
	movq	rax, xmm5
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC14[rip]
	mov	eax, 2
	call	printf@PLT
	jmp	.L30
.L22:
	lea	rdi, .LC15[rip]
	call	puts@PLT
.L30:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	skippart, .-skippart
	.section	.rodata
	.align 4
.LC7:
	.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	"538837.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter number of square feet to be painted: \000"
	.align	2
.LC1:
	.ascii	"can\000"
	.align	2
.LC2:
	.ascii	"cans\000"
	.align	2
.LC3:
	.ascii	"You need %d %s of paint. \012\000"
	.align	2
.LC4:
	.ascii	"%d\000"
	.align	2
.LC5:
	.ascii	"--------------- \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 = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L9+4
	bl	puts
	b	.L2
.L6:
	ldr	r3, [fp, #-16]
	ldr	r2, .L9+8
	smull	r1, r2, r3, r2
	asr	r2, r2, #7
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r1, [fp, #-16]
	ldr	r3, .L9+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #7
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	sub	r2, r1, r2
	cmp	r2, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L3
	ldr	r3, .L9+12
	b	.L4
.L3:
	ldr	r3, .L9+16
.L4:
	mov	r2, r3
	ldr	r1, [fp, #-12]
	ldr	r0, .L9+20
	bl	printf
.L2:
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L9+24
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #1
	bne	.L5
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bgt	.L6
.L5:
	ldr	r0, .L9+28
	bl	puts
	bl	getchar
	bl	skippart
	mov	r3, #0
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC6
	.word	.LC0
	.word	1570730897
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Enter the first score (q to quit): \000"
	.global	__aeabi_fcmpgt
	.global	__aeabi_fcmplt
	.global	__aeabi_f2d
	.align	2
.LC8:
	.ascii	"%0.1f is a in valid value. Try gain: \000"
	.align	2
.LC9:
	.ascii	"Accepting %0.1f: \012\000"
	.global	__aeabi_fadd
	.align	2
.LC10:
	.ascii	"Enter next score (q to quit): \000"
	.align	2
.LC11:
	.ascii	"%f\000"
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.align	2
.LC12:
	.ascii	"Average of %d scores is %0.1f. \012\000"
	.align	2
.LC13:
	.ascii	"Low  = %0.1f, high = %0.1f \012\000"
	.align	2
.LC14:
	.ascii	"No valid scores were entered! \000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	skippart
	.syntax unified
	.arm
	.fpu softvfp
	.type	skippart, %function
skippart:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #40
	ldr	r3, .L33
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-24]	@ float
	ldr	r3, .L33+4
	str	r3, [fp, #-20]	@ float
	mov	r3, #0
	str	r3, [fp, #-40]	@ float
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-24]	@ float
	str	r3, [fp, #-32]	@ float
	ldr	r3, [fp, #-20]	@ float
	str	r3, [fp, #-28]	@ float
	ldr	r0, .L33+8
	bl	printf
	b	.L12
.L23:
	ldr	r3, [fp, #-44]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	ldr	r3, [fp, #-44]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
.L13:
	ldr	r3, [fp, #-44]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L33+12
	bl	printf
	b	.L12
.L29:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L16
	ldr	r3, [fp, #-44]	@ float
	str	r3, [fp, #-32]	@ float
	ldr	r3, [fp, #-44]	@ float
	str	r3, [fp, #-28]	@ float
.L16:
	ldr	r3, [fp, #-44]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L33+16
	bl	printf
	ldr	r3, [fp, #-44]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L30
	ldr	r3, [fp, #-44]	@ float
	b	.L19
.L30:
	ldr	r3, [fp, #-32]	@ float
.L19:
	str	r3, [fp, #-32]	@ float
	ldr	r3, [fp, #-44]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L31
	ldr	r3, [fp, #-44]	@ float
	b	.L22
.L31:
	ldr	r3, [fp, #-28]	@ float
.L22:
	str	r3, [fp, #-28]	@ float
	ldr	r3, [fp, #-44]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-40]	@ float
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r0, .L33+20
	bl	printf
.L12:
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L33+24
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L23
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	ble	.L24
	ldr	r0, [fp, #-36]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-36]
	ldr	r0, .L33+28
	bl	printf
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L33+32
	bl	printf
	b	.L32
.L24:
	ldr	r0, .L33+36
	bl	puts
.L32:
	nop
	ldr	r3, .L33
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC15
	.word	1120403456
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	skippart, .-skippart
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
