	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function close_single
_close_single:                          ## @close_single
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 16(%rdi)
	jne	LBB0_9
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rdi), %rsi
	movl	12(%rdi), %edx
	movq	_TRUE@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	leaq	-40(%rbp), %rdi
	movq	%r14, %r8
	callq	_svn_wc__db_wclock_owns_lock
	movl	%eax, %edi
	callq	_SVN_ERR
	testq	%rbx, %rbx
	jne	LBB0_6
## %bb.2:
	cmpq	$0, -40(%rbp)
	je	LBB0_6
## %bb.3:
	movq	(%r15), %rdi
	movl	12(%r15), %esi
	movq	%r14, %rdx
	callq	_svn_wc__db_wclock_release
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, %rbx
	movl	12(%r15), %edi
	movq	%r14, %rsi
	callq	_svn_wc__adm_area_exists
	testq	%rax, %rax
	jne	LBB0_10
## %bb.5:
	movq	%rbx, %rdi
	callq	_svn_error_clear
LBB0_6:
	movq	(%r12), %rax
	movq	%rax, 16(%r15)
	movq	(%r15), %rdi
	movl	12(%r15), %esi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_svn_wc__db_temp_close_access
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpl	$0, 8(%r15)
	jne	LBB0_9
## %bb.7:
	movq	(%r15), %rdi
	movq	%r14, %rsi
	callq	_svn_wc__db_temp_get_all_access
	movq	%rax, %rdi
	callq	_apr_hash_count
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movq	(%r15), %rdi
	callq	_svn_wc__db_close
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	$0, (%r15)
LBB0_9:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_10:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_TRUE,8,3                       ## @TRUE
	.no_dead_strip	_close_single
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function close_single
_close_single:                          ; @close_single
	.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
	ldr	x8, [x0, #16]
	cbnz	x8, LBB0_9
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x1, [x0]
	ldr	w2, [x0, #12]
Lloh0:
	adrp	x22, _TRUE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
	ldr	x3, [x22]
	add	x0, sp, #8
	mov	x4, x20
	bl	_svn_wc__db_wclock_owns_lock
	bl	_SVN_ERR
	cbnz	x21, LBB0_6
; %bb.2:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_6
; %bb.3:
	ldr	x0, [x19]
	ldr	w1, [x19, #12]
	mov	x2, x20
	bl	_svn_wc__db_wclock_release
	cbz	x0, LBB0_6
; %bb.4:
	mov	x21, x0
	ldr	w0, [x19, #12]
	mov	x1, x20
	bl	_svn_wc__adm_area_exists
	cbnz	x0, LBB0_10
; %bb.5:
	mov	x0, x21
	bl	_svn_error_clear
LBB0_6:
	ldr	x8, [x22]
	str	x8, [x19, #16]
	ldr	x0, [x19]
	ldr	w1, [x19, #12]
	mov	x2, x19
	mov	x3, x20
	bl	_svn_wc__db_temp_close_access
	bl	_SVN_ERR
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_9
; %bb.7:
	ldr	x0, [x19]
	mov	x1, x20
	bl	_svn_wc__db_temp_get_all_access
	bl	_apr_hash_count
	cbnz	x0, LBB0_9
; %bb.8:
	ldr	x0, [x19]
	bl	_svn_wc__db_close
	bl	_SVN_ERR
	str	xzr, [x19]
LBB0_9:
Lloh2:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	x21, [x8]
LBB0_10:
	mov	x0, x21
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_TRUE,8,3                       ; @TRUE
	.no_dead_strip	_close_single
.subsections_via_symbols
