	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cleanup_internal
_cleanup_internal:                      ## @cleanup_internal
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	24(%rbp), %r14
	leaq	-44(%rbp), %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_can_be_cleaned
	movl	%eax, %edi
	callq	_SVN_ERR
	leaq	-80(%rbp), %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	%r14, %r8
	callq	_svn_wc__db_wclock_find_root
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-80(%rbp), %rbx
	testq	%rbx, %rbx
	cmoveq	%r15, %rbx
	movq	%r12, %r15
	movq	16(%rbp), %r12
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	$-1, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, %r8
	callq	_svn_wc__db_wclock_obtain
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	-44(%rbp), %eax
	movq	_SVN_WC__HAS_WORK_QUEUE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	_svn_wc__wq_run
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_2:
	leaq	-88(%rbp), %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_svn_wc__db_is_wcroot
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_5
## %bb.3:
	cmpq	$0, -88(%rbp)
	je	LBB0_5
## %bb.4:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_svn_wc__adm_cleanup_tmp_area
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_svn_wc__db_pristine_cleanup
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_5:
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_7
## %bb.6:
	movq	_svn_depth_infinity@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_status_dummy_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%ecx, %r8d
	movl	%ecx, %r9d
	pushq	%r14
	pushq	%r12
	pushq	%r15
	pushq	$0
	pushq	%rax
	pushq	$0
	callq	_svn_wc__internal_walk_status
	addq	$48, %rsp
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_7:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_svn_wc__db_wclock_release
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_WC__HAS_WORK_QUEUE,4,2     ## @SVN_WC__HAS_WORK_QUEUE
	.comm	_svn_depth_infinity,4,2         ## @svn_depth_infinity
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_status_dummy_callback,4,2      ## @status_dummy_callback
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_cleanup_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cleanup_internal
_cleanup_internal:                      ; @cleanup_internal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x19, x7
	mov	x22, x6
	mov	x21, x5
	mov	x25, x4
	mov	x24, x3
	mov	x26, x2
	mov	x23, x1
	mov	x20, x0
	add	x0, sp, #60
	mov	x1, x20
	mov	x2, x23
	mov	x3, x7
	bl	_can_be_cleaned
	bl	_SVN_ERR
	add	x0, sp, #40
	mov	x1, x20
	mov	x2, x23
	mov	x3, x19
	mov	x4, x19
	bl	_svn_wc__db_wclock_find_root
	bl	_SVN_ERR
	ldr	x8, [sp, #40]
	cmp	x8, #0
	csel	x23, x23, x8, eq
	mov	x0, x20
	mov	x1, x23
	mov	w2, #-1
	mov	x3, x26
	mov	x4, x19
	bl	_svn_wc__db_wclock_obtain
	bl	_SVN_ERR
	ldr	w8, [sp, #60]
Lloh0:
	adrp	x9, _SVN_WC__HAS_WORK_QUEUE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SVN_WC__HAS_WORK_QUEUE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.lt	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x23
	mov	x2, x21
	mov	x3, x22
	mov	x4, x19
	bl	_svn_wc__wq_run
	bl	_SVN_ERR
LBB0_2:
	add	x0, sp, #48
	mov	x1, x20
	mov	x2, x23
	mov	x3, x19
	bl	_svn_wc__db_is_wcroot
	bl	_SVN_ERR
	cbz	x25, LBB0_5
; %bb.3:
	ldr	x8, [sp, #48]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x23
	mov	x2, x19
	bl	_svn_wc__adm_cleanup_tmp_area
	bl	_SVN_ERR
	mov	x0, x20
	mov	x1, x23
	mov	x2, x19
	bl	_svn_wc__db_pristine_cleanup
	bl	_SVN_ERR
LBB0_5:
	cbz	x24, LBB0_7
; %bb.6:
Lloh3:
	adrp	x8, _svn_depth_infinity@GOTPAGE
Lloh4:
	ldr	x8, [x8, _svn_depth_infinity@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x8, _status_dummy_callback@GOTPAGE
Lloh10:
	ldr	x8, [x8, _status_dummy_callback@GOTPAGEOFF]
Lloh11:
	ldr	w7, [x8]
	stp	x22, x19, [sp, #16]
	str	w21, [sp, #8]
	str	xzr, [sp]
	mov	x0, x20
	mov	x1, x23
	mov	x4, x3
	mov	x5, x3
	mov	x6, #0
	bl	_svn_wc__internal_walk_status
	bl	_SVN_ERR
LBB0_7:
	mov	x0, x20
	mov	x1, x23
	mov	x2, x19
	bl	_svn_wc__db_wclock_release
	bl	_SVN_ERR
Lloh12:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_WC__HAS_WORK_QUEUE,4,2     ; @SVN_WC__HAS_WORK_QUEUE
	.comm	_svn_depth_infinity,4,2         ; @svn_depth_infinity
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_status_dummy_callback,4,2      ; @status_dummy_callback
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_cleanup_internal
.subsections_via_symbols
