	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_base__next_key          ## -- Begin function svn_fs_base__next_key
	.p2align	4, 0x90
_svn_fs_base__next_key:                 ## @svn_fs_base__next_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r12
	movslq	(%rsi), %r13
	movl	%r13d, %ebx
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	%r13d, %edi
	testq	%r13, %r13
	je	LBB0_4
## %bb.1:
	cmpl	$1, %r13d
	jne	LBB0_2
## %bb.3:
	movl	$1, %edi
	jmp	LBB0_4
LBB0_2:
	xorl	%edi, %edi
	cmpb	$48, (%r12)
	setne	%dil
LBB0_4:
	movq	(%rax), %r14
	callq	_SVN_ERR_ASSERT_NO_RETURN
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	%r13, %rax
	decq	%rax
	leaq	(%r12,%r13), %rcx
	decq	%rcx
	xorl	%edx, %edx
	movq	_FALSE@GOTPCREL(%rip), %r8
	movl	$97, %r9d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%esi, %edi
	xorl	%r14d, %r14d
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movb	%dil, (%rax,%rdx)
	decq	%rdx
	movl	%edx, %esi
	addl	%ebx, %esi
	je	LBB0_13
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rcx,%rdx), %esi
	leal	-48(%rsi), %edi
	cmpb	$10, %dil
	jb	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	leal	-97(%rsi), %edi
	cmpb	$26, %dil
	jae	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	testq	%r14, %r14
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movb	$48, %dil
	cmpb	$122, %sil
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r8), %r14
	leal	1(%rsi), %edi
	cmpb	$57, %sil
	movzbl	%dil, %edi
	cmovel	%r9d, %edi
	jmp	LBB0_12
LBB0_7:
	movl	$0, (%r15)
	jmp	LBB0_15
LBB0_13:
	xorl	%eax, %eax
	testq	%r14, %r14
	setne	%al
	addl	%r13d, %eax
	movl	%eax, (%r15)
	movq	_MAX_KEY_SIZE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	setl	%dil
	callq	_assert
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movslq	(%r15), %rax
	movb	$0, (%rsi,%rax)
	testq	%r14, %r14
	je	LBB0_15
## %bb.14:
	leaq	1(%rsi), %rdi
	movl	%ebx, %edx
	movq	%rsi, %rbx
	callq	_memmove
	movb	$49, (%rbx)
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_MAX_KEY_SIZE,4,2               ## @MAX_KEY_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_base__next_key          ; -- Begin function svn_fs_base__next_key
	.p2align	2
_svn_fs_base__next_key:                 ; @svn_fs_base__next_key
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	ldr	w20, [x1]
	mov	x8, x20
	sxtw	x24, w8
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	cbz	w20, LBB0_3
; %bb.1:
	cmp	w20, #1
	b.ne	LBB0_4
; %bb.2:
	mov	w0, #1
	b	LBB0_5
LBB0_3:
	mov	x0, x20
	b	LBB0_5
LBB0_4:
	ldrb	w8, [x22]
	cmp	w8, #48
	cset	w0, ne
LBB0_5:
	bl	_SVN_ERR_ASSERT_NO_RETURN
	mov	x8, #0
	sub	x10, x24, #1
	add	x9, x19, x10
	add	x10, x22, x10
Lloh3:
	adrp	x11, _FALSE@GOTPAGE
Lloh4:
	ldr	x11, [x11, _FALSE@GOTPAGEOFF]
	mov	w12, #97
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x23, [x11]
	cmp	w13, #57
	csinc	w13, w12, w13, eq
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	strb	w13, [x9, x8]
	sub	x8, x8, #1
	cmn	w20, w8
	b.eq	LBB0_13
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w13, [x10, x8]
	sub	w14, w13, #48
	sub	w15, w13, #97
	cmp	w14, #10
	ccmp	w15, #26, #0, hs
	b.hs	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	cbz	x23, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w13, #122
	b.ne	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w13, #48
	b	LBB0_7
LBB0_12:
	str	wzr, [x21]
	b	LBB0_15
LBB0_13:
	cmp	x23, #0
	cinc	w8, w20, ne
	str	w8, [x21]
Lloh5:
	adrp	x9, _MAX_KEY_SIZE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MAX_KEY_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, lt
	bl	_assert
	ldrsw	x8, [x21]
	strb	wzr, [x19, x8]
	cbz	x23, LBB0_15
; %bb.14:
	add	x0, x19, #1
	mov	x1, x19
	mov	x2, x20
	bl	_memmove
	mov	w8, #49
	strb	w8, [x19]
LBB0_15:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_MAX_KEY_SIZE,4,2               ; @MAX_KEY_SIZE
.subsections_via_symbols
