	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ensure_wc_is_suitable_merge_target
_ensure_wc_is_suitable_merge_target:    ## @ensure_wc_is_suitable_merge_target
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r13
	leaq	-64(%rbp), %rsi
	movq	%r9, %rdx
	callq	_svn_io_check_path
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rax
	movq	_svn_node_none@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_SVN_ERR_WC_PATH_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %ebx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_svn_dirent_local_style
	movslq	%eax, %rcx
	movl	%r15d, %edi
	xorl	%esi, %esi
	movl	%ebx, %edx
	jmp	LBB0_5
LBB0_2:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	8(%r15), %esi
	movq	_FALSE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	leaq	-64(%rbp), %rdi
	movq	%r13, %rdx
	movl	%ecx, %r8d
	movq	%r14, %r9
	callq	_svn_wc_read_kind2
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rax
	movq	_svn_node_dir@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.3:
	movq	_svn_node_file@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.4:
	movq	_SVN_ERR_ILLEGAL_TARGET@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	movq	%r13, %rcx
LBB0_5:
	xorl	%eax, %eax
	callq	_svn_error_createf
LBB0_21:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	testq	%r12, %r12
	je	LBB0_7
LBB0_14:
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_15
LBB0_17:
	testq	%rbx, %rbx
	jne	LBB0_20
## %bb.18:
	movl	8(%r15), %esi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r15), %r9d
	movl	4(%r15), %r8d
	movq	%r14, (%rsp)
	leaq	-56(%rbp), %rdi
	movq	%r13, %rdx
	callq	_svn_wc__has_local_mods
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	$0, -56(%rbp)
	je	LBB0_20
## %bb.19:
	movq	_SVN_ERR_CLIENT_NOT_READY_TO_MERGE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_11
LBB0_7:
	movl	(%rbx), %ecx
	leaq	-48(%rbp), %rdi
	leaq	-44(%rbp), %rsi
	movq	%r13, %rdx
	movq	%r15, %r8
	movq	%r14, %r9
	callq	_svn_client_min_max_revisions
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	-48(%rbp), %edi
	callq	_SVN_IS_VALID_REVNUM
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	-44(%rbp), %edi
	callq	_SVN_IS_VALID_REVNUM
	testq	%rax, %rax
	je	LBB0_9
## %bb.12:
	movl	-48(%rbp), %eax
	cmpl	-44(%rbp), %eax
	je	LBB0_14
## %bb.13:
	movq	_SVN_ERR_CLIENT_MERGE_UPDATE_REQUIRED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movslq	-48(%rbp), %rcx
	movl	-44(%rbp), %r8d
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_svn_error_createf
	jmp	LBB0_21
LBB0_15:
	movl	8(%r15), %esi
	leaq	-56(%rbp), %rdi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_svn_wc__has_switched_subtrees
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	$0, -56(%rbp)
	je	LBB0_17
## %bb.16:
	movq	_SVN_ERR_CLIENT_NOT_READY_TO_MERGE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_11
LBB0_9:
	movl	8(%r15), %esi
	leaq	-56(%rbp), %rdi
	movq	%r13, %rdx
	movq	%r14, %rcx
	callq	_svn_wc__node_is_added
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	$0, -56(%rbp)
	je	LBB0_10
LBB0_20:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_21
LBB0_10:
	movq	_SVN_ERR_CLIENT_NOT_READY_TO_MERGE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.2(%rip), %rdi
LBB0_11:
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_svn_error_create
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_svn_node_none,8,3              ## @svn_node_none
	.comm	_SVN_ERR_WC_PATH_NOT_FOUND,4,2  ## @SVN_ERR_WC_PATH_NOT_FOUND
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Path '%s' does not exist"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_svn_node_dir,8,3               ## @svn_node_dir
	.comm	_svn_node_file,8,3              ## @svn_node_file
	.comm	_SVN_ERR_ILLEGAL_TARGET,4,2     ## @SVN_ERR_ILLEGAL_TARGET
L_.str.1:                               ## @.str.1
	.asciz	"Merge target '%s' does not exist in the working copy"

	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_SVN_ERR_CLIENT_NOT_READY_TO_MERGE,4,2 ## @SVN_ERR_CLIENT_NOT_READY_TO_MERGE
