	.file	"624218.c"
	.intel_syntax noprefix
	.text
	.globl	arr_events
	.bss
	.align 32
	.type	arr_events, @object
	.size	arr_events, 340000
arr_events:
	.zero	340000
	.section	.rodata
.LC0:
	.string	"--start="
.LC1:
	.string	"--start=%d/%d/%d"
.LC2:
	.string	"--end="
.LC3:
	.string	"--end=%d/%d/%d"
.LC4:
	.string	"--file="
	.align 8
.LC5:
	.string	"usage: %s --start=yyyy/mm/dd --end=yyyy/mm/dd --file=icsfile\n"
	.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, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -56[rbp], 0
	mov	DWORD PTR -52[rbp], 0
	mov	DWORD PTR -48[rbp], 0
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L2
.L6:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, 8
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L3
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, -48[rbp]
	lea	rcx, -52[rbp]
	lea	rdx, -56[rbp]
	mov	r8, rsi
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	jmp	.L4
.L3:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, 6
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L5
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, -36[rbp]
	lea	rcx, -40[rbp]
	lea	rdx, -44[rbp]
	mov	r8, rsi
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, 7
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L4
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 7
	mov	QWORD PTR -16[rbp], rax
.L4:
	add	DWORD PTR -24[rbp], 1
.L2:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jl	.L6
	mov	eax, DWORD PTR -56[rbp]
	test	eax, eax
	je	.L7
	mov	eax, DWORD PTR -44[rbp]
	test	eax, eax
	je	.L7
	cmp	QWORD PTR -16[rbp], 0
	jne	.L8
.L7:
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	mov	DWORD PTR -20[rbp], 0
	mov	r9d, DWORD PTR -36[rbp]
	mov	r8d, DWORD PTR -40[rbp]
	mov	ecx, DWORD PTR -44[rbp]
	mov	edx, DWORD PTR -48[rbp]
	mov	esi, DWORD PTR -52[rbp]
	mov	eax, DWORD PTR -56[rbp]
	lea	rdi, -28[rbp]
	push	rdi
	lea	rdi, -32[rbp]
	push	rdi
	mov	edi, eax
	call	convert
	add	rsp, 16
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, DWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	read
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	print_events
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC6:
	.string	"%4d%2d%2d"
.LC7:
	.string	"%B %d, %Y (%a)"
	.text
	.globl	dt_format
	.type	dt_format, @function
