	.file	"extr_v_txt.c_txt_backup.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"193|Already at the beginning of the insert"
	.text
	.p2align 4
	.type	txt_backup, @function
txt_backup:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	mov	esi, DWORD PTR _texth[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdx
	mov	edx, DWORD PTR q[rip]
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rdi, rbp
	mov	rbx, rcx
	call	TAILQ_PREV@PLT
	test	rax, rax
	je	.L11
	mov	r12, rax
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, r13
	mov	QWORD PTR [r12], rax
	call	VIP@PLT
	cmp	QWORD PTR 16[r12], 0
	jne	.L4
	cmp	QWORD PTR 24[r12], 0
	je	.L12
.L4:
	mov	esi, DWORD PTR TXT_APPENDEOL[rip]
	mov	edi, DWORD PTR [rbx]
	call	FL_CLR@PLT
.L5:
	mov	edx, DWORD PTR q[rip]
	mov	rsi, rbp
	mov	rdi, r14
	call	TAILQ_REMOVE@PLT
	mov	rdi, rbp
	call	text_free@PLT
	mov	rax, QWORD PTR 32[r12]
	mov	edx, DWORD PTR LINE_DELETE[rip]
	mov	rdi, r13
	lea	rsi, 1[rax]
	call	vs_change@PLT
	test	rax, rax
	mov	eax, 0
	cmovne	r12, rax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rax, QWORD PTR [r12]
	mov	ecx, DWORD PTR CH_CURSOR[rip]
	mov	rdx, QWORD PTR 40[r12]
	mov	DWORD PTR [rdx+rax*4], ecx
	add	rax, 1
	mov	esi, DWORD PTR TXT_APPENDEOL[rip]
	mov	QWORD PTR 24[r12], 1
	mov	edi, DWORD PTR [rbx]
	mov	QWORD PTR [r12], rax
	call	FL_SET@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L11:
	mov	esi, DWORD PTR TXT_REPLAY[rip]
	mov	edi, DWORD PTR [rbx]
	mov	r12, rbp
	call	FL_ISSET@PLT
	test	eax, eax
	jne	.L1
	mov	esi, DWORD PTR M_BERR[rip]
	lea	rdx, .LC0[rip]
	mov	rdi, r13
	call	msgq@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	txt_backup, .-txt_backup
	.comm	q,4,4
	.comm	_texth,4,4
	.comm	TXT_REPLAY,4,4
	.comm	TXT_APPENDEOL,4,4
	.comm	M_BERR,4,4
	.comm	LINE_DELETE,4,4
	.comm	CH_CURSOR,4,4
	.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_v_txt.c_txt_backup.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"193|Already at the beginning of the insert\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	txt_backup, %function
txt_backup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r9, r1
	ldr	r8, .L13
	ldr	r1, .L13+4
	mov	r5, r2
	mov	r6, r0
	ldr	r1, [r1]
	mov	r0, r2
	ldr	r2, [r8]
	mov	r7, r3
	bl	TAILQ_PREV
	subs	r4, r0, #0
	beq	.L11
	ldr	r3, [r4, #4]
	mov	r0, r6
	str	r3, [r4]
	bl	VIP
	ldr	r3, [r4, #8]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [r4, #12]
	cmp	r3, #0
	beq	.L12
.L4:
	ldr	r3, .L13+8
	ldr	r0, [r7]
	ldr	r1, [r3]
	bl	FL_CLR
.L5:
	mov	r1, r5
	ldr	r2, [r8]
	mov	r0, r9
	bl	TAILQ_REMOVE
	mov	r0, r5
	bl	text_free
	ldr	r1, [r4, #16]
	ldr	r3, .L13+12
	mov	r0, r6
	ldr	r2, [r3]
	add	r1, r1, #1
	bl	vs_change
	cmp	r0, #0
	movne	r4, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	mov	r2, #1
	ldr	r1, .L13+16
	ldr	r3, [r4]
	ldr	ip, [r1]
	ldr	r0, [r4, #20]
	ldr	r1, .L13+8
	str	ip, [r0, r3, lsl #2]
	add	r3, r3, r2
	ldr	r0, [r7]
	ldr	r1, [r1]
	str	r3, [r4]
	str	r2, [r4, #12]
	bl	FL_SET
	b	.L5
.L11:
	ldr	r3, .L13+20
	ldr	r0, [r7]
	ldr	r1, [r3]
	bl	FL_ISSET
	cmp	r0, #0
	movne	r4, r5
	bne	.L1
	ldr	r3, .L13+24
	mov	r0, r6
	ldr	r1, [r3]
	ldr	r2, .L13+28
	mov	r4, r5
	bl	msgq
	b	.L1
.L14:
	.align	2
.L13:
	.word	q
	.word	_texth
	.word	TXT_APPENDEOL
	.word	LINE_DELETE
	.word	CH_CURSOR
	.word	TXT_REPLAY
	.word	M_BERR
	.word	.LC0
	.size	txt_backup, .-txt_backup
	.comm	q,4,4
	.comm	_texth,4,4
	.comm	TXT_REPLAY,4,4
	.comm	TXT_APPENDEOL,4,4
	.comm	M_BERR,4,4
	.comm	LINE_DELETE,4,4
	.comm	CH_CURSOR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
