	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function initialize_cache
_initialize_cache:                      ## @initialize_cache
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	$0, -56(%rbp)
	movq	_cache_settings@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movq	_SVN_MAX_OBJECT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	sarl	%esi
	callq	_MIN
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movl	%eax, %ebx
	movq	$0, -48(%rbp)
	movq	$0, -40(%rbp)
	leaq	-48(%rbp), %rdi
	callq	_apr_allocator_create
	testq	%rax, %rax
	je	LBB0_2
LBB0_6:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_7:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	-48(%rbp), %rdi
	movl	$1, %esi
	callq	_apr_allocator_max_free_set
	movq	-48(%rbp), %rcx
	leaq	-40(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_apr_pool_create_ex
	movq	-40(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.3:
	movq	-48(%rbp), %rdi
	callq	_apr_allocator_owner_set
	movslq	%ebx, %rax
	imulq	$1717986919, %rax, %r15         ## imm = 0x66666667
	movq	%r15, %rax
	shrq	$63, %rax
	sarq	$33, %r15
	addl	%eax, %r15d
	xorl	%eax, %eax
	callq	_svn_cache_config_get
	xorl	%r8d, %r8d
	cmpl	$0, (%rax)
	sete	%r8b
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	-40(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-56(%rbp), %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	callq	_svn_cache__membuffer_cache_create
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %rbx
	movq	-40(%rbp), %rdi
	callq	_svn_pool_destroy
	movq	$0, (%r12)
	movq	%rbx, %rdi
	callq	_svn_error_trace
	jmp	LBB0_7
LBB0_5:
	movq	-56(%rbp), %rax
	movq	%rax, (%r14)
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_cache_settings,8,3             ## @cache_settings
	.comm	_SVN_MAX_OBJECT_SIZE,8,3        ## @SVN_MAX_OBJECT_SIZE
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_initialize_cache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function initialize_cache
_initialize_cache:                      ; @initialize_cache
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	str	xzr, [sp, #24]
Lloh0:
	adrp	x22, _cache_settings@GOTPAGE
Lloh1:
	ldr	x22, [x22, _cache_settings@GOTPAGEOFF]
	ldr	x0, [x22]
Lloh2:
	adrp	x8, _SVN_MAX_OBJECT_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SVN_MAX_OBJECT_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w1, w8, #1
	bl	_MIN
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
	stp	xzr, xzr, [sp, #8]
	add	x0, sp, #16
	bl	_apr_allocator_create
	cbz	x0, LBB0_4
LBB0_2:
Lloh5:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
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
	add	sp, sp, #80
	ret
LBB0_4:
	ldr	x0, [sp, #16]
	mov	w1, #1
	bl	_apr_allocator_max_free_set
	ldr	x3, [sp, #16]
	add	x0, sp, #8
	mov	x1, #0
	mov	x2, #0
	bl	_apr_pool_create_ex
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_2
; %bb.5:
	ldr	x0, [sp, #16]
	bl	_apr_allocator_owner_set
	mov	w8, #26215
	movk	w8, #26214, lsl #16
	smull	x8, w20, w8
	lsr	x9, x8, #63
	asr	x8, x8, #33
	add	w21, w8, w9
	bl	_svn_cache_config_get
	ldr	w8, [x0]
	cmp	w8, #0
	cset	w4, eq
Lloh8:
	adrp	x8, _FALSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh10:
	ldr	w5, [x8]
	ldr	x6, [sp, #8]
	add	x0, sp, #24
	mov	x1, x20
	mov	x2, x21
	mov	w3, #0
	bl	_svn_cache__membuffer_cache_create
	cbz	x0, LBB0_7
; %bb.6:
	mov	x20, x0
	ldr	x0, [sp, #8]
	bl	_svn_pool_destroy
	str	xzr, [x22]
	mov	x0, x20
	bl	_svn_error_trace
	b	LBB0_3
LBB0_7:
	ldr	x8, [sp, #24]
	str	x8, [x19]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_cache_settings,8,3             ; @cache_settings
	.comm	_SVN_MAX_OBJECT_SIZE,8,3        ; @SVN_MAX_OBJECT_SIZE
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_initialize_cache
.subsections_via_symbols
