	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_bdb__string_read        ## -- Begin function svn_fs_bdb__string_read
	.p2align	4, 0x90
_svn_fs_bdb__string_read:               ## @svn_fs_bdb__string_read
	.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	$136, %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, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	leaq	-176(%rbp), %r14
	movq	%r14, %rdi
	callq	_svn_fs_base__str_to_dbt
	leaq	-72(%rbp), %r13
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	movq	%r14, %rdx
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rcx
	movq	%rbx, %r8
	movq	16(%rbp), %r9
	callq	_locate_key
	movq	%rax, %rdi
	callq	_SVN_ERR
	movq	%r12, %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	subq	-72(%rbp), %rbx
	jl	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rsi
	movq	%r13, %rdi
	movq	%r14, %rdx
	callq	_get_next_length
	movl	%eax, %r15d
	movq	_DB_NOTFOUND@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %r12
	testl	%r15d, %r15d
	je	LBB0_1
	jmp	LBB0_8
LBB0_2:
	xorl	%r13d, %r13d
	leaq	-176(%rbp), %r14
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-128(%rbp), %r15
	movq	%r15, %rdi
	callq	_svn_fs_base__clear_dbt
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addq	%r13, %rax
	movq	%rax, -128(%rbp)
	movq	(%rbx), %rax
	subq	%r13, %rax
	movq	%rax, -104(%rbp)
	movq	%r12, -88(%rbp)
	movq	_DB_DBT_PARTIAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_DB_DBT_USERMEM@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	%rax, -96(%rbp)
	orl	%ecx, -120(%rbp)
	movq	-48(%rbp), %rdi
	movq	_DB_CURRENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_svn_bdb_dbc_get
	testl	%eax, %eax
	jne	LBB0_4
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	addq	-112(%rbp), %r13
	cmpq	(%rbx), %r13
	je	LBB0_11
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rsi
	leaq	-72(%rbp), %rdi
	movq	%r14, %rdx
	callq	_get_next_length
	movl	%eax, %r15d
	movq	_DB_NOTFOUND@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	je	LBB0_12
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, %r12d
	testl	%r15d, %r15d
	je	LBB0_3
	jmp	LBB0_8
LBB0_6:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	jmp	LBB0_13
LBB0_4:
	movl	%eax, %r15d
	movq	-48(%rbp), %rdi
	callq	_svn_bdb_dbc_close
LBB0_8:
	leaq	L_.str(%rip), %rdi
	callq	_N_
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movl	%r15d, %edx
	callq	_BDB_WRAP
	jmp	LBB0_9
LBB0_11:
	leaq	L_.str.1(%rip), %rdi
	callq	_N_
	movl	%eax, %ebx
	movq	-48(%rbp), %rdi
	callq	_svn_bdb_dbc_close
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_BDB_WRAP
	movq	%rax, %rdi
	callq	_SVN_ERR
LBB0_12:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%rax)
LBB0_13:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_9:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DB_NOTFOUND,4,2                ## @DB_NOTFOUND
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reading string"

	.comm	_DB_DBT_USERMEM,4,2             ## @DB_DBT_USERMEM
	.comm	_DB_DBT_PARTIAL,4,2             ## @DB_DBT_PARTIAL
	.comm	_DB_CURRENT,4,2                 ## @DB_CURRENT
L_.str.1:                               ## @.str.1
	.asciz	"closing string-reading cursor"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_bdb__string_read        ; -- Begin function svn_fs_bdb__string_read
	.p2align	2
_svn_fs_bdb__string_read:               ; @svn_fs_bdb__string_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x23, x6
	mov	x24, x5
	mov	x20, x4
	mov	x22, x3
	mov	x21, x2
	mov	x19, x0
	add	x0, sp, #64
	bl	_svn_fs_base__str_to_dbt
	mov	x0, sp
	add	x1, sp, #8
	add	x2, sp, #64
	mov	x3, x19
	mov	x4, x24
	mov	x5, x23
	bl	_locate_key
	bl	_SVN_ERR
Lloh0:
	adrp	x24, _DB_NOTFOUND@GOTPAGE
Lloh1:
	ldr	x24, [x24, _DB_NOTFOUND@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp]
	subs	x25, x22, x8
	b.lt	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x1, [sp, #8]
	mov	x0, sp
	add	x2, sp, #64
	bl	_get_next_length
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x23, x0
	mov	x22, x25
	cbz	w0, LBB0_1
	b	LBB0_9
LBB0_4:
	mov	x25, #0
Lloh2:
	adrp	x26, _DB_DBT_USERMEM@GOTPAGE
Lloh3:
	ldr	x26, [x26, _DB_DBT_USERMEM@GOTPAGEOFF]
Lloh4:
	adrp	x27, _DB_DBT_PARTIAL@GOTPAGE
Lloh5:
	ldr	x27, [x27, _DB_DBT_PARTIAL@GOTPAGEOFF]
Lloh6:
	adrp	x28, _DB_CURRENT@GOTPAGE
Lloh7:
	ldr	x28, [x28, _DB_CURRENT@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #16
	bl	_svn_fs_base__clear_dbt
	add	x8, x21, x25
	str	x8, [sp, #16]
	ldr	x8, [x20]
	sub	x8, x8, x25
	stp	x8, x22, [sp, #48]
	str	x8, [sp, #40]
	ldr	w8, [x26]
	ldr	w9, [x27]
	orr	w8, w9, w8
	ldr	w9, [sp, #24]
	orr	w8, w8, w9
	str	w8, [sp, #24]
	ldr	x0, [sp, #8]
	ldr	w3, [x28]
	add	x1, sp, #64
	add	x2, sp, #16
	bl	_svn_bdb_dbc_get
	cbnz	w0, LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #32]
	ldr	x9, [x20]
	add	x25, x8, x25
	cmp	x25, x9
	b.eq	LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [sp, #8]
	mov	x0, sp
	add	x2, sp, #64
	bl	_get_next_length
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, x0
	mov	x22, #0
	cbz	w0, LBB0_5
LBB0_9:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_N_
	mov	x1, x0
	mov	x0, x19
	mov	x2, x23
LBB0_10:
	bl	_BDB_WRAP
	b	LBB0_16
LBB0_11:
	str	xzr, [x20]
	b	LBB0_15
LBB0_12:
	mov	x22, x0
	ldr	x0, [sp, #8]
	bl	_svn_bdb_dbc_close
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_N_
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	b	LBB0_10
LBB0_13:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_N_
	mov	x21, x0
	ldr	x0, [sp, #8]
	bl	_svn_bdb_dbc_close
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_BDB_WRAP
	bl	_SVN_ERR
LBB0_14:
	str	x25, [x20]
LBB0_15:
Lloh14:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh16:
	ldr	x0, [x8]
LBB0_16:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_DB_NOTFOUND,4,2                ; @DB_NOTFOUND
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reading string"

	.comm	_DB_DBT_USERMEM,4,2             ; @DB_DBT_USERMEM
	.comm	_DB_DBT_PARTIAL,4,2             ; @DB_DBT_PARTIAL
	.comm	_DB_CURRENT,4,2                 ; @DB_CURRENT
l_.str.1:                               ; @.str.1
	.asciz	"closing string-reading cursor"

.subsections_via_symbols
