	.file	"572691.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"empty string\n"
	.align 8
.LC1:
	.string	"Length more than 4 is not supported\n"
.LC2:
	.string	"zero"
.LC3:
	.string	"one"
.LC4:
	.string	"two"
.LC5:
	.string	"three"
.LC6:
	.string	"four"
.LC7:
	.string	"five"
.LC8:
	.string	"six"
.LC9:
	.string	"seven"
.LC10:
	.string	"eight"
.LC11:
	.string	"nine"
.LC12:
	.string	""
.LC13:
	.string	"ten"
.LC14:
	.string	"eleven"
.LC15:
	.string	"twelve"
.LC16:
	.string	"thirteen"
.LC17:
	.string	"fourteen"
.LC18:
	.string	"fifteen"
.LC19:
	.string	"sixteen"
.LC20:
	.string	"seventeen"
.LC21:
	.string	"eighteen"
.LC22:
	.string	"nineteen"
.LC23:
	.string	"twenty"
.LC24:
	.string	"thirty"
.LC25:
	.string	"forty"
.LC26:
	.string	"fifty"
.LC27:
	.string	"sixty"
.LC28:
	.string	"seventy"
.LC29:
	.string	"eighty"
.LC30:
	.string	"ninety"
.LC31:
	.string	"hundred"
.LC32:
	.string	"thousand"
.LC33:
	.string	"\n%s: "
.LC34:
	.string	"%s "
	.text
	.globl	convert_to_words
	.type	convert_to_words, @function
