	.file	"181393703.c"
	.intel_syntax noprefix
	.text
	.globl	isLeapYear
	.type	isLeapYear, @function
isLeapYear:
.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]
	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	.L3
.L2:
	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	.L4
.L3:
	mov	eax, 1
	jmp	.L5
.L4:
	mov	eax, 0
.L5:
	and	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	isLeapYear, .-isLeapYear
	.globl	dayToZero
	.type	dayToZero, @function
dayToZero:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	DWORD PTR -84[rbp], edi
	mov	DWORD PTR -88[rbp], esi
	mov	DWORD PTR -92[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -64[rbp], 0
	mov	DWORD PTR -60[rbp], 31
	mov	DWORD PTR -56[rbp], 28
	mov	DWORD PTR -52[rbp], 31
	mov	DWORD PTR -48[rbp], 30
	mov	DWORD PTR -44[rbp], 31
	mov	DWORD PTR -40[rbp], 30
	mov	DWORD PTR -36[rbp], 31
	mov	DWORD PTR -32[rbp], 31
	mov	DWORD PTR -28[rbp], 30
	mov	DWORD PTR -24[rbp], 31
	mov	DWORD PTR -20[rbp], 30
	mov	DWORD PTR -16[rbp], 31
	mov	DWORD PTR -68[rbp], 1
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	edx, DWORD PTR -64[rbp+rax*4]
	mov	eax, DWORD PTR -68[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	add	edx, eax
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	DWORD PTR -64[rbp+rax*4], edx
	add	DWORD PTR -68[rbp], 1
.L8:
	cmp	DWORD PTR -68[rbp], 12
	jle	.L9
	mov	eax, DWORD PTR -92[rbp]
	mov	edi, eax
	call	isLeapYear
	test	al, al
	je	.L10
	cmp	DWORD PTR -88[rbp], 2
	jle	.L10
	add	DWORD PTR -84[rbp], 1
.L10:
	mov	eax, DWORD PTR -88[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	add	DWORD PTR -84[rbp], eax
	sub	DWORD PTR -92[rbp], 1
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, eax, 365
	add	DWORD PTR -84[rbp], eax
	mov	eax, DWORD PTR -92[rbp]
	lea	edx, 3[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 2
	mov	ecx, eax
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	sar	eax, 31
	sub	eax, edx
	add	ecx, eax
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 7
	sar	eax, 31
	mov	esi, eax
	mov	eax, edx
	sub	eax, esi
	add	eax, ecx
	add	DWORD PTR -84[rbp], eax
	mov	eax, DWORD PTR -84[rbp]
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	dayToZero, .-dayToZero
	.section	.rodata
.LC0:
	.string	"Sunday"
.LC1:
	.string	"Monday"
.LC2:
	.string	"Tuesday"
.LC3:
	.string	"Wednesday"
.LC4:
	.string	"Thursday"
.LC5:
	.string	"Friday"
.LC6:
	.string	"Saturday"
	.text
	.globl	dayOfTheWeek
	.type	dayOfTheWeek, @function
dayOfTheWeek:
.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, 96
	mov	DWORD PTR -84[rbp], edi
	mov	DWORD PTR -88[rbp], esi
	mov	DWORD PTR -92[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -64[rbp], rax
	lea	rax, .LC1[rip]
	mov	QWORD PTR -56[rbp], rax
	lea	rax, .LC2[rip]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, .LC4[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rax, .LC5[rip]
	mov	QWORD PTR -24[rbp], rax
	lea	rax, .LC6[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	edx, DWORD PTR -92[rbp]
	mov	ecx, DWORD PTR -88[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	dayToZero
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR -68[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
	movsx	rax, edx
	mov	rax, QWORD PTR -64[rbp+rax*8]
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	dayOfTheWeek, .-dayOfTheWeek
	.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	"181393703.c"
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Sunday\000"
	.align	2
.LC2:
	.ascii	"Monday\000"
	.align	2
.LC3:
	.ascii	"Tuesday\000"
	.align	2
.LC4:
	.ascii	"Wednesday\000"
	.align	2
.LC5:
	.ascii	"Thursday\000"
	.align	2
.LC6:
	.ascii	"Friday\000"
	.align	2
.LC7:
	.ascii	"Saturday\000"
	.text
	.align	2
	.global	isLeapYear
	.syntax unified
	.arm
	.fpu softvfp
	.type	isLeapYear, %function
isLeapYear:
	@ 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, .L7
	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	.L3
.L2:
	ldr	r1, [fp, #-8]
	ldr	r3, .L7
	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	.L4
.L3:
	mov	r3, #1
	b	.L5
.L4:
	mov	r3, #0
.L5:
	and	r3, r3, #1
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L8:
	.align	2
.L7:
	.word	1374389535
	.size	isLeapYear, .-isLeapYear
	.section	.rodata
	.align	2
.LC0:
	.word	0
	.word	31
	.word	28
	.word	31
	.word	30
	.word	31
	.word	30
	.word	31
	.word	31
	.word	30
	.word	31
	.word	30
	.word	31
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	dayToZero
	.syntax unified
	.arm
	.fpu softvfp
	.type	dayToZero, %function
dayToZero:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	str	r2, [fp, #-80]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L15+4
	sub	ip, fp, #60
	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}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	mov	r3, #1
	str	r3, [fp, #-64]
	b	.L10
.L11:
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-56]
	ldr	r3, [fp, #-64]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-56]
	add	r2, r2, r3
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-56]
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L10:
	ldr	r3, [fp, #-64]
	cmp	r3, #12
	ble	.L11
	ldr	r0, [fp, #-80]
	bl	isLeapYear
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-76]
	cmp	r3, #2
	ble	.L12
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L12:
	ldr	r3, [fp, #-76]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-56]
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-80]
	sub	r3, r3, #1
	str	r3, [fp, #-80]
	ldr	r2, [fp, #-80]
	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
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-80]
	add	r2, r3, #3
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #2
	mov	r1, r3
	ldr	r3, [fp, #-80]
	ldr	r2, .L15+8
	smull	r0, r2, r3, r2
	asr	r2, r2, #5
	asr	r3, r3, #31
	sub	r3, r3, r2
	add	r2, r1, r3
	ldr	r3, [fp, #-80]
	ldr	r1, .L15+8
	smull	r0, r1, r3, r1
	asr	r1, r1, #7
	asr	r3, r3, #31
	sub	r3, r1, r3
	add	r3, r2, r3
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-72]
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC9
	.word	.LC0
	.word	1374389535
	.size	dayToZero, .-dayToZero
	.section	.rodata
	.align	2
.LC10:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	dayOfTheWeek
	.syntax unified
	.arm
	.fpu softvfp
	.type	dayOfTheWeek, %function
dayOfTheWeek:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L20+4
	sub	ip, fp, #36
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r2, [fp, #-56]
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-48]
	bl	dayToZero
	str	r0, [fp, #-40]
	ldr	r2, [fp, #-40]
	ldr	r3, .L20+8
	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
	lsl	r3, r1, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-32]
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC11
	.word	.LC10
	.word	-1840700269
	.size	dayOfTheWeek, .-dayOfTheWeek
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
