	.file	"95450695.c"
	.intel_syntax noprefix
	.text
	.globl	read_line
	.type	read_line, @function
read_line:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -20[rbp], 0
	nop
.L2:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	getchar@PLT
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L2
	jmp	.L3
.L6:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jge	.L4
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -20[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -24[rbp]
	mov	BYTE PTR [rax], dl
.L4:
	call	getchar@PLT
	mov	DWORD PTR -24[rbp], eax
.L3:
	cmp	DWORD PTR -24[rbp], 10
	je	.L5
	cmp	DWORD PTR -24[rbp], -1
	jne	.L6
.L5:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -20[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	read_line, .-read_line
	.section	.rodata
.LC0:
	.string	"pause"
.LC1:
	.string	"Input nome programma: "
	.align 8
.LC2:
	.string	"TD [0] or LAUNCH [tasto a caso]: "
	.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	system@PLT
	cmp	DWORD PTR -52[rbp], 1
	jle	.L9
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rax, -41[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L10
.L9:
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -41[rbp]
	mov	esi, 9
	mov	rdi, rax
	call	read_line
.L10:
	lea	rax, -32[rbp]
	mov	DWORD PTR [rax], 1836278132
	mov	WORD PTR 4[rax], 32
	lea	rdx, -41[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -32[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 1836278062
	mov	BYTE PTR 4[rax], 0
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	system@PLT
	lea	rdi, .LC0[rip]
	call	system@PLT
	lea	rax, -32[rbp]
	mov	DWORD PTR [rax], 1852402804
	mov	WORD PTR 4[rax], 8299
	mov	BYTE PTR 6[rax], 0
	lea	rdx, -41[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -32[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 1784835886
	mov	BYTE PTR 4[rax], 0
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	system@PLT
	lea	rdi, .LC0[rip]
	call	system@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L11:
	call	getchar@PLT
	cmp	eax, 10
	je	.L11
	call	getchar@PLT
	cmp	eax, 48
	jne	.L12
	lea	rax, -32[rbp]
	mov	DWORD PTR [rax], 2122868
	lea	rdx, -41[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -32[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 1702389038
	mov	BYTE PTR 4[rax], 0
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	system@PLT
	jmp	.L13
.L12:
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	system@PLT
.L13:
	lea	rdi, .LC0[rip]
	call	system@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"95450695.c"
	.text
	.align	2
	.global	read_line
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_line, %function
read_line:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-16]
	nop
.L2:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getchar
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L2
	b	.L3
.L6:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bge	.L4
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r2, [fp, #-20]
	and	r2, r2, #255
	strb	r2, [r3]
.L4:
	bl	getchar
	str	r0, [fp, #-20]
.L3:
	ldr	r3, [fp, #-20]
	cmp	r3, #10
	beq	.L5
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	bne	.L6
.L5:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	read_line, .-read_line
	.section	.rodata
	.align	2
.LC0:
	.ascii	"pause\000"
	.align	2
.LC1:
	.ascii	"Input nome programma: \000"
	.align	2
.LC2:
	.ascii	"tasm \000"
	.align	2
.LC3:
	.ascii	".asm\000"
	.align	2
.LC4:
	.ascii	"tlink \000"
	.align	2
.LC5:
	.ascii	".obj\000"
	.align	2
.LC6:
	.ascii	"TD [0] or LAUNCH [tasto a caso]: \000"
	.align	2
.LC7:
	.ascii	".exe\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L16+4
	bl	system
	ldr	r3, [fp, #-48]
	cmp	r3, #1
	ble	.L9
	ldr	r3, [fp, #-52]
	add	r3, r3, #4
	ldr	r2, [r3]
	sub	r3, fp, #40
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	b	.L10
.L9:
	ldr	r0, .L16+8
	bl	printf
	sub	r3, fp, #40
	mov	r1, #9
	mov	r0, r3
	bl	read_line
.L10:
	sub	r3, fp, #28
	ldr	r2, .L16+12
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	sub	r2, fp, #40
	sub	r3, fp, #28
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #28
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #28
	add	r3, r3, r2
	ldr	r2, .L16+16
	mov	r0, r3
	mov	r1, r2
	mov	r3, #5
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #28
	mov	r0, r3
	bl	system
	ldr	r0, .L16+4
	bl	system
	sub	r3, fp, #28
	ldr	r2, .L16+20
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r1, #16
	strb	r2, [r3]
	sub	r2, fp, #40
	sub	r3, fp, #28
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #28
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #28
	add	r3, r3, r2
	ldr	r2, .L16+24
	mov	r0, r3
	mov	r1, r2
	mov	r3, #5
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #28
	mov	r0, r3
	bl	system
	ldr	r0, .L16+4
	bl	system
	ldr	r0, .L16+28
	bl	printf
	nop
.L11:
	bl	getchar
	mov	r3, r0
	cmp	r3, #10
	beq	.L11
	bl	getchar
	mov	r3, r0
	cmp	r3, #48
	bne	.L12
	sub	r3, fp, #28
	ldr	r2, .L16+32
	str	r2, [r3]
	sub	r2, fp, #40
	sub	r3, fp, #28
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #28
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #28
	add	r3, r3, r2
	ldr	r2, .L16+36
	mov	r0, r3
	mov	r1, r2
	mov	r3, #5
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #28
	mov	r0, r3
	bl	system
	b	.L13
.L12:
	sub	r3, fp, #28
	mov	r0, r3
	bl	system
.L13:
	ldr	r0, .L16+4
	bl	system
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	2122868
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
