	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flushout                       ## -- Begin function flushout
	.p2align	4, 0x90
_flushout:                              ## @flushout
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	8(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	movq	16(%rdi), %rdx
	subq	%rsi, %rdx
	je	LBB0_6
## %bb.2:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	js	LBB0_6
## %bb.3:
	shrq	$2, %rdx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_xwrite
	testq	%rax, %rax
	jns	LBB0_5
## %bb.4:
	movq	_OUTPUT_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%rbx)
LBB0_5:
	movq	8(%rbx), %rax
	movq	%rax, 16(%rbx)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OUTPUT_ERR,4,2                 ## @OUTPUT_ERR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flushout                       ; -- Begin function flushout
	.p2align	2
_flushout:                              ; @flushout
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x1, [x0, #8]
	cbz	x1, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #16]
	subs	x8, x8, x1
	b.eq	LBB0_6
; %bb.2:
	ldr	x0, [x19]
	tbnz	x0, #63, LBB0_6
; %bb.3:
	lsr	x2, x8, #2
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_xwrite
	tbz	x0, #63, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _OUTPUT_ERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OUTPUT_ERR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19, #24]
	orr	w8, w9, w8
	str	w8, [x19, #24]
LBB0_5:
	ldr	x8, [x19, #8]
	str	x8, [x19, #16]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OUTPUT_ERR,4,2                 ; @OUTPUT_ERR
.subsections_via_symbols
