	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_base__dag_adjust_mergeinfo_count ## -- Begin function svn_fs_base__dag_adjust_mergeinfo_count
	.p2align	4, 0x90
_svn_fs_base__dag_adjust_mergeinfo_count: ## @svn_fs_base__dag_adjust_mergeinfo_count
	.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	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_svn_fs_base__dag_get_fs
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_svn_fs_base__dag_get_id
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%r15), %edi
	movq	_SVN_FS_BASE__MIN_MERGEINFO_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_svn_fs_base__test_required_feature_format
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_svn_fs_base__dag_check_mutable
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.3:
	leaq	-56(%rbp), %rdi
	movq	%r13, %r12
	movq	%r13, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %r8
	callq	_svn_fs_bdb__get_node_revision
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rdx
	addl	(%rdx), %ebx
	movl	%ebx, (%rdx)
	js	LBB0_6
## %bb.4:
	movq	(%r14), %rax
	movq	_svn_node_file@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	cmpl	$2, %ebx
	jb	LBB0_7
LBB0_6:
	movq	_SVN_ERR_FS_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movq	_APR_INT64_T_FMT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_apr_psprintf
	movq	-56(%rbp), %rcx
	movl	(%rcx), %ecx
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_svn_error_createf
	jmp	LBB0_8
LBB0_9:
	movq	_SVN_ERR_FS_NOT_MUTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_createf              ## TAILCALL
LBB0_2:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_8
LBB0_7:
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rcx
	movq	%r13, %r8
	callq	_svn_fs_bdb__put_node_revision
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mergeinfo"

	.comm	_SVN_FS_BASE__MIN_MERGEINFO_FORMAT,4,2 ## @SVN_FS_BASE__MIN_MERGEINFO_FORMAT
	.comm	_SVN_ERR_FS_NOT_MUTABLE,4,2     ## @SVN_ERR_FS_NOT_MUTABLE
L_.str.1:                               ## @.str.1
	.asciz	"Attempted mergeinfo count change on immutable node"

	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_svn_node_file,8,3              ## @svn_node_file
	.comm	_SVN_ERR_FS_CORRUPT,4,2         ## @SVN_ERR_FS_CORRUPT
L_.str.2:                               ## @.str.2
	.asciz	"Invalid value (%%%s) for node revision mergeinfo count"

	.comm	_APR_INT64_T_FMT,4,2            ## @APR_INT64_T_FMT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_base__dag_adjust_mergeinfo_count ; -- Begin function svn_fs_base__dag_adjust_mergeinfo_count
	.p2align	2
_svn_fs_base__dag_adjust_mergeinfo_count: ; @svn_fs_base__dag_adjust_mergeinfo_count
	.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	x19, x4
	mov	x20, x3
	mov	x25, x2
	mov	x24, x1
	mov	x23, x0
	bl	_svn_fs_base__dag_get_fs
	mov	x21, x0
	mov	x0, x23
	bl	_svn_fs_base__dag_get_id
	mov	x22, x0
	ldr	w0, [x20]
Lloh0:
	adrp	x8, _SVN_FS_BASE__MIN_MERGEINFO_FORMAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_FS_BASE__MIN_MERGEINFO_FORMAT@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_svn_fs_base__test_required_feature_format
	bl	_SVN_ERR
	mov	x0, x23
	mov	x1, x25
	bl	_svn_fs_base__dag_check_mutable
	cbz	w0, LBB0_5
; %bb.1:
	cbz	x24, LBB0_7
; %bb.2:
	add	x0, sp, #8
	mov	x1, x21
	mov	x2, x22
	mov	x3, x20
	mov	x4, x19
	bl	_svn_fs_bdb__get_node_revision
	bl	_SVN_ERR
	ldr	x2, [sp, #8]
	ldr	w8, [x2]
	adds	w8, w8, w24
	str	w8, [x2]
	b.mi	LBB0_6
; %bb.3:
	ldr	x9, [x23]
Lloh5:
	adrp	x10, _svn_node_file@GOTPAGE
Lloh6:
	ldr	x10, [x10, _svn_node_file@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x9, x10
	ccmp	w8, #2, #0, eq
	b.hs	LBB0_6
; %bb.4:
	mov	x0, x21
	mov	x1, x22
	mov	x3, x20
	mov	x4, x19
	bl	_svn_fs_bdb__put_node_revision
	b	LBB0_8
LBB0_5:
Lloh8:
	adrp	x8, _SVN_ERR_FS_NOT_MUTABLE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SVN_ERR_FS_NOT_MUTABLE@GOTPAGEOFF]
Lloh10:
	ldr	w19, [x8]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	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
	b	_svn_error_createf
LBB0_6:
Lloh13:
	adrp	x8, _SVN_ERR_FS_CORRUPT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SVN_ERR_FS_CORRUPT@GOTPAGEOFF]
Lloh15:
	ldr	w20, [x8]
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	mov	x1, x0
Lloh18:
	adrp	x8, _APR_INT64_T_FMT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _APR_INT64_T_FMT@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_apr_psprintf
	mov	x2, x0
	ldr	x8, [sp, #8]
	ldr	w8, [x8]
	str	x8, [sp]
	mov	x0, x20
	mov	x1, #0
	bl	_svn_error_createf
	b	LBB0_8
LBB0_7:
Lloh21:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh23:
	ldr	x0, [x8]
LBB0_8:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mergeinfo"

	.comm	_SVN_FS_BASE__MIN_MERGEINFO_FORMAT,4,2 ; @SVN_FS_BASE__MIN_MERGEINFO_FORMAT
	.comm	_SVN_ERR_FS_NOT_MUTABLE,4,2     ; @SVN_ERR_FS_NOT_MUTABLE
l_.str.1:                               ; @.str.1
	.asciz	"Attempted mergeinfo count change on immutable node"

	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_svn_node_file,8,3              ; @svn_node_file
	.comm	_SVN_ERR_FS_CORRUPT,4,2         ; @SVN_ERR_FS_CORRUPT
l_.str.2:                               ; @.str.2
	.asciz	"Invalid value (%%%s) for node revision mergeinfo count"

	.comm	_APR_INT64_T_FMT,4,2            ; @APR_INT64_T_FMT
.subsections_via_symbols
