	.file	"extr_message.c_delete_first_msg.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	delete_first_msg
	.type	delete_first_msg, @function
delete_first_msg:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR msg_hist_len[rip], 0
	jle	.L9
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, QWORD PTR first_msg_hist[rip]
	mov	rax, QWORD PTR 8[rbp]
	mov	QWORD PTR first_msg_hist[rip], rax
	test	rax, rax
	je	.L10
.L4:
	mov	rdi, QWORD PTR 0[rbp]
	call	vim_free@PLT
	mov	rdi, rbp
	call	vim_free@PLT
	mov	eax, DWORD PTR OK[rip]
	sub	QWORD PTR msg_hist_len[rip], 1
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore 6
	mov	eax, DWORD PTR FAIL[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	QWORD PTR last_msg_hist[rip], 0
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	delete_first_msg, .-delete_first_msg
	.comm	msg_hist_len,8,8
	.comm	last_msg_hist,8,8
	.comm	first_msg_hist,8,8
	.comm	OK,4,4
	.comm	FAIL,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_message.c_delete_first_msg.c"
	.text
	.align	2
	.global	delete_first_msg
	.syntax unified
	.arm
	.fpu softvfp
	.type	delete_first_msg, %function
delete_first_msg:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r4, .L8
	ldr	r3, [r4]
	cmp	r3, #0
	ble	.L7
	ldr	r2, .L8+4
	ldr	r5, [r2]
	ldr	r3, [r5, #4]
	ldr	r0, [r5]
	cmp	r3, #0
	str	r3, [r2]
	ldreq	r2, .L8+8
	streq	r3, [r2]
	bl	vim_free
	mov	r0, r5
	bl	vim_free
	ldr	r3, [r4]
	ldr	r2, .L8+12
	sub	r3, r3, #1
	ldr	r0, [r2]
	str	r3, [r4]
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r3, .L8+16
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	msg_hist_len
	.word	first_msg_hist
	.word	last_msg_hist
	.word	OK
	.word	FAIL
	.size	delete_first_msg, .-delete_first_msg
	.comm	msg_hist_len,4,4
	.comm	last_msg_hist,4,4
	.comm	first_msg_hist,4,4
	.comm	OK,4,4
	.comm	FAIL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
