	.file	"extr_cmdcons.c_ClearCommandLine.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ClearCommandLine, @function
ClearCommandLine:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	mov	esi, ecx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edi
	mov	edi, edx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	xor	ebx, ebx
	call	CONSOLE_SetCursorXY@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, 32
	add	rbx, 1
	call	CONSOLE_ConOutChar@PLT
.L2:
	mov	edi, ebp
	call	strlen@PLT
	cmp	rax, rbx
	jg	.L3
	mov	edi, ebp
	mov	rdx, r14
	xor	esi, esi
	call	memset@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	esi, r13d
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	edi, r12d
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	CONSOLE_SetCursorXY@PLT
	.cfi_endproc
.LFE0:
	.size	ClearCommandLine, .-ClearCommandLine
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_cmdcons.c_ClearCommandLine.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ClearCommandLine, %function
ClearCommandLine:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r8, r1
	mov	r0, r2
	mov	r1, r3
	mov	r6, r2
	mov	r7, r3
	mov	r4, #0
	bl	CONSOLE_SetCursorXY
	b	.L2
.L3:
	mov	r0, #32
	bl	CONSOLE_ConOutChar
	add	r4, r4, #1
.L2:
	mov	r0, r5
	bl	strlen
	cmp	r0, r4
	bgt	.L3
	mov	r2, r8
	mov	r0, r5
	mov	r1, #0
	bl	memset
	mov	r1, r7
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	CONSOLE_SetCursorXY
	.size	ClearCommandLine, .-ClearCommandLine
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
