	.file	"921868.c"
	.intel_syntax noprefix
	.text
	.globl	predefined
	.data
	.align 32
	.type	predefined, @object
	.size	predefined, 48
predefined:
	.long	31
	.long	28
	.long	31
	.long	30
	.long	31
	.long	30
	.long	31
	.long	31
	.long	30
	.long	31
	.long	30
	.long	31
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"sample_input.txt"
.LC2:
	.string	"%d"
.LC3:
	.string	"%d/%d/%d %d:%d:%d\n"
.LC4:
	.string	"%s\n"
.LC5:
	.string	"#%d %d/%d/%d %02d:%02d:%02d\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, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR stdin[rip]
	mov	rdx, rax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	freopen@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	esi, 0
	mov	rdi, rax
	call	setbuf@PLT
	lea	rax, -92[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -64[rbp], 1
	jmp	.L2
.L12:
	lea	r8, -72[rbp]
	lea	rdi, -76[rbp]
	lea	rcx, -80[rbp]
	lea	rdx, -84[rbp]
	lea	rax, -88[rbp]
	sub	rsp, 8
	lea	rsi, -68[rbp]
	push	rsi
	mov	r9, r8
	mov	r8, rdi
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	rsp, 16
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -56[rbp], 0
	mov	DWORD PTR -60[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -60[rbp]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	movzx	eax, BYTE PTR -48[rbp+rax]
	movsx	eax, al
	sub	eax, 48
	or	eax, edx
	mov	DWORD PTR -60[rbp], eax
	add	DWORD PTR -56[rbp], 1
.L3:
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	movzx	eax, BYTE PTR -48[rbp+rax]
	test	al, al
	jne	.L4
	mov	edx, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -60[rbp]
	add	eax, edx
	movsx	rdx, eax
	imul	rdx, rdx, -2004318071
	shr	rdx, 32
	add	edx, eax
	sar	edx, 5
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -52[rbp], eax
	mov	edx, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -60[rbp]
	add	edx, eax
	movsx	rax, edx
	imul	rax, rax, -2004318071
	shr	rax, 32
	add	eax, edx
	sar	eax, 5
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 60
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -68[rbp], eax
	mov	edx, DWORD PTR -72[rbp]
	mov	eax, DWORD PTR -52[rbp]
	add	eax, edx
	movsx	rdx, eax
	imul	rdx, rdx, -2004318071
	shr	rdx, 32
	add	edx, eax
	sar	edx, 5
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -56[rbp], eax
	mov	edx, DWORD PTR -72[rbp]
	mov	eax, DWORD PTR -52[rbp]
	add	edx, eax
	movsx	rax, edx
	imul	rax, rax, -2004318071
	shr	rax, 32
	add	eax, edx
	sar	eax, 5
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 60
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR -52[rbp], eax
	mov	edx, DWORD PTR -76[rbp]
	mov	eax, DWORD PTR -52[rbp]
	add	eax, edx
	movsx	rdx, eax
	imul	rdx, rdx, 715827883
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -56[rbp], eax
	mov	edx, DWORD PTR -76[rbp]
	mov	eax, DWORD PTR -52[rbp]
	lea	ecx, [rdx+rax]
	movsx	rax, ecx
	imul	rax, rax, 715827883
	shr	rax, 32
	sar	eax, 2
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	sal	eax, 3
	sub	ecx, eax
	mov	edx, ecx
	mov	DWORD PTR -76[rbp], edx
	mov	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -88[rbp]
	imul	edx, eax, 365
	mov	eax, DWORD PTR -84[rbp]
	sub	eax, 1
	imul	eax, eax, 30
	add	edx, eax
	mov	eax, DWORD PTR -80[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -84[rbp]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	add	eax, edx
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, 2
	jle	.L5
	sub	DWORD PTR -56[rbp], 2
.L5:
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, 9
	je	.L6
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, 11
	jne	.L7
.L6:
	add	DWORD PTR -56[rbp], 1
.L7:
	mov	edx, DWORD PTR -52[rbp]
	mov	eax, DWORD PTR -56[rbp]
	add	eax, edx
	movsx	rdx, eax
	imul	rdx, rdx, -1282606671
	shr	rdx, 32
	add	edx, eax
	sar	edx, 8
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -88[rbp], eax
	mov	edx, DWORD PTR -52[rbp]
	mov	eax, DWORD PTR -56[rbp]
	add	edx, eax
	movsx	rax, edx
	imul	rax, rax, -1282606671
	shr	rax, 32
	add	eax, edx
	sar	eax, 8
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 365
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -80[rbp], eax
	mov	DWORD PTR -56[rbp], 0
	jmp	.L8
.L11:
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, predefined[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -80[rbp]
	cmp	edx, eax
	jge	.L15
	mov	eax, DWORD PTR -80[rbp]
	mov	edx, DWORD PTR -56[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, predefined[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	sub	eax, edx
	mov	DWORD PTR -80[rbp], eax
	add	DWORD PTR -56[rbp], 1
.L8:
	mov	eax, DWORD PTR -56[rbp]
	cmp	eax, 11
	jbe	.L11
	jmp	.L10
.L15:
	nop
.L10:
	mov	eax, DWORD PTR -56[rbp]
	add	eax, 1
	mov	DWORD PTR -84[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	mov	DWORD PTR -80[rbp], eax
	mov	edi, DWORD PTR -68[rbp]
	mov	esi, DWORD PTR -72[rbp]
	mov	r9d, DWORD PTR -76[rbp]
	mov	r8d, DWORD PTR -80[rbp]
	mov	ecx, DWORD PTR -84[rbp]
	mov	edx, DWORD PTR -88[rbp]
	mov	eax, DWORD PTR -64[rbp]
	push	rdi
	push	rsi
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	add	DWORD PTR -64[rbp], 1
.L2:
	mov	eax, DWORD PTR -92[rbp]
	cmp	DWORD PTR -64[rbp], eax
	jle	.L12
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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	"921868.c"
	.text
	.global	predefined
	.data
	.align	2
	.type	predefined, %object
	.size	predefined, 48
predefined:
	.word	31
	.word	28
	.word	31
	.word	30
	.word	31
	.word	30
	.word	31
	.word	31
	.word	30
	.word	31
	.word	30
	.word	31
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"sample_input.txt\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"%d/%d/%d %d:%d:%d\012\000"
	.align	2
.LC4:
	.ascii	"%s\012\000"
	.align	2
.LC5:
	.ascii	"#%d %d/%d/%d %02d:%02d:%02d\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 = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L16+4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L16+8
	ldr	r0, .L16+12
	bl	freopen
	ldr	r3, .L16+16
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	setbuf
	sub	r3, fp, #84
	mov	r1, r3
	ldr	r0, .L16+20
	bl	__isoc99_scanf
	mov	r3, #1
	str	r3, [fp, #-56]
	b	.L2
.L12:
	sub	r0, fp, #72
	sub	r2, fp, #76
	sub	r1, fp, #80
	sub	r3, fp, #60
	str	r3, [sp, #8]
	sub	r3, fp, #64
	str	r3, [sp, #4]
	sub	r3, fp, #68
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L16+24
	bl	__isoc99_scanf
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L16+28
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L3
.L4:
	ldr	r3, [fp, #-52]
	lsl	r2, r3, #1
	sub	r1, fp, #40
	ldr	r3, [fp, #-48]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	orr	r3, r2, r3
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L3:
	sub	r2, fp, #40
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L4
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, .L16+32
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #5
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-44]
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-52]
	add	r2, r2, r3
	ldr	r3, .L16+32
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #5
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #4
	sub	r3, r3, r1
	lsl	r3, r3, #2
	sub	r1, r2, r3
	str	r1, [fp, #-60]
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	ldr	r2, .L16+32
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #5
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-48]
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-44]
	add	r2, r2, r3
	ldr	r3, .L16+32
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #5
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #4
	sub	r3, r3, r1
	lsl	r3, r3, #2
	sub	r1, r2, r3
	str	r1, [fp, #-64]
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-44]
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	ldr	r2, .L16+36
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-48]
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-44]
	add	r1, r2, r3
	ldr	r3, .L16+36
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r1, r3
	str	r2, [fp, #-68]
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-44]
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r1, r3, r2
	ldr	r3, [fp, #-76]
	sub	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-72]
	add	r2, r2, r3
	ldr	r3, [fp, #-76]
	lsr	r1, r3, #31
	add	r3, r1, r3
	asr	r3, r3, #1
	add	r3, r2, r3
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-76]
	cmp	r3, #2
	ble	.L5
	ldr	r3, [fp, #-48]
	sub	r3, r3, #2
	str	r3, [fp, #-48]
.L5:
	ldr	r3, [fp, #-76]
	cmp	r3, #9
	beq	.L6
	ldr	r3, [fp, #-76]
	cmp	r3, #11
	bne	.L7
.L6:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L7:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	ldr	r2, .L16+40
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #8
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-80]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-48]
	add	r1, r2, r3
	ldr	r3, .L16+40
	smull	r2, r3, r1, r3
	add	r3, r3, r1
	asr	r2, r3, #8
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	sub	r2, r1, r3
	str	r2, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L8
.L11:
	ldr	r2, .L16+44
	ldr	r3, [fp, #-48]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	bge	.L15
	ldr	r2, [fp, #-72]
	ldr	r1, .L16+44
	ldr	r3, [fp, #-48]
	ldr	r3, [r1, r3, lsl #2]
	sub	r3, r2, r3
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L8:
	ldr	r3, [fp, #-48]
	cmp	r3, #11
	bls	.L11
	b	.L10
.L15:
	nop
.L10:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-72]
	ldr	ip, [fp, #-80]
	ldr	lr, [fp, #-76]
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-68]
	ldr	r1, [fp, #-64]
	ldr	r0, [fp, #-60]
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	ldr	r1, [fp, #-56]
	ldr	r0, .L16+48
	bl	printf
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L2:
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	ble	.L12
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC6
	.word	stdin
	.word	.LC0
	.word	.LC1
	.word	stdout
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	-2004318071
	.word	715827883
	.word	-1282606671
	.word	predefined
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
