	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function window_consumer
_window_consumer:                       ## @window_consumer
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	32(%rsi), %esi
	callq	*40(%rbx)
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	24(%rbx), %rax
	movq	(%rax), %rcx
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	movq	_WRITE_BUFFER_SIZE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jle	LBB0_4
LBB0_2:
	movq	%rcx, -24(%rbp)
	movl	16(%rbx), %edi
	movl	8(%rax), %esi
	leaq	-24(%rbp), %rdx
	callq	_svn_stream_write
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	24(%rbx), %rdi
	callq	_svn_stringbuf_setempty
	testq	%r14, %r14
	jne	LBB0_4
## %bb.3:
	movl	16(%rbx), %edi
	callq	_svn_stream_close
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movq	_txn_body_txdelta_finalize_edits@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%rbx), %r8d
	movq	%rbx, %rdx
	callq	_svn_fs_base__retry_txn
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_4:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WRITE_BUFFER_SIZE,8,3          ## @WRITE_BUFFER_SIZE
	.comm	_txn_body_txdelta_finalize_edits,4,2 ## @txn_body_txdelta_finalize_edits
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_window_consumer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function window_consumer
_window_consumer:                       ; @window_consumer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1, #40]
	ldr	w1, [x1, #32]
	blr	x8
	bl	_SVN_ERR
	ldr	x8, [x19, #24]
	ldr	x9, [x8]
	cbz	x20, LBB0_2
; %bb.1:
Lloh0:
	adrp	x10, _WRITE_BUFFER_SIZE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _WRITE_BUFFER_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.le	LBB0_4
LBB0_2:
	str	x9, [sp, #8]
	ldr	w0, [x19, #16]
	ldr	w1, [x8, #8]
	add	x2, sp, #8
	bl	_svn_stream_write
	bl	_SVN_ERR
	ldr	x0, [x19, #24]
	bl	_svn_stringbuf_setempty
	cbnz	x20, LBB0_4
; %bb.3:
	ldr	w0, [x19, #16]
	bl	_svn_stream_close
	bl	_SVN_ERR
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _txn_body_txdelta_finalize_edits@GOTPAGE
Lloh4:
	ldr	x9, [x9, _txn_body_txdelta_finalize_edits@GOTPAGEOFF]
	ldr	w0, [x8]
Lloh5:
	ldr	w1, [x9]
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	ldr	w4, [x19]
	mov	x2, x19
	bl	_svn_fs_base__retry_txn
	bl	_SVN_ERR
LBB0_4:
Lloh9:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_WRITE_BUFFER_SIZE,8,3          ; @WRITE_BUFFER_SIZE
	.comm	_txn_body_txdelta_finalize_edits,4,2 ; @txn_body_txdelta_finalize_edits
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_window_consumer
.subsections_via_symbols
