	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cleanup_fs_db
_cleanup_fs_db:                         ## @cleanup_fs_db
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, (%rsi)
	je	LBB0_5
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rdi), %r13
	movl	(%r13), %edi
	callq	_svn_fs_bdb__get_panic
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:
	movq	(%rbx), %r12
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	callq	_apr_psprintf
	movq	%rax, %r15
	movq	$0, (%rbx)
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	*(%r12)
	movq	_DB_RUNRECOVERY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.3:
	movl	(%r13), %edi
	callq	_svn_fs_bdb__set_panic
	xorl	%eax, %eax
LBB0_4:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_BDB_WRAP
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_5:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"closing '%s' database"

	.comm	_DB_RUNRECOVERY,4,2             ## @DB_RUNRECOVERY
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_DB_INCOMPLETE,4,2              ## @DB_INCOMPLETE
	.no_dead_strip	_cleanup_fs_db
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cleanup_fs_db
_cleanup_fs_db:                         ; @cleanup_fs_db
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x8, [x1]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x23, [x0, #8]
	ldr	w0, [x23]
	bl	_svn_fs_bdb__get_panic
	cbnz	w0, LBB0_5
; %bb.2:
	ldr	x22, [x21]
	ldr	w0, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_apr_psprintf
	mov	x20, x0
	str	xzr, [x21]
	ldr	x8, [x22]
	mov	x0, x22
	mov	w1, #0
	blr	x8
	mov	x2, x0
Lloh2:
	adrp	x8, _DB_RUNRECOVERY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DB_RUNRECOVERY@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x23]
	bl	_svn_fs_bdb__set_panic
	mov	w2, #0
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	bl	_BDB_WRAP
	bl	_SVN_ERR
LBB0_5:
Lloh5:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"closing '%s' database"

	.comm	_DB_RUNRECOVERY,4,2             ; @DB_RUNRECOVERY
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_DB_INCOMPLETE,4,2              ; @DB_INCOMPLETE
	.no_dead_strip	_cleanup_fs_db
.subsections_via_symbols
