	.file	"441588.c"
	.intel_syntax noprefix
	.text
	.globl	leapyear
	.type	leapyear, @function
leapyear:
.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	eax, DWORD PTR -4[rbp]
	and	eax, 3
	test	eax, eax
	jne	.L2
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, edx
	imul	rax, rax, 1374389535
	shr	rax, 32
	shr	eax, 5
	imul	ecx, eax, 100
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	jne	.L3
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, edx
	imul	rax, rax, 1374389535
	shr	rax, 32
	shr	eax, 7
	imul	ecx, eax, 400
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	jne	.L2
.L3:
	mov	eax, 1
	jmp	.L4
.L2:
	mov	eax, 0
.L4:
	and	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	leapyear, .-leapyear
	.globl	time_set_yday
	.type	time_set_yday, @function
time_set_yday:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 88
	.cfi_offset 3, -24
	mov	QWORD PTR -88[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -80[rbp], 0
	mov	DWORD PTR -76[rbp], 31
	mov	DWORD PTR -72[rbp], 59
	mov	DWORD PTR -68[rbp], 90
	mov	DWORD PTR -64[rbp], 120
	mov	DWORD PTR -60[rbp], 151
	mov	DWORD PTR -56[rbp], 181
	mov	DWORD PTR -52[rbp], 212
	mov	DWORD PTR -48[rbp], 243
	mov	DWORD PTR -44[rbp], 273
	mov	DWORD PTR -40[rbp], 304
	mov	DWORD PTR -36[rbp], 334
	mov	eax, DWORD PTR 32[rbp]
	cdqe
	mov	edx, DWORD PTR -80[rbp+rax*4]
	mov	eax, DWORD PTR 28[rbp]
	add	eax, edx
	lea	edx, -1[rax]
	mov	eax, DWORD PTR 44[rbp]
	add	eax, edx
	mov	DWORD PTR 44[rbp], eax
	mov	eax, DWORD PTR 32[rbp]
	cmp	eax, 1
	jle	.L7
	mov	eax, DWORD PTR 36[rbp]
	add	eax, 1900
	mov	edi, eax
	call	leapyear
	test	al, al
	je	.L7
	mov	eax, DWORD PTR 44[rbp]
	add	eax, 1
	mov	DWORD PTR 44[rbp], eax
.L7:
	mov	rax, QWORD PTR -88[rbp]
	mov	rcx, QWORD PTR 16[rbp]
	mov	rbx, QWORD PTR 24[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR 32[rbp]
	mov	rbx, QWORD PTR 40[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR 48[rbp]
	mov	rbx, QWORD PTR 56[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rdx, QWORD PTR 64[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	mov	rax, QWORD PTR -88[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	time_set_yday, .-time_set_yday
	.section	.rodata
	.align 8
.LC0:
	.string	"this\342\220\243year\342\220\243is\342\220\243%d,\342\220\243next\342\220\243year\342\220\243will\342\220\243be\342\220\243%d\n"
	.align 8
.LC1:
	.string	"day\342\220\243of\342\220\243the\342\220\243year\342\220\243is\342\220\243%d\n"
	.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -64[rbp], 47
	mov	DWORD PTR -56[rbp], 10
	mov	DWORD PTR -52[rbp], 3
	mov	DWORD PTR -48[rbp], 3
	mov	DWORD PTR -44[rbp], 119
	mov	eax, DWORD PTR -44[rbp]
	lea	edx, 1901[rax]
	mov	eax, DWORD PTR -44[rbp]
	add	eax, 1900
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -64[rbp]
	sub	rsp, 8
	push	QWORD PTR -16[rbp]
	push	QWORD PTR -24[rbp]
	push	QWORD PTR -32[rbp]
	push	QWORD PTR -40[rbp]
	push	QWORD PTR -48[rbp]
	push	QWORD PTR -56[rbp]
	push	QWORD PTR -64[rbp]
	mov	rdi, rax
	call	time_set_yday
	add	rsp, 64
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	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	"441588.c"
	.text
	.align	2
	.global	leapyear
	.syntax unified
	.arm
	.fpu softvfp
	.type	leapyear, %function
leapyear:
	@ 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	.L2
	ldr	r1, [fp, #-8]
	ldr	r3, .L6
	umull	r2, r3, r1, r3
	lsr	r2, r3, #5
	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	.L3
	ldr	r1, [fp, #-8]
	ldr	r3, .L6
	umull	r2, r3, r1, r3
	lsr	r2, r3, #7
	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	.L2
.L3:
	mov	r3, #1
	b	.L4
.L2:
	mov	r3, #0
.L4:
	and	r3, r3, #1
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L7:
	.align	2
.L6:
	.word	1374389535
	.size	leapyear, .-leapyear
	.section	.rodata
	.align	2
.LC0:
	.word	0
	.word	31
	.word	59
	.word	90
	.word	120
	.word	151
	.word	181
	.word	212
	.word	243
	.word	273
	.word	304
	.word	334
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	time_set_yday
	.syntax unified
	.arm
	.fpu softvfp
	.type	time_set_yday, %function
time_set_yday:
	@ args = 48, pretend = 16, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	add	r0, fp, #8
	stm	r0, {r1, r2, r3}
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L12+4
	sub	ip, fp, #56
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #24]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-52]
	ldr	r3, [fp, #20]
	add	r3, r2, r3
	sub	r2, r3, #1
	ldr	r3, [fp, #36]
	add	r3, r2, r3
	str	r3, [fp, #36]
	ldr	r3, [fp, #24]
	cmp	r3, #1
	ble	.L9
	ldr	r3, [fp, #28]
	add	r3, r3, #1888
	add	r3, r3, #12
	mov	r0, r3
	bl	leapyear
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #36]
	add	r3, r3, #1
	str	r3, [fp, #36]
.L9:
	ldr	r3, [fp, #-64]
	mov	lr, r3
	add	ip, fp, #8
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2}
	stm	lr, {r0, r1, r2}
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	ldr	r0, [fp, #-64]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L13:
	.align	2
.L12:
	.word	.LC1
	.word	.LC0
	.size	time_set_yday, .-time_set_yday
	.section	.rodata
	.align	2
.LC2:
	.ascii	"this\342\220\243year\342\220\243is\342\220\243%d,\342"
	.ascii	"\220\243next\342\220\243year\342\220\243will\342\220"
	.ascii	"\243be\342\220\243%d\012\000"
	.align	2
.LC3:
	.ascii	"day\342\220\243of\342\220\243the\342\220\243year\342"
	.ascii	"\220\243is\342\220\243%d\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #84
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #60
	mov	r2, #44
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #47
	str	r3, [fp, #-60]
	mov	r3, #10
	str	r3, [fp, #-52]
	mov	r3, #3
	str	r3, [fp, #-48]
	mov	r3, #3
	str	r3, [fp, #-44]
	mov	r3, #119
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1888
	add	r3, r3, #12
	ldr	r2, [fp, #-40]
	add	r2, r2, #1888
	add	r2, r2, #13
	mov	r1, r3
	ldr	r0, .L17+4
	bl	printf
	sub	r4, fp, #60
	mov	lr, sp
	sub	ip, fp, #48
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2, r3}
	stm	lr, {r0, r1, r2, r3}
	sub	r3, fp, #60
	ldm	r3, {r1, r2, r3}
	mov	r0, r4
	bl	time_set_yday
	ldr	r3, [fp, #-32]
	mov	r1, r3
	ldr	r0, .L17+8
	bl	printf
	mov	r3, #0
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC4
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
