	.file	"161856.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"n. di caratteri: %d\n"
	.align 8
.LC1:
	.string	"n. di caratteri alfabetici: %d\n"
	.align 8
.LC2:
	.string	"n. di caratteri maiuscoli: %d\n"
.LC3:
	.string	"n. di cifre decimali: %d\n"
.LC4:
	.string	"n. di spazi: %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
	sub	rsp, 160
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -112[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	test	eax, eax
	jne	.L2
	mov	eax, 1
	jmp	.L3
.L2:
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -116[rbp], eax
	mov	eax, DWORD PTR -116[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -148[rbp], 0
	mov	DWORD PTR -144[rbp], 0
	jmp	.L4
.L6:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	movzx	eax, BYTE PTR -112[rbp+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	.L5
	add	DWORD PTR -148[rbp], 1
.L5:
	add	DWORD PTR -144[rbp], 1
.L4:
	mov	eax, DWORD PTR -144[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jl	.L6
	mov	eax, DWORD PTR -148[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -140[rbp], 0
	mov	DWORD PTR -136[rbp], 0
	jmp	.L7
.L9:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	movzx	eax, BYTE PTR -112[rbp+rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 256
	test	eax, eax
	je	.L8
	add	DWORD PTR -140[rbp], 1
.L8:
	add	DWORD PTR -136[rbp], 1
.L7:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jl	.L9
	mov	eax, DWORD PTR -140[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -132[rbp], 0
	mov	DWORD PTR -128[rbp], 0
	jmp	.L10
.L12:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	movzx	eax, BYTE PTR -112[rbp+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	.L11
	add	DWORD PTR -132[rbp], 1
.L11:
	add	DWORD PTR -128[rbp], 1
.L10:
	mov	eax, DWORD PTR -128[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jl	.L12
	cmp	DWORD PTR -132[rbp], 0
	jle	.L14
	mov	eax, DWORD PTR -132[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L14:
	mov	DWORD PTR -124[rbp], 0
	mov	DWORD PTR -120[rbp], 0
	jmp	.L15
.L17:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	movzx	eax, BYTE PTR -112[rbp+rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L16
	add	DWORD PTR -124[rbp], 1
.L16:
	add	DWORD PTR -120[rbp], 1
.L15:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jl	.L17
	mov	eax, DWORD PTR -124[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
.L3:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"161856.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"n. di caratteri: %d\012\000"
	.align	2
.LC1:
	.ascii	"n. di caratteri alfabetici: %d\012\000"
	.align	2
.LC2:
	.ascii	"n. di caratteri maiuscoli: %d\012\000"
	.align	2
.LC3:
	.ascii	"n. di cifre decimali: %d\012\000"
	.align	2
.LC4:
	.ascii	"n. di spazi: %d\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #144
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #112
	mov	r0, r3
	bl	gets
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	mov	r3, #1
	b	.L3
.L2:
	sub	r3, fp, #112
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-116]
	ldr	r1, [fp, #-116]
	ldr	r0, .L19+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-148]
	mov	r3, #0
	str	r3, [fp, #-144]
	b	.L4
.L6:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	sub	r1, fp, #112
	ldr	r3, [fp, #-144]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L5:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
.L4:
	ldr	r2, [fp, #-144]
	ldr	r3, [fp, #-116]
	cmp	r2, r3
	blt	.L6
	ldr	r1, [fp, #-148]
	ldr	r0, .L19+8
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-140]
	mov	r3, #0
	str	r3, [fp, #-136]
	b	.L7
.L9:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	sub	r1, fp, #112
	ldr	r3, [fp, #-136]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #256
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
.L8:
	ldr	r3, [fp, #-136]
	add	r3, r3, #1
	str	r3, [fp, #-136]
.L7:
	ldr	r2, [fp, #-136]
	ldr	r3, [fp, #-116]
	cmp	r2, r3
	blt	.L9
	ldr	r1, [fp, #-140]
	ldr	r0, .L19+12
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-132]
	mov	r3, #0
	str	r3, [fp, #-128]
	b	.L10
.L12:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	sub	r1, fp, #112
	ldr	r3, [fp, #-128]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L11:
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
.L10:
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-116]
	cmp	r2, r3
	blt	.L12
	ldr	r3, [fp, #-132]
	cmp	r3, #0
	ble	.L14
	ldr	r1, [fp, #-132]
	ldr	r0, .L19+16
	bl	printf
.L14:
	mov	r3, #0
	str	r3, [fp, #-124]
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L15
.L17:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	sub	r1, fp, #112
	ldr	r3, [fp, #-120]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L16:
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L15:
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-116]
	cmp	r2, r3
	blt	.L17
	ldr	r1, [fp, #-124]
	ldr	r0, .L19+20
	bl	printf
	mov	r3, #0
.L3:
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
