	.file	"90531.c"
	.intel_syntax noprefix
	.text
	.globl	months
	.data
	.align 32
	.type	months, @object
	.size	months, 288
months:
	.string	"January"
	.zero	2
	.string	"Jan"
	.zero	2
	.long	31
	.long	1
	.string	"February"
	.zero	1
	.string	"Feb"
	.zero	2
	.long	28
	.long	2
	.string	"March"
	.zero	4
	.string	"Mar"
	.zero	2
	.long	31
	.long	3
	.string	"April"
	.zero	4
	.string	"Apr"
	.zero	2
	.long	30
	.long	4
	.string	"May"
	.zero	6
	.string	"May"
	.zero	2
	.long	31
	.long	5
	.string	"June"
	.zero	5
	.string	"Jun"
	.zero	2
	.long	30
	.long	6
	.string	"July"
	.zero	5
	.string	"Jul"
	.zero	2
	.long	31
	.long	7
	.string	"August"
	.zero	3
	.string	"Aug"
	.zero	2
	.long	31
	.long	8
	.string	"September"
	.string	"Sep"
	.zero	2
	.long	30
	.long	9
	.string	"October"
	.zero	2
	.string	"Oct"
	.zero	2
	.long	31
	.long	10
	.string	"November"
	.zero	1
	.string	"Nov"
	.zero	2
	.long	30
	.long	11
	.string	"December"
	.zero	1
	.string	"Dec"
	.zero	2
	.long	31
	.long	12
	.section	.rodata
.LC0:
	.string	"Enter the year (q to quit): "
	.align 8
.LC1:
	.string	"Enter the month (number / name / abbreviation): "
	.align 8
.LC2:
	.string	"You have not entered anything. Let's try again."
	.align 8
.LC3:
	.string	"\"%s\" is unknown month. Try again.\n"
.LC4:
	.string	"Enter the day: "
	.align 8
.LC5:
	.string	"%s has %d days. Please, enter a number from 1 to %d\n"
.LC6:
	.string	"%d"
.LC7:
	.string	"day"
.LC8:
	.string	"days"
	.align 8
.LC9:
	.string	"There is %d %s up to %s %d, %d\n"
.LC10:
	.string	"Done."
	.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L2
.L15:
	call	eatline
	mov	eax, DWORD PTR -48[rbp]
	and	eax, 3
	test	eax, eax
	jne	.L3
	mov	DWORD PTR months[rip+40], 29
	jmp	.L4
.L3:
	mov	DWORD PTR months[rip+40], 28
.L4:
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	esi, 21
	mov	rdi, rax
	call	mygets
	test	rax, rax
	je	.L5
	movzx	eax, BYTE PTR -32[rbp]
	test	al, al
	jne	.L6
