	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function clear_directory
_clear_directory:                       ## @clear_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	%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	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_svn_pool_create
	movq	%rax, %r15
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rcx
	movq	%rbx, %r8
	callq	_svn_io_get_dirents3
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_apr_hash_first
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	leaq	-48(%rbp), %r13
	movq	_svn_node_dir@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rdi
	movq	%r15, %rdx
	callq	_svn_io_remove_file2
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%rbx, %rdi
	callq	_apr_hash_next
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_svn_pool_clear
	movq	%rbx, %rdi
	leaq	-56(%rbp), %rsi
	xorl	%edx, %edx
	movq	%r13, %rcx
	callq	_apr_hash_this
	movq	-56(%rbp), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_svn_dirent_join
	movq	-48(%rbp), %rcx
	movq	(%rcx), %rcx
	movq	_TRUE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	cmpq	(%r12), %rcx
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r15, %r8
	callq	_svn_io_remove_dir2
	jmp	LBB0_5
LBB0_6:
	movq	%r15, %rdi
	callq	_svn_pool_destroy
	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
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_svn_node_dir,8,3               ## @svn_node_dir
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_clear_directory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clear_directory
_clear_directory:                       ; @clear_directory
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_svn_pool_create
	mov	x20, x0
Lloh0:
	adrp	x22, _TRUE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x0, sp, #24
	mov	x1, x19
	mov	x3, x21
	mov	x4, x21
	bl	_svn_io_get_dirents3
	bl	_SVN_ERR
	ldr	x1, [sp, #24]
	mov	x0, x21
	bl	_apr_hash_first
	cbz	x0, LBB0_6
; %bb.1:
	mov	x21, x0
Lloh2:
	adrp	x23, _svn_node_dir@GOTPAGE
Lloh3:
	ldr	x23, [x23, _svn_node_dir@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x2, x20
	bl	_svn_io_remove_file2
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_SVN_ERR
	mov	x0, x21
	bl	_apr_hash_next
	mov	x21, x0
	cbz	x0, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_svn_pool_clear
	add	x1, sp, #16
	add	x3, sp, #8
	mov	x0, x21
	mov	x2, #0
	bl	_apr_hash_this
	ldr	x1, [sp, #16]
	mov	x0, x19
	mov	x2, x20
	bl	_svn_dirent_join
	ldr	x8, [sp, #8]
	ldr	x8, [x8]
	ldr	x9, [x23]
	ldr	w1, [x22]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x2, #0
	mov	x3, #0
	mov	x4, x20
	bl	_svn_io_remove_dir2
	b	LBB0_3
LBB0_6:
	mov	x0, x20
	bl	_svn_pool_destroy
Lloh4:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh6:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_svn_node_dir,8,3               ; @svn_node_dir
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_clear_directory
.subsections_via_symbols
