	.file	"1075794.c"
	.intel_syntax noprefix
	.text
	.globl	month_last
	.section	.rodata
	.align 32
	.type	month_last, @object
	.size	month_last, 48
month_last:
	.long	31
	.long	28
	.long	31
	.long	30
	.long	31
	.long	30
	.long	31
	.long	31
	.long	30
	.long	31
	.long	30
	.long	31
	.globl	year
	.bss
	.align 8
	.type	year, @object
	.size	year, 8
year:
	.zero	8
	.globl	month
	.align 8
	.type	month, @object
	.size	month, 8
month:
	.zero	8
	.globl	day
	.align 8
	.type	day, @object
	.size	day, 8
day:
	.zero	8
	.section	.rodata
	.align 8
.LC0:
	.string	"\n%d\345\271\264%d\346\234\210%d\346\227\245\343\201\213\343\202\211%d\345\271\264%d\346\234\210%d\346\227\245\343\201\276\343\201\247\343\201\257%d\346\227\245\343\201\247\343\201\231\343\200\202\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, 16
	call	ymd_input
	mov	eax, DWORD PTR year[rip+4]
	mov	edx, DWORD PTR year[rip]
	sub	eax, edx
	imul	eax, eax, 365
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR year[rip]
	mov	DWORD PTR -12[rbp], eax
	jmp	.L2
.L4:
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	check_year
	test	eax, eax
	je	.L3
	add	DWORD PTR -16[rbp], 1
.L3:
	add	DWORD PTR -12[rbp], 1
.L2:
	mov	eax, DWORD PTR year[rip+4]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L4
	mov	DWORD PTR -8[rbp], 0
	jmp	.L5
.L7:
	cmp	DWORD PTR -8[rbp], 1
	jne	.L6
	mov	eax, DWORD PTR year[rip]
	mov	edi, eax
	call	check_year
	test	eax, eax
	je	.L6
	sub	DWORD PTR -16[rbp], 29
.L6:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, month_last[rip]
	mov	eax, DWORD PTR [rdx+rax]
	sub	DWORD PTR -16[rbp], eax
	add	DWORD PTR -8[rbp], 1
.L5:
	mov	eax, DWORD PTR month[rip]
	sub	eax, 1
	cmp	DWORD PTR -8[rbp], eax
	jl	.L7
	mov	DWORD PTR -4[rbp], 0
	jmp	.L8
.L10:
	cmp	DWORD PTR -4[rbp], 1
	jne	.L9
	mov	eax, DWORD PTR year[rip+4]
	mov	edi, eax
	call	check_year
	test	eax, eax
	je	.L9
	add	DWORD PTR -16[rbp], 29
