	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_fs__rev_get_root        ## -- Begin function svn_fs_fs__rev_get_root
	.p2align	4, 0x90
_svn_fs_fs__rev_get_root:               ## @svn_fs_fs__rev_get_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, %r15
	movl	%edx, %ebx
	movq	%rsi, %r13
	movq	%rdi, %r14
	movl	%edx, -44(%rbp)
	movq	(%rsi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%edx, %edi
	movq	%r8, %rdx
	callq	_svn_fs_fs__ensure_revision_exists
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%r13, %rdi
	callq	_svn_fs_fs__use_log_addressing
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_svn_fs_fs__id_create_root
LBB0_4:
	movq	%rax, (%r14)
	jmp	LBB0_5
LBB0_2:
	movq	$0, -56(%rbp)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	leaq	-88(%rbp), %rsi
	leaq	-44(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r15, %rbx
	movq	%r15, %r8
	callq	_svn_cache__get
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	$0, -88(%rbp)
	je	LBB0_3
LBB0_5:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	-44(%rbp), %edx
	leaq	-64(%rbp), %rdi
	movq	%r13, %rsi
	movq	%r12, %rcx
	movq	%r12, %r8
	callq	_svn_fs_fs__open_pack_or_rev_file
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rdx
	movl	-44(%rbp), %r8d
	leaq	-68(%rbp), %rdi
	xorl	%esi, %esi
	movq	%r13, %rcx
	movq	%r12, %r9
	callq	_get_root_changes_offset
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rsi
	movl	-44(%rbp), %ecx
	movl	-68(%rbp), %r8d
	leaq	-56(%rbp), %rdi
	movq	%r13, %rdx
	movq	%rbx, %r9
	callq	_get_fs_id_at_offset
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rdi
	callq	_svn_fs_fs__close_revision_file
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	-56(%rbp), %rdx
	leaq	-44(%rbp), %rsi
	movq	%r12, %rcx
	callq	_svn_cache__set
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_fs__rev_get_root        ; -- Begin function svn_fs_fs__rev_get_root
	.p2align	2
_svn_fs_fs__rev_get_root:               ; @svn_fs_fs__rev_get_root
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x20, x4
	mov	x21, x3
	mov	x23, x2
	mov	x22, x1
	mov	x19, x0
	str	w2, [sp, #44]
	ldr	x24, [x1]
	mov	x0, x2
	mov	x2, x4
	bl	_svn_fs_fs__ensure_revision_exists
	bl	_SVN_ERR
	mov	x0, x22
	bl	_svn_fs_fs__use_log_addressing
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x23
	mov	x1, x21
	bl	_svn_fs_fs__id_create_root
	str	x0, [x19]
	b	LBB0_4
LBB0_2:
	str	xzr, [sp, #16]
	ldr	w2, [x24]
	add	x1, sp, #8
	add	x3, sp, #44
	mov	x0, x19
	mov	x4, x21
	bl	_svn_cache__get
	bl	_SVN_ERR
	ldr	x8, [sp, #8]
	cbnz	x8, LBB0_4
; %bb.3:
	ldr	w2, [sp, #44]
	add	x0, sp, #32
	mov	x1, x22
	mov	x3, x20
	mov	x4, x20
	bl	_svn_fs_fs__open_pack_or_rev_file
	bl	_SVN_ERR
	ldr	x2, [sp, #32]
	ldr	w4, [sp, #44]
	add	x0, sp, #28
	mov	x1, #0
	mov	x3, x22
	mov	x5, x20
	bl	_get_root_changes_offset
	bl	_SVN_ERR
	ldr	x1, [sp, #32]
	ldr	w3, [sp, #44]
	ldr	w4, [sp, #28]
	add	x0, sp, #16
	mov	x2, x22
	mov	x5, x21
	bl	_get_fs_id_at_offset
	bl	_SVN_ERR
	ldr	x0, [sp, #32]
	bl	_svn_fs_fs__close_revision_file
	bl	_SVN_ERR
	ldr	w0, [x24]
	ldr	x2, [sp, #16]
	add	x1, sp, #44
	mov	x3, x20
	bl	_svn_cache__set
	bl	_SVN_ERR
	ldr	x8, [sp, #16]
	str	x8, [x19]
LBB0_4:
Lloh0:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