.L5:
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L2
.L6:
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	check_month
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 0
	jne	.L7
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L2
.L7:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L8
.L10:
	call	eatline
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, months[rip+16]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, months[rip+16]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
	movsx	rsi, eax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	sal	rax, 3
	lea	rsi, months[rip]
	add	rax, rsi
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
.L8:
	lea	rax, -52[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, 1
	jne	.L9
	mov	eax, DWORD PTR -52[rbp]
	test	eax, eax
	jle	.L10
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, months[rip+16]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -52[rbp]
	cmp	edx, eax
	jl	.L10
.L9:
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, months[rip+16]
	mov	eax, DWORD PTR [rdx+rax]
	add	DWORD PTR -44[rbp], eax
	add	DWORD PTR -40[rbp], 1
.L11:
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
	cmp	DWORD PTR -40[rbp], eax
	jl	.L12
	mov	eax, DWORD PTR -52[rbp]
	add	DWORD PTR -44[rbp], eax
	mov	edi, DWORD PTR -48[rbp]
	mov	ecx, DWORD PTR -52[rbp]
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rdx, months[rip]
	add	rdx, rax
	cmp	DWORD PTR -44[rbp], 1
	jne	.L13
	lea	rax, .LC7[rip]
	jmp	.L14
.L13:
	lea	rax, .LC8[rip]
.L14:
	mov	esi, DWORD PTR -44[rbp]
	mov	r9d, edi
	mov	r8d, ecx
	mov	rcx, rdx
	mov	rdx, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, 1
	je	.L15
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	check_month
	.type	check_month, @function
check_month:
.LFB7:
	.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	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L19
.L21:
	add	QWORD PTR -56[rbp], 1
.L19:
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L20
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L21
.L20:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L22
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -40[rbp], eax
	cmp	DWORD PTR -40[rbp], 0
	jle	.L23
	cmp	DWORD PTR -40[rbp], 12
	jg	.L23
	mov	eax, DWORD PTR -40[rbp]
	jmp	.L33
.L23:
	mov	eax, 0
	jmp	.L33
.L22:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	je	.L25
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 2
	jbe	.L25
	mov	DWORD PTR -40[rbp], 0
	mov	rdx, QWORD PTR -56[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strconv
	cmp	DWORD PTR -36[rbp], 3
	jne	.L30
	jmp	.L27
.L29:
	add	DWORD PTR -40[rbp], 1
.L27:
	cmp	DWORD PTR -40[rbp], 11
	jg	.L28
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rdx, months[rip]
	add	rax, rdx
	lea	rcx, 10[rax]
	lea	rax, -32[rbp]
	mov	edx, 3
	mov	rsi, rax
	mov	rdi, rcx
	call	strncmp@PLT
	test	eax, eax
	jne	.L29
	jmp	.L28
.L31:
	add	DWORD PTR -40[rbp], 1
.L30:
	cmp	DWORD PTR -40[rbp], 11
	jg	.L28
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rdx, months[rip]
	add	rdx, rax
	lea	rax, -32[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L31
.L28:
	cmp	DWORD PTR -40[rbp], 12
	jne	.L32
	mov	eax, 0
	jmp	.L33
.L32:
	add	DWORD PTR -40[rbp], 1
	mov	eax, DWORD PTR -40[rbp]
	jmp	.L33
.L25:
	mov	eax, 0
.L33:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	check_month, .-check_month
	.globl	eatline
	.type	eatline, @function
eatline:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	jmp	.L36
.L37:
	nop
.L36:
	call	getchar@PLT
	cmp	eax, 10
	jne	.L37
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	eatline, .-eatline
	.globl	mygets
	.type	mygets, @function
mygets:
.LFB9:
	.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L39
.L41:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -4[rbp], 1
.L39:
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	jge	.L40
	call	getchar@PLT
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], -1
	je	.L40
	cmp	DWORD PTR -8[rbp], 10
	jne	.L41
.L40:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	cmp	DWORD PTR -8[rbp], -1
	je	.L42
	cmp	DWORD PTR -8[rbp], 10
	je	.L42
	jmp	.L43
.L44:
	nop
.L43:
	call	getchar@PLT
	cmp	eax, 10
	jne	.L44
.L42:
	cmp	DWORD PTR -4[rbp], 0
	jle	.L45
	mov	rax, QWORD PTR -24[rbp]
	jmp	.L46
.L45:
	mov	eax, 0
.L46:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	mygets, .-mygets
	.globl	strconv
	.type	strconv, @function
strconv:
.LFB10:
	.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	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L49
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -16[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	toupper@PLT
	mov	ecx, eax
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	jmp	.L49
.L50:
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -16[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	tolower@PLT
	mov	ecx, eax
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
.L49:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L50
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	strconv, .-strconv
	.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	"90531.c"
	.text
	.global	months
	.data
	.align	2
	.type	months, %object
	.size	months, 288
months:
	.ascii	"January\000"
	.space	2
	.ascii	"Jan\000"
	.space	2
	.word	31
	.word	1
	.ascii	"February\000"
	.space	1
	.ascii	"Feb\000"
	.space	2
	.word	28
	.word	2
	.ascii	"March\000"
	.space	4
	.ascii	"Mar\000"
	.space	2
	.word	31
	.word	3
	.ascii	"April\000"
	.space	4
	.ascii	"Apr\000"
	.space	2
	.word	30
	.word	4
	.ascii	"May\000"
	.space	6
	.ascii	"May\000"
	.space	2
	.word	31
	.word	5
	.ascii	"June\000"
	.space	5
	.ascii	"Jun\000"
	.space	2
	.word	30
	.word	6
	.ascii	"July\000"
	.space	5
	.ascii	"Jul\000"
	.space	2
	.word	31
	.word	7
	.ascii	"August\000"
	.space	3
	.ascii	"Aug\000"
	.space	2
	.word	31
	.word	8
	.ascii	"September\000"
	.ascii	"Sep\000"
	.space	2
	.word	30
	.word	9
	.ascii	"October\000"
	.space	2
	.ascii	"Oct\000"
	.space	2
	.word	31
	.word	10
	.ascii	"November\000"
	.space	1
	.ascii	"Nov\000"
	.space	2
	.word	30
	.word	11
	.ascii	"December\000"
	.space	1
	.ascii	"Dec\000"
	.space	2
	.word	31
	.word	12
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter the year (q to quit): \000"
	.align	2
.LC1:
	.ascii	"Enter the month (number / name / abbreviation): \000"
	.align	2
.LC2:
	.ascii	"You have not entered anything. Let's try again.\000"
	.align	2
.LC3:
	.ascii	"\"%s\" is unknown month. Try again.\012\000"
	.align	2
.LC4:
	.ascii	"Enter the day: \000"
	.align	2
.LC5:
	.ascii	"%s has %d days. Please, enter a number from 1 to %d"
	.ascii	"\012\000"
	.align	2
.LC6:
	.ascii	"%d\000"
	.align	2
.LC7:
	.ascii	"day\000"
	.align	2
.LC8:
	.ascii	"days\000"
	.align	2
.LC9:
	.ascii	"There is %d %s up to %s %d, %d\012\000"
	.align	2
.LC10:
	.ascii	"Done.\000"
	.align	2
.LC11:
	.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	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L18+4
	bl	printf
	b	.L2
.L15:
	bl	eatline
	ldr	r3, [fp, #-48]
	and	r3, r3, #3
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L18+8
	mov	r2, #29
	str	r2, [r3, #40]
	b	.L4
.L3:
	ldr	r3, .L18+8
	mov	r2, #28
	str	r2, [r3, #40]
.L4:
	ldr	r0, .L18+12
	bl	printf
	sub	r3, fp, #32
	mov	r1, #21
	mov	r0, r3
	bl	mygets
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldrb	r3, [fp, #-32]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L6
.L5:
	ldr	r0, .L18+16
	bl	puts
	ldr	r0, .L18+4
	bl	printf
	b	.L2
.L6:
	sub	r3, fp, #32
	mov	r0, r3
	bl	check_month
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L7
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L18+20
	bl	printf
	ldr	r0, .L18+4
	bl	printf
	b	.L2
.L7:
	ldr	r0, .L18+24
	bl	printf
	b	.L8
.L10:
	bl	eatline
	ldr	r3, [fp, #-36]
	sub	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L18+8
	add	r1, r3, r2
	ldr	r3, [fp, #-36]
	sub	r2, r3, #1
	ldr	r0, .L18+8
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #16
	ldr	r0, [r3]
	ldr	r3, [fp, #-36]
	sub	r2, r3, #1
	ldr	ip, .L18+8
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	add	r3, r3, #16
	ldr	r3, [r3]
	mov	r2, r0
	ldr	r0, .L18+28
	bl	printf
.L8:
	sub	r3, fp, #52
	mov	r1, r3
	ldr	r0, .L18+32
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #1
	bne	.L9
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	ble	.L10
	ldr	r3, [fp, #-36]
	sub	r2, r3, #1
	ldr	r1, .L18+8
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #16
	ldr	r2, [r3]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L10
.L9:
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L11
.L12:
	ldr	r1, .L18+8
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #16
	ldr	r3, [r3]
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L11:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L12
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #1
	bne	.L13
	ldr	r1, .L18+36
	b	.L14
.L13:
	ldr	r1, .L18+40
.L14:
	ldr	r3, [fp, #-36]
	sub	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L18+8
	add	r0, r3, r2
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-48]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, [fp, #-44]
	ldr	r0, .L18+44
	bl	printf
	ldr	r0, .L18+4
	bl	printf
.L2:
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L18+32
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L15
	ldr	r0, .L18+48
	bl	puts
	mov	r3, #0
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC11
	.word	.LC0
	.word	months
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.section	.rodata
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	check_month
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_month, %function
check_month:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L21
.L23:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L21:
	ldr	r3, [fp, #-48]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L22
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L23
.L22:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L24
	ldr	r0, [fp, #-48]
	bl	atoi
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	ble	.L25
	ldr	r3, [fp, #-40]
	cmp	r3, #12
	bgt	.L25
	ldr	r3, [fp, #-40]
	b	.L35
.L25:
	mov	r3, #0
	b	.L35
.L24:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L27
	ldr	r0, [fp, #-48]
	bl	strlen
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #2
	bls	.L27
	mov	r3, #0
	str	r3, [fp, #-40]
	sub	r3, fp, #32
	ldr	r1, [fp, #-48]
	mov	r0, r3
	bl	strconv
	ldr	r3, [fp, #-36]
	cmp	r3, #3
	bne	.L32
	b	.L29
.L31:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L29:
	ldr	r3, [fp, #-40]
	cmp	r3, #11
	bgt	.L30
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #8
	ldr	r2, .L37+4
	add	r3, r3, r2
	add	r3, r3, #2
	sub	r1, fp, #32
	mov	r2, #3
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L31
	b	.L30
.L33:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L32:
	ldr	r3, [fp, #-40]
	cmp	r3, #11
	bgt	.L30
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L37+4
	add	r3, r3, r2
	sub	r2, fp, #32
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L33
.L30:
	ldr	r3, [fp, #-40]
	cmp	r3, #12
	bne	.L34
	mov	r3, #0
	b	.L35
.L34:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	b	.L35
.L27:
	mov	r3, #0
.L35:
	ldr	r2, .L37
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC12
	.word	months
	.size	check_month, .-check_month
	.align	2
	.global	eatline
	.syntax unified
	.arm
	.fpu softvfp
	.type	eatline, %function
eatline:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	b	.L40
.L41:
	nop
.L40:
	bl	getchar
	mov	r3, r0
	cmp	r3, #10
	bne	.L41
	nop
	nop
	pop	{fp, pc}
	.size	eatline, .-eatline
	.align	2
	.global	mygets
	.syntax unified
	.arm
	.fpu softvfp
	.type	mygets, %function
mygets:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L43
.L45:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L43:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bge	.L44
	bl	getchar
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	beq	.L44
	ldr	r3, [fp, #-12]
	cmp	r3, #10
	bne	.L45
.L44:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	beq	.L46
	ldr	r3, [fp, #-12]
	cmp	r3, #10
	beq	.L46
	b	.L47
.L48:
	nop
.L47:
	bl	getchar
	mov	r3, r0
	cmp	r3, #10
	bne	.L48
.L46:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L49
	ldr	r3, [fp, #-16]
	b	.L50
.L49:
	mov	r3, #0
.L50:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	mygets, .-mygets
	.align	2
	.global	strconv
	.syntax unified
	.arm
	.fpu softvfp
	.type	strconv, %function
strconv:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L53
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r1, r0
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	and	r2, r1, #255
	strb	r2, [r3]
	b	.L53
.L54:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	tolower
	mov	r1, r0
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	and	r2, r1, #255
	strb	r2, [r3]
.L53:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L54
	ldr	r3, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	strconv, .-strconv
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