.L9:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, month_last[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	DWORD PTR -16[rbp], eax
	add	DWORD PTR -4[rbp], 1
.L8:
	mov	eax, DWORD PTR month[rip+4]
	sub	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	jl	.L10
	mov	eax, DWORD PTR day[rip]
	sub	eax, 1
	sub	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR day[rip+4]
	sub	eax, 1
	add	DWORD PTR -16[rbp], eax
	mov	esi, DWORD PTR day[rip+4]
	mov	r9d, DWORD PTR month[rip+4]
	mov	r8d, DWORD PTR year[rip+4]
	mov	ecx, DWORD PTR day[rip]
	mov	edx, DWORD PTR month[rip]
	mov	eax, DWORD PTR year[rip]
	mov	edi, DWORD PTR -16[rbp]
	push	rdi
	push	rsi
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	check_year
	.type	check_year, @function
check_year:
.LFB1:
	.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	edx, DWORD PTR -4[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
	je	.L13
	mov	eax, DWORD PTR -4[rbp]
	and	eax, 3
	test	eax, eax
	jne	.L14
	mov	edx, DWORD PTR -4[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
	je	.L14
.L13:
	mov	eax, 1
	jmp	.L15
.L14:
	mov	eax, 0
.L15:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	check_year, .-check_year
	.section	.rodata
.LC1:
	.string	"\350\252\225\347\224\237\345\271\264(\350\245\277\346\232\246)\343\202\222\345\205\245\345\212\233:"
.LC2:
	.string	"%d"
.LC3:
	.string	"\n\350\252\225\347\224\237\346\234\210\343\202\222\345\205\245\345\212\233:"
.LC4:
	.string	"\n\350\252\225\347\224\237\346\227\245\343\202\222\345\205\245\345\212\233:"
.LC5:
	.string	"\n\346\214\207\345\256\232\343\201\231\343\202\213\345\271\264\343\202\222\345\205\245\345\212\233:"
.LC6:
	.string	"\n\346\214\207\345\256\232\343\201\231\343\202\213\346\234\210\343\202\222\345\205\245\345\212\233:"
.LC7:
	.string	"\n\346\214\207\345\256\232\343\201\231\343\202\213\346\227\245\343\202\222\345\205\245\345\212\233:"
	.align 8
.LC8:
	.string	"\n%d\345\271\264%d\346\234\210%d\346\227\245\343\201\213\343\202\211%d\345\271\264%d\346\234\210%d\346\227\245\343\201\276\343\201\247\343\201\256\350\250\210\347\256\227\343\202\222\343\201\227\343\201\276\343\201\231\343\201\213\357\274\237(Y/N):"
.LC9:
	.string	"%c"
	.text
	.globl	ymd_input
	.type	ymd_input, @function
ymd_input:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L32:
	mov	BYTE PTR -9[rbp], 0
.L17:
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, year[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR year[rip]
	test	eax, eax
	js	.L17
.L19:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, month[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR month[rip]
	cmp	eax, 1
	jg	.L21
	mov	eax, DWORD PTR month[rip]
	cmp	eax, 11
	jg	.L19
.L21:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, day[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR day[rip]
	cmp	eax, 1
	jg	.L22
	mov	eax, DWORD PTR day[rip]
	cmp	eax, 30
	jg	.L21
.L22:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, year[rip+4]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR year[rip+4]
	test	eax, eax
	js	.L22
.L24:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, month[rip+4]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR month[rip+4]
	cmp	eax, 1
	jg	.L26
	mov	eax, DWORD PTR month[rip+4]
	cmp	eax, 11
	jg	.L24
.L26:
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, day[rip+4]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR day[rip+4]
	cmp	eax, 1
	jg	.L25
	mov	eax, DWORD PTR day[rip+4]
	cmp	eax, 30
	jg	.L26
.L25:
	mov	esi, DWORD PTR day[rip+4]
	mov	r8d, DWORD PTR month[rip+4]
	mov	edi, DWORD PTR year[rip+4]
	mov	ecx, DWORD PTR day[rip]
	mov	edx, DWORD PTR month[rip]
	mov	eax, DWORD PTR year[rip]
	sub	rsp, 8
	push	rsi
	mov	r9d, r8d
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	jmp	.L27
.L30:
	lea	rax, -9[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 89
	je	.L35
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 78
	jne	.L27
	nop
.L27:
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 89
	je	.L29
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 78
	jne	.L30
	jmp	.L29
.L35:
	nop
.L29:
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 89
	je	.L36
	jmp	.L32
.L36:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L33
	call	__stack_chk_fail@PLT
.L33:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	ymd_input, .-ymd_input
	.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	"1075794.c"
	.text
	.global	month_last
	.section	.rodata
	.align	2
	.type	month_last, %object
	.size	month_last, 48
month_last:
	.word	31
	.word	28
	.word	31
	.word	30
	.word	31
	.word	30
	.word	31
	.word	31
	.word	30
	.word	31
	.word	30
	.word	31
	.global	year
	.bss
	.align	2
	.type	year, %object
	.size	year, 8
year:
	.space	8
	.global	month
	.align	2
	.type	month, %object
	.size	month, 8
month:
	.space	8
	.global	day
	.align	2
	.type	day, %object
	.size	day, 8
day:
	.space	8
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012%d\345\271\264%d\346\234\210%d\346\227\245\343\201"
	.ascii	"\213\343\202\211%d\345\271\264%d\346\234\210%d\346\227"
	.ascii	"\245\343\201\276\343\201\247\343\201\257%d\346\227\245"
	.ascii	"\343\201\247\343\201\231\343\200\202\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	bl	ymd_input
	ldr	r3, .L12
	ldr	r2, [r3, #4]
	ldr	r3, .L12
	ldr	r3, [r3]
	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
	str	r3, [fp, #-28]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	b	.L2
.L4:
	ldr	r0, [fp, #-24]
	bl	check_year
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L3:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L2:
	ldr	r3, .L12
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L4
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L5
.L7:
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	bne	.L6
	ldr	r3, .L12
	ldr	r3, [r3]
	mov	r0, r3
	bl	check_year
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-28]
	sub	r3, r3, #29
	str	r3, [fp, #-28]
.L6:
	ldr	r2, .L12+4
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-28]
	sub	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L5:
	ldr	r3, .L12+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L7
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L8
.L10:
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L9
	ldr	r3, .L12
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	check_year
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-28]
	add	r3, r3, #29
	str	r3, [fp, #-28]
.L9:
	ldr	r2, .L12+4
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L8:
	ldr	r3, .L12+8
	ldr	r3, [r3, #4]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L10
	ldr	r3, .L12+12
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-28]
	sub	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r3, .L12+12
	ldr	r3, [r3, #4]
	sub	r3, r3, #1
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r3, .L12
	ldr	ip, [r3]
	ldr	r3, .L12+8
	ldr	lr, [r3]
	ldr	r3, .L12+12
	ldr	r4, [r3]
	ldr	r3, .L12
	ldr	r3, [r3, #4]
	ldr	r2, .L12+8
	ldr	r2, [r2, #4]
	ldr	r1, .L12+12
	ldr	r1, [r1, #4]
	ldr	r0, [fp, #-28]
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r4
	mov	r2, lr
	mov	r1, ip
	ldr	r0, .L12+16
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L13:
	.align	2
.L12:
	.word	year
	.word	month_last
	.word	month
	.word	day
	.word	.LC0
	.size	main, .-main
	.align	2
	.global	check_year
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_year, %function
check_year:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r3, .L18
	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
	beq	.L15
	ldr	r3, [fp, #-8]
	and	r3, r3, #3
	cmp	r3, #0
	bne	.L16
	ldr	r1, [fp, #-8]
	ldr	r3, .L18
	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
	beq	.L16
.L15:
	mov	r3, #1
	b	.L17
.L16:
	mov	r3, #0
.L17:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L19:
	.align	2
.L18:
	.word	1374389535
	.size	check_year, .-check_year
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\350\252\225\347\224\237\345\271\264(\350\245\277\346"
	.ascii	"\232\246)\343\202\222\345\205\245\345\212\233:\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"\012\350\252\225\347\224\237\346\234\210\343\202\222"
	.ascii	"\345\205\245\345\212\233:\000"
	.align	2
.LC4:
	.ascii	"\012\350\252\225\347\224\237\346\227\245\343\202\222"
	.ascii	"\345\205\245\345\212\233:\000"
	.align	2
.LC5:
	.ascii	"\012\346\214\207\345\256\232\343\201\231\343\202\213"
	.ascii	"\345\271\264\343\202\222\345\205\245\345\212\233:\000"
	.align	2
.LC6:
	.ascii	"\012\346\214\207\345\256\232\343\201\231\343\202\213"
	.ascii	"\346\234\210\343\202\222\345\205\245\345\212\233:\000"
	.align	2
.LC7:
	.ascii	"\012\346\214\207\345\256\232\343\201\231\343\202\213"
	.ascii	"\346\227\245\343\202\222\345\205\245\345\212\233:\000"
	.align	2
.LC8:
	.ascii	"\012%d\345\271\264%d\346\234\210%d\346\227\245\343\201"
	.ascii	"\213\343\202\211%d\345\271\264%d\346\234\210%d\346\227"
	.ascii	"\245\343\201\276\343\201\247\343\201\256\350\250\210"
	.ascii	"\347\256\227\343\202\222\343\201\227\343\201\276\343"
	.ascii	"\201\231\343\201\213\357\274\237(Y/N):\000"
	.align	2
.LC9:
	.ascii	"%c\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ymd_input
	.syntax unified
	.arm
	.fpu softvfp
	.type	ymd_input, %function
ymd_input:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L41
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L36:
	mov	r3, #0
	strb	r3, [fp, #-12]
.L21:
	ldr	r0, .L41+4
	bl	printf
	ldr	r1, .L41+8
	ldr	r0, .L41+12
	bl	__isoc99_scanf
	ldr	r3, .L41+8
	ldr	r3, [r3]
	cmp	r3, #0
	blt	.L21
.L23:
	ldr	r0, .L41+16
	bl	printf
	ldr	r1, .L41+20
	ldr	r0, .L41+12
	bl	__isoc99_scanf
	ldr	r3, .L41+20
	ldr	r3, [r3]
	cmp	r3, #1
	bgt	.L25
	ldr	r3, .L41+20
	ldr	r3, [r3]
	cmp	r3, #11
	bgt	.L23
.L25:
	ldr	r0, .L41+24
	bl	printf
	ldr	r1, .L41+28
	ldr	r0, .L41+12
	bl	__isoc99_scanf
	ldr	r3, .L41+28
	ldr	r3, [r3]
	cmp	r3, #1
	bgt	.L26
	ldr	r3, .L41+28
	ldr	r3, [r3]
	cmp	r3, #30
	bgt	.L25
.L26:
	ldr	r0, .L41+32
	bl	printf
	ldr	r1, .L41+36
	ldr	r0, .L41+12
	bl	__isoc99_scanf
	ldr	r3, .L41+8
	ldr	r3, [r3, #4]
	cmp	r3, #0
	blt	.L26
.L28:
	ldr	r0, .L41+40
	bl	printf
	ldr	r1, .L41+44
	ldr	r0, .L41+12
	bl	__isoc99_scanf
	ldr	r3, .L41+20
	ldr	r3, [r3, #4]
	cmp	r3, #1
	bgt	.L30
	ldr	r3, .L41+20
	ldr	r3, [r3, #4]
	cmp	r3, #11
	bgt	.L28
.L30:
	ldr	r0, .L41+48
	bl	printf
	ldr	r1, .L41+52
	ldr	r0, .L41+12
	bl	__isoc99_scanf
	ldr	r3, .L41+28
	ldr	r3, [r3, #4]
	cmp	r3, #1
	bgt	.L29
	ldr	r3, .L41+28
	ldr	r3, [r3, #4]
	cmp	r3, #30
	bgt	.L30
.L29:
	ldr	r3, .L41+8
	ldr	r0, [r3]
	ldr	r3, .L41+20
	ldr	ip, [r3]
	ldr	r3, .L41+28
	ldr	lr, [r3]
	ldr	r3, .L41+8
	ldr	r3, [r3, #4]
	ldr	r2, .L41+20
	ldr	r2, [r2, #4]
	ldr	r1, .L41+28
	ldr	r1, [r1, #4]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L41+56
	bl	printf
	b	.L31
.L34:
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L41+60
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	cmp	r3, #89
	beq	.L39
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	cmp	r3, #78
	bne	.L31
	nop
.L31:
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	cmp	r3, #89
	beq	.L33
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	cmp	r3, #78
	bne	.L34
	b	.L33
.L39:
	nop
.L33:
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	cmp	r3, #89
	beq	.L40
	b	.L36
.L40:
	nop
	ldr	r3, .L41
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	.LC10
	.word	.LC1
	.word	year
	.word	.LC2
	.word	.LC3
	.word	month
	.word	.LC4
	.word	day
	.word	.LC5
	.word	year+4
	.word	.LC6
	.word	month+4
	.word	.LC7
	.word	day+4
	.word	.LC8
	.word	.LC9
	.size	ymd_input, .-ymd_input
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
