	.file	"76700106.c"
	.intel_syntax noprefix
	.text
	.globl	szInput
	.bss
	.align 32
	.type	szInput, @object
	.size	szInput, 256
szInput:
	.zero	256
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter lines, when last one is entered\nprovide a End-Of-File (ctrl-Z on most systems)\nto end the program.\n"
.LC1:
	.string	"Words = %2d \342\200\230%.500s\342\200\231\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
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L2
.L3:
	lea	rdi, szInput[rip]
	call	NumberWords
	lea	rdx, szInput[rip]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	lea	rdi, szInput[rip]
	mov	eax, 0
	call	gets@PLT
	test	eax, eax
	jne	.L3
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	NumberWords
	.type	NumberWords, @function
NumberWords:
.LFB1:
	.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 -24[rbp], rdi
	mov	DWORD PTR -8[rbp], 1
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L6
.L10:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L7
	cmp	DWORD PTR -8[rbp], 0
	je	.L8
	add	DWORD PTR -4[rbp], 1
.L8:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L9
.L7:
	mov	DWORD PTR -8[rbp], 1
.L9:
	add	DWORD PTR -12[rbp], 1
.L6:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L10
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	NumberWords, .-NumberWords
	.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	"76700106.c"
	.text
	.comm	szInput,256,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter lines, when last one is entered\012provide a "
	.ascii	"End-Of-File (ctrl-Z on most systems)\012to end the "
	.ascii	"program.\012\000"
	.align	2
.LC1:
	.ascii	"Words = %2d \342\200\230%.500s\342\200\231\012\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, .L5
	bl	puts
	b	.L2
.L3:
	ldr	r0, .L5+4
	bl	NumberWords
	mov	r3, r0
	ldr	r2, .L5+4
	mov	r1, r3
	ldr	r0, .L5+8
	bl	printf
.L2:
	ldr	r0, .L5+4
	bl	gets
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.word	szInput
	.word	.LC1
	.size	main, .-main
	.align	2
	.global	NumberWords
	.syntax unified
	.arm
	.fpu softvfp
	.type	NumberWords, %function
NumberWords:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L8
.L12:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L9
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L10:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L11
.L9:
	mov	r3, #1
	str	r3, [fp, #-12]
.L11:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L8:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L12
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	NumberWords, .-NumberWords
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
