	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_root_noderev
_validate_root_noderev:                 ## @validate_root_noderev
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	leaq	-1(%rdx), %r13
	xorl	%edi, %edi
	testq	%rdx, %rdx
	setg	%dil
	callq	_SVN_ERR_ASSERT
	leaq	-60(%rbp), %r14
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_svn_fs_x__init_rev_root
	leaq	-56(%rbp), %rdi
	movq	%r12, %rsi
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%rbx, %rcx
	movq	%rbx, %r8
	callq	_svn_fs_x__get_node_revision
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rax
	movl	(%rax), %ebx
	movl	(%r12), %eax
	subl	%ebx, %eax
	cmpl	$1, %eax
	jne	LBB0_1
## %bb.2:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_SVN_ERR_FS_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	(%r12), %r9d
	movq	%r15, (%rsp)
	movl	$1, %r8d
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	movl	%ebx, %ecx
	callq	_svn_error_createf
LBB0_3:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_ERR_FS_CORRUPT,4,2         ## @SVN_ERR_FS_CORRUPT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"predecessor count for the root node-revision is wrong: found (%d+%ld != %d), committing r%ld"

	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_validate_root_noderev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_root_noderev
_validate_root_noderev:                 ; @validate_root_noderev
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	sub	x23, x2, #1
	cmp	x2, #0
	cset	w0, gt
	bl	_SVN_ERR_ASSERT
	add	x0, sp, #12
	mov	x1, x23
	bl	_svn_fs_x__init_rev_root
	mov	x0, sp
	add	x2, sp, #12
	mov	x1, x22
	mov	x3, x21
	mov	x4, x21
	bl	_svn_fs_x__get_node_revision
	bl	_SVN_ERR
	ldr	x8, [sp]
	ldr	w21, [x8]
	ldr	w8, [x20]
	sub	w8, w8, w21
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _SVN_ERR_FS_CORRUPT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_ERR_FS_CORRUPT@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	ldr	w5, [x20]
	mov	x0, x22
	mov	x1, #0
	mov	x3, x21
	mov	w4, #1
	mov	x6, x19
	bl	_svn_error_createf
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_ERR_FS_CORRUPT,4,2         ; @SVN_ERR_FS_CORRUPT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"predecessor count for the root node-revision is wrong: found (%d+%ld != %d), committing r%ld"

	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_validate_root_noderev
.subsections_via_symbols
