	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_wc_add_lock2               ## -- Begin function svn_wc_add_lock2
	.p2align	4, 0x90
_svn_wc_add_lock2:                      ## @svn_wc_add_lock2
	.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, %r15
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_svn_dirent_is_absolute
	movl	%eax, %edi
	callq	_SVN_ERR_ASSERT
	movl	(%r13), %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_svn_dirent_dirname
	movl	%ebx, %edi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_svn_wc__write_check
	movq	%rax, %rdi
	callq	_SVN_ERR
	movups	(%r12), %xmm0
	movaps	%xmm0, -64(%rbp)
	movl	(%r13), %edi
	leaq	-64(%rbp), %rdx
	movq	%r14, %rsi
	movq	%r15, %rcx
	callq	_svn_wc__db_lock_add
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rax), %rcx
	movq	_SVN_ERR_WC_PATH_NOT_FOUND@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.3:
	movq	%rax, %rdi
	callq	_svn_error_clear
	movq	_SVN_ERR_ENTRY_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_svn_dirent_local_style
	movl	%r12d, %edi
	xorl	%esi, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_svn_error_createf
	jmp	LBB0_10
LBB0_4:
	movl	(%r13), %esi
	movq	_SVN_PROP_NEEDS_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rdi
	movq	%r14, %rdx
	movq	%r15, %r8
	movq	%r15, %r9
	callq	_svn_wc__internal_propget
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	(%rax), %rcx
	movq	_SVN_ERR_WC_PATH_UNEXPECTED_STATUS@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_7
## %bb.6:
	movq	%rax, %rdi
	callq	_svn_error_clear
	jmp	LBB0_9
LBB0_2:
	movq	%rax, %rdi
	callq	_svn_error_trace
	jmp	LBB0_10
LBB0_7:
	movq	%rax, %rdi
	callq	_SVN_ERR
	cmpq	$0, -48(%rbp)
	je	LBB0_9
## %bb.8:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_svn_io_set_file_read_write
	movq	%rax, %rdi
	callq	_SVN_ERR
LBB0_9:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_ERR_WC_PATH_NOT_FOUND,8,3  ## @SVN_ERR_WC_PATH_NOT_FOUND
	.comm	_SVN_ERR_ENTRY_NOT_FOUND,4,2    ## @SVN_ERR_ENTRY_NOT_FOUND
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"'%s' is not under version control"

	.comm	_SVN_PROP_NEEDS_LOCK,4,2        ## @SVN_PROP_NEEDS_LOCK
	.comm	_SVN_ERR_WC_PATH_UNEXPECTED_STATUS,8,3 ## @SVN_ERR_WC_PATH_UNEXPECTED_STATUS
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_FALSE,4,2                      ## @FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_wc_add_lock2               ; -- Begin function svn_wc_add_lock2
	.p2align	2
_svn_wc_add_lock2:                      ; @svn_wc_add_lock2
	.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	x19, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_svn_dirent_is_absolute
	bl	_SVN_ERR_ASSERT
	ldr	w23, [x21]
	mov	x0, x20
	mov	x1, x19
	bl	_svn_dirent_dirname
	mov	x1, x0
	mov	x0, x23
	mov	x2, x19
	bl	_svn_wc__write_check
	bl	_SVN_ERR
	ldr	q0, [x22]
	str	q0, [sp, #16]
	ldr	w0, [x21]
	add	x2, sp, #16
	mov	x1, x20
	mov	x3, x19
	bl	_svn_wc__db_lock_add
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SVN_ERR_WC_PATH_NOT_FOUND@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SVN_ERR_WC_PATH_NOT_FOUND@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.2:
	bl	_svn_error_clear
Lloh3:
	adrp	x8, _SVN_ERR_ENTRY_NOT_FOUND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_ERR_ENTRY_NOT_FOUND@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x22, x0
	mov	x0, x20
	mov	x1, x19
	bl	_svn_dirent_local_style
	mov	x3, x0
	mov	x0, x21
	mov	x1, #0
	mov	x2, x22
	bl	_svn_error_createf
	b	LBB0_10
LBB0_3:
	ldr	w1, [x21]
Lloh8:
	adrp	x8, _SVN_PROP_NEEDS_LOCK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SVN_PROP_NEEDS_LOCK@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	add	x0, sp, #8
	mov	x2, x20
	mov	x4, x19
	mov	x5, x19
	bl	_svn_wc__internal_propget
	cbz	x0, LBB0_7
; %bb.4:
	ldr	x8, [x0]
Lloh11:
	adrp	x9, _SVN_ERR_WC_PATH_UNEXPECTED_STATUS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SVN_ERR_WC_PATH_UNEXPECTED_STATUS@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
	bl	_svn_error_clear
	b	LBB0_9
LBB0_6:
	bl	_svn_error_trace
	b	LBB0_10
LBB0_7:
	bl	_SVN_ERR
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_9
; %bb.8:
Lloh14:
	adrp	x8, _FALSE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_svn_io_set_file_read_write
	bl	_SVN_ERR
LBB0_9:
Lloh17:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh19:
	ldr	x0, [x8]
LBB0_10:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_ERR_WC_PATH_NOT_FOUND,8,3  ; @SVN_ERR_WC_PATH_NOT_FOUND
	.comm	_SVN_ERR_ENTRY_NOT_FOUND,4,2    ; @SVN_ERR_ENTRY_NOT_FOUND
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"'%s' is not under version control"

	.comm	_SVN_PROP_NEEDS_LOCK,4,2        ; @SVN_PROP_NEEDS_LOCK
	.comm	_SVN_ERR_WC_PATH_UNEXPECTED_STATUS,8,3 ; @SVN_ERR_WC_PATH_UNEXPECTED_STATUS
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_FALSE,4,2                      ; @FALSE
.subsections_via_symbols
