	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_external_item_removal
_handle_external_item_removal:          ## @handle_external_item_removal
	.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	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	_FALSE@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	%rax, -48(%rbp)
	movl	24(%rdi), %r9d
	subq	$8, %rsp
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	pushq	%r14
	pushq	%r14
	pushq	%rax
	pushq	%r15
	pushq	%rbx
	callq	_svn_wc__read_external_info
	addq	$48, %rsp
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	24(%r12), %esi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	(%r13), %r8
	leaq	-56(%rbp), %rdi
	movq	%r15, %rdx
	movq	%r14, %r9
	callq	_svn_wc_read_kind2
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %r8
	cmpq	-56(%rbp), %r8
	je	LBB0_2
## %bb.1:
	movq	_svn_node_none@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	%r8, -64(%rbp)
LBB0_2:
	movl	24(%r12), %esi
	movl	16(%r12), %eax
	movl	20(%r12), %r9d
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	pushq	%r14
	pushq	%rax
	callq	_remove_external
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_SVN_ERR_WC_NOT_LOCKED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.4:
	cmpq	$0, -48(%rbp)
	je	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	callq	_svn_error_clear
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	cmpq	$0, 8(%r12)
	je	LBB0_11
## %bb.8:
	movq	_svn_wc_notify_update_external_removed@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_svn_wc_create_notify
	movq	-56(%rbp), %rcx
	movq	%rcx, 8(%rax)
	movq	%rbx, (%rax)
	movl	(%r12), %edi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	*8(%r12)
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.9:
	movq	(%rbx), %rax
	movq	_SVN_ERR_WC_LEFT_LOCAL_MOD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.10:
	movq	_svn_wc_notify_left_local_modifications@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_svn_wc_create_notify
	movq	_svn_node_dir@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 8(%rax)
	movq	%rbx, (%rax)
	movl	(%r12), %edi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	*8(%r12)
	jmp	LBB0_12
LBB0_11:
	testq	%rbx, %rbx
	je	LBB0_14
LBB0_12:
	movq	(%rbx), %rax
	movq	_SVN_ERR_WC_LEFT_LOCAL_MOD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.13:
	movq	%rbx, %rdi
	callq	_svn_error_clear
LBB0_14:
	xorl	%ebx, %ebx
LBB0_15:
	movq	%rbx, %rdi
	callq	_svn_error_trace
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_svn_node_none,8,3              ## @svn_node_none
	.comm	_SVN_ERR_WC_NOT_LOCKED,8,3      ## @SVN_ERR_WC_NOT_LOCKED
	.comm	_svn_wc_notify_update_external_removed,4,2 ## @svn_wc_notify_update_external_removed
	.comm	_SVN_ERR_WC_LEFT_LOCAL_MOD,8,3  ## @SVN_ERR_WC_LEFT_LOCAL_MOD
	.comm	_svn_wc_notify_left_local_modifications,4,2 ## @svn_wc_notify_left_local_modifications
	.comm	_svn_node_dir,8,3               ## @svn_node_dir
	.no_dead_strip	_handle_external_item_removal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_external_item_removal
_handle_external_item_removal:          ; @handle_external_item_removal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _FALSE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _FALSE@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	w5, [x0, #24]
	stp	x3, x8, [sp, #16]
	add	x0, sp, #40
	stp	x8, x3, [sp]
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x6, x22
	mov	x7, x21
	bl	_svn_wc__read_external_info
	bl	_SVN_ERR
	ldr	w1, [x20, #24]
Lloh2:
	adrp	x8, _TRUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	ldr	x4, [x23]
	add	x0, sp, #32
	mov	x2, x21
	mov	x5, x19
	bl	_svn_wc_read_kind2
	bl	_SVN_ERR
	ldp	x8, x4, [sp, #32]
	cmp	x4, x8
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _svn_node_none@GOTPAGE
Lloh6:
	ldr	x8, [x8, _svn_node_none@GOTPAGEOFF]
Lloh7:
	ldr	x4, [x8]
	str	x4, [sp, #40]
LBB0_2:
	ldp	w5, w1, [x20, #20]
	ldr	w6, [x20, #16]
	add	x0, sp, #24
	mov	x2, x22
	mov	x3, x21
	mov	x7, x19
	bl	_remove_external
	mov	x22, x0
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x8, [x22]
Lloh8:
	adrp	x9, _SVN_ERR_WC_NOT_LOCKED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SVN_ERR_WC_NOT_LOCKED@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	x10, [sp, #24]
	cmp	x8, x9
	ccmp	x10, #0, #4, eq
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x22
	bl	_svn_error_clear
	mov	x22, #0
LBB0_5:
	ldr	x8, [x20, #8]
Lloh11:
	adrp	x23, _SVN_ERR_WC_LEFT_LOCAL_MOD@GOTPAGE
Lloh12:
	ldr	x23, [x23, _SVN_ERR_WC_LEFT_LOCAL_MOD@GOTPAGEOFF]
	cbz	x8, LBB0_9
; %bb.6:
Lloh13:
	adrp	x8, _svn_wc_notify_update_external_removed@GOTPAGE
Lloh14:
	ldr	x8, [x8, _svn_wc_notify_update_external_removed@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x19
	bl	_svn_wc_create_notify
	mov	x1, x0
	ldr	x8, [sp, #32]
	stp	x22, x8, [x0]
	ldr	x8, [x20, #8]
	ldr	w0, [x20]
	mov	x2, x19
	blr	x8
	cbz	x22, LBB0_12
; %bb.7:
	ldr	x8, [x22]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.8:
Lloh16:
	adrp	x8, _svn_wc_notify_left_local_modifications@GOTPAGE
Lloh17:
	ldr	x8, [x8, _svn_wc_notify_left_local_modifications@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x19
	bl	_svn_wc_create_notify
	mov	x1, x0
Lloh19:
	adrp	x8, _svn_node_dir@GOTPAGE
Lloh20:
	ldr	x8, [x8, _svn_node_dir@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	stp	x22, x8, [x0]
	ldr	x8, [x20, #8]
	ldr	w0, [x20]
	mov	x2, x19
	blr	x8
	b	LBB0_10
LBB0_9:
	cbz	x22, LBB0_12
LBB0_10:
	ldr	x8, [x22]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x22
	bl	_svn_error_clear
	mov	x22, #0
LBB0_12:
	mov	x0, x22
	bl	_svn_error_trace
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_svn_node_none,8,3              ; @svn_node_none
	.comm	_SVN_ERR_WC_NOT_LOCKED,8,3      ; @SVN_ERR_WC_NOT_LOCKED
	.comm	_svn_wc_notify_update_external_removed,4,2 ; @svn_wc_notify_update_external_removed
	.comm	_SVN_ERR_WC_LEFT_LOCAL_MOD,8,3  ; @SVN_ERR_WC_LEFT_LOCAL_MOD
	.comm	_svn_wc_notify_left_local_modifications,4,2 ; @svn_wc_notify_left_local_modifications
	.comm	_svn_node_dir,8,3               ; @svn_node_dir
	.no_dead_strip	_handle_external_item_removal
.subsections_via_symbols
