	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function output_unified_flush_hunk
_output_unified_flush_hunk:             ## @output_unified_flush_hunk
	.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, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_svn_stringbuf_isempty
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	28(%rbx), %edi
	callq	_svn_pool_clear
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	(%rcx), %rcx
	addq	(%rax), %rcx
	addq	40(%rbx), %rcx
	movq	_unified_output_context@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_output_unified_token_range
	movl	%eax, %edi
	callq	_SVN_ERR
	testq	%r14, %r14
	leaq	L_.str(%rip), %rdx
	cmovneq	%r14, %rdx
	movq	8(%rbx), %rax
	movq	16(%rbx), %rsi
	movq	(%rax), %rcx
	movq	8(%rax), %r9
	movq	(%rsi), %r8
	cmpq	$1, %r8
	sbbq	$-1, %rcx
	movq	8(%rsi), %rax
	cmpq	$1, %rax
	sbbq	$-1, %r9
	movl	24(%rbx), %edi
	movl	32(%rbx), %esi
	movl	28(%rbx), %r10d
	subq	$8, %rsp
	pushq	%r10
	pushq	$0
	pushq	%rax
	callq	_svn_diff__unified_write_hunk_header
	addq	$32, %rsp
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	(%rbx), %rax
	movl	4(%rax), %ecx
	movl	%ecx, -20(%rbp)
	movl	24(%rbx), %edi
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	callq	_svn_stream_write
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	16(%rbx), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	movq	8(%rbx), %rax
	movups	%xmm0, (%rax)
	movq	(%rbx), %rdi
	callq	_svn_stringbuf_setempty
LBB0_2:
	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	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_unified_output_context,4,2     ## @unified_output_context
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"@@"

	.no_dead_strip	_output_unified_flush_hunk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function output_unified_flush_hunk
_output_unified_flush_hunk:             ; @output_unified_flush_hunk
	.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	x20, x1
	mov	x19, x0
	ldr	x0, [x0]
	bl	_svn_stringbuf_isempty
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19, #28]
	bl	_svn_pool_clear
	ldp	x8, x9, [x19, #8]
	ldr	x8, [x8]
	ldr	x9, [x9]
	ldr	x10, [x19, #40]
	add	x8, x9, x8
	add	x3, x8, x10
Lloh0:
	adrp	x8, _unified_output_context@GOTPAGE
Lloh1:
	ldr	x8, [x8, _unified_output_context@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_output_unified_token_range
	bl	_SVN_ERR
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	cmp	x20, #0
	csel	x2, x8, x20, eq
	ldp	x8, x9, [x19, #8]
	ldp	x10, x8, [x8]
	ldp	x4, x6, [x9]
	cmp	x4, #0
	cinc	x3, x10, ne
	cmp	x6, #0
	cinc	x5, x8, ne
	ldp	w8, w1, [x19, #28]
	ldr	w0, [x19, #24]
	str	w8, [sp]
	mov	x7, #0
	bl	_svn_diff__unified_write_hunk_header
	bl	_SVN_ERR
	ldr	x8, [x19]
	ldr	w9, [x8, #4]
	str	w9, [sp, #12]
	ldr	w0, [x19, #24]
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_svn_stream_write
	bl	_SVN_ERR
	ldr	x8, [x19, #16]
	stp	xzr, xzr, [x8]
	ldr	x8, [x19, #8]
	stp	xzr, xzr, [x8]
	ldr	x0, [x19]
	bl	_svn_stringbuf_setempty
LBB0_2:
Lloh5:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh7:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_unified_output_context,4,2     ; @unified_output_context
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"@@"

	.no_dead_strip	_output_unified_flush_hunk
.subsections_via_symbols
