	.file	"859416.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Weather Analyzer"
.LC1:
	.string	"================="
	.align 8
.LC2:
	.string	"Please enter a positive number of days: "
.LC3:
	.string	"%d"
.LC4:
	.string	"DAY: %d\n"
.LC5:
	.string	"Enter today's high: "
.LC6:
	.string	"%f"
.LC7:
	.string	"Enter today's low: "
	.align 8
.LC8:
	.string	"Invalid Input! Must be <= than high temperature."
	.align 8
.LC9:
	.string	"Enter today's conditions (s: sunny, c: cloudy, p: precipicitation): "
.LC10:
	.string	" %c"
	.align 8
.LC12:
	.string	"Today's average temperature is: %.2f\n"
	.align 8
.LC14:
	.string	"Average for all %d days is: %.2f degrees.\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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -16[rbp], 20
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
.L2:
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -40[rbp]
	test	eax, eax
	jle	.L2
	mov	DWORD PTR -24[rbp], 1
	jmp	.L3
.L20:
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -36[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L6:
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movss	xmm0, DWORD PTR -32[rbp]
	movss	xmm1, DWORD PTR -36[rbp]
	comiss	xmm0, xmm1
	jbe	.L4
	lea	rdi, .LC8[rip]
	call	puts@PLT
.L4:
	movss	xmm0, DWORD PTR -32[rbp]
	movss	xmm1, DWORD PTR -36[rbp]
	comiss	xmm0, xmm1
	ja	.L6
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -41[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movss	xmm1, DWORD PTR -36[rbp]
	movss	xmm0, DWORD PTR -32[rbp]
	addss	xmm0, xmm1
	movss	xmm1, DWORD PTR .LC11[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -12[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC12[rip]
	mov	eax, 1
	call	printf@PLT
	movzx	eax, BYTE PTR -41[rbp]
	cmp	al, 115
	jne	.L7
	mov	DWORD PTR -20[rbp], 0
	jmp	.L8
.L9:
	mov	edi, 64
	call	putchar@PLT
	add	DWORD PTR -20[rbp], 1
.L8:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jl	.L9
	jmp	.L10
.L7:
	movzx	eax, BYTE PTR -41[rbp]
	cmp	al, 99
	jne	.L11
	mov	DWORD PTR -20[rbp], 0
	jmp	.L12
.L13:
	mov	edi, 126
	call	putchar@PLT
	add	DWORD PTR -20[rbp], 1
.L12:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jl	.L13
	jmp	.L10
.L11:
	movzx	eax, BYTE PTR -41[rbp]
	cmp	al, 112
	jne	.L14
	pxor	xmm0, xmm0
	comiss	xmm0, DWORD PTR -12[rbp]
	jb	.L14
	mov	DWORD PTR -20[rbp], 0
	jmp	.L16
.L17:
	mov	edi, 42
	call	putchar@PLT
	add	DWORD PTR -20[rbp], 1
.L16:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jl	.L17
	jmp	.L10
.L14:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L18
.L19:
	mov	edi, 59
	call	putchar@PLT
	add	DWORD PTR -20[rbp], 1
.L18:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jl	.L19
.L10:
	mov	edi, 10
	call	putchar@PLT
	movss	xmm0, DWORD PTR -28[rbp]
	addss	xmm0, DWORD PTR -12[rbp]
	movss	DWORD PTR -28[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	add	DWORD PTR -24[rbp], 1
.L3:
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -24[rbp], eax
	jle	.L20
	mov	eax, DWORD PTR -40[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	movss	xmm0, DWORD PTR -28[rbp]
	divss	xmm0, xmm1
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rdx, xmm3
	mov	eax, DWORD PTR -40[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC11:
	.long	1073741824
	.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	"859416.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Weather Analyzer\000"
	.align	2
.LC1:
	.ascii	"=================\000"
	.align	2
.LC2:
	.ascii	"Please enter a positive number of days: \000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"DAY: %d\012\000"
	.align	2
.LC5:
	.ascii	"Enter today's high: \000"
	.align	2
.LC6:
	.ascii	"%f\000"
	.align	2
.LC7:
	.ascii	"Enter today's low: \000"
	.global	__aeabi_fcmpgt
	.align	2
.LC8:
	.ascii	"Invalid Input! Must be <= than high temperature.\000"
	.align	2
.LC9:
	.ascii	"Enter today's conditions (s: sunny, c: cloudy, p: p"
	.ascii	"recipicitation): \000"
	.align	2
.LC10:
	.ascii	" %c\000"
	.global	__aeabi_fadd
	.global	__aeabi_fdiv
	.global	__aeabi_f2d
	.align	2
.LC11:
	.ascii	"Today's average temperature is: %.2f\012\000"
	.global	__aeabi_fcmple
	.global	__aeabi_i2f
	.align	2
.LC12:
	.ascii	"Average for all %d days is: %.2f degrees.\012\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #20
	str	r3, [fp, #-24]
	ldr	r0, .L25+4
	bl	puts
	ldr	r0, .L25+8
	bl	puts
.L2:
	ldr	r0, .L25+12
	bl	printf
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L25+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	ble	.L2
	mov	r3, #1
	str	r3, [fp, #-32]
	b	.L3
.L20:
	ldr	r1, [fp, #-32]
	ldr	r0, .L25+20
	bl	printf
	ldr	r0, .L25+24
	bl	printf
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L25+28
	bl	__isoc99_scanf
.L6:
	ldr	r0, .L25+32
	bl	printf
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L25+28
	bl	__isoc99_scanf
	ldr	r3, [fp, #-40]	@ float
	ldr	r2, [fp, #-44]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	ldr	r0, .L25+36
	bl	puts
.L4:
	ldr	r3, [fp, #-40]	@ float
	ldr	r2, [fp, #-44]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r0, .L25+40
	bl	printf
	sub	r3, fp, #49
	mov	r1, r3
	ldr	r0, .L25+44
	bl	__isoc99_scanf
	ldr	r3, [fp, #-44]	@ float
	ldr	r2, [fp, #-40]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, #1073741824
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L25+48
	bl	printf
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	cmp	r3, #115
	bne	.L7
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L8
.L9:
	mov	r0, #64
	bl	putchar
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L8:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L9
	b	.L10
.L7:
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	cmp	r3, #99
	bne	.L11
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L12
.L13:
	mov	r0, #126
	bl	putchar
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L12:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L13
	b	.L10
.L11:
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	cmp	r3, #112
	bne	.L14
	mov	r1, #0
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L16
.L17:
	mov	r0, #42
	bl	putchar
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L16:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L17
	b	.L10
.L14:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L18
.L19:
	mov	r0, #59
	bl	putchar
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L18:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L19
.L10:
	mov	r0, #10
	bl	putchar
	ldr	r1, [fp, #-20]	@ float
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-36]	@ float
	mov	r3, #0
	str	r3, [fp, #-20]	@ float
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L3:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	ble	.L20
	ldr	r4, [fp, #-48]
	ldr	r3, [fp, #-48]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r1, r4
	ldr	r0, .L25+52
	bl	printf
	mov	r3, #0
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC13
	.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
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
