	.file	"28591.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"\350\276\223\345\205\245\345\271\264\346\234\210(yyyy-mm):"
.LC1:
	.string	"%d-%d"
.LC2:
	.string	"\t\t%d\345\271\264%d\346\234\210\n"
.LC3:
	.string	"\346\227\245\t\344\270\200\t\344\272\214\t\344\270\211\t\345\233\233\t\344\272\224\t\345\205\255"
.LC4:
	.string	" \t"
.LC5:
	.string	"%d\t"
	.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 -28[rbp], 0
.L2:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -40[rbp]
	lea	rax, -44[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -44[rbp]
	test	eax, eax
	jle	.L2
	mov	eax, DWORD PTR -40[rbp]
	test	eax, eax
	jle	.L2
	mov	DWORD PTR -24[rbp], 1900
	jmp	.L3
.L8:
	mov	eax, DWORD PTR -24[rbp]
	and	eax, 3
	test	eax, eax
	jne	.L4
	mov	edx, DWORD PTR -24[rbp]
	movsx	rax, edx
	imul	rax, rax, 1374389535
	shr	rax, 32
	sar	eax, 5
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 100
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	jne	.L5
.L4:
	mov	edx, DWORD PTR -24[rbp]
	movsx	rax, edx
	imul	rax, rax, 1374389535
	shr	rax, 32
	sar	eax, 7
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 400
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	jne	.L6
.L5:
	add	DWORD PTR -28[rbp], 366
	jmp	.L7
.L6:
	add	DWORD PTR -28[rbp], 365
.L7:
	add	DWORD PTR -24[rbp], 1
.L3:
	mov	eax, DWORD PTR -44[rbp]
	cmp	DWORD PTR -24[rbp], eax
	jl	.L8
	mov	DWORD PTR -20[rbp], 1
	jmp	.L9
.L18:
	cmp	DWORD PTR -20[rbp], 1
	je	.L10
	cmp	DWORD PTR -20[rbp], 3
	je	.L10
	cmp	DWORD PTR -20[rbp], 5
	je	.L10
	cmp	DWORD PTR -20[rbp], 7
	je	.L10
	cmp	DWORD PTR -20[rbp], 8
	je	.L10
	cmp	DWORD PTR -20[rbp], 10
	je	.L10
	cmp	DWORD PTR -20[rbp], 12
	jne	.L11
.L10:
	add	DWORD PTR -28[rbp], 31
	jmp	.L12
.L11:
	cmp	DWORD PTR -20[rbp], 4
	je	.L13
	cmp	DWORD PTR -20[rbp], 6
	je	.L13
	cmp	DWORD PTR -20[rbp], 9
	je	.L13
	cmp	DWORD PTR -20[rbp], 11
	jne	.L14
.L13:
	add	DWORD PTR -28[rbp], 30
	jmp	.L12
.L14:
	mov	eax, DWORD PTR -44[rbp]
	and	eax, 3
	test	eax, eax
	jne	.L15
	mov	edx, DWORD PTR -44[rbp]
	movsx	rax, edx
	imul	rax, rax, 1374389535
	shr	rax, 32
	sar	eax, 5
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 100
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	jne	.L16
.L15:
	mov	edx, DWORD PTR -44[rbp]
	movsx	rax, edx
	imul	rax, rax, 1374389535
	shr	rax, 32
	sar	eax, 7
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 400
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	jne	.L17
.L16:
	add	DWORD PTR -28[rbp], 29
	jmp	.L12
.L17:
	add	DWORD PTR -28[rbp], 28
.L12:
	add	DWORD PTR -20[rbp], 1
.L9:
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L18
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, -1840700269
	shr	rdx, 32
	add	edx, eax
	sar	edx, 2
	mov	esi, eax
	sar	esi, 31
	mov	ecx, edx
	sub	ecx, esi
	mov	edx, ecx
	sal	edx, 3
	sub	edx, ecx
	sub	eax, edx
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 1
	je	.L19
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 3
	je	.L19
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 5
	je	.L19
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 7
	je	.L19
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 8
	je	.L19
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 10
	je	.L19
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 12
	jne	.L20
.L19:
	mov	DWORD PTR -32[rbp], 31
	jmp	.L21
.L20:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 4
	je	.L22
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 6
	je	.L22
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 9
	je	.L22
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 11
	jne	.L23
.L22:
	mov	DWORD PTR -32[rbp], 30
	jmp	.L21
.L23:
	mov	eax, DWORD PTR -44[rbp]
	and	eax, 3
	test	eax, eax
	jne	.L24
	mov	edx, DWORD PTR -44[rbp]
	movsx	rax, edx
	imul	rax, rax, 1374389535
	shr	rax, 32
	sar	eax, 5
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 100
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	jne	.L25
.L24:
	mov	edx, DWORD PTR -44[rbp]
	movsx	rax, edx
	imul	rax, rax, 1374389535
	shr	rax, 32
	sar	eax, 7
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 400
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	jne	.L26
.L25:
	mov	DWORD PTR -32[rbp], 29
	jmp	.L21
.L26:
	mov	DWORD PTR -32[rbp], 28
.L21:
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	DWORD PTR -16[rbp], 1
	jmp	.L27
.L30:
	cmp	DWORD PTR -36[rbp], 6
	je	.L37
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -16[rbp], 1
.L27:
	mov	eax, DWORD PTR -36[rbp]
	add	eax, 1
	cmp	DWORD PTR -16[rbp], eax
	jle	.L30
	jmp	.L29
.L37:
	nop
.L29:
	mov	DWORD PTR -12[rbp], 1
	jmp	.L31
.L34:
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, -1840700269
	shr	rdx, 32
	add	edx, eax
	sar	edx, 2
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	ecx, edx
	sal	ecx, 3
	sub	ecx, edx
	sub	eax, ecx
	mov	edx, eax
	cmp	edx, 5
	jne	.L32
	mov	edi, 10
	call	putchar@PLT
.L32:
	add	DWORD PTR -36[rbp], 1
	mov	edx, DWORD PTR -36[rbp]
	movsx	rax, edx
	imul	rax, rax, -1840700269
	shr	rax, 32
	add	eax, edx
	sar	eax, 2
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	ecx, eax
	sal	ecx, 3
	sub	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	jne	.L33
	mov	DWORD PTR -36[rbp], 0
.L33:
	add	DWORD PTR -12[rbp], 1
.L31:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jle	.L34
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	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	"28591.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\350\276\223\345\205\245\345\271\264\346\234\210(yy"
	.ascii	"yy-mm):\000"
	.align	2
.LC1:
	.ascii	"%d-%d\000"
	.align	2
.LC2:
	.ascii	"\011\011%d\345\271\264%d\346\234\210\012\000"
	.align	2
.LC3:
	.ascii	"\346\227\245\011\344\270\200\011\344\272\214\011\344"
	.ascii	"\270\211\011\345\233\233\011\344\272\224\011\345\205"
	.ascii	"\255\000"
	.align	2
.LC4:
	.ascii	" \011\000"
	.align	2
.LC5:
	.ascii	"%d\011\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 = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-28]
.L2:
	ldr	r0, .L38+4
	bl	printf
	sub	r2, fp, #40
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L38+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	ble	.L2
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	ble	.L2
	ldr	r3, .L38+12
	str	r3, [fp, #-24]
	b	.L3
.L8:
	ldr	r3, [fp, #-24]
	and	r3, r3, #3
	cmp	r3, #0
	bne	.L4
	ldr	r1, [fp, #-24]
	ldr	r3, .L38+16
	smull	r2, r3, r1, r3
	asr	r2, r3, #5
	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	r3, r3, #2
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L5
.L4:
	ldr	r1, [fp, #-24]
	ldr	r3, .L38+16
	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	r3, r3, #4
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L6
.L5:
	ldr	r3, [fp, #-28]
	add	r3, r3, #364
	add	r3, r3, #2
	str	r3, [fp, #-28]
	b	.L7
.L6:
	ldr	r3, [fp, #-28]
	add	r3, r3, #364
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L7:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L3:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L8
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L9
.L18:
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	beq	.L10
	ldr	r3, [fp, #-20]
	cmp	r3, #3
	beq	.L10
	ldr	r3, [fp, #-20]
	cmp	r3, #5
	beq	.L10
	ldr	r3, [fp, #-20]
	cmp	r3, #7
	beq	.L10
	ldr	r3, [fp, #-20]
	cmp	r3, #8
	beq	.L10
	ldr	r3, [fp, #-20]
	cmp	r3, #10
	beq	.L10
	ldr	r3, [fp, #-20]
	cmp	r3, #12
	bne	.L11
.L10:
	ldr	r3, [fp, #-28]
	add	r3, r3, #31
	str	r3, [fp, #-28]
	b	.L12
.L11:
	ldr	r3, [fp, #-20]
	cmp	r3, #4
	beq	.L13
	ldr	r3, [fp, #-20]
	cmp	r3, #6
	beq	.L13
	ldr	r3, [fp, #-20]
	cmp	r3, #9
	beq	.L13
	ldr	r3, [fp, #-20]
	cmp	r3, #11
	bne	.L14
.L13:
	ldr	r3, [fp, #-28]
	add	r3, r3, #30
	str	r3, [fp, #-28]
	b	.L12
.L14:
	ldr	r3, [fp, #-44]
	and	r3, r3, #3
	cmp	r3, #0
	bne	.L15
	ldr	r1, [fp, #-44]
	ldr	r3, .L38+16
	smull	r2, r3, r1, r3
	asr	r2, r3, #5
	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	r3, r3, #2
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L16
.L15:
	ldr	r1, [fp, #-44]
	ldr	r3, .L38+16
	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	r3, r3, #4
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L17
.L16:
	ldr	r3, [fp, #-28]
	add	r3, r3, #29
	str	r3, [fp, #-28]
	b	.L12
.L17:
	ldr	r3, [fp, #-28]
	add	r3, r3, #28
	str	r3, [fp, #-28]
.L12:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L9:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L18
	ldr	r2, [fp, #-28]
	ldr	r3, .L38+20
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	beq	.L19
	ldr	r3, [fp, #-40]
	cmp	r3, #3
	beq	.L19
	ldr	r3, [fp, #-40]
	cmp	r3, #5
	beq	.L19
	ldr	r3, [fp, #-40]
	cmp	r3, #7
	beq	.L19
	ldr	r3, [fp, #-40]
	cmp	r3, #8
	beq	.L19
	ldr	r3, [fp, #-40]
	cmp	r3, #10
	beq	.L19
	ldr	r3, [fp, #-40]
	cmp	r3, #12
	bne	.L20
.L19:
	mov	r3, #31
	str	r3, [fp, #-32]
	b	.L21
.L20:
	ldr	r3, [fp, #-40]
	cmp	r3, #4
	beq	.L22
	ldr	r3, [fp, #-40]
	cmp	r3, #6
	beq	.L22
	ldr	r3, [fp, #-40]
	cmp	r3, #9
	beq	.L22
	ldr	r3, [fp, #-40]
	cmp	r3, #11
	bne	.L23
.L22:
	mov	r3, #30
	str	r3, [fp, #-32]
	b	.L21
.L23:
	ldr	r3, [fp, #-44]
	and	r3, r3, #3
	cmp	r3, #0
	bne	.L24
	ldr	r1, [fp, #-44]
	ldr	r3, .L38+16
	smull	r2, r3, r1, r3
	asr	r2, r3, #5
	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	r3, r3, #2
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L25
.L24:
	ldr	r1, [fp, #-44]
	ldr	r3, .L38+16
	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	r3, r3, #4
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L26
.L25:
	mov	r3, #29
	str	r3, [fp, #-32]
	b	.L21
.L26:
	mov	r3, #28
	str	r3, [fp, #-32]
.L21:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-40]
	mov	r1, r3
	ldr	r0, .L38+24
	bl	printf
	ldr	r0, .L38+28
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L27
.L30:
	ldr	r3, [fp, #-36]
	cmp	r3, #6
	beq	.L37
	ldr	r0, .L38+32
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L27:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	ble	.L30
	b	.L29
.L37:
	nop
.L29:
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L31
.L34:
	ldr	r1, [fp, #-12]
	ldr	r0, .L38+36
	bl	printf
	ldr	r2, [fp, #-36]
	ldr	r3, .L38+20
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	sub	r1, r2, r3
	cmp	r1, #5
	bne	.L32
	mov	r0, #10
	bl	putchar
.L32:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-36]
	ldr	r3, .L38+20
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	sub	r1, r2, r3
	cmp	r1, #0
	bne	.L33
	mov	r3, #0
	str	r3, [fp, #-36]
.L33:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L31:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	ble	.L34
	mov	r3, #0
	ldr	r2, .L38
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	1900
	.word	1374389535
	.word	-1840700269
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
