	.file	"864162.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	""
.LC1:
	.string	"One"
.LC2:
	.string	"Two"
.LC3:
	.string	"Three"
.LC4:
	.string	"Four"
.LC5:
	.string	"Five"
.LC6:
	.string	"Six"
.LC7:
	.string	"Seven"
.LC8:
	.string	"Eight"
.LC9:
	.string	"Nine"
.LC10:
	.string	"Twenty"
.LC11:
	.string	"Thirty"
.LC12:
	.string	"Fourty"
.LC13:
	.string	"Fifty"
.LC14:
	.string	"Sixty"
.LC15:
	.string	"Seventy"
.LC16:
	.string	"Eighty"
.LC17:
	.string	"Ninty"
.LC18:
	.string	"Ten"
.LC19:
	.string	"Eleven"
.LC20:
	.string	"Twelve"
.LC21:
	.string	"Thirteen"
.LC22:
	.string	"Fourteen"
.LC23:
	.string	"Fifteen"
.LC24:
	.string	"Sixteen"
.LC25:
	.string	"Seventeen"
.LC26:
	.string	"Eighteen"
.LC27:
	.string	"Ninteen"
.LC28:
	.string	"\nThe year in words is:"
.LC29:
	.string	"%s thousand"
.LC30:
	.string	" %s hundred"
.LC31:
	.string	" %s %s"
.LC32:
	.string	" %s"
	.text
	.globl	convert
	.type	convert, @function
