	.file	"648077.c"
	.intel_syntax noprefix
	.text
	.globl	cntstr
	.type	cntstr, @function
cntstr:
.LFB6:
	.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 -4[rbp], 0
	jmp	.L2
.L3:
	add	DWORD PTR -4[rbp], 1
	add	QWORD PTR -24[rbp], 1
.L2:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L3
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	cntstr, .-cntstr
	.globl	catstr
	.type	catstr, @function
catstr:
.LFB7:
	.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	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -4[rbp], 1
	add	QWORD PTR -24[rbp], 1
.L6:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L7
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -4[rbp], 1
	add	QWORD PTR -32[rbp], 1
.L8:
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L9
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	catstr, .-catstr
	.globl	getOperand
	.type	getOperand, @function
getOperand:
.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -12[rbp], 0
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 1
	cdqe
	add	rax, 4
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L13
	mov	eax, 0
	jmp	.L12
.L14:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	ecx, BYTE PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	mov	BYTE PTR 4[rdx+rax], cl
	add	DWORD PTR -12[rbp], 1
.L13:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L14
	mov	rdx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	mov	BYTE PTR 4[rdx+rax], 0
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	getType
	mov	rdx, QWORD PTR -8[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -8[rbp]
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	getOperand, .-getOperand
	.globl	deleteOperand
	.type	deleteOperand, @function
deleteOperand:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	cmp	QWORD PTR -8[rbp], 0
	je	.L18
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L15
.L18:
	nop
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	deleteOperand, .-deleteOperand
	.globl	rsum
	.type	rsum, @function
rsum:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 72
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -104[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L20
	mov	eax, 0
	jmp	.L21
.L20:
	mov	rax, QWORD PTR -104[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L22
	mov	rax, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR [rax]
	jmp	.L21
.L22:
	mov	rax, QWORD PTR -104[rbp]
	mov	QWORD PTR -88[rbp], rax
	mov	DWORD PTR -92[rbp], 0
	jmp	.L23
.L24:
	add	DWORD PTR -92[rbp], 1
.L23:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L24
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	somma
	mov	QWORD PTR -80[rbp], rax
	sub	DWORD PTR -92[rbp], 1
	mov	eax, DWORD PTR -92[rbp]
	mov	rdx, rsp
	mov	rbx, rdx
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -72[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L25:
	cmp	rsp, rdx
	je	.L26
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L25
.L26:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L27
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L27:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -80[rbp]
	mov	QWORD PTR [rax], rdx
	mov	DWORD PTR -96[rbp], 1
	jmp	.L28
.L29:
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -96[rbp]
	movsx	rdx, edx
	mov	QWORD PTR [rax+rdx*8], rcx
	add	DWORD PTR -96[rbp], 1
.L28:
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L29
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -96[rbp]
	movsx	rdx, edx
	mov	QWORD PTR [rax+rdx*8], 0
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	rsum
	mov	rsp, rbx
.L21:
	mov	rsi, QWORD PTR -56[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	rsum, .-rsum
	.globl	shiftPtr
	.type	shiftPtr, @function
shiftPtr:
.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 -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	shiftPtr, .-shiftPtr
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d      %d     \n"
.LC2:
	.string	"00x%x"
.LC3:
	.string	"\nL'OPERAZIONE NON SI PUO FARE"
	.text
	.globl	somma
	.type	somma, @function
somma:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 248
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -184[rbp], rdi
	mov	QWORD PTR -192[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -184[rbp], 0
	jne	.L34
	cmp	QWORD PTR -192[rbp], 0
	jne	.L34
	mov	eax, 0
	jmp	.L33
.L34:
	cmp	QWORD PTR -184[rbp], 0
	jne	.L36
	mov	rax, QWORD PTR -192[rbp]
	jmp	.L33
.L36:
	cmp	QWORD PTR -192[rbp], 0
	jne	.L37
	mov	rax, QWORD PTR -184[rbp]
	jmp	.L33
.L37:
	mov	rax, QWORD PTR -184[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L38
	mov	rax, QWORD PTR -192[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L38
	mov	rax, QWORD PTR -184[rbp]
	add	rax, 4
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -160[rbp], eax
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 4
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -164[rbp], eax
	mov	edx, DWORD PTR -160[rbp]
	mov	eax, DWORD PTR -164[rbp]
	add	eax, edx
	mov	DWORD PTR -168[rbp], eax
	mov	eax, DWORD PTR -168[rbp]
	mov	DWORD PTR -172[rbp], eax
	mov	DWORD PTR -176[rbp], 0
	jmp	.L39
.L40:
	add	DWORD PTR -176[rbp], 1
	mov	eax, DWORD PTR -172[rbp]
	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 -172[rbp], eax
.L39:
	cmp	DWORD PTR -172[rbp], 0
	jg	.L40
	mov	eax, DWORD PTR -176[rbp]
	mov	rdx, rsp
	mov	rbx, rdx
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -120[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -208[rbp], rdx
	mov	QWORD PTR -200[rbp], 0
	movsx	rdx, eax
	mov	QWORD PTR -224[rbp], rdx
	mov	QWORD PTR -216[rbp], 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L41:
	cmp	rsp, rdx
	je	.L42
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L41
.L42:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L43
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L43:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -112[rbp], rax
	mov	edx, DWORD PTR -168[rbp]
	mov	rax, QWORD PTR -112[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	edx, DWORD PTR -176[rbp]
	mov	rax, QWORD PTR -112[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	getOperand
	mov	rsp, rbx
	jmp	.L33
.L38:
	mov	rax, QWORD PTR -184[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	je	.L44
	mov	rax, QWORD PTR -192[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	jne	.L45
.L44:
	mov	rax, rsp
	mov	r12, rax
	mov	rax, QWORD PTR -184[rbp]
	add	rax, 4
	mov	rdi, rax
	call	cntstr
	mov	ebx, eax
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 4
	mov	rdi, rax
	call	cntstr
	add	eax, ebx
	mov	DWORD PTR -124[rbp], eax
	mov	eax, DWORD PTR -124[rbp]
	add	eax, 1
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -72[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -240[rbp], rdx
	mov	QWORD PTR -232[rbp], 0
	movsx	rdx, eax
	mov	QWORD PTR -256[rbp], rdx
	mov	QWORD PTR -248[rbp], 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L46:
	cmp	rsp, rdx
	je	.L47
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L46
.L47:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L48
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L48:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -192[rbp]
	lea	rsi, 4[rax]
	mov	rax, QWORD PTR -184[rbp]
	lea	rcx, 4[rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, rax
	mov	rdi, rcx
	call	catstr
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	cntstr
	mov	edx, eax
	mov	rax, QWORD PTR -64[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	getOperand
	mov	rsp, r12
	jmp	.L33
.L45:
	mov	rax, QWORD PTR -184[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L49
	mov	rax, QWORD PTR -192[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L49
	mov	rax, QWORD PTR -184[rbp]
	add	rax, 4
	add	rax, 3
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -144[rbp], eax
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 4
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -140[rbp], eax
	mov	eax, DWORD PTR -140[rbp]
	sal	eax, 3
	add	DWORD PTR -144[rbp], eax
	mov	DWORD PTR -148[rbp], 0
	mov	eax, DWORD PTR -144[rbp]
	mov	DWORD PTR -136[rbp], eax
	jmp	.L50
.L51:
	add	DWORD PTR -148[rbp], 1
	mov	eax, DWORD PTR -144[rbp]
	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 -144[rbp], eax
.L50:
	cmp	DWORD PTR -144[rbp], 0
	jg	.L51
	add	DWORD PTR -148[rbp], 3
	mov	edx, DWORD PTR -148[rbp]
	mov	eax, DWORD PTR -136[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -148[rbp]
	mov	rdx, rsp
	mov	rbx, rdx
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -104[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -272[rbp], rdx
	mov	QWORD PTR -264[rbp], 0
	movsx	rdx, eax
	mov	QWORD PTR -288[rbp], rdx
	mov	QWORD PTR -280[rbp], 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L52:
	cmp	rsp, rdx
	je	.L53
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L52
.L53:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L54
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L54:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -96[rbp], rax
	mov	edx, DWORD PTR -136[rbp]
	mov	rax, QWORD PTR -96[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	edx, DWORD PTR -148[rbp]
	mov	rax, QWORD PTR -96[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	getOperand
	mov	rsp, rbx
	jmp	.L33
.L49:
	mov	rax, QWORD PTR -184[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L55
	mov	rax, QWORD PTR -192[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L55
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 4
	add	rax, 3
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -152[rbp], eax
	mov	rax, QWORD PTR -184[rbp]
	add	rax, 4
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -132[rbp], eax
	mov	eax, DWORD PTR -132[rbp]
	sal	eax, 3
	add	DWORD PTR -152[rbp], eax
	mov	DWORD PTR -156[rbp], 0
	mov	eax, DWORD PTR -152[rbp]
	mov	DWORD PTR -128[rbp], eax
	jmp	.L56
.L57:
	add	DWORD PTR -156[rbp], 1
	mov	eax, DWORD PTR -152[rbp]
	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 -152[rbp], eax
.L56:
	cmp	DWORD PTR -152[rbp], 0
	jg	.L57
	add	DWORD PTR -156[rbp], 3
	mov	edx, DWORD PTR -156[rbp]
	mov	eax, DWORD PTR -128[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -156[rbp]
	mov	rdx, rsp
	mov	rbx, rdx
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -88[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L58:
	cmp	rsp, rdx
	je	.L59
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L58
.L59:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L60
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L60:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -80[rbp], rax
	mov	edx, DWORD PTR -128[rbp]
	mov	rax, QWORD PTR -80[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	edx, DWORD PTR -156[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	getOperand
	mov	rsp, rbx
	jmp	.L33
.L55:
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L33:
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L61
	call	__stack_chk_fail@PLT
.L61:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	somma, .-somma
	.section	.rodata
.LC4:
	.string	"127.0.0.1"
.LC5:
	.string	"SUM"
.LC6:
	.string	"CLOSE"
	.align 8
.LC7:
	.string	"Data size:%d received from server: %s\n"
.LC8:
	.string	"#operandi %d\n"
.LC9:
	.string	"Null returned"
.LC10:
	.string	"operando %d \303\250 nullo\n"
.LC11:
	.string	"operando: %s; type: %d\n"
	.align 8
.LC12:
	.string	"Risultato = {val: %s, type: %d}\nIn attesa di nuove istruzioni..."
.LC13:
	.string	"RES"
.LC14:
	.string	"Arrivederci stronzi!!!"
	.text
	.globl	main
	.type	main, @function
main:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r12
	push	rbx
	sub	rsp, 1200
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR stdout[rip]
	mov	ecx, 0
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	setvbuf@PLT
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -1164[rbp], eax
	mov	WORD PTR -1088[rbp], 2
	mov	edi, 7891
	call	htons@PLT
	mov	WORD PTR -1086[rbp], ax
	lea	rdi, .LC4[rip]
	call	inet_addr@PLT
	mov	DWORD PTR -1084[rbp], eax
	lea	rax, -1088[rbp]
	add	rax, 8
	mov	edx, 8
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -1160[rbp], 16
	mov	edx, DWORD PTR -1160[rbp]
	lea	rcx, -1088[rbp]
	mov	eax, DWORD PTR -1164[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	mov	edi, 100
	call	usleep@PLT
	mov	eax, DWORD PTR -1164[rbp]
	mov	edx, 3
	lea	rsi, .LC5[rip]
	mov	edi, eax
	call	write@PLT
	mov	edi, 100
	call	usleep@PLT
.L89:
	mov	edi, 100
	call	usleep@PLT
	lea	rsi, -1072[rbp]
	mov	eax, DWORD PTR -1164[rbp]
	mov	ecx, 0
	mov	edx, 1024
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -1156[rbp], eax
	mov	edi, 100
	call	usleep@PLT
	cmp	DWORD PTR -1156[rbp], -1
	je	.L63
	cmp	DWORD PTR -1156[rbp], 0
	je	.L63
	lea	rax, -1072[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L92
	mov	eax, DWORD PTR -1156[rbp]
	cdqe
	mov	BYTE PTR -1072[rbp+rax], 0
	mov	eax, DWORD PTR -1156[rbp]
	add	eax, 1
	cdqe
	mov	BYTE PTR -1072[rbp+rax], 0
	mov	eax, DWORD PTR -1156[rbp]
	add	eax, 2
	cdqe
	mov	BYTE PTR -1072[rbp+rax], 0
	mov	eax, DWORD PTR -1156[rbp]
	add	eax, 3
	cdqe
	mov	BYTE PTR -1072[rbp+rax], 0
	lea	rdx, -1072[rbp]
	mov	eax, DWORD PTR -1156[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1072[rbp]
	mov	QWORD PTR -1144[rbp], rax
	mov	DWORD PTR -1172[rbp], 0
	jmp	.L66
.L68:
	mov	rax, QWORD PTR -1144[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 43
	jne	.L67
	add	DWORD PTR -1172[rbp], 1
.L67:
	add	QWORD PTR -1144[rbp], 1
.L66:
	mov	rax, QWORD PTR -1144[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L68
	add	DWORD PTR -1172[rbp], 1
	add	DWORD PTR -1172[rbp], 1
	mov	eax, DWORD PTR -1172[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -1172[rbp]
	mov	rdx, rsp
	mov	rbx, rdx
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -1136[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	QWORD PTR -1200[rbp], rdx
	mov	QWORD PTR -1192[rbp], 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L69:
	cmp	rsp, rdx
	je	.L70
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L69
.L70:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L71
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L71:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -1128[rbp], rax
	mov	DWORD PTR -1176[rbp], 0
	lea	rax, -1072[rbp]
	mov	QWORD PTR -1144[rbp], rax
	lea	rax, -1072[rbp]
	mov	QWORD PTR -1152[rbp], rax
	mov	DWORD PTR -1180[rbp], 0
	jmp	.L72
.L75:
	add	DWORD PTR -1180[rbp], 1
.L73:
	mov	eax, DWORD PTR -1180[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -1152[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 43
	je	.L74
	mov	eax, DWORD PTR -1180[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -1152[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L75
.L74:
	mov	edx, DWORD PTR -1180[rbp]
	mov	rax, QWORD PTR -1144[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	getOperand
	mov	QWORD PTR -1096[rbp], rax
	cmp	QWORD PTR -1096[rbp], 0
	jne	.L76
	lea	rdi, .LC9[rip]
	call	puts@PLT
.L76:
	mov	eax, DWORD PTR -1176[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -1176[rbp], edx
	mov	rdx, QWORD PTR -1128[rbp]
	cdqe
	mov	rcx, QWORD PTR -1096[rbp]
	mov	QWORD PTR [rdx+rax*8], rcx
	mov	eax, DWORD PTR -1180[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -1152[rbp]
	add	rax, rdx
	mov	QWORD PTR -1144[rbp], rax
	mov	eax, DWORD PTR -1180[rbp]
	cdqe
	add	rax, 1
	add	QWORD PTR -1152[rbp], rax
	mov	DWORD PTR -1180[rbp], 0
.L72:
	mov	eax, DWORD PTR -1180[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -1152[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L73
	mov	rax, QWORD PTR -1128[rbp]
	mov	edx, DWORD PTR -1176[rbp]
	movsx	rdx, edx
	mov	QWORD PTR [rax+rdx*8], 0
	mov	DWORD PTR -1184[rbp], 0
	jmp	.L78
.L81:
	mov	rax, QWORD PTR -1128[rbp]
	mov	edx, DWORD PTR -1184[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	test	rax, rax
	jne	.L79
	mov	eax, DWORD PTR -1184[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L80
.L79:
	mov	rax, QWORD PTR -1128[rbp]
	mov	edx, DWORD PTR -1184[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	eax, DWORD PTR [rax]
	mov	rdx, QWORD PTR -1128[rbp]
	mov	ecx, DWORD PTR -1184[rbp]
	movsx	rcx, ecx
	mov	rdx, QWORD PTR [rdx+rcx*8]
	lea	rcx, 4[rdx]
	mov	edx, eax
	mov	rsi, rcx
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
.L80:
	add	DWORD PTR -1184[rbp], 1
.L78:
	mov	eax, DWORD PTR -1184[rbp]
	cmp	eax, DWORD PTR -1172[rbp]
	jl	.L81
	mov	rax, QWORD PTR -1128[rbp]
	mov	rdi, rax
	call	rsum
	mov	QWORD PTR -1120[rbp], rax
	mov	rax, QWORD PTR -1120[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rdx, QWORD PTR -1120[rbp]
	lea	rcx, 4[rdx]
	mov	edx, eax
	mov	rsi, rcx
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -1168[rbp], 0
	nop
.L82:
	mov	eax, DWORD PTR -1168[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -1168[rbp], edx
	mov	rdx, QWORD PTR -1120[rbp]
	cdqe
	movzx	eax, BYTE PTR 4[rdx+rax]
	test	al, al
	jne	.L82
	mov	eax, DWORD PTR -1168[rbp]
	add	eax, 3
	mov	rdx, rsp
	mov	r12, rdx
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -1112[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -1216[rbp], rdx
	mov	QWORD PTR -1208[rbp], 0
	movsx	rdx, eax
	mov	QWORD PTR -1232[rbp], rdx
	mov	QWORD PTR -1224[rbp], 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L83:
	cmp	rsp, rdx
	je	.L84
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L83
.L84:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L85
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L85:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -1104[rbp], rax
	mov	rax, QWORD PTR -1120[rbp]
	lea	rcx, 4[rax]
	mov	rax, QWORD PTR -1104[rbp]
	mov	rdx, rax
	mov	rsi, rcx
	lea	rdi, .LC13[rip]
	call	catstr
	mov	eax, DWORD PTR -1168[rbp]
	add	eax, 3
	movsx	rdx, eax
	mov	rcx, QWORD PTR -1104[rbp]
	mov	eax, DWORD PTR -1164[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -1184[rbp], 0
	jmp	.L86
.L87:
	mov	rax, QWORD PTR -1128[rbp]
	mov	edx, DWORD PTR -1184[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -1128[rbp]
	mov	edx, DWORD PTR -1184[rbp]
	movsx	rdx, edx
	mov	QWORD PTR [rax+rdx*8], 0
	add	DWORD PTR -1184[rbp], 1
.L86:
	mov	eax, DWORD PTR -1172[rbp]
	sub	eax, 1
	cmp	DWORD PTR -1184[rbp], eax
	jl	.L87
	mov	rsp, r12
	mov	rsp, rbx
	jmp	.L88
.L63:
	cmp	DWORD PTR -1156[rbp], 0
	je	.L93
.L88:
	jmp	.L89
.L92:
	nop
	jmp	.L65
.L93:
	nop
.L65:
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -40[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L91
	call	__stack_chk_fail@PLT
.L91:
	lea	rsp, -32[rbp]
	pop	rbx
	pop	r12
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	main, .-main
	.globl	getType
	.type	getType, @function
getType:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	is_int
	test	eax, eax
	je	.L95
	mov	eax, 0
	jmp	.L96
.L95:
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	is_ptr
	test	eax, eax
	je	.L97
	mov	eax, 1
	jmp	.L96
.L97:
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	is_str
	test	eax, eax
	je	.L98
	mov	eax, 2
	jmp	.L96
.L98:
	mov	eax, -1
.L96:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	getType, .-getType
	.globl	is_int
	.type	is_int, @function
is_int:
.LFB15:
	.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 -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L100
.L104:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L101
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jle	.L102
.L101:
	mov	eax, 0
	jmp	.L103
.L102:
	add	DWORD PTR -4[rbp], 1
.L100:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L104
	mov	eax, 1
.L103:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	is_int, .-is_int
	.globl	is_ptr
	.type	is_ptr, @function
is_ptr:
.LFB16:
	.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 -28[rbp], esi
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 48
	je	.L106
	mov	eax, 0
	jmp	.L107
.L106:
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 48
	je	.L108
	mov	eax, 0
	jmp	.L107
.L108:
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	cmp	al, 120
	je	.L109
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	cmp	al, 88
	je	.L109
	mov	eax, 0
	jmp	.L107
.L109:
	mov	DWORD PTR -4[rbp], 3
	jmp	.L110
.L115:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 64
	jle	.L111
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 70
	jle	.L112
.L111:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 96
	jle	.L113
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 102
	jle	.L112
.L113:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L114
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jle	.L112
.L114:
	mov	eax, 0
	jmp	.L107
.L112:
	add	DWORD PTR -4[rbp], 1
.L110:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L115
	mov	eax, 1
.L107:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	is_ptr, .-is_ptr
	.globl	is_str
	.type	is_str, @function
is_str:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	is_int
	test	eax, eax
	jne	.L117
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	is_ptr
	test	eax, eax
	jne	.L117
	mov	eax, 1
	jmp	.L118
.L117:
	mov	eax, 0
.L118:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	is_str, .-is_str
	.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	"648077.c"
	.text
	.align	2
	.global	cntstr
	.syntax unified
	.arm
	.fpu softvfp
	.type	cntstr, %function
cntstr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	cntstr, .-cntstr
	.align	2
	.global	catstr
	.syntax unified
	.arm
	.fpu softvfp
	.type	catstr, %function
catstr:
	@ 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, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L6
.L7:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L6:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L7
	b	.L8
.L9:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L8:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	catstr, .-catstr
	.align	2
	.global	getOperand
	.syntax unified
	.arm
	.fpu softvfp
	.type	getOperand, %function
getOperand:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	add	r3, r3, #5
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L13
	mov	r3, #0
	b	.L12
.L14:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	add	r3, r3, #4
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L13:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L14
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	add	r3, r3, #4
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	getType
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	getOperand, .-getOperand
	.align	2
	.global	deleteOperand
	.syntax unified
	.arm
	.fpu softvfp
	.type	deleteOperand, %function
deleteOperand:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L18
	ldr	r0, [fp, #-8]
	bl	free
	b	.L15
.L18:
	nop
.L15:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	deleteOperand, .-deleteOperand
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	rsum
	.syntax unified
	.arm
	.fpu softvfp
	.type	rsum, %function
rsum:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-48]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L20
	mov	r3, #0
	b	.L21
.L20:
	ldr	r3, [fp, #-48]
	add	r3, r3, #4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L22
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	b	.L21
.L22:
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L23
.L24:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L23:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	somma
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	ip, [fp, #-36]
	mov	r3, sp
	mov	r4, r3
	sub	r3, ip, #1
	str	r3, [fp, #-24]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-28]
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-40]
	b	.L25
.L26:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-40]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L25:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L26
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-40]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r0, [fp, #-20]
	bl	rsum
	mov	r3, r0
	mov	sp, r4
.L21:
	ldr	r2, .L28
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC0
	.size	rsum, .-rsum
	.align	2
	.global	shiftPtr
	.syntax unified
	.arm
	.fpu softvfp
	.type	shiftPtr, %function
shiftPtr:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	shiftPtr, .-shiftPtr
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"%d      %d     \012\000"
	.align	2
.LC3:
	.ascii	"00x%x\000"
	.align	2
.LC4:
	.ascii	"\012L'OPERAZIONE NON SI PUO FARE\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	somma
	.syntax unified
	.arm
	.fpu softvfp
	.type	somma, %function
somma:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #104
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	ldr	r3, .L49
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	bne	.L33
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	bne	.L33
	mov	r3, #0
	b	.L32
.L33:
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	bne	.L35
	ldr	r3, [fp, #-116]
	b	.L32
.L35:
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	bne	.L36
	ldr	r3, [fp, #-112]
	b	.L32
.L36:
	ldr	r3, [fp, #-112]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L37
	ldr	r3, [fp, #-116]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L37
	ldr	r3, [fp, #-112]
	add	r3, r3, #4
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-88]
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-92]
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-96]
	str	r3, [fp, #-100]
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L38
.L39:
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-100]
	ldr	r2, .L49+4
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-100]
.L38:
	ldr	r3, [fp, #-100]
	cmp	r3, #0
	bgt	.L39
	ldr	ip, [fp, #-104]
	mov	r3, sp
	mov	r4, r3
	sub	r3, ip, #1
	str	r3, [fp, #-68]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-64]
	ldr	r2, [fp, #-96]
	ldr	r1, .L49+8
	ldr	r0, [fp, #-64]
	bl	sprintf
	ldr	r1, [fp, #-104]
	ldr	r0, [fp, #-64]
	bl	getOperand
	mov	r3, r0
	mov	sp, r4
	b	.L32
.L37:
	ldr	r3, [fp, #-112]
	ldr	r3, [r3]
	cmp	r3, #2
	beq	.L40
	ldr	r3, [fp, #-116]
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L41
.L40:
	mov	r3, sp
	mov	r5, r3
	ldr	r3, [fp, #-112]
	add	r3, r3, #4
	mov	r0, r3
	bl	cntstr
	mov	r4, r0
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	mov	r0, r3
	bl	cntstr
	mov	r3, r0
	add	r3, r4, r3
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	add	ip, r3, #1
	sub	r3, ip, #1
	str	r3, [fp, #-24]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-112]
	add	r0, r3, #4
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r2, [fp, #-20]
	mov	r1, r3
	bl	catstr
	ldr	r0, [fp, #-20]
	bl	cntstr
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	getOperand
	mov	r3, r0
	mov	sp, r5
	b	.L32
.L41:
	ldr	r3, [fp, #-112]
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L42
	ldr	r3, [fp, #-116]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L42
	ldr	r3, [fp, #-112]
	add	r3, r3, #4
	add	r3, r3, #3
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	str	r0, [fp, #-72]
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-60]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-56]
	b	.L43
.L44:
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-72]
	ldr	r2, .L49+4
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-72]
.L43:
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bgt	.L44
	ldr	r3, [fp, #-76]
	add	r3, r3, #3
	str	r3, [fp, #-76]
	ldr	r2, [fp, #-76]
	ldr	r1, [fp, #-56]
	ldr	r0, .L49+12
	bl	printf
	ldr	ip, [fp, #-76]
	mov	r3, sp
	mov	r4, r3
	sub	r3, ip, #1
	str	r3, [fp, #-52]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-48]
	ldr	r2, [fp, #-56]
	ldr	r1, .L49+16
	ldr	r0, [fp, #-48]
	bl	sprintf
	ldr	r1, [fp, #-76]
	ldr	r0, [fp, #-48]
	bl	getOperand
	mov	r3, r0
	mov	sp, r4
	b	.L32
.L42:
	ldr	r3, [fp, #-112]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L45
	ldr	r3, [fp, #-116]
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L45
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	add	r3, r3, #3
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	str	r0, [fp, #-80]
	ldr	r3, [fp, #-112]
	add	r3, r3, #4
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-40]
	b	.L46
.L47:
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-80]
	ldr	r2, .L49+4
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-80]
.L46:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bgt	.L47
	ldr	r3, [fp, #-84]
	add	r3, r3, #3
	str	r3, [fp, #-84]
	ldr	r2, [fp, #-84]
	ldr	r1, [fp, #-40]
	ldr	r0, .L49+12
	bl	printf
	ldr	ip, [fp, #-84]
	mov	r3, sp
	mov	r4, r3
	sub	r3, ip, #1
	str	r3, [fp, #-36]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-40]
	ldr	r1, .L49+16
	ldr	r0, [fp, #-32]
	bl	sprintf
	ldr	r1, [fp, #-84]
	ldr	r0, [fp, #-32]
	bl	getOperand
	mov	r3, r0
	mov	sp, r4
	b	.L32
.L45:
	ldr	r0, .L49+20
	bl	puts
.L32:
	ldr	r2, .L49
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L48
	bl	__stack_chk_fail
.L48:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC5
	.word	1717986919
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	somma, .-somma
	.section	.rodata
	.align	2
.LC6:
	.ascii	"127.0.0.1\000"
	.align	2
.LC7:
	.ascii	"SUM\000"
	.align	2
.LC8:
	.ascii	"CLOSE\000"
	.align	2
.LC9:
	.ascii	"Data size:%d received from server: %s\012\000"
	.align	2
.LC10:
	.ascii	"#operandi %d\012\000"
	.align	2
.LC11:
	.ascii	"Null returned\000"
	.align	2
.LC12:
	.ascii	"operando %d \303\250 nullo\012\000"
	.align	2
.LC13:
	.ascii	"operando: %s; type: %d\012\000"
	.align	2
.LC14:
	.ascii	"Risultato = {val: %s, type: %d}\012In attesa di nuo"
	.ascii	"ve istruzioni...\000"
	.align	2
.LC15:
	.ascii	"RES\000"
	.align	2
.LC16:
	.ascii	"Arrivederci stronzi!!!\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #1104
	sub	sp, sp, #8
	ldr	r3, .L77
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L77+4
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #2
	mov	r1, #0
	bl	setvbuf
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-1092]
	sub	r3, fp, #12
	sub	r3, r3, #1040
	sub	r3, r3, #4
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	ldr	r0, .L77+8
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #12
	sub	r3, r3, #1040
	sub	r3, r3, #4
	strh	r2, [r3, #2]	@ movhi
	ldr	r0, .L77+12
	bl	inet_addr
	mov	r3, r0
	str	r3, [fp, #-1052]
	sub	r3, fp, #1040
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r3, r3, #8
	mov	r2, #8
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #16
	str	r3, [fp, #-1088]
	sub	r3, fp, #1040
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [fp, #-1088]
	mov	r1, r3
	ldr	r0, [fp, #-1092]
	bl	connect
	mov	r0, #100
	bl	usleep
	mov	r2, #3
	ldr	r1, .L77+16
	ldr	r0, [fp, #-1092]
	bl	write
	mov	r0, #100
	bl	usleep
.L72:
	mov	r0, #100
	bl	usleep
	sub	r1, fp, #1024
	sub	r1, r1, #12
	sub	r1, r1, #4
	mov	r3, #0
	mov	r2, #1024
	ldr	r0, [fp, #-1092]
	bl	recv
	str	r0, [fp, #-1084]
	mov	r0, #100
	bl	usleep
	ldr	r3, [fp, #-1084]
	cmn	r3, #1
	beq	.L52
	ldr	r3, [fp, #-1084]
	cmp	r3, #0
	beq	.L52
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L77+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L75
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [fp, #-1084]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-1084]
	add	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-1028]
	ldr	r3, [fp, #-1084]
	add	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-1028]
	ldr	r3, [fp, #-1084]
	add	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-1028]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, [fp, #-1084]
	ldr	r0, .L77+24
	bl	printf
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [fp, #-1100]
	mov	r3, #0
	str	r3, [fp, #-1104]
	b	.L55
.L57:
	ldr	r3, [fp, #-1100]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #43
	bne	.L56
	ldr	r3, [fp, #-1104]
	add	r3, r3, #1
	str	r3, [fp, #-1104]
.L56:
	ldr	r3, [fp, #-1100]
	add	r3, r3, #1
	str	r3, [fp, #-1100]
.L55:
	ldr	r3, [fp, #-1100]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L57
	ldr	r3, [fp, #-1104]
	add	r3, r3, #1
	str	r3, [fp, #-1104]
	ldr	r3, [fp, #-1104]
	add	r3, r3, #1
	str	r3, [fp, #-1104]
	ldr	r1, [fp, #-1104]
	ldr	r0, .L77+28
	bl	printf
	ldr	ip, [fp, #-1104]
	mov	r3, sp
	mov	r4, r3
	sub	r3, ip, #1
	str	r3, [fp, #-1080]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-1076]
	mov	r3, #0
	str	r3, [fp, #-1108]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [fp, #-1100]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [fp, #-1112]
	mov	r3, #0
	str	r3, [fp, #-1116]
	b	.L58
.L61:
	ldr	r3, [fp, #-1116]
	add	r3, r3, #1
	str	r3, [fp, #-1116]
.L59:
	ldr	r3, [fp, #-1116]
	ldr	r2, [fp, #-1112]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #43
	beq	.L60
	ldr	r3, [fp, #-1116]
	ldr	r2, [fp, #-1112]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L61
.L60:
	ldr	r1, [fp, #-1116]
	ldr	r0, [fp, #-1100]
	bl	getOperand
	str	r0, [fp, #-1060]
	ldr	r3, [fp, #-1060]
	cmp	r3, #0
	bne	.L62
	ldr	r0, .L77+32
	bl	puts
.L62:
	ldr	r3, [fp, #-1108]
	add	r2, r3, #1
	str	r2, [fp, #-1108]
	ldr	r2, [fp, #-1076]
	ldr	r1, [fp, #-1060]
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-1116]
	add	r3, r3, #1
	ldr	r2, [fp, #-1112]
	add	r3, r2, r3
	str	r3, [fp, #-1100]
	ldr	r3, [fp, #-1116]
	add	r3, r3, #1
	ldr	r2, [fp, #-1112]
	add	r3, r2, r3
	str	r3, [fp, #-1112]
	mov	r3, #0
	str	r3, [fp, #-1116]
.L58:
	ldr	r3, [fp, #-1116]
	ldr	r2, [fp, #-1112]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L59
	ldr	r3, [fp, #-1076]
	ldr	r2, [fp, #-1108]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	mov	r3, #0
	str	r3, [fp, #-1120]
	b	.L64
.L67:
	ldr	r3, [fp, #-1076]
	ldr	r2, [fp, #-1120]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L65
	ldr	r1, [fp, #-1120]
	ldr	r0, .L77+36
	bl	printf
	b	.L66
.L65:
	ldr	r3, [fp, #-1076]
	ldr	r2, [fp, #-1120]
	ldr	r3, [r3, r2, lsl #2]
	add	r1, r3, #4
	ldr	r3, [fp, #-1076]
	ldr	r2, [fp, #-1120]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L77+40
	bl	printf
.L66:
	ldr	r3, [fp, #-1120]
	add	r3, r3, #1
	str	r3, [fp, #-1120]
.L64:
	ldr	r2, [fp, #-1120]
	ldr	r3, [fp, #-1104]
	cmp	r2, r3
	blt	.L67
	ldr	r0, [fp, #-1076]
	bl	rsum
	str	r0, [fp, #-1072]
	ldr	r3, [fp, #-1072]
	add	r1, r3, #4
	ldr	r3, [fp, #-1072]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L77+44
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-1096]
	nop
.L68:
	ldr	r3, [fp, #-1096]
	add	r2, r3, #1
	str	r2, [fp, #-1096]
	ldr	r2, [fp, #-1072]
	add	r3, r2, r3
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L68
	ldr	r3, [fp, #-1096]
	add	ip, r3, #3
	mov	r3, sp
	mov	r5, r3
	sub	r3, ip, #1
	str	r3, [fp, #-1068]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-1064]
	ldr	r3, [fp, #-1072]
	add	r3, r3, #4
	ldr	r2, [fp, #-1064]
	mov	r1, r3
	ldr	r0, .L77+48
	bl	catstr
	ldr	r3, [fp, #-1096]
	add	r3, r3, #3
	mov	r2, r3
	ldr	r1, [fp, #-1064]
	ldr	r0, [fp, #-1092]
	bl	write
	mov	r3, #0
	str	r3, [fp, #-1120]
	b	.L69
.L70:
	ldr	r3, [fp, #-1076]
	ldr	r2, [fp, #-1120]
	ldr	r3, [r3, r2, lsl #2]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-1076]
	ldr	r2, [fp, #-1120]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-1120]
	add	r3, r3, #1
	str	r3, [fp, #-1120]
.L69:
	ldr	r3, [fp, #-1104]
	sub	r3, r3, #1
	ldr	r2, [fp, #-1120]
	cmp	r2, r3
	blt	.L70
	mov	sp, r5
	mov	sp, r4
	b	.L71
.L52:
	ldr	r3, [fp, #-1084]
	cmp	r3, #0
	beq	.L76
.L71:
	b	.L72
.L75:
	nop
	b	.L54
.L76:
	nop
.L54:
	ldr	r0, .L77+52
	bl	puts
	mov	r3, #0
	ldr	r2, .L77
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L74
	bl	__stack_chk_fail
.L74:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L78:
	.align	2
.L77:
	.word	.LC17
	.word	stdout
	.word	7891
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.size	main, .-main
	.align	2
	.global	getType
	.syntax unified
	.arm
	.fpu softvfp
	.type	getType, %function
getType:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	is_int
	mov	r3, r0
	cmp	r3, #0
	beq	.L80
	mov	r3, #0
	b	.L81
.L80:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	is_ptr
	mov	r3, r0
	cmp	r3, #0
	beq	.L82
	mov	r3, #1
	b	.L81
.L82:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	is_str
	mov	r3, r0
	cmp	r3, #0
	beq	.L83
	mov	r3, #2
	b	.L81
.L83:
	mvn	r3, #0
.L81:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	getType, .-getType
	.align	2
	.global	is_int
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_int, %function
is_int:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L85
.L89:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L86
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bls	.L87
.L86:
	mov	r3, #0
	b	.L88
.L87:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L85:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L89
	mov	r3, #1
.L88:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	is_int, .-is_int
	.align	2
	.global	is_ptr
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_ptr, %function
is_ptr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L91
	mov	r3, #0
	b	.L92
.L91:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L93
	mov	r3, #0
	b	.L92
.L93:
	ldr	r3, [fp, #-16]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #120
	beq	.L94
	ldr	r3, [fp, #-16]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #88
	beq	.L94
	mov	r3, #0
	b	.L92
.L94:
	mov	r3, #3
	str	r3, [fp, #-8]
	b	.L95
.L100:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L96
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #70
	bls	.L97
.L96:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L98
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #102
	bls	.L97
.L98:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L99
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bls	.L97
.L99:
	mov	r3, #0
	b	.L92
.L97:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L95:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L100
	mov	r3, #1
.L92:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	is_ptr, .-is_ptr
	.align	2
	.global	is_str
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_str, %function
is_str:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	is_int
	mov	r3, r0
	cmp	r3, #0
	bne	.L102
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	is_ptr
	mov	r3, r0
	cmp	r3, #0
	bne	.L102
	mov	r3, #1
	b	.L103
.L102:
	mov	r3, #0
.L103:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	is_str, .-is_str
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
