	.file	"95328.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"-- No space left --"
	.align 8
.LC1:
	.string	"Enter month/day, 24-hour time, and a reminder: "
.LC2:
	.string	"%2d/%2d"
	.align 8
.LC3:
	.string	"Error: month/day not in range!"
.LC4:
	.string	"%d:%d"
.LC5:
	.string	"%2d/%2d %2d:%2d "
.LC6:
	.string	"\nDay   Time   Reminder"
	.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, 3280
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -3252[rbp], 0
.L13:
	cmp	DWORD PTR -3252[rbp], 50
	jne	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L3
.L2:
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -3272[rbp]
	lea	rax, -3276[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -3276[rbp]
	test	eax, eax
	je	.L3
	mov	eax, DWORD PTR -3272[rbp]
	test	eax, eax
	je	.L3
	mov	eax, DWORD PTR -3276[rbp]
	test	eax, eax
	js	.L4
	mov	eax, DWORD PTR -3276[rbp]
	cmp	eax, 12
	jg	.L4
	mov	eax, DWORD PTR -3272[rbp]
	test	eax, eax
	js	.L4
	mov	eax, DWORD PTR -3272[rbp]
	cmp	eax, 31
	jle	.L5
.L4:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L6
.L5:
	lea	rdx, -3264[rbp]
	lea	rax, -3268[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edi, DWORD PTR -3264[rbp]
	mov	esi, DWORD PTR -3268[rbp]
	mov	ecx, DWORD PTR -3272[rbp]
	mov	edx, DWORD PTR -3276[rbp]
	lea	rax, -93[rbp]
	mov	r9d, edi
	mov	r8d, esi
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -80[rbp]
	mov	esi, 60
	mov	rdi, rax
	call	read_line
	mov	DWORD PTR -3260[rbp], 0
	jmp	.L7
.L10:
	lea	rcx, -3248[rbp]
	mov	eax, DWORD PTR -3260[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	sub	rax, rdx
	lea	rdx, [rcx+rax]
	lea	rax, -93[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	js	.L18
	add	DWORD PTR -3260[rbp], 1
.L7:
	mov	eax, DWORD PTR -3260[rbp]
	cmp	eax, DWORD PTR -3252[rbp]
	jl	.L10
	jmp	.L9
.L18:
	nop
.L9:
	mov	eax, DWORD PTR -3252[rbp]
	mov	DWORD PTR -3256[rbp], eax
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -3256[rbp]
	sub	eax, 1
	lea	rcx, -3248[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	sub	rax, rdx
	lea	rdx, [rcx+rax]
	lea	rsi, -3248[rbp]
	mov	eax, DWORD PTR -3256[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 6
	sub	rax, rcx
	add	rax, rsi
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	sub	DWORD PTR -3256[rbp], 1
.L11:
	mov	eax, DWORD PTR -3256[rbp]
	cmp	eax, DWORD PTR -3260[rbp]
	jg	.L12
	lea	rcx, -3248[rbp]
	mov	eax, DWORD PTR -3260[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	sub	rax, rdx
	lea	rdx, [rcx+rax]
	lea	rax, -93[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	lea	rcx, -3248[rbp]
	mov	eax, DWORD PTR -3260[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	sub	rax, rdx
	lea	rdx, [rcx+rax]
	lea	rax, -80[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcat@PLT
	add	DWORD PTR -3252[rbp], 1
.L6:
	jmp	.L13
.L3:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	DWORD PTR -3260[rbp], 0
	jmp	.L14
.L15:
	lea	rcx, -3248[rbp]
	mov	eax, DWORD PTR -3260[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	sub	rax, rdx
	add	rax, rcx
	mov	rdi, rax
	call	puts@PLT
	add	DWORD PTR -3260[rbp], 1
.L14:
	mov	eax, DWORD PTR -3260[rbp]
	cmp	eax, DWORD PTR -3252[rbp]
	jl	.L15
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	read_line
	.type	read_line, @function
read_line:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -8[rbp], 0
	jmp	.L20
.L21:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jge	.L20
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -8[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -4[rbp]
	mov	BYTE PTR [rax], dl
.L20:
	call	getchar@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 10
	jne	.L21
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	read_line, .-read_line
	.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	"95328.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"-- No space left --\000"
	.align	2
.LC1:
	.ascii	"Enter month/day, 24-hour time, and a reminder: \000"
	.align	2
.LC2:
	.ascii	"%2d/%2d\000"
	.align	2
.LC3:
	.ascii	"Error: month/day not in range!\000"
	.align	2
.LC4:
	.ascii	"%d:%d\000"
	.align	2
.LC5:
	.ascii	"%2d/%2d %2d:%2d \000"
	.align	2
.LC6:
	.ascii	"\012Day   Time   Reminder\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 3264
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #3264
	sub	sp, sp, #8
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-3244]
.L13:
	ldr	r3, [fp, #-3244]
	cmp	r3, #50
	bne	.L2
	ldr	r0, .L19+4
	bl	puts
	b	.L3
.L2:
	ldr	r0, .L19+8
	bl	printf
	sub	r3, fp, #3248
	sub	r3, r3, #4
	sub	r3, r3, #12
	sub	r1, fp, #3264
	sub	r1, r1, #4
	mov	r2, r3
	ldr	r0, .L19+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-3268]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-3264]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-3268]
	cmp	r3, #0
	blt	.L4
	ldr	r3, [fp, #-3268]
	cmp	r3, #12
	bgt	.L4
	ldr	r3, [fp, #-3264]
	cmp	r3, #0
	blt	.L4
	ldr	r3, [fp, #-3264]
	cmp	r3, #31
	ble	.L5
.L4:
	ldr	r0, .L19+16
	bl	puts
	b	.L6
.L5:
	sub	r2, fp, #3248
	sub	r2, r2, #4
	sub	r2, r2, #4
	sub	r3, fp, #3248
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L19+20
	bl	__isoc99_scanf
	ldr	r1, [fp, #-3268]
	ldr	ip, [fp, #-3264]
	ldr	r3, [fp, #-3260]
	ldr	r2, [fp, #-3256]
	sub	r0, fp, #88
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r1
	ldr	r1, .L19+24
	bl	sprintf
	sub	r3, fp, #72
	mov	r1, #60
	mov	r0, r3
	bl	read_line
	mov	r3, #0
	str	r3, [fp, #-3252]
	b	.L7
.L10:
	sub	r2, fp, #3232
	sub	r2, r2, #4
	sub	r2, r2, #4
	ldr	r1, [fp, #-3252]
	mov	r3, r1
	lsl	r3, r3, #6
	sub	r3, r3, r1
	add	r2, r2, r3
	sub	r3, fp, #88
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	blt	.L18
	ldr	r3, [fp, #-3252]
	add	r3, r3, #1
	str	r3, [fp, #-3252]
.L7:
	ldr	r2, [fp, #-3252]
	ldr	r3, [fp, #-3244]
	cmp	r2, r3
	blt	.L10
	b	.L9
.L18:
	nop
.L9:
	ldr	r3, [fp, #-3244]
	str	r3, [fp, #-3248]
	b	.L11
.L12:
	sub	r2, fp, #3232
	sub	r2, r2, #4
	sub	r2, r2, #4
	ldr	r1, [fp, #-3248]
	mov	r3, r1
	lsl	r3, r3, #6
	sub	r3, r3, r1
	add	r0, r2, r3
	ldr	r3, [fp, #-3248]
	sub	r1, r3, #1
	sub	r2, fp, #3232
	sub	r2, r2, #4
	sub	r2, r2, #4
	mov	r3, r1
	lsl	r3, r3, #6
	sub	r3, r3, r1
	add	r3, r2, r3
	mov	r1, r3
	bl	strcpy
	ldr	r3, [fp, #-3248]
	sub	r3, r3, #1
	str	r3, [fp, #-3248]
.L11:
	ldr	r2, [fp, #-3248]
	ldr	r3, [fp, #-3252]
	cmp	r2, r3
	bgt	.L12
	sub	r2, fp, #3232
	sub	r2, r2, #4
	sub	r2, r2, #4
	ldr	r1, [fp, #-3252]
	mov	r3, r1
	lsl	r3, r3, #6
	sub	r3, r3, r1
	add	r3, r2, r3
	sub	r2, fp, #88
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r2, fp, #3232
	sub	r2, r2, #4
	sub	r2, r2, #4
	ldr	r1, [fp, #-3252]
	mov	r3, r1
	lsl	r3, r3, #6
	sub	r3, r3, r1
	add	r3, r2, r3
	sub	r2, fp, #72
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	ldr	r3, [fp, #-3244]
	add	r3, r3, #1
	str	r3, [fp, #-3244]
.L6:
	b	.L13
.L3:
	ldr	r0, .L19+28
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-3252]
	b	.L14
.L15:
	sub	r2, fp, #3232
	sub	r2, r2, #4
	sub	r2, r2, #4
	ldr	r1, [fp, #-3252]
	mov	r3, r1
	lsl	r3, r3, #6
	sub	r3, r3, r1
	add	r3, r2, r3
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-3252]
	add	r3, r3, #1
	str	r3, [fp, #-3252]
.L14:
	ldr	r2, [fp, #-3252]
	ldr	r3, [fp, #-3244]
	cmp	r2, r3
	blt	.L15
	mov	r3, #0
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.align	2
	.global	read_line
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_line, %function
read_line:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L22
.L23:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bge	.L22
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	and	r2, r2, #255
	strb	r2, [r3]
.L22:
	bl	getchar
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bne	.L23
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	read_line, .-read_line
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
