	.file	"690015.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"enero"
.LC1:
	.string	"febrero"
.LC2:
	.string	"marzo"
.LC3:
	.string	"abril"
.LC4:
	.string	"mayo"
.LC5:
	.string	"junio"
.LC6:
	.string	"julio"
.LC7:
	.string	"agosto"
.LC8:
	.string	"septiembre"
.LC9:
	.string	"octubre"
.LC10:
	.string	"noviembre"
.LC11:
	.string	"diciembre"
.LC12:
	.string	"Date (dd-mm-yyyy): "
.LC13:
	.string	"%2d-%2d-%4d"
.LC14:
	.string	"%d de %s de %d\n"
	.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
	push	rbx
	sub	rsp, 136
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -128[rbp], rax
	lea	rax, .LC1[rip]
	mov	QWORD PTR -120[rbp], rax
	lea	rax, .LC2[rip]
	mov	QWORD PTR -112[rbp], rax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -104[rbp], rax
	lea	rax, .LC4[rip]
	mov	QWORD PTR -96[rbp], rax
	lea	rax, .LC5[rip]
	mov	QWORD PTR -88[rbp], rax
	lea	rax, .LC6[rip]
	mov	QWORD PTR -80[rbp], rax
	lea	rax, .LC7[rip]
	mov	QWORD PTR -72[rbp], rax
	lea	rax, .LC8[rip]
	mov	QWORD PTR -64[rbp], rax
	lea	rax, .LC9[rip]
	mov	QWORD PTR -56[rbp], rax
	lea	rax, .LC10[rip]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, .LC11[rip]
	mov	QWORD PTR -40[rbp], rax
