	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function close_directory
_close_directory:                       ## @close_directory
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	8(%rdi), %rdi
	movq	8(%rdi), %rbx
	callq	_dump_pending_dir
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	%r15, %rbx
	je	LBB0_3
## %bb.1:
	cmpq	$0, 24(%r15)
	je	LBB0_3
## %bb.2:
	leaq	20(%r15), %rdi
	movq	8(%r15), %rsi
	movl	16(%r15), %edx
	movq	_svn_node_action_change@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SVN_INVALID_REVNUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	pushq	%r14
	pushq	%rbx
	pushq	$0
	pushq	%rax
	callq	_dump_node
	addq	$32, %rsp
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	8(%r15), %rdi
	movq	%r15, 8(%rdi)
	movq	%r14, %rsi
	callq	_dump_pending_dir
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_3:
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_apr_hash_first
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_apr_hash_this_key
	movq	8(%r15), %rcx
	movl	(%rcx), %edi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_dump_node_delete
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	8(%r15), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_svn_stream_puts
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%rbx, %rdi
	callq	_apr_hash_next
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_5
LBB0_6:
	movl	(%r15), %edi
	callq	_apr_hash_clear
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_svn_node_action_change,4,2     ## @svn_node_action_change
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_SVN_INVALID_REVNUM,4,2         ## @SVN_INVALID_REVNUM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_close_directory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function close_directory
_close_directory:                       ; @close_directory
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x0, [x0, #8]
	ldr	x21, [x0, #8]
	bl	_dump_pending_dir
	bl	_SVN_ERR
	cmp	x21, x19
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_3
; %bb.2:
	add	x0, x19, #20
	ldr	x1, [x19, #8]
	ldr	w2, [x19, #16]
Lloh0:
	adrp	x8, _svn_node_action_change@GOTPAGE
Lloh1:
	ldr	x8, [x8, _svn_node_action_change@GOTPAGEOFF]
Lloh2:
	ldr	w5, [x8]
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh5:
	ldr	w6, [x8]
Lloh6:
	adrp	x8, _SVN_INVALID_REVNUM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SVN_INVALID_REVNUM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	x20, [sp, #8]
	str	w8, [sp]
	mov	x3, x19
	mov	x4, #0
	mov	x7, #0
	bl	_dump_node
	bl	_SVN_ERR
	ldr	x0, [x19, #8]
	str	x19, [x0, #8]
	mov	x1, x20
	bl	_dump_pending_dir
	bl	_SVN_ERR
LBB0_3:
	ldr	w1, [x19]
	mov	x0, x20
	bl	_apr_hash_first
	cbz	x0, LBB0_6
; %bb.4:
	mov	x21, x0
Lloh9:
	adrp	x22, l_.str@PAGE
Lloh10:
	add	x22, x22, l_.str@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_apr_hash_this_key
	mov	x1, x0
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	mov	x2, x20
	bl	_dump_node_delete
	bl	_SVN_ERR
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	mov	x1, x22
	bl	_svn_stream_puts
	bl	_SVN_ERR
	mov	x0, x21
	bl	_apr_hash_next
	mov	x21, x0
	cbnz	x0, LBB0_5
LBB0_6:
	ldr	w0, [x19]
	bl	_apr_hash_clear
Lloh11:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh13:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_svn_node_action_change,4,2     ; @svn_node_action_change
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_SVN_INVALID_REVNUM,4,2         ; @SVN_INVALID_REVNUM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_close_directory
.subsections_via_symbols
