	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_svndiff_strings
_write_svndiff_strings:                 ## @write_svndiff_strings
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rcx
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	xorl	%r15d, %r15d
	cmpl	$3, %eax
	jg	LBB0_3
## %bb.1:
	movl	$4, %r15d
	subl	%eax, %r15d
	subl	%r15d, (%r14)
	addq	%r15, %rcx
	movl	(%rbx), %eax
	addl	%r15d, %eax
	movl	%eax, (%rbx)
	cmpl	$4, %eax
	jne	LBB0_3
## %bb.2:
	movb	-1(%rcx), %al
	movb	%al, 4(%rbx)
LBB0_3:
	movl	32(%rbx), %edi
	leaq	16(%rbx), %rsi
	movl	(%r14), %edx
	movq	24(%rbx), %r8
	movl	(%r8), %r9d
	callq	_svn_fs_bdb__string_append
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	$0, 16(%rbx)
	je	LBB0_5
## %bb.4:
	addl	(%r14), %r15d
	movl	%r15d, (%r14)
	addl	%r15d, 8(%rbx)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_SVN_ERR_FS_GENERAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_create               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_ERR_FS_GENERAL,4,2         ## @SVN_ERR_FS_GENERAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to get new string key"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_svndiff_strings
_write_svndiff_strings:                 ; @write_svndiff_strings
	.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
	mov	x20, x2
	mov	x3, x1
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #3
	b.gt	LBB0_3
; %bb.1:
	mov	w9, #4
	ldr	w10, [x20]
	sub	w21, w9, w8
	sub	w8, w10, w21
	str	w8, [x20]
	add	x3, x3, x21
	ldr	w8, [x19]
	add	w8, w8, w21
	str	w8, [x19]
	cmp	w8, #4
	b.ne	LBB0_4
; %bb.2:
	ldurb	w8, [x3, #-1]
	strb	w8, [x19, #4]
	b	LBB0_4
LBB0_3:
	mov	w21, #0
LBB0_4:
	ldr	w0, [x19, #32]
	add	x1, x19, #16
	ldr	w2, [x20]
	ldr	x4, [x19, #24]
	ldr	w5, [x4]
	bl	_svn_fs_bdb__string_append
	bl	_SVN_ERR
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w8, [x20]
	add	w8, w8, w21
	str	w8, [x20]
	ldr	w9, [x19, #8]
	add	w8, w9, w8
	str	w8, [x19, #8]
Lloh0:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	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
LBB0_6:
Lloh3:
	adrp	x8, _SVN_ERR_FS_GENERAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_ERR_FS_GENERAL@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	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
	b	_svn_error_create
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_ERR_FS_GENERAL,4,2         ; @SVN_ERR_FS_GENERAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to get new string key"

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