.L8:
	mov	DWORD PTR -144[rbp], 1
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -140[rbp]
	lea	rcx, 8[rax]
	lea	rax, -140[rbp]
	lea	rdx, 4[rax]
	lea	rax, -140[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -140[rbp]
	test	eax, eax
	jle	.L2
	mov	ebx, DWORD PTR -140[rbp]
	mov	edx, DWORD PTR -132[rbp]
	mov	eax, DWORD PTR -136[rbp]
	mov	esi, edx
	mov	edi, eax
	call	chk_day
	cmp	ebx, eax
	jle	.L3
.L2:
	mov	DWORD PTR -144[rbp], 0
	jmp	.L4
.L3:
	mov	eax, DWORD PTR -136[rbp]
	test	eax, eax
	jle	.L5
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, 12
	jle	.L6
.L5:
	mov	DWORD PTR -144[rbp], 0
	jmp	.L4
.L6:
	mov	eax, DWORD PTR -132[rbp]
	cmp	eax, 999
	jle	.L7
	mov	eax, DWORD PTR -132[rbp]
	cmp	eax, 3000
	jle	.L4
.L7:
	mov	DWORD PTR -144[rbp], 0
.L4:
	cmp	DWORD PTR -144[rbp], 0
	je	.L8
	mov	ecx, DWORD PTR -132[rbp]
	mov	eax, DWORD PTR -136[rbp]
	sub	eax, 1
	cdqe
	mov	rdx, QWORD PTR -128[rbp+rax*8]
	mov	eax, DWORD PTR -140[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	chk_day
	.type	chk_day, @function
chk_day:
.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	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -4[rbp]
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	cmp	eax, 1
	jne	.L12
	cmp	DWORD PTR -4[rbp], 7
	jle	.L13
.L12:
	mov	eax, DWORD PTR -4[rbp]
	and	eax, 1
	test	eax, eax
	jne	.L14
	cmp	DWORD PTR -4[rbp], 7
	jle	.L14
.L13:
	mov	eax, 31
	jmp	.L15
.L14:
	cmp	DWORD PTR -4[rbp], 2
	jne	.L16
	mov	eax, DWORD PTR -8[rbp]
	and	eax, 3
	test	eax, eax
	jne	.L17
	mov	eax, 29
	jmp	.L15
.L17:
	mov	eax, 28
	jmp	.L15
.L16:
	mov	eax, 30
.L15:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	chk_day, .-chk_day
	.globl	mnth_2_str
	.type	mnth_2_str, @function
mnth_2_str:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	mnth_2_str, .-mnth_2_str
	.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	"690015.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"enero\000"
	.align	2
.LC1:
	.ascii	"febrero\000"
	.align	2
.LC2:
	.ascii	"marzo\000"
	.align	2
.LC3:
	.ascii	"abril\000"
	.align	2
.LC4:
	.ascii	"mayo\000"
	.align	2
.LC5:
	.ascii	"junio\000"
	.align	2
.LC6:
	.ascii	"julio\000"
	.align	2
.LC7:
	.ascii	"agosto\000"
	.align	2
.LC8:
	.ascii	"septiembre\000"
	.align	2
.LC9:
	.ascii	"octubre\000"
	.align	2
.LC10:
	.ascii	"noviembre\000"
	.align	2
.LC11:
	.ascii	"diciembre\000"
	.text
	.section	.rodata
	.align	2
.LC14:
	.ascii	"Date (dd-mm-yyyy): \000"
	.align	2
.LC15:
	.ascii	"%2d-%2d-%4d\000"
	.align	2
.LC16:
	.ascii	"%d de %s de %d\012\000"
	.align	2
.LC13:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #76
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L11+4
	sub	ip, fp, #64
	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}
.L8:
	mov	r3, #1
	str	r3, [fp, #-80]
	ldr	r0, .L11+8
	bl	printf
	sub	r3, fp, #76
	add	r0, r3, #8
	sub	r3, fp, #76
	add	r2, r3, #4
	sub	r1, fp, #76
	mov	r3, r0
	ldr	r0, .L11+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	ble	.L2
	ldr	r4, [fp, #-76]
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-68]
	mov	r1, r2
	mov	r0, r3
	bl	chk_day
	mov	r3, r0
	cmp	r4, r3
	ble	.L3
.L2:
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L4
.L3:
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	ble	.L5
	ldr	r3, [fp, #-72]
	cmp	r3, #12
	ble	.L6
.L5:
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L4
.L6:
	ldr	r3, [fp, #-68]
	cmp	r3, #1000
	blt	.L7
	ldr	r3, [fp, #-68]
	ldr	r2, .L11+16
	cmp	r3, r2
	ble	.L4
.L7:
	mov	r3, #0
	str	r3, [fp, #-80]
.L4:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L8
	ldr	r1, [fp, #-76]
	ldr	r3, [fp, #-72]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-52]
	ldr	r3, [fp, #-68]
	ldr	r0, .L11+20
	bl	printf
	mov	r3, #0
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC17
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	3000
	.word	.LC16
	.size	main, .-main
	.align	2
	.global	chk_day
	.syntax unified
	.arm
	.fpu softvfp
	.type	chk_day, %function
chk_day:
	@ 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]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	cmp	r3, #1
	bne	.L14
	ldr	r3, [fp, #-8]
	cmp	r3, #7
	ble	.L15
.L14:
	ldr	r3, [fp, #-8]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L16
	ldr	r3, [fp, #-8]
	cmp	r3, #7
	ble	.L16
.L15:
	mov	r3, #31
	b	.L17
.L16:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	bne	.L18
	ldr	r3, [fp, #-12]
	and	r3, r3, #3
	cmp	r3, #0
	bne	.L19
	mov	r3, #29
	b	.L17
.L19:
	mov	r3, #28
	b	.L17
.L18:
	mov	r3, #30
.L17:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	chk_day, .-chk_day
	.align	2
	.global	mnth_2_str
	.syntax unified
	.arm
	.fpu softvfp
	.type	mnth_2_str, %function
mnth_2_str:
	@ 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, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	mnth_2_str, .-mnth_2_str
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
