	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pool_cleanup_locked
_pool_cleanup_locked:                   ## @pool_cleanup_locked
	.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	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 24(%rdi)
	je	LBB0_1
LBB0_8:
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	movq	16(%rdi), %rdi
	callq	_svn_wc__db_is_closed
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movq	_TRUE@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	%rax, 24(%rbx)
	movl	8(%rbx), %edi
	movq	(%rbx), %rsi
	callq	_svn_wc__adm_area_exists
	testl	%eax, %eax
	je	LBB0_8
## %bb.3:
	movq	(%rbx), %rdi
	callq	_svn_pool_create
	movq	%rax, %r14
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%r15), %rcx
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movq	%r14, %r8
	movq	%r14, %r9
	callq	_svn_wc__db_open
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	movq	-48(%rbp), %rdx
	movl	8(%rbx), %ecx
	movq	%r14, (%rsp)
	leaq	-36(%rbp), %rdi
	leaq	-32(%rbp), %rsi
	xorl	%r8d, %r8d
	movq	%r14, %r9
	callq	_svn_wc__db_wq_fetch_next
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:
	cmpq	$0, -32(%rbp)
	jne	LBB0_7
## %bb.6:
	movq	-48(%rbp), %rdi
	movl	8(%rbx), %esi
	movq	%r14, %rdx
	callq	_svn_wc__db_wclock_release
LBB0_7:
	movq	%rax, %rdi
	callq	_svn_error_clear
	movq	%r14, %rdi
	callq	_svn_pool_destroy
	jmp	LBB0_8
LBB0_9:
	movq	16(%rbx), %rdx
	movl	8(%rbx), %ecx
	movq	(%rbx), %r9
	movq	%r9, (%rsp)
	leaq	-36(%rbp), %rdi
	leaq	-32(%rbp), %rsi
	xorl	%r8d, %r8d
	callq	_svn_wc__db_wq_fetch_next
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	xorl	%esi, %esi
	cmpq	$0, -32(%rbp)
	setne	%sil
	movq	(%rbx), %rdx
	movq	%rbx, %rdi
	callq	_close_single
	testq	%rax, %rax
	je	LBB0_8
LBB0_11:
	movl	(%rax), %ebx
	movq	%rax, %rdi
	callq	_svn_error_clear
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_APR_SUCCESS,4,2                ## @APR_SUCCESS
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_pool_cleanup_locked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pool_cleanup_locked
_pool_cleanup_locked:                   ; @pool_cleanup_locked
	.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
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_3
LBB0_1:
Lloh0:
	adrp	x8, _APR_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _APR_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
LBB0_2:
	mov	x0, x19
	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_3:
	mov	x19, x0
	ldr	x0, [x0, #16]
	bl	_svn_wc__db_is_closed
	cbz	x0, LBB0_10
; %bb.4:
Lloh3:
	adrp	x21, _TRUE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _TRUE@GOTPAGEOFF]
	ldr	x8, [x21]
	str	x8, [x19, #24]
	ldr	w0, [x19, #8]
	ldr	x1, [x19]
	bl	_svn_wc__adm_area_exists
	cbz	w0, LBB0_1
; %bb.5:
	ldr	x0, [x19]
	bl	_svn_pool_create
	mov	x20, x0
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	ldr	x3, [x21]
	add	x0, sp, #8
	mov	x1, #0
	mov	x4, x20
	mov	x5, x20
	bl	_svn_wc__db_open
	cbnz	x0, LBB0_9
; %bb.6:
	ldr	x2, [sp, #8]
	ldr	w3, [x19, #8]
	add	x0, sp, #28
	add	x1, sp, #16
	mov	w4, #0
	mov	x5, x20
	mov	x6, x20
	bl	_svn_wc__db_wq_fetch_next
	cbnz	x0, LBB0_9
; %bb.7:
	ldr	x8, [sp, #16]
	cbnz	x8, LBB0_9
; %bb.8:
	ldr	x0, [sp, #8]
	ldr	w1, [x19, #8]
	mov	x2, x20
	bl	_svn_wc__db_wclock_release
LBB0_9:
	bl	_svn_error_clear
	mov	x0, x20
	bl	_svn_pool_destroy
	b	LBB0_1
LBB0_10:
	ldr	x2, [x19, #16]
	ldr	w3, [x19, #8]
	ldr	x5, [x19]
	add	x0, sp, #28
	add	x1, sp, #16
	mov	w4, #0
	mov	x6, x5
	bl	_svn_wc__db_wq_fetch_next
	cbnz	x0, LBB0_12
; %bb.11:
	ldr	x8, [sp, #16]
	cmp	x8, #0
	cset	w1, ne
	ldr	x2, [x19]
	mov	x0, x19
	bl	_close_single
	cbz	x0, LBB0_1
LBB0_12:
	ldr	w19, [x0]
	bl	_svn_error_clear
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_APR_SUCCESS,4,2                ; @APR_SUCCESS
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_pool_cleanup_locked
.subsections_via_symbols
