	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function client_find_automatic_merge
_client_find_automatic_merge:           ## @client_find_automatic_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, %r14
	movq	%rcx, %r13
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	40(%rbp), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	32(%rbp), %rbx
	movq	24(%rbp), %r12
	movq	16(%rbp), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	$24, %esi
	callq	_apr_palloc
	movq	%rax, %r15
	movq	%rbx, %rdi
	movl	$48, %esi
	callq	_apr_palloc
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_svn_dirent_is_absolute
	movl	%eax, %edi
	callq	_SVN_ERR_ASSERT
	movq	%r15, %rdi
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rsi
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movq	%r14, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	%r12, %r14
	movq	%r12, %r9
	movq	%rbx, %r12
	pushq	%r13
	pushq	%rbx
	callq	_open_target_wc
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	(%r15), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	leaq	20(%r15), %rdi
	movl	4(%rax), %edx
	movq	%r14, %rcx
	movq	%r12, %r8
	movq	%r13, %r9
	callq	_svn_client_open_ra_session2
	movl	%eax, %edi
	callq	_SVN_ERR
	leaq	16(%r15), %rdi
	movq	%r15, %rsi
	addq	$8, %rsi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	%r8, %r9
	pushq	%r12
	pushq	%r14
	callq	_svn_client__ra_session_from_path2
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	8(%r15), %edi
	movq	(%r15), %rdx
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rsi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r9
	callq	_check_same_repos
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	leaq	44(%rbx), %rdi
	movq	%rbx, %rsi
	addq	$40, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	%r12, %r8
	movq	%r13, %r9
	callq	_find_automatic_merge
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	12(%r15), %eax
	movl	%eax, 36(%rbx)
	movl	8(%r15), %eax
	movl	%eax, 32(%rbx)
	movq	(%r15), %rax
	movq	%rax, 24(%rbx)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 16(%rbx)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rbx)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_SVN_ERR_CLIENT_UNRELATED_RESOURCES@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %r15d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_svn_dirent_local_style
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_createf              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_ERR_CLIENT_UNRELATED_RESOURCES,4,2 ## @SVN_ERR_CLIENT_UNRELATED_RESOURCES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't perform automatic merge into '%s' because it is locally added and therefore not related to the merge source"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_client_find_automatic_merge
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function client_find_automatic_merge
_client_find_automatic_merge:           ; @client_find_automatic_merge
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x7
	mov	x20, x6
	mov	x21, x5
	mov	x22, x4
	mov	x28, x3
	mov	x19, x2
	stp	x1, x0, [sp, #8]                ; 16-byte Folded Spill
	ldp	x27, x23, [x29, #16]
	mov	x0, x27
	mov	w1, #24
	bl	_apr_palloc
	mov	x25, x0
	mov	x0, x27
	mov	w1, #48
	bl	_apr_palloc
	mov	x26, x0
	mov	x0, x28
	bl	_svn_dirent_is_absolute
	bl	_SVN_ERR_ASSERT
	mov	x0, x25
	mov	x1, x28
	stp	x22, x21, [sp, #24]             ; 16-byte Folded Spill
	mov	x2, x22
	mov	x3, x21
	str	x20, [sp, #40]                  ; 8-byte Folded Spill
	mov	x4, x20
	mov	x5, x24
	mov	x6, x27
	mov	x7, x23
	bl	_open_target_wc
	bl	_SVN_ERR
	ldr	x8, [x25]
	ldr	w1, [x8]
	cbz	w1, LBB0_2
; %bb.1:
	add	x0, x25, #20
	ldr	w2, [x8, #4]
	mov	x3, x24
	mov	x4, x27
	mov	x5, x23
	bl	_svn_client_open_ra_session2
	bl	_SVN_ERR
	add	x0, x25, #16
	add	x1, x25, #8
	ldr	x20, [sp, #8]                   ; 8-byte Folded Reload
	mov	x2, x20
	mov	x3, #0
	mov	x4, x19
	mov	x5, x19
	mov	x6, x24
	mov	x7, x27
	bl	_svn_client__ra_session_from_path2
	bl	_SVN_ERR
	ldr	w0, [x25, #8]
	ldr	x2, [x25]
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	mov	x1, x20
	mov	x3, x28
	mov	x5, x23
	bl	_check_same_repos
	bl	_SVN_ERR
	add	x0, x26, #44
	add	x1, x26, #40
	mov	x2, x25
	mov	x3, x24
	mov	x4, x27
	mov	x5, x23
	bl	_find_automatic_merge
	bl	_SVN_ERR
	ldr	d0, [x25, #8]
	str	d0, [x26, #32]
	ldr	x9, [x25]
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	stp	x8, x9, [x26, #16]
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	stp	x8, x9, [x26]
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	str	x26, [x8]
Lloh3:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_2:
Lloh6:
	adrp	x8, _SVN_ERR_CLIENT_UNRELATED_RESOURCES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SVN_ERR_CLIENT_UNRELATED_RESOURCES@GOTPAGEOFF]
Lloh8:
	ldr	w19, [x8]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x20, x0
	mov	x0, x28
	mov	x1, x23
	bl	_svn_dirent_local_style
	mov	x3, x0
	mov	x0, x19
	mov	x1, #0
	mov	x2, x20
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_svn_error_createf
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_ERR_CLIENT_UNRELATED_RESOURCES,4,2 ; @SVN_ERR_CLIENT_UNRELATED_RESOURCES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't perform automatic merge into '%s' because it is locally added and therefore not related to the merge source"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_client_find_automatic_merge
.subsections_via_symbols
