	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_fs__create_file_tree    ## -- Begin function svn_fs_fs__create_file_tree
	.p2align	4, 0x90
_svn_fs_fs__create_file_tree:           ## @svn_fs_fs__create_file_tree
	.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	%r9, %rbx
	movl	%r8d, %r13d
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r12d
	movq	%rdi, %r15
	movq	8(%rdi), %r14
	movl	(%rdi), %edi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	callq	_apr_pstrdup
	movl	%eax, 4(%r15)
	movl	%r12d, (%r14)
	movq	_SVN_FS_FS__MIN_LAYOUT_FORMAT_OPTION_FORMAT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	%r12d, (%rcx)
	cmovlel	-44(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%eax, 4(%r14)
	movq	_SVN_FS_FS__MIN_LOG_ADDRESSING_FORMAT@GOTPCREL(%rip), %rcx
	cmpl	%r12d, (%rcx)
	jle	LBB0_2
## %bb.1:
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
LBB0_2:
	movl	%r13d, 16(%r14)
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_svn_fs_fs__path_rev_shard
	jmp	LBB0_5
LBB0_4:
	movq	_PATH_REVS_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_svn_dirent_join
LBB0_5:
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_svn_io_make_dir_recursively
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpl	$0, 4(%r14)
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_svn_fs_fs__path_revprops_shard
	jmp	LBB0_8
LBB0_7:
	movq	_PATH_REVPROPS_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_svn_dirent_join
LBB0_8:
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_svn_io_make_dir_recursively
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_svn_fs_fs__path_txns_dir
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_svn_io_make_dir_recursively
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	_SVN_FS_FS__MIN_PROTOREVS_DIR_FORMAT@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jg	LBB0_10
## %bb.9:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_svn_fs_fs__path_txn_proto_revs
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_svn_io_make_dir_recursively
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_10:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_svn_fs_fs__path_current
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_svn_io_file_create_empty
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_svn_fs_fs__write_current
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_svn_fs_fs__path_lock
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_svn_io_file_create_empty
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	callq	_svn_fs_fs__set_uuid
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	(%r14), %eax
	movq	_SVN_FS_FS__MIN_CONFIG_FILE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_12
## %bb.11:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_write_config
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_12:
	movl	(%r15), %edx
	movl	4(%r15), %esi
	movq	%r14, %rdi
	movq	%rbx, %rcx
	callq	_read_config
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%r15, %rdi
	callq	_read_global_config
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_write_revision_zero
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	(%r14), %eax
	movq	_SVN_FS_FS__MIN_PACKED_FORMAT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_svn_fs_fs__path_min_unpacked_rev
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	movq	%rbx, %rdx
	callq	_svn_io_file_create
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_14:
	movq	_SVN_FS_FS__MIN_TXN_CURRENT_FORMAT@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jg	LBB0_16
## %bb.15:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_svn_fs_fs__path_txn_current
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	movq	%rbx, %rdx
	callq	_svn_io_file_create
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_svn_fs_fs__path_txn_current_lock
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_svn_io_file_create_empty
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_16:
	movq	$0, 8(%r14)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_FS_FS__MIN_LAYOUT_FORMAT_OPTION_FORMAT,4,2 ## @SVN_FS_FS__MIN_LAYOUT_FORMAT_OPTION_FORMAT
	.comm	_SVN_FS_FS__MIN_LOG_ADDRESSING_FORMAT,4,2 ## @SVN_FS_FS__MIN_LOG_ADDRESSING_FORMAT
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_PATH_REVS_DIR,4,2              ## @PATH_REVS_DIR
	.comm	_PATH_REVPROPS_DIR,4,2          ## @PATH_REVPROPS_DIR
	.comm	_SVN_FS_FS__MIN_PROTOREVS_DIR_FORMAT,4,2 ## @SVN_FS_FS__MIN_PROTOREVS_DIR_FORMAT
	.comm	_SVN_FS_FS__MIN_CONFIG_FILE,4,2 ## @SVN_FS_FS__MIN_CONFIG_FILE
	.comm	_SVN_FS_FS__MIN_PACKED_FORMAT,4,2 ## @SVN_FS_FS__MIN_PACKED_FORMAT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0\n"

	.comm	_SVN_FS_FS__MIN_TXN_CURRENT_FORMAT,4,2 ## @SVN_FS_FS__MIN_TXN_CURRENT_FORMAT
	.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__create_file_tree    ; -- Begin function svn_fs_fs__create_file_tree
	.p2align	2
_svn_fs_fs__create_file_tree:           ; @svn_fs_fs__create_file_tree
	.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, x5
	mov	x24, x4
	mov	x25, x3
	mov	x22, x2
	mov	x23, x1
	mov	x21, x0
	ldr	x19, [x0, #8]
	ldr	w0, [x0]
	bl	_apr_pstrdup
	str	w0, [x21, #4]
	str	w22, [x19]
Lloh0:
	adrp	x8, _SVN_FS_FS__MIN_LAYOUT_FORMAT_OPTION_FORMAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_FS_FS__MIN_LAYOUT_FORMAT_OPTION_FORMAT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w22
	csel	w8, wzr, w25, gt
	str	w8, [x19, #4]
Lloh3:
	adrp	x9, _SVN_FS_FS__MIN_LOG_ADDRESSING_FORMAT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SVN_FS_FS__MIN_LOG_ADDRESSING_FORMAT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _FALSE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _FALSE@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	w9, w22
	csel	w9, w10, w24, gt
	str	w9, [x19, #16]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	w1, #0
	mov	x2, x20
	bl	_svn_fs_fs__path_rev_shard
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _PATH_REVS_DIR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PATH_REVS_DIR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x23
	mov	x2, x20
	bl	_svn_dirent_join
LBB0_3:
	mov	x1, x20
	bl	_svn_io_make_dir_recursively
	bl	_SVN_ERR
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_5
; %bb.4:
	mov	x0, x21
	mov	w1, #0
	mov	x2, x20
	bl	_svn_fs_fs__path_revprops_shard
	b	LBB0_6
LBB0_5:
Lloh12:
	adrp	x8, _PATH_REVPROPS_DIR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PATH_REVPROPS_DIR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x23
	mov	x2, x20
	bl	_svn_dirent_join
LBB0_6:
	mov	x1, x20
	bl	_svn_io_make_dir_recursively
	bl	_SVN_ERR
	mov	x0, x21
	mov	x1, x20
	bl	_svn_fs_fs__path_txns_dir
	mov	x1, x20
	bl	_svn_io_make_dir_recursively
	bl	_SVN_ERR
Lloh15:
	adrp	x8, _SVN_FS_FS__MIN_PROTOREVS_DIR_FORMAT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SVN_FS_FS__MIN_PROTOREVS_DIR_FORMAT@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w8, w22
	b.gt	LBB0_8
; %bb.7:
	mov	x0, x21
	mov	x1, x20
	bl	_svn_fs_fs__path_txn_proto_revs
	mov	x1, x20
	bl	_svn_io_make_dir_recursively
	bl	_SVN_ERR
LBB0_8:
	mov	x0, x21
	mov	x1, x20
	bl	_svn_fs_fs__path_current
	mov	x1, x20
	bl	_svn_io_file_create_empty
	bl	_SVN_ERR
	mov	x0, x21
	mov	w1, #0
	mov	w2, #1
	mov	w3, #1
	mov	x4, x20
	bl	_svn_fs_fs__write_current
	bl	_SVN_ERR
	mov	x0, x21
	mov	x1, x20
	bl	_svn_fs_fs__path_lock
	mov	x1, x20
	bl	_svn_io_file_create_empty
	bl	_SVN_ERR
	mov	x0, x21
	mov	x1, #0
	mov	x2, #0
	mov	x3, x20
	bl	_svn_fs_fs__set_uuid
	bl	_SVN_ERR
	ldr	w8, [x19]
Lloh18:
	adrp	x9, _SVN_FS_FS__MIN_CONFIG_FILE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SVN_FS_FS__MIN_CONFIG_FILE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	w8, w9
	b.lt	LBB0_10
; %bb.9:
	mov	x0, x21
	mov	x1, x20
	bl	_write_config
	bl	_SVN_ERR
LBB0_10:
	ldp	w2, w1, [x21]
	mov	x0, x19
	mov	x3, x20
	bl	_read_config
	bl	_SVN_ERR
	mov	x0, x21
	bl	_read_global_config
	bl	_SVN_ERR
	mov	x0, x21
	mov	x1, x20
	bl	_write_revision_zero
	bl	_SVN_ERR
	ldr	w8, [x19]
Lloh21:
	adrp	x9, _SVN_FS_FS__MIN_PACKED_FORMAT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SVN_FS_FS__MIN_PACKED_FORMAT@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w8, w9
	b.lt	LBB0_12
; %bb.11:
	mov	x0, x21
	mov	x1, x20
	bl	_svn_fs_fs__path_min_unpacked_rev
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_svn_io_file_create
	bl	_SVN_ERR
LBB0_12:
Lloh26:
	adrp	x8, _SVN_FS_FS__MIN_TXN_CURRENT_FORMAT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SVN_FS_FS__MIN_TXN_CURRENT_FORMAT@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	cmp	w8, w22
	b.gt	LBB0_14
; %bb.13:
	mov	x0, x21
	mov	x1, x20
	bl	_svn_fs_fs__path_txn_current
Lloh29:
	adrp	x1, l_.str@PAGE
Lloh30:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_svn_io_file_create
	bl	_SVN_ERR
	mov	x0, x21
	mov	x1, x20
	bl	_svn_fs_fs__path_txn_current_lock
	mov	x1, x20
	bl	_svn_io_file_create_empty
	bl	_SVN_ERR
LBB0_14:
	str	xzr, [x19, #8]
Lloh31:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh32:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh33:
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_FS_FS__MIN_LAYOUT_FORMAT_OPTION_FORMAT,4,2 ; @SVN_FS_FS__MIN_LAYOUT_FORMAT_OPTION_FORMAT
	.comm	_SVN_FS_FS__MIN_LOG_ADDRESSING_FORMAT,4,2 ; @SVN_FS_FS__MIN_LOG_ADDRESSING_FORMAT
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_PATH_REVS_DIR,4,2              ; @PATH_REVS_DIR
	.comm	_PATH_REVPROPS_DIR,4,2          ; @PATH_REVPROPS_DIR
	.comm	_SVN_FS_FS__MIN_PROTOREVS_DIR_FORMAT,4,2 ; @SVN_FS_FS__MIN_PROTOREVS_DIR_FORMAT
	.comm	_SVN_FS_FS__MIN_CONFIG_FILE,4,2 ; @SVN_FS_FS__MIN_CONFIG_FILE
	.comm	_SVN_FS_FS__MIN_PACKED_FORMAT,4,2 ; @SVN_FS_FS__MIN_PACKED_FORMAT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0\n"

	.comm	_SVN_FS_FS__MIN_TXN_CURRENT_FORMAT,4,2 ; @SVN_FS_FS__MIN_TXN_CURRENT_FORMAT
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
