	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_x__write_changes        ## -- Begin function svn_fs_x__write_changes
	.p2align	4, 0x90
_svn_fs_x__write_changes:               ## @svn_fs_x__write_changes
	.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	%r8, %rbx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rdi, %r14
	movq	%r8, %rdi
	callq	_svn_pool_create
	movq	%rax, %r12
	movq	_svn_sort_compare_items_lexically@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movq	%rbx, %rdx
	callq	_svn_sort__hash
	cmpl	$0, (%rax)
	jle	LBB0_3
## %bb.1:
	movq	%rax, %r13
	xorl	%ebx, %ebx
	movq	_svn_sort__item_t@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_svn_pool_clear
	movl	(%r15), %edx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_APR_ARRAY_IDX
	movq	%r14, %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	callq	_write_change_entry
	movl	%eax, %edi
	callq	_SVN_ERR
	incl	%ebx
	cmpl	(%r13), %ebx
	jl	LBB0_2
LBB0_3:
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_svn_stream_puts
LBB0_5:
	movq	%r12, %rdi
	callq	_svn_pool_destroy
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_svn_sort_compare_items_lexically,4,2 ## @svn_sort_compare_items_lexically
	.comm	_svn_sort__item_t,4,2           ## @svn_sort__item_t
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_x__write_changes        ; -- Begin function svn_fs_x__write_changes
	.p2align	2
_svn_fs_x__write_changes:               ; @svn_fs_x__write_changes
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x4
	mov	x21, x3
	mov	x23, x2
	mov	x20, x0
	mov	x0, x4
	bl	_svn_pool_create
	mov	x19, x0
Lloh0:
	adrp	x8, _svn_sort_compare_items_lexically@GOTPAGE
Lloh1:
	ldr	x8, [x8, _svn_sort_compare_items_lexically@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x23
	mov	x2, x22
	bl	_svn_sort__hash
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, x0
	mov	w23, #0
Lloh3:
	adrp	x24, _svn_sort__item_t@GOTPAGE
Lloh4:
	ldr	x24, [x24, _svn_sort__item_t@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_svn_pool_clear
	ldr	w2, [x24]
	mov	x0, x22
	mov	x1, x23
	bl	_APR_ARRAY_IDX
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	_write_change_entry
	bl	_SVN_ERR
	add	w23, w23, #1
	ldr	w8, [x22]
	cmp	w23, w8
	b.lt	LBB0_2
LBB0_3:
	cbz	x21, LBB0_5
; %bb.4:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_svn_stream_puts
LBB0_5:
	mov	x0, x19
	bl	_svn_pool_destroy
Lloh7:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_svn_sort_compare_items_lexically,4,2 ; @svn_sort_compare_items_lexically
	.comm	_svn_sort__item_t,4,2           ; @svn_sort__item_t
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