dt_format:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -104[rbp], rdi
	mov	QWORD PTR -112[rbp], rsi
	mov	DWORD PTR -116[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -80[rbp]
	mov	edx, 56
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -80[rbp]
	lea	rsi, 12[rax]
	lea	rax, -80[rbp]
	lea	rcx, 16[rax]
	lea	rax, -80[rbp]
	lea	rdx, 20[rax]
	mov	rax, QWORD PTR -112[rbp]
	mov	r8, rsi
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1900
	mov	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	sub	eax, 1
	mov	DWORD PTR -64[rbp], eax
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	mktime@PLT
	mov	QWORD PTR -88[rbp], rax
	lea	rax, -88[rbp]
	mov	rdi, rax
	call	localtime@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -116[rbp]
	movsx	rsi, eax
	mov	rax, QWORD PTR -104[rbp]
	mov	rcx, rdx
	lea	rdx, .LC7[rip]
	mov	rdi, rax
	call	strftime@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	dt_format, .-dt_format
	.section	.rodata
.LC8:
	.string	"%Y%m%d"
	.text
	.globl	dt_increment
	.type	dt_increment, @function
dt_increment:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -104[rbp], rdi
	mov	QWORD PTR -112[rbp], rsi
	mov	DWORD PTR -116[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -80[rbp]
	mov	edx, 56
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -80[rbp]
	lea	rsi, 12[rax]
	lea	rax, -80[rbp]
	lea	rcx, 16[rax]
	lea	rax, -80[rbp]
	lea	rdx, 20[rax]
	mov	rax, QWORD PTR -112[rbp]
	mov	r8, rsi
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1900
	mov	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	sub	eax, 1
	mov	DWORD PTR -64[rbp], eax
	mov	edx, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -116[rbp]
	add	eax, edx
	mov	DWORD PTR -68[rbp], eax
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	mktime@PLT
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	mov	BYTE PTR [rax], 0
	lea	rax, -88[rbp]
	mov	rdi, rax
	call	localtime@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	mov	rcx, rdx
	lea	rdx, .LC8[rip]
	mov	esi, 9
	mov	rdi, rax
	call	strftime@PLT
	mov	rax, QWORD PTR -112[rbp]
	lea	rcx, 8[rax]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, 8
	mov	edx, 124
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	rax, QWORD PTR -104[rbp]
	add	rax, 131
	mov	BYTE PTR [rax], 0
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	dt_increment, .-dt_increment
	.globl	compare_event
	.type	compare_event, @function
compare_event:
.LFB9:
	.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	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	compare_event, .-compare_event
	.section	.rodata
.LC9:
	.string	"r"
.LC10:
	.string	"BEGIN:VEVENT"
.LC11:
	.string	"DTSTART:"
.LC12:
	.string	"DTSTART:%s"
.LC13:
	.string	"DTEND:"
.LC14:
	.string	"DTEND:%s"
.LC15:
	.string	"RRULE"
	.align 8
.LC16:
	.string	"RRULE:FREQ=WEEKLY;WKST=MO;UNTIL="
	.align 8
.LC17:
	.string	"RRULE:FREQ=WEEKLY;WKST=MO;UNTIL=%15s"
.LC18:
	.string	"RRULE:FREQ=WEEKLY;UNTIL="
.LC19:
	.string	"RRULE:FREQ=WEEKLY;UNTIL=%15s"
.LC20:
	.string	"LOCATION"
.LC21:
	.string	"SUMMARY"
	.text
	.globl	read
	.type	read, @function
read:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1024
	mov	QWORD PTR -1000[rbp], rdi
	mov	DWORD PTR -1004[rbp], esi
	mov	DWORD PTR -1008[rbp], edx
	mov	DWORD PTR -1012[rbp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -1000[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -984[rbp], rax
	cmp	QWORD PTR -984[rbp], 0
	jne	.L18
	mov	edi, 1
	call	exit@PLT
.L35:
	lea	rax, -288[rbp]
	mov	edx, 12
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L18
	jmp	.L19
.L20:
	mov	rdx, QWORD PTR -984[rbp]
	lea	rax, -288[rbp]
	mov	esi, 132
	mov	rdi, rax
	call	fgets@PLT
.L19:
	lea	rax, -288[rbp]
	mov	edx, 8
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L20
	lea	rdx, -976[rbp]
	lea	rax, -288[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	jmp	.L21
.L22:
	mov	rdx, QWORD PTR -984[rbp]
	lea	rax, -288[rbp]
	mov	esi, 132
	mov	rdi, rax
	call	fgets@PLT
.L21:
	lea	rax, -288[rbp]
	mov	edx, 6
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L22
	lea	rax, -976[rbp]
	lea	rdx, 132[rax]
	lea	rax, -288[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	rdx, QWORD PTR -984[rbp]
	lea	rax, -288[rbp]
	mov	esi, 132
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -288[rbp]
	mov	edx, 5
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L23
	lea	rax, -288[rbp]
	mov	edx, 32
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L24
	lea	rax, -976[rbp]
	lea	rdx, 264[rax]
	lea	rax, -288[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	jmp	.L25
.L24:
	lea	rax, -288[rbp]
	mov	edx, 24
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L25
	lea	rax, -976[rbp]
	lea	rdx, 264[rax]
	lea	rax, -288[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
.L25:
	mov	rdx, QWORD PTR -984[rbp]
	lea	rax, -288[rbp]
	mov	esi, 132
	mov	rdi, rax
	call	fgets@PLT
	jmp	.L27
.L23:
	lea	rax, -976[rbp]
	lea	rdx, -976[rbp]
	lea	rcx, 264[rdx]
	mov	edx, 132
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	jmp	.L27
.L28:
	mov	rdx, QWORD PTR -984[rbp]
	lea	rax, -288[rbp]
	mov	esi, 132
	mov	rdi, rax
	call	fgets@PLT
.L27:
	lea	rax, -288[rbp]
	mov	edx, 8
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L28
	lea	rax, -288[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -288[rbp]
	lea	rcx, 9[rax]
	lea	rax, -976[rbp]
	add	rax, 396
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	lea	rax, -976[rbp]
	add	rax, 396
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	mov	BYTE PTR -580[rbp+rax], 0
	jmp	.L29
.L30:
	mov	rdx, QWORD PTR -984[rbp]
	lea	rax, -288[rbp]
	mov	esi, 132
	mov	rdi, rax
	call	fgets@PLT
.L29:
	lea	rax, -288[rbp]
	mov	edx, 7
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L30
	lea	rax, -288[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -288[rbp]
	lea	rcx, 8[rax]
	lea	rax, -976[rbp]
	add	rax, 528
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	lea	rax, -976[rbp]
	add	rax, 528
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	mov	BYTE PTR -448[rbp+rax], 0
	lea	rax, -976[rbp]
	mov	rdi, rax
	call	atoi@PLT
	cmp	DWORD PTR -1004[rbp], eax
	jg	.L32
	lea	rax, -976[rbp]
	add	rax, 132
	mov	rdi, rax
	call	atoi@PLT
	cmp	DWORD PTR -1008[rbp], eax
	jl	.L32
	mov	eax, DWORD PTR -1012[rbp]
	cdqe
	imul	rax, rax, 680
	lea	rdx, arr_events[rip]
	add	rdx, rax
	lea	rax, -976[rbp]
	mov	ecx, 85
	mov	rdi, rdx
	mov	rsi, rax
	rep movsq
	add	DWORD PTR -1012[rbp], 1
	jmp	.L32
.L34:
	lea	rcx, -976[rbp]
	lea	rax, -144[rbp]
	mov	edx, 7
	mov	rsi, rcx
	mov	rdi, rax
	call	dt_increment
	lea	rcx, -144[rbp]
	lea	rax, -976[rbp]
	mov	edx, 15
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	lea	rax, -976[rbp]
	lea	rcx, 132[rax]
	lea	rax, -144[rbp]
	mov	edx, 7
	mov	rsi, rcx
	mov	rdi, rax
	call	dt_increment
	lea	rax, -144[rbp]
	lea	rdx, -976[rbp]
	lea	rcx, 132[rdx]
	mov	edx, 15
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	lea	rax, -976[rbp]
	mov	rdi, rax
	call	atoi@PLT
	cmp	DWORD PTR -1004[rbp], eax
	jg	.L32
	lea	rax, -976[rbp]
	add	rax, 132
	mov	rdi, rax
	call	atoi@PLT
	cmp	DWORD PTR -1008[rbp], eax
	jl	.L32
	lea	rax, -976[rbp]
	lea	rcx, 264[rax]
	lea	rax, -976[rbp]
	mov	edx, 15
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jg	.L32
	mov	eax, DWORD PTR -1012[rbp]
	cdqe
	imul	rax, rax, 680
	lea	rdx, arr_events[rip]
	add	rdx, rax
	lea	rax, -976[rbp]
	mov	ecx, 85
	mov	rdi, rdx
	mov	rsi, rax
	rep movsq
	add	DWORD PTR -1012[rbp], 1
.L32:
	lea	rax, -976[rbp]
	lea	rcx, 264[rax]
	lea	rax, -976[rbp]
	mov	edx, 15
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	js	.L34
.L18:
	mov	rdx, QWORD PTR -984[rbp]
	lea	rax, -288[rbp]
	mov	esi, 132
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L35
	mov	rax, QWORD PTR -984[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -1012[rbp]
	cdqe
	lea	rcx, compare_event[rip]
	mov	edx, 680
	mov	rsi, rax
	lea	rdi, arr_events[rip]
	call	qsort@PLT
	mov	eax, DWORD PTR -1012[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L37
	call	__stack_chk_fail@PLT
.L37:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	read, .-read
	.section	.rodata
.LC22:
	.string	"%*8dT%2d%2d"
.LC23:
	.string	"AM"
.LC24:
	.string	"PM"
	.align 8
.LC25:
	.string	"%2d:%02d %s to %2d:%02d %s: %s {{%s}}\n"
	.text
	.globl	print_events
	.type	print_events, @function
print_events:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 200
	.cfi_offset 3, -24
	mov	DWORD PTR -196[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -168[rbp], 0
	jmp	.L39
.L51:
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	imul	rax, rax, 680
	lea	rdx, arr_events[rip]
	lea	rdi, [rax+rdx]
	lea	rdx, -180[rbp]
	lea	rax, -184[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC22[rip]
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	imul	rax, rax, 680
	lea	rdx, 128[rax]
	lea	rax, arr_events[rip]
	add	rax, rdx
	lea	rdi, 4[rax]
	lea	rdx, -172[rbp]
	lea	rax, -176[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC22[rip]
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	eax, DWORD PTR -184[rbp]
	cmp	eax, 11
	jg	.L40
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	imul	rax, rax, 680
	lea	rdx, arr_events[rip+664]
	lea	rcx, .LC23[rip]
	mov	QWORD PTR [rax+rdx], rcx
	jmp	.L41
.L40:
	mov	eax, DWORD PTR -184[rbp]
	cmp	eax, 12
	jne	.L42
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	imul	rax, rax, 680
	lea	rdx, arr_events[rip+664]
	lea	rcx, .LC24[rip]
	mov	QWORD PTR [rax+rdx], rcx
	jmp	.L41
.L42:
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	imul	rax, rax, 680
	lea	rdx, arr_events[rip+664]
	lea	rcx, .LC24[rip]
	mov	QWORD PTR [rax+rdx], rcx
	mov	eax, DWORD PTR -184[rbp]
	sub	eax, 12
	mov	DWORD PTR -184[rbp], eax
.L41:
	mov	eax, DWORD PTR -176[rbp]
	cmp	eax, 11
	jg	.L43
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	imul	rax, rax, 680
	lea	rdx, arr_events[rip+672]
	lea	rcx, .LC23[rip]
	mov	QWORD PTR [rax+rdx], rcx
	jmp	.L44
.L43:
	mov	eax, DWORD PTR -176[rbp]
	cmp	eax, 12
	jne	.L45
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	imul	rax, rax, 680
	lea	rdx, arr_events[rip+672]
	lea	rcx, .LC24[rip]
	mov	QWORD PTR [rax+rdx], rcx
	jmp	.L44
.L45:
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	imul	rax, rax, 680
	lea	rdx, arr_events[rip+672]
	lea	rcx, .LC24[rip]
	mov	QWORD PTR [rax+rdx], rcx
	mov	eax, DWORD PTR -176[rbp]
	sub	eax, 12
	mov	DWORD PTR -176[rbp], eax
.L44:
	cmp	DWORD PTR -168[rbp], 0
	je	.L46
	cmp	DWORD PTR -168[rbp], 0
	jle	.L47
	mov	eax, DWORD PTR -168[rbp]
	sub	eax, 1
	cdqe
	imul	rax, rax, 680
	lea	rdx, arr_events[rip]
	lea	rcx, [rax+rdx]
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	imul	rax, rax, 680
	lea	rdx, arr_events[rip]
	add	rax, rdx
	mov	edx, 8
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	je	.L47
.L46:
	cmp	DWORD PTR -168[rbp], 0
	jle	.L48
	mov	edi, 10
	call	putchar@PLT
.L48:
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	imul	rax, rax, 680
	lea	rdx, arr_events[rip]
	lea	rcx, [rax+rdx]
	lea	rax, -160[rbp]
	mov	edx, 132
	mov	rsi, rcx
	mov	rdi, rax
	call	dt_format
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	DWORD PTR -164[rbp], 0
	jmp	.L49
.L50:
	mov	edi, 45
	call	putchar@PLT
	add	DWORD PTR -164[rbp], 1
.L49:
	mov	eax, DWORD PTR -164[rbp]
	movsx	rbx, eax
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L50
	mov	edi, 10
	call	putchar@PLT
.L47:
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	imul	rax, rax, 680
	lea	rdx, 384[rax]
	lea	rax, arr_events[rip]
	add	rax, rdx
	lea	r8, 12[rax]
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	imul	rax, rax, 680
	lea	rdx, 528[rax]
	lea	rax, arr_events[rip]
	lea	rdi, [rdx+rax]
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	imul	rax, rax, 680
	lea	rdx, arr_events[rip+672]
	mov	rsi, QWORD PTR [rax+rdx]
	mov	r9d, DWORD PTR -172[rbp]
	mov	r10d, DWORD PTR -176[rbp]
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	imul	rax, rax, 680
	lea	rdx, arr_events[rip+664]
	mov	rcx, QWORD PTR [rax+rdx]
	mov	edx, DWORD PTR -180[rbp]
	mov	eax, DWORD PTR -184[rbp]
	sub	rsp, 8
	push	r8
	push	rdi
	push	rsi
	mov	r8d, r10d
	mov	esi, eax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 32
	add	DWORD PTR -168[rbp], 1
.L39:
	mov	eax, DWORD PTR -168[rbp]
	cmp	eax, DWORD PTR -196[rbp]
	jl	.L51
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L52
	call	__stack_chk_fail@PLT
.L52:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	print_events, .-print_events
	.globl	convert
	.type	convert, @function
convert:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	DWORD PTR -12[rbp], edx
	mov	DWORD PTR -16[rbp], ecx
	mov	DWORD PTR -20[rbp], r8d
	mov	DWORD PTR -24[rbp], r9d
	mov	eax, DWORD PTR -4[rbp]
	imul	edx, eax, 10000
	mov	eax, DWORD PTR -8[rbp]
	imul	eax, eax, 100
	add	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	add	edx, eax
	mov	rax, QWORD PTR 16[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -16[rbp]
	imul	edx, eax, 10000
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, eax, 100
	add	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	add	edx, eax
	mov	rax, QWORD PTR 24[rbp]
	mov	DWORD PTR [rax], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	convert, .-convert
	.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	"624218.c"
	.text
	.comm	arr_events,334000,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"--start=\000"
	.align	2
.LC1:
	.ascii	"--start=%d/%d/%d\000"
	.align	2
.LC2:
	.ascii	"--end=\000"
	.align	2
.LC3:
	.ascii	"--end=%d/%d/%d\000"
	.align	2
.LC4:
	.ascii	"--file=\000"
	.align	2
.LC5:
	.ascii	"usage: %s --start=yyyy/mm/dd --end=yyyy/mm/dd --fil"
	.ascii	"e=icsfile\012\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 = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #76
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L2
.L6:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #8
	ldr	r1, .L10+4
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldr	r0, [r3]
	sub	r1, fp, #56
	sub	r2, fp, #60
	sub	r3, fp, #52
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L10+8
	bl	__isoc99_sscanf
	b	.L4
.L3:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #6
	ldr	r1, .L10+12
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldr	r0, [r3]
	sub	r1, fp, #44
	sub	r2, fp, #48
	sub	r3, fp, #40
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L10+16
	bl	__isoc99_sscanf
	b	.L4
.L5:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #7
	ldr	r1, .L10+20
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #7
	str	r3, [fp, #-28]
.L4:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L2:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L6
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L8
.L7:
	ldr	r3, .L10+24
	ldr	r0, [r3]
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L10+28
	bl	fprintf
	mov	r0, #1
	bl	exit
.L8:
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-60]
	ldr	ip, [fp, #-56]
	ldr	lr, [fp, #-52]
	ldr	r4, [fp, #-48]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-40]
	sub	r1, fp, #32
	str	r1, [sp, #12]
	sub	r1, fp, #36
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r4
	mov	r2, lr
	mov	r1, ip
	bl	convert
	ldr	r1, [fp, #-36]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-20]
	ldr	r0, [fp, #-28]
	bl	read
	str	r0, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	print_events
	mov	r0, #0
	bl	exit
.L11:
	.align	2
.L10:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	stderr
	.word	.LC5
	.size	main, .-main
	.section	.rodata
	.align	2
.LC7:
	.ascii	"%4d%2d%2d\000"
	.align	2
.LC8:
	.ascii	"%B %d, %Y (%a)\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	dt_format
	.syntax unified
	.arm
	.fpu softvfp
	.type	dt_format, %function
dt_format:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #92
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	str	r2, [fp, #-88]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #68
	mov	r2, #44
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #68
	add	r1, r3, #16
	sub	r3, fp, #68
	add	r2, r3, #20
	sub	r3, fp, #68
	add	r3, r3, #12
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L14+4
	ldr	r0, [fp, #-84]
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-48]
	sub	r3, r3, #1888
	sub	r3, r3, #12
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-52]
	sub	r3, r3, #1
	str	r3, [fp, #-52]
	sub	r3, fp, #68
	mov	r0, r3
	bl	mktime
	mov	r3, r0
	str	r3, [fp, #-72]
	ldr	r4, [fp, #-88]
	sub	r3, fp, #72
	mov	r0, r3
	bl	localtime
	mov	r3, r0
	ldr	r2, .L14+8
	mov	r1, r4
	ldr	r0, [fp, #-80]
	bl	strftime
	nop
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC9
	.word	.LC7
	.word	.LC8
	.size	dt_format, .-dt_format
	.section	.rodata
	.align	2
.LC10:
	.ascii	"%Y%m%d\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	dt_increment
	.syntax unified
	.arm
	.fpu softvfp
	.type	dt_increment, %function
dt_increment:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	str	r2, [fp, #-80]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #60
	mov	r2, #44
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #60
	add	r1, r3, #16
	sub	r3, fp, #60
	add	r2, r3, #20
	sub	r3, fp, #60
	add	r3, r3, #12
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L18+4
	ldr	r0, [fp, #-76]
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1888
	sub	r3, r3, #12
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	str	r3, [fp, #-44]
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	str	r3, [fp, #-48]
	sub	r3, fp, #60
	mov	r0, r3
	bl	mktime
	mov	r3, r0
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-72]
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #64
	mov	r0, r3
	bl	localtime
	mov	r3, r0
	ldr	r2, .L18+8
	mov	r1, #9
	ldr	r0, [fp, #-72]
	bl	strftime
	ldr	r3, [fp, #-72]
	add	r0, r3, #8
	ldr	r3, [fp, #-76]
	add	r3, r3, #8
	mov	r2, #124
	mov	r1, r3
	bl	strncpy
	ldr	r3, [fp, #-72]
	add	r3, r3, #131
	mov	r2, #0
	strb	r2, [r3]
	nop
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC11
	.word	.LC7
	.word	.LC10
	.size	dt_increment, .-dt_increment
	.align	2
	.global	compare_event
	.syntax unified
	.arm
	.fpu softvfp
	.type	compare_event, %function
compare_event:
	@ 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]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	compare_event, .-compare_event
	.section	.rodata
	.align	2
.LC12:
	.ascii	"r\000"
	.align	2
.LC13:
	.ascii	"BEGIN:VEVENT\000"
	.align	2
.LC14:
	.ascii	"DTSTART:\000"
	.align	2
.LC15:
	.ascii	"DTSTART:%s\000"
	.align	2
.LC16:
	.ascii	"DTEND:\000"
	.align	2
.LC17:
	.ascii	"DTEND:%s\000"
	.align	2
.LC18:
	.ascii	"RRULE\000"
	.align	2
.LC19:
	.ascii	"RRULE:FREQ=WEEKLY;WKST=MO;UNTIL=\000"
	.align	2
.LC20:
	.ascii	"RRULE:FREQ=WEEKLY;WKST=MO;UNTIL=%15s\000"
	.align	2
.LC21:
	.ascii	"RRULE:FREQ=WEEKLY;UNTIL=\000"
	.align	2
.LC22:
	.ascii	"RRULE:FREQ=WEEKLY;UNTIL=%15s\000"
	.align	2
.LC23:
	.ascii	"LOCATION\000"
	.align	2
.LC24:
	.ascii	"SUMMARY\000"
	.align	2
.LC25:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read
	.syntax unified
	.arm
	.fpu softvfp
	.type	read, %function
read:
	@ args = 0, pretend = 0, frame = 960
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #960
	str	r0, [fp, #-952]
	str	r1, [fp, #-956]
	str	r2, [fp, #-960]
	str	r3, [fp, #-964]
	ldr	r3, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L44+4
	ldr	r0, [fp, #-952]
	bl	fopen
	str	r0, [fp, #-944]
	ldr	r3, [fp, #-944]
	cmp	r3, #0
	bne	.L24
	mov	r0, #1
	bl	exit
.L41:
	sub	r3, fp, #272
	mov	r2, #12
	ldr	r1, .L44+8
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L24
	b	.L25
.L26:
	sub	r3, fp, #272
	ldr	r2, [fp, #-944]
	mov	r1, #132
	mov	r0, r3
	bl	fgets
.L25:
	sub	r3, fp, #272
	mov	r2, #8
	ldr	r1, .L44+12
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L26
	sub	r2, fp, #940
	sub	r3, fp, #272
	ldr	r1, .L44+16
	mov	r0, r3
	bl	__isoc99_sscanf
	b	.L27
.L28:
	sub	r3, fp, #272
	ldr	r2, [fp, #-944]
	mov	r1, #132
	mov	r0, r3
	bl	fgets
.L27:
	sub	r3, fp, #272
	mov	r2, #6
	ldr	r1, .L44+20
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L28
	sub	r3, fp, #940
	add	r2, r3, #132
	sub	r3, fp, #272
	ldr	r1, .L44+24
	mov	r0, r3
	bl	__isoc99_sscanf
	sub	r3, fp, #272
	ldr	r2, [fp, #-944]
	mov	r1, #132
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #272
	mov	r2, #5
	ldr	r1, .L44+28
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L29
	sub	r3, fp, #272
	mov	r2, #32
	ldr	r1, .L44+32
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	sub	r3, fp, #940
	add	r2, r3, #264
	sub	r3, fp, #272
	ldr	r1, .L44+36
	mov	r0, r3
	bl	__isoc99_sscanf
	b	.L31
.L30:
	sub	r3, fp, #272
	mov	r2, #24
	ldr	r1, .L44+40
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L31
	sub	r3, fp, #940
	add	r2, r3, #264
	sub	r3, fp, #272
	ldr	r1, .L44+44
	mov	r0, r3
	bl	__isoc99_sscanf
.L31:
	sub	r3, fp, #272
	ldr	r2, [fp, #-944]
	mov	r1, #132
	mov	r0, r3
	bl	fgets
	b	.L33
.L29:
	sub	r1, fp, #940
	sub	r3, fp, #940
	add	r3, r3, #264
	mov	r2, #132
	mov	r0, r3
	bl	strncpy
	b	.L33
.L34:
	sub	r3, fp, #272
	ldr	r2, [fp, #-944]
	mov	r1, #132
	mov	r0, r3
	bl	fgets
.L33:
	sub	r3, fp, #272
	mov	r2, #8
	ldr	r1, .L44+48
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L34
	sub	r3, fp, #272
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #272
	add	r1, r3, #9
	sub	r3, fp, #940
	add	r3, r3, #396
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #940
	add	r3, r3, #396
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-540]
	b	.L35
.L36:
	sub	r3, fp, #272
	ldr	r2, [fp, #-944]
	mov	r1, #132
	mov	r0, r3
	bl	fgets
.L35:
	sub	r3, fp, #272
	mov	r2, #7
	ldr	r1, .L44+52
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L36
	sub	r3, fp, #272
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #272
	add	r1, r3, #8
	sub	r3, fp, #940
	add	r3, r3, #528
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #940
	add	r3, r3, #528
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-408]
	sub	r3, fp, #940
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-956]
	cmp	r3, r2
	bgt	.L38
	sub	r3, fp, #940
	add	r3, r3, #132
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-960]
	cmp	r3, r2
	blt	.L38
	ldr	r2, .L44+56
	ldr	r3, [fp, #-964]
	mov	r1, #668
	mul	r3, r1, r3
	add	r3, r2, r3
	mov	r0, r3
	sub	r3, fp, #940
	mov	r2, #668
	mov	r1, r3
	bl	memcpy
	ldr	r3, [fp, #-964]
	add	r3, r3, #1
	str	r3, [fp, #-964]
	b	.L38
.L40:
	sub	r1, fp, #940
	sub	r3, fp, #140
	mov	r2, #7
	mov	r0, r3
	bl	dt_increment
	sub	r1, fp, #140
	sub	r3, fp, #940
	mov	r2, #15
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #940
	add	r1, r3, #132
	sub	r3, fp, #140
	mov	r2, #7
	mov	r0, r3
	bl	dt_increment
	sub	r1, fp, #140
	sub	r3, fp, #940
	add	r3, r3, #132
	mov	r2, #15
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #940
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-956]
	cmp	r3, r2
	bgt	.L38
	sub	r3, fp, #940
	add	r3, r3, #132
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-960]
	cmp	r3, r2
	blt	.L38
	sub	r3, fp, #940
	add	r1, r3, #264
	sub	r3, fp, #940
	mov	r2, #15
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bgt	.L38
	ldr	r2, .L44+56
	ldr	r3, [fp, #-964]
	mov	r1, #668
	mul	r3, r1, r3
	add	r3, r2, r3
	mov	r0, r3
	sub	r3, fp, #940
	mov	r2, #668
	mov	r1, r3
	bl	memcpy
	ldr	r3, [fp, #-964]
	add	r3, r3, #1
	str	r3, [fp, #-964]
.L38:
	sub	r3, fp, #940
	add	r1, r3, #264
	sub	r3, fp, #940
	mov	r2, #15
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	blt	.L40
.L24:
	sub	r3, fp, #272
	ldr	r2, [fp, #-944]
	mov	r1, #132
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L41
	ldr	r0, [fp, #-944]
	bl	fclose
	ldr	r1, [fp, #-964]
	ldr	r3, .L44+60
	mov	r2, #668
	ldr	r0, .L44+56
	bl	qsort
	ldr	r3, [fp, #-964]
	ldr	r2, .L44
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L43
	bl	__stack_chk_fail
.L43:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC25
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	arr_events
	.word	compare_event
	.size	read, .-read
	.section	.rodata
	.align	2
.LC26:
	.ascii	"%*8dT%2d%2d\000"
	.align	2
.LC27:
	.ascii	"AM\000"
	.align	2
.LC28:
	.ascii	"PM\000"
	.align	2
.LC29:
	.ascii	"%2d:%02d %s to %2d:%02d %s: %s {{%s}}\012\000"
	.align	2
.LC30:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	print_events
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_events, %function
print_events:
	@ args = 0, pretend = 0, frame = 168
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #196
	str	r0, [fp, #-184]
	ldr	r3, .L61
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-164]
	b	.L47
.L59:
	ldr	r3, [fp, #-164]
	mov	r2, #668
	mul	r3, r2, r3
	ldr	r2, .L61+4
	add	r0, r3, r2
	sub	r3, fp, #176
	sub	r2, fp, #180
	ldr	r1, .L61+8
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-164]
	mov	r2, #668
	mul	r3, r2, r3
	add	r3, r3, #128
	ldr	r2, .L61+4
	add	r3, r3, r2
	add	r0, r3, #4
	sub	r3, fp, #168
	sub	r2, fp, #172
	ldr	r1, .L61+8
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-180]
	cmp	r3, #11
	bgt	.L48
	ldr	r2, .L61+4
	ldr	r3, [fp, #-164]
	mov	r1, #668
	mul	r3, r1, r3
	add	r3, r2, r3
	add	r3, r3, #660
	ldr	r2, .L61+12
	str	r2, [r3]
	b	.L49
.L48:
	ldr	r3, [fp, #-180]
	cmp	r3, #12
	bne	.L50
	ldr	r2, .L61+4
	ldr	r3, [fp, #-164]
	mov	r1, #668
	mul	r3, r1, r3
	add	r3, r2, r3
	add	r3, r3, #660
	ldr	r2, .L61+16
	str	r2, [r3]
	b	.L49
.L50:
	ldr	r2, .L61+4
	ldr	r3, [fp, #-164]
	mov	r1, #668
	mul	r3, r1, r3
	add	r3, r2, r3
	add	r3, r3, #660
	ldr	r2, .L61+16
	str	r2, [r3]
	ldr	r3, [fp, #-180]
	sub	r3, r3, #12
	str	r3, [fp, #-180]
.L49:
	ldr	r3, [fp, #-172]
	cmp	r3, #11
	bgt	.L51
	ldr	r2, .L61+4
	ldr	r3, [fp, #-164]
	mov	r1, #668
	mul	r3, r1, r3
	add	r3, r2, r3
	add	r3, r3, #664
	ldr	r2, .L61+12
	str	r2, [r3]
	b	.L52
.L51:
	ldr	r3, [fp, #-172]
	cmp	r3, #12
	bne	.L53
	ldr	r2, .L61+4
	ldr	r3, [fp, #-164]
	mov	r1, #668
	mul	r3, r1, r3
	add	r3, r2, r3
	add	r3, r3, #664
	ldr	r2, .L61+16
	str	r2, [r3]
	b	.L52
.L53:
	ldr	r2, .L61+4
	ldr	r3, [fp, #-164]
	mov	r1, #668
	mul	r3, r1, r3
	add	r3, r2, r3
	add	r3, r3, #664
	ldr	r2, .L61+16
	str	r2, [r3]
	ldr	r3, [fp, #-172]
	sub	r3, r3, #12
	str	r3, [fp, #-172]
.L52:
	ldr	r3, [fp, #-164]
	cmp	r3, #0
	beq	.L54
	ldr	r3, [fp, #-164]
	cmp	r3, #0
	ble	.L55
	ldr	r3, [fp, #-164]
	mov	r2, #668
	mul	r3, r2, r3
	ldr	r2, .L61+4
	add	r0, r3, r2
	ldr	r3, [fp, #-164]
	sub	r3, r3, #1
	mov	r2, #668
	mul	r3, r2, r3
	ldr	r2, .L61+4
	add	r3, r3, r2
	mov	r2, #8
	mov	r1, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L55
.L54:
	ldr	r3, [fp, #-164]
	cmp	r3, #0
	ble	.L56
	mov	r0, #10
	bl	putchar
.L56:
	ldr	r3, [fp, #-164]
	mov	r2, #668
	mul	r3, r2, r3
	ldr	r2, .L61+4
	add	r1, r3, r2
	sub	r3, fp, #156
	mov	r2, #132
	mov	r0, r3
	bl	dt_format
	sub	r3, fp, #156
	mov	r0, r3
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-160]
	b	.L57
.L58:
	mov	r0, #45
	bl	putchar
	ldr	r3, [fp, #-160]
	add	r3, r3, #1
	str	r3, [fp, #-160]
.L57:
	sub	r3, fp, #156
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-160]
	cmp	r2, r3
	bhi	.L58
	mov	r0, #10
	bl	putchar
.L55:
	ldr	lr, [fp, #-180]
	ldr	r4, [fp, #-176]
	ldr	r2, .L61+4
	ldr	r3, [fp, #-164]
	mov	r1, #668
	mul	r3, r1, r3
	add	r3, r2, r3
	add	r3, r3, #660
	ldr	r5, [r3]
	ldr	r3, [fp, #-172]
	ldr	r2, [fp, #-168]
	ldr	r0, .L61+4
	ldr	r1, [fp, #-164]
	mov	ip, #668
	mul	r1, ip, r1
	add	r1, r0, r1
	add	r1, r1, #664
	ldr	r1, [r1]
	ldr	r0, [fp, #-164]
	mov	ip, #668
	mul	r0, ip, r0
	add	r0, r0, #528
	ldr	ip, .L61+4
	add	r0, r0, ip
	ldr	ip, [fp, #-164]
	mov	r6, #668
	mul	ip, r6, ip
	add	ip, ip, #392
	ldr	r6, .L61+4
	add	ip, ip, r6
	add	ip, ip, #4
	str	ip, [sp, #16]
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r5
	mov	r2, r4
	mov	r1, lr
	ldr	r0, .L61+20
	bl	printf
	ldr	r3, [fp, #-164]
	add	r3, r3, #1
	str	r3, [fp, #-164]
.L47:
	ldr	r2, [fp, #-164]
	ldr	r3, [fp, #-184]
	cmp	r2, r3
	blt	.L59
	nop
	ldr	r3, .L61
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L60
	bl	__stack_chk_fail
.L60:
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L62:
	.align	2
.L61:
	.word	.LC30
	.word	arr_events
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.size	print_events, .-print_events
	.align	2
	.global	convert
	.syntax unified
	.arm
	.fpu softvfp
	.type	convert, %function
convert:
	@ args = 16, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r1, r3
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r1, r3
	ldr	r3, [fp, #-16]
	add	r2, r2, r3
	ldr	r3, [fp, #12]
	str	r2, [r3]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r1, r3
	ldr	r2, [fp, #4]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r1, r3
	ldr	r3, [fp, #8]
	add	r2, r2, r3
	ldr	r3, [fp, #16]
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	convert, .-convert
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
