	.file	"extr_status.c_status_flush.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	status_flush
	.type	status_flush, @function
status_flush:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L12
	cmp	QWORD PTR [rdi], 0
	js	.L12
	mov	eax, DWORD PTR 8[rdi]
	test	DWORD PTR STATUS_OUTPUT_WRITE[rip], eax
	jne	.L16
.L12:
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rbp, 12[rdi]
	mov	rdi, rbp
	call	buf_defined@PLT
	test	rax, rax
	jne	.L17
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	rdi, rbp
	xor	esi, esi
	call	buf_init@PLT
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	mov	edi, eax
	jmp	ASSERT@PLT
	.cfi_endproc
.LFE0:
	.size	status_flush, .-status_flush
	.comm	STATUS_OUTPUT_WRITE,4,4
	.comm	SEEK_CUR,4,4
	.comm	M_WARN,4,4
	.comm	M_ERRNO,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_status.c_status_flush.c"
	.text
	.align	2
	.global	status_flush
	.syntax unified
	.arm
	.fpu softvfp
	.type	status_flush, %function
status_flush:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r0, #0
	bxeq	lr
	ldr	r3, [r0]
	cmp	r3, #0
	bxlt	lr
	ldr	r3, .L16
	ldr	r2, [r0, #4]
	ldr	r3, [r3]
	tst	r2, r3
	bxeq	lr
	push	{r4, lr}
	add	r4, r0, #8
	mov	r0, r4
	bl	buf_defined
	cmp	r0, #0
	popeq	{r4, pc}
	mov	r0, r4
	mov	r1, #0
	bl	buf_init
	pop	{r4, lr}
	b	ASSERT
.L17:
	.align	2
.L16:
	.word	STATUS_OUTPUT_WRITE
	.size	status_flush, .-status_flush
	.comm	STATUS_OUTPUT_WRITE,4,4
	.comm	SEEK_CUR,4,4
	.comm	M_WARN,4,4
	.comm	M_ERRNO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
