	.file	"694375.c"
	.intel_syntax noprefix
	.text
	.globl	ClearEnd
	.type	ClearEnd, @function
ClearEnd:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	r12, rdi
	mov	rdi, r12
	call	strlen@PLT
	sub	rax, 1
	lea	rbx, [r12+rax]
	jmp	.L2
.L3:
	mov	rax, rbx
	lea	rbx, -1[rax]
	mov	BYTE PTR [rax], 0
.L2:
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 32
	jle	.L3
	mov	rax, r12
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	ClearEnd, .-ClearEnd
	.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	"694375.c"
	.text
	.align	2
	.global	ClearEnd
	.syntax unified
	.arm
	.fpu softvfp
	.type	ClearEnd, %function
ClearEnd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	mov	r5, r0
	mov	r0, r5
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	add	r4, r5, r3
	b	.L2
.L3:
	mov	r3, r4
	sub	r4, r3, #1
	mov	r2, #0
	strb	r2, [r3]
.L2:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #32
	bls	.L3
	mov	r3, r5
	mov	r0, r3
	pop	{r4, r5, fp, pc}
	.size	ClearEnd, .-ClearEnd
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
