	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function locate_key
_locate_key:                            ## @locate_key
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rcx, %r14
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rcx), %r12
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%r8, %rdi
	callq	_svn_fs_base__trail_debug
	leaq	L_.str.2(%rip), %rdi
	callq	_N_
	movl	%eax, %r15d
	movq	(%r12), %rdi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	(%rbx), %esi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	callq	*(%rdi)
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_BDB_WRAP
	movq	%rax, %rdi
	callq	_SVN_ERR
	leaq	-88(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_svn_fs_base__clear_dbt
	movq	$0, -64(%rbp)
	movq	_DB_DBT_USERMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -88(%rbp)
	movq	(%r13), %rdi
	movq	_DB_SET@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_svn_bdb_dbc_get
	movl	%eax, %ebx
	movq	_DB_NOTFOUND@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_2
## %bb.1:
	movq	(%r13), %rdi
	callq	_svn_bdb_dbc_close
	movq	_SVN_ERR_FS_NO_SUCH_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r12), %rcx
	leaq	L_.str.3(%rip), %rdx
	xorl	%esi, %esi
	callq	_svn_error_createf
	jmp	LBB0_9
LBB0_2:
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.3:
	movq	_SVN_BDB_DB_BUFFER_SMALL@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_4
## %bb.5:
	leaq	-120(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_svn_fs_base__clear_dbt
	movq	_DB_DBT_PARTIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_DB_DBT_USERMEM@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	orl	%eax, -120(%rbp)
	movq	(%r13), %rdi
	movl	(%r15), %ecx
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_svn_bdb_dbc_get
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movl	%eax, %ebx
	leaq	L_.str.5(%rip), %r15
	jmp	LBB0_7
LBB0_8:
	movq	-80(%rbp), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_9
LBB0_4:
	leaq	L_.str.4(%rip), %r15
LBB0_7:
	movq	(%r13), %rdi
	callq	_svn_bdb_dbc_close
	movq	%r15, %rdi
	callq	_N_
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_BDB_WRAP
LBB0_9:
	addq	$88, %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	"strings"

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

L_.str.2:                               ## @.str.2
	.asciz	"creating cursor for reading a string"

	.comm	_DB_DBT_USERMEM,4,2             ## @DB_DBT_USERMEM
	.comm	_DB_SET,4,2                     ## @DB_SET
	.comm	_DB_NOTFOUND,4,2                ## @DB_NOTFOUND
	.comm	_SVN_ERR_FS_NO_SUCH_STRING,4,2  ## @SVN_ERR_FS_NO_SUCH_STRING
L_.str.3:                               ## @.str.3
	.asciz	"No such string '%s'"

	.comm	_SVN_BDB_DB_BUFFER_SMALL,4,2    ## @SVN_BDB_DB_BUFFER_SMALL
L_.str.4:                               ## @.str.4
	.asciz	"moving cursor"

	.comm	_DB_DBT_PARTIAL,4,2             ## @DB_DBT_PARTIAL
L_.str.5:                               ## @.str.5
	.asciz	"rerunning cursor move"

	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_locate_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function locate_key
_locate_key:                            ; @locate_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x23, x4
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x25, [x3]
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, x4
	bl	_svn_fs_base__trail_debug
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_N_
	mov	x24, x0
	ldr	x0, [x25]
	ldr	x8, [x0]
	ldr	w1, [x23]
	mov	x2, x20
	mov	w3, #0
	blr	x8
	mov	x2, x0
	mov	x0, x19
	mov	x1, x24
	bl	_BDB_WRAP
	bl	_SVN_ERR
	add	x0, sp, #32
	bl	_svn_fs_base__clear_dbt
	str	xzr, [sp, #56]
Lloh6:
	adrp	x25, _DB_DBT_USERMEM@GOTPAGE
Lloh7:
	ldr	x25, [x25, _DB_DBT_USERMEM@GOTPAGEOFF]
	ldr	w8, [x25]
	ldr	w9, [sp, #32]
	orr	w8, w9, w8
	str	w8, [sp, #32]
	ldr	x0, [x20]
Lloh8:
	adrp	x24, _DB_SET@GOTPAGE
Lloh9:
	ldr	x24, [x24, _DB_SET@GOTPAGEOFF]
	ldr	w3, [x24]
	add	x2, sp, #32
	mov	x1, x21
	bl	_svn_bdb_dbc_get
Lloh10:
	adrp	x8, _DB_NOTFOUND@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DB_NOTFOUND@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	ldr	x0, [x20]
	bl	_svn_bdb_dbc_close
Lloh13:
	adrp	x8, _SVN_ERR_FS_NO_SUCH_STRING@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SVN_ERR_FS_NO_SUCH_STRING@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	x3, [x21, #16]
Lloh16:
	adrp	x2, l_.str.3@PAGE
Lloh17:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	w1, #0
	bl	_svn_error_createf
	b	LBB0_9
LBB0_2:
	mov	x23, x0
	cbz	w0, LBB0_6
; %bb.3:
Lloh18:
	adrp	x8, _SVN_BDB_DB_BUFFER_SMALL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SVN_BDB_DB_BUFFER_SMALL@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w23, w8
	b.ne	LBB0_7
; %bb.4:
	mov	x0, sp
	bl	_svn_fs_base__clear_dbt
	ldr	w8, [x25]
Lloh21:
	adrp	x9, _DB_DBT_PARTIAL@GOTPAGE
Lloh22:
	ldr	x9, [x9, _DB_DBT_PARTIAL@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [sp]
	orr	w8, w8, w9
	str	w8, [sp]
	ldr	x0, [x20]
	ldr	w3, [x24]
	mov	x2, sp
	mov	x1, x21
	bl	_svn_bdb_dbc_get
	cbz	w0, LBB0_6
; %bb.5:
	mov	x23, x0
Lloh24:
	adrp	x21, l_.str.5@PAGE
Lloh25:
	add	x21, x21, l_.str.5@PAGEOFF
	b	LBB0_8
LBB0_6:
	ldr	x8, [sp, #40]
	str	x8, [x22]
Lloh26:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh28:
	ldr	x0, [x8]
	b	LBB0_9
LBB0_7:
Lloh29:
	adrp	x21, l_.str.4@PAGE
Lloh30:
	add	x21, x21, l_.str.4@PAGEOFF
LBB0_8:
	ldr	x0, [x20]
	bl	_svn_bdb_dbc_close
	mov	x0, x21
	bl	_N_
	mov	x1, x0
	mov	x0, x19
	mov	x2, x23
	bl	_BDB_WRAP
LBB0_9:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"strings"

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

l_.str.2:                               ; @.str.2
	.asciz	"creating cursor for reading a string"

	.comm	_DB_DBT_USERMEM,4,2             ; @DB_DBT_USERMEM
	.comm	_DB_SET,4,2                     ; @DB_SET
	.comm	_DB_NOTFOUND,4,2                ; @DB_NOTFOUND
	.comm	_SVN_ERR_FS_NO_SUCH_STRING,4,2  ; @SVN_ERR_FS_NO_SUCH_STRING
l_.str.3:                               ; @.str.3
	.asciz	"No such string '%s'"

	.comm	_SVN_BDB_DB_BUFFER_SMALL,4,2    ; @SVN_BDB_DB_BUFFER_SMALL
l_.str.4:                               ; @.str.4
	.asciz	"moving cursor"

	.comm	_DB_DBT_PARTIAL,4,2             ; @DB_DBT_PARTIAL
l_.str.5:                               ; @.str.5
	.asciz	"rerunning cursor move"

	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_locate_key
.subsections_via_symbols
