	.file	"88956.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	" %d-%d-%d "
.LC1:
	.string	", "
.LC2:
	.string	"%d-%d-%d "
	.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rcx, -24[rbp]
	lea	rdx, -20[rbp]
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -16[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	dayCode
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	displayDay
	jmp	.L2
.L3:
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -16[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	dayCode
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	displayDay
.L2:
	lea	rcx, -24[rbp]
	lea	rdx, -20[rbp]
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, 3
	je	.L3
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	isLeapYear
	.type	isLeapYear, @function
isLeapYear:
.LFB7:
	.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	.L7
	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	.L8
.L7:
	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	.L9
.L8:
	mov	eax, 1
	jmp	.L11
.L9:
	mov	eax, 0
.L11:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	isLeapYear, .-isLeapYear
	.globl	centuryCode
	.type	centuryCode, @function
centuryCode:
.LFB8:
	.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
	cmp	DWORD PTR -4[rbp], 1999
	jle	.L13
	cmp	DWORD PTR -4[rbp], 2099
	jg	.L13
	mov	eax, 6
	jmp	.L14
.L13:
	cmp	DWORD PTR -4[rbp], 1699
	jle	.L15
	cmp	DWORD PTR -4[rbp], 1799
	jle	.L16
.L15:
	cmp	DWORD PTR -4[rbp], 2099
	jle	.L17
	cmp	DWORD PTR -4[rbp], 2199
	jg	.L17
.L16:
	mov	eax, 4
	jmp	.L14
.L17:
	cmp	DWORD PTR -4[rbp], 1799
	jle	.L18
	cmp	DWORD PTR -4[rbp], 1899
	jle	.L19
.L18:
	cmp	DWORD PTR -4[rbp], 2199
	jle	.L20
	cmp	DWORD PTR -4[rbp], 2299
	jg	.L20
.L19:
	mov	eax, 2
	jmp	.L14
.L20:
	cmp	DWORD PTR -4[rbp], 1899
	jle	.L21
	cmp	DWORD PTR -4[rbp], 1999
	jle	.L22
.L21:
	cmp	DWORD PTR -4[rbp], 2299
	jle	.L23
.L22:
	mov	eax, 0
	jmp	.L14
.L23:
	mov	eax, 1000
.L14:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	centuryCode, .-centuryCode
	.globl	yearCode
	.type	yearCode, @function
yearCode:
.LFB9:
	.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 -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	edx, edx, 100
	sub	eax, edx
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 3[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 2
	mov	edx, eax
	mov	eax, DWORD PTR -8[rbp]
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[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
	mov	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	yearCode, .-yearCode
	.globl	monthCode
	.type	monthCode, @function
monthCode:
.LFB10:
	.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
	cmp	DWORD PTR -4[rbp], 1
	je	.L27
	cmp	DWORD PTR -4[rbp], 10
	jne	.L28
.L27:
	mov	eax, 0
	jmp	.L29
.L28:
	cmp	DWORD PTR -4[rbp], 2
	je	.L30
	cmp	DWORD PTR -4[rbp], 11
	je	.L30
	cmp	DWORD PTR -4[rbp], 3
	jne	.L31
.L30:
	mov	eax, 3
	jmp	.L29
.L31:
	cmp	DWORD PTR -4[rbp], 4
	je	.L32
	cmp	DWORD PTR -4[rbp], 7
	jne	.L33
.L32:
	mov	eax, 6
	jmp	.L29
.L33:
	cmp	DWORD PTR -4[rbp], 5
	jne	.L34
	mov	eax, 1
	jmp	.L29
.L34:
	cmp	DWORD PTR -4[rbp], 6
	jne	.L35
	mov	eax, 4
	jmp	.L29
.L35:
	cmp	DWORD PTR -4[rbp], 8
	jne	.L36
	mov	eax, 2
	jmp	.L29
.L36:
	cmp	DWORD PTR -4[rbp], 9
	je	.L37
	cmp	DWORD PTR -4[rbp], 12
	jne	.L38
.L37:
	mov	eax, 5
	jmp	.L29
.L38:
	mov	eax, 1000
.L29:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	monthCode, .-monthCode
	.globl	dayCode
	.type	dayCode, @function
dayCode:
.LFB11:
	.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, 32
	.cfi_offset 3, -24
	mov	DWORD PTR -28[rbp], edi
	mov	DWORD PTR -32[rbp], esi
	mov	DWORD PTR -36[rbp], edx
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	yearCode
	mov	ebx, eax
	mov	eax, DWORD PTR -32[rbp]
	mov	edi, eax
	call	monthCode
	add	ebx, eax
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	centuryCode
	lea	edx, [rbx+rax]
	mov	eax, DWORD PTR -36[rbp]
	add	eax, edx
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	isLeapYear
	test	eax, eax
	je	.L40
	cmp	DWORD PTR -32[rbp], 2
	je	.L41
	cmp	DWORD PTR -32[rbp], 1
	jne	.L40
.L41:
	sub	DWORD PTR -12[rbp], 1
.L40:
	mov	eax, DWORD PTR -12[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
	mov	eax, edx
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	dayCode, .-dayCode
	.section	.rodata
.LC3:
	.string	"DOMINGO"
.LC4:
	.string	"SEGUNDA"
.LC5:
	.string	"TERCA"
.LC6:
	.string	"QUARTA"
.LC7:
	.string	"QUINTA"
.LC8:
	.string	"SEXTA"
.LC9:
	.string	"SABADO"
	.text
	.globl	displayDay
	.type	displayDay, @function
displayDay:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 6
	ja	.L53
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L46[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L46[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L46:
	.long	.L52-.L46
	.long	.L51-.L46
	.long	.L50-.L46
	.long	.L49-.L46
	.long	.L48-.L46
	.long	.L47-.L46
	.long	.L45-.L46
	.text
.L52:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L44
.L51:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L44
.L50:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L44
.L49:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L44
.L48:
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L44
.L47:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L44
.L45:
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L44:
.L53:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	displayDay, .-displayDay
	.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	"88956.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	" %d-%d-%d \000"
	.align	2
.LC1:
	.ascii	", \000"
	.align	2
.LC2:
	.ascii	"%d-%d-%d \000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #24
	sub	r2, fp, #20
	sub	r1, fp, #16
	ldr	r0, .L6+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-16]
	mov	r0, r3
	bl	dayCode
	str	r0, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	displayDay
	b	.L2
.L3:
	ldr	r0, .L6+8
	bl	printf
	ldr	r3, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-16]
	mov	r0, r3
	bl	dayCode
	str	r0, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	displayDay
.L2:
	sub	r3, fp, #24
	sub	r2, fp, #20
	sub	r1, fp, #16
	ldr	r0, .L6+12
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #3
	beq	.L3
	mov	r3, #0
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.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	.L9
	ldr	r1, [fp, #-8]
	ldr	r3, .L14
	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	.L10
.L9:
	ldr	r1, [fp, #-8]
	ldr	r3, .L14
	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	.L11
.L10:
	mov	r3, #1
	b	.L13
.L11:
	mov	r3, #0
.L13:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L15:
	.align	2
.L14:
	.word	1374389535
	.size	isLeapYear, .-isLeapYear
	.align	2
	.global	centuryCode
	.syntax unified
	.arm
	.fpu softvfp
	.type	centuryCode, %function
centuryCode:
	@ 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]
	cmp	r3, #2000
	blt	.L17
	ldr	r3, [fp, #-8]
	ldr	r2, .L28
	cmp	r3, r2
	bgt	.L17
	mov	r3, #6
	b	.L18
.L17:
	ldr	r3, [fp, #-8]
	ldr	r2, .L28+4
	cmp	r3, r2
	ble	.L19
	ldr	r3, [fp, #-8]
	ldr	r2, .L28+8
	cmp	r3, r2
	ble	.L20
.L19:
	ldr	r3, [fp, #-8]
	ldr	r2, .L28
	cmp	r3, r2
	ble	.L21
	ldr	r3, [fp, #-8]
	ldr	r2, .L28+12
	cmp	r3, r2
	bgt	.L21
.L20:
	mov	r3, #4
	b	.L18
.L21:
	ldr	r3, [fp, #-8]
	ldr	r2, .L28+8
	cmp	r3, r2
	ble	.L22
	ldr	r3, [fp, #-8]
	ldr	r2, .L28+16
	cmp	r3, r2
	ble	.L23
.L22:
	ldr	r3, [fp, #-8]
	ldr	r2, .L28+12
	cmp	r3, r2
	ble	.L24
	ldr	r3, [fp, #-8]
	ldr	r2, .L28+20
	cmp	r3, r2
	bgt	.L24
.L23:
	mov	r3, #2
	b	.L18
.L24:
	ldr	r3, [fp, #-8]
	ldr	r2, .L28+16
	cmp	r3, r2
	ble	.L25
	ldr	r3, [fp, #-8]
	cmp	r3, #2000
	blt	.L26
.L25:
	ldr	r3, [fp, #-8]
	ldr	r2, .L28+20
	cmp	r3, r2
	ble	.L27
.L26:
	mov	r3, #0
	b	.L18
.L27:
	mov	r3, #1000
.L18:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L29:
	.align	2
.L28:
	.word	2099
	.word	1699
	.word	1799
	.word	2199
	.word	1899
	.word	2299
	.size	centuryCode, .-centuryCode
	.align	2
	.global	yearCode
	.syntax unified
	.arm
	.fpu softvfp
	.type	yearCode, %function
yearCode:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r3, .L32
	smull	r1, r3, r2, r3
	asr	r1, r3, #5
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	add	r2, r3, #3
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, .L32+4
	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
	mov	r3, r1
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L33:
	.align	2
.L32:
	.word	1374389535
	.word	-1840700269
	.size	yearCode, .-yearCode
	.align	2
	.global	monthCode
	.syntax unified
	.arm
	.fpu softvfp
	.type	monthCode, %function
monthCode:
	@ 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]
	cmp	r3, #1
	beq	.L35
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bne	.L36
.L35:
	mov	r3, #0
	b	.L37
.L36:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	beq	.L38
	ldr	r3, [fp, #-8]
	cmp	r3, #11
	beq	.L38
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	bne	.L39
.L38:
	mov	r3, #3
	b	.L37
.L39:
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	beq	.L40
	ldr	r3, [fp, #-8]
	cmp	r3, #7
	bne	.L41
.L40:
	mov	r3, #6
	b	.L37
.L41:
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	bne	.L42
	mov	r3, #1
	b	.L37
.L42:
	ldr	r3, [fp, #-8]
	cmp	r3, #6
	bne	.L43
	mov	r3, #4
	b	.L37
.L43:
	ldr	r3, [fp, #-8]
	cmp	r3, #8
	bne	.L44
	mov	r3, #2
	b	.L37
.L44:
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	beq	.L45
	ldr	r3, [fp, #-8]
	cmp	r3, #12
	bne	.L46
.L45:
	mov	r3, #5
	b	.L37
.L46:
	mov	r3, #1000
.L37:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	monthCode, .-monthCode
	.align	2
	.global	dayCode
	.syntax unified
	.arm
	.fpu softvfp
	.type	dayCode, %function
dayCode:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r0, [fp, #-24]
	bl	yearCode
	mov	r4, r0
	ldr	r0, [fp, #-28]
	bl	monthCode
	mov	r3, r0
	add	r4, r4, r3
	ldr	r0, [fp, #-24]
	bl	centuryCode
	mov	r3, r0
	add	r3, r4, r3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	isLeapYear
	mov	r3, r0
	cmp	r3, #0
	beq	.L48
	ldr	r3, [fp, #-28]
	cmp	r3, #2
	beq	.L49
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	bne	.L48
.L49:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
.L48:
	ldr	r2, [fp, #-16]
	ldr	r3, .L51
	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
	mov	r3, r1
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L52:
	.align	2
.L51:
	.word	-1840700269
	.size	dayCode, .-dayCode
	.section	.rodata
	.align	2
.LC4:
	.ascii	"DOMINGO\000"
	.align	2
.LC5:
	.ascii	"SEGUNDA\000"
	.align	2
.LC6:
	.ascii	"TERCA\000"
	.align	2
.LC7:
	.ascii	"QUARTA\000"
	.align	2
.LC8:
	.ascii	"QUINTA\000"
	.align	2
.LC9:
	.ascii	"SEXTA\000"
	.align	2
.LC10:
	.ascii	"SABADO\000"
	.text
	.align	2
	.global	displayDay
	.syntax unified
	.arm
	.fpu softvfp
	.type	displayDay, %function
displayDay:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L63
.L56:
	.word	.L62
	.word	.L61
	.word	.L60
	.word	.L59
	.word	.L58
	.word	.L57
	.word	.L55
.L62:
	ldr	r0, .L64
	bl	printf
	b	.L54
.L61:
	ldr	r0, .L64+4
	bl	printf
	b	.L54
.L60:
	ldr	r0, .L64+8
	bl	printf
	b	.L54
.L59:
	ldr	r0, .L64+12
	bl	printf
	b	.L54
.L58:
	ldr	r0, .L64+16
	bl	printf
	b	.L54
.L57:
	ldr	r0, .L64+20
	bl	printf
	b	.L54
.L55:
	ldr	r0, .L64+24
	bl	printf
	nop
.L54:
.L63:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L65:
	.align	2
.L64:
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	displayDay, .-displayDay
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
