	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ce_write_flush
_ce_write_flush:                        ## @ce_write_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_write_buffer_len@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	xorl	%r15d, %r15d
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.1:
	movl	%esi, %r14d
	movq	_the_hash_algo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_write_buffer@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	%ebx, %edx
	callq	*(%rax)
	movl	(%r13), %esi
	movl	%r14d, %edi
	movl	%ebx, %edx
	callq	_write_in_full
	testq	%rax, %rax
	js	LBB0_2
## %bb.3:
	movl	$0, (%r12)
	jmp	LBB0_4
LBB0_2:
	movl	$-1, %r15d
LBB0_4:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_write_buffer_len,4,2           ## @write_buffer_len
	.comm	_the_hash_algo,8,3              ## @the_hash_algo
	.comm	_write_buffer,4,2               ## @write_buffer
	.no_dead_strip	_ce_write_flush
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ce_write_flush
_ce_write_flush:                        ; @ce_write_flush
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x21, _write_buffer_len@GOTPAGE
Lloh1:
	ldr	x21, [x21, _write_buffer_len@GOTPAGEOFF]
	ldr	w20, [x21]
	cbz	w20, LBB0_3
; %bb.1:
	mov	x19, x1
Lloh2:
	adrp	x8, _the_hash_algo@GOTPAGE
Lloh3:
	ldr	x8, [x8, _the_hash_algo@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh5:
	adrp	x22, _write_buffer@GOTPAGE
Lloh6:
	ldr	x22, [x22, _write_buffer@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x2, x20
	blr	x8
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	bl	_write_in_full
	tbnz	x0, #63, LBB0_4
; %bb.2:
	mov	w0, #0
	str	wzr, [x21]
	b	LBB0_5
LBB0_3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_write_buffer_len,4,2           ; @write_buffer_len
	.comm	_the_hash_algo,8,3              ; @the_hash_algo
	.comm	_write_buffer,4,2               ; @write_buffer
	.no_dead_strip	_ce_write_flush
.subsections_via_symbols
