	.file	"11986.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"Enter the year: "
.LC2:
	.string	"%d"
.LC3:
	.string	"Enter the month: "
.LC4:
	.string	"%s"
.LC5:
	.string	"Enter the day: "
	.align 8
.LC6:
	.string	"The enter year is %d, month is %s, day is %d.\n"
.LC7:
	.string	"\346\200\273\345\205\261\347\232\204\345\244\251\346\225\260\357\274\232%d\n"
	.align 32
.LC0:
	.string	"January"
	.zero	2
	.string	"Jan"
	.zero	2
	.long	31
	.string	"1"
	.zero	1
	.zero	1
	.string	"February"
	.zero	1
	.string	"Feb"
	.zero	2
	.long	28
	.string	"2"
	.zero	1
	.zero	1
	.string	"March"
	.zero	4
	.string	"Mar"
	.zero	2
	.long	31
	.string	"3"
	.zero	1
	.zero	1
	.string	"April"
	.zero	4
	.string	"Apr"
	.zero	2
	.long	30
	.string	"4"
	.zero	1
	.zero	1
	.string	"May"
	.zero	6
	.string	"May"
	.zero	2
	.long	31
	.string	"5"
	.zero	1
	.zero	1
	.string	"June"
	.zero	5
	.string	"Jun"
	.zero	2
	.long	30
	.string	"6"
	.zero	1
	.zero	1
	.string	"July"
	.zero	5
	.string	"Jul"
	.zero	2
	.long	31
	.string	"7"
	.zero	1
	.zero	1
	.string	"Aguest"
	.zero	3
	.string	"Agu"
	.zero	2
	.long	31
	.string	"8"
	.zero	1
	.zero	1
	.string	"September"
	.string	"Sep"
	.zero	2
	.long	30
	.string	"9"
	.zero	1
	.zero	1
	.string	"October"
	.zero	2
	.string	"Oct"
	.zero	2
	.long	31
	.string	"10"
	.zero	1
	.string	"November"
	.zero	1
	.string	"Nov"
	.zero	2
	.long	30
	.string	"11"
	.zero	1
	.string	"December"
	.zero	1
	.string	"Dec"
	.zero	2
	.long	31
	.string	"12"
	.zero	1
	.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, 368
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -320[rbp]
	lea	rdx, .LC0[rip]
	mov	ecx, 36
	mov	rdi, rax
	mov	rsi, rdx
	rep movsq
	mov	DWORD PTR -360[rbp], 0
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -368[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -18[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -364[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -368[rbp]
	lea	rdx, -320[rbp]
	add	rdx, 24
	mov	rsi, rdx
	mov	edi, eax
	call	LeapMonth
	mov	ecx, DWORD PTR -364[rbp]
	mov	eax, DWORD PTR -368[rbp]
	lea	rdx, -18[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -356[rbp], 0
	jmp	.L2
.L6:
	mov	eax, DWORD PTR -356[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	lea	rcx, -320[rax]
	mov	rax, QWORD PTR [rcx]
	mov	rdx, QWORD PTR 8[rcx]
	mov	QWORD PTR -352[rbp], rax
	mov	QWORD PTR -344[rbp], rdx
	mov	rax, QWORD PTR 16[rcx]
	mov	QWORD PTR -336[rbp], rax
	lea	rdx, -352[rbp]
	lea	rax, -18[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L3
	lea	rax, -352[rbp]
	lea	rdx, 10[rax]
	lea	rax, -18[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L3
	lea	rax, -352[rbp]
	lea	rdx, 20[rax]
	lea	rax, -18[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L4
.L3:
	mov	edx, DWORD PTR -336[rbp]
	mov	eax, DWORD PTR -364[rbp]
	cmp	edx, eax
	cmovle	eax, edx
	add	DWORD PTR -360[rbp], eax
	jmp	.L5
.L4:
	mov	eax, DWORD PTR -336[rbp]
	add	DWORD PTR -360[rbp], eax
	add	DWORD PTR -356[rbp], 1
.L2:
	cmp	DWORD PTR -356[rbp], 11
	jle	.L6
.L5:
	mov	eax, DWORD PTR -360[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	LeapMonth
	.type	LeapMonth, @function
LeapMonth:
.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	QWORD PTR -16[rbp], rsi
	mov	eax, DWORD PTR -4[rbp]
	and	eax, 3
	test	eax, eax
	jne	.L10
	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	.L11
.L10:
	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	.L13
.L11:
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 16[rax], 29
.L13:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	LeapMonth, .-LeapMonth
	.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	"11986.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Enter the year: \000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"Enter the month: \000"
	.align	2
.LC4:
	.ascii	"%s\000"
	.align	2
.LC5:
	.ascii	"Enter the day: \000"
	.align	2
.LC6:
	.ascii	"The enter year is %d, month is %s, day is %d.\012\000"
	.align	2
.LC7:
	.ascii	"\346\200\273\345\205\261\347\232\204\345\244\251\346"
	.ascii	"\225\260\357\274\232%d\012\000"
	.align	2
.LC0:
	.ascii	"January\000"
	.space	2
	.ascii	"Jan\000"
	.space	2
	.word	31
	.ascii	"1\000"
	.space	1
	.space	1
	.ascii	"February\000"
	.space	1
	.ascii	"Feb\000"
	.space	2
	.word	28
	.ascii	"2\000"
	.space	1
	.space	1
	.ascii	"March\000"
	.space	4
	.ascii	"Mar\000"
	.space	2
	.word	31
	.ascii	"3\000"
	.space	1
	.space	1
	.ascii	"April\000"
	.space	4
	.ascii	"Apr\000"
	.space	2
	.word	30
	.ascii	"4\000"
	.space	1
	.space	1
	.ascii	"May\000"
	.space	6
	.ascii	"May\000"
	.space	2
	.word	31
	.ascii	"5\000"
	.space	1
	.space	1
	.ascii	"June\000"
	.space	5
	.ascii	"Jun\000"
	.space	2
	.word	30
	.ascii	"6\000"
	.space	1
	.space	1
	.ascii	"July\000"
	.space	5
	.ascii	"Jul\000"
	.space	2
	.word	31
	.ascii	"7\000"
	.space	1
	.space	1
	.ascii	"Aguest\000"
	.space	3
	.ascii	"Agu\000"
	.space	2
	.word	31
	.ascii	"8\000"
	.space	1
	.space	1
	.ascii	"September\000"
	.ascii	"Sep\000"
	.space	2
	.word	30
	.ascii	"9\000"
	.space	1
	.space	1
	.ascii	"October\000"
	.space	2
	.ascii	"Oct\000"
	.space	2
	.word	31
	.ascii	"10\000"
	.space	1
	.ascii	"November\000"
	.space	1
	.ascii	"Nov\000"
	.space	2
	.word	30
	.ascii	"11\000"
	.space	1
	.ascii	"December\000"
	.space	1
	.ascii	"Dec\000"
	.space	2
	.word	31
	.ascii	"12\000"
	.space	1
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 344
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #344
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L9+4
	sub	r3, fp, #308
	mov	r1, r2
	mov	r2, #288
	mov	r0, r3
	bl	memcpy
	mov	r3, #0
	str	r3, [fp, #-340]
	ldr	r0, .L9+8
	bl	printf
	sub	r3, fp, #348
	mov	r1, r3
	ldr	r0, .L9+12
	bl	__isoc99_scanf
	ldr	r0, .L9+16
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L9+20
	bl	__isoc99_scanf
	ldr	r0, .L9+24
	bl	printf
	sub	r3, fp, #344
	mov	r1, r3
	ldr	r0, .L9+12
	bl	__isoc99_scanf
	ldr	r2, [fp, #-348]
	sub	r3, fp, #308
	add	r3, r3, #24
	mov	r1, r3
	mov	r0, r2
	bl	LeapMonth
	ldr	r1, [fp, #-348]
	ldr	r3, [fp, #-344]
	sub	r2, fp, #20
	ldr	r0, .L9+28
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-336]
	b	.L2
.L6:
	ldr	r2, [fp, #-336]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #304
	sub	ip, fp, #332
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	sub	r2, fp, #332
	sub	r3, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	sub	r3, fp, #332
	add	r2, r3, #10
	sub	r3, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	sub	r3, fp, #332
	add	r2, r3, #20
	sub	r3, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
.L3:
	ldr	r2, [fp, #-316]
	ldr	r3, [fp, #-344]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	ldr	r2, [fp, #-340]
	add	r3, r2, r3
	str	r3, [fp, #-340]
	b	.L5
.L4:
	ldr	r3, [fp, #-316]
	ldr	r2, [fp, #-340]
	add	r3, r2, r3
	str	r3, [fp, #-340]
	ldr	r3, [fp, #-336]
	add	r3, r3, #1
	str	r3, [fp, #-336]
.L2:
	ldr	r3, [fp, #-336]
	cmp	r3, #11
	ble	.L6
.L5:
	ldr	r1, [fp, #-340]
	ldr	r0, .L9+32
	bl	printf
	mov	r3, #0
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.align	2
	.global	LeapMonth
	.syntax unified
	.arm
	.fpu softvfp
	.type	LeapMonth, %function
LeapMonth:
	@ 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, #-8]
	and	r3, r3, #3
	cmp	r3, #0
	bne	.L12
	ldr	r1, [fp, #-8]
	ldr	r3, .L16
	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	.L13
.L12:
	ldr	r1, [fp, #-8]
	ldr	r3, .L16
	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	.L15
.L13:
	ldr	r3, [fp, #-12]
	mov	r2, #29
	str	r2, [r3, #16]
.L15:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L17:
	.align	2
.L16:
	.word	1374389535
	.size	LeapMonth, .-LeapMonth
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
