	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_lock
_get_lock:                              ## @get_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, %rbx
	movq	%r8, %r15
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	$0, -48(%rbp)
	movl	(%rsi), %esi
	leaq	-56(%rbp), %rdi
	movq	%r9, %rcx
	callq	_digest_path_from_path
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_svn_io_check_path
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	$0, (%r12)
	movq	-72(%rbp), %rax
	movq	_svn_node_none@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movl	(%r14), %edx
	movq	-56(%rbp), %rcx
	leaq	-48(%rbp), %rsi
	xorl	%edi, %edi
	movq	%rbx, %r8
	callq	_read_digest_file
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.4:
	callq	_lock_expired
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_7
## %bb.6:
	movq	-48(%rbp), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_unlock_single
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_7:
	movq	-48(%rbp), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_SVN_FS__ERR_LOCK_EXPIRED
	jmp	LBB0_10
LBB0_2:
	testq	%r15, %r15
	je	LBB0_9
## %bb.3:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_SVN_FS__ERR_NO_SUCH_LOCK
	jmp	LBB0_10
LBB0_8:
	movq	-48(%rbp), %rax
	movq	%rax, (%r12)
LBB0_9:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_svn_node_none,8,3              ## @svn_node_none
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_get_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_lock
_get_lock:                              ; @get_lock
	.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	x20, x5
	mov	x24, x4
	mov	x21, x3
	mov	x23, x2
	mov	x19, x1
	mov	x22, x0
	str	xzr, [sp, #24]
	ldr	w1, [x1]
	add	x0, sp, #16
	mov	x3, x5
	bl	_digest_path_from_path
	bl	_SVN_ERR
	ldr	x0, [sp, #16]
	add	x1, sp, #8
	mov	x2, x20
	bl	_svn_io_check_path
	bl	_SVN_ERR
	str	xzr, [x22]
	ldr	x8, [sp, #8]
Lloh0:
	adrp	x9, _svn_node_none@GOTPAGE
Lloh1:
	ldr	x9, [x9, _svn_node_none@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.1:
	ldr	w2, [x19]
	ldr	x3, [sp, #16]
	add	x1, sp, #24
	mov	x0, #0
	mov	x4, x20
	bl	_read_digest_file
	bl	_SVN_ERR
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_6
; %bb.2:
	bl	_lock_expired
	cbz	x0, LBB0_8
; %bb.3:
	cbz	x21, LBB0_5
; %bb.4:
	ldr	x1, [sp, #24]
	mov	x0, x19
	mov	x2, x20
	bl	_unlock_single
	bl	_SVN_ERR
LBB0_5:
	ldr	x8, [sp, #24]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_SVN_FS__ERR_LOCK_EXPIRED
	b	LBB0_10
LBB0_6:
	cbz	x24, LBB0_9
; %bb.7:
	mov	x0, x19
	mov	x1, x23
	bl	_SVN_FS__ERR_NO_SUCH_LOCK
	b	LBB0_10
LBB0_8:
	ldr	x8, [sp, #24]
	str	x8, [x22]
LBB0_9:
Lloh3:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh5:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_svn_node_none,8,3              ; @svn_node_none
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_get_lock
.subsections_via_symbols
