	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shelf_name_decode
_shelf_name_decode:                     ## @shelf_name_decode
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_strlen
	movl	%eax, %edi
	shrl	$31, %edi
	addl	%eax, %edi
	sarl	%edi
	movq	%rbx, %rsi
	callq	_svn_stringbuf_create_ensure
	movq	%rax, %rbx
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	cmpb	$0, (%r14)
	je	LBB0_6
## %bb.1:
	leaq	L_.str(%rip), %r12
	leaq	-48(%rbp), %r13
	leaq	-44(%rbp), %r14
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movq	%r14, %rcx
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$2, -44(%rbp)
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %esi
	movq	%rbx, %rdi
	callq	_svn_stringbuf_appendbyte
	cmpb	$0, 2(%r15)
	leaq	2(%r15), %r15
	jne	LBB0_2
LBB0_6:
	movq	(%rbx), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_SVN_ERR_BAD_CHANGELIST_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_svn_error_createf
LBB0_7:
	addq	$24, %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	"%02x%n"

	.comm	_SVN_ERR_BAD_CHANGELIST_NAME,4,2 ## @SVN_ERR_BAD_CHANGELIST_NAME
L_.str.1:                               ## @.str.1
	.asciz	"Shelve: Bad encoded name '%s'"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shelf_name_decode
_shelf_name_decode:                     ; @shelf_name_decode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_strlen
	cmp	w0, #0
	cinc	w8, w0, lt
	asr	w0, w8, #1
	mov	x1, x21
	bl	_svn_stringbuf_create_ensure
	mov	x21, x0
	ldrb	w8, [x19]
	cbz	w8, LBB0_4
; %bb.1:
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
	mov	x23, x19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x23
	mov	x1, x22
	bl	_sscanf
	ldr	w8, [sp, #8]
	cmp	w0, #1
	ccmp	w8, #2, #0, eq
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [sp, #12]
	mov	x0, x21
	bl	_svn_stringbuf_appendbyte
	ldrb	w8, [x23, #2]!
	cbnz	w8, LBB0_2
LBB0_4:
	ldr	x8, [x21]
	str	x8, [x20]
Lloh2:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	x0, [x8]
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x8, _SVN_ERR_BAD_CHANGELIST_NAME@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SVN_ERR_BAD_CHANGELIST_NAME@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x20
	mov	x1, #0
	mov	x3, x19
	bl	_svn_error_createf
LBB0_6:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%02x%n"

	.comm	_SVN_ERR_BAD_CHANGELIST_NAME,4,2 ; @SVN_ERR_BAD_CHANGELIST_NAME
l_.str.1:                               ; @.str.1
	.asciz	"Shelve: Bad encoded name '%s'"

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