	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_base__get_lock_helper   ## -- Begin function svn_fs_base__get_lock_helper
	.p2align	4, 0x90
_svn_fs_base__get_lock_helper:          ## @svn_fs_base__get_lock_helper
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %rdx
	movq	%rdi, %r14
	movl	(%rbx), %esi
	leaq	-32(%rbp), %rdi
	movq	%rbx, %rcx
	movq	%r15, %r8
	callq	_svn_fs_bdb__lock_token_get
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	(%rax), %rcx
	movq	_SVN_ERR_FS_NO_SUCH_LOCK@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_4
## %bb.2:
	movq	_SVN_ERR_FS_LOCK_EXPIRED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_4
## %bb.3:
	movq	_SVN_ERR_FS_BAD_LOCK_TOKEN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_4
LBB0_6:
	movq	%rax, %rdi
	callq	_SVN_ERR
	movl	(%rbx), %esi
	movq	-32(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rcx
	movq	%r15, %r8
	callq	_svn_fs_bdb__lock_get
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movq	(%rbx), %rax
	movq	_SVN_ERR_FS_LOCK_EXPIRED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.8:
	movq	_SVN_ERR_FS_BAD_LOCK_TOKEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
LBB0_10:
	movq	%rbx, %rdi
	callq	_SVN_ERR
	movq	%rbx, %rdi
	callq	_svn_error_trace
	jmp	LBB0_11
LBB0_4:
	movq	%rax, %rdi
	jmp	LBB0_5
LBB0_9:
	movq	%rbx, %rdi
LBB0_5:
	callq	_svn_error_clear
	movq	$0, (%r14)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_ERR_FS_NO_SUCH_LOCK,8,3    ## @SVN_ERR_FS_NO_SUCH_LOCK
	.comm	_SVN_ERR_FS_LOCK_EXPIRED,8,3    ## @SVN_ERR_FS_LOCK_EXPIRED
	.comm	_SVN_ERR_FS_BAD_LOCK_TOKEN,8,3  ## @SVN_ERR_FS_BAD_LOCK_TOKEN
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_base__get_lock_helper   ; -- Begin function svn_fs_base__get_lock_helper
	.p2align	2
_svn_fs_base__get_lock_helper:          ; @svn_fs_base__get_lock_helper
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x2
	mov	x2, x1
	mov	x19, x0
	ldr	w1, [x21]
	add	x0, sp, #8
	mov	x3, x21
	mov	x4, x20
	bl	_svn_fs_bdb__lock_token_get
Lloh0:
	adrp	x22, _SVN_ERR_FS_LOCK_EXPIRED@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SVN_ERR_FS_LOCK_EXPIRED@GOTPAGEOFF]
Lloh2:
	adrp	x23, _SVN_ERR_FS_BAD_LOCK_TOKEN@GOTPAGE
Lloh3:
	ldr	x23, [x23, _SVN_ERR_FS_BAD_LOCK_TOKEN@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x0]
Lloh4:
	adrp	x9, _SVN_ERR_FS_NO_SUCH_LOCK@GOTPAGE
Lloh5:
	ldr	x9, [x9, _SVN_ERR_FS_NO_SUCH_LOCK@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	ldr	x10, [x22]
	ldr	x11, [x23]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.eq	LBB0_5
LBB0_2:
	bl	_SVN_ERR
	ldr	w1, [x21]
	ldr	x2, [sp, #8]
	mov	x0, x19
	mov	x3, x21
	mov	x4, x20
	bl	_svn_fs_bdb__lock_get
	mov	x20, x0
	cbz	x0, LBB0_6
; %bb.3:
	ldr	x8, [x20]
	ldr	x9, [x22]
	ldr	x10, [x23]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_6
; %bb.4:
	mov	x0, x20
LBB0_5:
	bl	_svn_error_clear
	str	xzr, [x19]
Lloh7:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	x0, [x8]
	b	LBB0_7
LBB0_6:
	mov	x0, x20
	bl	_SVN_ERR
	mov	x0, x20
	bl	_svn_error_trace
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_ERR_FS_NO_SUCH_LOCK,8,3    ; @SVN_ERR_FS_NO_SUCH_LOCK
	.comm	_SVN_ERR_FS_LOCK_EXPIRED,8,3    ; @SVN_ERR_FS_LOCK_EXPIRED
	.comm	_SVN_ERR_FS_BAD_LOCK_TOKEN,8,3  ; @SVN_ERR_FS_BAD_LOCK_TOKEN
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
