	.file	"extr_cl_funcs.c_cl_deleteln.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	cl_deleteln
	.type	cl_deleteln, @function
cl_deleteln:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	CLP@PLT
	mov	rdi, rbp
	call	CLSP@PLT
	mov	r12, QWORD PTR stdscr[rip]
	test	rax, rax
	je	.L3
	mov	rdi, rbp
	call	CLSP@PLT
	mov	r12, rax
.L3:
	mov	esi, DWORD PTR SC_SCR_EXWROTE[rip]
	mov	rdi, rbp
	call	F_ISSET@PLT
	test	eax, eax
	je	.L13
.L5:
	mov	rdi, r12
	call	wdeleteln@PLT
	cmp	QWORD PTR ERR[rip], rax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	sete	al
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	movzx	eax, al
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rdi, rbp
	call	IS_SPLIT@PLT
	test	rax, rax
	je	.L5
	xor	r14d, r14d
	xor	r13d, r13d
	mov	rdi, r12
	mov	rdx, r14
	mov	rsi, r13
	call	getyx@PLT
	mov	rdi, rbp
	mov	ebx, DWORD PTR A_NORMAL[rip]
	call	LASTLINE@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	RLNO@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	xor	r9d, r9d
	mov	r8d, ebx
	push	0
	.cfi_def_cfa_offset 64
	mov	esi, eax
	mov	ecx, -1
	xor	edx, edx
	mov	rdi, r12
	call	mvwchgat@PLT
	mov	rdx, r14
	mov	rsi, r13
	mov	rdi, r12
	call	wmove@PLT
	pop	rax
	.cfi_def_cfa_offset 56
	pop	rdx
	.cfi_def_cfa_offset 48
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	cl_deleteln, .-cl_deleteln
	.comm	stdscr,8,8
	.comm	SC_SCR_EXWROTE,4,4
	.comm	ERR,8,8
	.comm	A_NORMAL,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_cl_funcs.c_cl_deleteln.c"
	.text
	.align	2
	.global	cl_deleteln
	.syntax unified
	.arm
	.fpu softvfp
	.type	cl_deleteln, %function
cl_deleteln:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	sub	sp, sp, #16
	bl	CLP
	mov	r0, r4
	bl	CLSP
	cmp	r0, #0
	beq	.L2
	mov	r0, r4
	bl	CLSP
	mov	r6, r0
.L3:
	ldr	r3, .L13
	mov	r0, r4
	ldr	r1, [r3]
	bl	F_ISSET
	subs	r5, r0, #0
	beq	.L12
.L5:
	mov	r0, r6
	bl	wdeleteln
	ldr	r3, .L13+4
	ldr	r3, [r3]
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, .L13+8
	ldr	r6, [r3]
	b	.L3
.L12:
	mov	r0, r4
	bl	IS_SPLIT
	cmp	r0, #0
	beq	.L5
	mov	r8, #0
	mov	r0, r6
	mov	r2, r8
	mov	r1, r8
	bl	getyx
	mov	r0, r4
	bl	LASTLINE
	mov	r1, r0
	mov	r0, r4
	bl	RLNO
	ldr	r3, .L13+12
	mov	r1, r0
	ldr	r3, [r3]
	mov	r2, r5
	str	r3, [sp]
	mov	r0, r6
	mvn	r3, #0
	str	r5, [sp, #8]
	str	r5, [sp, #4]
	bl	mvwchgat
	mov	r2, r8
	mov	r1, r8
	mov	r0, r6
	bl	wmove
	b	.L5
.L14:
	.align	2
.L13:
	.word	SC_SCR_EXWROTE
	.word	ERR
	.word	stdscr
	.word	A_NORMAL
	.size	cl_deleteln, .-cl_deleteln
	.comm	stdscr,4,4
	.comm	SC_SCR_EXWROTE,4,4
	.comm	ERR,4,4
	.comm	A_NORMAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
