	.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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_newidx_fd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_buff@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	movq	_wptr@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	subq	%rsi, %rdx
	callq	_write
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	subq	(%r14), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_2:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_clearin                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_newidx_fd,4,2                  ## @newidx_fd
	.comm	_buff,8,3                       ## @buff
	.comm	_wptr,8,3                       ## @wptr
	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"written %ld bytes\n"

.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
Lloh0:
	adrp	x8, _newidx_fd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _newidx_fd@GOTPAGEOFF]
Lloh2:
	adrp	x19, _buff@GOTPAGE
Lloh3:
	ldr	x19, [x19, _buff@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	x1, [x19]
Lloh5:
	adrp	x20, _wptr@GOTPAGE
Lloh6:
	ldr	x20, [x20, _wptr@GOTPAGEOFF]
	ldr	x8, [x20]
	sub	x2, x8, x1
	bl	_write
Lloh7:
	adrp	x8, _verbosity@GOTPAGE
Lloh8:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_2
; %bb.1:
Lloh10:
	adrp	x8, _stderr@GOTPAGE
Lloh11:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	x8, [x20]
	ldr	x9, [x19]
	sub	x2, x8, x9
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_clearin
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_newidx_fd,4,2                  ; @newidx_fd
	.comm	_buff,8,3                       ; @buff
	.comm	_wptr,8,3                       ; @wptr
	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"written %ld bytes\n"

.subsections_via_symbols
