	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_bdb__string_copy        ## -- Begin function svn_fs_bdb__string_copy
	.p2align	4, 0x90
_svn_fs_bdb__string_copy:               ## @svn_fs_bdb__string_copy
	.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	%r8, %rbx
	movq	%rcx, %r13
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movq	%r8, %rdi
	movq	%rdx, %rsi
	callq	_apr_pstrdup
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	callq	_get_key_and_bump
	movq	%rax, %rdi
	callq	_SVN_ERR
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%r13, %rdi
	callq	_svn_fs_base__trail_debug
	leaq	L_.str.2(%rip), %rdi
	callq	_N_
	movl	%eax, %ebx
	movq	(%r15), %rdi
	movl	(%r13), %esi
	leaq	-48(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	*(%rdi)
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_BDB_WRAP
	movq	%rax, %rdi
	callq	_SVN_ERR
	leaq	-60(%rbp), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_svn_fs_base__str_to_dbt
	movq	(%r12), %rsi
	leaq	-64(%rbp), %rdi
	callq	_svn_fs_base__str_to_dbt
	leaq	-68(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_svn_fs_base__clear_dbt
	movq	-48(%rbp), %rdi
	movq	_DB_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-60(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_svn_bdb_dbc_get
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:
	movl	%eax, %ebx
	movq	-48(%rbp), %rdi
	callq	_svn_bdb_dbc_close
	leaq	L_.str.3(%rip), %rdi
	callq	_N_
	movq	%r14, %rdi
LBB0_5:
	movl	%eax, %esi
	movl	%ebx, %edx
LBB0_10:
	callq	_BDB_WRAP
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	leaq	-68(%rbp), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.4(%rip), %rdx
	callq	_svn_fs_base__trail_debug
	movq	(%r15), %rdi
	movl	(%r13), %esi
	leaq	-64(%rbp), %rdx
	movq	%r14, %rcx
	xorl	%r8d, %r8d
	callq	*8(%rdi)
	testl	%eax, %eax
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_svn_fs_base__clear_dbt
	movq	-48(%rbp), %rdi
	movq	_DB_NEXT_DUP@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-60(%rbp), %rsi
	movq	%r14, %rdx
	callq	_svn_bdb_dbc_get
	movl	%eax, %r12d
	movq	_DB_NOTFOUND@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.8:
	movq	-48(%rbp), %rdi
	callq	_svn_bdb_dbc_close
	leaq	L_.str.6(%rip), %rdi
	callq	_N_
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movl	%r12d, %edx
	jmp	LBB0_10
LBB0_3:
	movl	%eax, %ebx
	movq	-48(%rbp), %rdi
	callq	_svn_bdb_dbc_close
	leaq	L_.str.5(%rip), %rdi
	callq	_N_
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_5
LBB0_9:
	leaq	L_.str.7(%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
	jmp	LBB0_10
	.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_SET,4,2                     ## @DB_SET
L_.str.3:                               ## @.str.3
	.asciz	"getting next-key value"

L_.str.4:                               ## @.str.4
	.asciz	"put"

L_.str.5:                               ## @.str.5
	.asciz	"writing copied data"

	.comm	_DB_NEXT_DUP,4,2                ## @DB_NEXT_DUP
	.comm	_DB_NOTFOUND,4,2                ## @DB_NOTFOUND
L_.str.6:                               ## @.str.6
	.asciz	"fetching string data for a copy"

L_.str.7:                               ## @.str.7
	.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_copy        ; -- Begin function svn_fs_bdb__string_copy
	.p2align	2
_svn_fs_bdb__string_copy:               ; @svn_fs_bdb__string_copy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x4
	mov	x20, x3
	mov	x21, x1
	mov	x19, x0
	ldr	x24, [x0]
	mov	x0, x4
	mov	x1, x2
	bl	_apr_pstrdup
	mov	x23, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	x3, x22
	bl	_get_key_and_bump
	bl	_SVN_ERR
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, x20
	bl	_svn_fs_base__trail_debug
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_N_
	mov	x22, x0
	ldr	x0, [x24]
	ldr	x8, [x0]
	ldr	w1, [x20]
	add	x2, sp, #8
	mov	w3, #0
	blr	x8
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	bl	_BDB_WRAP
	bl	_SVN_ERR
	add	x0, sp, #28
	mov	x1, x23
	bl	_svn_fs_base__str_to_dbt
	ldr	x1, [x21]
	add	x0, sp, #20
	bl	_svn_fs_base__str_to_dbt
	add	x0, sp, #24
	bl	_svn_fs_base__clear_dbt
	ldr	x0, [sp, #8]
Lloh6:
	adrp	x8, _DB_SET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DB_SET@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	add	x1, sp, #28
	add	x2, sp, #24
	bl	_svn_bdb_dbc_get
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x0
	ldr	x0, [sp, #8]
	bl	_svn_bdb_dbc_close
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_N_
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	b	LBB0_10
LBB0_2:
Lloh11:
	adrp	x21, l_.str@PAGE
Lloh12:
	add	x21, x21, l_.str@PAGEOFF
Lloh13:
	adrp	x25, _DB_NEXT_DUP@GOTPAGE
Lloh14:
	ldr	x25, [x25, _DB_NEXT_DUP@GOTPAGEOFF]
Lloh15:
	adrp	x26, _DB_NOTFOUND@GOTPAGE
Lloh16:
	ldr	x26, [x26, _DB_NOTFOUND@GOTPAGEOFF]
Lloh17:
	adrp	x22, l_.str.4@PAGE
Lloh18:
	add	x22, x22, l_.str.4@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_svn_fs_base__trail_debug
	ldr	x0, [x24]
	ldr	x8, [x0, #8]
	ldr	w1, [x20]
	add	x2, sp, #20
	add	x3, sp, #24
	mov	w4, #0
	blr	x8
	cbnz	w0, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #24
	bl	_svn_fs_base__clear_dbt
	ldr	x0, [sp, #8]
	ldr	w3, [x25]
	add	x1, sp, #28
	add	x2, sp, #24
	bl	_svn_bdb_dbc_get
	ldr	w8, [x26]
	cmp	w0, w8
	b.eq	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x0
	cbz	w0, LBB0_3
; %bb.6:
	ldr	x0, [sp, #8]
	bl	_svn_bdb_dbc_close
Lloh19:
	adrp	x0, l_.str.6@PAGE
Lloh20:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_8
LBB0_7:
	mov	x23, x0
	ldr	x0, [sp, #8]
	bl	_svn_bdb_dbc_close
Lloh21:
	adrp	x0, l_.str.5@PAGE
Lloh22:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_8:
	bl	_N_
	mov	x1, x0
	mov	x0, x19
	mov	x2, x23
	b	LBB0_10
LBB0_9:
Lloh23:
	adrp	x0, l_.str.7@PAGE
Lloh24:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_N_
	mov	x20, x0
	ldr	x0, [sp, #8]
	bl	_svn_bdb_dbc_close
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
LBB0_10:
	bl	_BDB_WRAP
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.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_SET,4,2                     ; @DB_SET
l_.str.3:                               ; @.str.3
	.asciz	"getting next-key value"

l_.str.4:                               ; @.str.4
	.asciz	"put"

l_.str.5:                               ; @.str.5
	.asciz	"writing copied data"

	.comm	_DB_NEXT_DUP,4,2                ; @DB_NEXT_DUP
	.comm	_DB_NOTFOUND,4,2                ; @DB_NOTFOUND
l_.str.6:                               ; @.str.6
	.asciz	"fetching string data for a copy"

l_.str.7:                               ; @.str.7
	.asciz	"closing string-reading cursor"

.subsections_via_symbols
