	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flush
_flush:                                 ## @flush
	.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	_input_offset@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.1:
	movq	_output_fd@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	js	LBB0_3
## %bb.2:
	movq	_input_buffer@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_write_or_die
	movq	(%r14), %rdx
LBB0_3:
	movq	_the_hash_algo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_input_buffer@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	_input_ctx@GOTPCREL(%rip), %rdi
	callq	*(%rax)
	movq	(%rbx), %rdi
	movq	(%r14), %rsi
	addq	%rdi, %rsi
	movq	_input_len@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memmove
	movq	$0, (%r14)
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_input_offset,8,3               ## @input_offset
	.comm	_output_fd,8,3                  ## @output_fd
	.comm	_input_buffer,8,3               ## @input_buffer
	.comm	_the_hash_algo,8,3              ## @the_hash_algo
	.comm	_input_ctx,4,2                  ## @input_ctx
	.comm	_input_len,4,2                  ## @input_len
	.no_dead_strip	_flush
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flush
_flush:                                 ; @flush
	.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	x19, _input_offset@GOTPAGE
Lloh1:
	ldr	x19, [x19, _input_offset@GOTPAGEOFF]
	ldr	x2, [x19]
	cbz	x2, LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _output_fd@GOTPAGE
Lloh3:
	ldr	x8, [x8, _output_fd@GOTPAGEOFF]
Lloh4:
	ldr	x0, [x8]
Lloh5:
	adrp	x20, _input_buffer@GOTPAGE
Lloh6:
	ldr	x20, [x20, _input_buffer@GOTPAGEOFF]
	tbnz	x0, #63, LBB0_3
; %bb.2:
	ldr	x1, [x20]
	bl	_write_or_die
	ldr	x2, [x19]
LBB0_3:
Lloh7:
	adrp	x8, _the_hash_algo@GOTPAGE
Lloh8:
	ldr	x8, [x8, _the_hash_algo@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x1, [x20]
Lloh10:
	adrp	x0, _input_ctx@GOTPAGE
Lloh11:
	ldr	x0, [x0, _input_ctx@GOTPAGEOFF]
	blr	x8
	ldr	x0, [x20]
	ldr	x8, [x19]
	add	x1, x8, x0
Lloh12:
	adrp	x8, _input_len@GOTPAGE
Lloh13:
	ldr	x8, [x8, _input_len@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	bl	_memmove
	str	xzr, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_input_offset,8,3               ; @input_offset
	.comm	_output_fd,8,3                  ; @output_fd
	.comm	_input_buffer,8,3               ; @input_buffer
	.comm	_the_hash_algo,8,3              ; @the_hash_algo
	.comm	_input_ctx,4,2                  ; @input_ctx
	.comm	_input_len,4,2                  ; @input_len
	.no_dead_strip	_flush
.subsections_via_symbols
