	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_lock
_check_lock:                            ## @check_lock
	.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	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, %r12
	movq	%rcx, %r13
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	16(%rbp), %rcx
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rdi)
	leaq	-80(%rbp), %rdi
	movq	%r8, %rsi
	movq	%r14, %rdx
	callq	_svn_fs_fs__check_path
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-80(%rbp), %r15
	movq	_svn_node_dir@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_3
## %bb.1:
	movl	(%r13), %edi
	movq	%r14, %rsi
	callq	_SVN_FS__ERR_NOT_FILE
	jmp	LBB0_2
LBB0_3:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	_svn_node_none@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	callq	_SVN_IS_VALID_REVNUM
	cmpq	%r14, %r15
	jne	LBB0_8
## %bb.4:
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:
	movq	_SVN_ERR_FS_NOT_FOUND@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_8:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	testq	%rax, %rax
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %r14
	je	LBB0_20
## %bb.9:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, (%r15)
	jle	LBB0_11
## %bb.10:
	movq	%r15, %rcx
	movq	_SVN_ERR_FS_NO_SUCH_REVISION@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	L_.str.1(%rip), %rdi
	movq	%rcx, %r12
	callq	__
	movq	(%r12), %rcx
	movl	%r15d, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	jmp	LBB0_16
LBB0_5:
	movq	_SVN_ERR_FS_OUT_OF_DATE@GOTPCREL(%rip), %rax
LBB0_7:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	(%rax), %r14d
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	movq	%r15, %rcx
	callq	_svn_error_createf
LBB0_2:
	movq	%rax, (%rbx)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_19
LBB0_11:
	leaq	-56(%rbp), %rdi
	movq	%r12, %rsi
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	16(%rbp), %rcx
	callq	_svn_fs_fs__node_created_rev
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rdi
	callq	_SVN_IS_VALID_REVNUM
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	movq	(%r15), %rax
	cmpq	-56(%rbp), %rax
	jge	LBB0_20
## %bb.14:
	movq	_SVN_ERR_FS_OUT_OF_DATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_15
LBB0_20:
	movl	(%r13), %edi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-56(%rbp), %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	16(%rbp), %r8
	callq	_get_lock_helper
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.21:
	cmpl	$0, 4(%r13)
	jne	LBB0_18
## %bb.22:
	movl	(%r13), %edi
	callq	_SVN_FS__ERR_PATH_ALREADY_LOCKED
	jmp	LBB0_17
LBB0_12:
	movq	_SVN_ERR_FS_OUT_OF_DATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str(%rip), %rdi
LBB0_15:
	callq	__
	movl	%r14d, %edi
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %r14
	xorl	%esi, %esi
	movl	%eax, %edx
	movq	%r12, %rcx
LBB0_16:
	callq	_svn_error_createf
LBB0_17:
	movq	%rax, (%rbx)
LBB0_18:
	movq	(%r14), %rax
LBB0_19:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_svn_node_dir,8,3               ## @svn_node_dir
	.comm	_svn_node_none,8,3              ## @svn_node_none
	.comm	_SVN_ERR_FS_OUT_OF_DATE,4,2     ## @SVN_ERR_FS_OUT_OF_DATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Path '%s' doesn't exist in HEAD revision"

	.comm	_SVN_ERR_FS_NOT_FOUND,4,2       ## @SVN_ERR_FS_NOT_FOUND
	.comm	_SVN_ERR_FS_NO_SUCH_REVISION,4,2 ## @SVN_ERR_FS_NO_SUCH_REVISION
L_.str.1:                               ## @.str.1
	.asciz	"No such revision %ld"

L_.str.2:                               ## @.str.2
	.asciz	"Lock failed: newer version of '%s' exists"

	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_check_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_lock