convert:
.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, 272
	mov	DWORD PTR -260[rbp], edi
	mov	DWORD PTR -264[rbp], esi
	mov	DWORD PTR -268[rbp], edx
	mov	DWORD PTR -272[rbp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -256[rbp], rax
	lea	rax, .LC1[rip]
	mov	QWORD PTR -248[rbp], rax
	lea	rax, .LC2[rip]
	mov	QWORD PTR -240[rbp], rax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -232[rbp], rax
	lea	rax, .LC4[rip]
	mov	QWORD PTR -224[rbp], rax
	lea	rax, .LC5[rip]
	mov	QWORD PTR -216[rbp], rax
	lea	rax, .LC6[rip]
	mov	QWORD PTR -208[rbp], rax
	lea	rax, .LC7[rip]
	mov	QWORD PTR -200[rbp], rax
	lea	rax, .LC8[rip]
	mov	QWORD PTR -192[rbp], rax
	lea	rax, .LC9[rip]
	mov	QWORD PTR -184[rbp], rax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -176[rbp], rax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -168[rbp], rax
	lea	rax, .LC10[rip]
	mov	QWORD PTR -160[rbp], rax
	lea	rax, .LC11[rip]
	mov	QWORD PTR -152[rbp], rax
	lea	rax, .LC12[rip]
	mov	QWORD PTR -144[rbp], rax
	lea	rax, .LC13[rip]
	mov	QWORD PTR -136[rbp], rax
	lea	rax, .LC14[rip]
	mov	QWORD PTR -128[rbp], rax
	lea	rax, .LC15[rip]
	mov	QWORD PTR -120[rbp], rax
	lea	rax, .LC16[rip]
	mov	QWORD PTR -112[rbp], rax
	lea	rax, .LC17[rip]
	mov	QWORD PTR -104[rbp], rax
	lea	rax, .LC18[rip]
	mov	QWORD PTR -96[rbp], rax
	lea	rax, .LC19[rip]
	mov	QWORD PTR -88[rbp], rax
	lea	rax, .LC20[rip]
	mov	QWORD PTR -80[rbp], rax
	lea	rax, .LC21[rip]
	mov	QWORD PTR -72[rbp], rax
	lea	rax, .LC22[rip]
	mov	QWORD PTR -64[rbp], rax
	lea	rax, .LC23[rip]
	mov	QWORD PTR -56[rbp], rax
	lea	rax, .LC24[rip]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, .LC25[rip]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, .LC26[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rax, .LC27[rip]
	mov	QWORD PTR -24[rbp], rax
	lea	rdi, .LC28[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -260[rbp]
	cdqe
	mov	rax, QWORD PTR -256[rbp+rax*8]
	mov	rsi, rax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -264[rbp], 0
	je	.L2
	mov	eax, DWORD PTR -264[rbp]
	cdqe
	mov	rax, QWORD PTR -256[rbp+rax*8]
	mov	rsi, rax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	cmp	DWORD PTR -268[rbp], 1
	je	.L3
	mov	eax, DWORD PTR -272[rbp]
	cdqe
	mov	rdx, QWORD PTR -256[rbp+rax*8]
	mov	eax, DWORD PTR -268[rbp]
	cdqe
	mov	rax, QWORD PTR -176[rbp+rax*8]
	mov	rsi, rax
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L6
.L3:
	mov	eax, DWORD PTR -272[rbp]
	cdqe
	mov	rax, QWORD PTR -96[rbp+rax*8]
	mov	rsi, rax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
.L6:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	convert, .-convert
	.section	.rodata
.LC33:
	.string	"\nEnter the year (4 digits): "
.LC34:
	.string	"%d"
	.align 8
.LC35:
	.string	"\nError !! The year must contain 4 digits."
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 9999
	jg	.L8
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 999
	jg	.L9
.L8:
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	sar	edx, 6
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -24[rbp], eax
	mov	edx, DWORD PTR -28[rbp]
	movsx	rax, edx
	imul	rax, rax, 274877907
	shr	rax, 32
	sar	eax, 6
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 1000
	mov	eax, edx
	sub	eax, ecx
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -20[rbp], eax
	mov	edx, DWORD PTR -28[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
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -16[rbp], eax
	mov	edx, DWORD PTR -28[rbp]
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -12[rbp], eax
	mov	ecx, DWORD PTR -12[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -12[rbp], edx
	mov	ecx, DWORD PTR -12[rbp]
	mov	edx, DWORD PTR -16[rbp]
	mov	esi, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	edi, eax
	call	convert
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"864162.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"One\000"
	.align	2
.LC2:
	.ascii	"Two\000"
	.align	2
.LC3:
	.ascii	"Three\000"
	.align	2
.LC4:
	.ascii	"Four\000"
	.align	2
.LC5:
	.ascii	"Five\000"
	.align	2
.LC6:
	.ascii	"Six\000"
	.align	2
.LC7:
	.ascii	"Seven\000"
	.align	2
.LC8:
	.ascii	"Eight\000"
	.align	2
.LC9:
	.ascii	"Nine\000"
	.align	2
.LC11:
	.ascii	"Twenty\000"
	.align	2
.LC12:
	.ascii	"Thirty\000"
	.align	2
.LC13:
	.ascii	"Fourty\000"
	.align	2
.LC14:
	.ascii	"Fifty\000"
	.align	2
.LC15:
	.ascii	"Sixty\000"
	.align	2
.LC16:
	.ascii	"Seventy\000"
	.align	2
.LC17:
	.ascii	"Eighty\000"
	.align	2
.LC18:
	.ascii	"Ninty\000"
	.align	2
.LC20:
	.ascii	"Ten\000"
	.align	2
.LC21:
	.ascii	"Eleven\000"
	.align	2
.LC22:
	.ascii	"Twelve\000"
	.align	2
.LC23:
	.ascii	"Thirteen\000"
	.align	2
.LC24:
	.ascii	"Fourteen\000"
	.align	2
.LC25:
	.ascii	"Fifteen\000"
	.align	2
.LC26:
	.ascii	"Sixteen\000"
	.align	2
.LC27:
	.ascii	"Seventeen\000"
	.align	2
.LC28:
	.ascii	"Eighteen\000"
	.align	2
.LC29:
	.ascii	"Ninteen\000"
	.text
	.section	.rodata
	.align	2
.LC34:
	.ascii	"\012The year in words is:\000"
	.align	2
.LC35:
	.ascii	"%s thousand\000"
	.align	2
.LC36:
	.ascii	" %s hundred\000"
	.align	2
.LC37:
	.ascii	" %s %s\000"
	.align	2
.LC38:
	.ascii	" %s\000"
	.align	2
.LC31:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.align	2
.LC32:
	.word	.LC0
	.word	.LC0
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.align	2
.LC33:
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.align	2
.LC39:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	convert
	.syntax unified
	.arm
	.fpu softvfp
	.type	convert, %function
convert:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #144
	str	r0, [fp, #-136]
	str	r1, [fp, #-140]
	str	r2, [fp, #-144]
	str	r3, [fp, #-148]
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L7+4
	sub	ip, fp, #128
	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}
	stm	ip, {r0, r1}
	ldr	r3, .L7+8
	sub	ip, fp, #88
	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}
	stm	ip, {r0, r1}
	ldr	r3, .L7+12
	sub	ip, fp, #48
	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}
	stm	ip, {r0, r1}
	ldr	r0, .L7+16
	bl	puts
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	mov	r1, r3
	ldr	r0, .L7+20
	bl	printf
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	mov	r1, r3
	ldr	r0, .L7+24
	bl	printf
.L2:
	ldr	r3, [fp, #-144]
	cmp	r3, #1
	beq	.L3
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-84]
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	mov	r2, r3
	ldr	r0, .L7+28
	bl	printf
	b	.L6
.L3:
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	mov	r1, r3
	ldr	r0, .L7+32
	bl	printf
.L6:
	nop
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC39
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.size	convert, .-convert
	.section	.rodata
	.align	2
.LC40:
	.ascii	"\012Enter the year (4 digits): \000"
	.align	2
.LC41:
	.ascii	"%d\000"
	.align	2
.LC42:
	.ascii	"\012Error !! The year must contain 4 digits.\000"
	.align	2
.LC43:
	.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, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L14+4
	bl	printf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L14+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-28]
	ldr	r2, .L14+12
	cmp	r3, r2
	bgt	.L10
	ldr	r3, [fp, #-28]
	cmp	r3, #1000
	bge	.L11
.L10:
	ldr	r0, .L14+16
	bl	printf
	mov	r0, #1
	bl	exit
.L11:
	ldr	r3, [fp, #-28]
	ldr	r2, .L14+20
	smull	r1, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r1, [fp, #-28]
	ldr	r3, .L14+20
	smull	r2, r3, r1, r3
	asr	r2, r3, #6
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r1, r3
	ldr	r3, .L14+24
	smull	r1, r3, r2, r3
	asr	r1, r3, #5
	asr	r3, r2, #31
	sub	r3, r1, r3
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-28]
	ldr	r3, .L14+24
	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
	ldr	r3, .L14+28
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r3, r1, r3
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	ldr	r3, .L14+28
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	convert
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC43
	.word	.LC40
	.word	.LC41
	.word	9999
	.word	.LC42
	.word	274877907
	.word	1374389535
	.word	1717986919
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
