	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svn_fs_bdb__close_internal
_svn_fs_bdb__close_internal:            ## @svn_fs_bdb__close_internal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	decq	(%rdi)
	je	LBB0_3
## %bb.1:
	addq	$12, %rbx
	movq	%rbx, %rdi
	callq	_svn_atomic_read
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	_SVN_ERR_FS_BERKELEY_DB@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_DB_RUNRECOVERY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_db_strerror
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_svn_error_create
	jmp	LBB0_6
LBB0_3:
	movq	_bdb_cache@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	leaq	8(%rbx), %rsi
	movl	$4, %edx
	xorl	%ecx, %ecx
	callq	_apr_hash_set
LBB0_5:
	movq	%rbx, %rdi
	callq	_bdb_close
LBB0_6:
	movq	%rax, %r14
LBB0_7:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_svn_error_trace                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_SVN_ERR_FS_BERKELEY_DB,4,2     ## @SVN_ERR_FS_BERKELEY_DB
	.comm	_DB_RUNRECOVERY,4,2             ## @DB_RUNRECOVERY
	.comm	_bdb_cache,8,3                  ## @bdb_cache
	.no_dead_strip	_svn_fs_bdb__close_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svn_fs_bdb__close_internal
_svn_fs_bdb__close_internal:            ; @svn_fs_bdb__close_internal
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	ldr	x8, [x0]
	subs	x8, x8, #1
	str	x8, [x0]
	b.eq	LBB0_3
; %bb.1:
	add	x0, x19, #12
	bl	_svn_atomic_read
	cbz	x0, LBB0_7
; %bb.2:
Lloh3:
	adrp	x8, _SVN_ERR_FS_BERKELEY_DB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_ERR_FS_BERKELEY_DB@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
Lloh6:
	adrp	x8, _DB_RUNRECOVERY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DB_RUNRECOVERY@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_db_strerror
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	bl	_svn_error_create
	b	LBB0_6
LBB0_3:
Lloh9:
	adrp	x8, _bdb_cache@GOTPAGE
Lloh10:
	ldr	x8, [x8, _bdb_cache@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	cbz	x0, LBB0_5
; %bb.4:
	add	x1, x19, #8
	mov	w2, #4
	mov	x3, #0
	bl	_apr_hash_set
LBB0_5:
	mov	x0, x19
	bl	_bdb_close
LBB0_6:
	mov	x20, x0
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_svn_error_trace
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_SVN_ERR_FS_BERKELEY_DB,4,2     ; @SVN_ERR_FS_BERKELEY_DB
	.comm	_DB_RUNRECOVERY,4,2             ; @DB_RUNRECOVERY
	.comm	_bdb_cache,8,3                  ; @bdb_cache
	.no_dead_strip	_svn_fs_bdb__close_internal
.subsections_via_symbols
