	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_change_entry
_write_change_entry:                    ## @write_change_entry
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	(%rsi), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	jae	LBB0_7
## %bb.1:
	movq	%rdx, %r12
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	cltq
	leaq	l_switch.table.write_change_entry(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movq	8(%rbx), %rcx
	movq	_svn_node_dir@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rcx
	sete	%dl
	movq	_svn_node_file@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	sete	%al
	orb	%dl, %al
	movzbl	%al, %edi
	callq	_SVN_ERR_ASSERT
	movq	8(%rbx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_2
## %bb.3:
	movq	_SVN_FS_X__KIND_DIR@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_7:
	movq	_SVN_ERR_FS_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	(%rbx), %ecx
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_createf              ## TAILCALL
LBB0_2:
	movq	_SVN_FS_X__KIND_FILE@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_apr_psprintf
	cmpq	$0, 48(%rbx)
	movq	_FLAG_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_FLAG_FALSE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r15d
	movl	%ecx, %r13d
	cmovel	%r15d, %r13d
	cmpq	$0, 40(%rbx)
	movl	%ecx, %r14d
	cmovel	%r15d, %r14d
	movq	16(%rbx), %rdx
	movq	_svn_tristate_true@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmovel	%ecx, %r15d
	movl	32(%rbx), %edi
	movq	%r12, %rsi
	callq	_auto_escape_path
                                        ## kill: def $eax killed $eax def $rax
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%r13d, %r8d
	movl	%r14d, %r9d
	pushq	%rax
	pushq	%r15
	callq	_svn_stringbuf_createf
	addq	$16, %rsp
	movq	%rax, %r12
	movl	28(%rbx), %edi
	callq	_SVN_IS_VALID_REVNUM
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	24(%rbx), %edi
	movl	28(%rbx), %r14d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_auto_escape_path
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_apr_psprintf
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_svn_stringbuf_appendcstr
LBB0_6:
	movq	%r12, %rdi
	movl	$10, %esi
	callq	_svn_stringbuf_appendbyte
	movl	4(%r12), %eax
	movl	%eax, -44(%rbp)
	movl	(%r12), %esi
	leaq	-44(%rbp), %rdx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_svn_stream_write
	movl	%eax, %edi
	callq	_svn_error_trace
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACTION_MODIFY,8,3              ## @ACTION_MODIFY
	.comm	_ACTION_ADD,8,3                 ## @ACTION_ADD
	.comm	_ACTION_DELETE,8,3              ## @ACTION_DELETE
	.comm	_ACTION_REPLACE,8,3             ## @ACTION_REPLACE
	.comm	_SVN_ERR_FS_CORRUPT,4,2         ## @SVN_ERR_FS_CORRUPT
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"Invalid change type %d"

	.comm	_svn_node_dir,8,3               ## @svn_node_dir
	.comm	_svn_node_file,8,3              ## @svn_node_file
L_.str.2:                               ## @.str.2
	.asciz	"-%s"

	.comm	_SVN_FS_X__KIND_DIR,4,2         ## @SVN_FS_X__KIND_DIR
	.comm	_SVN_FS_X__KIND_FILE,4,2        ## @SVN_FS_X__KIND_FILE
L_.str.3:                               ## @.str.3
	.asciz	"%s%s %s %s %s %s\n"

	.comm	_FLAG_TRUE,4,2                  ## @FLAG_TRUE
	.comm	_FLAG_FALSE,4,2                 ## @FLAG_FALSE
	.comm	_svn_tristate_true,8,3          ## @svn_tristate_true
L_.str.4:                               ## @.str.4
	.asciz	"%ld %s"

	.no_dead_strip	_write_change_entry
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.write_change_entry
l_switch.table.write_change_entry:
	.quad	_ACTION_REPLACE
	.quad	_ACTION_MODIFY
	.quad	_ACTION_DELETE
	.quad	_ACTION_ADD

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_change_entry
_write_change_entry:                    ; @write_change_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x1
	ldr	w8, [x1]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hs	LBB0_4
; %bb.1:
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x9, l_switch.table.write_change_entry@PAGE
Lloh1:
	add	x9, x9, l_switch.table.write_change_entry@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	x22, [x8]
	ldr	x8, [x21, #8]
Lloh2:
	adrp	x23, _svn_node_dir@GOTPAGE
Lloh3:
	ldr	x23, [x23, _svn_node_dir@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
Lloh4:
	adrp	x9, _svn_node_file@GOTPAGE
Lloh5:
	ldr	x9, [x9, _svn_node_file@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, ne
	cset	w0, eq
	bl	_SVN_ERR_ASSERT
	ldr	x8, [x21, #8]
Lloh7:
	adrp	x9, _SVN_FS_X__KIND_DIR@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SVN_FS_X__KIND_DIR@GOTPAGEOFF]
	ldr	x10, [x23]
Lloh9:
	adrp	x11, _SVN_FS_X__KIND_FILE@GOTPAGE
Lloh10:
	ldr	x11, [x11, _SVN_FS_X__KIND_FILE@GOTPAGEOFF]
	cmp	x8, x10
	csel	x8, x9, x11, eq
	ldr	w2, [x8]
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_apr_psprintf
	mov	x23, x0
Lloh13:
	adrp	x8, _FLAG_TRUE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FLAG_TRUE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _FLAG_FALSE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _FLAG_FALSE@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	ldp	x11, x10, [x21, #40]
	cmp	x10, #0
	csel	w24, w9, w8, eq
	cmp	x11, #0
	csel	w25, w9, w8, eq
	ldr	x10, [x21, #16]
Lloh19:
	adrp	x11, _svn_tristate_true@GOTPAGE
Lloh20:
	ldr	x11, [x11, _svn_tristate_true@GOTPAGEOFF]
Lloh21:
	ldr	x11, [x11]
	cmp	x10, x11
	csel	w26, w8, w9, eq
	ldr	w0, [x21, #32]
	mov	x1, x20
	bl	_auto_escape_path
	mov	x7, x0
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	mov	x3, x23
	mov	x4, x24
	mov	x5, x25
	mov	x6, x26
	bl	_svn_stringbuf_createf
	mov	x22, x0
	ldr	w0, [x21, #28]
	bl	_SVN_IS_VALID_REVNUM
	cbz	x0, LBB0_3
; %bb.2:
	ldp	w0, w23, [x21, #24]
	mov	x1, x20
	bl	_auto_escape_path
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	bl	_apr_psprintf
	mov	x1, x0
	mov	x0, x22
	bl	_svn_stringbuf_appendcstr
LBB0_3:
	mov	x0, x22
	mov	w1, #10
	bl	_svn_stringbuf_appendbyte
	ldr	w8, [x22, #4]
	str	w8, [sp, #12]
	ldr	w1, [x22]
	add	x2, sp, #12
	mov	x0, x19
	bl	_svn_stream_write
	bl	_svn_error_trace
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_4:
Lloh26:
	adrp	x8, _SVN_ERR_FS_CORRUPT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SVN_ERR_FS_CORRUPT@GOTPAGEOFF]
Lloh28:
	ldr	w19, [x8]
Lloh29:
	adrp	x0, l_.str.1@PAGE
Lloh30:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x2, x0
	ldr	w3, [x21]
	mov	x0, x19
	mov	x1, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_svn_error_createf
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_ACTION_MODIFY,8,3              ; @ACTION_MODIFY
	.comm	_ACTION_ADD,8,3                 ; @ACTION_ADD
	.comm	_ACTION_DELETE,8,3              ; @ACTION_DELETE
	.comm	_ACTION_REPLACE,8,3             ; @ACTION_REPLACE
	.comm	_SVN_ERR_FS_CORRUPT,4,2         ; @SVN_ERR_FS_CORRUPT
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"Invalid change type %d"

	.comm	_svn_node_dir,8,3               ; @svn_node_dir
	.comm	_svn_node_file,8,3              ; @svn_node_file
l_.str.2:                               ; @.str.2
	.asciz	"-%s"

	.comm	_SVN_FS_X__KIND_DIR,4,2         ; @SVN_FS_X__KIND_DIR
	.comm	_SVN_FS_X__KIND_FILE,4,2        ; @SVN_FS_X__KIND_FILE
l_.str.3:                               ; @.str.3
	.asciz	"%s%s %s %s %s %s\n"

	.comm	_FLAG_TRUE,4,2                  ; @FLAG_TRUE
	.comm	_FLAG_FALSE,4,2                 ; @FLAG_FALSE
	.comm	_svn_tristate_true,8,3          ; @svn_tristate_true
l_.str.4:                               ; @.str.4
	.asciz	"%ld %s"

	.no_dead_strip	_write_change_entry
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.write_change_entry
l_switch.table.write_change_entry:
	.quad	_ACTION_REPLACE
	.quad	_ACTION_MODIFY
	.quad	_ACTION_DELETE
	.quad	_ACTION_ADD

.subsections_via_symbols
