	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_wc_is_wc_root              ## -- Begin function svn_wc_is_wc_root
	.p2align	4, 0x90
_svn_wc_is_wc_root:                     ## @svn_wc_is_wc_root
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_svn_path_is_empty
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_svn_dirent_is_root
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_svn_dirent_get_absolute
	movq	%rax, %rdi
	callq	_SVN_ERR
	movq	%r12, %rdi
	callq	_svn_wc__adm_get_db
	leaq	-40(%rbp), %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	movq	%r14, %rcx
	callq	_svn_wc__context_create_with_db
	movq	%rax, %rdi
	callq	_SVN_ERR
	movq	-40(%rbp), %rsi
	movq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r14, %rcx
	callq	_svn_wc_is_wc_root2
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	(%rax), %rcx
	movq	_SVN_ERR_WC_NOT_WORKING_COPY@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_6
## %bb.5:
	movq	_SVN_ERR_WC_PATH_NOT_FOUND@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_6
LBB0_7:
	movq	%rax, %rdi
	callq	_SVN_ERR
	jmp	LBB0_8
LBB0_6:
	movq	%rax, %rdi
	callq	_svn_error_clear
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_8:
	movq	-40(%rbp), %rdi
	callq	_svn_wc_context_destroy
	movl	%eax, %edi
	callq	_svn_error_trace
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_SVN_ERR_WC_NOT_WORKING_COPY,8,3 ## @SVN_ERR_WC_NOT_WORKING_COPY
	.comm	_SVN_ERR_WC_PATH_NOT_FOUND,8,3  ## @SVN_ERR_WC_PATH_NOT_FOUND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_wc_is_wc_root              ; -- Begin function svn_wc_is_wc_root
	.p2align	2
_svn_wc_is_wc_root:                     ; @svn_wc_is_wc_root
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	mov	x0, x1
	bl	_svn_path_is_empty
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_strlen
	mov	x1, x0
	mov	x0, x22
	bl	_svn_dirent_is_root
	cbz	x0, LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh3:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_4:
	mov	x0, sp
	mov	x1, x22
	mov	x2, x20
	bl	_svn_dirent_get_absolute
	bl	_SVN_ERR
	mov	x0, x21
	bl	_svn_wc__adm_get_db
	mov	x2, x0
	add	x0, sp, #8
	mov	x1, #0
	mov	x3, x20
	bl	_svn_wc__context_create_with_db
	bl	_SVN_ERR
	ldp	x2, x1, [sp]
	mov	x0, x19
	mov	x3, x20
	bl	_svn_wc_is_wc_root2
	cbz	x0, LBB0_7
; %bb.5:
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _SVN_ERR_WC_NOT_WORKING_COPY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SVN_ERR_WC_NOT_WORKING_COPY@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _SVN_ERR_WC_PATH_NOT_FOUND@GOTPAGE
Lloh10:
	ldr	x10, [x10, _SVN_ERR_WC_PATH_NOT_FOUND@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_7
; %bb.6:
	bl	_svn_error_clear
Lloh12:
	adrp	x8, _TRUE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_8
LBB0_7:
	bl	_SVN_ERR
LBB0_8:
	ldr	x0, [sp, #8]
	bl	_svn_wc_context_destroy
	bl	_svn_error_trace
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_SVN_ERR_WC_NOT_WORKING_COPY,8,3 ; @SVN_ERR_WC_NOT_WORKING_COPY
	.comm	_SVN_ERR_WC_PATH_NOT_FOUND,8,3  ; @SVN_ERR_WC_PATH_NOT_FOUND
.subsections_via_symbols
