	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bdb_cache_key
_bdb_cache_key:                         ## @bdb_cache_key
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_BDB_CONFIG_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdx, %rdi
	movq	%rcx, %rdx
	callq	_svn_dirent_join
	movq	_APR_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_APR_OS_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	-40(%rbp), %rdi
	movq	%rax, %rsi
	movq	%rbx, %r8
	callq	_svn_io_file_open
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	_APR_FINFO_DEV@GOTPCREL(%rip), %rax
	movq	_APR_FINFO_INODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	-40(%rbp), %rdx
	leaq	-32(%rbp), %rdi
	callq	_apr_file_info_get
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_svn_error_wrap_apr
	jmp	LBB0_6
LBB0_2:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	-28(%rbp), %eax
	movl	%eax, 4(%r15)
	movl	-32(%rbp), %eax
	movl	%eax, (%r15)
	movq	-40(%rbp), %rdi
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	movq	%rdi, (%r14)
	jmp	LBB0_5
LBB0_4:
	callq	_apr_file_close
LBB0_5:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BDB_CONFIG_FILE,4,2            ## @BDB_CONFIG_FILE
	.comm	_APR_READ,4,2                   ## @APR_READ
	.comm	_APR_OS_DEFAULT,4,2             ## @APR_OS_DEFAULT
	.comm	_APR_FINFO_DEV,4,2              ## @APR_FINFO_DEV
	.comm	_APR_FINFO_INODE,4,2            ## @APR_FINFO_INODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't create BDB environment cache key"

	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_bdb_cache_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bdb_cache_key
_bdb_cache_key:                         ; @bdb_cache_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x3
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _BDB_CONFIG_FILE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BDB_CONFIG_FILE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x2
	mov	x2, x3
	bl	_svn_dirent_join
	mov	x1, x0
Lloh3:
	adrp	x8, _APR_READ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _APR_READ@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _APR_OS_DEFAULT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _APR_OS_DEFAULT@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	add	x0, sp, #8
	mov	x4, x21
	bl	_svn_io_file_open
	bl	_SVN_ERR
Lloh9:
	adrp	x8, _APR_FINFO_DEV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _APR_FINFO_DEV@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _APR_FINFO_INODE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _APR_FINFO_INODE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w1, w9, w8
	ldr	x2, [sp, #8]
	mov	x0, sp
	bl	_apr_file_info_get
	cbz	x0, LBB0_2
; %bb.1:
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_svn_error_wrap_apr
	b	LBB0_6
LBB0_2:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	d0, [sp]
	str	d0, [x20]
	ldr	x0, [sp, #8]
	cbz	x19, LBB0_4
; %bb.3:
	str	x0, [x19]
	b	LBB0_5
LBB0_4:
	bl	_apr_file_close
LBB0_5:
Lloh17:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh19:
	ldr	x0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_BDB_CONFIG_FILE,4,2            ; @BDB_CONFIG_FILE
	.comm	_APR_READ,4,2                   ; @APR_READ
	.comm	_APR_OS_DEFAULT,4,2             ; @APR_OS_DEFAULT
	.comm	_APR_FINFO_DEV,4,2              ; @APR_FINFO_DEV
	.comm	_APR_FINFO_INODE,4,2            ; @APR_FINFO_INODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't create BDB environment cache key"

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