	.file	"123626.c"
	.intel_syntax noprefix
	.text
	.globl	campo
	.bss
	.align 32
	.type	campo, @object
	.size	campo, 256
campo:
	.zero	256
	.globl	campo2
	.align 32
	.type	campo2, @object
	.size	campo2, 1024
campo2:
	.zero	1024
	.globl	sconfitta
	.type	sconfitta, @object
	.size	sconfitta, 1
sconfitta:
	.zero	1
	.section	.rodata
.LC0:
	.string	"#mine: %2d/%2d#\n"
.LC1:
	.string	"     "
.LC2:
	.string	"\033[4;37m  %2d\033[0m"
.LC3:
	.string	"\n\n"
.LC4:
	.string	"%2d|     "
.LC5:
	.string	"_   "
.LC6:
	.string	"    "
.LC7:
	.string	"\033[1;31m%c   \033[0m"
.LC8:
	.string	"\033[0;32m%c   \033[0m"
.LC9:
	.string	"\033[0;35mP   \033[0m"
.LC10:
	.string	"\n"
	.text
	.globl	stampa_campo
	.type	stampa_campo, @function
stampa_campo:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edx, 40
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -8[rbp], 1
.L2:
	cmp	DWORD PTR -8[rbp], 15
	jle	.L3
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L4
.L15:
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L5
.L14:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, campo2[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 2
	je	.L6
	cmp	eax, 2
	jg	.L7
	test	eax, eax
	je	.L8
	cmp	eax, 1
	je	.L9
	jmp	.L7
.L8:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L7
.L9:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	add	rdx, rax
	lea	rax, campo[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 95
	jne	.L10
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	add	rcx, rax
	lea	rax, campo[rip]
	add	rax, rcx
	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
	jne	.L11
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	add	rdx, rax
	lea	rax, campo[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 42
	jne	.L16
.L11:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	add	rdx, rax
	lea	rax, campo[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 42
	jne	.L13
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	add	rdx, rax
	lea	rax, campo[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L16
.L13:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	add	rdx, rax
	lea	rax, campo[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L16
.L6:
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L7
.L16:
	nop
.L7:
	add	DWORD PTR -8[rbp], 1
.L5:
	cmp	DWORD PTR -8[rbp], 15
	jle	.L14
	lea	rdi, .LC10[rip]
	call	puts@PLT
	add	DWORD PTR -4[rbp], 1
.L4:
	cmp	DWORD PTR -4[rbp], 15
	jle	.L15
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	stampa_campo, .-stampa_campo
	.section	.rodata
.LC11:
	.string	"Input X-Y-stato: "
.LC12:
	.string	"%d %d %d"
	.align 8
.LC13:
	.string	"Errore di inserimento, reinserisci."
.LC14:
	.string	"\nHAI VINTO!!!"
.LC15:
	.string	"\nHAI FAILATO!!!"
	.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L18
.L21:
	mov	DWORD PTR -16[rbp], 0
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	add	rdx, rax
	lea	rax, campo[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], 95
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, campo2[rip]
	mov	DWORD PTR [rdx+rax], 0
	add	DWORD PTR -16[rbp], 1
.L19:
	cmp	DWORD PTR -16[rbp], 15
	jle	.L20
	add	DWORD PTR -12[rbp], 1
.L18:
	cmp	DWORD PTR -12[rbp], 15
	jle	.L21
	mov	eax, 0
	call	piazzamento_mine_numeri
.L26:
	lea	rax, -24[rbp]
	mov	rdi, rax
	call	stampa_campo
.L22:
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -28[rbp]
	lea	rdx, -32[rbp]
	lea	rax, -36[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, 1
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, 16
	jle	.L23
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, -1
	jge	.L23
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, 16
	jle	.L23
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, -1
	jge	.L23
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 1
	jne	.L24
	mov	eax, DWORD PTR -28[rbp]
	test	eax, eax
	je	.L23
.L24:
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L22
.L23:
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	lea	rdi, -20[rbp]
	lea	rcx, -24[rbp]
	mov	r8, rdi
	mov	edi, eax
	call	piazzamento_numeri_stato
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 40
	je	.L25
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 40
	je	.L25
	movzx	eax, BYTE PTR sconfitta[rip]
	xor	eax, 1
	test	al, al
	jne	.L26
.L25:
	lea	rax, -24[rbp]
	mov	rdi, rax
	call	stampa_campo
	movzx	eax, BYTE PTR sconfitta[rip]
	xor	eax, 1
	test	al, al
	je	.L27
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L28
.L27:
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
.L28:
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
.LC16:
	.string	"clear"
	.text
	.globl	piazzamento_numeri_stato
	.type	piazzamento_numeri_stato, @function
piazzamento_numeri_stato:
.LFB8:
	.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	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	DWORD PTR -12[rbp], edx
	mov	QWORD PTR -24[rbp], rcx
	mov	QWORD PTR -32[rbp], r8
	lea	rdi, .LC16[rip]
	call	system@PLT
	cmp	DWORD PTR -12[rbp], 0
	je	.L32
	cmp	DWORD PTR -12[rbp], 1
	jne	.L33
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rdx, rax
	lea	rax, campo[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 95
	jne	.L34
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, campo2[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L35
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, edx
	mov	edi, eax
	call	radar_spazzi_vuoti
.L35:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, campo2[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 2
	jne	.L47
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, campo2[rip]
	mov	DWORD PTR [rdx+rax], 1
	jmp	.L47
.L34:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rcx, rax
	lea	rax, campo[rip]
	add	rax, rcx
	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	.L37
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, campo2[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L38
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, campo2[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 2
	jne	.L39
.L38:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, campo2[rip]
	mov	DWORD PTR [rdx+rax], 1
	jmp	.L47
.L39:
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, edx
	mov	edi, eax
	call	ctrl_ripetizione_numero
	jmp	.L47
.L37:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rdx, rax
	lea	rax, campo[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 42
	jne	.L47
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, campo2[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L41
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, campo2[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 2
	jne	.L47
.L41:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, campo2[rip]
	mov	DWORD PTR [rdx+rax], 1
	mov	BYTE PTR sconfitta[rip], 1
	jmp	.L47
.L32:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, campo2[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 2
	jne	.L43
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, campo2[rip]
	mov	DWORD PTR [rdx+rax], 0
	jmp	.L48
.L43:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rdx, rax
	lea	rax, campo[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 95
	jne	.L45
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, campo2[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L48
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, campo2[rip]
	mov	DWORD PTR [rdx+rax], 2
	jmp	.L48
.L45:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rcx, rax
	lea	rax, campo[rip]
	add	rax, rcx
	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	.L46
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, campo2[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L48
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, campo2[rip]
	mov	DWORD PTR [rdx+rax], 2
	jmp	.L48
.L46:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rdx, rax
	lea	rax, campo[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 42
	jne	.L48
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, campo2[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L48
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, campo2[rip]
	mov	DWORD PTR [rdx+rax], 2
	add	QWORD PTR -32[rbp], 4
	jmp	.L48
.L33:
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L42
.L47:
	nop
	jmp	.L49
.L48:
	nop
.L42:
.L49:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	piazzamento_numeri_stato, .-piazzamento_numeri_stato
	.section	.rodata
	.align 8
.LC17:
	.string	"mine: %d;   segno: %d;   coppie: %d\n"
	.text
	.globl	ctrl_ripetizione_numero
	.type	ctrl_ripetizione_numero, @function
ctrl_ripetizione_numero:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR -40[rbp]
	sub	eax, 1
	mov	DWORD PTR -16[rbp], eax
	jmp	.L51
.L57:
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
	mov	DWORD PTR -20[rbp], eax
	jmp	.L52
.L56:
	cmp	DWORD PTR -16[rbp], 15
	jg	.L53
	cmp	DWORD PTR -20[rbp], 15
	jg	.L53
	cmp	DWORD PTR -16[rbp], 0
	js	.L53
	cmp	DWORD PTR -20[rbp], 0
	js	.L53
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 4
	add	rdx, rax
	lea	rax, campo[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 42
	jne	.L54
	add	DWORD PTR -12[rbp], 1
.L54:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, campo2[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 2
	jne	.L55
	add	DWORD PTR -8[rbp], 1
.L55:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 4
	add	rdx, rax
	lea	rax, campo[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 42
	jne	.L53
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, campo2[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 2
	jne	.L53
	add	DWORD PTR -4[rbp], 1
.L53:
	add	DWORD PTR -20[rbp], 1
.L52:
	mov	eax, DWORD PTR -36[rbp]
	add	eax, 1
	cmp	DWORD PTR -20[rbp], eax
	jle	.L56
	add	DWORD PTR -16[rbp], 1
.L51:
	mov	eax, DWORD PTR -40[rbp]
	add	eax, 1
	cmp	DWORD PTR -16[rbp], eax
	jle	.L57
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jne	.L50
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jne	.L59
	cmp	DWORD PTR -8[rbp], 0
	je	.L61
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, edx
	mov	edi, eax
	call	radar_spazzi_vuoti
	jmp	.L50
.L59:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jge	.L50
	mov	BYTE PTR sconfitta[rip], 1
	jmp	.L50
.L61:
	nop
.L50:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	ctrl_ripetizione_numero, .-ctrl_ripetizione_numero
	.globl	piazzamento_mine_numeri
	.type	piazzamento_mine_numeri, @function
piazzamento_mine_numeri:
.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, 32
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	lea	rax, campo[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -16[rbp], 40
	jmp	.L63
.L66:
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 680390859
	shr	rdx, 32
	sar	edx, 4
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -12[rbp], edx
	mov	edx, DWORD PTR -12[rbp]
	imul	edx, edx, 101
	sub	eax, edx
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 95
	jle	.L64
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 42
	je	.L64
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 42
	sub	DWORD PTR -16[rbp], 1
.L64:
	lea	rax, campo[rip+255]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L65
	cmp	DWORD PTR -16[rbp], 0
	jle	.L65
	lea	rax, campo[rip]
	mov	QWORD PTR -8[rbp], rax
.L65:
	add	QWORD PTR -8[rbp], 1
.L63:
	cmp	DWORD PTR -16[rbp], 0
	jne	.L66
	mov	DWORD PTR -20[rbp], 0
	jmp	.L67
.L71:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L68
.L70:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 4
	add	rdx, rax
	lea	rax, campo[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 42
	jne	.L69
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, edx
	mov	edi, eax
	call	posizionamento_numeri_rilevazione_mine
.L69:
	add	DWORD PTR -24[rbp], 1
.L68:
	cmp	DWORD PTR -24[rbp], 15
	jle	.L70
	add	DWORD PTR -20[rbp], 1
.L67:
	cmp	DWORD PTR -20[rbp], 15
	jle	.L71
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	piazzamento_mine_numeri, .-piazzamento_mine_numeri
	.globl	posizionamento_numeri_rilevazione_mine
	.type	posizionamento_numeri_rilevazione_mine, @function
posizionamento_numeri_rilevazione_mine:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	eax, DWORD PTR -40[rbp]
	sub	eax, 1
	mov	DWORD PTR -16[rbp], eax
	jmp	.L73
.L84:
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
	mov	DWORD PTR -20[rbp], eax
	jmp	.L74
.L83:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jne	.L75
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	je	.L85
.L75:
	cmp	DWORD PTR -40[rbp], 15
	jg	.L76
	cmp	DWORD PTR -36[rbp], 15
	jg	.L76
	cmp	DWORD PTR -40[rbp], 0
	js	.L76
	cmp	DWORD PTR -36[rbp], 0
	js	.L76
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 4
	add	rdx, rax
	lea	rax, campo[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 95
	jne	.L76
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, 1
	mov	DWORD PTR -8[rbp], eax
	jmp	.L77
.L82:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	DWORD PTR -12[rbp], eax
	jmp	.L78
.L81:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jne	.L79
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	je	.L86
.L79:
	cmp	DWORD PTR -8[rbp], 15
	jg	.L80
	cmp	DWORD PTR -12[rbp], 15
	jg	.L80
	cmp	DWORD PTR -8[rbp], 0
	js	.L80
	cmp	DWORD PTR -12[rbp], 0
	js	.L80
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rdx, rax
	lea	rax, campo[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 42
	jne	.L80
	add	DWORD PTR -4[rbp], 1
	jmp	.L80
.L86:
	nop
.L80:
	add	DWORD PTR -12[rbp], 1
.L78:
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	cmp	DWORD PTR -12[rbp], eax
	jle	.L81
	add	DWORD PTR -8[rbp], 1
.L77:
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	cmp	DWORD PTR -8[rbp], eax
	jle	.L82
	cmp	DWORD PTR -4[rbp], 0
	jle	.L76
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 48
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 4
	add	rcx, rax
	lea	rax, campo[rip]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	jmp	.L76
.L85:
	nop
.L76:
	add	DWORD PTR -20[rbp], 1
.L74:
	mov	eax, DWORD PTR -36[rbp]
	add	eax, 1
	cmp	DWORD PTR -20[rbp], eax
	jle	.L83
	add	DWORD PTR -16[rbp], 1
.L73:
	mov	eax, DWORD PTR -40[rbp]
	add	eax, 1
	cmp	DWORD PTR -16[rbp], eax
	jle	.L84
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	posizionamento_numeri_rilevazione_mine, .-posizionamento_numeri_rilevazione_mine
	.globl	radar_spazzi_vuoti
	.type	radar_spazzi_vuoti, @function
radar_spazzi_vuoti:
.LFB12:
	.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	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	call	__ctype_b_loc@PLT
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, campo2[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	add	rax, rax
	add	rax, rcx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L88
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, campo2[rip]
	mov	DWORD PTR [rdx+rax], 1
.L88:
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, 1
	mov	DWORD PTR -4[rbp], eax
	jmp	.L89
.L94:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	DWORD PTR -8[rbp], eax
	jmp	.L90
.L93:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jne	.L91
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	je	.L95
.L91:
	cmp	DWORD PTR -4[rbp], 15
	jg	.L92
	cmp	DWORD PTR -8[rbp], 15
	jg	.L92
	cmp	DWORD PTR -4[rbp], 0
	js	.L92
	cmp	DWORD PTR -8[rbp], 0
	js	.L92
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	add	rdx, rax
	lea	rax, campo[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 42
	je	.L92
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, campo2[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L92
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, campo2[rip]
	mov	DWORD PTR [rdx+rax], 1
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	add	rcx, rax
	lea	rax, campo[rip]
	add	rax, rcx
	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
	jne	.L92
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, edx
	mov	edi, eax
	call	radar_spazzi_vuoti
	jmp	.L92
.L95:
	nop
.L92:
	add	DWORD PTR -8[rbp], 1
.L90:
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	cmp	DWORD PTR -8[rbp], eax
	jle	.L93
	add	DWORD PTR -4[rbp], 1
.L89:
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	jle	.L94
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	radar_spazzi_vuoti, .-radar_spazzi_vuoti
	.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	"123626.c"
	.text
	.comm	campo,256,4
	.comm	campo2,1024,4
	.global	sconfitta
	.bss
	.type	sconfitta, %object
	.size	sconfitta, 1
sconfitta:
	.space	1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"#mine: %2d/%2d#\012\000"
	.align	2
.LC1:
	.ascii	"     \000"
	.align	2
.LC2:
	.ascii	"\033[4;37m  %2d\033[0m\000"
	.align	2
.LC3:
	.ascii	"\012\012\000"
	.align	2
.LC4:
	.ascii	"%2d|     \000"
	.align	2
.LC5:
	.ascii	"_   \000"
	.align	2
.LC6:
	.ascii	"    \000"
	.align	2
.LC7:
	.ascii	"\033[1;31m%c   \033[0m\000"
	.align	2
.LC8:
	.ascii	"\033[0;32m%c   \033[0m\000"
	.align	2
.LC9:
	.ascii	"\033[0;35mP   \033[0m\000"
	.align	2
.LC10:
	.ascii	"\012\000"
	.text
	.align	2
	.global	stampa_campo
	.syntax unified
	.arm
	.fpu softvfp
	.type	stampa_campo, %function
stampa_campo:
	@ 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]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r2, #40
	mov	r1, r3
	ldr	r0, .L17
	bl	printf
	ldr	r0, .L17+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L3:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L17+8
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-12]
	cmp	r3, #15
	ble	.L3
	ldr	r0, .L17+12
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L4
.L15:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L17+16
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L5
.L14:
	ldr	r1, .L17+20
	ldr	r3, [fp, #-8]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #2
	beq	.L6
	cmp	r3, #2
	bgt	.L7
	cmp	r3, #0
	beq	.L8
	cmp	r3, #1
	beq	.L9
	b	.L7
.L8:
	ldr	r0, .L17+24
	bl	printf
	b	.L7
.L9:
	ldr	r2, .L17+28
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #95
	bne	.L10
	ldr	r0, .L17+32
	bl	printf
.L10:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r1, .L17+28
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r1, r1, r3
	ldr	r3, [fp, #-12]
	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
	bne	.L11
	ldr	r2, .L17+28
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L16
.L11:
	ldr	r2, .L17+28
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L13
	ldr	r2, .L17+28
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L17+36
	bl	printf
	b	.L16
.L13:
	ldr	r2, .L17+28
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L17+40
	bl	printf
	b	.L16
.L6:
	ldr	r0, .L17+44
	bl	printf
	b	.L7
.L16:
	nop
.L7:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L5:
	ldr	r3, [fp, #-12]
	cmp	r3, #15
	ble	.L14
	ldr	r0, .L17+48
	bl	puts
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L4:
	ldr	r3, [fp, #-8]
	cmp	r3, #15
	ble	.L15
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	campo2
	.word	.LC5
	.word	campo
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	stampa_campo, .-stampa_campo
	.section	.rodata
	.align	2
.LC11:
	.ascii	"Input X-Y-stato: \000"
	.align	2
.LC12:
	.ascii	"%d %d %d\000"
	.align	2
.LC13:
	.ascii	"Errore di inserimento, reinserisci.\000"
	.align	2
.LC14:
	.ascii	"\012HAI VINTO!!!\000"
	.align	2
.LC15:
	.ascii	"\012HAI FAILATO!!!\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L33
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L20
.L23:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L21
.L22:
	ldr	r2, .L33+4
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #95
	strb	r2, [r3]
	ldr	r1, .L33+8
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L21:
	ldr	r3, [fp, #-16]
	cmp	r3, #15
	ble	.L22
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L20:
	ldr	r3, [fp, #-12]
	cmp	r3, #15
	ble	.L23
	bl	piazzamento_mine_numeri
.L28:
	sub	r3, fp, #24
	mov	r0, r3
	bl	stampa_campo
.L24:
	ldr	r0, .L33+12
	bl	printf
	sub	r3, fp, #28
	sub	r2, fp, #32
	sub	r1, fp, #36
	ldr	r0, .L33+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-36]
	cmp	r3, #16
	ble	.L25
	ldr	r3, [fp, #-36]
	cmn	r3, #1
	bge	.L25
	ldr	r3, [fp, #-32]
	cmp	r3, #16
	ble	.L25
	ldr	r3, [fp, #-32]
	cmn	r3, #1
	bge	.L25
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	bne	.L26
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L25
.L26:
	ldr	r0, .L33+20
	bl	printf
	b	.L24
.L25:
	ldr	r0, [fp, #-36]
	ldr	r1, [fp, #-32]
	ldr	r2, [fp, #-28]
	sub	ip, fp, #24
	sub	r3, fp, #20
	str	r3, [sp]
	mov	r3, ip
	bl	piazzamento_numeri_stato
	ldr	r3, [fp, #-24]
	cmp	r3, #40
	beq	.L27
	ldr	r3, [fp, #-20]
	cmp	r3, #40
	beq	.L27
	ldr	r3, .L33+24
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L28
.L27:
	sub	r3, fp, #24
	mov	r0, r3
	bl	stampa_campo
	ldr	r3, .L33+24
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L29
	ldr	r0, .L33+28
	bl	printf
	b	.L30
.L29:
	ldr	r0, .L33+32
	bl	printf
.L30:
	mov	r3, #0
	ldr	r2, .L33
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L32
	bl	__stack_chk_fail
.L32:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC16
	.word	campo
	.word	campo2
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	sconfitta
	.word	.LC14
	.word	.LC15
	.size	main, .-main
	.section	.rodata
	.align	2
.LC17:
	.ascii	"clear\000"
	.text
	.align	2
	.global	piazzamento_numeri_stato
	.syntax unified
	.arm
	.fpu softvfp
	.type	piazzamento_numeri_stato, %function
piazzamento_numeri_stato:
	@ args = 4, 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r0, .L54
	bl	system
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L36
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L37
	ldr	r2, .L54+4
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #95
	bne	.L38
	ldr	r1, .L54+8
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #0
	bne	.L39
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	radar_spazzi_vuoti
.L39:
	ldr	r1, .L54+8
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #2
	bne	.L51
	ldr	r1, .L54+8
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r1, r3, lsl #2]
	b	.L51
.L38:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r1, .L54+4
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #4
	add	r1, r1, r3
	ldr	r3, [fp, #-8]
	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	.L41
	ldr	r1, .L54+8
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #0
	beq	.L42
	ldr	r1, .L54+8
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #2
	bne	.L43
.L42:
	ldr	r1, .L54+8
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r1, r3, lsl #2]
	b	.L51
.L43:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	ctrl_ripetizione_numero
	b	.L51
.L41:
	ldr	r2, .L54+4
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L51
	ldr	r1, .L54+8
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #0
	beq	.L45
	ldr	r1, .L54+8
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #2
	bne	.L51
.L45:
	ldr	r1, .L54+8
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L54+12
	mov	r2, #1
	strb	r2, [r3]
	b	.L51
.L36:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-20]
	str	r2, [r3]
	ldr	r1, .L54+8
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #2
	bne	.L47
	ldr	r1, .L54+8
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r1, r3, lsl #2]
	b	.L52
.L47:
	ldr	r2, .L54+4
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #95
	bne	.L49
	ldr	r1, .L54+8
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #0
	bne	.L52
	ldr	r1, .L54+8
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #2
	str	r2, [r1, r3, lsl #2]
	b	.L52
.L49:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r1, .L54+4
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #4
	add	r1, r1, r3
	ldr	r3, [fp, #-8]
	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	.L50
	ldr	r1, .L54+8
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #0
	bne	.L52
	ldr	r1, .L54+8
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #2
	str	r2, [r1, r3, lsl #2]
	b	.L52
.L50:
	ldr	r2, .L54+4
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L52
	ldr	r1, .L54+8
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #0
	bne	.L52
	ldr	r1, .L54+8
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #2
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #4]
	add	r3, r3, #4
	str	r3, [fp, #4]
	b	.L52
.L37:
	ldr	r0, .L54+16
	bl	printf
	b	.L46
.L51:
	nop
	b	.L53
.L52:
	nop
.L46:
.L53:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L55:
	.align	2
.L54:
	.word	.LC17
	.word	campo
	.word	campo2
	.word	sconfitta
	.word	.LC13
	.size	piazzamento_numeri_stato, .-piazzamento_numeri_stato
	.section	.rodata
	.align	2
.LC18:
	.ascii	"mine: %d;   segno: %d;   coppie: %d\012\000"
	.text
	.align	2
	.global	ctrl_ripetizione_numero
	.syntax unified
	.arm
	.fpu softvfp
	.type	ctrl_ripetizione_numero, %function
ctrl_ripetizione_numero:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L57
.L63:
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L58
.L62:
	ldr	r3, [fp, #-20]
	cmp	r3, #15
	bgt	.L59
	ldr	r3, [fp, #-24]
	cmp	r3, #15
	bgt	.L59
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	blt	.L59
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	blt	.L59
	ldr	r2, .L68
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L60
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L60:
	ldr	r1, .L68+4
	ldr	r3, [fp, #-20]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #2
	bne	.L61
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L61:
	ldr	r2, .L68
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L59
	ldr	r1, .L68+4
	ldr	r3, [fp, #-20]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #2
	bne	.L59
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L59:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L58:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	ble	.L62
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L57:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	ble	.L63
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	ldr	r0, .L68+8
	bl	printf
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bne	.L56
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bne	.L65
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L67
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	radar_spazzi_vuoti
	b	.L56
.L65:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bge	.L56
	ldr	r3, .L68+12
	mov	r2, #1
	strb	r2, [r3]
	b	.L56
.L67:
	nop
.L56:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L69:
	.align	2
.L68:
	.word	campo
	.word	campo2
	.word	.LC18
	.word	sconfitta
	.size	ctrl_ripetizione_numero, .-ctrl_ripetizione_numero
	.align	2
	.global	piazzamento_mine_numeri
	.syntax unified
	.arm
	.fpu softvfp
	.type	piazzamento_mine_numeri, %function
piazzamento_mine_numeri:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	ldr	r3, .L80
	str	r3, [fp, #-16]
	mov	r3, #40
	str	r3, [fp, #-12]
	b	.L71
.L74:
	bl	rand
	mov	r2, r0
	ldr	r3, .L80+4
	smull	r1, r3, r2, r3
	asr	r1, r3, #4
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r0, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #95
	ble	.L72
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	beq	.L72
	ldr	r3, [fp, #-16]
	mov	r2, #42
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L72:
	ldr	r3, [fp, #-16]
	ldr	r2, .L80+8
	cmp	r3, r2
	bne	.L73
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L73
	ldr	r3, .L80
	str	r3, [fp, #-16]
.L73:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L71:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L74
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L75
.L79:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L76
.L78:
	ldr	r2, .L80
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L77
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	posizionamento_numeri_rilevazione_mine
.L77:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L76:
	ldr	r3, [fp, #-24]
	cmp	r3, #15
	ble	.L78
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L75:
	ldr	r3, [fp, #-20]
	cmp	r3, #15
	ble	.L79
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L81:
	.align	2
.L80:
	.word	campo
	.word	680390859
	.word	campo+255
	.size	piazzamento_mine_numeri, .-piazzamento_mine_numeri
	.align	2
	.global	posizionamento_numeri_rilevazione_mine
	.syntax unified
	.arm
	.fpu softvfp
	.type	posizionamento_numeri_rilevazione_mine, %function
posizionamento_numeri_rilevazione_mine:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L83
.L94:
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L84
.L93:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bne	.L85
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	beq	.L95
.L85:
	ldr	r3, [fp, #-36]
	cmp	r3, #15
	bgt	.L86
	ldr	r3, [fp, #-32]
	cmp	r3, #15
	bgt	.L86
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	blt	.L86
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	blt	.L86
	ldr	r2, .L97
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #95
	bne	.L86
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L87
.L92:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L88
.L91:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L89
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	beq	.L96
.L89:
	ldr	r3, [fp, #-12]
	cmp	r3, #15
	bgt	.L90
	ldr	r3, [fp, #-16]
	cmp	r3, #15
	bgt	.L90
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	blt	.L90
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L90
	ldr	r2, .L97
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L90
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L90
.L96:
	nop
.L90:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L88:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	ble	.L91
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L87:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L92
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L86
	ldr	r3, [fp, #-8]
	and	r3, r3, #255
	add	r3, r3, #48
	and	r1, r3, #255
	ldr	r2, .L97
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	b	.L86
.L95:
	nop
.L86:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L84:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	ble	.L93
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L83:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	ble	.L94
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L98:
	.align	2
.L97:
	.word	campo
	.size	posizionamento_numeri_rilevazione_mine, .-posizionamento_numeri_rilevazione_mine
	.align	2
	.global	radar_spazzi_vuoti
	.syntax unified
	.arm
	.fpu softvfp
	.type	radar_spazzi_vuoti, %function
radar_spazzi_vuoti:
	@ 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]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r0, .L108
	ldr	r3, [fp, #-20]
	lsl	r1, r3, #4
	ldr	r3, [fp, #-16]
	add	r3, r1, r3
	ldr	r3, [r0, r3, lsl #2]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L100
	ldr	r1, .L108
	ldr	r3, [fp, #-20]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r1, r3, lsl #2]
.L100:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L101
.L106:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L102
.L105:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L103
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	beq	.L107
.L103:
	ldr	r3, [fp, #-8]
	cmp	r3, #15
	bgt	.L104
	ldr	r3, [fp, #-12]
	cmp	r3, #15
	bgt	.L104
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	blt	.L104
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	blt	.L104
	ldr	r2, .L108+4
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	beq	.L104
	ldr	r1, .L108
	ldr	r3, [fp, #-8]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #0
	bne	.L104
	ldr	r1, .L108
	ldr	r3, [fp, #-8]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r1, r3, lsl #2]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r1, .L108+4
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r1, r1, r3
	ldr	r3, [fp, #-12]
	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
	bne	.L104
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	radar_spazzi_vuoti
	b	.L104
.L107:
	nop
.L104:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L102:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L105
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L101:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L106
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L109:
	.align	2
.L108:
	.word	campo2
	.word	campo
	.size	radar_spazzi_vuoti, .-radar_spazzi_vuoti
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
