	.file	"extr_shellCommand.c_deleteChar.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	deleteChar
	.type	deleteChar, @function
deleteChar:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 8[rdi]
	xor	edi, edi
	cmp	QWORD PTR 0[rbp], rax
	jg	.L2
	xor	edi, edi
	mov	rax, QWORD PTR 24[rbp]
	cmp	QWORD PTR 16[rbp], rax
	setge	dil
.L2:
	call	assert@PLT
	mov	rax, QWORD PTR 8[rbp]
	cmp	QWORD PTR 0[rbp], rax
	jl	.L9
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, QWORD PTR prompt_size[rip]
	mov	rsi, QWORD PTR 24[rbp]
	add	rsi, rdi
	add	rdi, QWORD PTR 16[rbp]
	call	clearScreen@PLT
	mov	rdi, QWORD PTR 32[rbp]
	mov	rsi, QWORD PTR 0[rbp]
	mov	rdx, rsp
	lea	rcx, 4[rsp]
	mov	DWORD PTR [rsp], 0
	mov	DWORD PTR 4[rsp], 0
	call	getNextCharSize@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, QWORD PTR 32[rbp]
	mov	rdx, QWORD PTR 8[rbp]
	movsx	rsi, DWORD PTR [rsp]
	add	rdi, rax
	sub	rdx, rax
	sub	rdx, rsi
	add	rsi, rdi
	call	memmove@PLT
	movsx	rax, DWORD PTR [rsp]
	sub	QWORD PTR 8[rbp], rax
	mov	rdi, rbp
	movsx	rax, DWORD PTR 4[rsp]
	sub	QWORD PTR 16[rbp], rax
	call	showOnScreen@PLT
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	deleteChar, .-deleteChar
	.comm	prompt_size,8,8
	.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_shellCommand.c_deleteChar.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	deleteChar
	.syntax unified
	.arm
	.fpu softvfp
	.type	deleteChar, %function
deleteChar:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldm	r0, {r2, r3}
	ldr	r1, .L10
	sub	sp, sp, #16
	cmp	r2, r3
	mov	r4, r0
	ldr	r1, [r1]
	str	r1, [sp, #12]
	mov	r1,#0
	movgt	r0, #0
	bgt	.L2
	ldr	r0, [r4, #8]
	ldr	r3, [r4, #12]
	cmp	r0, r3
	movlt	r0, #0
	movge	r0, #1
.L2:
	bl	assert
	ldm	r4, {r2, r3}
	cmp	r2, r3
	blt	.L8
.L1:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #16
	@ sp needed
	pop	{r4, pc}
.L8:
	ldr	r3, .L10+4
	ldr	r1, [r4, #12]
	ldr	r3, [r3]
	ldr	r0, [r4, #8]
	add	r1, r3, r1
	add	r0, r3, r0
	bl	clearScreen
	mov	ip, #0
	ldr	r1, [r4]
	add	r3, sp, #8
	add	r2, sp, #4
	ldr	r0, [r4, #16]
	str	ip, [sp, #4]
	str	ip, [sp, #8]
	bl	getNextCharSize
	ldr	r3, [r4]
	ldr	r0, [r4, #16]
	ldr	r2, [r4, #4]
	ldr	r1, [sp, #4]
	add	r0, r3, r0
	sub	r2, r2, r3
	sub	r2, r2, r1
	add	r1, r0, r1
	bl	memmove
	ldr	r2, [r4, #4]
	ldr	r0, [sp, #4]
	ldr	r3, [r4, #8]
	ldr	r1, [sp, #8]
	sub	r2, r2, r0
	sub	r3, r3, r1
	mov	r0, r4
	stmib	r4, {r2, r3}
	bl	showOnScreen
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	prompt_size
	.size	deleteChar, .-deleteChar
	.comm	prompt_size,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
