	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fs_merge
_fs_merge:                              ## @fs_merge
	.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	%r9, %r13
	movq	%rcx, %rbx
	movq	%rsi, %r14
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	24(%rbp), %r12
	movq	%r12, %rdi
	callq	_svn_stringbuf_create_empty
	cmpl	$0, 8(%rbx)
	je	LBB0_10
## %bb.1:
	movq	%rax, %r15
	movl	4(%r14), %eax
	cmpl	4(%r13), %eax
	jne	LBB0_11
## %bb.2:
	cmpl	%eax, 4(%rbx)
	jne	LBB0_11
## %bb.3:
	leaq	-64(%rbp), %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_get_root
	movl	%eax, %edi
	callq	_SVN_ERR
	leaq	-72(%rbp), %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_get_root
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	4(%r13), %esi
	movl	(%rbx), %edx
	leaq	-56(%rbp), %rdi
	movq	%r12, %rcx
	callq	_svn_fs_fs__open_txn
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rdi
	movq	-72(%rbp), %rsi
	movq	-56(%rbp), %rdx
	movq	%r15, %rcx
	movq	%r12, %r8
	callq	_merge_changes
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.5:
	movq	_SVN_ERR_FS_CONFLICT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, (%rax)
	jne	LBB0_7
## %bb.6:
	movq	(%r15), %rcx
	movq	%rcx, (%rdx)
LBB0_7:
	movq	%rax, %rdi
	callq	_svn_error_trace
	jmp	LBB0_9
LBB0_11:
	movq	_SVN_ERR_FS_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%ebx, %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_create               ## TAILCALL
LBB0_10:
	movq	%rbx, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SVN_FS__NOT_TXN                ## TAILCALL
LBB0_8:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_ERR_FS_CORRUPT,4,2         ## @SVN_ERR_FS_CORRUPT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bad merge; ancestor, source, and target not all in same fs"

	.comm	_SVN_ERR_FS_CONFLICT,8,3        ## @SVN_ERR_FS_CONFLICT
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_fs_merge
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fs_merge
_fs_merge:                              ; @fs_merge
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x21, x7
	mov	x23, x5
	mov	x22, x3
	mov	x24, x1
	mov	x19, x0
	mov	x0, x7
	bl	_svn_stringbuf_create_empty
	ldr	w8, [x22, #8]
	cbz	w8, LBB0_9
; %bb.1:
	ldr	w8, [x24, #4]
	ldr	w9, [x23, #4]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.2:
	ldr	w9, [x22, #4]
	cmp	w9, w8
	b.ne	LBB0_8
; %bb.3:
	mov	x20, x0
	add	x0, sp, #16
	mov	x1, x23
	mov	x2, x21
	bl	_get_root
	bl	_SVN_ERR
	add	x0, sp, #24
	mov	x1, x24
	mov	x2, x21
	bl	_get_root
	bl	_SVN_ERR
	ldr	w1, [x23, #4]
	ldr	w2, [x22]
	add	x0, sp, #8
	mov	x3, x21
	bl	_svn_fs_fs__open_txn
	bl	_SVN_ERR
	ldp	x0, x1, [sp, #16]
	ldr	x2, [sp, #8]
	mov	x3, x20
	mov	x4, x21
	bl	_merge_changes
	cbz	x0, LBB0_10
; %bb.4:
	cbz	x19, LBB0_7
; %bb.5:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SVN_ERR_FS_CONFLICT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SVN_ERR_FS_CONFLICT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	ldr	x8, [x20]
	str	x8, [x19]
LBB0_7:
	bl	_svn_error_trace
	b	LBB0_11
LBB0_8:
Lloh3:
	adrp	x8, _SVN_ERR_FS_CORRUPT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_ERR_FS_CORRUPT@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, #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
	add	sp, sp, #96
	b	_svn_error_create
LBB0_9:
	mov	x0, x22
	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
	add	sp, sp, #96
	b	_SVN_FS__NOT_TXN
LBB0_10:
Lloh8:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	x0, [x8]
LBB0_11:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_ERR_FS_CORRUPT,4,2         ; @SVN_ERR_FS_CORRUPT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bad merge; ancestor, source, and target not all in same fs"

	.comm	_SVN_ERR_FS_CONFLICT,8,3        ; @SVN_ERR_FS_CONFLICT
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_fs_merge
.subsections_via_symbols
