	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function maybe_close_dir
_maybe_close_dir:                       ## @maybe_close_dir
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r12
	movq	16(%rdi), %r15
	movq	40(%rdi), %rax
	decq	32(%rdi)
	je	LBB0_1
LBB0_6:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rsi
	callq	_ensure_dir_opened
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	24(%rbx), %esi
	testl	%esi, %esi
	movq	%rbx, %rcx
	je	LBB0_5
## %bb.2:
	movq	%r12, %rdi
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	callq	_apr_hash_first
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	8(%rax), %r14
	movl	8(%rcx), %r13d
	movq	%rbx, %rdi
	callq	_apr_hash_this_key
	movl	%r13d, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	movq	%r12, %rcx
	callq	*%r14
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%rbx, %rdi
	callq	_apr_hash_next
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
LBB0_5:
	movq	16(%rcx), %rax
	movq	(%rax), %rax
	movl	8(%rcx), %edi
	movq	%r12, %rsi
	movq	%rcx, %rbx
	callq	*(%rax)
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	(%rbx), %rdi
	callq	_svn_pool_destroy
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.7:
	callq	_maybe_close_dir
	movq	%rax, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_trace                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_maybe_close_dir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function maybe_close_dir
_maybe_close_dir:                       ; @maybe_close_dir
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x21, [x0]
	ldr	x24, [x0, #16]
	ldp	x8, x19, [x0, #32]
	subs	x8, x8, #1
	str	x8, [x0, #32]
	b.eq	LBB0_2
LBB0_1:
Lloh0:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x20, x0
	mov	x1, x21
	bl	_ensure_dir_opened
	bl	_SVN_ERR
	ldr	w1, [x20, #24]
	cbz	w1, LBB0_6
; %bb.3:
	mov	x0, x21
	bl	_apr_hash_first
	cbz	x0, LBB0_6
; %bb.4:
	mov	x22, x0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	x25, [x8, #8]
	ldr	w23, [x20, #8]
	mov	x0, x22
	bl	_apr_hash_this_key
	mov	x1, x0
	mov	x0, x23
	mov	x2, #0
	mov	x3, x21
	blr	x25
	bl	_SVN_ERR
	mov	x0, x22
	bl	_apr_hash_next
	mov	x22, x0
	cbnz	x0, LBB0_5
LBB0_6:
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w0, [x20, #8]
	mov	x1, x21
	blr	x8
	bl	_SVN_ERR
	ldr	x0, [x20]
	bl	_svn_pool_destroy
	cbz	x19, LBB0_1
; %bb.7:
	mov	x0, x19
	bl	_maybe_close_dir
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_svn_error_trace
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_maybe_close_dir
.subsections_via_symbols
