	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_bdb__new_successor_id   ## -- Begin function svn_fs_bdb__new_successor_id
	.p2align	4, 0x90
_svn_fs_bdb__new_successor_id:          ## @svn_fs_bdb__new_successor_id
	.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	%r9, %r14
	movq	%r8, %r15
	movq	%rcx, %r13
	movq	%rdx, %rbx
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r8, %rdi
	callq	_SVN_ERR_ASSERT
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_svn_fs_base__id_node_id
	movl	%eax, %r12d
	testq	%r13, %r13
	jne	LBB0_2
## %bb.1:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_svn_fs_base__id_copy_id
	movq	%rax, %r13
LBB0_2:
	movl	%r12d, %edi
	movq	%r13, %rsi
	movq	%r15, %rdx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rcx
	callq	_svn_fs_base__id_create
	movq	%rax, %r15
	movl	(%r14), %r8d
	xorl	%edi, %edi
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%rax, %rdx
	movq	%r14, %rcx
	callq	_svn_fs_bdb__get_node_revision
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	(%rbx), %rax
	movq	_SVN_ERR_FS_ID_NOT_FOUND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_svn_error_clear
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, (%rax)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_svn_fs_base__id_unparse
	movq	%rax, %r14
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_svn_fs_base__id_unparse
	movq	%rax, %r15
	movq	_SVN_ERR_FS_ALREADY_EXISTS@GOTPCREL(%rip), %rax
	movq	%r12, %r13
	movl	(%rax), %r12d
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	(%r15), %ecx
	movl	(%r14), %r8d
	movl	(%r13), %r9d
	movl	%r12d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_createf              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_ERR_FS_ID_NOT_FOUND,8,3    ## @SVN_ERR_FS_ID_NOT_FOUND
	.comm	_SVN_ERR_FS_ALREADY_EXISTS,4,2  ## @SVN_ERR_FS_ALREADY_EXISTS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Successor id '%s' (for '%s') already exists in filesystem '%s'"

	.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_bdb__new_successor_id   ; -- Begin function svn_fs_bdb__new_successor_id
	.p2align	2
_svn_fs_bdb__new_successor_id:          ; @svn_fs_bdb__new_successor_id
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x6
	mov	x23, x5
	mov	x24, x4
	mov	x25, x3
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
	mov	x0, x4
	bl	_SVN_ERR_ASSERT
	mov	x0, x22
	bl	_svn_fs_base__id_node_id
	mov	x26, x0
	cbnz	x25, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_svn_fs_base__id_copy_id
	mov	x25, x0
LBB0_2:
	mov	x0, x26
	mov	x1, x25
	mov	x2, x24
	mov	x3, x20
	bl	_svn_fs_base__id_create
	mov	x24, x0
	ldr	w4, [x23]
	mov	x0, #0
	mov	x1, x19
	mov	x2, x24
	mov	x3, x23
	bl	_svn_fs_bdb__get_node_revision
	mov	x23, x0
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x8, [x23]
Lloh0:
	adrp	x9, _SVN_ERR_FS_ID_NOT_FOUND@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SVN_ERR_FS_ID_NOT_FOUND@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x23
	bl	_svn_error_clear
	str	x24, [x21]
Lloh3:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x22
	mov	x1, x20
	bl	_svn_fs_base__id_unparse
	mov	x21, x0
	mov	x0, x24
	mov	x1, x20
	bl	_svn_fs_base__id_unparse
	mov	x20, x0
Lloh6:
	adrp	x8, _SVN_ERR_FS_ALREADY_EXISTS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SVN_ERR_FS_ALREADY_EXISTS@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	ldr	w3, [x20]
	ldr	w4, [x21]
	ldr	w5, [x19]
	mov	x0, x22
	mov	x1, x23
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_svn_error_createf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_ERR_FS_ID_NOT_FOUND,8,3    ; @SVN_ERR_FS_ID_NOT_FOUND
	.comm	_SVN_ERR_FS_ALREADY_EXISTS,4,2  ; @SVN_ERR_FS_ALREADY_EXISTS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Successor id '%s' (for '%s') already exists in filesystem '%s'"

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