	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_key_and_bump
_get_key_and_bump:                      ## @get_key_and_bump
	.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	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r15
	movq	_MAX_KEY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	callq	_svn_fs_base__trail_debug
	leaq	L_.str.2(%rip), %rdi
	callq	_N_
	movl	%eax, %r14d
	movq	(%r15), %rdi
	movl	(%rbx), %esi
	leaq	-64(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	*(%rdi)
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_BDB_WRAP
	movq	%rax, %rdi
	callq	_SVN_ERR
	movq	-64(%rbp), %r14
	movq	_NEXT_KEY_KEY@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	-104(%rbp), %rdi
	callq	_svn_fs_base__str_to_dbt
	movl	%eax, %ebx
	leaq	-56(%rbp), %rdi
	callq	_svn_fs_base__result_dbt
	movq	_DB_SET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_svn_bdb_dbc_get
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movl	%eax, %ebx
	movq	-64(%rbp), %rdi
	callq	_svn_bdb_dbc_close
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_2
LBB0_3:
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_svn_fs_base__track_dbt
	movl	-56(%rbp), %esi
	movl	-52(%rbp), %edx
	movq	%r12, %rdi
	callq	_apr_pstrmemdup
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	-56(%rbp), %edi
	movl	-52(%rbp), %eax
	movl	%eax, -68(%rbp)
	leaq	-68(%rbp), %rsi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_svn_fs_base__next_key
	movq	-64(%rbp), %r15
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_svn_fs_base__str_to_dbt
	movq	_DB_CURRENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	-104(%rbp), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_svn_bdb_dbc_put
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %ebx
	movq	-64(%rbp), %rdi
	callq	_svn_bdb_dbc_close
	leaq	L_.str.4(%rip), %rdi
LBB0_2:
	callq	_N_
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
LBB0_6:
	callq	_BDB_WRAP
	movq	-96(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str.5(%rip), %rdi
	callq	_N_
	movl	%eax, %ebx
	movq	-64(%rbp), %rdi
	callq	_svn_bdb_dbc_close
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	jmp	LBB0_6
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_KEY_SIZE,4,2               ## @MAX_KEY_SIZE
	.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	_NEXT_KEY_KEY,8,3               ## @NEXT_KEY_KEY
	.comm	_DB_SET,4,2                     ## @DB_SET
L_.str.3:                               ## @.str.3
	.asciz	"getting next-key value"

	.comm	_DB_CURRENT,4,2                 ## @DB_CURRENT
L_.str.4:                               ## @.str.4
	.asciz	"bumping next string key"

L_.str.5:                               ## @.str.5
	.asciz	"closing string-reading cursor"

	.no_dead_strip	_get_key_and_bump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_key_and_bump
_get_key_and_bump:                      ; @get_key_and_bump
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #48
	mov	x22, x3
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
	mov	x25, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x26, [x0]
Lloh3:
	adrp	x8, _MAX_KEY_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_KEY_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_svn_fs_base__trail_debug
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_N_
	mov	x24, x0
	ldr	x0, [x26]
	ldr	x8, [x0]
	ldr	w1, [x23]
	sub	x2, x29, #80
	mov	w3, #0
	blr	x8
	mov	x2, x0
	mov	x0, x19
	mov	x1, x24
	bl	_BDB_WRAP
	bl	_SVN_ERR
	ldur	x23, [x29, #-80]
Lloh14:
	adrp	x8, _NEXT_KEY_KEY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NEXT_KEY_KEY@GOTPAGEOFF]
Lloh16:
	ldr	x1, [x8]
	sub	x0, x29, #96
	bl	_svn_fs_base__str_to_dbt
	mov	x24, x0
	sub	x0, x29, #104
	bl	_svn_fs_base__result_dbt
	mov	x2, x0
Lloh17:
	adrp	x8, _DB_SET@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DB_SET@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	mov	x0, x23
	mov	x1, x24
	bl	_svn_bdb_dbc_get
	cbz	w0, LBB0_2
; %bb.1:
	mov	x23, x0
	ldur	x0, [x29, #-80]
	bl	_svn_bdb_dbc_close
Lloh20:
	adrp	x0, l_.str.3@PAGE
Lloh21:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_N_
	mov	x1, x0
	mov	x0, x19
	mov	x2, x23
	b	LBB0_5
LBB0_2:
	sub	x0, x29, #104
	mov	x1, x22
	bl	_svn_fs_base__track_dbt
	ldp	w1, w2, [x29, #-104]
	mov	x0, x22
	bl	_apr_pstrmemdup
	str	x0, [x20]
	ldp	w0, w8, [x29, #-104]
	stur	w8, [x29, #-84]
	sub	x1, x29, #84
	mov	x2, x21
	bl	_svn_fs_base__next_key
	ldur	x20, [x29, #-80]
	sub	x0, x29, #104
	mov	x1, x21
	bl	_svn_fs_base__str_to_dbt
	mov	x2, x0
Lloh22:
	adrp	x8, _DB_CURRENT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DB_CURRENT@GOTPAGEOFF]
Lloh24:
	ldr	w3, [x8]
	sub	x1, x29, #96
	mov	x0, x20
	bl	_svn_bdb_dbc_put
	cbz	w0, LBB0_4
; %bb.3:
	mov	x20, x0
	ldur	x0, [x29, #-80]
	bl	_svn_bdb_dbc_close
Lloh25:
	adrp	x0, l_.str.4@PAGE
Lloh26:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_N_
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	b	LBB0_5
LBB0_4:
Lloh27:
	adrp	x0, l_.str.5@PAGE
Lloh28:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_N_
	mov	x20, x0
	ldur	x0, [x29, #-80]
	bl	_svn_bdb_dbc_close
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
LBB0_5:
	bl	_BDB_WRAP
	mov	sp, x25
	ldur	x8, [x29, #-72]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_KEY_SIZE,4,2               ; @MAX_KEY_SIZE
	.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	_NEXT_KEY_KEY,8,3               ; @NEXT_KEY_KEY
	.comm	_DB_SET,4,2                     ; @DB_SET
l_.str.3:                               ; @.str.3
	.asciz	"getting next-key value"

	.comm	_DB_CURRENT,4,2                 ; @DB_CURRENT
l_.str.4:                               ; @.str.4
	.asciz	"bumping next string key"

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

	.no_dead_strip	_get_key_and_bump
.subsections_via_symbols
