	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function txn_body_dag_init_fs
_txn_body_dag_init_fs:                  ## @txn_body_dag_init_fs
	.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	%rsi, %rbx
	movq	_SVN_INVALID_REVNUM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)
	movq	8(%rsi), %r14
	movl	(%rsi), %ecx
	leaq	L_.str(%rip), %r12
	movq	%r12, %rdi
	movq	%r12, %rsi
	movq	%r12, %rdx
	callq	_svn_fs_base__id_create
	movq	%rax, %r15
	leaq	-96(%rbp), %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_svn_node_dir@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -96(%rbp)
	movl	(%rbx), %r8d
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	callq	_svn_fs_bdb__put_node_revision
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	(%rbx), %r8d
	leaq	-48(%rbp), %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	callq	_svn_fs_bdb__create_txn
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rdi
	movq	%r12, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_SVN_ERR_FS_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_2
LBB0_3:
	movl	(%rbx), %ecx
	leaq	-56(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_svn_fs_bdb__reserve_copy_id
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_SVN_ERR_FS_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_2
LBB0_5:
	movq	-56(%rbp), %rsi
	movq	_copy_kind_real@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	(%rbx), %eax
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r15, %r8
	pushq	%rax
	pushq	%rbx
	callq	_svn_fs_bdb__create_copy
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rax
	movq	%rax, -80(%rbp)
	movl	(%rbx), %r8d
	leaq	-72(%rbp), %rdi
	leaq	-80(%rbp), %rdx
	movq	%r14, %rsi
	movq	%rbx, %rcx
	callq	_svn_fs_bdb__put_rev
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	$0, -72(%rbp)
	je	LBB0_7
## %bb.6:
	movq	_SVN_ERR_FS_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.4(%rip), %rdi
LBB0_2:
	callq	__
	movl	(%r14), %ecx
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_svn_error_createf
LBB0_8:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	-48(%rbp), %rsi
	movl	(%rbx), %r8d
	movq	%r14, %rdi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	callq	_svn_fs_base__txn_make_committed
	movl	%eax, %edi
	callq	_SVN_ERR
	xorl	%eax, %eax
	callq	_apr_time_now
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_svn_time_to_cstring
	movl	%eax, -64(%rbp)
	movl	%eax, %edi
	callq	_strlen
	movl	%eax, -60(%rbp)
	movq	_SVN_PROP_REVISION_DATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %eax
	subq	$8, %rsp
	leaq	-64(%rbp), %r8
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movq	%rbx, %r9
	pushq	%rax
	callq	_svn_fs_base__set_rev_prop
	addq	$16, %rsp
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_INVALID_REVNUM,8,3         ## @SVN_INVALID_REVNUM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0"

	.comm	_svn_node_dir,4,2               ## @svn_node_dir
L_.str.1:                               ## @.str.1
	.asciz	"/"

	.comm	_SVN_ERR_FS_CORRUPT,4,2         ## @SVN_ERR_FS_CORRUPT
L_.str.2:                               ## @.str.2
	.asciz	"Corrupt DB: initial transaction id not '0' in filesystem '%s'"

L_.str.3:                               ## @.str.3
	.asciz	"Corrupt DB: initial copy id not '0' in filesystem '%s'"

	.comm	_copy_kind_real,4,2             ## @copy_kind_real
L_.str.4:                               ## @.str.4
	.asciz	"Corrupt DB: initial revision number is not '0' in filesystem '%s'"

	.comm	_SVN_PROP_REVISION_DATE,4,2     ## @SVN_PROP_REVISION_DATE
	.no_dead_strip	_txn_body_dag_init_fs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function txn_body_dag_init_fs
_txn_body_dag_init_fs:                  ; @txn_body_dag_init_fs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x20, x1
Lloh0:
	adrp	x8, _SVN_INVALID_REVNUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_INVALID_REVNUM@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #32]
	ldr	x19, [x1, #8]
	ldr	w3, [x1]
Lloh3:
	adrp	x22, l_.str@PAGE
Lloh4:
	add	x22, x22, l_.str@PAGEOFF
	mov	x0, x22
	mov	x1, x22
	mov	x2, x22
	bl	_svn_fs_base__id_create
	mov	x21, x0
	add	x0, sp, #48
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh5:
	adrp	x8, _svn_node_dir@GOTPAGE
Lloh6:
	ldr	x8, [x8, _svn_node_dir@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [sp, #56]
Lloh8:
	adrp	x8, l_.str.1@PAGE
Lloh9:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [sp, #48]
	ldr	w4, [x20]
	add	x2, sp, #48
	mov	x0, x19
	mov	x1, x21
	mov	x3, x20
	bl	_svn_fs_bdb__put_node_revision
	bl	_SVN_ERR
	ldr	w4, [x20]
	add	x0, sp, #16
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	bl	_svn_fs_bdb__create_txn
	bl	_SVN_ERR
	ldr	x0, [sp, #16]
	mov	x1, x22
	bl	_strcmp
	cbz	x0, LBB0_2
; %bb.1:
Lloh10:
	adrp	x8, _SVN_ERR_FS_CORRUPT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SVN_ERR_FS_CORRUPT@GOTPAGEOFF]
Lloh12:
	ldr	w20, [x8]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_2:
	ldr	w3, [x20]
	add	x0, sp, #8
	mov	x1, x19
	mov	x2, x20
	bl	_svn_fs_bdb__reserve_copy_id
	bl	_SVN_ERR
	ldr	x0, [sp, #8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_4
; %bb.3:
Lloh17:
	adrp	x8, _SVN_ERR_FS_CORRUPT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SVN_ERR_FS_CORRUPT@GOTPAGEOFF]
Lloh19:
	ldr	w20, [x8]
Lloh20:
	adrp	x0, l_.str.3@PAGE
Lloh21:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_6
LBB0_4:
	ldr	x1, [sp, #8]
Lloh22:
	adrp	x8, _copy_kind_real@GOTPAGE
Lloh23:
	ldr	x8, [x8, _copy_kind_real@GOTPAGEOFF]
Lloh24:
	ldr	w5, [x8]
	ldr	w7, [x20]
	mov	x0, x19
	mov	x2, #0
	mov	x3, #0
	mov	x4, x21
	mov	x6, x20
	bl	_svn_fs_bdb__create_copy
	bl	_SVN_ERR
	ldr	x8, [sp, #16]
	str	x8, [sp, #40]
	ldr	w4, [x20]
	add	x0, sp, #32
	add	x2, sp, #40
	mov	x1, x19
	mov	x3, x20
	bl	_svn_fs_bdb__put_rev
	bl	_SVN_ERR
	ldr	x8, [sp, #32]
	cbz	x8, LBB0_8
; %bb.5:
Lloh25:
	adrp	x8, _SVN_ERR_FS_CORRUPT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SVN_ERR_FS_CORRUPT@GOTPAGEOFF]
Lloh27:
	ldr	w20, [x8]
Lloh28:
	adrp	x0, l_.str.4@PAGE
Lloh29:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_6:
	bl	__
	mov	x2, x0
	ldr	w3, [x19]
	mov	x0, x20
	mov	w1, #0
	bl	_svn_error_createf
LBB0_7:
	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
	add	sp, sp, #112
	ret
LBB0_8:
	ldr	x1, [sp, #16]
	ldr	w4, [x20]
	mov	x0, x19
	mov	x2, #0
	mov	x3, x20
	bl	_svn_fs_base__txn_make_committed
	bl	_SVN_ERR
	bl	_apr_time_now
	ldr	w1, [x20]
	bl	_svn_time_to_cstring
	str	w0, [sp, #24]
	bl	_strlen
	str	w0, [sp, #28]
Lloh30:
	adrp	x8, _SVN_PROP_REVISION_DATE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SVN_PROP_REVISION_DATE@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	ldr	w6, [x20]
	add	x4, sp, #24
	mov	x0, x19
	mov	w1, #0
	mov	x3, #0
	mov	x5, x20
	bl	_svn_fs_base__set_rev_prop
	b	LBB0_7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_INVALID_REVNUM,8,3         ; @SVN_INVALID_REVNUM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0"

	.comm	_svn_node_dir,4,2               ; @svn_node_dir
l_.str.1:                               ; @.str.1
	.asciz	"/"

	.comm	_SVN_ERR_FS_CORRUPT,4,2         ; @SVN_ERR_FS_CORRUPT
l_.str.2:                               ; @.str.2
	.asciz	"Corrupt DB: initial transaction id not '0' in filesystem '%s'"

l_.str.3:                               ; @.str.3
	.asciz	"Corrupt DB: initial copy id not '0' in filesystem '%s'"

	.comm	_copy_kind_real,4,2             ; @copy_kind_real
l_.str.4:                               ; @.str.4
	.asciz	"Corrupt DB: initial revision number is not '0' in filesystem '%s'"

	.comm	_SVN_PROP_REVISION_DATE,4,2     ; @SVN_PROP_REVISION_DATE
	.no_dead_strip	_txn_body_dag_init_fs
.subsections_via_symbols