_check_lock:                            ; @check_lock
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x6
	mov	x25, x5
	mov	x24, x4
	mov	x21, x3
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x26, _SVN_NO_ERROR@GOTPAGE
Lloh1:
	ldr	x26, [x26, _SVN_NO_ERROR@GOTPAGEOFF]
	ldr	x8, [x26]
	str	x8, [x0]
	add	x0, sp, #8
	mov	x1, x4
	mov	x2, x20
	mov	x3, x6
	bl	_svn_fs_fs__check_path
	bl	_SVN_ERR
	ldr	x27, [sp, #8]
Lloh2:
	adrp	x8, _svn_node_dir@GOTPAGE
Lloh3:
	ldr	x8, [x8, _svn_node_dir@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x27, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x21]
	mov	x1, x20
	bl	_SVN_FS__ERR_NOT_FILE
	b	LBB0_10
LBB0_2:
Lloh5:
	adrp	x8, _svn_node_none@GOTPAGE
Lloh6:
	ldr	x8, [x8, _svn_node_none@GOTPAGEOFF]
Lloh7:
	ldr	x28, [x8]
	ldr	x0, [x23]
	bl	_SVN_IS_VALID_REVNUM
	cmp	x27, x28
	b.ne	LBB0_6
; %bb.3:
Lloh8:
	adrp	x8, _SVN_ERR_FS_NOT_FOUND@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SVN_ERR_FS_NOT_FOUND@GOTPAGEOFF]
Lloh10:
	adrp	x9, _SVN_ERR_FS_OUT_OF_DATE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SVN_ERR_FS_OUT_OF_DATE@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
LBB0_4:
	ldr	w21, [x8]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
LBB0_5:
	bl	__
	mov	x2, x0
	mov	x0, x21
	mov	x1, #0
	mov	x3, x20
	b	LBB0_9
LBB0_6:
	cbz	x0, LBB0_15
; %bb.7:
	ldr	x8, [x23]
	cmp	x8, x25
	b.le	LBB0_12
; %bb.8:
Lloh14:
	adrp	x8, _SVN_ERR_FS_NO_SUCH_REVISION@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SVN_ERR_FS_NO_SUCH_REVISION@GOTPAGEOFF]
Lloh16:
	ldr	w20, [x8]
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x2, x0
	ldr	x3, [x23]
	mov	x0, x20
	mov	x1, #0
LBB0_9:
	bl	_svn_error_createf
LBB0_10:
	str	x0, [x19]
LBB0_11:
	ldr	x0, [x26]
	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
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_12:
	mov	x0, sp
	mov	x1, x24
	mov	x2, x20
	mov	x3, x22
	bl	_svn_fs_fs__node_created_rev
	bl	_SVN_ERR
	ldr	x0, [sp]
	bl	_SVN_IS_VALID_REVNUM
	cbz	x0, LBB0_18
; %bb.13:
	ldr	x8, [x23]
	ldr	x9, [sp]
	cmp	x8, x9
	b.ge	LBB0_15
; %bb.14:
Lloh19:
	adrp	x8, _SVN_ERR_FS_OUT_OF_DATE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SVN_ERR_FS_OUT_OF_DATE@GOTPAGEOFF]
Lloh21:
	ldr	w21, [x8]
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_15:
	ldr	w0, [x21]
Lloh24:
	adrp	x8, _TRUE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh26:
	ldr	w3, [x8]
	mov	x1, sp
	mov	x2, x20
	mov	x4, x22
	bl	_get_lock_helper
	bl	_SVN_ERR
	ldr	x1, [sp]
	cbz	x1, LBB0_11
; %bb.16:
	ldr	w8, [x21, #4]
	cbnz	w8, LBB0_11
; %bb.17:
	ldr	w0, [x21]
	bl	_SVN_FS__ERR_PATH_ALREADY_LOCKED
	b	LBB0_10
LBB0_18:
Lloh27:
	adrp	x8, _SVN_ERR_FS_OUT_OF_DATE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SVN_ERR_FS_OUT_OF_DATE@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_svn_node_dir,8,3               ; @svn_node_dir
	.comm	_svn_node_none,8,3              ; @svn_node_none
	.comm	_SVN_ERR_FS_OUT_OF_DATE,4,2     ; @SVN_ERR_FS_OUT_OF_DATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Path '%s' doesn't exist in HEAD revision"

	.comm	_SVN_ERR_FS_NOT_FOUND,4,2       ; @SVN_ERR_FS_NOT_FOUND
	.comm	_SVN_ERR_FS_NO_SUCH_REVISION,4,2 ; @SVN_ERR_FS_NO_SUCH_REVISION
l_.str.1:                               ; @.str.1
	.asciz	"No such revision %ld"

l_.str.2:                               ; @.str.2
	.asciz	"Lock failed: newer version of '%s' exists"

	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_check_lock
.subsections_via_symbols
