	.file	"extr_msg-index-part.c_flushout.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	flushout
	.type	flushout, @function
flushout:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR rptr[rip]
	mov	rdx, QWORD PTR wptr[rip]
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rsi, QWORD PTR 16[rax]
	mov	rcx, QWORD PTR 16[rdx]
	cmp	rsi, rcx
	jl	.L5
.L2:
	mov	rcx, QWORD PTR Buff[rip]
	mov	rcx, QWORD PTR 16[rcx]
	mov	QWORD PTR 16[rdx], rcx
	mov	QWORD PTR 16[rax], rcx
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	ebx, ecx
	mov	edi, 1
	sub	ebx, esi
	mov	edx, ebx
	call	write@PLT
	xor	edi, edi
	cmp	ebx, eax
	sete	dil
	call	assert@PLT
	mov	rdx, QWORD PTR wptr[rip]
	mov	rax, QWORD PTR rptr[rip]
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	flushout, .-flushout
	.comm	wptr,8,8
	.comm	rptr,8,8
	.comm	Buff,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_msg-index-part.c_flushout.c"
	.text
	.align	2
	.global	flushout
	.syntax unified
	.arm
	.fpu softvfp
	.type	flushout, %function
flushout:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L6
	ldr	r6, .L6+4
	ldr	r3, [r5]
	ldr	r0, [r6]
	ldr	r1, [r3, #8]
	ldr	r2, [r0, #8]
	cmp	r1, r2
	blt	.L5
.L2:
	ldr	r2, .L6+8
	ldr	r2, [r2]
	ldr	r2, [r2, #8]
	str	r2, [r0, #8]
	str	r2, [r3, #8]
	pop	{r4, r5, r6, pc}
.L5:
	sub	r4, r2, r1
	mov	r2, r4
	mov	r0, #1
	bl	write
	sub	r0, r4, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	ldr	r0, [r6]
	ldr	r3, [r5]
	b	.L2
.L7:
	.align	2
.L6:
	.word	rptr
	.word	wptr
	.word	Buff
	.size	flushout, .-flushout
	.comm	wptr,4,4
	.comm	rptr,4,4
	.comm	Buff,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
