	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_bdb__lock_token_get     ## -- Begin function svn_fs_bdb__lock_token_get
	.p2align	4, 0x90
_svn_fs_bdb__lock_token_get:            ## @svn_fs_bdb__lock_token_get
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %r14
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%rcx, %rdi
	callq	_svn_fs_base__trail_debug
	movq	(%r14), %r12
	movq	(%r12), %r14
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r13d
	leaq	-104(%rbp), %rdi
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rsi
	callq	_svn_fs_base__str_to_dbt
	movl	%eax, %r15d
	leaq	-48(%rbp), %rdi
	callq	_svn_fs_base__result_dbt
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	callq	*%r14
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, %ebx
	leaq	-48(%rbp), %rdi
	movq	%r14, %rsi
	callq	_svn_fs_base__track_dbt
	movq	_DB_NOTFOUND@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_2
## %bb.1:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_SVN_FS__ERR_NO_SUCH_LOCK
	jmp	LBB0_9
LBB0_2:
	leaq	L_.str.2(%rip), %rdi
	callq	_N_
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_BDB_WRAP
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %esi
	movq	%r14, %rdi
	callq	_apr_pstrmemdup
	movq	%rax, %rbx
	leaq	-96(%rbp), %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rcx
	movq	%r14, %r8
	callq	_svn_fs_bdb__lock_get
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	%rax, %r13
	movq	(%rax), %rax
	movq	_SVN_ERR_FS_LOCK_EXPIRED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	movq	_SVN_ERR_FS_BAD_LOCK_TOKEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
LBB0_5:
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_svn_fs_bdb__lock_token_delete
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_svn_error_compose
LBB0_7:
	movq	%r13, %rdi
	callq	_svn_error_trace
	jmp	LBB0_9
LBB0_8:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_9:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lock-tokens"

L_.str.1:                               ## @.str.1
	.asciz	"get"

	.comm	_DB_NOTFOUND,4,2                ## @DB_NOTFOUND
L_.str.2:                               ## @.str.2
	.asciz	"reading lock token"

	.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_bdb__lock_token_get     ; -- Begin function svn_fs_bdb__lock_token_get
	.p2align	2
_svn_fs_bdb__lock_token_get:            ; @svn_fs_bdb__lock_token_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x4
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
	ldr	x24, [x1]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x3
	bl	_svn_fs_base__trail_debug
	ldr	x24, [x24]
	ldr	x27, [x24]
	ldr	w25, [x21]
	add	x0, sp, #24
	mov	x1, x20
	bl	_svn_fs_base__str_to_dbt
	mov	x26, x0
	add	x0, sp, #16
	bl	_svn_fs_base__result_dbt
	mov	x3, x0
	mov	x0, x24
	mov	x1, x25
	mov	x2, x26
	mov	w4, #0
	blr	x27
	mov	x24, x0
	add	x0, sp, #16
	mov	x1, x19
	bl	_svn_fs_base__track_dbt
Lloh4:
	adrp	x8, _DB_NOTFOUND@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DB_NOTFOUND@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w24, w8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x22
	mov	x1, x20
	bl	_SVN_FS__ERR_NO_SUCH_LOCK
	b	LBB0_8
LBB0_2:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_N_
	mov	x1, x0
	mov	x0, x22
	mov	x2, x24
	bl	_BDB_WRAP
	bl	_SVN_ERR
	ldp	w2, w1, [sp, #16]
	mov	x0, x19
	bl	_apr_pstrmemdup
	mov	x25, x0
	add	x0, sp, #8
	mov	x1, x22
	mov	x2, x25
	mov	x3, x21
	mov	x4, x19
	bl	_svn_fs_bdb__lock_get
	cbz	x0, LBB0_7
; %bb.3:
	mov	x24, x0
	ldr	x8, [x0]
Lloh9:
	adrp	x9, _SVN_ERR_FS_LOCK_EXPIRED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SVN_ERR_FS_LOCK_EXPIRED@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _SVN_ERR_FS_BAD_LOCK_TOKEN@GOTPAGE
Lloh13:
	ldr	x10, [x10, _SVN_ERR_FS_BAD_LOCK_TOKEN@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_6
; %bb.4:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	mov	x3, x19
	bl	_svn_fs_bdb__lock_token_delete
	cbz	x0, LBB0_6
; %bb.5:
	mov	x1, x0
	mov	x0, x24
	bl	_svn_error_compose
LBB0_6:
	mov	x0, x24
	bl	_svn_error_trace
	b	LBB0_8
LBB0_7:
	str	x25, [x23]
Lloh15:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	x0, [x8]
LBB0_8:
	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
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lock-tokens"

l_.str.1:                               ; @.str.1
	.asciz	"get"

	.comm	_DB_NOTFOUND,4,2                ; @DB_NOTFOUND
l_.str.2:                               ; @.str.2
	.asciz	"reading lock token"

	.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