convert_to_words:
.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, 304
	mov	QWORD PTR -296[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -284[rbp], eax
	cmp	DWORD PTR -284[rbp], 0
	jne	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 13
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	jmp	.L1
.L2:
	cmp	DWORD PTR -284[rbp], 4
	jle	.L4
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 36
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	jmp	.L1
.L4:
	lea	rax, .LC2[rip]
	mov	QWORD PTR -256[rbp], rax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -248[rbp], rax
	lea	rax, .LC4[rip]
	mov	QWORD PTR -240[rbp], rax
	lea	rax, .LC5[rip]
	mov	QWORD PTR -232[rbp], rax
	lea	rax, .LC6[rip]
	mov	QWORD PTR -224[rbp], rax
	lea	rax, .LC7[rip]
	mov	QWORD PTR -216[rbp], rax
	lea	rax, .LC8[rip]
	mov	QWORD PTR -208[rbp], rax
	lea	rax, .LC9[rip]
	mov	QWORD PTR -200[rbp], rax
	lea	rax, .LC10[rip]
	mov	QWORD PTR -192[rbp], rax
	lea	rax, .LC11[rip]
	mov	QWORD PTR -184[rbp], rax
	lea	rax, .LC12[rip]
	mov	QWORD PTR -96[rbp], rax
	lea	rax, .LC13[rip]
	mov	QWORD PTR -88[rbp], rax
	lea	rax, .LC14[rip]
	mov	QWORD PTR -80[rbp], rax
	lea	rax, .LC15[rip]
	mov	QWORD PTR -72[rbp], rax
	lea	rax, .LC16[rip]
	mov	QWORD PTR -64[rbp], rax
	lea	rax, .LC17[rip]
	mov	QWORD PTR -56[rbp], rax
	lea	rax, .LC18[rip]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, .LC19[rip]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, .LC20[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rax, .LC21[rip]
	mov	QWORD PTR -24[rbp], rax
	lea	rax, .LC22[rip]
	mov	QWORD PTR -16[rbp], rax
	lea	rax, .LC12[rip]
	mov	QWORD PTR -176[rbp], rax
	lea	rax, .LC12[rip]
	mov	QWORD PTR -168[rbp], rax
	lea	rax, .LC23[rip]
	mov	QWORD PTR -160[rbp], rax
	lea	rax, .LC24[rip]
	mov	QWORD PTR -152[rbp], rax
	lea	rax, .LC25[rip]
	mov	QWORD PTR -144[rbp], rax
	lea	rax, .LC26[rip]
	mov	QWORD PTR -136[rbp], rax
	lea	rax, .LC27[rip]
	mov	QWORD PTR -128[rbp], rax
	lea	rax, .LC28[rip]
	mov	QWORD PTR -120[rbp], rax
	lea	rax, .LC29[rip]
	mov	QWORD PTR -112[rbp], rax
	lea	rax, .LC30[rip]
	mov	QWORD PTR -104[rbp], rax
	lea	rax, .LC31[rip]
	mov	QWORD PTR -272[rbp], rax
	lea	rax, .LC32[rip]
	mov	QWORD PTR -264[rbp], rax
	mov	rax, QWORD PTR -296[rbp]
	mov	rsi, rax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -284[rbp], 1
	jne	.L6
	mov	rax, QWORD PTR -296[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	cdqe
	mov	rax, QWORD PTR -256[rbp+rax*8]
	mov	rdi, rax
	call	puts@PLT
	jmp	.L1
.L14:
	cmp	DWORD PTR -284[rbp], 2
	jle	.L7
	mov	rax, QWORD PTR -296[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 48
	je	.L8
	mov	rax, QWORD PTR -296[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	cdqe
	mov	rax, QWORD PTR -256[rbp+rax*8]
	mov	rsi, rax
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -284[rbp]
	sub	eax, 3
	cdqe
	mov	rax, QWORD PTR -272[rbp+rax*8]
	mov	rsi, rax
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
.L8:
	sub	DWORD PTR -284[rbp], 1
	jmp	.L9
.L7:
	mov	rax, QWORD PTR -296[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 49
	jne	.L10
	mov	rax, QWORD PTR -296[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	lea	edx, -48[rax]
	mov	rax, QWORD PTR -296[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	add	eax, edx
	sub	eax, 48
	mov	DWORD PTR -276[rbp], eax
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	mov	rax, QWORD PTR -96[rbp+rax*8]
	mov	rdi, rax
	call	puts@PLT
	jmp	.L1
.L10:
	mov	rax, QWORD PTR -296[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 50
	jne	.L11
	mov	rax, QWORD PTR -296[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 48
	jne	.L11
	lea	rdi, .LC23[rip]
	call	puts@PLT
	jmp	.L1
.L11:
	mov	rax, QWORD PTR -296[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	mov	DWORD PTR -280[rbp], eax
	cmp	DWORD PTR -280[rbp], 0
	je	.L12
	mov	eax, DWORD PTR -280[rbp]
	cdqe
	mov	rax, QWORD PTR -176[rbp+rax*8]
	jmp	.L13
.L12:
	lea	rax, .LC12[rip]
.L13:
	mov	rsi, rax
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -296[rbp], 1
	mov	rax, QWORD PTR -296[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 48
	je	.L9
	mov	rax, QWORD PTR -296[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	cdqe
	mov	rax, QWORD PTR -256[rbp+rax*8]
	mov	rsi, rax
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
.L9:
	add	QWORD PTR -296[rbp], 1
.L6:
	mov	rax, QWORD PTR -296[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L14
.L1:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	convert_to_words, .-convert_to_words
	.section	.rodata
.LC35:
	.string	"9923"
.LC36:
	.string	"523"
.LC37:
	.string	"89"
.LC38:
	.string	"8989"
	.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
	lea	rdi, .LC35[rip]
	call	convert_to_words
	lea	rdi, .LC36[rip]
	call	convert_to_words
	lea	rdi, .LC37[rip]
	call	convert_to_words
	lea	rdi, .LC38[rip]
	call	convert_to_words
	mov	eax, 0
	pop	rbp
	.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	"572691.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"zero\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	"\000"
	.align	2
.LC12:
	.ascii	"ten\000"
	.align	2
.LC13:
	.ascii	"eleven\000"
	.align	2
.LC14:
	.ascii	"twelve\000"
	.align	2
.LC15:
	.ascii	"thirteen\000"
	.align	2
.LC16:
	.ascii	"fourteen\000"
	.align	2
.LC17:
	.ascii	"fifteen\000"
	.align	2
.LC18:
	.ascii	"sixteen\000"
	.align	2
.LC19:
	.ascii	"seventeen\000"
	.align	2
.LC20:
	.ascii	"eighteen\000"
	.align	2
.LC21:
	.ascii	"nineteen\000"
	.align	2
.LC23:
	.ascii	"twenty\000"
	.align	2
.LC24:
	.ascii	"thirty\000"
	.align	2
.LC25:
	.ascii	"forty\000"
	.align	2
.LC26:
	.ascii	"fifty\000"
	.align	2
.LC27:
	.ascii	"sixty\000"
	.align	2
.LC28:
	.ascii	"seventy\000"
	.align	2
.LC29:
	.ascii	"eighty\000"
	.align	2
.LC30:
	.ascii	"ninety\000"
	.align	2
.LC32:
	.ascii	"hundred\000"
	.align	2
.LC33:
	.ascii	"thousand\000"
	.text
	.section	.rodata
	.align	2
.LC35:
	.ascii	"empty string\012\000"
	.align	2
.LC36:
	.ascii	"Length more than 4 is not supported\012\000"
	.align	2
.LC41:
	.ascii	"\012%s: \000"
	.align	2
.LC42:
	.ascii	"%s \000"
	.align	2
.LC37:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.align	2
.LC38:
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.align	2
.LC39:
	.word	.LC11
	.word	.LC11
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.align	2
.LC40:
	.word	.LC32
	.word	.LC33
	.align	2
.LC43:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	convert_to_words
	.syntax unified
	.arm
	.fpu softvfp
	.type	convert_to_words, %function
convert_to_words:
	@ args = 0, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #160
	str	r0, [fp, #-160]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-160]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-152]
	ldr	r3, [fp, #-152]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L17+4
	ldr	r3, [r3]
	mov	r2, #13
	mov	r1, #1
	ldr	r0, .L17+8
	bl	fwrite
	b	.L1
.L2:
	ldr	r3, [fp, #-152]
	cmp	r3, #4
	ble	.L4
	ldr	r3, .L17+4
	ldr	r3, [r3]
	mov	r2, #36
	mov	r1, #1
	ldr	r0, .L17+12
	bl	fwrite
	b	.L1
.L4:
	ldr	r3, .L17+16
	sub	ip, fp, #132
	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, .L17+20
	sub	ip, fp, #52
	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}
	stm	ip, {r0, r1, r2}
	ldr	r3, .L17+24
	sub	ip, fp, #92
	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	r2, .L17+28
	sub	r3, fp, #140
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r1, [fp, #-160]
	ldr	r0, .L17+32
	bl	printf
	ldr	r3, [fp, #-152]
	cmp	r3, #1
	bne	.L6
	ldr	r3, [fp, #-160]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-128]
	mov	r0, r3
	bl	puts
	b	.L1
.L14:
	ldr	r3, [fp, #-152]
	cmp	r3, #2
	ble	.L7
	ldr	r3, [fp, #-160]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L8
	ldr	r3, [fp, #-160]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-128]
	mov	r1, r3
	ldr	r0, .L17+36
	bl	printf
	ldr	r3, [fp, #-152]
	sub	r3, r3, #3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-136]
	mov	r1, r3
	ldr	r0, .L17+36
	bl	printf
.L8:
	ldr	r3, [fp, #-152]
	sub	r3, r3, #1
	str	r3, [fp, #-152]
	b	.L9
.L7:
	ldr	r3, [fp, #-160]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #49
	bne	.L10
	ldr	r3, [fp, #-160]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	ldr	r2, [fp, #-160]
	add	r2, r2, #1
	ldrb	r2, [r2]	@ zero_extendqisi2
	add	r3, r3, r2
	sub	r3, r3, #48
	str	r3, [fp, #-144]
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-48]
	mov	r0, r3
	bl	puts
	b	.L1
.L10:
	ldr	r3, [fp, #-160]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #50
	bne	.L11
	ldr	r3, [fp, #-160]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L11
	ldr	r0, .L17+40
	bl	puts
	b	.L1
.L11:
	ldr	r3, [fp, #-160]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	str	r3, [fp, #-148]
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-88]
	b	.L13
.L12:
	ldr	r3, .L17+44
.L13:
	mov	r1, r3
	ldr	r0, .L17+36
	bl	printf
	ldr	r3, [fp, #-160]
	add	r3, r3, #1
	str	r3, [fp, #-160]
	ldr	r3, [fp, #-160]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L9
	ldr	r3, [fp, #-160]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-128]
	mov	r1, r3
	ldr	r0, .L17+36
	bl	printf
.L9:
	ldr	r3, [fp, #-160]
	add	r3, r3, #1
	str	r3, [fp, #-160]
.L6:
	ldr	r3, [fp, #-160]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L14
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC43
	.word	stderr
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC23
	.word	.LC11
	.size	convert_to_words, .-convert_to_words
	.section	.rodata
	.align	2
.LC44:
	.ascii	"9923\000"
	.align	2
.LC45:
	.ascii	"523\000"
	.align	2
.LC46:
	.ascii	"89\000"
	.align	2
.LC47:
	.ascii	"8989\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L21
	bl	convert_to_words
	ldr	r0, .L21+4
	bl	convert_to_words
	ldr	r0, .L21+8
	bl	convert_to_words
	ldr	r0, .L21+12
	bl	convert_to_words
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC44
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
