	.file	"175142710.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"clear"
	.align 8
.LC1:
	.string	"Enter a valid date (dd/mm/yyyy) : "
.LC2:
	.string	"%d / %d / %d"
.LC3:
	.string	"\nThe day is : %s"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 208
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -176[rbp], 31
	mov	DWORD PTR -172[rbp], 28
	mov	DWORD PTR -168[rbp], 31
	mov	DWORD PTR -164[rbp], 30
	mov	DWORD PTR -160[rbp], 31
	mov	DWORD PTR -156[rbp], 30
	mov	DWORD PTR -152[rbp], 31
	mov	DWORD PTR -148[rbp], 31
	mov	DWORD PTR -144[rbp], 30
	mov	DWORD PTR -140[rbp], 31
	mov	DWORD PTR -136[rbp], 30
	mov	DWORD PTR -132[rbp], 31
	mov	DWORD PTR -180[rbp], 0
	lea	rdi, .LC0[rip]
	call	system@PLT
	lea	rax, -128[rbp]
	mov	DWORD PTR [rax], 1684960595
	mov	WORD PTR 4[rax], 31073
	mov	BYTE PTR 6[rax], 0
	lea	rax, -128[rbp]
	add	rax, 15
	mov	DWORD PTR [rax], 1684959053
	mov	WORD PTR 4[rax], 31073
	mov	BYTE PTR 6[rax], 0
	lea	rax, -128[rbp]
	add	rax, 30
	movabs	rdi, 34165556242642260
	mov	QWORD PTR [rax], rdi
	lea	rax, -128[rbp]
	add	rax, 45
	movabs	rdi, 7017860998831039831
	mov	QWORD PTR [rax], rdi
	mov	WORD PTR 8[rax], 121
	lea	rax, -128[rbp]
	add	rax, 60
	movabs	rsi, 8746382398334527572
	mov	QWORD PTR [rax], rsi
	mov	BYTE PTR 8[rax], 0
	lea	rax, -128[rbp]
	add	rax, 75
	mov	DWORD PTR [rax], 1684632134
	mov	WORD PTR 4[rax], 31073
	mov	BYTE PTR 6[rax], 0
	lea	rax, -128[rbp]
	add	rax, 90
	movabs	rdi, 8746382394089824595
	mov	QWORD PTR [rax], rdi
	mov	BYTE PTR 8[rax], 0
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -188[rbp]
	lea	rdx, -192[rbp]
	lea	rax, -196[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -188[rbp]
	and	eax, 3
	test	eax, eax
	jne	.L2
	mov	edx, DWORD PTR -188[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	.L2
	mov	edx, DWORD PTR -188[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	.L2
	mov	DWORD PTR -172[rbp], 29
.L2:
	mov	DWORD PTR -184[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -184[rbp]
	cdqe
	mov	eax, DWORD PTR -176[rbp+rax*4]
	add	DWORD PTR -180[rbp], eax
	add	DWORD PTR -184[rbp], 1
.L3:
	mov	eax, DWORD PTR -192[rbp]
	sub	eax, 1
	cmp	DWORD PTR -184[rbp], eax
	jl	.L4
	mov	edx, DWORD PTR -196[rbp]
	mov	eax, DWORD PTR -188[rbp]
	lea	ecx, [rdx+rax]
	mov	eax, DWORD PTR -188[rbp]
	lea	edx, 3[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 2
	add	eax, ecx
	sub	eax, 2
	add	DWORD PTR -180[rbp], eax
	mov	eax, DWORD PTR -180[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, -1840700269
	shr	rdx, 32
	add	edx, eax
	sar	edx, 2
	mov	esi, eax
	sar	esi, 31
	mov	ecx, edx
	sub	ecx, esi
	mov	edx, ecx
	sal	edx, 3
	sub	edx, ecx
	sub	eax, edx
	mov	DWORD PTR -180[rbp], eax
	lea	rcx, -128[rbp]
	mov	eax, DWORD PTR -180[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"175142710.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"clear\000"
	.align	2
.LC2:
	.ascii	"Sunday\000"
	.align	2
.LC3:
	.ascii	"Monday\000"
	.align	2
.LC4:
	.ascii	"Tuesday\000"
	.align	2
.LC5:
	.ascii	"Wednesday\000"
	.align	2
.LC6:
	.ascii	"Thursday\000"
	.align	2
.LC7:
	.ascii	"Friday\000"
	.align	2
.LC8:
	.ascii	"Saturday\000"
	.align	2
.LC9:
	.ascii	"Enter a valid date (dd/mm/yyyy) : \000"
	.align	2
.LC10:
	.ascii	"%d / %d / %d\000"
	.align	2
.LC11:
	.ascii	"\012The day is : %s\000"
	.align	2
.LC0:
	.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
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 184
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #184
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L7+4
	sub	ip, fp, #164
	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}
	mov	r3, #0
	str	r3, [fp, #-168]
	ldr	r0, .L7+8
	bl	system
	sub	r3, fp, #116
	ldr	r2, .L7+12
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r1, #16
	strb	r2, [r3]
	sub	r3, fp, #116
	add	r3, r3, #15
	ldr	r2, .L7+16
	mov	r0, r3
	mov	r1, r2
	mov	r3, #7
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #116
	add	r3, r3, #30
	ldr	r2, .L7+20
	mov	r0, r3
	mov	r1, r2
	mov	r3, #8
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #116
	add	r3, r3, #45
	ldr	r2, .L7+24
	mov	r0, r3
	mov	r1, r2
	mov	r3, #10
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #116
	add	r3, r3, #60
	ldr	r2, .L7+28
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strb	r2, [r3]
	sub	r3, fp, #116
	add	r3, r3, #75
	ldr	r2, .L7+32
	mov	r0, r3
	mov	r1, r2
	mov	r3, #7
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #116
	add	r3, r3, #90
	ldr	r2, .L7+36
	mov	r0, r3
	mov	r1, r2
	mov	r3, #9
	mov	r2, r3
	bl	memcpy
	ldr	r0, .L7+40
	bl	printf
	sub	r3, fp, #176
	sub	r2, fp, #180
	sub	r1, fp, #184
	ldr	r0, .L7+44
	bl	__isoc99_scanf
	ldr	r3, [fp, #-176]
	and	r3, r3, #3
	cmp	r3, #0
	bne	.L2
	ldr	r1, [fp, #-176]
	ldr	r3, .L7+48
	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	.L2
	ldr	r1, [fp, #-176]
	ldr	r3, .L7+48
	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	.L2
	mov	r3, #29
	str	r3, [fp, #-160]
.L2:
	mov	r3, #0
	str	r3, [fp, #-172]
	b	.L3
.L4:
	ldr	r3, [fp, #-172]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-160]
	ldr	r2, [fp, #-168]
	add	r3, r2, r3
	str	r3, [fp, #-168]
	ldr	r3, [fp, #-172]
	add	r3, r3, #1
	str	r3, [fp, #-172]
.L3:
	ldr	r3, [fp, #-180]
	sub	r3, r3, #1
	ldr	r2, [fp, #-172]
	cmp	r2, r3
	blt	.L4
	ldr	r2, [fp, #-184]
	ldr	r3, [fp, #-176]
	add	r2, r2, r3
	ldr	r3, [fp, #-176]
	add	r1, r3, #3
	cmp	r3, #0
	movlt	r3, r1
	movge	r3, r3
	asr	r3, r3, #2
	add	r3, r2, r3
	sub	r3, r3, #2
	ldr	r2, [fp, #-168]
	add	r3, r2, r3
	str	r3, [fp, #-168]
	ldr	r2, [fp, #-168]
	ldr	r3, .L7+52
	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	r3, r2, r3
	str	r3, [fp, #-168]
	sub	r1, fp, #116
	ldr	r2, [fp, #-168]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L7+56
	bl	printf
	mov	r3, #0
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC12
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	1374389535
	.word	-1840700269
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
