	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drive
_drive:                                 ## @drive
	.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	$40, %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
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movq	(%rdi), %rdx
	movq	24(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%rdx, %rdi
	movq	%r14, %rsi
	callq	_svn_fspath__dirname
	movq	%rax, %rdx
LBB0_2:
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rcx
	callq	_check_auth
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpl	$0, -56(%rbp)
	je	LBB0_3
## %bb.5:
	movl	48(%rbx), %edi
	movq	24(%rbx), %rsi
	movq	%r14, %rdx
	callq	_svn_fspath__join
	movq	%rax, %r12
	leaq	-80(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	callq	_get_source_root
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-80(%rbp), %rsi
	leaq	-72(%rbp), %rdi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_fake_dirent
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	(%rbx), %rdx
	movq	40(%rbx), %rsi
	leaq	-64(%rbp), %rdi
	movq	%r14, %rcx
	callq	_fake_dirent
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	12(%r15), %edi
	callq	_SVN_IS_VALID_REVNUM
	testq	%rax, %rax
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	je	LBB0_6
## %bb.7:
	cmpl	$0, 8(%r15)
	setne	%cl
	jmp	LBB0_8
LBB0_3:
	movq	_SVN_ERR_AUTHZ_ROOT_UNREADABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_4
LBB0_6:
	movb	$1, %cl
LBB0_8:
	movq	-72(%rbp), %rax
	testq	%rax, %rax
	movq	%r12, %r13
	cmoveq	%rax, %r13
	testb	%cl, %cl
	cmovneq	%r12, %r13
	movq	24(%rbx), %rcx
	movq	(%rcx), %rdx
	movq	-64(%rbp), %rcx
	testq	%rdx, %rdx
	jne	LBB0_11
## %bb.9:
	testq	%rcx, %rcx
	jne	LBB0_11
## %bb.10:
	movq	_SVN_ERR_FS_PATH_SYNTAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movq	(%rbx), %rcx
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_svn_error_createf
	jmp	LBB0_20
LBB0_11:
	testq	%rdx, %rdx
	je	LBB0_12
LBB0_16:
	movq	8(%rbx), %rax
	movl	32(%rbx), %edi
	movl	36(%rbx), %esi
	movq	%r14, %rdx
	callq	*16(%rax)
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	8(%rbx), %rax
	movl	32(%rbx), %edi
	leaq	-48(%rbp), %rcx
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %esi
	movq	%r14, %rdx
	callq	*8(%rax)
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	24(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_17
## %bb.18:
	movq	-72(%rbp), %rcx
	movq	(%rbx), %r8
	movq	-64(%rbp), %r9
	movl	(%r15), %r10d
	movl	16(%rbx), %r11d
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movq	%r13, %rdx
	pushq	%r14
	pushq	%r11
	pushq	%r10
	pushq	%r15
	pushq	%rax
	pushq	-48(%rbp)
	callq	_update_entry
	addq	$48, %rsp
	jmp	LBB0_19
LBB0_12:
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	movq	(%rax), %rax
	movq	_svn_node_dir@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_15
## %bb.14:
	cmpq	%rax, (%rcx)
	je	LBB0_16
LBB0_15:
	movq	_SVN_ERR_FS_PATH_SYNTAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.2(%rip), %rdi
LBB0_4:
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_svn_error_create
	jmp	LBB0_20
LBB0_17:
	movq	(%rbx), %rcx
	movq	-48(%rbp), %r8
	movl	(%r15), %r11d
	movl	4(%r15), %r10d
	movl	16(%rbx), %eax
	leaq	L_.str.3(%rip), %r9
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movq	%r13, %rdx
	pushq	%r14
	pushq	%rax
	pushq	%r11
	pushq	%r10
	callq	_delta_dirs
	addq	$32, %rsp
LBB0_19:
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	8(%rbx), %rax
	movq	-48(%rbp), %rdi
	movq	%r14, %rsi
	callq	*(%rax)
	movl	%eax, %edi
	callq	_svn_error_trace
LBB0_20:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_ERR_AUTHZ_ROOT_UNREADABLE,4,2 ## @SVN_ERR_AUTHZ_ROOT_UNREADABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Not authorized to open root of edit operation"

	.comm	_SVN_ERR_FS_PATH_SYNTAX,4,2     ## @SVN_ERR_FS_PATH_SYNTAX
L_.str.1:                               ## @.str.1
	.asciz	"Target path '%s' does not exist"

	.comm	_svn_node_dir,8,3               ## @svn_node_dir
L_.str.2:                               ## @.str.2
	.asciz	"Cannot replace a directory from within"

L_.str.3:                               ## @.str.3
	.space	1

	.no_dead_strip	_drive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drive
_drive:                                 ; @drive
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0, #24]
	ldr	x8, [x8]
	ldr	x2, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x2
	mov	x1, x20
	bl	_svn_fspath__dirname
	mov	x2, x0
LBB0_2:
	sub	x1, x29, #52
	mov	x0, x19
	mov	x3, x20
	bl	_check_auth
	bl	_SVN_ERR
	ldur	w8, [x29, #-52]
	cbz	w8, LBB0_5
; %bb.3:
	ldr	w0, [x19, #48]
	ldr	x1, [x19, #24]
	mov	x2, x20
	bl	_svn_fspath__join
	mov	x23, x0
	add	x1, sp, #48
	mov	x0, x19
	mov	x2, x21
	bl	_get_source_root
	bl	_SVN_ERR
	ldr	x1, [sp, #48]
	add	x0, sp, #40
	mov	x2, x23
	mov	x3, x20
	bl	_fake_dirent
	bl	_SVN_ERR
	ldr	x1, [x19, #40]
	ldr	x2, [x19]
	add	x0, sp, #32
	mov	x3, x20
	bl	_fake_dirent
	bl	_SVN_ERR
	ldr	w0, [x22, #12]
	bl	_SVN_IS_VALID_REVNUM
	cbz	x0, LBB0_6
; %bb.4:
	ldr	w8, [x22, #8]
	cmp	w8, #0
	cset	w9, ne
	b	LBB0_7
LBB0_5:
Lloh0:
	adrp	x8, _SVN_ERR_AUTHZ_ROOT_UNREADABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_ERR_AUTHZ_ROOT_UNREADABLE@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_17
LBB0_6:
	mov	w9, #1
LBB0_7:
	ldr	x8, [sp, #40]
	cmp	x8, #0
	cset	w10, ne
	orr	w9, w9, w10
	cmp	w9, #0
	csel	x23, x23, xzr, ne
	ldr	x9, [x19, #24]
	ldr	x10, [x9]
	ldr	x9, [sp, #32]
	cbnz	x10, LBB0_10
; %bb.8:
	cbnz	x9, LBB0_10
; %bb.9:
Lloh5:
	adrp	x8, _SVN_ERR_FS_PATH_SYNTAX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SVN_ERR_FS_PATH_SYNTAX@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x2, x0
	ldr	x3, [x19]
	mov	x0, x20
	mov	x1, #0
	bl	_svn_error_createf
	b	LBB0_20
LBB0_10:
	cbz	x10, LBB0_13
LBB0_11:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #16]
	ldp	w0, w1, [x19, #32]
	mov	x2, x20
	blr	x8
	bl	_SVN_ERR
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	ldr	w0, [x19, #32]
	add	x3, sp, #24
	mov	x1, x21
	mov	x2, x20
	blr	x8
	bl	_SVN_ERR
	ldr	x7, [x19, #24]
	ldr	x8, [x7]
	cbz	x8, LBB0_18
; %bb.12:
	ldp	x5, x3, [sp, #32]
	ldr	x4, [x19]
	ldr	x6, [sp, #24]
	ldr	w8, [x22]
	ldr	w9, [x19, #16]
	str	x20, [sp, #16]
	stp	w8, w9, [sp, #8]
	str	x22, [sp]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	bl	_update_entry
	b	LBB0_19
LBB0_13:
	cbz	x8, LBB0_16
; %bb.14:
	ldr	x8, [x8]
Lloh10:
	adrp	x10, _svn_node_dir@GOTPAGE
Lloh11:
	ldr	x10, [x10, _svn_node_dir@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ne	LBB0_16
; %bb.15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.eq	LBB0_11
LBB0_16:
Lloh13:
	adrp	x8, _SVN_ERR_FS_PATH_SYNTAX@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SVN_ERR_FS_PATH_SYNTAX@GOTPAGEOFF]
Lloh15:
	ldr	w19, [x8]
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_17:
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	bl	_svn_error_create
	b	LBB0_20
LBB0_18:
	ldr	x3, [x19]
	ldr	x4, [sp, #24]
	ldp	w7, w6, [x22]
	ldr	w8, [x19, #16]
	str	x20, [sp, #8]
	str	w8, [sp]
Lloh18:
	adrp	x5, l_.str.3@PAGE
Lloh19:
	add	x5, x5, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	bl	_delta_dirs
LBB0_19:
	bl	_SVN_ERR
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x0, [sp, #24]
	mov	x1, x20
	blr	x8
	bl	_svn_error_trace
LBB0_20:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_ERR_AUTHZ_ROOT_UNREADABLE,4,2 ; @SVN_ERR_AUTHZ_ROOT_UNREADABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Not authorized to open root of edit operation"

	.comm	_SVN_ERR_FS_PATH_SYNTAX,4,2     ; @SVN_ERR_FS_PATH_SYNTAX
l_.str.1:                               ; @.str.1
	.asciz	"Target path '%s' does not exist"

	.comm	_svn_node_dir,8,3               ; @svn_node_dir
l_.str.2:                               ; @.str.2
	.asciz	"Cannot replace a directory from within"

l_.str.3:                               ; @.str.3
	.space	1

	.no_dead_strip	_drive
.subsections_via_symbols
