	.file	"40363.c"
	.intel_syntax noprefix
	.text
	.globl	check
	.type	check, @function
check:
.LFB0:
	.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
	cmp	DWORD PTR -8[rbp], 4
	je	.L2
	cmp	DWORD PTR -8[rbp], 6
	je	.L2
	cmp	DWORD PTR -8[rbp], 9
	je	.L2
	cmp	DWORD PTR -8[rbp], 11
	jne	.L3
.L2:
	cmp	DWORD PTR -4[rbp], 31
	jne	.L3
	mov	eax, 1
	jmp	.L4
.L3:
	mov	eax, 0
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	check, .-check
	.globl	isleap
	.type	isleap, @function
isleap:
.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	eax, DWORD PTR -4[rbp]
	and	eax, 3
	test	eax, eax
	jne	.L6
	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
	jne	.L7
.L6:
	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
	jne	.L8
.L7:
	mov	eax, 1
	jmp	.L9
.L8:
	mov	eax, 0
.L9:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	isleap, .-isleap
	.section	.rodata
	.align 8
.LC0:
	.string	"enter the today's date in the form of dd mm yyyy"
.LC1:
	.string	"%d%d%d"
	.align 8
.LC2:
	.string	"value of day, not in the range 1...31"
	.align 8
.LC3:
	.string	"value of month, not in the range 1....12"
	.align 8
.LC4:
	.string	"value of day, not in the range day<=30"
	.align 8
.LC5:
	.string	"value of year, not in the range 1812.......2012"
	.align 8
.LC6:
	.string	"invalid date input for leap year"
	.align 8
.LC7:
	.string	"invalid date input for not a leap year"
	.align 8
.LC8:
	.string	"the next day is out of boundary value of year"
.LC9:
	.string	"next day is : %d  %d  %d"
	.text
	.globl	main
	.type	main, @function
main:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L20:
	mov	BYTE PTR -33[rbp], 121
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -24[rbp]
	lea	rdx, -28[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	test	eax, eax
	jle	.L11
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, 31
	jle	.L12
.L11:
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	BYTE PTR -33[rbp], 110
.L12:
	mov	eax, DWORD PTR -28[rbp]
	test	eax, eax
	jle	.L13
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 12
	jle	.L14
.L13:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	BYTE PTR -33[rbp], 110
	jmp	.L15
.L14:
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, edx
	mov	edi, eax
	call	check
	test	eax, eax
	je	.L15
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	BYTE PTR -33[rbp], 110
.L15:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 1812
	jle	.L16
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 2013
	jle	.L17
.L16:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	BYTE PTR -33[rbp], 110
.L17:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 2
	jne	.L18
	mov	eax, DWORD PTR -24[rbp]
	mov	edi, eax
	call	isleap
	test	eax, eax
	je	.L19
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, 29
	jle	.L19
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	BYTE PTR -33[rbp], 110
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -24[rbp]
	mov	edi, eax
	call	isleap
	test	eax, eax
	jne	.L18
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, 28
	jle	.L18
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	BYTE PTR -33[rbp], 110
.L18:
	cmp	BYTE PTR -33[rbp], 110
	je	.L20
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 12
	ja	.L21
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L23[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L23[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L23:
	.long	.L21-.L23
	.long	.L25-.L23
	.long	.L26-.L23
	.long	.L25-.L23
	.long	.L24-.L23
	.long	.L25-.L23
	.long	.L24-.L23
	.long	.L25-.L23
	.long	.L25-.L23
	.long	.L24-.L23
	.long	.L25-.L23
	.long	.L24-.L23
	.long	.L22-.L23
	.text
.L25:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, 30
	jg	.L27
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 1
	mov	DWORD PTR -20[rbp], eax
	jmp	.L21
.L27:
	mov	DWORD PTR -20[rbp], 1
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 1
	mov	DWORD PTR -16[rbp], eax
	jmp	.L21
.L24:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, 29
	jg	.L29
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 1
	mov	DWORD PTR -20[rbp], eax
	jmp	.L21
.L29:
	mov	DWORD PTR -20[rbp], 1
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 1
	mov	DWORD PTR -16[rbp], eax
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, 30
	jg	.L31
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 1
	mov	DWORD PTR -20[rbp], eax
	jmp	.L21
.L31:
	mov	DWORD PTR -20[rbp], 1
	mov	DWORD PTR -16[rbp], 1
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 2012
	jne	.L33
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L39
.L33:
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	mov	DWORD PTR -12[rbp], eax
	jmp	.L21
.L26:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, 27
	jg	.L35
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 1
	mov	DWORD PTR -20[rbp], eax
	jmp	.L41
.L35:
	mov	eax, DWORD PTR -24[rbp]
	mov	edi, eax
	call	isleap
	test	eax, eax
	je	.L37
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, 28
	jne	.L37
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 1
	mov	DWORD PTR -20[rbp], eax
	jmp	.L41
.L37:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, 28
	je	.L38
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, 29
	jne	.L41
.L38:
	mov	DWORD PTR -20[rbp], 1
	mov	DWORD PTR -16[rbp], 3
.L41:
	nop
.L21:
	mov	ecx, DWORD PTR -12[rbp]
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
.L39:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L40
	call	__stack_chk_fail@PLT
.L40:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	"40363.c"
	.text
	.align	2
	.global	check
	.syntax unified
	.arm
	.fpu softvfp
	.type	check, %function
check:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	beq	.L2
	ldr	r3, [fp, #-12]
	cmp	r3, #6
	beq	.L2
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	beq	.L2
	ldr	r3, [fp, #-12]
	cmp	r3, #11
	bne	.L3
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #31
	bne	.L3
	mov	r3, #1
	b	.L4
.L3:
	mov	r3, #0
.L4:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	check, .-check
	.align	2
	.global	isleap
	.syntax unified
	.arm
	.fpu softvfp
	.type	isleap, %function
isleap:
	@ 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	r3, [fp, #-8]
	and	r3, r3, #3
	cmp	r3, #0
	bne	.L6
	ldr	r1, [fp, #-8]
	ldr	r3, .L10
	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	.L7
.L6:
	ldr	r1, [fp, #-8]
	ldr	r3, .L10
	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	.L8
.L7:
	mov	r3, #1
	b	.L9
.L8:
	mov	r3, #0
.L9:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L11:
	.align	2
.L10:
	.word	1374389535
	.size	isleap, .-isleap
	.section	.rodata
	.align	2
.LC0:
	.ascii	"enter the today's date in the form of dd mm yyyy\000"
	.align	2
.LC1:
	.ascii	"%d%d%d\000"
	.align	2
.LC2:
	.ascii	"value of day, not in the range 1...31\000"
	.align	2
.LC3:
	.ascii	"value of month, not in the range 1....12\000"
	.align	2
.LC4:
	.ascii	"value of day, not in the range day<=30\000"
	.align	2
.LC5:
	.ascii	"value of year, not in the range 1812.......2012\000"
	.align	2
.LC6:
	.ascii	"invalid date input for leap year\000"
	.align	2
.LC7:
	.ascii	"invalid date input for not a leap year\000"
	.align	2
.LC8:
	.ascii	"the next day is out of boundary value of year\000"
	.align	2
.LC9:
	.ascii	"next day is : %d  %d  %d\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L22:
	mov	r3, #121
	strb	r3, [fp, #-33]
	ldr	r0, .L44+4
	bl	printf
	sub	r3, fp, #24
	sub	r2, fp, #28
	sub	r1, fp, #32
	ldr	r0, .L44+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	ble	.L13
	ldr	r3, [fp, #-32]
	cmp	r3, #31
	ble	.L14
.L13:
	ldr	r0, .L44+12
	bl	printf
	mov	r3, #110
	strb	r3, [fp, #-33]
.L14:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	ble	.L15
	ldr	r3, [fp, #-28]
	cmp	r3, #12
	ble	.L16
.L15:
	ldr	r0, .L44+16
	bl	printf
	mov	r3, #110
	strb	r3, [fp, #-33]
	b	.L17
.L16:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	mov	r1, r2
	mov	r0, r3
	bl	check
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	ldr	r0, .L44+20
	bl	printf
	mov	r3, #110
	strb	r3, [fp, #-33]
.L17:
	ldr	r3, [fp, #-24]
	ldr	r2, .L44+24
	cmp	r3, r2
	ble	.L18
	ldr	r3, [fp, #-24]
	ldr	r2, .L44+28
	cmp	r3, r2
	ble	.L19
.L18:
	ldr	r0, .L44+32
	bl	printf
	mov	r3, #110
	strb	r3, [fp, #-33]
.L19:
	ldr	r3, [fp, #-28]
	cmp	r3, #2
	bne	.L20
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	isleap
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	ldr	r3, [fp, #-32]
	cmp	r3, #29
	ble	.L21
	ldr	r0, .L44+36
	bl	printf
	mov	r3, #110
	strb	r3, [fp, #-33]
	b	.L20
.L21:
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	isleap
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
	ldr	r3, [fp, #-32]
	cmp	r3, #28
	ble	.L20
	ldr	r0, .L44+40
	bl	printf
	mov	r3, #110
	strb	r3, [fp, #-33]
.L20:
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	cmp	r3, #110
	beq	.L22
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	cmp	r3, #11
	ldrls	pc, [pc, r3, asl #2]
	b	.L23
.L25:
	.word	.L27
	.word	.L28
	.word	.L27
	.word	.L26
	.word	.L27
	.word	.L26
	.word	.L27
	.word	.L27
	.word	.L26
	.word	.L27
	.word	.L26
	.word	.L24
.L27:
	ldr	r3, [fp, #-32]
	cmp	r3, #30
	bgt	.L29
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L23
.L29:
	mov	r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L23
.L26:
	ldr	r3, [fp, #-32]
	cmp	r3, #29
	bgt	.L31
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L23
.L31:
	mov	r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L23
.L24:
	ldr	r3, [fp, #-32]
	cmp	r3, #30
	bgt	.L33
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L23
.L33:
	mov	r3, #1
	str	r3, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	ldr	r2, .L44+44
	cmp	r3, r2
	bne	.L35
	ldr	r0, .L44+48
	bl	puts
	mov	r3, #0
	b	.L41
.L35:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L23
.L28:
	ldr	r3, [fp, #-32]
	cmp	r3, #27
	bgt	.L37
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L43
.L37:
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	isleap
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-32]
	cmp	r3, #28
	bne	.L39
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L43
.L39:
	ldr	r3, [fp, #-32]
	cmp	r3, #28
	beq	.L40
	ldr	r3, [fp, #-32]
	cmp	r3, #29
	bne	.L43
.L40:
	mov	r3, #1
	str	r3, [fp, #-20]
	mov	r3, #3
	str	r3, [fp, #-16]
.L43:
	nop
.L23:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-20]
	ldr	r0, .L44+52
	bl	printf
	mov	r3, #0
.L41:
	ldr	r2, .L44
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC10
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	1812
	.word	2013
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	2012
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
