	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_source_root
_get_source_root:                       ## @get_source_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	_NUM_CACHED_SOURCE_ROOTS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_11
## %bb.1:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movslq	%ecx, %rax
	movq	%r13, %rbx
	cmpq	%rax, %r14
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	(%rax,%r14,8), %rdx
	movq	%rdx, -48(%rbp)
	movq	%rbx, (%rax,%r14,8)
	movq	-48(%rbp), %r13
	testq	%r13, %r13
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_svn_fs_revision_root_revision
	movq	_NUM_CACHED_SOURCE_ROOTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpq	%r15, %rax
	jne	LBB0_4
	jmp	LBB0_6
LBB0_11:
                                        ## implicit-def: $r13
	jne	LBB0_10
	jmp	LBB0_9
LBB0_5:
	movq	%r13, %rbx
LBB0_6:
	cmpl	%r14d, %ecx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_10
## %bb.7:
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_svn_fs_close_root
LBB0_9:
	movq	16(%r12), %rax
	movl	(%rax), %esi
	movl	8(%r12), %ecx
	leaq	-48(%rbp), %rdi
	movq	%r15, %rdx
	callq	_svn_fs_revision_root
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %r13
LBB0_10:
	movq	(%r12), %rax
	movq	%r13, (%rax)
	movq	-48(%rbp), %rax
	movq	%rax, (%r14)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_CACHED_SOURCE_ROOTS,4,2    ## @NUM_CACHED_SOURCE_ROOTS
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_get_source_root
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_source_root
_get_source_root:                       ; @get_source_root
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x25, _NUM_CACHED_SOURCE_ROOTS@GOTPAGE
Lloh1:
	ldr	x25, [x25, _NUM_CACHED_SOURCE_ROOTS@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x24, #0
	mov	x23, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	cmp	x24, w8, sxtw
	mov	x23, x22
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20]
	lsl	x10, x24, #3
	ldr	x11, [x9, x10]
	str	x11, [sp, #8]
	str	x23, [x9, x10]
	ldr	x22, [sp, #8]
	cbz	x22, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	_svn_fs_revision_root_revision
	ldr	w8, [x25]
	cmp	x0, x21
	b.ne	LBB0_2
; %bb.5:
	cmp	w8, w24
	b.eq	LBB0_8
	b	LBB0_11
LBB0_6:
                                        ; implicit-def: $x22
	cbnz	w8, LBB0_11
	b	LBB0_10
LBB0_7:
	mov	x23, x22
	cmp	w8, w24
	b.ne	LBB0_11
LBB0_8:
	cbz	x23, LBB0_10
; %bb.9:
	mov	x0, x23
	bl	_svn_fs_close_root
LBB0_10:
	ldr	x8, [x20, #16]
	ldr	w1, [x8]
	ldr	w3, [x20, #8]
	add	x0, sp, #8
	mov	x2, x21
	bl	_svn_fs_revision_root
	bl	_SVN_ERR
	ldr	x22, [sp, #8]
LBB0_11:
	ldr	x8, [x20]
	str	x22, [x8]
	ldr	x8, [sp, #8]
	str	x8, [x19]
Lloh2:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	x0, [x8]
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_CACHED_SOURCE_ROOTS,4,2    ; @NUM_CACHED_SOURCE_ROOTS
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_get_source_root
.subsections_via_symbols