L_.str.2:                               ## @.str.2
	.asciz	"Cannot determine revision of working copy"

	.comm	_SVN_ERR_CLIENT_MERGE_UPDATE_REQUIRED,4,2 ## @SVN_ERR_CLIENT_MERGE_UPDATE_REQUIRED
L_.str.3:                               ## @.str.3
	.asciz	"Cannot merge into mixed-revision working copy [%ld:%ld]; try updating first"

L_.str.4:                               ## @.str.4
	.asciz	"Cannot merge into a working copy with a switched subtree"

	.comm	_TRUE,4,2                       ## @TRUE
L_.str.5:                               ## @.str.5
	.asciz	"Cannot merge into a working copy that has local modifications"

	.no_dead_strip	_ensure_wc_is_suitable_merge_target
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ensure_wc_is_suitable_merge_target
_ensure_wc_is_suitable_merge_target:    ; @ensure_wc_is_suitable_merge_target
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x5
	mov	x23, x4
	mov	x22, x3
	mov	x24, x2
	mov	x21, x1
	mov	x19, x0
	add	x1, sp, #24
	mov	x2, x5
	bl	_svn_io_check_path
	bl	_SVN_ERR
	ldr	x8, [sp, #24]
Lloh0:
	adrp	x9, _svn_node_none@GOTPAGE
Lloh1:
	ldr	x9, [x9, _svn_node_none@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _SVN_ERR_WC_PATH_NOT_FOUND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_ERR_WC_PATH_NOT_FOUND@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x22, x0
	mov	x0, x19
	mov	x1, x20
	bl	_svn_dirent_local_style
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x3, w0
	mov	x0, x21
	mov	x1, #0
	mov	x2, x22
	bl	_svn_error_createf
	b	LBB0_19
LBB0_2:
	ldr	w1, [x21, #8]
Lloh8:
	adrp	x25, _FALSE@GOTPAGE
Lloh9:
	ldr	x25, [x25, _FALSE@GOTPAGEOFF]
	ldr	w3, [x25]
	add	x0, sp, #24
	mov	x2, x19
	mov	x4, x3
	mov	x5, x20
	bl	_svn_wc_read_kind2
	bl	_SVN_ERR
	ldr	x8, [sp, #24]
Lloh10:
	adrp	x9, _svn_node_dir@GOTPAGE
Lloh11:
	ldr	x9, [x9, _svn_node_dir@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
Lloh13:
	adrp	x10, _svn_node_file@GOTPAGE
Lloh14:
	ldr	x10, [x10, _svn_node_file@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_8
; %bb.3:
	cbz	x24, LBB0_9
LBB0_4:
	cbz	x23, LBB0_13
LBB0_5:
	cbnz	x22, LBB0_16
; %bb.6:
	ldp	w4, w1, [x21, #4]
Lloh16:
	adrp	x8, _TRUE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	ldr	w5, [x21]
	add	x0, sp, #8
	mov	x2, x19
	mov	x6, x20
	bl	_svn_wc__has_local_mods
	bl	_SVN_ERR
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_16
; %bb.7:
Lloh19:
	adrp	x8, _SVN_ERR_CLIENT_NOT_READY_TO_MERGE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SVN_ERR_CLIENT_NOT_READY_TO_MERGE@GOTPAGEOFF]
Lloh21:
	ldr	w19, [x8]
Lloh22:
	adrp	x0, l_.str.5@PAGE
Lloh23:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_18
LBB0_8:
Lloh24:
	adrp	x8, _SVN_ERR_ILLEGAL_TARGET@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SVN_ERR_ILLEGAL_TARGET@GOTPAGEOFF]
Lloh26:
	ldr	w20, [x8]
Lloh27:
	adrp	x0, l_.str.1@PAGE
Lloh28:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x20
	mov	x1, #0
	mov	x3, x19
	bl	_svn_error_createf
	b	LBB0_19
LBB0_9:
	ldr	w3, [x25]
	add	x0, sp, #20
	add	x1, sp, #16
	mov	x2, x19
	mov	x4, x21
	mov	x5, x20
	bl	_svn_client_min_max_revisions
	bl	_SVN_ERR
	ldr	w0, [sp, #20]
	bl	_SVN_IS_VALID_REVNUM
	cbz	x0, LBB0_15
; %bb.10:
	ldr	w0, [sp, #16]
	bl	_SVN_IS_VALID_REVNUM
	cbz	x0, LBB0_15
; %bb.11:
	ldp	w9, w8, [sp, #16]
	cmp	w8, w9
	b.eq	LBB0_4
; %bb.12:
Lloh29:
	adrp	x8, _SVN_ERR_CLIENT_MERGE_UPDATE_REQUIRED@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SVN_ERR_CLIENT_MERGE_UPDATE_REQUIRED@GOTPAGEOFF]
Lloh31:
	ldr	w19, [x8]
Lloh32:
	adrp	x0, l_.str.3@PAGE
Lloh33:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	mov	x2, x0
	ldp	w8, w3, [sp, #16]
                                        ; kill: def $w3 killed $w3 def $x3
	sxtw	x3, w3
	str	x8, [sp]
	mov	x0, x19
	mov	x1, #0
	bl	_svn_error_createf
	b	LBB0_19
LBB0_13:
	ldr	w1, [x21, #8]
	add	x0, sp, #8
	mov	x2, x19
	mov	x3, #0
	mov	x4, x20
	bl	_svn_wc__has_switched_subtrees
	bl	_SVN_ERR
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_5
; %bb.14:
Lloh34:
	adrp	x8, _SVN_ERR_CLIENT_NOT_READY_TO_MERGE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SVN_ERR_CLIENT_NOT_READY_TO_MERGE@GOTPAGEOFF]
Lloh36:
	ldr	w19, [x8]
Lloh37:
	adrp	x0, l_.str.4@PAGE
Lloh38:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_18
LBB0_15:
	ldr	w1, [x21, #8]
	add	x0, sp, #8
	mov	x2, x19
	mov	x3, x20
	bl	_svn_wc__node_is_added
	bl	_SVN_ERR
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_17
LBB0_16:
Lloh39:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh40:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh41:
	ldr	x0, [x8]
	b	LBB0_19
LBB0_17:
Lloh42:
	adrp	x8, _SVN_ERR_CLIENT_NOT_READY_TO_MERGE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _SVN_ERR_CLIENT_NOT_READY_TO_MERGE@GOTPAGEOFF]
Lloh44:
	ldr	w19, [x8]
Lloh45:
	adrp	x0, l_.str.2@PAGE
Lloh46:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_18:
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	bl	_svn_error_create
LBB0_19:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_svn_node_none,8,3              ; @svn_node_none
	.comm	_SVN_ERR_WC_PATH_NOT_FOUND,4,2  ; @SVN_ERR_WC_PATH_NOT_FOUND
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Path '%s' does not exist"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_svn_node_dir,8,3               ; @svn_node_dir
	.comm	_svn_node_file,8,3              ; @svn_node_file
	.comm	_SVN_ERR_ILLEGAL_TARGET,4,2     ; @SVN_ERR_ILLEGAL_TARGET
l_.str.1:                               ; @.str.1
	.asciz	"Merge target '%s' does not exist in the working copy"

	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_SVN_ERR_CLIENT_NOT_READY_TO_MERGE,4,2 ; @SVN_ERR_CLIENT_NOT_READY_TO_MERGE
l_.str.2:                               ; @.str.2
	.asciz	"Cannot determine revision of working copy"

	.comm	_SVN_ERR_CLIENT_MERGE_UPDATE_REQUIRED,4,2 ; @SVN_ERR_CLIENT_MERGE_UPDATE_REQUIRED
l_.str.3:                               ; @.str.3
	.asciz	"Cannot merge into mixed-revision working copy [%ld:%ld]; try updating first"

l_.str.4:                               ; @.str.4
	.asciz	"Cannot merge into a working copy with a switched subtree"

	.comm	_TRUE,4,2                       ; @TRUE
l_.str.5:                               ; @.str.5
	.asciz	"Cannot merge into a working copy that has local modifications"

	.no_dead_strip	_ensure_wc_is_suitable_merge_target
.subsections_via_symbols
