	.file	"528550.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Original: \t%s\n"
.LC1:
	.string	"Entabbed: \t%s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L2
.L3:
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -112[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	entab
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	lea	rax, -112[rbp]
	mov	esi, 100
	mov	rdi, rax
	call	my_getline
	mov	DWORD PTR -116[rbp], eax
	cmp	DWORD PTR -116[rbp], 0
	jg	.L3
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	my_getline
	.type	my_getline, @function
my_getline:
.LFB1:
	.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 -8[rbp], 0
	jmp	.L7
.L9:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -4[rbp]
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -8[rbp], 1
.L7:
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	cmp	DWORD PTR -8[rbp], eax
	jge	.L8
	call	getchar@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	je	.L8
	cmp	DWORD PTR -4[rbp], 10
	jne	.L9
.L8:
	cmp	DWORD PTR -4[rbp], 10
	jne	.L10
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -8[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 10
.L10:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	my_getline, .-my_getline
	.globl	entab
	.type	entab, @function
entab:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	QWORD PTR -152[rbp], rdi
	mov	DWORD PTR -156[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -136[rbp], 0
	mov	DWORD PTR -132[rbp], 0
	mov	DWORD PTR -120[rbp], 0
	jmp	.L13
.L21:
	cmp	DWORD PTR -124[rbp], 32
	jne	.L14
	add	DWORD PTR -120[rbp], 1
	jmp	.L15
.L16:
	add	DWORD PTR -120[rbp], 1
.L15:
	mov	eax, DWORD PTR -136[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -136[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -124[rbp], eax
	cmp	DWORD PTR -124[rbp], 32
	je	.L16
	mov	eax, DWORD PTR -120[rbp]
	cdq
	idiv	DWORD PTR -156[rbp]
	mov	DWORD PTR -116[rbp], eax
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -132[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -132[rbp], edx
	cdqe
	mov	BYTE PTR -112[rbp+rax], 9
.L17:
	mov	eax, DWORD PTR -116[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -116[rbp], edx
	test	eax, eax
	jg	.L18
	mov	eax, DWORD PTR -120[rbp]
	cdq
	idiv	DWORD PTR -156[rbp]
	mov	DWORD PTR -128[rbp], edx
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -132[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -132[rbp], edx
	cdqe
	mov	BYTE PTR -112[rbp+rax], 32
.L19:
	mov	eax, DWORD PTR -128[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -128[rbp], edx
	test	eax, eax
	jg	.L20
	mov	DWORD PTR -120[rbp], 0
.L14:
	mov	eax, DWORD PTR -132[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -132[rbp], edx
	mov	edx, DWORD PTR -124[rbp]
	cdqe
	mov	BYTE PTR -112[rbp+rax], dl
.L13:
	mov	eax, DWORD PTR -136[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -136[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -124[rbp], eax
	cmp	DWORD PTR -124[rbp], 0
	jne	.L21
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	mov	BYTE PTR -112[rbp+rax], 0
	mov	rdx, QWORD PTR -152[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	copy
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	entab, .-entab
	.globl	copy
	.type	copy, @function
copy:
.LFB3:
	.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	DWORD PTR -4[rbp], 0
	jmp	.L24
.L25:
	add	DWORD PTR -4[rbp], 1
.L24:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L25
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	copy, .-copy
	.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	"528550.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Original: \011%s\012\000"
	.align	2
.LC1:
	.ascii	"Entabbed: \011%s\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L2
.L3:
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L6+4
	bl	printf
	sub	r3, fp, #108
	mov	r1, #8
	mov	r0, r3
	bl	entab
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L6+8
	bl	printf
.L2:
	sub	r3, fp, #108
	mov	r1, #100
	mov	r0, r3
	bl	my_getline
	str	r0, [fp, #-112]
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	bgt	.L3
	mov	r3, #0
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.align	2
	.global	my_getline
	.syntax unified
	.arm
	.fpu softvfp
	.type	my_getline, %function
my_getline:
	@ 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]
	b	.L9
.L11:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L9:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bge	.L10
	bl	getchar
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	beq	.L10
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bne	.L11
.L10:
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bne	.L12
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	mov	r2, #10
	strb	r2, [r3]
.L12:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	my_getline, .-my_getline
	.global	__aeabi_idiv
	.global	__aeabi_idivmod
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	entab
	.syntax unified
	.arm
	.fpu softvfp
	.type	entab, %function
entab:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	str	r0, [fp, #-136]
	str	r1, [fp, #-140]
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-132]
	mov	r3, #0
	str	r3, [fp, #-128]
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L15
.L23:
	ldr	r3, [fp, #-120]
	cmp	r3, #32
	bne	.L16
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
	b	.L17
.L18:
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L17:
	ldr	r3, [fp, #-132]
	add	r2, r3, #1
	str	r2, [fp, #-132]
	mov	r2, r3
	ldr	r3, [fp, #-136]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #32
	beq	.L18
	ldr	r1, [fp, #-140]
	ldr	r0, [fp, #-116]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-112]
	b	.L19
.L20:
	ldr	r3, [fp, #-128]
	add	r2, r3, #1
	str	r2, [fp, #-128]
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #9
	strb	r2, [r3, #-104]
.L19:
	ldr	r3, [fp, #-112]
	sub	r2, r3, #1
	str	r2, [fp, #-112]
	cmp	r3, #0
	bgt	.L20
	ldr	r3, [fp, #-116]
	ldr	r1, [fp, #-140]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-124]
	b	.L21
.L22:
	ldr	r3, [fp, #-128]
	add	r2, r3, #1
	str	r2, [fp, #-128]
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #32
	strb	r2, [r3, #-104]
.L21:
	ldr	r3, [fp, #-124]
	sub	r2, r3, #1
	str	r2, [fp, #-124]
	cmp	r3, #0
	bgt	.L22
	mov	r3, #0
	str	r3, [fp, #-116]
.L16:
	ldr	r3, [fp, #-128]
	add	r2, r3, #1
	str	r2, [fp, #-128]
	ldr	r2, [fp, #-120]
	and	r2, r2, #255
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-104]
.L15:
	ldr	r3, [fp, #-132]
	add	r2, r3, #1
	str	r2, [fp, #-132]
	mov	r2, r3
	ldr	r3, [fp, #-136]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bne	.L23
	sub	r2, fp, #108
	ldr	r3, [fp, #-128]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #108
	ldr	r1, [fp, #-136]
	mov	r0, r3
	bl	copy
	nop
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC3
	.size	entab, .-entab
	.align	2
	.global	copy
	.syntax unified
	.arm
	.fpu softvfp
	.type	copy, %function
copy:
	@ 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	.L28
.L29:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L28:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L29
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	copy, .-copy
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
